Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Menu/AutoHotkey/menu-1.ahk
Normal file
10
Task/Menu/AutoHotkey/menu-1.ahk
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Menu(list:=""){
|
||||
if !list ; if called with an empty list
|
||||
return ; return an empty string
|
||||
for i, v in x := StrSplit(list, "`n", "`r")
|
||||
string .= (string?"`n":"") i "- " v
|
||||
, len := StrLen(v) > len ? StrLen(v) : len
|
||||
while !x[Choice]
|
||||
InputBox , Choice, Please Select From Menu, % string ,, % 200<len*7 ? 200 ? len*7 , % 120 + x.count()*20
|
||||
return x[Choice]
|
||||
}
|
||||
10
Task/Menu/AutoHotkey/menu-2.ahk
Normal file
10
Task/Menu/AutoHotkey/menu-2.ahk
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
list =
|
||||
(
|
||||
fee fie
|
||||
huff and puff
|
||||
mirror mirror
|
||||
tick tock
|
||||
)
|
||||
MsgBox % Menu(list) ; call menu with list
|
||||
MsgBox % Menu() ; call menu with empty list
|
||||
return
|
||||
Loading…
Add table
Add a link
Reference in a new issue