Search found 12 matches

by t4akawolf
13 Jun 2019, 09:37
Forum: Ask For Help
Topic: While running a script, how do I activate a hotkey which is defined in the same file in another location? Topic is solved
Replies: 2
Views: 290

Re: While running a script, how do I activate a hotkey which is defined in the same file in another location? Topic is solved

Oh, I didn't see your response. I was researching in the meanwhile and I came back to report that I worked it out by using Labels and goto. As follows: Label1: hotkey1:: (action) Label2: hotkey2:: (action) Label3: hotkey3:: (action) Label4: hotkey4:: (action) and also if conditionA, goto Label1, els...
by t4akawolf
13 Jun 2019, 08:50
Forum: Ask For Help
Topic: While running a script, how do I activate a hotkey which is defined in the same file in another location? Topic is solved
Replies: 2
Views: 290

While running a script, how do I activate a hotkey which is defined in the same file in another location? Topic is solved

Is this possible? The following is my rough intention: hotkey1:: (action) hotkey2:: (action) hotkey3:: (action) hotkey4:: (action) and also if conditionA, call hotkey1, else if conditionB, call hotkey2, else call hotkey3 I don't want to be inefficient and redefine the first three actions within hotk...
by t4akawolf
12 Jun 2019, 14:31
Forum: Ask For Help
Topic: AHK won't recognize Chrome Page Elements?
Replies: 5
Views: 1013

Re: AHK won't recognize Chrome Page Elements?

Anyone? Please?
by t4akawolf
12 Jun 2019, 13:04
Forum: Ask For Help
Topic: AHK won't detect "Confirm Save As" button Topic is solved
Replies: 4
Views: 452

Re: AHK won't detect "Confirm Save As" button Topic is solved

. . . I feel stupid.

I clearly used it the right way the first time. Not sure how I misunderstood the function immediately after :wtf:

Thank you. It worked.
by t4akawolf
12 Jun 2019, 12:53
Forum: Ask For Help
Topic: AHK won't detect "Confirm Save As" button Topic is solved
Replies: 4
Views: 452

Re: AHK won't detect "Confirm Save As" button Topic is solved

I don't understand. Why swap the two?

Isn't {Tab} {Enter} supposed to happen IF there is an Error (which in this case is the Confirm Save As box opening)?
by t4akawolf
12 Jun 2019, 11:58
Forum: Ask For Help
Topic: AHK won't detect "Confirm Save As" button Topic is solved
Replies: 4
Views: 452

AHK won't detect "Confirm Save As" button Topic is solved

Part of a script I'm working on appends a prefix to an automated saved-file's name. Here's the relevant code: WinWaitActive, Save As, , 20 if ErrorLevel { MsgBox, Try saving manually please. } else { Send {Home} Send CNM Send {Space} {Enter} WinWaitActive, Confirm Save As, , 20 if ErrorLevel { Send ...
by t4akawolf
12 Jun 2019, 10:05
Forum: Ask For Help
Topic: AHK won't recognize Chrome Page Elements?
Replies: 5
Views: 1013

Re: AHK won't recognize Chrome Page Elements?

Thank you so much for your response. I should have clarified, though, I am a total novice here (apart from a few weeks with AHK a couple of years ago). I checked out the first link but I have absolutely no idea where to even begin. I would really appreciate if someone could show me what the script s...
by t4akawolf
12 Jun 2019, 09:20
Forum: Ask For Help
Topic: AHK won't recognize Chrome Page Elements?
Replies: 5
Views: 1013

AHK won't recognize Chrome Page Elements?

Objective: Create a shortcut to find and click on a button on the page, then focus cursor on the text field that appears. The Button: Screenshot (56).png What happens when I click on the Button: Screenshot (58).png Chrome Console view when I right click on the button and Inspect Element; and underne...
by t4akawolf
30 Jul 2016, 12:16
Forum: Scripts and Functions
Topic: Hot Corners For Windows 10
Replies: 14
Views: 9246

Re: Hot Corners For Windows 10

What do I change to make it so that it registers an actual click to activate a Hot Corner? EDIT: Figured it out myself after a lot of research and tinkering (I'm a newb). I changed the last part of the script to this: GetKeyState, LState, LButton ; Press Windows if (IsCorner("TopLeft") && LState = "...
by t4akawolf
30 Jul 2016, 10:08
Forum: Ask For Help
Topic: [Solved] ExitApp fails to close Script when paired with Process Exist Topic is solved
Replies: 6
Views: 1968

Re: ExitApp fails to close Script when paired with Process Exist Topic is solved

Gicu wrote:put

Code: Select all

SetTimer, Closer, 1000
before first return
This fixed it, thanks! :D
by t4akawolf
30 Jul 2016, 04:38
Forum: Ask For Help
Topic: [Solved] ExitApp fails to close Script when paired with Process Exist Topic is solved
Replies: 6
Views: 1968

Re: ExitApp fails to close Script when paired with Process Exist Topic is solved

Code: Select all

If !ErrorLevel=0 ; (!) not equal 0 is 1 - that means "if cmd.exe exist exitapp"
I thought an ErrorLevel of 0 meant No Error, and that 1 meant Error = cmd doesn't exist.

EDIT: Just checked. Changing that part of the script to "If ErrorLevel=0" did not fix the issue.
by t4akawolf
30 Jul 2016, 03:53
Forum: Ask For Help
Topic: [Solved] ExitApp fails to close Script when paired with Process Exist Topic is solved
Replies: 6
Views: 1968

[Solved] ExitApp fails to close Script when paired with Process Exist Topic is solved

This is the AHK script. Like I want it to, it executes script.bat hidden when I run it, showing only an icon in the tray area. It also has the option to hide/show script.bat' s console window in the context menu, and the option to exit script.bat and then itself. I've noticed, though, that if I exit...

Go to advanced search