Search found 21 matches

by daywalker
21 Jan 2021, 07:41
Forum: Scripts and Functions
Topic: Excel - Highlighting (underlining) the active row
Replies: 20
Views: 636

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
Topic: How to get date created of document?
Replies: 10
Views: 165

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
Topic: How to get date created of document?
Replies: 10
Views: 165

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
Topic: Send Email Directly from AutoHotkey
Replies: 21
Views: 5107

Re: Send Email Directly from AutoHotkey

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

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
Topic: VBA to AHK Translator (Excel)
Replies: 12
Views: 1199

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: 8523

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: 8523

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....
by daywalker
02 Sep 2020, 03:27
Forum: Scripts and Functions
Topic: airnote.ahk - instant note taking!
Replies: 2
Views: 1128

Re: airnote.ahk - instant note taking!

NIce work, but change

Code: Select all

C:\Users\%A_UserName%\Desktop\

to

Code: Select all

%A_Desktop%\
for users where Username <> Profilename (or Userprofile is on D:)
by daywalker
17 Jul 2020, 07:13
Forum: Scripts and Functions
Topic: Cursor Highlighter
Replies: 12
Views: 8554

Re: Cursor Highlighter

Nice work, only one point: when .ini file is not found (crashed network etc) script stops at line#95 . Maybe a Fileexist() check before would handle this problem.
by daywalker
14 Jul 2020, 07:33
Forum: Scripts and Functions
Topic: XA_Load/Save - Saving/Loading Arrays in XML - AHK v1.1.33
Replies: 17
Views: 5227

Re: XA_Load/Save - Saving/Loading Arrays in XML - AHK v1.1.33 / AHK v2-a116

TheArkive wrote:
26 Feb 2020, 11:08

Check post #3 for AHK v1 version.
Just a proposal for AHK V1 & 2: Would it not make sense to have in AHK a #define/#ifdef-Compiler-Directives like in C ? So Code could be easier maintained?
by daywalker
09 Jul 2020, 00:34
Forum: Scripts and Functions
Topic: CENSOR BOX
Replies: 12
Views: 4343

Re: CENSOR BOX

Great work! How can I remove one box?
by daywalker
03 Jul 2020, 10:45
Forum: Ask For Help
Topic: Mouse Coords not always the same (set/get) Topic is solved
Replies: 4
Views: 1262

Re: Mouse Coords not always the same (set/get) Topic is solved

Thank you, this works. Is Mousemove not working 100%? Updated the code: CoordMode, Mouse Px:=101 Py:=101 MouseMove, %Px%, %Py%, 0 ;DllCall("SetCursorPos", "int", Px, "int", Py) sleep, -1 MouseGetPos, MouseX, MouseY result= Input with Mousemove:`n%Px%, %Px%`n`nOutput:`n%MouseX%, %MouseY% ;MouseMove, ...
by daywalker
03 Jul 2020, 07:45
Forum: Ask For Help
Topic: Mouse Coords not always the same (set/get) Topic is solved
Replies: 4
Views: 1262

Mouse Coords not always the same (set/get) Topic is solved

Hello, With PC and 4:3 Monitor it works as it should (set and get are the same), but with Laptop and same Monitor on VGA port, i get this result: ResultLaptop.jpg CoordMode, Mouse Px:=101 Py:=101 MouseMove, %Px%, %Py% MouseGetPos, MouseX, MouseY msgbox Input:`n%Px%, %Px%`n`nOutput:`n%MouseX%, %Mouse...
by daywalker
01 Jul 2020, 05:52
Forum: Ask For Help
Topic: Insert Username with UIA (UI automation)
Replies: 0
Views: 624

Insert Username with UIA (UI automation)

I used this wrapper from jethrow https://github.com/jethrow/UIA_Interface/blob/master/UIA_Interface.ahk trying to insert with UIA the username to windows security question. Unfortunalty username does not insert. Anyone who has a idea? Thank you! #include UIA_Interface.ahk hwnd:= WinExist("Windows-Si...
by daywalker
24 Mar 2020, 06:49
Forum: Scripts and Functions
Topic: Optical character recognition (OCR) with UWP API
Replies: 63
Views: 14933

Re: Optical character recognition (OCR) with UWP API

Very nice!!

Does anyone have a idea, why there is different position of mouse cursor and yellow box?
example.jpg
example.jpg (18.31 KiB) Viewed 2851 times
by daywalker
23 Jan 2020, 02:59
Forum: Ask For Help
Topic: Windows 10 - Winexist
Replies: 0
Views: 272

Windows 10 - Winexist

Hello, changing from Win7 to WIn10 i noted that the CPU Usage of my tool is greatly increasing (about <1% to 10-15%). I use a timer function which repeatly calls WinExist() or IfWinExist . Below a demo code (cant show the whole code). I know that there a a lot of If-then-else clause combined partial...
by daywalker
22 Oct 2019, 02:57
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 227946

FileEncoding

Scripts - Definition & Usage | AutoHotkey https://www.autohotkey.com/docs/Scripts.htm#auto “Every thread launched by a hotkey, hotstring, menu item, GUI event, or timer starts off fresh with the default values for the following attributes as set in the auto-execute section. If unset, the standard de...

Go to advanced search