Results 1 to 2 of 2
Thread: AHK .
Hybrid View
-
18th October 2020 18:53 #1Banned
Join Date: Aug:2008
Location:
Posts: 5,960
AHK .
- . , . autohotkey, , . , .
ctrl+ 1-9. - .
.
- - - - - -Code:Code: Select all - Expand View - Toggle Line numbers #singleinstance force menu, email, add, address1, paste menu, email, add, address2, paste menu, email, add, address3, paste return ^m:: menu, email, show return paste: ; clipboard = %A_ThisMenuItem% ; uncomment this if you prefer to manually paste from clipboard send, %A_ThisMenuItem% return
, , - AHK , . ?
- - - - - -Code:#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #singleinstance force menu, menu1, add, testmenu1, prikazka1 menu, menu1, add, prikazka2, prikazka2 menu, menu1, add, prikazka3, prikazka3 return ;/////////////////////// ^Numpad1:: menu, menu1, show return ;/////////////////////// prikazka1: FileRead, clipboard, C:\ahk\test1.txt Send ^V return ;/////////////////////// prikazka2: FileRead, clipboard, C:\ahk\test2.txt Send ^V return ;/////////////////////// prikazka3: FileRead, clipboard, C:\ahk\test3.txt Send ^V return ;///////////////////////
, , . ... ?
- - - - - -Code:#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #singleinstance force menu, menu1, add, test 1, prikazka1 menu, menu1, add, 2, prikazka2 menu, menu1, add, , prikazka3 return ;/////////////////////// ^Numpad1:: menu, menu1, show return ;/////////////////////// prikazka1: FileRead, clipboard, C:\ahk\test1.txt Send ^V return ;/////////////////////// prikazka2: FileRead, clipboard, C:\ahk\test2.txt Send ^V return ;/////////////////////// prikazka3: FileRead, clipboard, C:\ahk\test3.txt Send ^V return ;///////////////////////
- V.
-
19th October 2020 14:35 #2Registered User
Join Date: Mar:2009
Location:
Posts: 169
AutoIt, Send() (. ) .




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in