Inserting text into a Windows save dialogue box?

Started by SteveB69, December 04, 2015, 01:03:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SteveB69

I'm trying to get VC to back itself up, but when it gets to the Windows Save dialogue box VC just sits there waiting for the box to be closed.
Once closed it carries on & inserts the text into nowhere according to the history.

So why is it stopping when the dialogue window opens & why is it not inserting the text.

I have tried SendKeys, InputKeys & DXInput, no difference on any?

Thanks for any help.
Chances are I've searched the forum, searched the wiki & scoured You Tube but I'm just to thick to work it out without help!

jitterjames

#1
It is not really clear to me what you are trying to do. If you have created a command please post the xml for it. All the keyboard emulation actions will only send text (or keypresses ) to whatever has focus at the time it executes.

I recommend you stick with InputKeys for now.

nime5ter

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

SteveB69

QuoteIt is not really clear to me what you are trying to do.

Sorry, I'll explain a bit better.

I want VC to back up itself when I say "VoxCommandon back up".
I create the commands / macros to run the process, but when the command runs & opens the Save As windows dialogue box, VC does not run the rest of the command. And everything stops.

I've tried send keys, input keys etc but nothing gets entered into the dialogue box. my desired input text is voccommandobackup

When I manually click the x close dialogue box, VC shows that it carries on with the rest of the command.

So really why is it stopping at the dialogue box & not entering the text?
Chances are I've searched the forum, searched the wiki & scoured You Tube but I'm just to thick to work it out without help!

nime5ter

#4
We can't really help unless you share your command xml, as James asked you to provide above, so that we can see how you've built the macros,

If you haven't yet looked at the links provided, please start with the "XML on the forum" wiki link.

That said, VC version 2.2.0.9 has a built-in VCadvanced.backup action. That would likely be a lot simpler and more reliable than a keyboard emulation solution.
http://voxcommando.com/mediawiki/index.php?title=ChangeLog#Version_2.2.0.9

2.2.0.9 has been out for a while now. I find it stable.

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

SteveB69

Ahhh, I'll give the better an install, sure that will work.
thanks for the suggestion.
Chances are I've searched the forum, searched the wiki & scoured You Tube but I'm just to thick to work it out without help!