• 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
mounting a volume with applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mounting a volume with applescript


  • Subject: mounting a volume with applescript
  • From: DealTek <email@hidden>
  • Date: Thu, 20 Oct 2011 12:04:22 -0700

Hi All,

semi newbie question....

I use a simple Applescript below tied to iCal to trigger a backup of a folder to a folder on another computer on the network.

It works fine if the other volume is already mounted - but fails if not.

Q: Is there any additional coding I can use to try and mount the volume prior to running the rest of the script?


THANKS IN ADVANCE - DAVE


----------------------------

delay 1

set tSourceFolder to alias "mydrive:myfolder1:thisfolder"

set tDestFolder to alias "thedistination:putithere"

try

	tell application "Finder" to duplicate tSourceFolder to tDestFolder with replacing

end try

say "end"



--
Thanks,
Dave - DealTek
email@hidden
[db-11]



 _______________________________________________
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: mounting a volume with applescript
      • From: wayne melrose <email@hidden>
  • Prev by Date: Re: Excel 2011: Select noncontiguous columns
  • Next by Date: iCloud Calendars
  • Previous by thread: Re: CS5.5
  • Next by thread: Re: mounting a volume with applescript
  • Index(es):
    • Date
    • Thread