Search found 11 matches

by Killaz
02 Sep 2019, 12:46
Forum: Ask For Help
Topic: Getting all HTTP requests through Internet Explorer Application (COM)?
Replies: 1
Views: 309

Getting all HTTP requests through Internet Explorer Application (COM)?

Hello! Is it possible for Autohotkey to record all HTTP requests after initializing an Internet Application COM like what you could do in the actual browser by pressing F12, etc? wb := ComObjCreate("InternetExplorer.Application") wb.Visible := true wb.Navigate("http www.google.com ") Broken Link for...
by Killaz
09 Apr 2019, 09:55
Forum: Ask For Help
Topic: EnvGet PATH output missing new variables? Topic is solved
Replies: 5
Views: 808

Re: EnvGet PATH output missing new variables? Topic is solved

EnvSet solved the problem for me, thanks.
by Killaz
09 Apr 2019, 09:24
Forum: Ask For Help
Topic: EnvGet PATH output missing new variables? Topic is solved
Replies: 5
Views: 808

Re: EnvGet PATH output missing new variables? Topic is solved

Thanks for the fast response but it didn't work. Same problem...

Code: Select all

'phantomjs' is not recognized as an internal or external command,
operable program or batch file.
It works when I run the CMD myself and type phantomjs but Autohotkey's comspec doesn't recognize it for some reason...
by Killaz
09 Apr 2019, 09:05
Forum: Ask For Help
Topic: EnvGet PATH output missing new variables? Topic is solved
Replies: 5
Views: 808

EnvGet PATH output missing new variables? Topic is solved

Hello! I am really frustrated by this problem. First of all, I'm using Windows 10. This is my PATH environment variable https i.imgur.com /vSsa2kY.png Broken Link for safety When I run this code in Autohotkey, it does not show the phantomjs among other directories... EnvGet, test, Path MsgBox % test...
by Killaz
09 Oct 2017, 12:42
Forum: Ask For Help
Topic: What happens if multiple scripts FileAppend and FileRead the same text file at the same time?
Replies: 1
Views: 453

What happens if multiple scripts FileAppend and FileRead the same text file at the same time?

Would it cause interruptions? I have multiple scripts running at the same time and I want to keep them connected by a text file... Would it cause problems?
by Killaz
10 Sep 2017, 07:13
Forum: Ask For Help
Topic: What's the best way to send commands in a NODE JS console window?
Replies: 0
Views: 523

What's the best way to send commands in a NODE JS console window?

Hello. So I basically a NODE JS script and I want to pass variables to it WHILE it's running. Unfortunately, these variables exist in an Autohotkey script. I tried using ControlSend to send the variables as console commands, but it just spams the first key in the console window for no obvious reason...
by Killaz
09 Jul 2017, 17:06
Forum: Ask For Help
Topic: Script stuck in loop
Replies: 4
Views: 772

Re: Script stuck in loop

If I were you, I'd do it like this.

Code: Select all

SetTimer, myTimer, 1
Return

myTimer:
if (GetKeyState("XButton1", "D"))
{
	SendInput {BLIND}{XButton1 down}
	Sleep 3
	SendInput {BLIND}{XButton1 up}
}
Return
by Killaz
09 Jul 2017, 09:20
Forum: Ask For Help
Topic: Search an area around the mouse? Topic is solved
Replies: 3
Views: 846

Re: Search an area around the mouse? Topic is solved

This is just a code I tested successfully. I hope it helps you somehow. 500 pixels was apparently too much for my screen size, so I used 100 only and it worked with me. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Persistent ; #Warn ; Enable warnings to as...
by Killaz
09 Jul 2017, 09:01
Forum: Ask For Help
Topic: how do i make enter the toggle key instead of holding it
Replies: 1
Views: 436

Re: how do i make enter the toggle key instead of holding it

Hi. I haven't really understood you, but I'll try to help.

Just use a toggle variable.

Code: Select all

toggle := false

enter::
toggle:=!toggle
if (toggle) {
sendInput, {LButton}
loop 20000 ; adjust for timing
subStr("",1)
}
by Killaz
19 Feb 2017, 08:45
Forum: Ask For Help
Topic: Need help with regex matching Topic is solved
Replies: 2
Views: 709

Need help with regex matching Topic is solved

Hello. I have this code right here: Str := "The President: [Quiet: We do have economic problems]" RegExMatch(Str, "^.*: \K.*", m) MsgBox % m What I basically need is to match all characters that come after the first ":" , but for some reason Regex matches whatever comes after the second one. Thanks....
by Killaz
23 Aug 2016, 17:10
Forum: Ask For Help
Topic: Need your help with passing COM variabless over different running AHK scripts
Replies: 2
Views: 630

Need your help with passing COM variabless over different running AHK scripts

Hello! I need your help please. Basically, I have about 5 - 6 scripts that are scripted to open up the Internet Explorer application via wb := ComObjCreate("InternetExplorer.Application") I need all of them to navigate to a single website, but at the same time, I need to be able to use the COM of a ...

Go to advanced search