Is it possible to get shorter multiple condition expressions avoiding operator OR? for instance If @OSVersion In (Win_10, Win_7, Win8) Then. I got used to it in t-sql. Thank you.
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?
can anyone help me plz
how can you put mouseclick in if statement or is it possible
if Mouseclick = "left" then Tooltip(" you click left mouse") thank you
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") Library.au3 is being used by many other codes in the previous folder..
But the current file is looking for the ps1 file in current folder.
So is there any option to tell the compiler to pick the dependent files relative to Library.au3 instead of the current code.
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 :-)