Search found 1289 matches

by TLM
Yesterday, 22:29
Forum: Ask For Help
Topic: Detecting Power Management events in Windows 10 Topic is solved
Replies: 9
Views: 309

Re: Detecting Power Management events in Windows 10 Topic is solved

Tom Harding wrote:
Yesterday, 22:03
...NumGet(lP+20,0,"UChar") is correct in my situation?
based on the struct definition, yes
by TLM
Yesterday, 20:58
Forum: Ask For Help
Topic: Detecting Power Management events in Windows 10 Topic is solved
Replies: 9
Views: 309

Re: Detecting Power Management events in Windows 10 Topic is solved

If I'm reading the struct right, DWORD contains the Data length at position 16, UChar contains the actual data at position 20. Is that correct? DWORD and UChar are data types. See Data Types for more info. The pointer + 20 ( number in lp ), is the offset of the struct member, or where the data valu...
by TLM
Yesterday, 19:53
Forum: Ask For Help
Topic: Detecting Power Management events in Windows 10 Topic is solved
Replies: 9
Views: 309

Re: Detecting Power Management events in Windows 10 Topic is solved

You beat me to it, excellent job :thumbup:

The only thing I'd change is the type to NumGet(lP+20,0,"uInt")
as a DWORD is an unsigned integer :)
by TLM
Yesterday, 16:43
Forum: Ask For Help
Topic: Detecting Power Management events in Windows 10 Topic is solved
Replies: 9
Views: 309

Re: Detecting Power Management events in Windows 10 Topic is solved

A great way to see if your system will support the event handler script would be to run it as is and change the power settings ( as that's what it was written for ).. If it works you should get a tooltip notification after changing your power settings.. I'll also try to tinker with it to see if I ca...
by TLM
Yesterday, 16:39
Forum: Ask For Help
Topic: Need to link excel with meditech application
Replies: 1
Views: 60

Re: Need to link excel with meditech application

Rajan wrote:
Yesterday, 13:43
...I tried a lot of other things but none of them worked.
Can you explain what you tried?
Also, it would be good if you could post an example and or images of the workbook/sheet.
Is meditech a web application, run a browser, a desktop application or something else?

Please be specific
by TLM
Yesterday, 16:31
Forum: Ask For Help
Topic: AutoHotKey Script for creating a Directory with Date
Replies: 4
Views: 150

Re: AutoHotKey Script for creating a Directory with Date

1st off when you're posting code, always use [cod e][ /code] tags! . ;) 2nd, it's a good idea to start a new topic for an additional question. While you can use AutoHotkey to automate SnippingTool.exe, it can be cumbersome and even unreliable. The good news is that there are existing scripts that ca...
by TLM
Yesterday, 15:25
Forum: Ask For Help
Topic: Detecting Power Management events in Windows 10 Topic is solved
Replies: 9
Views: 309

Re: Detecting Power Management events in Windows 10 Topic is solved

Don't quote me on this but... I get the feeling that this power scheme event handler is related to your question as it uses the same windows message. You may have to find the GUID for your power setting notification and add the appropriate GUID to the powerschemes object in the WM_POWERBROADCAST eve...
by TLM
Yesterday, 06:02
Forum: Tutorials
Topic: Subclassing
Replies: 6
Views: 7091

Re: Subclassing

Hello @just me. That works perfectly, thanks as usual :)
I originally tried to detect this using

Code: Select all

NotAllowed(HWND, Msg, wParam, lParam, SubclassID, RefData) {

If Msg = 0x1503 || Msg = 0x1504
   msgbox % msg

;.........
but it didn't catch either message :?

I'll study this further ty
by TLM
Yesterday, 05:26
Forum: Ask For Help
Topic: AutoHotKey Script for creating a Directory with Date
Replies: 4
Views: 150

Re: AutoHotKey Script for creating a Directory with Date

Welcome to the forum :) For dynamic dates use FormatTime . I then stored the date stamp in a variable and used an expression in the FileCreateDir commands like this: FormatTime, DateStamp,, yyyy-MM-dd`, hh-mm-ss ; DateDir := A_ScriptDir "\" DateStamp ; to create date directory in script folder DateD...
by TLM
10 Dec 2019, 18:39
Forum: Tutorials
Topic: Subclassing
Replies: 6
Views: 7091

Re: Subclassing

Ich versuche das Gleiche zu tun, etwas umgekehrt. Ich möchte erkennen, wann die EM_SHOWBALLOONTIP-Nachricht für ein Steuerelement ausgelöst wird, und dann einen Handler aufrufen. Ich bin mir nicht sicher, ob dies mit Unterklassen möglich ist I'm trying to do the same thing, somewhat in reverse. What...
by TLM
10 Dec 2019, 16:55
Forum: Scripts and Functions
Topic: Google Calendar API Oauth and Events List
Replies: 10
Views: 2241

Re: Google Calendar API Oauth and Events List

carno wrote:
28 Nov 2019, 22:49
...where/how do I get the following information?
You have to generate them in your google console under *your project* > credentials
You have to request a returned Refreshtoken
by TLM
10 Dec 2019, 16:19
Forum: Ask For Help
Topic: Will comObj being terminated after exit the script? Topic is solved
Replies: 2
Views: 133

Re: Will comObj being terminated after exit the script? Topic is solved

A command console will terminate if the script does, but not all programs called from Exec() will.
by TLM
10 Dec 2019, 15:42
Forum: Ask For Help
Topic: Hiding the CapsLock Warning Topic is solved
Replies: 5
Views: 202

Re: Hiding the CapsLock Warning Topic is solved

hasantr wrote:
10 Dec 2019, 00:49
Thank you, that works. He wouldn't remove all the other balloons in the system, would he? He's only going to work for Edit1.
No problem. It targets only the tool/balloon tips for the Edit Control
by TLM
09 Dec 2019, 19:00
Forum: Ask For Help
Topic: Hiding the CapsLock Warning Topic is solved
Replies: 5
Views: 202

Re: Hiding the CapsLock Warning Topic is solved

I'm pretty sure there's a much better event or sub-classed callback method approach for this ( can't think of it right now ), but here's a quick and dirty approach: SetTimer, WatchBalloon, 1 Gui, +HwndGuiHwnd Gui Add, Edit, x56 y64 w120 h21 +HwndECHwnd +Number +Password SetTimer, WatchBalloon, 1 Gui...
by TLM
09 Dec 2019, 17:57
Forum: Ask For Help
Topic: Trying to auto-close title-less alert window.
Replies: 2
Views: 106

Re: Trying to auto-close title-less alert window.

You can close the pop up window in the same script using SetTimer like this: SetTimer, WatchWindow, 100 ; place this at the top of your script ; ......... place your code here return WatchWindow: if WinExist( "ahk_class #32770 ahk_exe momwin.exe" ) ; WinTitle is using multiple criteria { ControlSend...
by TLM
05 Mar 2019, 15:38
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4254
Views: 782757

Re: « What's on your mind? »

Image
who wants this http://bit.ly/Drink_Trump_Tears_Cup irl ?? :lol:
by TLM
03 Mar 2019, 20:29
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4254
Views: 782757

Re: « What's on your mind? »

no I didn't ever youtube search chubby korean girl eating bbq pork ribs
by TLM
24 Feb 2019, 22:08
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4254
Views: 782757

Re: « What's on your mind? »

all hail lasers shot into eyes :lol:
by TLM
23 Feb 2019, 23:37
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4254
Views: 782757

Re: « What's on your mind? »

there must be math for this

Go to advanced search