Re: unix style paths
Re: unix style paths
- Subject: Re: unix style paths
- From: Roger_Jolly <email@hidden>
- Date: Fri, 19 Jul 2002 12:52:46 +0200
Hi Kris,
I think the problem is you first slash. It shouldn't be there, try:
tell application "Finder"
move file ":Users:kris:Desktop:foo" to folder
":Users:kris:Documents"
end tell
If that doesn't help, I'll try and start thinking ;-)
Roger
on 18-07-2002 19:18, Kris Steinhoff at email@hidden wrote:
>
Roger,
>
>
thanks for your advice. it looks like your routines sorted out my problem
>
with the paths, but I'm still having some trouble. When I specify a path
>
of a file I know exists to try to move it Applescript says it could not
>
get the file, even though i know it exists.
>
>
---
>
application "Finder"
>
move file "/:Users:kris:Desktop:foo" to folder
>
"/:Users:kris:Documents"
>
end tell
>
---
>
>
I get the error
>
---
>
Execution Error
>
Finder got an error: Can't get file "/:Users:kris:Desktop:foo".
>
---
>
>
I'm not sure what I'm doing wrong.
>
>
thanks for any help
>
>
-kris
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.