I have a little project that would be rather elegant if I could have a script that created a new script and attached it to a folder it had just created. Has anyone tried anything like this? Is it even possible???
This would be in OSX 10.2
tia
rhb
I have a little project that would be rather elegant if I could have a script that created a new script and attached it to a folder it had just created. Has anyone tried anything like this? Is it even possible???
This would be in OSX 10.2
tia
rhb
Just take a look to “store script” in the Standard Additions’ dictionary, or type “osacompile” in a Terminal window…
script x
beep 2
end script
store script x in file ((path to desktop as text) & "new.scpt")
That was quick! Thank you — I didn’t think of looking there!
Tanks
rhb