Working script won't compile
Working script won't compile
- Subject: Working script won't compile
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 1 Dec 2010 12:16:34 -0600
- Acceptlanguage: en-US
- Thread-topic: Working script won't compile
Very strange,
I have a longish script that downloads files via transmit, unstuffs the
stuffed files, unzips the zipped files and distributes the expanded files to
various locations.
This script runs flawlessly every day.
I can open it in SD, and run it from there.
In SD I can type a space character at the end of a line and compile with no
problem.
But, if I make a more significant change to the script (changing a term) and
try to recompile I get the following compile error:
--Expected ³into², variable name, class name, other parameter name or
property but found command name.
And the "Expand" command below is highlighted. This is a properly formatted
command, consistent with the expander dictionary and it has worked in the
past.
If I paste the script in Script editor I get the same compile message.
Mac OSX 4.11, Stuffit Expander 7.03.
I'm going to ask the vendor to switch to .zip files, but in the meantime,
what's going on here?
ES
-------------
tell application "StuffIt Expander"
launch
try
(Expand myFile without Delete Original)
on error errText number errNum
if errNum ‚ -2763 then
log errText
quit
end if
return myFile
end try
-------------
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden