Jump to content

Search the Community

Showing results for tags 'Include'.

  • Search By Tags

    • include ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 20 results

  1. 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 th...
  2. I have many scripts with dozens of UDF's that I want to put into my own Include file. I moved a UDF from one of my scripts to my own "Include file" I added the include script file to my script and the script ran OK. (#include <C:\folder\MyInclude.au3>) I thought "Wow", lets put a bu...
  3. Consider this example: This is MyInclude.au3 #Include-once Func Abc() Msgbox(0,'','Hello from "ABC" ') EndFunc Func Def() Msgbox(0,'','Hello from "DEF" ') EndFunc This is my main script: #include <C:\Folder\MyInclude.au3> Abc() ;Runs OK if Def() is commented out Def() ;Produces...
  4. When I started using AutoIt, I used to dump all the community UDFs as well as my own frequently-used scripts into C:\Program Files (x86)\AutoIt3\Include - - terrible idea, of course, and I wouldn't advise anyone to do this. These days I have the following folder structure for UDFs: - I hav...
  5. I whittled down much code and have isolated my problem to where a #include is located in the code, but apparently do not understand the scope of #include. In the example code below I open up a window, then when you press Alt+W I open a second window with a List All button. Clicking the List All bu...
  6. 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?
  7. 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?
  8. 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....
  9. 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 <AutoItCons...
  10. 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
  11. 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...
  12. 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 co...
  13. 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 sam...
  14. 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
  15. 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.
  16. 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
  17. 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 co...
  18. 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 downl...
  19. 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...
  20. 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...
×
×
  • Create New...