par0d0xe Posted September 8, 2009 Share Posted September 8, 2009 Hello everyone. I have used automation scripts before but never autoit. this seems to be a much better program so i am happy i have discovered it. My issue is needing to open specific files in a Open File dialog box. I can make sure the location is the same but i cannot make sure that the initial directory the dialog box starts in is the same. I can also not make sure that every computer has a A: drive and such. I want to avoid using tab tab tab down down down enter type scripting and i was hoping that there was a way to control window's open file box automatically. I have searched a lot and all i can find is unanswered topics or fileopendialog (not what i need). I have attached what i have so far. I have made it work with the key spamming tecnique but i don't like it. I need to load the driver (in the attached folder) and then load an iso to mount. Can someone please help?VC.rar Link to comment Share on other sites More sharing options...
rajeshontheweb Posted September 8, 2009 Share Posted September 8, 2009 have you tried using au3info (window) info tool that lets u get the class name of the current window and you can easily control stuff.... Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet Link to comment Share on other sites More sharing options...
par0d0xe Posted September 8, 2009 Author Share Posted September 8, 2009 didnt know that exist. It comes back with SysListView32 but im not sure what commands can control that window. Link to comment Share on other sites More sharing options...
par0d0xe Posted September 8, 2009 Author Share Posted September 8, 2009 i guess there isn't a way to do this without keyboard spamming. I just need to make sure syslistview32 goes to directory x every time. It would be a lot easier if i could just type in a path name but i suppose that would never work. Link to comment Share on other sites More sharing options...
dot45 Posted September 8, 2009 Share Posted September 8, 2009 copy the files to a specific location on the hard drive (like inside c:\%systemroot%\system32\drivers\). You can do this with the "fileinstall" or "dircopy" commands. use controlclicks (you will need to use the window tool that comes with scite to get the control names of the windows.) for the file dialog, you can paste the entire path into the file name box. so you dont need to worry about what folder it starts in. Tools I've Created & Shared[/url][url="http://www.autoitscript.com/forum/index.php?showtopic=97177&st=0&p=698665&hl=printer&fromsearch=1&#entry698665"]Printer Migration Tool Link to comment Share on other sites More sharing options...
par0d0xe Posted September 8, 2009 Author Share Posted September 8, 2009 that worked, thank you. i never knew you could paste in a full path. I figured out how to do what i needed to. Link to comment Share on other sites More sharing options...
dot45 Posted September 8, 2009 Share Posted September 8, 2009 glad it worked for you. I've had the same fun before. Tools I've Created & Shared[/url][url="http://www.autoitscript.com/forum/index.php?showtopic=97177&st=0&p=698665&hl=printer&fromsearch=1&#entry698665"]Printer Migration Tool 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