Search found 1346 matches

by Dorian (MJT support)
Wed Jun 12, 2019 8:55 am
Forum: Technical / Scripting
Topic: Finding a image position within a window
Replies: 1
Views: 1558

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...
by Dorian (MJT support)
Mon Jun 10, 2019 10:21 pm
Forum: Technical / Scripting
Topic: Return partial variables within string
Replies: 5
Views: 3564

Re: Return partial variables within string

Or you could use the Separate command, and separate by /
by Dorian (MJT support)
Mon Jun 10, 2019 10:17 pm
Forum: Beginners
Topic: Retrieving macros [Resolved]
Replies: 2
Views: 3046

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
by Dorian (MJT support)
Mon Jun 10, 2019 10:13 pm
Forum: Technical / Scripting
Topic: Image Not Capturing
Replies: 1
Views: 1432

Re: Image Not Capturing

This forum post might be an answer.
by Dorian (MJT support)
Mon Jun 10, 2019 10:05 pm
Forum: Technical / Scripting
Topic: Choosing second image if first isn't available
Replies: 5
Views: 15034

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>...
by Dorian (MJT support)
Fri May 31, 2019 9:54 am
Forum: Technical / Scripting
Topic: Problem getting text from with strange app
Replies: 1
Views: 1899

Re: Problem getting text from with strange app

Have you tried the OCR Wizard instead?
by Dorian (MJT support)
Fri May 31, 2019 9:50 am
Forum: Beginners
Topic: Need Help, Not Finding Image
Replies: 1
Views: 2132

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?
by Dorian (MJT support)
Thu May 23, 2019 10:01 am
Forum: Technical / Scripting
Topic: Secure Email Detection
Replies: 6
Views: 3968

Re: Secure Email Detection

Hi Dick,

I've made Marcus aware of this post, for his insight.

Kind regards,

Dorian.
by Dorian (MJT support)
Thu May 23, 2019 9:58 am
Forum: Beginners
Topic: Automate website access?
Replies: 5
Views: 4184

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 ...
by Dorian (MJT support)
Mon May 20, 2019 11:29 am
Forum: Beginners
Topic: Automate website access?
Replies: 5
Views: 4184

Re: Automate website access?

Have you tried the Find IE Element Wizard yet? Start with creating an IE instance with IECreate . IECreate>IE[0] Then navigate that instance to your login page with IENavigate . IENavigate>IE[0],http://www.mjtnet.com/,ie_res Once you're there, you might want to add a little wait to make sure the pag...
by Dorian (MJT support)
Fri May 10, 2019 10:59 am
Forum: General Discussion
Topic: Position of spaces
Replies: 14
Views: 16867

Re: Position of spaces

I'm no Regex guru either, but does this small edit to your original script do what you're looking for? Let>str1=I go to Cali today. Let>str2=I won't go to Cali tomorrow. Let>WordList= Separate>str1,space,var1 Separate>str2,space,var2 Let>k=0 //mdl>%var2_count% Repeat>k Let>k=k+1 Position>var2_%k%,st...
by Dorian (MJT support)
Thu May 09, 2019 10:03 pm
Forum: The Water Cooler
Topic: Question about adding to a String
Replies: 2
Views: 13985

Re: Question about adding to a String

If it's doing what you want but you're struggling to make the string add to itself, try something like this : I just changed the "combined" line and added Let>combined= at the beginning. Let>combined= Let>SourceFolder=d:\temp Let>RemoteFolder=http://www.visuell3d.se/test/sounds/ GetFileList>%SourceF...
by Dorian (MJT support)
Wed May 08, 2019 12:28 pm
Forum: Technical / Scripting
Topic: Need help for a script
Replies: 6
Views: 3929

Re: Need help for a script

You have the incorrect usage of Repeat/Until

You have this :

Code: Select all

Repeat>
//snipped
Until>FindImagePos>C:\Users\Seven\Desktop\bots\test 
The best place to find out about the correct usage and see a sample is here : Repeat
by Dorian (MJT support)
Wed May 08, 2019 12:03 pm
Forum: The Water Cooler
Topic: Question about GetFileList to work..
Replies: 4
Views: 15747

Re: Question about GetFileList to work..

It's great to see you're getting on so well with it. well done, Daniel.
by Dorian (MJT support)
Tue May 07, 2019 10:52 am
Forum: Technical / Scripting
Topic: Need help for a script
Replies: 6
Views: 3929

Re: Need help for a script

Being familiar with Horizon 4, I'd say this is going to be quite a challenge. I think it's highly unlikely that the text will be accessible and you'd have to rely entirely on Image Recognition and maybe looking out for pixel colours. And the trouble with Image Recognition I foresee is that whatever ...
cron
Sign up to our newsletter for free automation tips, tricks & discounts