Search found 1352 matches
- Tue Jul 16, 2019 10:25 pm
- Forum: Beginners
- Topic: Question about IENavigate
- Replies: 1
- Views: 2057
Re: Question about IENavigate
I tried this a few times, and wasn't able to reproduce it. I was getting a 0 for ie_res1 and ie_res2, using these URLs. IECreate>IE[0] IENavigate>%IE[0]%,www.mjtnet.com,ie_res1 IEWaitDocumentComplete>%IE[0]%,ieresult IENavigate>%IE[0]%,www.google.com,ie_res2 IECreate>IE[0] IENavigate>IE[0],www.mjtne...
- Tue Jul 16, 2019 10:04 pm
- Forum: Technical / Scripting
- Topic: Wondering if this is possible - different action based on the same image being seen twice
- Replies: 4
- Views: 3074
Re: Wondering if this is possible - different action based on the same image being seen twice
FindImagePos can find more than one image when using EXACT.
Code: Select all
FindImagePos>%BMP_DIR%\image_1.bmp,SCREEN,0,1,XArr,YArr,NumFound,EXACT
if>NumFound>1
//Do something
Endif
- Sat Jul 13, 2019 8:13 am
- Forum: Technical / Scripting
- Topic: Desperately need assistance with a macro
- Replies: 2
- Views: 2164
Re: Desperately need assistance with a macro
If you're using Image Recognition to locate the position of the orange icon. That's your "anchor point". Your blue "select all" text will always be above it somewhere, and probably slightly to the right. You'll have to edit this to suit your setup, but the structure of this does exactly what you nee...
- Wed Jun 26, 2019 9:56 am
- Forum: Technical / Scripting
- Topic: Hyphen as A String in a Variable??
- Replies: 2
- Views: 2005
Re: Hyphen as A String in a Variable??
That does work. My guess is maybe that accountname doesn't exist or doesn't contain a hyphen? If we make sure it exists and contains a hyphen we can see the code works. Both of these work : Let>accountname=qwerty-uiop Let>hyphen=- //Check if variable contains "-" Pos>hyphen,accountname,1,posText If>...
- Tue Jun 25, 2019 10:55 am
- Forum: Technical / Scripting
- Topic: Repeat and Wait
- Replies: 1
- Views: 1569
Re: Repeat and Wait
This will cause your script to wait 15 seconds.
Wait>15
Wait>15
- Thu Jun 13, 2019 2:36 pm
- Forum: Technical / Scripting
- Topic: Choosing second image if first isn't available
- Replies: 5
- Views: 15170
Re: Choosing second image if first isn't available
You are very welcome.
- Wed Jun 12, 2019 8:55 am
- Forum: Technical / Scripting
- Topic: Finding a image position within a window
- Replies: 1
- Views: 1597
Re: Finding a image position within a window
While combining those two aspect might not be possible when using the Wizard, you can probably work around it by detecting or controlling the size and position of the window so it's always the same. Then you'll know which co-ordinates to use. The name of the window won't matter, when it comes to the...
- Mon Jun 10, 2019 10:21 pm
- Forum: Technical / Scripting
- Topic: Return partial variables within string
- Replies: 5
- Views: 3631
Re: Return partial variables within string
Or you could use the Separate command, and separate by /
- Mon Jun 10, 2019 10:17 pm
- Forum: Beginners
- Topic: Retrieving macros [Resolved]
- Replies: 2
- Views: 3117
Re: Retrieving macros
They should still be in your data folder, which unless you've changed it would be \Macro Scheduler 14 within your documents folder. You can import them with >File >Import. Link
- Mon Jun 10, 2019 10:13 pm
- Forum: Technical / Scripting
- Topic: Image Not Capturing
- Replies: 1
- Views: 1460
Re: Image Not Capturing
This forum post might be an answer.
- Mon Jun 10, 2019 10:05 pm
- Forum: Technical / Scripting
- Topic: Choosing second image if first isn't available
- Replies: 5
- Views: 15170
Re: Choosing second image if first isn't available
How about something like this? //Wait until either of two images appears by using a While Loop Let>AnImageWasFound=FALSE While>AnImageWasFound=FALSE //Here we use two FindImagePos statements - one for each image FindImagePos>%BMP_DIR%\image_2.bmp,SCREEN,0.7,1,XArr,YArr,NumFound1,CCOEFF FindImagePos>...
- Fri May 31, 2019 9:54 am
- Forum: Technical / Scripting
- Topic: Problem getting text from with strange app
- Replies: 1
- Views: 1929
Re: Problem getting text from with strange app
Have you tried the OCR Wizard instead?
- Fri May 31, 2019 9:50 am
- Forum: Beginners
- Topic: Need Help, Not Finding Image
- Replies: 1
- Views: 2174
Re: Need Help, Not Finding Image
Just a couple of things to eliminate a few possibilities. You're using EXACT. Are you completely sure the image is always the same? How static is the image? Using image recognition on the entire screen can be time consuming. Have you tried just searching in the game window, or specific co-ordinates?
- Thu May 23, 2019 10:01 am
- Forum: Technical / Scripting
- Topic: Secure Email Detection
- Replies: 6
- Views: 4055
Re: Secure Email Detection
Hi Dick,
I've made Marcus aware of this post, for his insight.
Kind regards,
Dorian.
I've made Marcus aware of this post, for his insight.
Kind regards,
Dorian.
- Thu May 23, 2019 9:58 am
- Forum: Beginners
- Topic: Automate website access?
- Replies: 5
- Views: 4259
Re: Automate website access?
It's okay if you don't want it to remember your password. As an addition you can even make the macro detect whether you're signed in or not, and only sign in if you're not. A login page usually contains some tell-tale text. Let's say in this case it might be "forgot password". We look for that text ...