• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Working script won't compile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working script won't compile


  • Subject: Re: Working script won't compile
  • From: CYB <email@hidden>
  • Date: Wed, 01 Dec 2010 15:11:04 -0600
  • Thread-topic: Working script won't compile

Title: Re: 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


Ed, I think that the problem is this line
(Expand myFile without Delete Original)

-->> It MOST be acording to the dictionary
 (Expand myFile without delete originals)

Note that is in plural “originals”

Carlos Ysunza B.
Director
Ysunza/Santiago
Comunicación Visual • Automatización
Tel. (52)55 5256-0336
email@hidden

http://www.ysunzasantiago.com
http://www.thesecretmexico.com
http://www.softrobot.com.mx

 _______________________________________________
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

  • Follow-Ups:
    • Re: Working script won't compile
      • From: "Stockly, Ed" <email@hidden>
References: 
 >Working script won't compile (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Working script won't compile
  • Next by Date: Re: Working script won't compile
  • Previous by thread: Re: Working script won't compile
  • Next by thread: Re: Working script won't compile
  • Index(es):
    • Date
    • Thread