Jump to content

Search the Community

Showing results for tags 'autoit feature'.

  • 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. Hi everyone ,I was wondering wether i could hide variables outside a UDF,like this ;This is the UDF named myudf.au3 Global $myvariable1 = "sample1", $myvariable2 ;these variasbles are visible and accessed when the udf is included Localize $myvariable3 = "sample2" ;i want this variable to be invisible to the mainscript that includes the UDF ;ie it should be visible here but not in the script that uses it Dummy() Func Dummy() Msgbox(default,"variables",$myvariable1 &" " & $myvariable3) ;This should run without an error EndFunc ;==>Dummy ;including the previous UDF #include "myudf.au3" Msgbox(default,"first variable",$myvariable1 &" This was a variable defined in the UDF") ; this successfully shows a msgbox Msgbox(default,"special variable",$myvariable3) ; this should show an error showing the variable $myvariable3 doesnt exist Is there someway to hide variables in the mainscript while using them in the UDF Thankyou
×
×
  • Create New...