Search found 16 matches

by ca10c3sar
Mon Jan 13, 2020 1:17 am
Forum: Technical / Scripting
Topic: ConsoleWrite
Replies: 1
Views: 310

ConsoleWrite

Theres any similar function on macro scheduler like on image below from AutoIt "console write", to write things on console??

I know about messagemodal, but this doesn't help.
NVIDIA_Share_2020-01-12_20-40-52.png
NVIDIA_Share_2020-01-12_20-40-52.png (9.47 KiB) Viewed 310 times
by ca10c3sar
Tue Jan 07, 2020 5:16 pm
Forum: Technical / Scripting
Topic: Read checkbox from ini
Replies: 1
Views: 264

Read checkbox from ini

How do i change the checkbox checked value depending on value from a ini? I've tried this way below, but not worked When a checkbox has checked value it display on code: Checked = True State = cbChecked I've tried store those values on the ini and load it in the var Checked = P1 State = P2 My ini ha...
by ca10c3sar
Sun Jan 05, 2020 6:07 pm
Forum: Technical / Scripting
Topic: Click on background window
Replies: 1
Views: 309

Click on background window

Is possible send clicks to background window?
Like ControlClick in autohotkey / autoit

I was able to send keystrokes to background window using:

Code: Select all

FindObject>hWndParent,RenderWindow,,1,hWnd,X1,Y1,X2,Y2,result
ObjectSendKeys>hWnd,VK54
by ca10c3sar
Wed Dec 27, 2017 3:44 pm
Forum: Technical / Scripting
Topic: NumFound
Replies: 5
Views: 2095

Re: NumFound

CODEBLOCK ScreenCapture>427,133,1501,896,C:\Users\CAIO\Documents\Macro Scheduler 14\Up - Logout\dir.bmp //Find and Left Click Center of FindImagePos>%BMP_DIR%\image_132.bmp,C:\Users\CAIO\Documents\Macro Scheduler 14\Up - Logout\dir.bmp,0.7,1,XArr,YArr,NumFound,CCOEFF If>NumFound>0 Let>XP={%XArr_0%+...
by ca10c3sar
Sat Dec 23, 2017 6:12 am
Forum: Technical / Scripting
Topic: NumFound
Replies: 5
Views: 2095

Re: NumFound

So if i have a area to capture and want search like 10 images in that area, i cant use this code: ScreenCapture>427,133,1501,896,%TEMP_DIR%\screenrect.bmp FindImagePos>%BMP_DIR%\image_13.bmp,%TEMP_DIR%\screenrect.bmp,0.7,1,XArr,YArr,NumFound FindImagePos>%BMP_DIR%\image_14.bmp,%TEMP_DIR%\screenrect....
by ca10c3sar
Thu Dec 21, 2017 10:41 pm
Forum: Technical / Scripting
Topic: NumFound
Replies: 5
Views: 2095

Re: NumFound

I already had read that CCOEFF info in faq, my doubt is how to return the numbers of match found and not only that one match were found. If thats not possible in findimagepos, theres any other way? Let>x=0 ScreenCapture>431,109,932,608,%TEMP_DIR%\screenrect.bmp FindImagePos>%BMP_DIR%\image_13.bmp,%T...
by ca10c3sar
Wed Dec 20, 2017 8:23 pm
Forum: Technical / Scripting
Topic: NumFound
Replies: 5
Views: 2095

NumFound

140491865.jpg //Find and Left Click Center of FindImagePos>%BMP_DIR%\image_12.bmp,SCREEN,0.7,1,XArr,YArr,NumFound,CCOEFF If>NumFound>10 MessageModal>NumFound Endif How to read the number of images found in "numfound of findimagepos"? Trying do a script to when detect more than 10 "image_12" obs: im...
by ca10c3sar
Sat Dec 02, 2017 1:20 pm
Forum: Technical / Scripting
Topic: How to send two keys at same time?
Replies: 2
Views: 1647

Re: How to send two keys at same time?

Hi i did what you said, and searched but i still dont got how i can do it, my script: I'm trying do the script send S and F keys at same time "SF" Setfocus>NET LIMITER* Wait>1 Let>VK_RETURN=83 //vk of S key Let>ExtendedKey=1 Let>KeyUp=2 Send>F LibFunc>user32.dll,keybd_event,r,VK_RETURN,0,ExtendedKey...
by ca10c3sar
Thu Nov 30, 2017 5:51 pm
Forum: Technical / Scripting
Topic: Active window title
Replies: 4
Views: 1410

Re: Active window title

Example:
http://prntscr.com/hhdgmx

I also tried using window handle
http://prntscr.com/hhdnfp
What m doing wrong
by ca10c3sar
Wed Nov 29, 2017 8:17 pm
Forum: Technical / Scripting
Topic: Active window title
Replies: 4
Views: 1410

Re: Active window title

So i dont know what im doing wrong bc it dont recognize using that script. Label>3 GetActiveWindow>title,x,y If>title=Planner* MessageModal>BD Wait>10 Else //Something else is active Endif Goto>3 Endif I have that script running and when i set focus to my window with title "planner~~~" it doesnt sen...
by ca10c3sar
Wed Nov 29, 2017 6:09 pm
Forum: Technical / Scripting
Topic: Active window title
Replies: 4
Views: 1410

Active window title

Label>3 GetActiveWindow>title,x,y If>title=Planner* MessageModal>BD Wait>10 Else //Something else is active Endif Goto>3 Endif Specify the window name in window_title. The window_title may contain the * symbol at the end to indicate a substring match. If the last character of the window title speci...
by ca10c3sar
Sun Nov 05, 2017 4:22 am
Forum: Technical / Scripting
Topic: How to send two keys at same time?
Replies: 2
Views: 1647

How to send two keys at same time?

How i could send two keys at same time?. I need my script send S and F keys at same time.

Tried that way, no sucess
Send>sf
Send>s,f

Also tried holdkey but it seens to hold only one key each time

Press doesnt work with non character keys so i cant use press/release :cry:
by ca10c3sar
Tue Oct 03, 2017 1:06 pm
Forum: Technical / Scripting
Topic: Image recognition ignore color
Replies: 3
Views: 1162

Re: Image recognition ignore color

I dont think will be possible convert all arrows to black/white and recheck again, to then do a action, i have like 5 seconds to send input of each arrow direction :cry:
by ca10c3sar
Tue Oct 03, 2017 12:08 pm
Forum: Technical / Scripting
Topic: Image recognition ignore color
Replies: 3
Views: 1162

Re: Image recognition ignore color

This is my script: ScreenCapture>753,506,768,520,%TEMP_DIR%\screenrect.bmp //Find and Left Click Center of FindImagePos>%BMP_DIR%\image_13.bmp,%TEMP_DIR%\screenrect.bmp,0.7,0.2,XArr,YArr,NumFound,CCOEFF If>NumFound>0 Send>a Endif script.png How i could low the tolerance? where 0.7 i insert 2? This i...
by ca10c3sar
Tue Oct 03, 2017 4:33 am
Forum: Technical / Scripting
Topic: Image recognition ignore color
Replies: 3
Views: 1162

Image recognition ignore color

Im trying use image recognition, to detect the arrow direction and go to a label, but the arrows change the color every time, are 30 more colors, so im writing to ask if its possible to ignore the color in image recognition, or what i could do to detect it avoiding the colors :( aaaaaaaaaaaaaaaaaaa....
Sign up to our newsletter for free automation tips, tricks & discounts