1. Vijik's Avatar
    Oh man, I never bothered to try it without the macros... thanks for the quick response! I do notice one thing when using this shortcut that is somewhat annoying. Right after launching this shortcut and then pressing ESC to quit the flashlight, if you launch SCM again it opens up for a second and then exits. Does this happen for you too?
    When FlashLight_Flash is launched, ShortcutMe will launch VideoRecorder and then schedule itself to hit Space Key and exit a little later (Waiting for VideoRecorder to open).
    Now if you open ShortcutMe before it is fully done running FlashLight_Flash, it will close itself at the scheduled SpaceKeyClick-Exit plan.

    Give it some time to fully finish Flashlight_Flash shortcut before you use SCM again.
    10-15-11 09:19 PM
  2. dimm0k's Avatar
    When FlashLight_Flash is launched, ShortcutMe will launch VideoRecorder and then schedule itself to hit Space Key and exit a little later (Waiting for VideoRecorder to open).
    Now if you open ShortcutMe before it is fully done running FlashLight_Flash, it will close itself at the scheduled SpaceKeyClick-Exit plan.

    Give it some time to fully finish Flashlight_Flash shortcut before you use SCM again.
    Ahh, that would explain it. Thanks!
    10-15-11 09:25 PM
  3. Vijik's Avatar
    ShortcutMe 5.9.2.0 is on the beta link (only for 9900, 9930, 9850 and 9860)

    The difference between 5.9.2.0 and 5.9.1.4:

    - Can now launch NFCLauncher and MediaKeyBooster.

    - Macros field start from a new line


    5.9.2.0 will be the version that is going to be ported to ShortcutMe 5.6.2.0 for all other BB models that run BB OS 4.3 to 6.x (81xx, 82xx, 83xx, 85xx, 88xx, 89xx, 90xx, 91xx, 93xx, 95xx, 96xx, 97xx, 9800)

    After 5.9.2.0 and 5.6.2.0 is released to public I will work on adding the other features you guys have asked for.
    10-16-11 12:01 AM
  4. B4me's Avatar
    Hi all ....

    Trying to do an If0 GetForeGround=xxxx; Then0; etc etc

    Am I correct that SCM still does not do string comparison?

    Any work around?

    Vijik ... Any future hope for this?

    With things so GREAT in SCM as they now, I could see this being super!

    Love the recent updates ... you guys are great .... keep it up
    10-16-11 01:50 PM
  5. anon(1603170)'s Avatar
    If0 isappforeground appname

    Posted from my CrackBerry at wapforums.crackberry.com
    10-16-11 01:57 PM
  6. B4me's Avatar
    gbsn:

    Thanks for the speedy 'right on' reply.

    Duh ..... I should have figured that out, use it all the time.

    Been coding too long today .... time to quit (just for today)

    Question: Working on a BB j2me GPS app ... will need to have it tested by someone to see if it will run by SCM on a BB with OS 7 ..... Would it be appropriate to post that request here ... when I'm ready?

    Thanks again ... best to you.
    10-16-11 03:07 PM
  7. Vijik's Avatar
    Comparing strings for IF and While sentences are not currently supported.
    But since it was on my to do list (requested by others on this thread) and since I had some time today to look at it, it is now added.

    The version I am alpha testing you can compare Strings as well as Integers and Boolean.
    I will make it available on beta link in few hours from now.
    10-16-11 03:13 PM
  8. B4me's Avatar
    Vijik & All:

    WOW simply awesome!! Really been needing the compare strings for several clients!

    Talk about fast response .... it doesn't get any better!

    Trust me .... developers don't like waiting 3 days for an email response ...... and 6 months for a fix .... ( at least not this one)

    SCM is the BEST and you folks are the greatest!

    Many thanks to all!
    Vijik likes this.
    10-16-11 03:31 PM
  9. Vijik's Avatar
    ShortcutMe 5.9.2.1 for BB OS 7 and ShortcutMe 5.6.2.1 is on the beta link.

    The only new thing in these new version is that you can use '==' and '!=' operators for Strings:

    IF2 GetForeground == Home Screen;
    Then2; Show Home screen is in foreground;
    else2; Show Home Screen is Not in foreground;
    endIf2;

    You should be able to use this also for WHILE-loop.

    In general, for a test like: " A operator B", all of the followings should be the case before Macro Engine handles the test as test for Strings:

    1- A and B below can't be turned into an integer number
    2- A and B can't be turned into "False" or "True"
    3- operator is either "==" or "!="
    TomCanuck likes this.
    10-16-11 05:33 PM
  10. anon(4113192)'s Avatar
    What do exclamation marks! do?


    Are there any other operators besides...

    = set it equal
    == while/if it is equal to it
    && while/if it and it is
    || while/if it or it is
    > while/if it is greater than it
    < while/if it is less than it

    Not including...

    ; end function
    , separate parameter
    _ underline
    - negative number
    Last edited by ONE618; 10-16-11 at 06:57 PM.
    10-16-11 06:35 PM
  11. TomCanuck's Avatar
    What do exclamation marks! do?


    Are there any other operators besides...

    = set it equal
    == while/if it is equal to it
    && while/if it and it is
    || while/if it or it is
    > while/if it is greater than it
    < while/if it is less than it

    Not including...

    ; end function
    , separate parameter
    _ underline
    - negative number
    ! means "not"

    If0 !IsAppForeground Messages

    returns TRUE is messages is not in the foreground, FALSE if messages are in the foreground, so i would assumed != follows suit

    If0 A != B;

    returns TRUE if A is not the same as B

    Update #1
    Confirming.

    If0 A != B;
    Then0;
    Show A does not equal B;
    Else0;
    Show how does A equal B?;
    EndIf0;

    shows"A does not equal B"
    Last edited by Juggalo20; 10-16-11 at 08:04 PM.
    10-16-11 07:07 PM
  12. TomCanuck's Avatar
    ShortcutMe 5.9.2.1 for BB OS 7 and ShortcutMe 5.6.2.1 is on the beta link.

    The only new thing in these new version is that you can use '==' and '!=' operators for Strings:

    IF2 GetForeground == Home Screen;
    Then2; Show Home screen is in foreground;
    else2; Show Home Screen is Not in foreground;
    endIf2;

    You should be able to use this also for WHILE-loop.

    In general, for a test like: " A operator B", all of the followings should be the case before Macro Engine handles the test as test for Strings:

    1- A and B below can't be turned into an integer number
    2- A and B can't be turned into "False" or "True"
    3- operator is either "==" or "!="
    Using ShortcutMe_Touch 5.9.2.1_OS7_T on 9900/7.0.0.440

    String matches are working wonderfully so far! I can't thank you enough for this. It's been on my mind for a while, but I didn't wanna request it cuz I thought it'd be too major

    Tested in a few "intense" cases with Elseif and using && and || and so far so good. I love how it's case sensitve also! I could so hug you right now haha

    Edit
    Thanks for putting up the version for older phones. My 8330 was getting jealous of my 9900...
    Last edited by Juggalo20; 10-16-11 at 09:56 PM.
    10-16-11 07:55 PM
  13. anon(4113192)'s Avatar
    ! means "not"

    If0 !IsAppForeground Messages

    returns TRUE is messages is not in the foreground, FALSE if messages are in the foreground, so i would assumed != follows suit

    If0 A != B;

    returns TRUE if A is not the same as B
    holy cr@p, there's a not!

    this'll clean up my macros a bit, and create some new ones
    10-16-11 08:04 PM
  14. TomCanuck's Avatar
    holy cr@p, there's a not!

    this'll clean up my macros a bit, and create some new ones
    hehehe inorite? if i recall correctly we have gbsn to thank for the initial suggestion.

    also, off the top of my head i cant think of any other operators that you havent listed in your post. Could be wrong though.... only on my first cup of coffee of the day
    Last edited by Juggalo20; 10-16-11 at 08:09 PM.
    10-16-11 08:06 PM
  15. cuddas's Avatar
    Please help me, I can't find the link for udpdate version 5.6.2.1, I'm using version 5.6.2.0. Thanks So much!

    Posted from my CrackBerry at wapforums.crackberry.com
    10-19-11 07:30 AM
  16. TomCanuck's Avatar
    Please help me, I can't find the link for udpdate version 5.6.2.1, I'm using version 5.6.2.0. Thanks So much!

    Posted from my CrackBerry at wapforums.crackberry.com
    5.6.2.1 is still just in Beta if I recall correctly.

    Posted from my CrackBerry at wapforums.crackberry.com
    10-19-11 07:35 AM
  17. cuddas's Avatar
    Thanks! I'm watting it. Great app!

    Posted from my CrackBerry at wapforums.crackberry.com
    10-19-11 07:46 AM
  18. cuddas's Avatar
    The fuction "!=" mean different?
    I can't use it for if anh while. Why?
    (Sorry My english not good)

    Posted from my CrackBerry at wapforums.crackberry.com
    10-19-11 07:59 AM
  19. TomCanuck's Avatar
    The fuction "!=" mean different?
    I can't use it for if anh while. Why?
    (Sorry My english not good)

    Posted from my CrackBerry at wapforums.crackberry.com
    hmmm actually I think it might be somewhat broken. Or I'm using it wrong. I used this as a test

    Set $test1=3;
    If0 $test1 != 4;
    Then0;
    Show test1 does not equal 4 it equals $test1;
    Else0;
    Show according to the macro $test1 equals 4;
    EndIf0;

    And it uses Else0. However it's working fine for string matches.

    Launch Messages;
    Delay500;
    If0 GetForeground != Messages;
    Then0;
    Show Foreground is not Messages;
    Else0;
    Show foreground is messages;
    endIf0;

    That works fine... Will have to see what someone else says heh.

    Also, I tested using ShortcutMe_Touch 5.9.2.2_OS7_T on 9900/7.0.0.440
    Last edited by Juggalo20; 10-19-11 at 08:35 AM.
    10-19-11 08:04 AM
  20. cuddas's Avatar
    I'm too. When I use "==" in my macros, It run, but not with "!="

    Posted from my CrackBerry at wapforums.crackberry.com
    10-19-11 08:52 AM
  21. TomCanuck's Avatar
    I'm too. When I use "==" in my macros, It run, but not with "!="

    Posted from my CrackBerry at wapforums.crackberry.com
    I posted this in the bug reporting thread at ShortcutMe Updated for All BB Models (More Macros, Recurring Auto Launch, etc)!

    Posted from my CrackBerry at wapforums.crackberry.com
    Last edited by Juggalo20; 10-19-11 at 09:30 AM.
    10-19-11 08:59 AM
  22. Zocchi21's Avatar
    Hi All-

    I'm trying to create a macro to auto login to Chase Mobile Banking site.

    I'm running a Verizon Blackberry Bold 9930 on OS 7.0.0.362 using SCM 5.9.2.0 OS7 Touch

    Here's what I have so far:

    App Name: Browser
    Parameter: https:// mobilebanking .chase.com/public/home/logon

    Macro:
    suspend;
    delay200;
    navmoveleft640;
    navmoveup480;
    navmoveright320
    navmovedown400;
    delay100;
    navclick;

    From my very limited knowledge of macros, this should get me somewhere close to clicking on the user ID field on the page. I figured if I move the cursor right 320 it will be directly in the middle of the page, and the User ID field is down at the bottom of the page by default, so I guess about 400. I've played around with that number to no avail. Very frustrated trying to get this to work. I know I still have to enter the ID and move to the password field, but I'm stuck here so far. Any suggestions? Thanks in advance!
    10-19-11 05:31 PM
  23. TomCanuck's Avatar
    Hi All-

    I'm trying to create a macro to auto login to Chase Mobile Banking site.

    I'm running a Verizon Blackberry Bold 9930 on OS 7.0.0.362 using SCM 5.9.2.0 OS7 Touch

    Here's what I have so far:

    App Name: Browser
    Parameter: https:// mobilebanking .chase.com/public/home/logon

    Macro:
    suspend;
    delay200;
    navmoveleft640;
    navmoveup480;
    navmoveright320
    navmovedown400;
    delay100;
    navclick;

    From my very limited knowledge of macros, this should get me somewhere close to clicking on the user ID field on the page. I figured if I move the cursor right 320 it will be directly in the middle of the page, and the User ID field is down at the bottom of the page by default, so I guess about 400. I've played around with that number to no avail. Very frustrated trying to get this to work. I know I still have to enter the ID and move to the password field, but I'm stuck here so far. Any suggestions? Thanks in advance!
    Wish I could help ya, but moving the cursor in the browser has always been my weak point.... Sorry :< what did was open MemoPad, fill the screen with letter space letter space etc. Then tinker with ScreenTap to get at least a good idea of where the cursor lands....

    Posted from my CrackBerry at wapforums.crackberry.com
    10-19-11 05:38 PM
  24. anon(4113192)'s Avatar
    I posted this in the bug reporting thread at ShortcutMe Updated for All BB Models (More Macros, Recurring Auto Launch, etc)!

    Posted from my CrackBerry at wapforums.crackberry.com
    I think Vijik posted in the initial beta update that != can't turn an integer into a boolean, so no if 4!=3
    10-19-11 09:49 PM
  25. anon(1603170)'s Avatar
    Hi All-

    I'm trying to create a macro to auto login to Chase Mobile Banking site.

    I'm running a Verizon Blackberry Bold 9930 on OS 7.0.0.362 using SCM 5.9.2.0 OS7 Touch

    Here's what I have so far:

    App Name: Browser
    Parameter: https:// mobilebanking .chase.com/public/home/logon

    Macro:
    suspend;
    delay200;
    navmoveleft640;
    navmoveup480;
    navmoveright320
    navmovedown400;
    delay100;
    navclick;

    From my very limited knowledge of macros, this should get me somewhere close to clicking on the user ID field on the page. I figured if I move the cursor right 320 it will be directly in the middle of the page, and the User ID field is down at the bottom of the page by default, so I guess about 400. I've played around with that number to no avail. Very frustrated trying to get this to work. I know I still have to enter the ID and move to the password field, but I'm stuck here so far. Any suggestions? Thanks in advance!
    Debug it using another shortcut set to appname: Macro and open the website manually on the browser.

    Try adding the navmovedown1 in bold shown below, because the cursor jumps to the upper left corner, but when a cursor movement happens following that, it highlights the address bar regardless of number of pixels. Therefore, you need to make sure the cursor is placed in the corner boundary of the website and the address bar. It wouldn't work on my torch without the navmovedown1 for that reason, but it works fine with it.

    delay200;
    navmoveleft640;
    navmoveup480;
    navmovedown1;
    navmoveright320;
    navmovedown400;
    delay50;
    navclick;

    After the navclick make sure you use esckey to get out of the text field before moving to the password field.

    Cant really tell you the number of pixels since pixel density and the way the website shows varies by device.

    You could also use ScreentapX,Y or ScreenswipeX,Y,X,Y paired with navclick (in some cases screentap needs a navclick) to obtain a similar direct result.
    Last edited by gbsn; 10-19-11 at 10:08 PM.
    khaisilk1910 likes this.
    10-19-11 10:00 PM
1,385 ... 3334353637 ...
LINK TO POST COPIED TO CLIPBOARD