Re: Stupid, Stupid Text Features [Was: Can't set creator type]
Re: Stupid, Stupid Text Features [Was: Can't set creator type]
- Subject: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
- From: Walter Ian Kaye <email@hidden>
- Date: Tue, 24 Feb 2004 03:37:43 -0800
At 10:46a +0000 02/24/2004, Mr Tea didst inscribe upon an electronic papyrus:
Aside from setting creator and file types, are there any other
places where this gotcha is likely to strike?
It hit me in GraphicConverter, when I tried to set comments or IPTC info.
And it took me, an AppleScript oldtimer, somewhere between a half
hour and an hour to figure out where the problem was -- and it was
only Script Debugger which gave me a clue; a person using Script
Editor might spend hours and still not figure it out.
I ended up making an all-purpose subroutine:
on RemoveStyles(t)
local t, rec
try
set rec to t as record
set t to <<class ktxt>> of rec --###replace << and >> with real ones
end try
t
end RemoveStyles
-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.