Sign in to follow this  
Followers 0
Herb191

ControlSetText on a ToolbarWindow32 control

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

Try FileSaveDialog().

You can find instructions here.

shanet

That just creates a save dialog and wont work for what I am doing. Thanks any way I found a way around it.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0