Format of strings when using run script
Format of strings when using run script
- Subject: Format of strings when using run script
- From: Jaime Magiera <email@hidden>
- Date: Tue, 20 May 2003 02:03:51 -0400
It's unclear to me why a straight string will not compile into a
script. For example...
set scriptObj to run script "
script
set helloString to \"Hello world\"
display dialog helloString
end script"
returns +script;
However,
set scriptObj to run script "script set helloString to \"Hello world\"
display dialog helloString end script"
returns script error
I'm trying to create strings on the fly that can be compiled into
scripts and saved to disk. However, the above problem is a big
hindrance. Any ideas?
Jaime
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.