Search found 434 matches

by Dorian (MJT support)
Tue Jun 25, 2019 10:55 am
Forum: Technical / Scripting
Topic: Repeat and Wait
Replies: 1
Views: 10

Re: Repeat and Wait

This will cause your script to wait 15 seconds.

Wait>15
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: 58

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: 3
Views: 113

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: 96

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: 55

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: 3
Views: 77

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: 94

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: 73

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: 154

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: 188

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: 188

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: 644

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: 373

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: 214

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