• 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: Using the 'Create Archive' - File Menu Command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using the 'Create Archive' - File Menu Command


  • Subject: Re: Using the 'Create Archive' - File Menu Command
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 24 Apr 2007 17:02:48 -0700


On Apr 24, 2007, at 5:00 PM, revDAVE wrote:

tell application "Finder"

set fold to (characters 1 thru -2 of (POSIX path of ("/MacHD/ aTest/")))
do shell script "ditto -ck " & quoted form of fold & space & quoted form
of (fold & ".zip")


end tell

Hello Paul - thanks for your help - when I run this script - I get a
different form of the same error: AppleScript error - can't get quoted form
of {"/", "M","a", ... etc}

Change "characters" to "text"

--
If you ever get the urge to run naked in public, drink some Windex. It will keep you from streaking.



_______________________________________________ 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
References: 
 >Re: Using the 'Create Archive' - File Menu Command (From: revDAVE <email@hidden>)

  • Prev by Date: Re: Using the 'Create Archive' - File Menu Command
  • Next by Date: Re: Using the 'Create Archive' - File Menu Command
  • Previous by thread: Re: Using the 'Create Archive' - File Menu Command
  • Next by thread: Re: Using the 'Create Archive' - File Menu Command
  • Index(es):
    • Date
    • Thread