OX := cX + cW//2 Origin = center of clock WinGetPos wX0, wY0, ahk_pid %PID% Default position of Date/Time settingsĬontrolGetPos cX,cY,cW,cH, ClockWndMain1, ahk_pid %PID% GroupAdd Group1, ahk_pid %PID% Work around forbidden variables in #IfWinActive Run rundll32.exe shell32.dll`,Control_RunDLL timedate.cpl`,`,0,PID Exitting the script also closes the clock. Click on Apply after changing time, to keep the clock open. If you close this window (also by clicking on OK or Cancel), the script exits. In full window mode you can set the time, the time zone or let the PC synchronize to an Internet time server. With the right transparency you can see both.Ī double click on the clock toggles it between full window or just the clock face. If you make the (thick enough) Taskbar its parent, you can keep it in there, maybe on top of the digital clock in the Tray. With editing the assignments to wX and wY you can choose the initial position of the clock. ![]() With left dragging you can move the clock to a place you like, it will stay there. ![]() ![]() We got an analog clock always on top, no external file is needed, but we are stuck with fixed size, and shape and color like the moon. We can cut it off and position anywhere on screen, and make it semi transparent. In Windows XP (maybe in other Windows versions, too) there is a small analog clock in the Date and Time settings window.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |