Jump to content

Search the Community

Showing results for tags 'IF AND THEN statement'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hey All, Thanks for your help, couldnt find any info on how to send multiple strings to check in an IF AND THEN statement. Am trying to do an action only when a person is a certain ROLE and a certain LOCATION. so...this is what i have however everything is coming back with the "It worked" Msgbox and i cannot get anything to throw the "Computer says no" error message. Could somone lend a hand? Thanks if (($role = "1" OR "2" OR "3" OR "4" OR "5" OR "6" OR "7" OR "8") and ($loc ="Mackay" OR "MBH" OR "Royal Child" OR "RCH" OR "CBH" OR "Cairns" OR "CH")) then MsgBox(0,"WOOHOO","It worked") Else MsgBox(0,"BOWBOWWWW","Computer says nooo") EndIf
×
×
  • Create New...