08-25-13 05:45 AM
1,385 ... 3132333435 ...
tools
  1. anon(4113192)'s Avatar
    I strongly suggest you add a delay100

    Because, when I launch the shortcut from the "Favorites" panel of the homescreen, it hits the MenuKey too quick and "Explore" isn't an option yet.
    Thanks Juggalo,

    Updated macro with suggestion and credit.

    Cheers.
    10-08-11 12:46 PM
  2. anon(4113192)'s Avatar
    What you mean with multiple $$Result in one Prompt macro?
    Give me an example.

    I am working on a fix for the issue below:
    Set $Var1=$$Result; (Currently sets $Var1 to "$$Result" as a text)
    I just gave a poor explanation. The fix that you are already working on is what I'm looking for.
    Last edited by ONE618; 10-08-11 at 12:54 PM.
    10-08-11 12:50 PM
  3. Vijik's Avatar
    ShortcutMe 5.9.0.2 is on the beta page (the link on the bottom of the beta page)

    New in 5.9.0.2 (for 9900/9930, 9810, 9850/9860):

    * Fixed the bug in 'Set' macro
    'Set $Var0=2; Set $Var1=$Var0' will now set $Var1 to 2

    * 'KeypadLockKey' macro is working now

    * StopMacro from other apps can now also stop suspended macros in ShortcutMe.
    (You don't get the message informing you that a remote app stopped ShortcutMe macros)

    * Added 'Show' macro
    'Show' is similar to 'Prompt', but it is more suited for showing things than 'Prompt' macro.
    I will later on make 'Show' more suited for formatted text output.
    TomCanuck and anon(4113192) like this.
    10-08-11 02:38 PM
  4. anon(4113192)'s Avatar
    ShortcutMe 5.9.0.2 is on the beta page
    Oh this is awesome! Could I please have a link to the beta?
    10-08-11 02:40 PM
  5. Vijik's Avatar
    Oh this is awesome! Could I please have a link to the beta?
    Did you get my email with the link?

    Posted from my CrackBerry at wapforums.crackberry.com
    10-08-11 04:18 PM
  6. anon(4113192)'s Avatar
    World Clock
    *upgraded in a later post
    Last edited by ONE618; 10-22-11 at 03:19 PM.
    TomCanuck likes this.
    10-08-11 05:07 PM
  7. TomCanuck's Avatar
    • Green is an instruction and should not be included in the macro
    • Orange is text that should be replaced with your desired info
    • I wrote this quick and dirty. I'll upload a cleaner optimized version later on
    • The max cities is set to 3, for now, because of macro character limits
    • This requires the latest ShortcutMe beta release v5.9.0.2



    World Clock
    Set $lc=Local City;
    Set $1n=City1 Name;
    Set $2n=City2 Name;
    Set $3n=City3 Name;
    Set $1d=City1 Time Difference in hours;
    Set $2d=City2 Time Difference in hours;
    Set $3d=City3 Time Difference in hours;
    the time difference should be compared to your local time
    for example...
    if your local time is 11:00PM and the city you're comparing it to is 1:00AM then $1d=2
    if your local time is 11:00PM and the city you're comparing it to is 9:00PM then $1d=-2

    Set $lt=GetTime;
    Div $lt,100;
    If0 $lt>1159;
    Then0; Set $ap=PM;Set $am=0;Sub $$Result,12;
    Else0;Set $ap=AM;Set $am=1;EndIf0;
    If1 $$Rest<10;
    Then1;Set $$Rest=0$$Rest;
    EndIf1;
    Set $lt=$$Result:$$Rest $ap;
    Set $hr=$$Result;
    Sum $hr,$1d;
    If4 $$Result>12;
    Then4;Sum $$Result,-12;
    If5 $am==1;
    Then5;Set $1t=$$Result:$$Rest PM;
    Else5;Set $1t=$$Result:$$Rest AM *tomorrow;EndIf5;
    Else4;Set $1t=$$Result:$$Rest $ap;EndIf4;
    Sum $hr,$2d;
    If4 $$Result>12;
    Then4;Sum $$Result,-12;
    If5 $am==1;
    Then5;Set $2t=$$Result:$$Rest PM;
    Else5;Set $2t=$$Result:$$Rest AM *tomorrow;EndIf5;
    Else4;Set $2t=$$Result:$$Rest $ap;EndIf4;
    Sum $hr,$3d;
    If6 $$Result>12;
    Then6;Sum $$Result,-12;
    If7 $am==1;
    Then7;Set $3t=$$Result:$$Rest PM;
    Else7;Set $3t=$$Result:$$Rest AM *tomorrow;EndIf7;
    Else6;Set $3t=$$Result:$$Rest $ap;EndIf6;
    Show$lc $lt
    $1n $1t
    $2n $2t
    $3n $3t;
    very nice ;o what phone/os are you using though? I can't use this, I get "Field Full" error (on 9900/7.0.0.440). Here's as much as I can enter

    do not use this macro, it is incomplete

    Set $lc=Local City;
    Set $1n=City1 Name;
    Set $2n=City2 Name;
    Set $3n=City3 Name;
    Set $1d=City1 Time Difference in hours;
    Set $2d=City2 Time Difference in hours;
    Set $3d=City3 Time Difference in hours;
    Set $lt=GetTime;
    Div $lt,100;
    If0 $lt>1159;
    Then0; Set $ap=PM;Set $am=0;Sub $$Result,12;
    Else0;Set $ap=AM;Set $am=1;EndIf0;
    If1 $$Rest<10;
    Then1;Set $$Rest=0$$Rest;
    EndIf1;
    Set $lt=$$Result:$$Rest $ap;
    Set $hr=$$Result;
    Sum $hr,$1d;
    If4 $$Result>12;
    Then4;Sum $$Result,-12;
    If5 $am==1;
    Then5;Set $1t=$$Result:$$Rest PM;
    Else5;Set $1t=$$Result:$$Rest AM *tomorrow;EndIf5;
    Else4;Set $1t=$$Result:$$Rest $ap;EndIf4;
    Sum $hr,$2d;
    If4 $$Result>12;
    Then4;Sum $$Result,-12;
    If5 $am==1;
    Then5;Set $2t=$$Result:$$Rest PM;
    Else5;Set $2t=$$Result:$$Rest AM *tomorrow;EndIf5;
    Else4;Set $2t=$$Result:$$Rest $ap;EndIf4;
    Sum $hr,$3d;
    If6 $$Result>12;
    Then6;Sum $$Result,-12;
    If7 $am==1;
    Then7;Set $3t=$$Result:$$Rest PM;
    Else7;Set $3t=$$Result:$$Rest AM *tomorrow;EndIf7;
    Else6;Set $3t=$$Result:$$Rest $ap;EndIf6;
    S

    Posted from my CrackBerry at wapforums.crackberry.com
    10-08-11 10:13 PM
  8. anon(4113192)'s Avatar
    very nice ;o what phone/os are you using though? I can't use this, I get "Field Full" error (on 9900/7.0.0.440). Here's as much as I can enter

    Set $lc=Local City;
    Set $1n=City1 Name;
    Set $2n=City2 Name;
    Set $3n=City3 Name;
    Set $1d=City1 Time Difference in hours;
    Set $2d=City2 Time Difference in hours;
    Set $3d=City3 Time Difference in hours;
    The Field Full error will occur when a macro has reached its character limit. If you replace the orange text with the info described in the green instructions, the Field Full error shouldn't occur, unless your city names are massively long.
    Last edited by ONE618; 10-08-11 at 10:34 PM.
    10-08-11 10:30 PM
  9. TomCanuck's Avatar
    The Field Full error will occur when a macro has reached its character limit. If you replace the orange text with the info described in the green instructions, the Field Full error shouldn't occur, unless your city names are massively long.
    Ahha! Silly me must learn to NOT check CB before my morning coffee... Thanks man, this is mad impressive... Very very awesome. Who needs App World when you have ShortcutMe O.O thanks for sharing this! <3

    Posted from my CrackBerry at wapforums.crackberry.com
    10-08-11 10:38 PM
  10. anon(4113192)'s Avatar
    Ahha! Silly me must learn to NOT check CB before my morning coffee... Thanks man, this is mad impressive... Very very awesome. Who needs App World when you have ShortcutMe O.O thanks for sharing this! <3

    Posted from my CrackBerry at wapforums.crackberry.com
    Thanks for bringing it up. I forgot to include that as a note when I posted. Note added now. Cheers.
    10-08-11 10:47 PM
  11. TomCanuck's Avatar
    Thanks for bringing it up. I forgot to include that as a note when I posted. Note added now. Cheers.
    another note you may wish to add is how it displays -difference. If I set the difference so that it rolls backwards from PM to AM (-12 for example) it displays "-x:xx" which works out to "12:00PM - hours:minutes". perfectly acceptable, but did take me a few tests to pick up on (again, I'm still on my first cup of coffee) lol
    Srsly man, this an impressive macro. Loving it

    Posted from my CrackBerry at wapforums.crackberry.com
    10-08-11 10:59 PM
  12. anon(4113192)'s Avatar
    Radio Toggle
    *upgraded in a later post
    Last edited by ONE618; 10-22-11 at 03:24 PM.
    10-08-11 11:21 PM
  13. anon(4113192)'s Avatar
    another note you may wish to add is how it displays -difference. If I set the difference so that it rolls backwards from PM to AM (-12 for example) it displays "-x:xx" which works out to "12:00PM - hours:minutes". perfectly acceptable, but did take me a few tests to pick up on (again, I'm still on my first cup of coffee) lol
    Srsly man, this an impressive macro. Loving it

    Posted from my CrackBerry at wapforums.crackberry.com
    Oh! Good find, I'll fix that.
    10-08-11 11:34 PM
  14. TomCanuck's Avatar
    A little something I whipped up to check if WiFi is on and connected, otherwise turn it off. Wrote it to be used with repeating auto launch. Like, ever 60 mins or whatever you want. This was written on 9900/7.0.0.353 with ShortcutMe_Touch 5.8.3.1. I can't imagine any possible bad things that could happen, but as usual everything I post is USE AT YOUR OWN RISK. Just wrote this tonight (after the whistles while playing NHL '12 hah), and tested using 30 minutes between launches (used a ding so I knew when to look lol). Seems to work just fine.

    If0 IsWiFiOn;
    Then0;
    If1 HasWifiConnection;
    Then1;
    Stop;
    Else1;
    Launch WiFi_Off;
    EndIf1;
    Else0;
    Launch WiFi_On;
    Delay60000;
    If2 HasWifiConnection;
    Then2;
    Stop;
    Else2;
    Launch WiFi_Off;
    EndIf2;
    EndIf0;

    Checks if WiFi is on, if it is checks if Wifi is connected, if it is, stop.
    If wifi is on but not connected, turns wifi off,
    If wifi is off, turns it on, waits 1 minute, if wifi is still not connected then turn it off, if wifi established a connection, leave wifi on.

    Posted from my CrackBerry at wapforums.crackberry.com
    Minor update, in light of the recently added && (and) and || (or) decided to add a time frame to this, to prevent it from running say while you're sleeping or whatever. Set Time1 to the ealiest time you wan this to run, and change Time2 to what time you want it to stop running. This was updated using 9900/7.0.0.440 and ShortcutMe_Touch 5.9.1.0

    As with every macro I post, use of this is AT YOUR OWN RISK

    Edit #1 quick reminder to use 24 hour time format when entering the times...

    set $ct=gettime;
    If0 $ct > Time1 && $ct < Time2;
    Then0;
    If1 IsWiFiOn;
    Then0;
    If2 HasWifiConnection;
    Then2;
    Stop;
    Else2;
    Launch WiFi_Off;
    EndIf2;
    Else1;
    Launch WiFi_On;
    Delay60000;
    If3 HasWifiConnection;
    Then3;
    Stop;
    Else3;
    Launch WiFi_Off;
    EndIf3;
    EndIf1;
    Else0;
    Stop;
    EndIf0;

    Posted from my CrackBerry at wapforums.crackberry.com
    Last edited by Juggalo20; 10-10-11 at 03:56 AM.
    Vijik likes this.
    10-09-11 11:03 PM
  15. xACiD's Avatar
    Are there any gps functions in shortcutme? I saw toggle and config but it would be nice to do things based on location..

    Sent from my BlackBerry 9930 using Tapatalk
    10-10-11 09:54 AM
  16. TomCanuck's Avatar
    xACiD: here might be a better spot for reqs/questions. http://forums.crackberry.com/blackbe...07/index9.html and unofficially "no" ShortcutMe doesn't deal in GPS at the moment

    Posted from my CrackBerry at wapforums.crackberry.com
    10-10-11 10:25 AM
  17. anon(4113192)'s Avatar
    World Clock v2
    *upgraded in a later post
    Last edited by ONE618; 10-22-11 at 03:22 PM.
    TomCanuck likes this.
    10-12-11 06:01 PM
  18. anon(4113192)'s Avatar
    Search Wolfram Alpha
    *upgraded in a later post
    Last edited by ONE618; 10-22-11 at 03:21 PM.
    10-12-11 08:03 PM
  19. TomCanuck's Avatar
    World Clock v2

    Updates
    • you can add more than three cities
    • fixed -hr bug
    • Green is an instruction and should not be included in the macro
    • Orange is text that should be replaced with your desired info
    • Requires ShortcutMe v5.9.1.1+


    Macro

    Set $t=GetTime;

    Div $t,100;
    Set $hr=$$Result;
    If0 $$Rest<10;
    Then0;
    Set $$Rest=0$$Rest;
    EndIf0;

    Set $c=0;

    While0 $c<4;Do0;

    If3 $c==1;
    Then3;
    Sum $hr,City 1 diff;
    Set $lt=$t;
    ElseIf3 $c==2;
    Sum $hr,City 2 diff;
    Set $1t=$t;
    ElseIf3 $c==3;
    Sum $hr,City 3 diff;
    Set $2t=$t;
    EndIf3;

    the time difference should be compared to your local time for example...
    if your local time is 11:00PM and the city you're comparing it to is 1:00AM then City 1 diff=2
    if your local time is 11:00PM and the city you're comparing it to is 9:00PM then City 1 diff=-2


    If1 $$Result>-1 && $$Result<12;
    Then1;
    Set $i=AM;
    ElseIf1 $$Result>11 && $$Result<24;
    Sum $$Result,-12;
    Set $i=PM;
    ElseIf1 $$Result>23;
    Sum $$Result,-24;
    Set $i=AM Tomorrow;
    Else1;
    Mult $$Result,-1;
    Set $i=PM Yesterday;
    EndIf1;
    If2 $$Result==0;
    Then2;
    Set $$Result=12;
    EndIf2;

    Set $t=$$Result:$$Rest $i;

    Inc$c;

    EndWhile0;

    ShowLocal City Name $lt
    City 1 Name $1t
    City 2 Name $2t
    City 3 Name $t;
    bugs are looking fixed to me i haven't found a realistic setup that didn't work properly ;D loving this man, thanks
    10-12-11 10:43 PM
  20. dimm0k's Avatar
    Is it possible for SCM to launch the Google Sync app and upon launch to initiate the 'Manual Sync' option?
    10-13-11 12:08 PM
  21. knowledge_6's Avatar
    is there somwhere i can find a list of application names?

    ie Wifi_on, Wifi_off; is for wifi..

    but am i trying to also figure out how to change profiles with macros.. i couldn't find anything

    EDIT: found profiles.. it's an application name as well...

    so if someone could point me where to find all the application names that would be GREAT : >

    EDIT2: stupid... i JUST realized the application list on the main config page has a list of app names!! duhh
    Last edited by knowledge_6; 10-13-11 at 02:08 PM.
    10-13-11 01:49 PM
  22. TomCanuck's Avatar
    Is it possible for SCM to launch the Google Sync app and upon launch to initiate the 'Manual Sync' option?
    i dont have this, but if you tell me how to get Google Sync I'll try it out and report back

    is there somwhere i can find a list of application names?

    ie Wifi_on, Wifi_off; is for wifi..

    but am i trying to also figure out how to change profiles with macros.. i couldn't find anything

    EDIT: found profiles.. it's an application name as well...

    so if someone could point me where to find all the application names that would be GREAT : >

    EDIT2: stupid... i JUST realized the application list on the main config page has a list of app names!! duhh
    not stupid, just new to Shortcutme
    10-13-11 04:39 PM
  23. dimm0k's Avatar
    i dont have this, but if you tell me how to get Google Sync I'll try it out and report back
    Thanks for the quick response! Being new to SCM I was a bit overwhelmed with all the options, but taking it slow and digesting it I finally found what I was looking for!

    For those who may be looking for what I was looking for, this is what I did...

    App Name: Google Sync*
    Macros: MENUKey;ENTERKey;ENTERKey;ESCKey

    It was that simple! What I really like is how I can have SCM schedule this macro? to run once a day, which is something I've always yearned for!
    10-13-11 04:51 PM
  24. TomCanuck's Avatar
    Thanks for the quick response! Being new to SCM I was a bit overwhelmed with all the options, but taking it slow and digesting it I finally found what I was looking for!

    For those who may be looking for what I was looking for, this is what I did...

    App Name: Google Sync*
    Macros: MENUKey;ENTERKey;ENTERKey;ESCKey

    It was that simple! What I really like is how I can have SCM schedule this macro? to run once a day, which is something I've always yearned for!
    glad you got it working
    10-13-11 04:57 PM
  25. anon(728548)'s Avatar
    So what's the status of bluetooth? How'd they do it in the NFC launcher video? that macro is like exactly what i'd like
    10-13-11 05:52 PM
1,385 ... 3132333435 ...
LINK TO POST COPIED TO CLIPBOARD