• 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: revDAVE <email@hidden>
  • Date: Tue, 24 Apr 2007 17:46:40 -0700
  • Thread-topic: Using the 'Create Archive' - File Menu Command

On 4/24/2007 5:36 PM, "kai" <email@hidden> wrote:

>
> On 25 Apr 2007, at 01:10, revDAVE wrote:
>
>> set fold to text 1 thru -2 of (POSIX path of ("/MacHD/aTest/"))
>
> The path you have there is already a (sort of) POSIX path, Dave.
> However, if "MacHD" is the name of your startup disk, that shouldn't
> be included.
>
> If you're going to use a ready-made POSIX path, run the one-line
> script below, choose the required folder -  and paste the result into
> your script:
>
> -----------------
> set the clipboard to "\"" & text 1 thru -2 of POSIX path of (choose
> folder) & "\""
> -----------------
>
> Your script should then end up looking something like this:
>
> -----------------
> set fold to "/aTest"
> do shell script "ditto -ck " & quoted form of fold & space & quoted
> form of (fold & ".zip")
> -----------------
>
> ---
> kai

Thanks so much kai! That worked! The missing piece I forgot was on this
external (non startup) drive....


/Volumes/ - like:

set fold to text 1 thru -2 of (POSIX path of ("/Volumes/MacHD/aTest/"))

NOW IT WORKS GREAT!


!!! THANKS TO *ALL* for helping this happy novice!!!

--
Thanks - RevDave
email@hidden
[db-lists]



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