Page 1 of 2 12 LastLast
Results 1 to 25 of 46
Like Tree1Likes
  1. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #1  

    Default 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 below
    Last edited by Vijik; 12-10-2011 at 07:38 AM.
  2. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #2  

    Default

    - 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.
    Thanked by:
    harist3a (07-08-2012) 
  3. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #3  

    Default

    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.
  4. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #4  

    Default

    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.
  5. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #5  

    Default

    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.
  6. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #6  

    Default

    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.
  7. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #7  

    Default

    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
  8. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #8  

    Default

    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
  9. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #9  

    Default

    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
  10. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #10  

    Default

    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
  11. sushistew's Avatar
    CrackBerry Genius

    Posts
    1,610 Posts
    PIN
    me down baby!
    #11  

    Default

    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. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #12  

    Default

    Quote Originally Posted by sushistew View Post
    thanks for the easy instructions, i am sure this will help people a lot.
    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
  13. mfreedmn97's Avatar
    CrackBerry Abuser

    Posts
    194 Posts
    #13  

    Default

    Quote Originally Posted by Vijik View Post
    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*/
    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
  14. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #14  

    Default

    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
  15. mfreedmn97's Avatar
    CrackBerry Abuser

    Posts
    194 Posts
    #15  

    Default

    Quote Originally Posted by Vijik View Post
    Use "MenuItemFromTop 5" macro instead of "NavMoveDown 5".
    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
  16. gbsn's Avatar
    Banned

    Posts
    1,607 Posts
    #16  

    Default

    Quote Originally Posted by mfreedmn_97 View Post
    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
    launch net_rim_bb_clock;
    delay200;
    *keyb;
    esckey;
  17. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #17  

    Default

    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
  18. mfreedmn97's Avatar
    CrackBerry Abuser

    Posts
    194 Posts
    #18  

    Default

    Quote Originally Posted by Vijik View Post
    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))
    Ok I got it. Sorry one more....

    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 ??
  19. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #19  

    Default

    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
    Thanked by:
    fbloise (04-09-2012) 
    fbloise likes this.
  20. mfreedmn97's Avatar
    CrackBerry Abuser

    Posts
    194 Posts
    #20  

    Default

    Quote Originally Posted by Vijik View Post
    If2 GetProfileVolume>10;
    Then2;
    /*macros for clicking on Silent*/
    Else2;
    /*Macros for clicking on LAOD */
    EndIf2;
    Wow, that one I NEVER would have gotten right. Thanks. Good job.
  21. franzfume's Avatar
    CrackBerry User

    Posts
    87 Posts
    PIN
    Ask!
    #21  

    Default

    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
  22. Vijik's Avatar
    CrackBerry Genius

    Posts
    3,469 Posts
    Thread AuthorThread Author   #22  

    Default

    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
  23. andy.duli's Avatar
    CrackBerry Newbie

    Posts
    2 Posts
    PIN
    NEEDLES
    #23  

    Default 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
  24. axemcc's Avatar
    CrackBerry Newbie

    Posts
    8 Posts
    #24  

    Default

    Quote Originally Posted by andy.duli View Post
    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
    In version 5.9.5.1_OS7_T, there is a macro command called KEYPADLOCKKey. That activates the lock button (on my bold anyway).
  25. whataday's Avatar
    CrackBerry User

    Posts
    56 Posts
    PIN
    24a768c7
    #25  

    Default confused!

    Quote Originally Posted by Vijik View Post
    If2 GetProfileVolume>10;
    Then2;
    /*macros for clicking on Silent*/
    Else2;
    /*Macros for clicking on LOUD */
    EndIf2;
    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!
Page 1 of 2 12 LastLast

Posting Permissions