CADMonkey Posted July 17, 2014 Share Posted July 17, 2014 Hi, I am hoping there is something simple I am doing worng here. I have an autoit executable that works when I run it from a share folder, but 'misbehaves' when run from a folder on the computer desktop. (the program has a list of window titles it reads from an ini file and then closes the windows as they appear.) I have run around in circles trying all sorts of things, but to no avail. The local file does not appear in the task manager when run, but it does perform some of its functions. It works perfectly when run from a share folder! Windows seems to treat the files differently if they are local, as the 'tooltip' when I hover the point over the file in a file manager window is different. My question, does windows handle executables differently when run locally and if so, how can I get round it? Many thanks. Link to comment Share on other sites More sharing options...
jdelaney Posted July 17, 2014 Share Posted July 17, 2014 How are you referencing the INI? Use this, so you can 'install' it locally, on run: FileInstall Really read the helpfile carefully on it. If that's not the issue, then you will need to add logging, produce a snippet to reproduce, and submit that, so other's can debug. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
CADMonkey Posted July 17, 2014 Author Share Posted July 17, 2014 Hi j, thanks for the suggestion. I will take a look tomorrow. The ini file is read as a text file with the lines split into an array and the lines split up to provide the window name, text and appropriate button push. 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