cubsfan Posted 4 hours ago Posted 4 hours ago This is my first AutoIt script I've tried under Windows 11. I used to use AutoIt a lot under WinXP/7/10 at another job, but it's been many years now since I've had a need for it as at my current job I primarily use a Mac (and I sure do wish there was a version of AutoIt for Mac!). But I digress... Obviously, Windows has changed a lot so perhaps there's something relatively simple that I'm missing. I have a simple script that launches a shortcut which launches an app in a browser, waits for it to load, then sends some keys to start the program with certain options set. Nothing fancy. It works fine in interpreted mode, but when I try compiling I keep getting "Unable to add resources" error. I found some other threads here with the same or similar error and I have followed that advice and excluded the folder C:\Users\username\AppData\Local\AutoIt v3\ from Windows Defender. I've even tried disabling Defender altogether. I'm not running any other AV. But still no joy. Ideas?
argumentum Posted 2 hours ago Posted 2 hours ago If you can run a VM, install Win11 there and disable Defender. Use it just for building/compiling scripts. So there, a seemingly stupid idea but, you'd keep your local environment as is and have a compile station. That's what I would do to not touch my current workstation. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
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