For Visible text Fetching from the Win List :
--------------------------------------------------------
VarA_TNs = Split(SwfWindow(" ").SwfWindow(" ").ActiveX(" ").WinList(" s").GetVisibleText, VbCrLF)
For j = 0 To UBound(VarA_TNs)
Tns = "TN"&j+1
DataTable( TNs, "Action1") = VarA_TNs(j)
'''''' Fetching the data from the Table
VarTNs = DataTable( TNs, "action1")
VarTNs = CStr(j+1) +" : "+ VarTNs
Print "Telephone Number " &VarTNs
Next
--------------------------------------------------------
VarA_TNs = Split(SwfWindow(" ").SwfWindow(" ").ActiveX(" ").WinList(" s").GetVisibleText, VbCrLF)
For j = 0 To UBound(VarA_TNs)
Tns = "TN"&j+1
DataTable( TNs, "Action1") = VarA_TNs(j)
'''''' Fetching the data from the Table
VarTNs = DataTable( TNs, "action1")
VarTNs = CStr(j+1) +" : "+ VarTNs
Print "Telephone Number " &VarTNs
Next
| '''''' The Hotkey Press Next '''''' If SwfWindow(" ").SwfWindow(" ").SwfObject("Next").Exist(3) Then SwfWindow(" ").SwfWindow(" ").SwfObject("Next").Type micAltDwn + "n" + micAltUp List of Key Press events : -------------------------------- |
| micCtrlDwn Will press the Ctrl key. |
| micCtrlUp Releases the Ctrl key. |
| micLCtrlDwn Will press the left Ctrl key. |
| micLCtrlUp Releases the left Ctrl key. |
| micRCtrlDwn Will press the right Ctrl key. |
| micRCtrlUp Releases the right Ctrl key. |
| micAltDwn Will press the Alt key. |
| micAltUp Releases the Alt key. |
| micLAltDwn Will press the left Alt key. |
| micLAltUp Releases the left Alt key. |
| micRAltDwn Will press the right Alt key. |
| micRAltUp Releases the right Alt key. |
| micShiftDwn Will press the Shift key. |
| micShiftUp Releases the Shift key. |
| micLShiftDwn Will press the left Shift key. |
| micLShiftUp Releases the left Shift key. |
| micRShiftDwn Will press the right Shift key. |
| micRShiftUp Releases the right Shift key. |
| micIns Will press the Insert key. |
| micDel Will press the Delete key. |
| micHome Will press the Home key. |
| micEnd Will press the End key. |
| micPgUp Will press the Page Up key. |
| micPgDwn Will press the Page Down key. |
| micUp Will press the Up arrow key. |
| micDwn Will press the Down arrow key. |
| micLeft Will press the Left arrow key. |
| micRight Will press the Right arrow key. |
| micEsc Will press the Esc key. |
| micBack Will press the Backspace key. |
| micReturn Will press the Return key. |
| micTab Will press the Tab key. |
| micBreak Will press the Break key. |
| micPause Will press the Pause key. |
| micPrintScr Will press the Print Screen key. |
| micWinLogoDwn Will press the Windows Logo key. |
| micWinLogoUp Releases the Windows Logo key. |
| micLWinLogoDwn Will press the left Windows Logo key. |
| micLWinLogoUp Releases the left Windows Logo key. |
| micRWinLogoDwn Will press the right Windows Logo key. |
| micRWinLogoUp Releases the right Windows Logo key. |
| micAppKey Will press the Application key. |
| micF1 Will press the F1 key. |
| micF2 Will press the F2 key. |
| micF3 Will press the F3 key. |
| micF4 Will press the F4 key. |
| micF5 Will press the F5 key. |
| micF6 Will press the F6 key. |
| micF7 Will press the F7 key. |
| micF8 Will press the F8 key. |
| micF9 Will press the F9 key. |
| micF10 Will press the F10 key. |
| micF11 Will press the F11 key. |
| micF12 Will press the F12 key. |
| micNumLockOn Turns on the Num Lock. |
| micCapsLockOn Turns on the Caps Lock. |
| micScrollOn Turns on the Scroll Lock. |
| micNumLockOff Turns off the Num Lock. |
| micCapsLockOff Turns off the Caps Lock. |
| micScrollOff Turns off the Scroll Lock. |
For Visible text fectching from the Win List :
ReplyDeleteand
List of Key Press events :
--------------------------------