- 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?
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 PMLike 0 - 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:25 PMLike 0 - 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 AMLike 0 - 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 up10-16-11 01:50 PMLike 0 -
- 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 PMLike 0 - 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 PMLike 0 - 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 PMLike 1 - 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 PMLike 1 - 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 numberLast edited by ONE618; 10-16-11 at 06:57 PM.
10-16-11 06:35 PMLike 0 - 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
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 PMLike 0 - 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 "!="
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 PMLike 0 - 10-16-11 08:04 PMLike 0
-
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 dayLast edited by Juggalo20; 10-16-11 at 08:09 PM.
10-16-11 08:06 PMLike 0 -
-
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.440Last edited by Juggalo20; 10-19-11 at 08:35 AM.
10-19-11 08:04 AMLike 0 -
Posted from my CrackBerry at wapforums.crackberry.comLast edited by Juggalo20; 10-19-11 at 09:30 AM.
10-19-11 08:59 AMLike 0 - 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 PMLike 0 - 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!
Posted from my CrackBerry at wapforums.crackberry.com10-19-11 05:38 PMLike 0 - 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.com10-19-11 09:49 PMLike 0 - 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!
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 PMLike 1
- Forum
- BlackBerry OS Phone Forums
- BlackBerry OS Apps
Handy ShortcutMe 5.0 Macro Shortcuts
« What's Wrong With Intouch App? How Can I get it to Work Better?
|
Importing courses from a kml google maps file: is it possible? »
LINK TO POST COPIED TO CLIPBOARD