Re: AppleScript "file type" becomes "file kind" when compiled in Xcode
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.