• 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: how to use mount volume with timeout argument in AppleScript.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use mount volume with timeout argument in AppleScript.


  • Subject: Re: how to use mount volume with timeout argument in AppleScript.
  • From: Gnarlodious <email@hidden>
  • Date: Thu, 3 Aug 2006 06:55:01 -0600

Amit Jain wrote:
I am unable to use an argument
for timeout in the following command:
tell application "Finder"
	mount volume "smb://any-user:password@ipaddress/sharedVolume"
end tell
where shud I put the timeout argument or if anyone knows a better way
to do the same.

You don't need to use a "tell Finder" block to mount a server:

with timeout of 60 seconds
mount volume "afp://" & theAddress & "/" & theVolume & "/" as user
name theAccount with password thePassword
beep 2
end timeout

-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >how to use mount volume with timeout argument in AppleScript. (From: "Amit Jain" <email@hidden>)

  • Prev by Date: DRBurnsetupPanel
  • Next by Date: NSTableView and End Editing notifications
  • Previous by thread: how to use mount volume with timeout argument in AppleScript.
  • Next by thread: Re: how to use mount volume with timeout argument in AppleScript.
  • Index(es):
    • Date
    • Thread