I have set the on click action to be:
Code: Select all
run "c:\path\to\MyEditor.exe <curitem>"Thanks...
-- jeff
Code: Select all
run "c:\path\to\MyEditor.exe <curitem>"Code: Select all
run """c:\path\to\MyEditor.exe"" ""<curitem>"""; Assuming "c:\path\to\MyEditor.exe" contains a space (it would have been helpful to see the exact command; scripting can go wrong with a single character wrong or missing somewhere), you'd need to additionally double-quote it like so:Using Quotes in Scripting
It's strongly recommended that you (double- or single-) quote your strings! While the script engine is currently still permissive with unquoted strings (msg Hi! works) this might not be so in the future, so you better do msg "Hi!" right away!
Here's the basic laws of quoting:
(1) Everything is either in double-quotes, or in single-quotes, or outside of any quotes.
(2) To have double-quotes inside double-quotes they must be doubled.
(3) To have single-quotes inside single-quotes they must be doubled.
(4) Variables are resolved in double-quotes and outside of any quotes, but not in single-quotes.
Code: Select all
run """c:\path\to\MyEditor.exe"" ""<curitem>"""