Search found 1358 matches

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

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

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

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

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

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

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

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

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

Re: One key with two functions

Another example:

Code: Select all

~x::Click 
by Xtra
31 Jul 2019, 11:10
Forum: Ask For Help
Topic: Why is this script not working?
Replies: 6
Views: 147

Re: Why is this script not working?

Another method.
Example: Timer that uses 1 variable to toggle.

Code: Select all

^j::SetTimer, MyLoopToggle, % (toggle := !toggle) ? 500 : "Off"

MyLoopToggle:
    Send, {Up}
    Send, ^a
    Send, {BS}
    Send, {Enter}
    Send, {Enter}
return
by Xtra
29 Jul 2019, 17:02
Forum: Ask For Help
Topic: Too many variable in for loop?
Replies: 1
Views: 152

Re: Too many variable in for loop?

Code: Select all

#if WinActive("SirsiDynix Symphony Workflows: CheckOut (F5)")
^j::
    for k, v in BarCod 
    {
        Sleep, 5000
        Send, %v%
        Send, Enter
    }
return
#If
HTH
by Xtra
27 Jul 2019, 22:08
Forum: Ask For Help
Topic: "Illegal characters" in a Variable Topic is solved
Replies: 2
Views: 127

Re: "Illegal characters" in a Variable Topic is solved

Code: Select all

InputBox, Var, EXPRESSION TO SEARCH?
If ( ErrorLevel )
    return

flnm := "C:\...Book.txt"
fileread, oVar, %flnm%

pos := InStr(oVar,Var)
clipboard := SubStr(oVar, pos, 5000)
clipwait,1 
by Xtra
26 Jul 2019, 18:59
Forum: Ask For Help
Topic: How to show only file name?
Replies: 1
Views: 81

Re: How to show only file name?

Take a look at: SplitPath
by Xtra
16 Jul 2019, 02:22
Forum: Ask For Help
Topic: How do i prevent strings from triggering other hotkeys
Replies: 2
Views: 214

Re: How do i prevent strings from triggering other hotkeys

Put #UseHook at the top of your script.
or use the hotkey prefix $ on the problem hotkeys.
by Xtra
15 Jul 2019, 19:00
Forum: Ask For Help
Topic: SciTE4AutoHotkey - ComObjCreate("Selenium.ChromeDriver") --> "Error: 0x800401F3 - Invalid class string"
Replies: 16
Views: 820

Re: SciTE4AutoHotkey - ComObjCreate("Selenium.ChromeDriver") --> "Error: 0x800401F3 - Invalid class string"

If you are running the script as Admin try running not as Admin.

I had another Selenium project that started today and this ended up being the issue.
Whats weird i didnt have any issues on an AWS VM just this new VM hosted elsewhere.

HTH
by Xtra
13 Jul 2019, 04:25
Forum: Ask For Help
Topic: how can I combine two ahk scripts?
Replies: 5
Views: 270

Re: how can I combine two ahk scripts?

Give this a try: ; Generated by AutoGUI 2.6.0 #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 Gui Add, Button, x47 y57 w162 h52 gstart, Start Gui Show, w254 h162 , start gosub, stop return start: Suspend, Off return stop: Suspend on return GuiEscape: GuiClose: F10:: ExitApp...
by Xtra
12 Jul 2019, 13:27
Forum: Ask For Help
Topic: Trying to loop my script 10 times
Replies: 3
Views: 138

Re: Trying to loop my script 10 times

When using else you do not check for a condition. if (ErrorLevel = 0) msgbox, found else if (ErrorLevel = 1) msgbox, not found! else ; (errorlevel = 2) msgbox, there was a problem! I'm not sure what to replace the returns with that won't mess up the actual script function. You could use Continue to ...
by Xtra
12 Jul 2019, 11:16
Forum: Ask For Help
Topic: Trying to loop my script 10 times
Replies: 3
Views: 138

Re: Trying to loop my script 10 times

CoordMode, Mouse, Screen CoordMode, Pixel, Screen #IfWinActive ALLPOSO `:: Loop, 10 ; <--- { Send, ^c SendEvent, {Click, 181, 412 Left, 3} Send, ^v Send, {enter} Sleep, 600 SendEvent, {Click, 37, 532 Left, 1} Sleep, 500 ImageSearch, FoundX, FoundY, 782, 539, 853, 590, C:\Users\kpearl\Pictures\Compl...
by Xtra
11 Jul 2019, 19:42
Forum: Ask For Help
Topic: SciTE4AutoHotkey - ComObjCreate("Selenium.ChromeDriver") --> "Error: 0x800401F3 - Invalid class string"
Replies: 16
Views: 820

Re: SciTE4AutoHotkey - ComObjCreate("Selenium.ChromeDriver") --> "Error: 0x800401F3 - Invalid class string"

swagfag wrote:
11 Jul 2019, 18:25
install .NET 3.5
+1

its required there are file Dependencies from .NET 3.5
It is ok to update .NET after 3.5 is installed.

Go to advanced search