• 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
'info for' + special folders bug in OS 9.1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'info for' + special folders bug in OS 9.1?


  • Subject: 'info for' + special folders bug in OS 9.1?
  • From: cris <email@hidden>
  • Date: Tue, 16 Jan 2001 01:59:04 +0100

Hello list,


Can anyone confirm this?:


Watch for linebreaks:
-----------------------
tell application "Finder"

--set ASVersion to short version of (info for (file 1 of extensions
folder whose name is "AppleScript"))
--short version of (info for (file 1 of extensions folder whose name is
"AppleScript"))
--(info for (file 1 of extensions folder whose name is "AppleScript"))

(*

All the above lines do not work until:
a) this line is once executed: (file 1 of extensions folder whose name is
"AppleScript")
b) the folder is open.

Once it works, you can break it again by recompiling the script.

It is related to 'info for' in combination with the special folders of the
finder. If i change one of this it works:

Works always with a hard path:
(info for (file 1 of folder "cooc:testf:" whose name is "AppleScript"))

Works always with 'name of':
(name of (file 1 of extensions folder whose name is "AppleScript"))


*)
end tell
-----------------------




Greetings
cris


  • Prev by Date: Re: Where Can I find AS 1.3.7 installer
  • Next by Date: Standard Addns leaks (a little).
  • Previous by thread: Re: Variable names on the fly?
  • Next by thread: Scripting PhotoShop.. and IPTC text (file info in JPG pictures)
  • Index(es):
    • Date
    • Thread