Agent Orange Posted October 4, 2006 Share Posted October 4, 2006 (edited) I used EnCodeIt 2.0 to encode my script then converted it in an .exe When I run that .exe on a PC that has never run the program before the main GUI window is all messed up. If I close the program and reopen it works fine. After that first launch it works as it should even after rebooting the PC. What would cause this? Thanks Edited October 4, 2006 by Agent Orange Link to comment Share on other sites More sharing options...
lod3n Posted October 4, 2006 Share Posted October 4, 2006 Monkeys. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
Agent Orange Posted October 4, 2006 Author Share Posted October 4, 2006 I discovered the issue. It is related to two gif files that I'm copying to the c Drive when the script runs...the first time it runs its all screwy. The second time the files are there and it runs as it should. Any ideas how to get it to work the first time? Thanks Link to comment Share on other sites More sharing options...
lod3n Posted October 4, 2006 Share Posted October 4, 2006 Make that one thing equal the other thing, you know? Then it should be fine. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
GaryFrost Posted October 4, 2006 Share Posted October 4, 2006 Even tho I find this thread hilarious. Either FileInstall or FileCopy the files before anything else. SciTE for AutoItDirections for Submitting Standard UDFs  Don't argue with an idiot; people watching may not be able to tell the difference.  Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 4, 2006 Moderators Share Posted October 4, 2006 I'm sure there is an issue with EnCodeIt, but I haven't the want to to fix it. However, I have absolutely no idea what's being asked in this thread. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Agent Orange Posted October 5, 2006 Author Share Posted October 5, 2006 SmOke_N It has nothing to do with EnCodeIt. Link to comment Share on other sites More sharing options...
Agent Orange Posted October 5, 2006 Author Share Posted October 5, 2006 (edited) Larry- Not sure I'd say I figured it out. I know what is causing the issue....it is the FileInstall that puts the two files onto the pc executing the program. I've got the FileCopy command at the top of the code...but if the command is there the program's GUI chokes the first time it runs. I'm assuming it is because the files haven't arrived before the GUI tries to build. After it dies the first time on the PC and I relaunch it the program works fine. If I delete the two files and run the program again I can recreate the issue. Maybe a do until loop until I see those files before the Main GUI section of code starts...... Edited October 5, 2006 by Agent Orange Link to comment Share on other sites More sharing options...
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