why is this not working?
global myScriptText
set myScriptText to "beep" & return & "beep"
script HelloWorld
display notification "Hello World!"
myScriptText -- I would expect here the computer to make a beep sound!
end script
tell HelloWorld to run
I basically what to “create” a script into a text string and then run it …
is that possible?
Thanks !