Search found 37 matches

by tonkomnom
12 Oct 2018, 10:32
Forum: Ask for Help (v1)
Topic: RegExMatch
Replies: 3
Views: 945

Re: RegExMatch

Maybe it's of some use, I always use https://regexr.com/ to check if my needle is doing what it's supposed to do.
by tonkomnom
12 Oct 2018, 10:01
Forum: Ask for Help (v1)
Topic: Toggling hotkeys - Nonexistent hotkey variant Topic is solved
Replies: 1
Views: 1383

Toggling hotkeys - Nonexistent hotkey variant Topic is solved

I'm trying to toggle certain hotkeys via the tray menu on and off, and keeping their state saved to an .ini file. Some (most) hotkeys are used in #IfWinActive scenarios, which prompted 'Nonexistent hotkey variant (IfWin)' but I solved that with the help of the forum . But now I get the same error me...
by tonkomnom
25 Sep 2018, 02:03
Forum: Ask for Help (v1)
Topic: MouseMove issue Topic is solved
Replies: 4
Views: 971

Re: MouseMove issue Topic is solved

Awesome, it works - thank you!

Do I need both SetBatchLines and SetMouseDelay?
by tonkomnom
24 Sep 2018, 06:14
Forum: Ask for Help (v1)
Topic: MouseMove issue Topic is solved
Replies: 4
Views: 971

Re: MouseMove issue Topic is solved

Yeah, that is true. I thought that there maybe was a rather simple solution, because posting code and stuff is :effort:. :lol: Code with issue (line 209-218) #SingleInstance, force #NoEnv ;Avoids checking empty variables to see if they are environment variables SendMode Input ;Switches to the SendIn...
by tonkomnom
24 Sep 2018, 04:27
Forum: Ask for Help (v1)
Topic: MouseMove issue Topic is solved
Replies: 4
Views: 971

MouseMove issue Topic is solved

I have a script that uses MouseMove and MouseClick in dependancy of a certain program being active. It all works absolute fine, but as soon as a second (not any apparently) script is active the mouse movement goes from almost instant to actually visible. Does anyone have ideas on what's causing it a...
by tonkomnom
17 Sep 2018, 04:09
Forum: Ask for Help (v1)
Topic: Get path of active explorer window
Replies: 3
Views: 846

Re: Get path of active explorer window

Thank you! Unfortunately, the issue with the duplicated button is still an issue despite the return and the code for retrieving the current Explorer path works fine if it's an actual Explorer window but not if it's the open/save window opened by the program the script is supposed to run with.
by tonkomnom
10 Sep 2018, 07:23
Forum: Ask for Help (v1)
Topic: Get path of active explorer window
Replies: 3
Views: 846

Get path of active explorer window

I'm trying to get the path of an active explorer window via a GUI button to create a file in said path. It works more or less fine but for the fact that I have to manually click into the edit I want to read/extract. It worked without me having to do that in most of the previous versions, but stopped...
by tonkomnom
10 Aug 2018, 04:37
Forum: Gaming Help (v1)
Topic: I really need help on this
Replies: 5
Views: 1220

Re: I really need help on this

global break_g = 0 RButton UP::break_g = 1 RButton:: Loop, { SendInput, T Sleep, 180 SendInput, T Sleep, 180 SendInput, T Sleep, 180 SendInput, R Sleep, 180 SendInput, F Sleep, 180 if(break_g = 1) { break_g = 0 Return } } Return Keep in mind though, that most (all?) online games prohibit the use of...
by tonkomnom
10 Aug 2018, 04:14
Forum: Ask for Help (v1)
Topic: Separate Toggle/Suspend Keys
Replies: 2
Views: 932

Re: Separate Toggle/Suspend Keys

1::Suspend, on 2::Suspend, off 3::Pause, on 4::Pause, off This should do the trick. If you only execute on line of code with a hotkey you can write your code right next to the :: (see above), in your example you'd have to use a Return for every hotkey. 1:: Suspend, on Return 2:: Suspend, off Return...
by tonkomnom
10 Aug 2018, 04:04
Forum: Ask for Help (v1)
Topic: 100% deceived
Replies: 6
Views: 1212

Re: 100% deceived

Hmm, aren't we - technically - being deceived by only 4.478%?
by tonkomnom
10 Aug 2018, 01:39
Forum: Ask for Help (v1)
Topic: RegEx Help
Replies: 5
Views: 1061

Re: RegEx Help

Try using this as your pattern:

Code: Select all

"(?<=www.example.com/)\d+"
The \d+ will select all digits following your positive lookbehind. https://regexr.com/3tol2
by tonkomnom
08 Aug 2018, 03:53
Forum: Ask for Help (v1)
Topic: Deleting variable Topic is solved
Replies: 4
Views: 1366

Re: Deleting variable Topic is solved

Thank you, working just as intended now. And yeah, I should read about blocks, that's one of the things I have most troubles with at the moment.
by tonkomnom
06 Aug 2018, 08:39
Forum: Gaming Help (v1)
Topic: WARFRAME AUTO E KEY Topic is solved
Replies: 1
Views: 1511

Re: WARFRAME AUTO E KEY Topic is solved

This seems to work on first glance. I've not tested it in-game though. #IfWinActive, ahk_exe warframe.exe ; or whatever it's called global break_g = 0 e UP::break_g = 1 $e:: KeyWait, e, T0.3 if (ErrorLevel) Loop, { SendInput, e Sleep, 100 if(break_g = 1) { Return } } ; long else SendInput, e ; short...
by tonkomnom
06 Aug 2018, 07:35
Forum: Ask for Help (v1)
Topic: Deleting variable Topic is solved
Replies: 4
Views: 1366

Re: Deleting variable Topic is solved

Code: Select all

sub1:
var_ep =
{
 	FileSelectFile, SelectedFile, , , Select file, *.pdf
Does not work, it adds n as well.
by tonkomnom
06 Aug 2018, 06:46
Forum: Ask for Help (v1)
Topic: Deleting variable Topic is solved
Replies: 4
Views: 1366

Deleting variable Topic is solved

I've built a script to convert a PDF to text, search for certain digits via Regex, and sum them up. That works sort of fine, but I can't make it work so the script empties the sum variable so I can select consecutive files without having to reload the script; the sum keeps getting bigger by n . And ...
by tonkomnom
26 Jul 2018, 04:24
Forum: Ask for Help (v1)
Topic: ImageSearch and custom GUI Topic is solved
Replies: 3
Views: 1341

Re: ImageSearch and custom GUI Topic is solved

Awesome, it's working as intended now, thank you! Not having any issues with the second screen though.
by tonkomnom
25 Jul 2018, 03:15
Forum: Ask for Help (v1)
Topic: ImageSearch and custom GUI Topic is solved
Replies: 3
Views: 1341

ImageSearch and custom GUI Topic is solved

I've created a custom GUI to look for a specific control and tick or untick it depending on its current state (ControlGet, ControlClick, etc does not work). The ticking and unticking works fine as long as the GUI is to the left of the control I'm searching for. I've tried countless variations of Coo...

Go to advanced search