Herb191 Posted December 15, 2010 Share Posted December 15, 2010 I am having some problems using ControlSetText on a ToolbarWindow32 control. I am assuming this is a control that ControlSetText does not work on. Is there any known work arounds? I have tried: ControlSetText("Save Bad Entries As...", "", "[CLASS:ToolbarWindow32; INSTANCE:3]", "C:\") ControlFocus("Save Bad Entries As...", "", "[CLASS:ToolbarWindow32; INSTANCE:3]") ControlSetText("Save Bad Entries As...", "", "[CLASS:ToolbarWindow32; INSTANCE:3]", "C:\") ControlClick("Save Bad Entries As...", "", "[CLASS:ToolbarWindow32; INSTANCE:3]") ControlSetText("Save Bad Entries As...", "", "[CLASS:ToolbarWindow32; INSTANCE:3]", "C:\") ControlClick("Save Bad Entries As...", "", "[CLASS:ToolbarWindow32; INSTANCE:3]") ControlSend("Save Bad Entries As...", "", "[CLASS:ToolbarWindow32; INSTANCE:3]", "C:\") ControlClick("Save Bad Entries As...", "", "[CLASS:ToolbarWindow32; INSTANCE:3]") Send("C:\{ENTER}") Basically I need to be able to set what directory I want to save a file in within an external program. Link to comment Share on other sites More sharing options...
shanet Posted December 15, 2010 Share Posted December 15, 2010 Try FileSaveDialog().You can find instructions here.shanet [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm Link to comment Share on other sites More sharing options...
Herb191 Posted December 15, 2010 Author Share Posted December 15, 2010 Try FileSaveDialog().You can find instructions here.shanetThat just creates a save dialog and wont work for what I am doing. Thanks any way I found a way around it. Link to comment Share on other sites More sharing options...
shanet Posted December 15, 2010 Share Posted December 15, 2010 That just creates a save dialog and wont work for what I am doing. Thanks any way I found a way around it.OK. Well good luck with your project then [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm 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