• 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: Movie Snapshot Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Movie Snapshot Script


  • Subject: Re: Movie Snapshot Script
  • From: Walter Ian Kaye <email@hidden>
  • Date: Sat, 20 Sep 2003 18:26:22 -0700

At 05:35p -0700 09/20/2003, alex black didst inscribe upon an electronic papyrus:

> data type mismatch. I discovered that GC does not like styled text,
> so you have to unstyle it. Try this routine:
>
> on RemoveStyles(t)
> local t, rec
> try
> set rec to t as record
> set t to <<class ktxt>> of rec
> end try
> t
> end RemoveStyles
>
> NOTE! Replace << and >> with Option-\ and Option-Shift-\ respectively.
>
> So instead of sending 'myvar' to GC, send 'my RemoveStyles(myvar)'.

It's definitely not that, as there is no use input involved.

Styled text doesn't come only from user input.

Also, the type seems to be fine because I can display a dialog with it.

Display dialog is not as finicky as GraphicConverter. DD will autocoerce; GC will not. You cannot tell the type that way; you need to use something like Script Debugger to find out the true type.

Did you try the routine?
_______________________________________________
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.

References: 
 >Re: Movie Snapshot Script (From: alex black <email@hidden>)

  • Prev by Date: Re: Movie Snapshot Script
  • Next by Date: Re: if clauses: multiple values in one test?
  • Previous by thread: Re: Movie Snapshot Script
  • Next by thread: jmlbeud ceararhtcs
  • Index(es):
    • Date
    • Thread