Comparing Device Objects [Solved]

Posted on
Fri Mar 23, 2018 8:45 am
jay (support) offline
Site Admin
User avatar
Posts: 14391
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Comparing Device Objects [Solved]

You can subscribe at any point in your plugin's execution. However, that's of limited value really since there currently is no way to unsubscribe. It's on the list but unclear when it'll make it into a build.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Mar 23, 2018 9:02 am
DaveL17 offline
User avatar
Posts: 4080
Joined: Aug 20, 2013

Re: Comparing Device Objects [Solved]

Thanks Jay - that's what I thought you might say. I've settled on an approach that actually seems to work pretty well. I have a flag (True or False as the case may be) and if the flag is changed then I invoke a plugin restart. If the flag is True, subscribe -- otherwise don't subscribe.

Mine is a pretty fringe case for the Multitool plugin and won't seem out of place given its intended purpose.

+1 for unsubscribe. :D

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

[My Plugins] - [My Forums]

Who is online

Users browsing this forum: No registered users and 1 guest