• 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
problem with use of timeout property of Finder in applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with use of timeout property of Finder in applescript


  • Subject: problem with use of timeout property of Finder in applescript
  • From: "Amit Jain" <email@hidden>
  • Date: Tue, 1 Aug 2006 18:09:14 +0530

Hi all,
I have used the following code and used the time out property of
finder in applescript:
with timeout of 10 seconds
	try
		tell application "Finder"
			mount volume "smb://username:password@ipAddress/sharedFolderName"
		end tell
	on error
		display dialog "could not connect to server"
	end try

end timeout

it works successfully and if in 10 secs does not find any server with
above ipAddress it displays the above dialogue.
But the Finder still searches for the ipAddress and after some a long
duration(in minutes)  it gives an error on console"mount_smbfs:
negotiate phase failed: syserr = Operation timed out".
Then I am not able to understand that what is the use of above
applescript if still the Finder continues its process in background?
Please help me out ASAP. If any other solution to reduce the timeout
please let me know.

Thanks and Regards...
AmitJain
_______________________________________________
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


  • Prev by Date: Re: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
  • Next by Date: Re: InputManagers
  • Previous by thread: Re: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
  • Next by thread: Re: problem with use of timeout property of Finder in applescript
  • Index(es):
    • Date
    • Thread