I want to trigger a Macro inside a certain program wit a certain key combination.
I want to trigger a different Macro inside a different program with the same key combination.
So the key combination is situation sensitive in the end.
How can i manage that?
Thanks in advance.
Same Keys, different Programs
Re: Same Keys, different Programs
The easiest way is to assign different key combinations for different situations.
In this case, you will have several tasks for different algorithms.
But you can implement your algorithm:
A "Hot Keys" trigger launches your task. Once inside the task, you can analyze the necessary conditions and launch the applications you need.
To do this, you can use the "If..Then", "Else", "ElseIf Then" and other RoboTask actions.
This way, your task will be able to perform different actions and launch different applications depending on your conditions.
Another way
Look at the "Choice Dialog" action, which will prompt you to choose what to do next.
Then, using the "If..Then", "Else" and "ElseIf Then" actions, you can perform different actions depending on the choice.
In this case, you will have several tasks for different algorithms.
But you can implement your algorithm:
A "Hot Keys" trigger launches your task. Once inside the task, you can analyze the necessary conditions and launch the applications you need.
To do this, you can use the "If..Then", "Else", "ElseIf Then" and other RoboTask actions.
This way, your task will be able to perform different actions and launch different applications depending on your conditions.
Another way
Look at the "Choice Dialog" action, which will prompt you to choose what to do next.
Then, using the "If..Then", "Else" and "ElseIf Then" actions, you can perform different actions depending on the choice.
Oleg Yershov
-
ralphberner
- Posts: 3
- Joined: Mon Feb 03, 2014 6:15 pm
Re: Same Keys, different Programs
Thanks a lot for the answers.
I have been using "Macro Express" for years and years. That software was abandoned recently but still works fine for me.
There is a "scope" option for each macro, that trigers a macro if a certain window or application is running or in focus only.
That makes organizing macros for different applications very handy.
I am astonished that in Roboform nothing like that exists (except those if then else chains). packing functionalities in one macro for completely independent tasks is a no go.
I was considering switching to RoboTask.
But i think in this case i stay with what i have until it doesn't work anymore.
It was worth a try at least.
I have been using "Macro Express" for years and years. That software was abandoned recently but still works fine for me.
There is a "scope" option for each macro, that trigers a macro if a certain window or application is running or in focus only.
That makes organizing macros for different applications very handy.
I am astonished that in Roboform nothing like that exists (except those if then else chains). packing functionalities in one macro for completely independent tasks is a no go.
I was considering switching to RoboTask.
But i think in this case i stay with what i have until it doesn't work anymore.
It was worth a try at least.
Re: Same Keys, different Programs
You can also check which window is active and perform different actions (or do nothing) depending on which window is active.
Take a look at the system variables {CurrentWindowCaption} and {CurrentWindowClass}
Keyboard and mouse emulation is only a very small part of RoboTask’s functionality. That is why the approach to implementing the algorithms for your tasks is different.
Take a look at the system variables {CurrentWindowCaption} and {CurrentWindowClass}
Keyboard and mouse emulation is only a very small part of RoboTask’s functionality. That is why the approach to implementing the algorithms for your tasks is different.
Oleg Yershov