PowerBuilder Function Call Notepad And Sendkeys gf_call_notepad_and_sendkeys
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
// Function Name : gf_call_notepad_and_sendkeys // Argument Name : (None) // Return Type : (None) Integer li_connect OleObject ole_wsh ole_wsh = Create OleObject li_connect = ole_wsh.ConnectToNewObject("WScript.Shell") ole_wsh.Run("Notepad") ole_wsh.AppActivate("Untitled - Notepad") Sleep(500) ole_wsh.SendKeys("Powerbuilder Functions") Sleep(500) ole_wsh.SendKeys("pblib.com") |
Good Luck!
Subscribe
Login
0 Comments
Oldest