Post by garry » 20 Oct 2023, 05:39
habe dies versucht , starte script , wähle in listbox Linie aus, positioniere Maus Cursor wohin gesendet werden soll und drücke F9 ( im Moment nur mit notepad++ getestet )
Code: Select all
#Requires AutoHotkey v1.1.33
Gui, New, +AlwaysOnTop
global LB,LB2
hotkey, IfWinexist,TEST21 ahk_class AutoHotkeyGUI ;- this script LB_LV_MEDIATHEK
hotkey,F9,A1
hotkey, IfWinexist,
e=
(Ltrim join`|
Mit freundlichen Grüssen
Stefan Klein
星期五 十月
DATE
)
Gui Add, ListBox,w150 h200 gA2 vLB,%e%
Gui, Show,x10 y10 w170,TEST21
return
;--------
Guiclose:
Exitapp
;--------
a1:
send,{text}%lb2%
return
;--------
A2() {
Gui Submit, NoHide
If (A_GuiEvent = "Normal")
{
if (lb="DATE")
{
FormatTime, Suomi , L1035, dddd MMMM yyyy-MM-dd HH:mm
lb2=%suomi%`r`n
}
else
lb2=%lb%
}
}
;================================================
habe dies versucht , starte script , wähle in listbox Linie aus, positioniere Maus Cursor wohin gesendet werden soll und drücke F9 ( im Moment nur mit notepad++ getestet )
[code]#Requires AutoHotkey v1.1.33
Gui, New, +AlwaysOnTop
global LB,LB2
hotkey, IfWinexist,TEST21 ahk_class AutoHotkeyGUI ;- this script LB_LV_MEDIATHEK
hotkey,F9,A1
hotkey, IfWinexist,
e=
(Ltrim join`|
Mit freundlichen Grüssen
Stefan Klein
星期五 十月
DATE
)
Gui Add, ListBox,w150 h200 gA2 vLB,%e%
Gui, Show,x10 y10 w170,TEST21
return
;--------
Guiclose:
Exitapp
;--------
a1:
send,{text}%lb2%
return
;--------
A2() {
Gui Submit, NoHide
If (A_GuiEvent = "Normal")
{
if (lb="DATE")
{
FormatTime, Suomi , L1035, dddd MMMM yyyy-MM-dd HH:mm
lb2=%suomi%`r`n
}
else
lb2=%lb%
}
}
;================================================
[/code]