คือเวลาต่อเน็ตจะมีหน้าต่าง("Winamp Installer","Install Nitro PDF Reader") ขึ้นมา ถ้าไม่ต่อเน็ตก็จะไม่มีหน้าต่างขึ้นมา ผมควรทำยังไงดีครับ
1.
WinWait("Winamp Installer","Get the Most Out of Winamp")
ControlSend("Winamp Installer","Get the Most Out of Winamp","[CLASS:Button; INSTANCE:4]" ,"{SPACE}")
ControlSend("Winamp Installer","Get the Most Out of Winamp","[CLASS:Button; INSTANCE:5]" ,"{SPACE}")
ControlSend("Winamp Installer","Get the Most Out of Winamp","[CLASS:Button; INSTANCE:6]" ,"{SPACE}")
ControlSend("Winamp Installer","Get the Most Out of Winamp","[CLASS:Button; INSTANCE:2]" ,"{SPACE}")
2.
WinWait("Winamp Installer","Install Nitro PDF Reader")
Send("{TAB}{TAB}{DOWN}")
ControlSend("Winamp Installer","Install Nitro PDF Reader","[CLASS:Button; INSTANCE:2]" ,"{SPACE}")
3.
WinWait("Winamp Installer","Installation Complete")
ControlSend("Winamp Installer","Installation Complete","[CLASS:Button; INSTANCE:4]" ,"{SPACE}")
ControlSend("Winamp Installer","Installation Complete","[CLASS:Button; INSTANCE:2]" ,"{SPACE}")
1.
WinWait("Winamp Installer","Get the Most Out of Winamp")
ControlSend("Winamp Installer","Get the Most Out of Winamp","[CLASS:Button; INSTANCE:4]" ,"{SPACE}")
ControlSend("Winamp Installer","Get the Most Out of Winamp","[CLASS:Button; INSTANCE:5]" ,"{SPACE}")
ControlSend("Winamp Installer","Get the Most Out of Winamp","[CLASS:Button; INSTANCE:6]" ,"{SPACE}")
ControlSend("Winamp Installer","Get the Most Out of Winamp","[CLASS:Button; INSTANCE:2]" ,"{SPACE}")
2.
WinWait("Winamp Installer","Install Nitro PDF Reader")
Send("{TAB}{TAB}{DOWN}")
ControlSend("Winamp Installer","Install Nitro PDF Reader","[CLASS:Button; INSTANCE:2]" ,"{SPACE}")
3.
WinWait("Winamp Installer","Installation Complete")
ControlSend("Winamp Installer","Installation Complete","[CLASS:Button; INSTANCE:4]" ,"{SPACE}")
ControlSend("Winamp Installer","Installation Complete","[CLASS:Button; INSTANCE:2]" ,"{SPACE}")