Search found 12 matches

by daywalker
02 Sep 2020, 03:27
Forum: Scripts and Functions
Topic: airnote.ahk - instant note taking!
Replies: 2
Views: 1083

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: 8
Views: 5101

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

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

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

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

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

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: 45
Views: 9236

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 2484 times
by daywalker
23 Jan 2020, 02:59
Forum: Ask For Help
Topic: Windows 10 - Winexist
Replies: 0
Views: 262

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

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...
by daywalker
21 Oct 2019, 08:17
Forum: Ask For Help
Topic: FileEncoding understanding question Topic is solved
Replies: 2
Views: 396

FileEncoding understanding question Topic is solved

Hi, can someone help me in this script? 1.) Press Button "Set1" --> Fileencoding is set to UTF-8 2.) After press of "Set1" press Button "Set2" --> Fileencoding is empty Should FileEncoding value not be set globally? Is this a bug or a feature? Thank you! Gui, Add, Button, w100 h50 gButtonSet1, Set1 ...

Go to advanced search