Jump to content

dvSHOW

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Slovenia

About dvSHOW

dvSHOW's Achievements

0

Reputation

  1. In this script i am trying to do next. If you have internet connection you get codec list to download, and if you don't have it you get error window. So i am trying to make this script working for hours, but no success. Here is code Run($SF_1) WinWaitActive("BS.Player PRO Setup", "License Agreement") ControlClick("BS.Player PRO Setup", "I &Agree", "Button2") WinWaitActive("BS.Player PRO Setup", "Welcome to the BS.Player PRO Setup Wizard") ControlClick("BS.Player PRO Setup", "&Next >", "Button2") WinWaitActive("BS.Player PRO Setup", "Choose Components") ControlClick("BS.Player PRO Setup", "&Next >", "Button2") WinWaitActive("BS.Player PRO Setup", "Choose Install Location") ControlClick("BS.Player PRO Setup", "&Next >", "Button2") WinWaitActive("BS.Player PRO Setup", "Additional install options") ControlClick("BS.Player PRO Setup", "&Next >", "Button2") WinWaitActive("BS.Player PRO Setup", "Language") ControlClick("BS.Player PRO Setup", "&Install", "Button2") If WinWait("BS.Player", "Do you want BS.Player to download and install missing codecs?") Then ControlClick("BS.Player", "&Yes", "Button1") EndIf If WinWait("Error") Then ControlClick("Error", "OK", "Button1") EndIf WinWaitActive("BS.Player PRO Setup", "Installation Complete") ControlClick("BS.Player PRO Setup", "&Next >", "Button2") WinWaitActive("BS.Player PRO Setup", "Completing the BS.Player PRO Setup Wizard") ControlClick("BS.Player PRO Setup", "&Finish", "Button2") Problem start at IF statements. So if i have only one IF it works great, but when i give another it just don't work Any solution? Tried also If WinWait("Error", "", 30) Then ControlClick("Error", "OK", "Button1") EndIf and If WinWait("BS.Player", "Do you want BS.Player to download and install missing codecs?") Then ControlClick("BS.Player", "&Yes", "Button1") ElseIf WinWait("Error") Then ControlClick("Error", "OK", "Button1") EndIf Also doesn't work. First IF work, but if i make that Second IF must work, it doesn't. Don't know what is wrong PROBLEM SOLVED WITH THIS CODE while 1 if winexists("BS.Player", "Do you want BS.Player to download and install missing codecs?") Then ControlClick("BS.Player", "&Yes", "Button1") exitloop elseif winexists("Error") Then ControlClick("Error", "OK", "Button1") exitloop endif sleep(10) wend
  2. thanks i found the way out....
  3. Hey... I am making autoit script. What do i must write instead of Sleep (10000), i need something else, not pause, any suggestion? here is my script ; Run Run($SF_1) ; Setup WinWaitActive("ACDSee Pro 2") Send("{ENTER}") ; License Agreement WinWaitActive("ACDSee Pro 2") Send("{UP}") Send("{ENTER}") ; Customer Information WinActive("ACDSee Pro") Send("username") Send("{TAB 3}") Send("XXXXX-XXXX-XXXXXX-XXXXXX") Send("{TAB 2}") Send("{ENTER}") ; Setup Tyte WinWaitActive("ACDSee Pro 2") Send("{ENTER}") ; Shell integrated Setup WinWaitActive("ACDSee Pro 2") Send("{ENTER}") ; Ready to install WinWaitActive("ACDSee Pro 2") Send("{ENTER}") [color="#FF0000"][b]Sleep(24000)[/b][/color] ; Finish WinWaitActive("ACDSee Pro 2") Send("{TAB}") Send("{SPACE}") Send("{TAB}") Send("{ENTER}")
  4. Xfire 1.85 script - working and tested This is my first script script version: 1.0 xf.au3 FlashGet 1.92 - working and tested script version: 1.0 fget.au3 WinRAR 3.71 - working and tested script version: 1.0 wrar.au3 If some script don't work please send mi message enyoj -- kWd
×
×
  • Create New...