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
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 mails | Author | Date |
|---|---|---|
| Amit Jain | Aug 1, 14:39 | |
| Matt Neuburg | Aug 1, 17:24 | |
| Amit Jain | Aug 1, 17:51 |






Cocoa mail archive

