Search found 23 matches

by Guest078
05 May 2022, 04:08
Forum: Gaming Help (v1)
Topic: World of Warcraft - Click without mouse move
Replies: 1
Views: 434

World of Warcraft - Click without mouse move

Hi, Some demo code (yes, the title of the window is really "WoW_01") #If WinExist("WoW_01") 7:: WinGet, wowHWnd, ID, WoW_01 if (wowHWnd) PostRightClick(922, 448, wowHWnd) return #IfWinExist PostRightClick(x, y, hWnd, activate=1) { wParam := 0x0002 ; MK_RBUTTON lParam := x & 0xFFFF | (y & 0xFFFF) << ...
by Guest078
03 Nov 2020, 01:46
Forum: Ask for Help (v1)
Topic: After double key press - Execute on another key
Replies: 3
Views: 691

Re: After double key press - Execute on another key

Sorry for the late reply,
"Notify me when a reply is posted" is ticked for this thread but I didn't get any e-mail...

It works fine (and I really didn't think that it can be solved so easily) so thanks a lot to both of you!
by Guest078
02 Nov 2020, 10:48
Forum: Ask for Help (v1)
Topic: After double key press - Execute on another key
Replies: 3
Views: 691

After double key press - Execute on another key

Hi. I want to achieve this (pseudocode): if (CTRL key was pressed twice in under 400 ms) { if (no press of shift or one of the used keys below is detected in under 1000 ms) return if (SHIFT key is hold) { if (pressed key = "a") SendInput {Raw}Ä else if (pressed key = "u" SendInput {Raw}Ü etc... } el...
by Guest078
06 May 2019, 05:19
Forum: Ask for Help (v1)
Topic: RegExMatch - specific beginning of a line Topic is solved
Replies: 5
Views: 1244

Re: RegExMatch - specific beginning of a line Topic is solved

or

Code: Select all

RegExMatch(txt,"m)(*ANYCRLF)^(Kontoinhaber: ).*",kontoinhaber)
by Guest078
02 May 2019, 07:29
Forum: Ask for Help (v1)
Topic: COM: Fill MS Word form with Excel data and save as .pdf? Topic is solved
Replies: 10
Views: 1764

Re: COM: Fill MS Word form with Excel data and save as .pdf? Topic is solved

Thanks a lot, Klarion!

I thought that

Code: Select all

Dim cc As ContentControl
would need to be defined first :lol:

Btw, checkboxes can be set to e.g. true with:

Code: Select all

_.ActiveDocument.ContentControls[A_Index].Checked := True
Problem solved, thanks again Klarion & Kobaltauge!
by Guest078
02 May 2019, 04:42
Forum: Ask for Help (v1)
Topic: COM: Fill MS Word form with Excel data and save as .pdf? Topic is solved
Replies: 10
Views: 1764

Re: COM: Fill MS Word form with Excel data and save as .pdf? Topic is solved

Ok, thank you Kobaltauge! Here is an example that would fit what I'm trying to do... https stackoverflow.com /questions/11988327/filling-out-a-form-ms-word-vba-most-effective-intelligent-navigation-through-w/11991591#11991591 Does anyone know how to translate the code to be usable from AHK with COM?...
by Guest078
30 Apr 2019, 10:30
Forum: Ask for Help (v1)
Topic: COM: Fill MS Word form with Excel data and save as .pdf? Topic is solved
Replies: 10
Views: 1764

Re: COM: Fill MS Word form with Excel data and save as .pdf? Topic is solved

Thank you both! Kobaltauge Word forms use control elements and a belonging tag. Is it also possible to insert something at one of those specific tags? For example I have three plain text control elements with the tags: name, address and date_of_birth in a Word form. Any chance to insert the data of ...
by Guest078
29 Apr 2019, 17:42
Forum: Ask for Help (v1)
Topic: COM: Fill MS Word form with Excel data and save as .pdf? Topic is solved
Replies: 10
Views: 1764

COM: Fill MS Word form with Excel data and save as .pdf? Topic is solved

Is it possible via COM to fill a Microsoft Word 2010 form with the data from an .xlsx file and finally save that filled form directly as a .pdf file via AutoHotkey?
by Guest078
04 Apr 2019, 14:20
Forum: Ask for Help (v1)
Topic: Is there anyway to auto-exit AHK script when certian process closes? Topic is solved
Replies: 2
Views: 651

Re: Is there anyway to auto-exit AHK script when certian process closes? Topic is solved

#NoEnv #Persistent #SingleInstance force processToQuitOn := "<process name>.exe" SetTimer, CheckForProcess, 1000 return CheckForProcess: procList := "" objWMIService := ComObjGet("winmgmts:\\" . "." . "\root\cimv2") colProcesses := objWMIService.ExecQuery("Select * From Win32_Process")._NewEnum Whi...
by Guest078
02 Apr 2019, 08:06
Forum: Ask for Help (v1)
Topic: Accelerate massive DllCalls?
Replies: 5
Views: 1117

Re: Accelerate massive DllCalls?

Thanks a lot for your suggestions / comments, guys! @just me I'm freeing the pointer to the ITEMIDLIST now via DllCall("ole32\CoTaskMemFree", "Ptr", pidl) CoTaskMemFree is the suggested way for 2k+ instead of ILFree according to MSDN info How can I do it for PidlArray when it isn't needed anymore (t...
by Guest078
31 Mar 2019, 16:50
Forum: Ask for Help (v1)
Topic: Accelerate massive DllCalls?
Replies: 5
Views: 1117

Accelerate massive DllCalls?

Hi, part of the code: VarSetCapacity(PidlArray, lineCount * 8, 0) hModule := DllCall("LoadLibrary", "Str", "shell32.dll", "Ptr") if (hModule) { SHParseDisplayNameProc := DllCall("GetProcAddress", Ptr, DllCall("GetModuleHandle", Str, "shell32", "Ptr"), AStr, "SHParseDisplayName", "Ptr") SHBindToParen...
by Guest078
30 Mar 2019, 13:21
Forum: Ask for Help (v1)
Topic: How to search for a string in a .pdf or .docx's contents?
Replies: 38
Views: 15848

Re: How to search for a string in a .pdf or .docx's contents?

Hi! Regarding the code from here: https://www.autohotkey.com/boards/viewtopic.php?p=80744#p80744 In its current state it doesn't work with the iFilters that are provided by offfilt.dll (which comes with later versions of Windows by default), so files like .doc, .xls, .ppt, etc. aren't processed as t...
by Guest078
16 Sep 2018, 02:39
Forum: Ask for Help (v1)
Topic: I need help creating a script (to format text)
Replies: 4
Views: 853

Re: I need help creating a script (to format text)

And? Remove the first line, copy something to the clipboard that contains whatever placeholder, execute the script...
by Guest078
16 Sep 2018, 01:41
Forum: Ask for Help (v1)
Topic: I need help creating a script (to format text)
Replies: 4
Views: 853

Re: I need help creating a script (to format text)

Clipboard := "\t\:placeholder\,\s\:0.00,\e\:0.02,\t\:placeholder2,\s\:0.03,\e\:0.04" Clipboard := RegExReplace(Clipboard, "$", " | ") Clipboard := RegExReplace(Clipboard, "\\?t\\:", "`nt:") Clipboard := RegExReplace(Clipboard, "\\(s|e)\\", "$1") Clipboard := RegExReplace(Clipboard, "\\?,", " | ") M...
by Guest078
06 Sep 2018, 04:47
Forum: Ask for Help (v1)
Topic: Shift click on scrollbar?
Replies: 2
Views: 793

Re: Shift click on scrollbar?

Does nobody have an idea?
by Guest078
03 Sep 2018, 04:06
Forum: Ask for Help (v1)
Topic: Shift click on scrollbar?
Replies: 2
Views: 793

Shift click on scrollbar?

Hi, I would like to toggle a scrollbar from its leftmost to its rightmost position (and vice versa) by sending a left click together with shift down to it The problem is that the click is executed but without shift so that it moves only a little... A simple example that should move the horizontal sc...
by Guest078
14 Aug 2018, 06:37
Forum: Allgemeines
Topic: AutoHotkey.chm Datei
Replies: 2
Views: 4353

Re: AutoHotkey.chm Datei

Danke für die Erklärung und den link, Ragnar!
by Guest078
14 Aug 2018, 02:13
Forum: Allgemeines
Topic: AutoHotkey.chm Datei
Replies: 2
Views: 4353

AutoHotkey.chm Datei

Hallo,

kann mir jemand sagen, mit welcher Software die aktuelle AutoHotkey.chm Datei erstellt wird / wurde?
Sieht sehr professionell aus, wenn man das mit alten Versionen vergleicht...
by Guest078
20 Apr 2017, 11:33
Forum: Ask for Help
Topic: Build it with Visual Studio 2017?
Replies: 3
Views: 2378

Re: Build it with Visual Studio 2017?

I've followed that tutorial and additionally added $(VCInstallDir)Tools\MSVC\14.10.25017\include $(WindowsSdkDir)Include\10.0.15063.0\shared $(WindowsSdkDir)Include\10.0.15063.0\ucrt $(WindowsSdkDir)Include\10.0.15063.0\um To the Include Directories in VC++ Directories for the AutoHotkey project so ...
by Guest078
20 Apr 2017, 05:48
Forum: Ask for Help
Topic: Build it with Visual Studio 2017?
Replies: 3
Views: 2378

Build it with Visual Studio 2017?

Is it possible to build the solution with Visual Studio 2017? If yes can anyone post a step-by-step tutorial, how to do this? E.g. I'm on Windows 10 and I have installed the SDK 10.0.15063.0 (latest) When I open the .sln the first time, VS aks if the projects should be retargeted In my case, I have ...

Go to advanced search