Referencing a control name

Peter Bogdanoff bogdanoff at
Fri Jul 24 20:05:43 EDT 2015

Hi all,

I have this data in a field "MyField":

	button "Home",37,26,2,699

I want to reference that data like this:

	set the width of <item 1 of line 1 of field “MyField”> to item 2 of line 1 of field “MyField”

How do I script the stuff inside the <> ? Sometimes that item will be a field, graphic, etc.

Having a brain freeze.

Peter Bogdanoff

More information about the Use-livecode mailing list