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.

Autoit script if function help

Featured Replies

Ok i have an issue for some reason when i install the drivers for my wacom tablet i sometimes get one box that only shows up occasionally.....

is there a way to use the IF statement in autoit to say for ex:

If ("information") window is present do the foloowg commands ie mouseclick or controlclick or if not present proceed to next line in script..?????

because it gets hung on this one line sometimes.... and i'm nto sure how to use the if function or if it could be used in this case.....

Is the [ADLIB] feature available in your version of AutoIt? In version 2.64 you can tack an [ADLIB] section onto the end of a script to deal with unexpected situations like the one you described, fully documented in the help file. Good luck.

Is the [ADLIB] feature available in your version of AutoIt? In version 2.64 you can tack an [ADLIB] section onto the end of a script to deal with unexpected situations like the one you described, fully documented in the help file. Good luck.

syntax changed a little since that

AdlibEnable

--------------------------------------------------------------------------------

Enables Adlib functionality.

AdlibEnable ( "function" [,time] )

Parameters

function The name of the adlib function to call.

time [optional] how often in milliseconds to call the function. Default is 250 ms.

Return Value

None.

Remarks

Every 250 ms (or time ms) the specified "function" is called--typically to check for unforeseen errors. For example, you could use adlib in a script which causes an error window to pop up unpredictably.

The adlib function should be kept simple as it is executed often and during this time the main script is paused. Also, the time parameter should be used carefully to avoid CPU load.

Example

AdlibEnable("myadlib")

;...

Exit

Func myadlib()

    If WinActive("Error") Then

        ;...

    EndIf

EndFunc

syntax changed a little since then

Yeah, I'd say! :wacko: I am going to have to step up to latest version one of these days. 2.64 continues to serve me well.

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.