• 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: AppleScript "file type" becomes "file kind" when compiled in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript "file type" becomes "file kind" when compiled in Xcode


  • Subject: Re: AppleScript "file type" becomes "file kind" when compiled in Xcode
  • From: Walter Ian Kaye <email@hidden>
  • Date: Sun, 29 Feb 2004 04:17:02 -0800

Or maybe just 'using terms from' might suffice:

on process_fonts_(fonts_)
set total_count_ to count of fonts_
repeat with i from 1 to the total_count_
set font_ to (item i of fonts_)
using terms from app "SystemUIServer"
set font_info_ to info for font_

if ((alias of font_info_ is false) and (file type of font_info_ is "FFIL") and (file creator of font_info_ is "DMOV")) then
set POSIX_font_path_ to POSIX path of font_ as string
set sh_grep_sfnt_ to "grep -c sfnt \"" & POSIX_font_path_ & "/..namedfork/rsrc\""
-- and more.....
end if
end using terms from
end repeat
end process_fonts_

Point is to bypass Xcode's terminology, to avoid the conflict.


-boo
_______________________________________________
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: AppleScript "file type" becomes "file kind" when compiled in Xcode
  • Next by Date: Re: AppleScript "file type" becomes "file kind" when compiled in Xcode
  • Previous by thread: Re: AppleScript "file type" becomes "file kind" when compiled in Xcode
  • Next by thread: Targeting events to a different user space
  • Index(es):
    • Date
    • Thread