Search found 41 matches

by nathan323
19 May 2019, 05:12
Forum: Ask For Help
Topic: Editor independent help file lookup.
Replies: 1
Views: 348

Re: Editor independent help file lookup.

The original post that came from is very helpful, is there something you're stuck on? You don't have to know much about the code itself, just where to put it. I am happy to help if you need.
by nathan323
04 May 2019, 05:02
Forum: Ask For Help
Topic: Disable key on laptop keyboard, but not on Bluetooth external keyboard
Replies: 0
Views: 201

Disable key on laptop keyboard, but not on Bluetooth external keyboard

I have:

Code: Select all

LAlt::send {space}
RAlt::send {space}

space::Return
running well on laptop to disable faulty space bar that acts erratically, but it also disables Space on external Bluetooth keyboard. I did some searching, but only found results for only mapping external keyboards..
by nathan323
05 Sep 2018, 23:48
Forum: Ask For Help
Topic: Loop all files and remove bracketed text
Replies: 5
Views: 666

Re: Loop all files and remove bracketed text

Ahh, I was so close! No idea why I had inverted commas around a variable :crazy: Thanks for your help mate :)
by nathan323
05 Sep 2018, 23:13
Forum: Ask For Help
Topic: Loop all files and remove bracketed text
Replies: 5
Views: 666

Re: Loop all files and remove bracketed text

Yes that works, thankyou! It looks like I need to do some reading about loop parse, I haven't come across that before. Two little problems I have, it also creates an extra blank text file with no name, just ".txt" Also, the resulting files are called (for eg.) "Ozark (S01E01) - Sugarwood.srt.txt" - ...
by nathan323
05 Sep 2018, 21:39
Forum: Ask For Help
Topic: Loop all files and remove bracketed text
Replies: 5
Views: 666

Loop all files and remove bracketed text

Hi all, I've been searching and playing around for a while and I am a bit stuck. What I'm trying to do is relatively simple I think. I have the following: FileRead, var, Ozark (S01E01) - Sugarwood.srt new_var := RegExReplace(var, "\[(.*?)\]") FileAppend, %new_var%, %A_WorkingDir%\Ozark (S01E01) - Su...
by nathan323
07 Apr 2018, 10:06
Forum: Forum Issues
Topic: Online documentation?
Replies: 8
Views: 1924

Re: Online documentation?

This worked, the extension is Fair AdBlocker v1.404. Even just whitelisting site didn't work, had to disable extension.

Thanks for your help :)
by nathan323
06 Apr 2018, 21:10
Forum: Forum Issues
Topic: Online documentation?
Replies: 8
Views: 1924

Re: Online documentation?

If I manually enter https://autohotkey.com/docs/frame.htm, it briefly tries to show me what the site looks like (seems like an upgrade since last time I saw it 12 months ago), with Content, Index, Search over on the left sidebar, then jumps to the same 404 page a moment later. I presume I cant do an...
by nathan323
06 Apr 2018, 19:15
Forum: Forum Issues
Topic: Online documentation?
Replies: 8
Views: 1924

Re: Online documentation?

Ok thanks guys, but my problem remains after clearing cache and restarting Chrome. Clicking on the link posted by Cuadrix redirects to the link I posted above, with the following error page: 404 Error 404 - File not found Awww man... Looks like the page you're looking for doesn't exist. Try checking...
by nathan323
05 Apr 2018, 21:05
Forum: Forum Issues
Topic: Online documentation?
Replies: 8
Views: 1924

Online documentation?

Sorry if this has been addressed recently, the search function of the forum is buggy for me atm.

The link from the main website (https://autohotkey.com/frame.htm#https: ... Hotkey.htm) gives me a 404 error - is there a new home for online help?
by nathan323
07 Sep 2017, 21:29
Forum: Ask For Help
Topic: Escaping ":" in label name
Replies: 6
Views: 961

Re: Escaping ":" in label name

Sorry been a bit offline. Thanks everyone, good learning experience.
by nathan323
02 Sep 2017, 06:49
Forum: Ask For Help
Topic: Escaping ":" in label name
Replies: 6
Views: 961

Re: Escaping ":" in label name

That's it, thanks. Is there any difference between

Code: Select all

Gui, Add, Button, gBC,% "C:"
and

Code: Select all

Gui, Add, Button, gBC, C:
Is the % there for expression mode?
by nathan323
02 Sep 2017, 03:37
Forum: Ask For Help
Topic: Escaping ":" in label name
Replies: 6
Views: 961

Escaping ":" in label name

I have a GUI that has buttons for each drive, I want to call them "C:", "F:", "L:".
Obviously when I write my label as ButtonC::, it takes it as a hotkey.
I tried

Code: Select all

ButtonC`::
..but same problem. Is there no way to escape a colon in a label?
by nathan323
23 Aug 2017, 01:34
Forum: Ask For Help
Topic: Help checking if process suspended
Replies: 4
Views: 895

Re: Help checking if process suspended

Yep it all runs fine for me now too, without changing anything. Couple of restarts later, must've been something buggy going on.

Thanks for your help :)
by nathan323
21 Aug 2017, 20:39
Forum: Ask For Help
Topic: Help checking if process suspended
Replies: 4
Views: 895

Re: Help checking if process suspended

Ok thanks. I added the lines and swapped all mention of PID with hProcess. Now I get:

Error at line 4 in #include file "C:\Program Files\AutoHotkey\Lib\IsProcessSuspended.ahk".
Line Text:         If (thread.ThreadWaitReason != 5)
Error: This line does not contain a recognized action.
by nathan323
20 Aug 2017, 23:17
Forum: Ask For Help
Topic: Help checking if process suspended
Replies: 4
Views: 895

Help checking if process suspended

I have found this: https://autohotkey.com/board/topic/113869-functions-freeze-processes-suspendprocess-resumeprocess-isprocesssuspended/ IsProcessSuspended(pid) {     For thread in ComObjGet("winmgmts:").ExecQuery("Select * from Win32_Thread WHERE ProcessHandle = " pid)         If (thread.ThreadWait...
by nathan323
18 Aug 2017, 09:27
Forum: Ask For Help
Topic: Emulating batch command line variables in AHK
Replies: 4
Views: 634

Re: Emulating batch command line variables in AHK

Ugh. I tried that first time and got an error, but on second try it worked. Not my night. Thanks BoBo.
by nathan323
18 Aug 2017, 08:53
Forum: Ask For Help
Topic: Emulating batch command line variables in AHK
Replies: 4
Views: 634

Re: Emulating batch command line variables in AHK

Ahh thanks. Haven't done any looping, good practice. The only problem was the "~n" is cmd equivalent for OutNameNoExt (Splitpath). Ended up as: Loop, Files, *.m?v { fullpath := A_LoopFileLongPath SplitPath, fullpath, , , , shortpath Run, "C:\Program Files\MKVToolNix\mkvpropedit.exe" "%fullpath%" --e...
by nathan323
18 Aug 2017, 04:54
Forum: Ask For Help
Topic: Emulating batch command line variables in AHK
Replies: 4
Views: 634

Emulating batch command line variables in AHK

Howdy all. I am trying to replicate this batch file line: for %%x in (*.mkv,*.m4v) do "C:\Program Files\MKVToolNix\mkvpropedit.exe" "%%x" --edit info --set "title=%%~nx" ..in AHK syntax. It needs to only try to process mkv/m4v inside folder in which script is ran. I'm not sure how to look for files ...
by nathan323
18 Jul 2017, 19:53
Forum: Ask For Help
Topic: Using a hotkey in KeyWait
Replies: 4
Views: 1284

Re: Using a hotkey in KeyWait

Ah I see, thanks.
by nathan323
18 Jul 2017, 09:21
Forum: Ask For Help
Topic: Using a hotkey in KeyWait
Replies: 4
Views: 1284

Re: Using a hotkey in KeyWait

Ok, stand corrected. So is there a way to make a key combination to work with KeyWait? Like I said I want to stay away from a single key to avoid a conflict.

Go to advanced search