crop image

Peter Bogdanoff bogdanoff at me.com
Tue Jul 23 11:59:53 EDT 2024


You use the “last” keyword, ie the highest numbered one:
	the last image


Peter Bogdanoff


> On Jul 23, 2024, at 9:33 AM, Craig Newman via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi.
> 
> You need, at a minimum to avoid an error, at least this;
> 
> put number of imgs into ni
> 
> add 1 to Nflds
> 
> put id of img ni into tid
> 
> put imageData of img ni
> 
> 
> 
> but only the very last line actually does anything, placing the imageData  of ing ni into the message box. What is the other stuff for, and what are you trying to accomplish?
> 
> 
> 
> Craig
> 
> 
>> On Jul 23, 2024, at 9:10 AM, jbv via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Hi list,
>> 
>> I have the following script :
>> 
>> create image
>> put number of imgs into ni
>> add 1 to Nflds
>> put id of img ni into tid
>> put imageData of img
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list