Passing the ID of a button that was clicked to a variable

Post your questions and help other users.

Moderator: Martin

Post Reply
rcfree
Posts: 43
Joined: 21 Mar 2013 16:51

Passing the ID of a button that was clicked to a variable

Post by rcfree » 12 Sep 2016 13:41

Hi

Is there a way to pass the identification of a button (button within a widget created in Automagic) that was clicked to a variable or flow for analysis?

I want to know which button was clicked to make decisions within a flow, avoid creating a flow for each button.

I appreciate the help.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Passing the ID of a button that was clicked to a variabl

Post by Martin » 12 Sep 2016 19:19

Hi,

Automagic passes the variables widget_cell_x and widget_cell_y with the index of the clickable cell to the executed action/flow. widget_cell_x=0, widget_cell_y=0 for the topmost leftmost action of the widget.

Regards,
Martin

rcfree
Posts: 43
Joined: 21 Mar 2013 16:51

Re: Passing the ID of a button that was clicked to a variabl

Post by rcfree » 12 Sep 2016 20:43

I appreciate the quick response, will solve my problem.

thank you

Post Reply