• 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: Stupid, Stupid Text Features [Was: Can't set creator type]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Stupid, Stupid Text Features [Was: Can't set creator type]
      • From: Bill Briggs <email@hidden>
    • Re: Stupid, Stupid Text Features [Was: Can't set creator type]
      • From: Paul Berkowitz <email@hidden>
References: 
 >Can't set creator type (From: Mr Tea <email@hidden>)
 >Re: Can't set creator type (From: Michelle Steiner <email@hidden>)
 >Stupid, Stupid Text Features [Was: Can't set creator type] (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: on synonyms and homonyms (Re: Efficiently using whose on Address Book users)
  • Next by Date: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
  • Previous by thread: Stupid, Stupid Text Features [Was: Can't set creator type]
  • Next by thread: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
  • Index(es):
    • Date
    • Thread