Why can't there be a simple sample that just works.
Code: Select all
on mouseUp
local tCommand
put "notepad.exe" into tCommand
get shell(tCommand)
put it
end mouseUp
button "cmd2": execution error at line n/a (shell: can't run shell command) near "c: /C notepad.exe"