Re: Movie Snapshot Script
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.