.a3x error undefined function
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By MarkIT
Hi AutoIT masters,
Good day! Sorry to have bothered this forum but we really need help. We are working on an automation project that is running on VDI server. The BOTS are in .exe are running fine until AV detected them and deleted the files. The files were re-compiled and AV kept on deleting them. The copy of the .exe BOT deleted were sent to Symantec for whitelisting. After whitelisting, it is no longer deleted but no longer working as designed (showing Line script error). We checked the scripts and there were no issues since we run it using SciTE editor and it performed the desired task. Good thing we found on this thread the solution using .a3x and the BOTS worked fine and no longer deleted. Now, the problem is they are asking why the BOTS won't run in .EXE and what is the reason behind Symantec AV deleting them. We raised a case with Symantec but they cannot provide further information as they are always seeing the file as "False Positive". We even tested with Symantec turned off and those .EXE files are working fine, however, after re-enabling, it got deleted.
Just seeking help on how to better convince them that it is really Symantec causing the issue and the .a3x file.
-
By Skeletor
Hi Virtual People,
I'm trying to lock my screen in Windows 10 but to no avail.
Has Windows 10 forbidden this feature?
Send("#l") Above code does not work. Even sending Ctrl Alt Del does not work nor as an Admin.
Note: I want to lock my screen, not log off. Thanks for been kind.
-
By evanevery
An AUTOIT app just stopped running on several machines in our office after applying the recent Win10 1803 update.
Here are the details:
1. The App is now failing the UDPBIND call with a 10022 error.
2. The App runs fine on machines which have NOT YET applied the 1803 Win10 update just released
3. The App fails on all machines to which the 1803 has been applied - but only if the app is loaded from a network share!
4. If the app is run from a LOCAL drive, it continues to run fine even after the 1803 update
In summary:
Something has changed with the Win10 1803 update which now prevents AutoIT apps from opening UDP ports (UDPBIND) if the Apps are being loaded/run off a network share!
I have confirmed this by manually updating a workstation to 1803 and confirming this is what is causing the failure. (Worked fine immediately before - now fails immediately after)
Also, I am not having issues running other Autoit network apps from network shares which DON'T use the UDPBIND call. (i.e. "DriveMapAdd" is still working under the same conditions)
The share which we have been loading/running our apps from is running SMB v1.5 protocols (via Linux/Samba)
-
By DLS
I have a working script that changes the core affinity and process priority of multiples of a specific application I have running.
I have that part figured out.
I would like to make a little modification to it.
Windows10 introduced virtual desktops. I am trying to have different core affinity and priority of processes on the visible and non-visible desktops.
What I need is a bool function that could be described as IsWindowOnCurrentDesktop($hWnd). I have searched the winAPI.au3 but I do not believe anything like that exists built it.
I have searched multiple places before asking for help. I found a Microsoft supplied example of the function I need using C#, but I am unfamiliar with C# to a degree that I cannot port the system call over.
https://blogs.msdn.microsoft.com/winsdk/2015/09/10/virtual-desktop-switching-in-windows-10/
Help is appreciated but not expected. Thanks in advanced. In the meantime I will be learning C# syntax and class structure.
-
By iamtheky
This thread will focus on the scripts that write/execute bash scripts, and return the data (whereas my other thread is more just a spit sink). Currently you are relegated to piping to a file from the bash script, hopefully there are other options coming.
This AutoIt script writes a bash script containing an fdupes command based off the Directory you want to search, and whether or not you want it to recurse. It writes the script in Temp, runs it, writes the stdout to a file in Temp, then parses that file and returns you an array.
* You need to sudo apt-get install fdupes for this to work, btw. fdupes is stupid fast at what it does and being able to leverage linux features, not hunt down a windows equivalent, is great fun.
#requireadmin #include <WinAPIFiles.au3> #include <Array.au3> _WinAPI_Wow64EnableWow64FsRedirection(FALSE) _ArrayDisplay(_fdupes("c:\Users\" & @UserName & "\Desktop" , 1)) Func _fdupes($DirToCheckForDupes , $Recurse = 0) $bashscript = "c:\Windows\Temp\PRODfdupes.txt" $bashoutput = "c:\Windows\Temp\PRODfdupes_STDOUT.txt" ;format Windows Dir name to linux Dir name - DUPESDIR $aDupesDir = stringsplit($DirToCheckForDupes , "\" , 2) $sDupesDir = "//mnt/" & stringleft($DirToCheckForDupes , 1) for $i = 1 to ubound($aDupesDir) - 1 $sDupesDir &= "/" & $aDupesDir[$i] Next ;format Windows Dir name to linux Dir name - ScriptDIR $aScriptDir = stringsplit($bashscript , "\" , 2) $sScriptDir = "//mnt/" & stringleft($bashscript , 1) for $i = 1 to ubound($aScriptDir) - 1 $sScriptDir &= "/" & $aScriptDir[$i] Next ;format Windows Dir name to linux Dir name - OUTDIR $aOutDir = stringsplit($bashoutput , "\" , 2) $sOutDir = "//mnt/" & stringleft($bashoutput , 1) for $i = 1 to ubound($aOutDir) - 1 $sOutDir &= "/" & $aOutDir[$i] Next FileDelete($bashscript) FileDelete($bashoutput) $ErrFileWrite = $Recurse = 0 ? FileWrite($bashscript , "fdupes " & $sDupesDir & " > " & $sOutDir) : FileWrite($bashscript , "fdupes -R " & $sDupesDir & " > " & $sOutDir) $iPID = runwait('cmd /c bash ' & $sScriptDir) $Finalarr = stringsplit(fileread($bashoutput) , chr("10") , 2) return $Finalarr EndFunc ;fdupes
-
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now