Sean M Posted August 24, 2006 Posted August 24, 2006 I am trying to change the properties of a config file so that it is not read only. Is there an easy way of doing this without right clicking on the file and setting it there. I am also having a hard time navigating to the folder. Send("#r") WinWaitActive("Run") sleep(250) Send("iexplore") Send("{ENTER}") ProcessWait("iexplore.exe") Sleep(5000) ControlFocus("Microsoft Internet Explorer", "", 41477) ControlSetText("Microsoft Internet Explorer", "", 41477, "c:\xxxxxxx") Send("{ENTER}") This is the code that I am trying to use to navigate to the desired folder but it is not typing in the new text into the control of IE Thanks in advance, Sean
Developers Jos Posted August 24, 2006 Developers Posted August 24, 2006 FileSetAttrib() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
lod3n Posted August 24, 2006 Posted August 24, 2006 (edited) #include <IE.au3> _IECreate ("c:\xxxxxxx") ; IE isn't usually used to open folders though FileSetAttrib ( "config.cfg", "-R") Edited August 24, 2006 by lod3n [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
Sean M Posted August 24, 2006 Author Posted August 24, 2006 Thanks, I was stupid and did not do a search of attribute under the help files. lol
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