Get Action Group name from Embedded script?

Posted on
Sun May 29, 2022 3:25 pm
rustyhodge offline
Posts: 54
Joined: Nov 11, 2016

Get Action Group name from Embedded script?

How would I get the Action Group name in my Embedded script?

Posted on
Sun May 29, 2022 4:02 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Get Action Group name from Embedded script?

You mean the script is part of an ActionGroup? I don't think you can.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun May 29, 2022 4:04 pm
DaveL17 offline
User avatar
Posts: 6756
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Get Action Group name from Embedded script?

Code: Select all
ag = indigo.actionGroups[12345678]
ag_name = ag.name

Should do it.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun May 29, 2022 4:05 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Get Action Group name from Embedded script?

DaveL17 wrote:
Code: Select all
ag = indigo.actionGroups[12345678]
ag_name = ag.name

Should do it.


Assuming you can embed the action group ID in the script.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun May 29, 2022 4:09 pm
DaveL17 offline
User avatar
Posts: 6756
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Get Action Group name from Embedded script?

Joe makes a good point that I didn't consider in my reply.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 11 guests