Jump to content

Search the Community

Showing results for tags 'Include'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


  • 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


  • Forum FAQ
  • AutoIt


  • Community Calendar

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Found 16 results

  1. Func z009() If FileExists("search\009\009.au3") Then #include <search\009\009.au3> EndIf EndFunc This wont work... Is there any workarround for this or I should do it in a different way?
  2. How do i add a path to a file in Include. I want my script to get the udf in the same folder as the script/exe: Include "@ScriptDir/udf.au3" can this be done?
  3. I have recorded a gui installation and modified the au3 file as per my requirement. But the problem is, whenever I try to compile the au3 file, I am getting a special character on top of the file. Can you suggest how to resolve this as it is appearing everytime during compilation. And also I am trying to include a au3 file which is separate folder so I am adding the <..\Library.au3> line. It is able to pick that but in that file "Library.au3" there is a file install line. FileInstall(".\SendMail.ps1", @ScriptDir & "\SendMail.ps1")
  4. Hi all. I have created an external au3 (a library of functions and vars) that is #included in a main script that i must compile. I wish that the content of the library is not merged with the main script when compiling. My goal is to keep the ability to modify the library even after the main exe is compiled and that these changes are effective when executing the exe. I guess this is not possible using the standard #include method. Is there a way to do that ? thx a lot :-)
  5. Hey AutoIT Community, Just wanted to know if there is a way I can #include all *.au3 files in my script without having to #include each individual .au3 file. For instance, currently I have a laundry list of #includes like this: #include <IE.au3> #include <Inet.au3> #include <AutoItConstants.au3> #include <GUIConstantsEx.au3> #include <GDIPlus.au3> #include <GuiMenu.au3> [ECT...ECT...] Would there be a way I could include all of the files above or all .au3 file in a one liner? That way I do not have to burn up a bunch of lines
  6. Is there possibility to do it like this? Cause as I see compiler doesn't see If statement in case of #include functions. It includes these two files all time. If $var == True Then #include 'func/funcsByTabs/main_Moda.au3' Else #include 'func/funcsByTabs/main_Others.au3' EndIf
  7. Good afternoon AutoIt community!, I was on Stackoverflow the other day and came across this question: How To Include Files From A Directory. This got me thinking... There has to be a way to do it... After a bunch of research, I wasn't able to find anything. So, I created this UDF to dynamically include every file from the directory. Of course, there are some bugs that I'd like to fix eventually, but for the most part, it works. Simply call the main function (Shown below) right after the rest of the includes before any of your actual code, and the UDF will include all of the au3 files in t
  8. Hey guys I have a script in which I have included some self-made files in the script directory. In these files I have various variables defined. This is how the file is included and then called in the main script: #include "Data\test.au3" MsgBox(0,"",$variable1) test.au3 could contain something like: $variable1 = "Hello1" $variable2 = "Hello2" $variable3 = "Hello3" Now, if I want to change the value of $variable1 and then run the script, no problem. The script uses the new edited variable.
  9. Is there any way to skip the execution of a particular block of code like any condition or expression, if the au3 file is included as library.? Like, in my code I wrote all the functionality as functions and called them in 4 lines. Now I have another requirement where I need to use the same code but different.So I am importing this code so that I can use these functions. But the code block which is outside the functions (main code) is being executed when I import the au3 file.Is there any condition to check whether the file is running directly or included in another au3 file as
  10. Hello , X:\Root Folder\Sub Folder Root Folder contains the script to include in the script located in Sub Folder... Is it possible without specifying the exact path? #include "X:\Root Folder\Sub Folder" Thanks in Advance! TD
  11. in the file button/ BLoginvip72.au3 I want to get data of file input/ Passwordvip72.au3 and input/Usernamevip72.au3 in file button . #include <AutoItConstants.au3> #include <MsgBoxConstants.au3> #include "..input/Passwordvip72.au3" #include "..input/Usernamevip72.au3" :(, Erros ,Please, help me.
  12. Hello, I was browsing the help file (as recommend by many members) & I found out a new way to include a file I am using this: #include "...\Includes\StringSize.au3"But I get this error: Error opening the file I have already re-checked the filenames Thanks in advance, TD
  13. www.autoitscript.com/forum/topic/155442-arraymulticolsort-initial-release-16-oct-13 When I try to include Melba's ArrayMultiColSort.au3 in my large program and the current beta, I get this... So I thought it must be an incompatibility with the beta. But if I put just the before mentioned code in a new file, it *does* seem to accept the include in the beta! Therefore my question...
  14. I don't know why there are many external files that are not existed on the pre-written functions of AutoIt software.. The examples in this page are telling to include "MsgBoxConstants.au3" but I doesn't have one: http://www.autoitscript.com/autoit3/docs/functions/GUIGetMsg.htm Where can I download the TRUSTED and the official "MsgBoxConstants.au3" file?
  15. I'm writing a tray based program, and for every different option the user selects, the icon changes... I add the #include"icon.ico" where icon.ico would be the icon name obviously... But when I compile the program with the offical autoit compiler it doesn't seem to include the icons... Any clue what I'm doing wrong?
  16. I have a GUI script and setup Case with Variables and then functions for each case. The script runs fine with no errors until I add something into this one function (for a button on the GUI that when pushed, should simply launch a website). Not sure if I need the entire code here or if someone can identify whether I'm just unable to accomplish this within a Func / EndFunc. Syntax Check shows no errors in the script when this portion of the script is simply: Func _OpenDIDButton() EndFunc But when I take that portion of the script, and add something inside of it, such as:
  • Create New...