Charmed Quark Systems, Ltd. - Support Forums and Community
Possible to copy all the name in a driver so can paste is elsewhere? - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forum)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forum/forumdisplay.php?fid=3)
+--- Forum: CQC Support (https://www.charmedquark.com/vb_forum/forumdisplay.php?fid=9)
+--- Thread: Possible to copy all the name in a driver so can paste is elsewhere? (/showthread.php?tid=10630)

Pages: 1 2


Possible to copy all the name in a driver so can paste is elsewhere? - ghurty - 07-10-2018

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


RE: Possible to copy all the name in a driver so can paste is elsewhere? - Dean Roddey - 07-10-2018

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.


RE: Possible to copy all the name in a driver so can paste is elsewhere? - ghurty - 07-11-2018

(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


RE: Possible to copy all the name in a driver so can paste is elsewhere? - Dean Roddey - 07-11-2018

System:: DoGlobalAct() I think is the command, just going by memory.


RE: Possible to copy all the name in a driver so can paste is elsewhere? - ghurty - 07-11-2018

Yes, thank you


RE: Possible to copy all the name in a driver so can paste is elsewhere? - znelbok - 07-11-2018

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


RE: Possible to copy all the name in a driver so can paste is elsewhere? - Dean Roddey - 07-11-2018

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.


RE: Possible to copy all the name in a driver so can paste is elsewhere? - znelbok - 07-12-2018

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


RE: Possible to copy all the name in a driver so can paste is elsewhere? - Dean Roddey - 07-12-2018

I could always provide some hot keys for invoking some of the more common insertion options.


RE: Possible to copy all the name in a driver so can paste is elsewhere? - znelbok - 07-12-2018

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