Search found 14 matches

by theyakutoo
12 Oct 2023, 15:37
Forum: Ask for Help (v2)
Topic: Hotkey down fails with ^esc
Replies: 4
Views: 753

Re: WinGetTitle

With hook enabled, how do you determine if AHK is still holding the key down?
by theyakutoo
11 Oct 2023, 03:52
Forum: Ask for Help (v2)
Topic: Hotkey down fails with ^esc
Replies: 4
Views: 753

Re: Hotkey down fails with ^esc

What are you expecting? ^Esc requires the keyboard hook, because it conflicts with a standard system hotkey (which displays the Start menu). Uncommenting #UseHook causes the other hotkeys to also have this effect. If any of the other hotkeys happened to be already registered by another script or pr...
by theyakutoo
11 Oct 2023, 03:36
Forum: Bug Reports
Topic: WinGetTitle Topic is solved
Replies: 7
Views: 2060

Re: WinGetTitle Topic is solved

It seems like a bug because V1 did not behave this way. I'll use a lib to handle the V2 window title oddities. #Requires AutoHotkey >2 #Singleinstance force wX1:=0,wY1:=0,wXd:=0,wYd:=0 while 1 { wGetPos(&wX1, &wY1, &wXd, &wYd, "A") tooltip(wGetTitle("A") '`n' wX1 "," wY1 "`n" wXd "," wYd "`n" a_tick...
by theyakutoo
09 Oct 2023, 06:54
Forum: Ask for Help (v2)
Topic: Hotkey down fails with ^esc
Replies: 4
Views: 753

Hotkey down fails with ^esc

Using ^esc hotkey somehow interferes with key down. Example shows GetKeyState 0 With ^esc commented, GetKeyState shows 1 #Requires AutoHotkey >2 #Singleinstance force ;#UseHook ;InstallKeybdHook if not winexist("Untitled - Notepad") run("notepad.exe") WinWait("Untitled - Notepad") WinActivate send (...
by theyakutoo
08 Oct 2023, 23:44
Forum: Bug Reports
Topic: WinGetTitle Topic is solved
Replies: 7
Views: 2060

Re: WinGetTitle Topic is solved

Same error with WinGetPos...

Checking for previous posts about this issue... and found my own post quoted! Thanks for putting this in bug reports :)
by theyakutoo
07 Oct 2023, 10:00
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4772

Re: Class ToolTipOptions - 2023-09-10

Using try solved the issue.

Thanks guys!
by theyakutoo
07 Oct 2023, 06:04
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4772

Re: Class ToolTipOptions - 2023-09-10

Error when opening start menu. Sometimes it takes a few tries to get the error. image.png #Requires AutoHotkey >=2.0- <2.1 #Singleinstance force #Include ToolTipOptions.ahk ToolTipOptions.Init() ToolTipOptions.SetMargins(0, 0, 0, 0) ToolTipOptions.SetTitle() ToolTipOptions.SetFont("s10", "Consolas")...
by theyakutoo
03 Oct 2023, 22:05
Forum: Scripts and Functions (v2)
Topic: Show Object contents
Replies: 0
Views: 517

Show Object contents

Little script to show contents of objects. I've been using this in v1 for many years, now migrated to v2 thanks to FanaticGuru - https://www.autohotkey.com/boards/posting.php?mode=quote&f=83&p=514180 FanaticGuru version shows the types, which can be very helpful at times. ; ShowOB is my version of D...
by theyakutoo
02 Oct 2023, 11:23
Forum: Scripts and Functions (v2)
Topic: Class LV_Colors v2.0 - 2023-05-06
Replies: 59
Views: 14651

Re: Class LV_Colors v2.0 - 2023-05-06

How do you change the header colors?
by theyakutoo
17 Sep 2023, 23:21
Forum: Scripts and Functions (v2)
Topic: AHK2 comma after loop / sleep, Warns, Template
Replies: 5
Views: 961

AHK2 comma after loop / sleep, Warns, Template

YES! :*:loop,::Loop ^ :*:sleep,::sleep ^ Also my quick script template, with my favorite new hotkey... Unreachable -- While testing, I use early returns to prevent executing some code, no need for errors. VarUnset -- I throw in functions and vars and run tests before using them. It's like writing a ...
by theyakutoo
10 Sep 2023, 23:28
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4772

Re: Class ToolTipOptions - 2023-09-10

It works! Thanks!
by theyakutoo
10 Sep 2023, 23:22
Forum: Ask for Help (v2)
Topic: List of #Warns
Replies: 3
Views: 419

Re: List of #Warns

mikeyww wrote:
10 Sep 2023, 03:51
Hello,

Here is at least a starting point: :arrow: #Warn.
So far I found these...

#Warn unreachable, off
#Warn LocalSameAsGlobal, off
#Warn VarUnset, off

How many are there? Odd there is no link, and that these names are not included in the warning text.
by theyakutoo
10 Sep 2023, 00:53
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4772

Re: Class ToolTipOptions

It's doing strange things when using multiple tooltips. On exit, it's looping, showing a windows center screen so fast they don't fade in all the way. Enabling the commented exit loop resolves the issue by closing the tips before the class does it's exit routine. Warning : It seems to be exponential...
by theyakutoo
09 Sep 2023, 23:38
Forum: Ask for Help (v2)
Topic: List of #Warns
Replies: 3
Views: 419

List of #Warns

I'm looking for the documentation for #Warns, is there a list of all of them somewhere?

Go to advanced search