How to target selected field of another stack

Charles E Buchwald charles at buchwald.ca
Wed Sep 26 14:59:44 EDT 2012


This is just a shot in the dark: can you use the "rev...." system commands intended for plugins, as shown on page 359 of the User Guide? Would that help?
- Charles

On 2012-09-25, at 5:42 PM, Brahmanathaswami <brahma at hindu.org> wrote:

> I want to add a pull down menu to a small tools palette stack (B) that acts on the fields of a second "main" stack (A).
> 
> even if the window mode of the tools stack (B) is palette, the traversal of the pull down menu is off and I have my cursor in a text field of the "main" stack (A)... the focusedObject() always returns the card of the tools stack (B) and not the field I have my cursor in.
> 
> Oddly "the selection" referred to in scripts of the palette stack (B) *does* target the cursor location/selected text of the selected field in stack (A)
> 
> So why can't I get the focusedObject() of that field?
> 
> 
> Brahmanathaswami
> Kauai Aadheenam

--
Charles E. Buchwald
http://buchwald.ca
Vancouver / Mexico City / NYC
Member of the 02 Global Network for Sustainable Design • Connect on LinkedIn • Follow me on Twitter




More information about the use-livecode mailing list