Skip navigation.
 
mlproblem with use of timeout property of Finder in applescript
FROM : Amit Jain
DATE : Tue Aug 01 14:39:14 2006

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:<email_removed>/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

Related mailsAuthorDate
mlproblem with use of timeout property of Finder in applescript Amit Jain Aug 1, 14:39
mlRe: problem with use of timeout property of Finder in applescript Matt Neuburg Aug 1, 17:24
mlRe: problem with use of timeout property of Finder in applescript Amit Jain Aug 1, 17:51