Search the Community
Showing results for tags 'compiled script'.
Found 2 results
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. But If I compile the script, the includes are compiled within the EXE file as intended. Now, if I change the value of $variable1 and run the EXE file, it doesn't look for my change, since it uses whatever variable that was defined when the script was compiled. Is there any way that I can have files with variables that changes, and then have a compiled version using these changes, without having to compile again? Thanks in advance. David
Hello all, I've received great help from the forum community before, so I'm hoping for a repeat. I have a series of compiled scripts that do the following: launch MS Access database, execute macros, provide mid-process credentials, and launch the following database for a rinse-and-repeat. I've used my credentials for the scripts, and after some adjustments everything runs just as intended. I've got dozens of good runs under my belt on my profile with my credentials. However, when my coworker attempts to run the scripts on his profile, the scripts only get through the login step. When the macros finish and the database closes, the script just hangs. It's still running and unpaused, but it's not handing off like it's supposed to. I can post script if anyone would like to see it, but I wonder if anybody has any idea why this script would work for one user and not another. For the record, we also created a duplicate script using his credentials instead of mine, and had the exact same problem. Any ideas? Thanks in advance!