JodyL Posted August 8, 2011 Share Posted August 8, 2011 The only thing I've used AutoIt for is login scripts for VNC connections that use MS logon authentication. It's always worked great, but here today I'm getting this strange ~10 second lag before the script executes on any new scripts I compile. Any scripts I've created in the past still work fine. Here is an example of the script I use: Run ("C:\Program Files\UltraVNC\vncviewer.exe") Sleep (1000) ;one second Send ("pcid{ENTER}") Sleep (1000) ;one second Send ("username{TAB}") Send ("password{ENTER}") If I run it from the au3 file there is no lag and runs fine. Once I compile it to an exe file the lag happens then the script runs. I've made about 15 of these files in the past, and I've used the above template for all of them. Any one have any ideas as to why this would start happening today? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 8, 2011 Moderators Share Posted August 8, 2011 (edited) JodyL,Any one have any ideas as to why this would start happening today?New or updated anti-virus scanning the executable? M23Edit: Welcome to the AutoIt forum, by the way! Edited August 8, 2011 by Melba23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
JodyL Posted August 8, 2011 Author Share Posted August 8, 2011 I can't recall of any recent changes. I work in the IT dept for a hospital, so I'm usually aware of any of the major changes that happen. I'm assuming something is quirky on my PC, but I can't put my finger on it. I haven't noticed any other strange behavior. I guess I need to install AutoIt on a test PC and see what I come up with. Link to comment Share on other sites More sharing options...
monoscout999 Posted August 8, 2011 Share Posted August 8, 2011 some antivirus scans the file over and over, maybe adding your .exe as exception. Link to comment Share on other sites More sharing options...
JodyL Posted August 9, 2011 Author Share Posted August 9, 2011 I'm now leaning towards some type of Windows 7 issue. I installed AutoIt on another Windows 7 machine and I got the same results. I then installed it on a XP machine and it worked fine. Now that I'm thinking about it I've been seeing some weird permission issues on my Windows 7 box. I bet it's the UAC messing with me. I've been denied saving certain zip files to my own desktop, even though my UAC is as low as it can go, and I'm a local admin on the machine. Yet if I manually elevate my permissions (right click, run as administrator on IE8 for example) I then can save to the desktop just fine. It's hit and miss when I see the problem though. I've got to think about this one some more to know what the real problem is (weird group policy stuff maybe?) but for now I'll just use my XP box to make any new scripts. Thanks for the input guys. Link to comment Share on other sites More sharing options...
JohnOne Posted August 9, 2011 Share Posted August 9, 2011 Check if you received any windows updates that day. Might give you somewhere to begin looking. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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