• 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: script to copy to USB key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script to copy to USB key


  • Subject: Re: script to copy to USB key
  • From: Adam Bell <email@hidden>
  • Date: Sat, 4 Feb 2006 19:37:39 -0400

This works for me:

tell application "Finder"
    set Vols to name of every disk
    if Vols contains "Your-Stick" then
        set myFolder to (choose folder)
        duplicate myFolder to disk "Your-Stick"
    else
        display dialog "Stick not found!" with icon 2
    end if
end tell

On 2/4/06, Christian Vinaa < email@hidden> wrote:
is there already a pre-made script that copies a folder to an USB key ?

if not;  where should beth script look for the USB key

on the desktop of the user ?
--
Christian Vinaa

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden
This email sent to
email@hidden



--
Some minds remain open long enough for a truth to both enter and leave without processing.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Easy way to script "go to date" in iCal ? (From: Jay Louvion <email@hidden>)
 >Re: Easy way to script "go to date" in iCal ? (From: Serge Ségu <email@hidden>)

  • Prev by Date: Re: script to copy to USB key
  • Next by Date: Re: Q: GraphicsConverter Paste At (format for position?)
  • Previous by thread: Re: script to copy to USB key
  • Next by thread: RE: Easy way to script "go to date" in iCal ?
  • Index(es):
    • Date
    • Thread