Search found 32 matches

by daywalker
02 Aug 2023, 10:13
Forum: Ich brauche Hilfe
Topic: ImageSearch für mehrere Rechner nutzbar machen
Replies: 5
Views: 1105

Re: ImageSearch für mehrere Rechner nutzbar machen

Falls das Bild Texte enthält könntest evtl. FindText() nutzen.
by daywalker
11 Jul 2023, 04:33
Forum: Skripte und Funktionen
Topic: getPos() - InStr() trifft Array-Object
Replies: 1
Views: 1567

Re: getPos() - InStr() trifft Array-Object

Hier ein Ansatz für eine Steuerung der Groß-/Kleinschreibung über den case -Parameter, gültig auch für 'occurence'-Parameter = '0' : Ersetze Zeile ? StrSplit(haystack,needle).Count()-1 ; keeping <keyname>:<no of needle occurrences> durch ? StrSplit(haystack,(case) ? needle: Array(Format("{:U}", need...
by daywalker
09 May 2023, 00:51
Forum: Ask for Help (v1)
Topic: WinWaitClose() hangs when Msgbox() run in TimeOut Topic is solved
Replies: 3
Views: 343

Re: WinWaitClose() hangs when Msgbox() run in TimeOut Topic is solved

I realized now, that the MsgBox Group #4 Modality is the root cause, but I did not understand why. Why does it work with Options < 0x2000 and does not when >= 0x2000 ? #Requires AutoHotkey v1.1.33 Gui +HwndHwndSelectRef Gui Add, Button, gSelectRefButtonOK w250 h60, Can you press me (click to repeat)...
by daywalker
08 May 2023, 09:05
Forum: Ask for Help (v1)
Topic: WinWaitClose() hangs when Msgbox() run in TimeOut Topic is solved
Replies: 3
Views: 343

WinWaitClose() hangs when Msgbox() run in TimeOut Topic is solved

Hello, running the script, as long you press always manually the Msgbox-Button all runs fine. But when let the Msgbox run in the 1 secs Timeout whole script is blocked, and nothing works. Did i make a mistake? Gui, SelectRef:Add, Button, gSelectRefButtonOK w250 h60 , Can you press me (click to repea...
by daywalker
21 Feb 2023, 10:54
Forum: Ask for Help (v1)
Topic: ListIncludes.ahk Regex issue
Replies: 1
Views: 314

ListIncludes.ahk Regex issue

Hi, i try to get all #includes with ListIncludes.ahk but only maincode.ahk is returned ( msg.ahk is discarded): image.png Here the (reduced) code i use: Get_all_includes.ahk: #include ListIncludes.ahk ; ListIncludes.ahk from ; https://github.com/Drugoy/Autohotkey-scripts-.ahk/blob/master/Libraries/L...
by daywalker
08 Dec 2022, 06:00
Forum: Ask for Help (v1)
Topic: Compiling with UPX and BinMod.exe Topic is solved
Replies: 1
Views: 439

Compiling with UPX and BinMod.exe Topic is solved

Hello, when compiling my script ;@Ahk2Exe-PostExec "BinMod.exe" "%A_WorkFileName%" "11.UPX." "1.UPX!.", 2 msgbox Hello World it results in an AHK2Exe-error: image.png PostExec "Example 2" from : https://www.autohotkey.com/docs/misc/Ahk2ExeDirectives.htm#PostExec PostExec "Example 5" from https://git...
by daywalker
21 Jul 2022, 06:37
Forum: Scripts and Functions (v1)
Topic: TrayAudioVisualizer
Replies: 9
Views: 2095

Re: TrayAudioVisualizer

Do you have links for your used #include-files?
by daywalker
11 May 2022, 06:16
Forum: Ask for Help (v1)
Topic: WinGet
Replies: 3
Views: 1151

Re: WinGet

I want to match all windows with ahk_class Chrome_WidgetWin_1 but excluding Teams.exe from the result (Note:Teams.exe has also this class). All windows with ahk_class Chrome_WidgetWin_1 could be Teams.exe, Chrome.exe,Edge.exe or ... So my idea would be to use this code WinGet, List_, List, ahk_class...
by daywalker
11 May 2022, 00:56
Forum: Ask for Help (v1)
Topic: WinGet
Replies: 3
Views: 1151

WinGet

1) I dont get the Winget -command run properly to inlclude and exclude WinTitles in same commandline. Teams.exe (which i wanted to exclude) is still in the result. See example code below. 2) Working with this issue, for me raises this additional question if this is a valid code (using group to be ex...
by daywalker
26 Jan 2021, 08:53
Forum: Scripts and Functions (v1)
Topic: Excel - Highlighting (underlining) the active row
Replies: 26
Views: 3646

Re: Excel - Highlighting (underlining) the active row

Hi Haichen, to click through the splashimage (needed in very rare situations, eg. you select cell beyond screen) replace Splashimage,, B W%Width% H%line% Y%y1% X%x% CW%color% ; create line only on change with Splashimage,, B W%Width% H%line% Y%y1% X%x% CW%color%, , , HLSplashImage ; create line only...
by daywalker
26 Jan 2021, 08:38
Forum: Ich brauche Hilfe
Topic: Zahlen in Editfeld verhindern Topic is solved
Replies: 18
Views: 1795

Re: Zahlen in Editfeld verhindern Topic is solved

Hatte ich auch schon länger gesucht und aufgegeben, da trotzdem über RMB->Einfügen alphanumerische Zeichen eingegeben werden können (wollte aber nicht auf die Funktionaltät RMB->Einfügen/STRG-V verzichten)
by daywalker
21 Jan 2021, 07:41
Forum: Scripts and Functions (v1)
Topic: Excel - Highlighting (underlining) the active row
Replies: 26
Views: 3646

Re: Excel - Highlighting (underlining) the active row

Hi Haichen, i have made this two changes 1) In case ComObjActive fails, SplashImage should be resetted: try xl := ComObjActive("Excel.Application") catch { SplashImage, off wold:=-1 return } } 2) Hiding Splash when you are in File Menu (Office 365): if hwnd:=WinActive("ahk_class XLMAIN") { run:=1 tr...
by daywalker
19 Jan 2021, 08:38
Forum: Ask for Help (v1)
Topic: How to get date created of document?
Replies: 10
Views: 725

Re: How to get date created of document?

Problem now tracked, i have a shell window named javaw.exe which has no window handle (window.hwnd). Therefore the try command as workaround is helpful.
by daywalker
19 Jan 2021, 02:51
Forum: Ask for Help (v1)
Topic: How to get date created of document?
Replies: 10
Views: 725

Re: How to get date created of document?

Thanks mikeyww. On my system (Win10 x64) it shows the following error: Explorer_GetSelection.png The error source is window.HWND . My workaround is to put a try statement before If (hWnd = window.HWND) && (shellFolderView := window.Document) . It works, but it is not beautiful. Do you know a better ...
by daywalker
13 Jan 2021, 07:36
Forum: Scripts and Functions (v1)
Topic: Send Email Directly from AutoHotkey
Replies: 33
Views: 20693

Re: Send Email Directly from AutoHotkey

Nice script. How to realise NOREPLY emails?
by daywalker
20 Nov 2020, 01:25
Forum: Scripts and Functions (v1)
Topic: Converting wildcards to RegEx criteria with Wildcards2RegEx()
Replies: 3
Views: 590

Re: Converting wildcards to RegEx criteria with Wildcards2RegEx()

Hi, nice idea, which I can use, but when using strWildcards := "????.*" only list files with 4 characters, but in DOS dir ????.* will display all files with 0-4 characters before the dot. So I think "?" should be replaced with "\E.?\Q" if you want to be DOS compliant: ;------------------------------...
by daywalker
18 Nov 2020, 01:16
Forum: Scripts and Functions (v1)
Topic: VBA to AHK Translator (Excel)
Replies: 33
Views: 10220

Re: VBA to AHK Translator (Excel)

Nice work, please add also the mso constants like msoTrue
by daywalker
16 Nov 2020, 06:55
Forum: Skripte und Funktionen
Topic: Flexibler Autofilter für Excel [5.Update] 15.11.2020
Replies: 21
Views: 14306

Re: Flexibler Autofilter für Excel [5.Update] 15.11.2020

Hi aifritz,
funktioniert wie es soll! Danke!
VIele Grüße
daywalker
by daywalker
12 Nov 2020, 05:23
Forum: Skripte und Funktionen
Topic: Flexibler Autofilter für Excel [5.Update] 15.11.2020
Replies: 21
Views: 14306

Re: Flexibler Autofilter für Excel [4.Update]

Hallo aifritz, ich nutze das Tool gern, jedoch funktioniert der Autofilter bei ListObject anders (Tabellen aus Abfragen, z..*.iqy). xl.ActiveSheet.AutoFilterMode ist dann immer FALSE , eine Unterscheidung müsste man über ActiveSheet.ListObjects.Count oder so machen. Erklärung für VBA: https answers....

Go to advanced search