Hi. Can't remember how to do this or even if I can.. I'm using VB. I have an alias that I want to do three things:
set a variable
call a sub
call another sub
Having it set the var and call one sub is no problem obviously, but calling the second sub is where I'm drawing a blank.
Can the alias call two subs at once, and if so, what is the syntax I use? Usually I just use the 'edit alias' window to set it up and fill in the script textbox, but that only allows one sub to be called.. can I go to the .mcl file and just add a second 'script="subname"' line to it (I'm guessing not)? ..Or is there a different method to call subs just like with setting variables - I can either fill in the variable textbox in the 'edit alias' window and send %1, or I can send
SetVariable "varname", "%1"
instead and achieve the same thing..
Alternatively I can just call one sub from the alias, and get that one sub to call the other sub.. but unsure what the syntax is on the .vbs script to do that.
Thanks in advance for help :)
set a variable
call a sub
call another sub
Having it set the var and call one sub is no problem obviously, but calling the second sub is where I'm drawing a blank.
Can the alias call two subs at once, and if so, what is the syntax I use? Usually I just use the 'edit alias' window to set it up and fill in the script textbox, but that only allows one sub to be called.. can I go to the .mcl file and just add a second 'script="subname"' line to it (I'm guessing not)? ..Or is there a different method to call subs just like with setting variables - I can either fill in the variable textbox in the 'edit alias' window and send %1, or I can send
SetVariable "varname", "%1"
instead and achieve the same thing..
Alternatively I can just call one sub from the alias, and get that one sub to call the other sub.. but unsure what the syntax is on the .vbs script to do that.
Thanks in advance for help :)