• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Doubt
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: lots of statements after "then" of "if"
  • Next by Date: Re: Facespan 4.0 in public beta
  • Previous by thread: Re: Doubt
  • Next by thread: checking for characters
  • Index(es):
    • Date
    • Thread