swiftDialog icon indicating copy to clipboard operation
swiftDialog copied to clipboard

FR: Allow all Command Line Options to be utilised in the Command File

Open smithjw opened this issue 3 years ago • 4 comments

Unsure of the effort required, but it would be great if any functionality that can be triggered via Command Line options when Dialog is launched, could also be triggered in a currently running Dialog window via the Command File

smithjw avatar May 20 '22 03:05 smithjw

For example, --overlayicon doesn't appear to be listed in Updating Dialog with new content (v1.9.0).

dan-snelson avatar May 20 '22 05:05 dan-snelson

I don't know if this is possible or if it should be a new issue, but I would like to replace the entire info area using the command file, i.e, I have a list of checkboxes, then I replace that with a list of text fields for user entry, then I show an list of items

scriptingosx avatar Jun 17 '22 11:06 scriptingosx

@scriptingosx yeah that's more than doable now. I'll need to add the code to action the update commands but that shouldn't be a problem to do. The only thing I'll need to consider is what to do with the details entered. At the moment everything would be stored into a dictionary and then when the dialog exits you'd get a dump of everything. i.e. no in-line processing of user input (display a checkbox and use the result to influence the next thing you show...that type of thing)

bartreardon avatar Jun 19 '22 03:06 bartreardon

Adding votes for —button1shellaction to work in the command file along with the other good stuff. Would love the button run a script. Or my case open a file. Maybe a separate issue is needed.

macvfx avatar Oct 01 '23 22:10 macvfx