Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Reset alias tag in scripting
PostPosted: Wed Jul 27, 2016 11:58 pm 

Joined: Wed Jul 27, 2016 7:00 am
Posts: 1

Offline
Hi,

I'm trying to reset a tag in scripting, which is easy, but the problem is that I'm using alias for that specific window. So I need to reset the alias associated with that tag. (If possible?)

So the idea is; set a tag (thorugh alias) when I click a button, reset the tag (through alias) after about half a second. I'm using a timer to accomplish this, but i cannot figure out how to reset tags associated with an alias.

I found the "AliasActionExtensions class" which have a method that looks like this,
Code:
public static void ResetTag(
              this bool inputBool,
              IInstantiatable instantiatable,
              string aliasName
)

but i cannot figure out what the "IInstantiatable instantiatable" is and cannot find anything about it anywhere. I might be missing something obvious here, but is it possible someone here knows what it is?

It should look something like this;
Code:
AliasActionExtensions.ResetTag(true,?,"Man_Till");


The rest of my script is working fine, I just need to get this last method to work. Appreciate any help


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: