Hello,
I'm trying to get 'HowLongYearsMonthsDays.ahk' working on FK, from:
http://www.computoredge.com/AutoHotkey/ ... ml#HowLong
Direct link to the script:
http://www.computoredge.com/AutoHotkey/ ... ays1.2.ahk
And it works just fine, but upon closing the window, it starts messing with FK, as though the script is still running somehow...
Not really sure if it's missing a 'return' somewhere, or the like...
Kind regards
...
Script for calculating the difference between two dates, which doesn't work 100%...
If you are using Type: Command you need to
Add this before creating a Gui (Gui, Add):
and remove the following last couple of lines, as they have impact on all scripts:
Add this before creating a Gui (Gui, Add):
Code: Select all
Gui, SpanCalc:Destroy
Code: Select all
; Enable mousewheel in AutoHotkey GUIs
#If MouseIsOver("ahk_class AutoHotkeyGUI")
WheelUp::Send {Up}
WheelDown::Send {Down}
#If
MouseIsOver(WinTitle)
{
MouseGetPos,,, Win
Return WinExist(WinTitle . " ahk_id " . Win)
}
^!z::
GuiControl, SpanCalc: , SysDateTimePick321, 20000101
Return
Thanks for the feedback!
Would 'Gui, SpanCalc:Destroy' be placed here or between every Gui line perhaps?
Kind regards
...
Would 'Gui, SpanCalc:Destroy' be placed here or between every Gui line perhaps?
Code: Select all
...
Gui, SpanCalc:Destroy
HowLongAutoExec:
Gui, SpanCalc:Add, Text, , Enter Date One:
Gui, SpanCalc:Add, DateTime, vDate1, LongDate
...
...
Just before first Add:
Code: Select all
...
HowLongAutoExec:
Gui, SpanCalc:Destroy
Gui, SpanCalc:Add, Text, , Enter Date One:
Gui, SpanCalc:Add, DateTime, vDate1, LongDate
...