Posts: 399
Threads: 109
Joined: May 2013
07-10-2018, 08:47 PM
(This post was last modified: 07-10-2018, 09:27 PM by ghurty.)
I am working on an action that checks my elk alarm.
Is there a way for me to get into a text file all the elk names so I can easily paste it into variables?
EDIT: Ill add another question so I dont flood the board. Can I call another action from a first action.
For example. I have on action (from IVB) that lists all zones that are open. I am writing another action that will arm the house. Can I have it that if the house fails to arm because not all the zones are secure, it can call the other action to start listing the zones that are not secure?
Thank you
Posts: 39,064
Threads: 472
Joined: Aug 2002
Make the second one a global action. You can invoke a global action from another action.
On the first question, right click on the driver and select Export Fields. That will generate an XML file with all the field info in it.
Dean Roddey
Explorans limites defectum
Posts: 399
Threads: 109
Joined: May 2013
(07-10-2018, 09:51 PM)Dean Roddey Wrote: Make the second one a global action. You can invoke a global action from another action.
On the first question, right click on the driver and select Export Fields. That will generate an XML file with all the field info in it.
Thank you, the export worked and that will save a lot of time.
Under which option is to invoke an action? I found invoke file and run macro, but I couldnt see where to invoke an action.
Thank you
Posts: 39,064
Threads: 472
Joined: Aug 2002
07-11-2018, 10:00 AM
(This post was last modified: 07-11-2018, 10:00 AM by Dean Roddey.)
System:: DoGlobalAct() I think is the command, just going by memory.
Dean Roddey
Explorans limites defectum
Posts: 399
Threads: 109
Joined: May 2013
Posts: 4,073
Threads: 337
Joined: May 2005
This is very close to something I was looking at the other day. When you open up the driver in the admin interface there is a button at the bottom to copy a field value. Could we also have a button to copy the field name i.e. moniker.field, so it could be pasted into somewhere else (like actions etc).
While the above gives you everything, sometimes you just want the one field
Mykel Koblenz
Illawarra Smart Home
Posts: 39,064
Threads: 472
Joined: Aug 2002
You don't need that for actions. Use the popup menu in the parameter entry field. It lets you insert lots of things into action parameters, including fields and driver monikers.
Dean Roddey
Explorans limites defectum
Posts: 4,073
Threads: 337
Joined: May 2005
and that is slow and cumbersome. If I have the driver field open its faster to switch to that tab, select the field and copy it., and go back. Path of least resistance to me. Same goes for driver fields, bit easier there but can speed things up a bit as well
Mykel Koblenz
Illawarra Smart Home
Posts: 39,064
Threads: 472
Joined: Aug 2002
I could always provide some hot keys for invoking some of the more common insertion options.
Dean Roddey
Explorans limites defectum
Posts: 4,073
Threads: 337
Joined: May 2005
something like ctl-c to copy the field name (moniker.field) and then ctl-V for normal paste and a hot key for a paste of a reference $(moniker.field) would be good. Needs to fall under the left hand easily though - something like ctl-shift-V as an example
Mykel Koblenz
Illawarra Smart Home