Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BSPlayer PRO 2.56 AutoIT Problem

Featured Replies

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

Edited by dvSHOW


Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.