Search found 1408 matches

by Xtra
19 Sep 2019, 23:57
Forum: Ask For Help
Topic: transfer files to another folder based on file extension
Replies: 3
Views: 240

Re: transfer files to another folder based on file extension

https://www.autohotkey.com/boards/viewtopic.php?f=6&t=8384&hilit=watchfolder

When it detects a change run a Filemove routine using a filepattern for the source location.
by Xtra
19 Sep 2019, 23:54
Forum: Ask For Help
Topic: ImageSearch Persistent ErrorCode=2 Topic is solved
Replies: 2
Views: 174

Re: ImageSearch Persistent ErrorCode=2 Topic is solved

TopLeftX := MouseX-100 TopLeftY := MouseY+200 BottomRightX := MouseX+100 BottomRightY := MouseY Your top left Y pos is lower than your bottom right Y pos. This cause your search area to not be a rectangle. The next problem you will most likely have is using a .jpg image try using a lossless format s...
by Xtra
11 Sep 2019, 23:11
Forum: Ask For Help
Topic: Turn Display Off While AHK script running
Replies: 3
Views: 221

Re: Turn Display Off While AHK script running

Manually press the off switch? Pretty easy imo.
by Xtra
05 Sep 2019, 18:37
Forum: Ask For Help
Topic: %clipboard% not working?
Replies: 1
Views: 179

Re: %clipboard% not working?

For Expression syntax use:
Needle := clipboard
by Xtra
30 Aug 2019, 03:19
Forum: Ask For Help
Topic: Child Window not moving with WinMove
Replies: 2
Views: 184

Re: Child Window not moving with WinMove

I use ControlMove on MDI windows give it a try.
by Xtra
27 Aug 2019, 19:29
Forum: Ask For Help
Topic: if in object().value not working
Replies: 3
Views: 280

Re: if in object().value not working

Code: Select all

WindowUnderMouse() {
    MouseGetPos , , , ID
    WinGetTitle Title, ahk_id %ID%
    WinGet, Process, ProcessName, ahk_id %ID%
    WinGetPos, , , WX, WY, ahk_id %ID%
	Return {"Title":Title, "Process":Process, "WX":WX, "WY":WY, "ID":ID}
}
by Xtra
21 Aug 2019, 22:08
Forum: Ask For Help
Topic: Script freaks out when it runs
Replies: 4
Views: 369

Re: Script freaks out when it runs

You could use: MouseClick if you wanted to use expressions for the X / Y coords.
X, Y
The x/y coordinates to which the mouse cursor is moved prior to clicking, which can be expressions.

Code: Select all

MouseClick, Left, xBase, yBase + 4 * increment
by Xtra
21 Aug 2019, 01:34
Forum: Ask For Help
Topic: Dynamic GUI numbers
Replies: 10
Views: 569

Re: Dynamic GUI numbers

by Xtra
21 Aug 2019, 01:25
Forum: Ask For Help
Topic: Not Working StrReplace Topic is solved
Replies: 5
Views: 306

Re: Not Working StrReplace Topic is solved

Use -1 instead of All
All is for StringReplace not StrReplace()
by Xtra
14 Aug 2019, 11:36
Forum: Ask For Help
Topic: How to check if a program has a sub window open
Replies: 6
Views: 388

Re: How to check if a program has a sub window open

Code: Select all

WinWait, X-Ways Forensics, Operation Complete.
Not tested verify wintitle and wintext are correct.
HTH
by Xtra
12 Aug 2019, 16:51
Forum: Ask For Help
Topic: Black frame insertion with autohotkey?
Replies: 3
Views: 368

Re: Black frame insertion with autohotkey?

It creates the black gui.
You can click through the black gui.
I didnt put it in a fast loop to slow your system.

If that doesnt help any maybe someone else can help.
by Xtra
12 Aug 2019, 14:08
Forum: Ask For Help
Topic: Black frame insertion with autohotkey?
Replies: 3
Views: 368

Re: Black frame insertion with autohotkey?

Toggled Example: #NoEnv Gui, 96: +E0x20 +ToolWindow -Caption +AlwaysOnTop +LastFound Gui, 96: Color, 000000 Gui, 96: Show, % "x" 0 " y" 0 " w" 1920 " h" 1080 " NA", Gui, 96: Hide WinSet, Transparent, 255 return F8::Reload F12:: if (toggle := !Toggle) Gui, 96: Show else Gui, 96: Hide return
by Xtra
12 Aug 2019, 12:43
Forum: Ask For Help
Topic: how to reduce screen shakeing from a loop PixelSearch
Replies: 2
Views: 170

Re: how to reduce screen shakeing from a loop PixelSearch

Code: Select all

CoordMode, Pixel, Screen, RGB
Start with the obvious:
There is no 3rd parameter for the CoordMode command.
by Xtra
09 Aug 2019, 10:39
Forum: Ask For Help
Topic: Paste/Ctrl Tab Looping issue
Replies: 3
Views: 247

Re: Paste/Ctrl Tab Looping issue

Use: Click
by Xtra
08 Aug 2019, 16:46
Forum: Ask For Help
Topic: Paste/Ctrl Tab Looping issue
Replies: 3
Views: 247

Re: Paste/Ctrl Tab Looping issue

Code: Select all

F13::
Loop, 50
{
    Send, Click
    Sleep, 500
    Send, ^v
    Sleep, 500
    Send, ^Tab
}
return
blocks(lines enclosed in braces)
by Xtra
08 Aug 2019, 10:54
Forum: Ask For Help
Topic: turn screensaver on
Replies: 2
Views: 227

Re: turn screensaver on

Code: Select all

SendMessage, 0x112, 0xF140, 0,, Program Manager
by Xtra
01 Aug 2019, 14:23
Forum: Ask For Help
Topic: One key with two functions
Replies: 11
Views: 510

Re: One key with two functions

Yes
by Xtra
01 Aug 2019, 12:43
Forum: Ask For Help
Topic: One key with two functions
Replies: 11
Views: 510

Re: One key with two functions

Another example:

Code: Select all

~x::Click 

Go to advanced search