export jpeg frustration

Klaus Major klaus at major-k.de
Wed Apr 13 07:30:37 EDT 2005


Bonjour Eric,

> Hi Chris,
>
> I think that Klaus formulation is better ;-)

merci beaucoup, mon ami, i was just about to fall into a deeeeep 
depression :-D

> But using a function is a good choice:
>
> function GlobalObjRect pObj
>   return globalLoc(the topLeft of pObj),globalLoc(the botRight of pObj)
> end GlobalObjRect
>
> put GlobalObjRect(the long ID of graphic "PFrame") into tRect -- Æ
> export snapshot from rect tRect to file tFile as JPEG
>
> Le 13 avr. 05, ˆ 13:16, Chris Carroll-Davis a Žcrit :
>
>> Eric -
>>
>> Thanks so much!  I'm pleased I wasn't doing something daft.  Your 
>> function does the trick beautifully.
>>
>> Regards,
>>
>> Chris

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list