看板 EzHotKey 關於我們 聯絡資訊
目前練習寫了一個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
fossil313:{tab}{enter} XD 01/18 09:50
kzntkt:Gui, Add, Button, Default, OK 就可以,可是格式會跑掉@@ 01/18 13:26