Re: scripts revert to <<class foobar>>
Re: scripts revert to <<class foobar>>
- Subject: Re: scripts revert to <<class foobar>>
- From: Matthew Galaher <email@hidden>
- Date: Wed, 13 Aug 2003 13:11:25 -0700
Thanks for all the help on this. While I would still be interested to
know why any script would change elements to chavrons followed by
'class' foobar where actual working code was before hand, My script
now completes syntax checking with out error. But I had installed
Developer Tools, logged out and a few other things so I can no longer
be sure what the cause was. It was in a finder tell block and the
example was from real code. If you're really interested I could send
the whole script, but that wouldn't explain what I was experiencing I
don't think.
I have never been able to understand why a script that contains the
line such as 'set diskName to name of startup disk' changes to 'set
diskName to name of +class sdsk;' when moved to another machine. If
any one can explain or point me in the direction of a document that
would explain why this happens (security, compiling problems?...) I
would appreciate it. TIA
I have always assumed that it was because some "extension" was
broken or missing.
I'm not sure to understand why someone talked about "extensions" or
scripting additions.
"startup disk" belongs to Finder, doesn't it?
Matthew, are you running OS9 or OSX? And, does that line belong to a
"tell application "Finder" " block or not? Or, was that a fake example
that you were giving?
Emmanuel
_______________________________________________
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.