Re: Movie Snapshot Script
Re: Movie Snapshot Script
- Subject: Re: Movie Snapshot Script
- From: alex black <email@hidden>
- Date: Sat, 20 Sep 2003 17:35:22 -0700
>
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.
Also, the type seems to be fine because I can display a dialog with it.
...
I _hate_ non-specific errors and crappy sortware without logging :(
_a
_______________________________________________
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.