Your best friend for file transfer.

Error -10660 (2 posts)
- Started 16 years ago by jjstafford
- Latest reply 16 years ago from Scott McGuire
-
jjstafford Member
-
Scott McGuire Administrator
Hi,
We're sorry you're having problems with the Fetch droplet. We'd like some more information to help figure out the problem.
Just to make sure we understand the problem correctly, you created a droplet shortcut using the "Save Droplet Shortcut" command in Fetch. The droplet it created worked fine when you first tried it, but it does not work after you logged off and in again. Is that correct?
By "logged off and in again," do you mean you logged off Mac OS X and back in again, or do you mean you quit Fetch and then reconnected to the server?
Is "error -10660" the error the droplet gave when it didn't work?
In addition to the latest version of Fetch, do you have older versions of Fetch on your Mac?
Thanks,
Scott McGuire
Fetch Softworks[This message has been edited by ScottMcGuire (edited 05-24-2007).]
- Page 1
Saved shortcut (applescript). Installed latest version. It worked. Then I logged off and in again, and does not work.
Has something changed, please?
The code:
on GetDropletURL()
try
set urlPath to (path to resource "destination.txt") as string
on error
-- path to resource requires 10.4
-- fake it for older OSes
set urlPath to (path to me as string) & "Contents:Resources:destination.txt"
end try
set urlFile to open for access urlPath
set theURL to read urlFile before ASCII character 10
close access urlFile
return theURL
end GetDropletURL
on run
try
set dropletFile to (path to me)
tell application "Fetch"
activate
drop on dropletFile
end tell
on error
set theURL to GetDropletURL() of me
tell application "Fetch"
activate
open url theURL with immediate return
end tell
end try
end run
on open inFiles
try
set dropletFile to (path to me)
tell application "Fetch"
drop on dropletFile item inFiles
end tell
on error
set theURL to GetDropletURL() of me
tell application "Fetch"
put into url theURL item inFiles with immediate return
end tell
end try
end open
Posted 16 years ago #