Re: Trying to script the creation of a script
Re: Trying to script the creation of a script
- Subject: Re: Trying to script the creation of a script
- From: Christian Boyce <email@hidden>
- Date: Sun, 22 Feb 2004 20:34:36 -0800
Paul and Andrew set me straight (quoting Paul here):
You never took 'thename' out of your literal string. This section:
--
tell application \"Finder\" of machine \"eppc://192.168.1.100\"
open file\" & thename & \"of folder \"TitleTrack Jukebox v2.0\" of
startup disk
end tell
--
should be:
--
tell application \"Finder\" of machine \"eppc://192.168.1.100\"
open file\"" & thename & "\"of folder \"TitleTrack Jukebox v2.0\"
of
startup disk
end tell
--
with quotes around " & thename & " to remove it from your large literal
quote.
Aha. Right. This explains why the variable "thename" is not turning
green when I compile. I got lost in the quotes and escaping of quotes.
The untested solution by Andrew isn't working yet-- I get "error
-4960"-- but I'll keep at it. I'm on my way now.
Thanks, both of you.
cb
--
Christian Boyce
_______________________________________________
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.