- 12-07-2011, 06:12 AM
Thread Author #1
The Basics Of Macros In ShortcutMe
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-2011 at 07:38 AM.
- 12-07-2011, 06:12 AM
Thread Author #2
- 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-2011 at 06:50 AM.
- 12-07-2011, 06:13 AM
Thread Author #3
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-2011 at 06:53 AM.
- 12-07-2011, 06:14 AM
Thread Author #4
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-2011 at 07:35 AM.
- 12-07-2011, 06:14 AM
Thread Author #5
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-2011 at 07:35 AM.
- 12-07-2011, 06:16 AM
Thread Author #6
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-2011 at 07:36 AM.
- 12-07-2011, 06:20 AM
Thread Author #7
Another place holder.
BB10: MyProfilesPro, ShortcutMe 10, FlashLightPro, BBM Connected, NFC Enabled, Native Apps for Z10
BB10: EmailforGoogleGmail,FlashySearch
BBOS 4+: ShortcutMe, (on sale, %20 off) The Ultimate Shortcut application for BlackBerry
BBOS 7+: NFCShortcuts, Tap a NFC tag to launch an app, a task, or your macro shortcut in Shortcutme
BBOS 5+: MyOwnHotKeys, Override default hotkeys and create your own hotkeys - 12-07-2011, 06:51 AM
Thread Author #8
Place holder for more macro examples.
BB10: MyProfilesPro, ShortcutMe 10, FlashLightPro, BBM Connected, NFC Enabled, Native Apps for Z10
BB10: EmailforGoogleGmail,FlashySearch
BBOS 4+: ShortcutMe, (on sale, %20 off) The Ultimate Shortcut application for BlackBerry
BBOS 7+: NFCShortcuts, Tap a NFC tag to launch an app, a task, or your macro shortcut in Shortcutme
BBOS 5+: MyOwnHotKeys, Override default hotkeys and create your own hotkeys - 12-07-2011, 06:51 AM
Thread Author #9
Another place holder for more macro examples.
BB10: MyProfilesPro, ShortcutMe 10, FlashLightPro, BBM Connected, NFC Enabled, Native Apps for Z10
BB10: EmailforGoogleGmail,FlashySearch
BBOS 4+: ShortcutMe, (on sale, %20 off) The Ultimate Shortcut application for BlackBerry
BBOS 7+: NFCShortcuts, Tap a NFC tag to launch an app, a task, or your macro shortcut in Shortcutme
BBOS 5+: MyOwnHotKeys, Override default hotkeys and create your own hotkeys - 12-07-2011, 06:52 AM
Thread Author #10
Yet another place holder for macro examples.
BB10: MyProfilesPro, ShortcutMe 10, FlashLightPro, BBM Connected, NFC Enabled, Native Apps for Z10
BB10: EmailforGoogleGmail,FlashySearch
BBOS 4+: ShortcutMe, (on sale, %20 off) The Ultimate Shortcut application for BlackBerry
BBOS 7+: NFCShortcuts, Tap a NFC tag to launch an app, a task, or your macro shortcut in Shortcutme
BBOS 5+: MyOwnHotKeys, Override default hotkeys and create your own hotkeys - 12-07-2011, 10:23 AM #11
thanks for the easy instructions, i am sure this will help people a lot.
Visit My Blog dedicated to BB10 and Playbook Reviews --->www.sushistewpb.tk - 12-10-2011, 07:43 AM
Thread Author #12
Hopefully so.
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/BB10: MyProfilesPro, ShortcutMe 10, FlashLightPro, BBM Connected, NFC Enabled, Native Apps for Z10
BB10: EmailforGoogleGmail,FlashySearch
BBOS 4+: ShortcutMe, (on sale, %20 off) The Ultimate Shortcut application for BlackBerry
BBOS 7+: NFCShortcuts, Tap a NFC tag to launch an app, a task, or your macro shortcut in Shortcutme
BBOS 5+: MyOwnHotKeys, Override default hotkeys and create your own hotkeys - 12-14-2011, 11:24 AM #13
Ok thanks fo rthis. I get it. BUT let's say I want to combine more than one item in a macro. Say toggle wifi and switch to SILENT RING PROFILE.
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 ?
TIA - 12-14-2011, 12:35 PM
Thread Author #14
Use "MenuItemFromTop 5" macro instead of "NavMoveDown 5".
BB10: MyProfilesPro, ShortcutMe 10, FlashLightPro, BBM Connected, NFC Enabled, Native Apps for Z10
BB10: EmailforGoogleGmail,FlashySearch
BBOS 4+: ShortcutMe, (on sale, %20 off) The Ultimate Shortcut application for BlackBerry
BBOS 7+: NFCShortcuts, Tap a NFC tag to launch an app, a task, or your macro shortcut in Shortcutme
BBOS 5+: MyOwnHotKeys, Override default hotkeys and create your own hotkeys - 12-14-2011, 01:06 PM #15
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
- 12-14-2011, 01:18 PM #16
- 12-14-2011, 01:22 PM
Thread Author #17
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))BB10: MyProfilesPro, ShortcutMe 10, FlashLightPro, BBM Connected, NFC Enabled, Native Apps for Z10
BB10: EmailforGoogleGmail,FlashySearch
BBOS 4+: ShortcutMe, (on sale, %20 off) The Ultimate Shortcut application for BlackBerry
BBOS 7+: NFCShortcuts, Tap a NFC tag to launch an app, a task, or your macro shortcut in Shortcutme
BBOS 5+: MyOwnHotKeys, Override default hotkeys and create your own hotkeys - 12-14-2011, 01:40 PM #18
- 12-14-2011, 02:12 PM
Thread Author #19
If2 GetProfileVolume>10;
Then2;
/*macros for clicking on Silent*/
Else2;
/*Macros for clicking on LOUD */
EndIf2;Last edited by Vijik; 12-14-2011 at 06:30 PM.
BB10: MyProfilesPro, ShortcutMe 10, FlashLightPro, BBM Connected, NFC Enabled, Native Apps for Z10
BB10: EmailforGoogleGmail,FlashySearch
BBOS 4+: ShortcutMe, (on sale, %20 off) The Ultimate Shortcut application for BlackBerry
BBOS 7+: NFCShortcuts, Tap a NFC tag to launch an app, a task, or your macro shortcut in Shortcutme
BBOS 5+: MyOwnHotKeys, Override default hotkeys and create your own hotkeys - 12-15-2011, 02:29 AM #21
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 alot - 12-15-2011, 12:09 PM
Thread Author #22
Shortcut to toggle GPS:
AppName:Macro
Macros:
Launch options;
Delay 200;
keyLocation;
Delay 100;
NavClick;
Delay 100;
NavMoveDown 1;
SPACEKey;
ESCKey;
Delay 100;
NavClick;
ESCKey;
ESCKey;BB10: MyProfilesPro, ShortcutMe 10, FlashLightPro, BBM Connected, NFC Enabled, Native Apps for Z10
BB10: EmailforGoogleGmail,FlashySearch
BBOS 4+: ShortcutMe, (on sale, %20 off) The Ultimate Shortcut application for BlackBerry
BBOS 7+: NFCShortcuts, Tap a NFC tag to launch an app, a task, or your macro shortcut in Shortcutme
BBOS 5+: MyOwnHotKeys, Override default hotkeys and create your own hotkeys - 12-19-2011, 04:31 PM #23
Torch 9850 Lock Button
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,
Andy
Bold 9650 OS 6
Torch 9850 OS 7 - 01-17-2012, 03:16 PM #25
confused!
Hello!
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!


Reply

















