AG Entwicklung/PadSpiegelBot

Aus Piratenwiki
Wechseln zu: Navigation, Suche

Macro Express Bot-Script mit Hilfe von Notepad und einem (fast) beliebigen Bowser (hier Iron).
Im Beispiel hier werden Adressen für 5 Pads eingelesen (Variablen %T1% bis %T10%) aber nur 2 Pads werden gespiegelt (der Code wiederholt sich dann immer wieder).
Bei <SHIFTD> steht das D für 'gedrückt' (down), ein U an der Stelle heist 'losgelassen' (up). Das Gleiche gilt für <CTRLD>, <ALTD>. Die Delays werden gebraucht um sicherzustellen, das die Kommandos vollständig abgearbeitet sind.

Activate or Launch: "Neuer Tab - Iron" OR "iron.exe"
Delay 4 Seconds
Text Type: http://wiki.piratenpartei.de/Benutzer:SteffenO/Test<ENTER>
Delay 6 Seconds
Text Type: <CTRLD>a<CTRLU>
Delay 1 Seconds
Text Type: <CTRLD>c<CTRLU>
Delay 1 Seconds
Text Type: <ALTD><ARROW LEFT><ALTU>
Activate or Launch: "Unbenannt - Editor" OR "notepad.exe"
Delay 2 Seconds
Text Type: <CTRLD>a<CTRLU>
Delay 2 Seconds
Text Type: <DELETE>
Delay 2 Seconds
Text Type: <CTRLD>v<CTRLU>
Delay 2 Seconds
Text Type: <CTRLD><HOME><CTRLU><ARROW DOWN><ARROW DOWN><ARROW DOWN><ARROW DOWN>
Delay 1 Seconds
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T1% from Clipboard
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T2% from Clipboard
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T3% from Clipboard
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T4% from Clipboard
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T5% from Clipboard
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T6% from Clipboard
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T7% from Clipboard
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T8% from Clipboard
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T9% from Clipboard
Text Type: <SHIFTD><END><SHIFTU><CTRLD>c<CTRLU><ARROW RIGHT>
Variable Set String %T10% from Clipboard
Activate or Launch: "Neuer Tab - Iron" OR "iron.exe"
Delay 2 Seconds
Text Type: %T1%<ENTER>
Delay 8 Seconds
Text Type: <CTRLD>a<CTRLU>
Delay 1 Seconds
Text Type: <CTRLD>c<CTRLU>
Delay 1 Seconds
Text Type: <ALTD><ARROW LEFT><ALTU>
Delay 4 Seconds
Text Type: %T2%<ENTER>
Delay 8 Seconds
Text Type: <CTRLD>a<CTRLU>
Delay 1 Seconds
Text Type: <CTRLD>v<CTRLU>
Delay 1 Seconds
Text Type: <ALTD><ARROW LEFT><ALTU>
Activate or Launch: "Neuer Tab - Iron" OR "iron.exe"
Delay 4 Seconds
Text Type: %T3%<ENTER>
Delay 8 Seconds
Text Type: <CTRLD>a<CTRLU>
Delay 1 Seconds
Text Type: <CTRLD>c<CTRLU>
Delay 1 Seconds
Text Type: <ALTD><ARROW LEFT><ALTU>
Delay 4 Seconds
Text Type: %T4%<ENTER>
Delay 8 Seconds
Text Type: <CTRLD>a<CTRLU>
Delay 1 Seconds
Text Type: <CTRLD>v<CTRLU>
Delay 2 Seconds
Window Close: Current Window