- This thread is created to help those new to ShortcutMe understand
the basics about macros and to help them start writing their own
macro shortcuts.
__________________________________________________ _______
Macros are a series of commands written by users and executed by ShortcutMe.
The core set of macro commands are based on simulating a user input (Key Click, Navigation with TouchPad and Touch Screen).
So those macros does what you would do on your BlackBerry.
For example 'MenuKey' macro clicks the BB/Menu key.
Simple macro examples will follow in the posts belowLast edited by Vijik; 12-10-11 at 07:38 AM.
12-07-11 06:12 AMLike 0 - - Macro shortcuts can be launched like any other shortcut in ShortcutMe by:
1- Multiple clicking a convenience key
2- Multiple clicking the Space key (if it is not set to anything else)
3- Entering its shortcut keys in ShortcutMe
4- Directly clicking on the shortcut list in ShortcutMe
5- Stroke on keys on the virtual keypad (for BB models with touch screen)
6- Selecting it from the BB Menu from any other app/screen (Custom System Menu feature in ShortcutMe)
7- Automatic Launch at a specific time of a day in a week (Scheduled Launching feature in ShortcutMe)
8- Directly hitting a hot key in BB Home Screen (If you have MyOwnIcons application)
9- Directly hitting an icon on BB Home Screen (If you have MyOwnIcons application)
10- Multiple clicking a media key (If you have MedieKeyBooster application)
11- Tapping a NFC tag (if you have NFCShortcuts application)Last edited by Vijik; 12-07-11 at 06:50 AM.
harist3a likes this.12-07-11 06:12 AMLike 1 - How to write a "Hello World" macro shortcut in ShortcutMe:
- Open ShortcutMe and hit BB/Menu key and select "Add Shortcut"
- Setup the shortcut as shown below:
AppName: Macros
Shortcut Keys: HW (You can set it to anything. This is just an example)
Macros:
Delay 200; /*Wait for the Java UI (User Interface) to switch*/
Show Hello World; (Opens a panel showing the message: Hello World)
To run this shortcut use one of the methods mentioned in the post #2 above.Last edited by Vijik; 12-07-11 at 06:53 AM.
12-07-11 06:13 AMLike 0 - Macro for toggling Wifi ?
Create a shortcut like this:
AppName: Macros
Shortcut Keys: TWF (or anything else you want)
Macros:
Launch Manage Connections; /*Opens Manage Connections*/
Delay 200; /*Waits for Manage Connections to open*/
NavMoveDown 1; /*Moves the cursor down (over WiFi in Manage Connections)*/
NavClick; /*Simulate a click (on Wifi in Manage Connections)*/
Delay 400; /*Waits for BB OS to toggle Wifi */
ESCKey; /*Hits Escape key to close Manage Connections*/Last edited by Vijik; 12-10-11 at 07:35 AM.
12-07-11 06:14 AMLike 0 - Macro for showing Device Info in Options?
Create a shortcut like this:
AppName: Macros
Shortcut Keys: DIN (or anything else you want)
Macros:
Launch Options; /*Opens Options*/
Delay 200; /*Waits for Options to open*/
Keypin; /*Simulates p i n clicks in Options (to find PIN)*/
Delay 100; /*Waits for BB OS to search for PIN*/
NavClick; /*Clicks to open the found item (PIN/Status page)*/Last edited by Vijik; 12-10-11 at 07:35 AM.
12-07-11 06:14 AMLike 0 - Macro to list all Map apps on your BB?
Create a shortcut like this:
AppName: Universal Search
Shortcut Keys: M (or anything else you want)
Macros:
Delay 200; /*Waits for Universal Search to open*/
KeyMap; /*Enter M a p in Universal Search*/[/SIZE]Last edited by Vijik; 12-10-11 at 07:36 AM.
12-07-11 06:16 AMLike 0 -
This thread could be a place for newbies to start reading about macros before getting exposed to macros written by macro experts like the ones in this thread:
http://forums.crackberry.com/blackbe...rchive-663605/12-10-11 07:43 AMLike 0 - Macro for toggling Wifi ?
Create a shortcut like this:
AppName: Macros
Shortcut Keys: TWF (or anything else you want)
Macros:
Launch Manage Connections; /*Opens Manage Connections*/
Delay 200; /*Waits for Manage Connections to open*/
NavMoveDown 1; /*Moves the cursor down (over WiFi in Manage Connections)*/
NavClick; /*Simulate a click (on Wifi in Manage Connections)*/
Delay 400; /*Waits for BB OS to toggle Wifi */
ESCKey; /*Hits Escape key to close Manage Connections*/
I set up the following :
above macro plus :
Launch Profiles;
delay 200;
navmovedown 5; (silent ring is the 5th profile down the list)
navclick;
delay 400;
esckey;
The probelm is that this will indded go to profiles and nav click 5 down - but not form the top of the list - only from the point at which the current profile is set already. What step am I missing ?
TIA12-14-11 11:24 AMLike 0 - Ok great success - that worked.
So now the seocnd part is :
launch profiles;
delay 200;
menuitemfromtop 5:
navclick;
delay 200;
and I want to add a bedside mode toggle now so I've also added :
launch bedsidemode_toggle;
....but it will not go into bedside mode. Do I have to activate somethng else ? it brings up the clock but does not enter BEDSIDE MODE. I am thinking I still have to activate a menu of some kind, then delay 200; then menuitemfromtop 4; then navclick;
Again some help required. After that I think I have the gist of it. Appreciate the prompt reply. Great app12-14-11 01:06 PMLike 0 - Ok great success - that worked.
So now the seocnd part is :
launch profiles;
delay 200;
menuitemfromtop 5:
navclick;
delay 200;
and I want to add a bedside mode toggle now so I've also added :
launch bedsidemode_toggle;
....but it will not go into bedside mode. Do I have to activate somethng else ? it brings up the clock but does not enter BEDSIDE MODE. I am thinking I still have to activate a menu of some kind, then delay 200; then menuitemfromtop 4; then navclick;
Again some help required. After that I think I have the gist of it. Appreciate the prompt reply. Great app
delay200;
*keyb;
esckey;12-14-11 01:18 PMLike 0 - If you want your one shortcut first set profile to Silent mode and then toggle bedside mode add the following to your macro:
ESCKey; (closes the Profile screen)
Launch net_rim_bb_clock; (launches Clock)
Delay200; (wait til Clock app opens)
MENUKey;
Delay100;
NavMoveDown 2; (go to Bedside mode related item)
NavClick;
(Many ShortcutMe's functions (like BedsideMode_Toggle) are macro-based. Don't mix your macros with macro-based functions. That is why 'Launch' macro is used in the macro above))12-14-11 01:22 PMLike 0 - If you want your one shortcut first set profile to Silent mode and then toggle bedside mode add the following to your macro:
ESCKey; (closes the Profile screen)
Launch net_rim_bb_clock; (launches Clock)
Delay200; (wait til Clock app opens)
MENUKey;
Delay100;
NavMoveDown 2; (go to Bedside mode related item)
NavClick;
(Many ShortcutMe's functions (like BedsideMode_Toggle) are macro-based. Don't mix your macros with macro-based functions. That is why 'Launch' macro is used in the macro above))
Is there way to toggle between SILENT MODE and LOUD MODE. IE : Phone is in SILENT MODE. Want to change to LOUD MODE. BUT IN SAME MACRO if I am now in LOUD MODE and I tap go into SILENT MODE ??12-14-11 01:40 PMLike 0 -
- I have a problem in creating a chained "toggle" macro for using shortcutme +NFC
All that I like to write is a single macro that:
leaving home:
off wifi
turn off BT
turn on GPS
sound high-profile
entering home
off bt
on wifi
off gps
sound normal profile
I have tryed ANY time whit no luck,.....
can someone tell me the right way???
thanks alot12-15-11 02:29 AMLike 0 - Need a help or suggestion.
I do not have a BB password entered since I don't want to lock the ICE (In Case of Emergency) app and a slide lock app. (I have another app that locks all the other appss.) The slide lock app I like best (there are differences) cannot be started except from the lock button on top of the Torch 9850.
I can't seem to get ShortcutMe to toggle that button. Tried the Lock funtion, but it doesn't do anything, maybe because there is no password.
I know Slide2Open Pro uses a seperate icon to bypass the need to toggle the Lock button, but using that app would be my last resort.
I could not find a "net_rim_bb_lock......" module to launch.
Any help or suggestions?
Thanks,
Andy12-19-11 04:31 PMLike 0 - Need a help or suggestion.
I do not have a BB password entered since I don't want to lock the ICE (In Case of Emergency) app and a slide lock app. (I have another app that locks all the other appss.) The slide lock app I like best (there are differences) cannot be started except from the lock button on top of the Torch 9850.
I can't seem to get ShortcutMe to toggle that button. Tried the Lock funtion, but it doesn't do anything, maybe because there is no password.
I know Slide2Open Pro uses a seperate icon to bypass the need to toggle the Lock button, but using that app would be my last resort.
I could not find a "net_rim_bb_lock......" module to launch.
Any help or suggestions?
Thanks,
Andy12-23-11 11:43 AMLike 0 -
When you input "if2" what does that mean? What does the number really mean?
/*macros for clicking on silent*/
What does that mean?
I am trying to understand the commands here.
I have looked at other poeple's macro and cannot figure out.
Also, what is the macro based?
thanks!01-17-12 03:16 PMLike 0
- Forum
- BlackBerry OS Phone Forums
- BlackBerry OS Apps
The Basics Of Macros In ShortcutMe
LINK TO POST COPIED TO CLIPBOARD