Re: Doubt
Re: Doubt
- Subject: Re: Doubt
- From: John Delacour <email@hidden>
- Date: Wed, 10 Sep 2003 00:25:11 +0100
- Mac-eudora-version: 6.1a2
On Wednesday, September 10, 2003, at 04:02 AM, Marcus Rodrigues wrote:
I have this script:
tell application "Finder"
activate
set asFontes to "/Users/printserv/Desktop/teste" as POSIX file
set todos to every file of asFontes...
But, it tells me that it can't get every file of
PowerG4:Users:printserv:Desktop:teste.
tell app "Finder"
set f to "/users/jd/Desktop/CORE/" as POSIX file
--> file "dxp:Users:jd:Desktop:CORE:"
f exists
end
--> false
You need to use 'item' or 'folder'
tell app "Finder"
set f to "/users/jd/Desktop/CORE/" as POSIX file as Unicode text
files in item f -- or folder f
end
JD
.
_______________________________________________
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.