[AHK-] 查字典小視窗

看板EzHotKey作者 (Stay)時間15年前 (2011/01/17 01:55), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
目前練習寫了一個GUI用來查YAHOO!字典的程式碼如下 -------------------------------------- Gui, Add, edit, x56 y30 w210 h40 , edit Gui, Add, Button, x116 y100 w90 h40 , OK ; Generated using SmartGUI Creator 4.0 Gui, Show, x815 y439 h172 w310, tw.dictionary.yahoo.com Return ButtonOK: ControlGetText, edit myString3 = http://tw.dictionary.yahoo.com/search?ei=UTF-8&p= String = %myString3% + %edit% run %String% String = http://tw.dictionary.yahoo.com/search?ei=UTF-8&p= RETURN GuiClose: ExitApp -------------------------------------- 請問一下要怎樣才能打完字按下enter就執行 不用再動滑鼠去按OK呢? 有請高人指點一下,非常感謝。 -- #19z_FaEu (EzHotKey)版友也問了一樣的問題,可是好像沒人回答@@ 還是其實沒有這樣的方法? 囧 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.130.193.185

01/18 09:50, , 1F
{tab}{enter} XD
01/18 09:50, 1F

01/18 13:26, , 2F
Gui, Add, Button, Default, OK 就可以,可是格式會跑掉@@
01/18 13:26, 2F
文章代碼(AID): #1DCp4SU- (EzHotKey)