Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - ; AutoHotKey V1
 - ::text1:: ; 熱字串:輸入 text1 加上任意終止符(空格/Enter/.) 自動轉換輸出
 - (
 - Hot
 - String
 - )
 - return
 - F1:: ; 逐字輸出
 - SendInput,
 - (
 - Line1
 - Line2
 - )
 - return
 - F2:: ; 直接貼上
 - clipboard = ; 寫入剪貼簿
 - (
 - Line3
 - Line4
 - )
 - ClipWait ; 等待剪貼簿寫入
 - SendInput ^v ; ctrl+v 貼上
 - return
 - F3::
 - FileRead, OutputVar, %A_ScriptDir%\test.txt ; 讀取文字檔
 - SendInput %OutputVar% ; 逐字輸出
 - return
 - F4::
 - FileRead, clipboard, %A_ScriptDir%\test.txt ; 讀取文字檔,寫入剪貼簿
 - ClipWait ; 等待剪貼簿寫入
 - SendInput ^v ; ctrl+v 貼上
 - return
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment