Author Topic: Inserting text into a Windows save dialogue box?  (Read 1357 times)

0 Members and 1 Guest are viewing this topic.

SteveB69

  • Contributor
  • ***
  • Posts: 72
  • Karma: -1
    • View Profile
Inserting text into a Windows save dialogue box?
« on: December 04, 2015, 01:03:02 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Inserting text into a Windows save dialogue box?
« Reply #1 on: December 04, 2015, 07:04:56 AM »
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.
« Last Edit: December 04, 2015, 07:07:58 AM by jitterjames »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
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

  • Contributor
  • ***
  • Posts: 72
  • Karma: -1
    • View Profile
Re: Inserting text into a Windows save dialogue box?
« Reply #3 on: December 05, 2015, 07:42:30 PM »
Quote
It 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

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Inserting text into a Windows save dialogue box?
« Reply #4 on: December 05, 2015, 09:51:02 PM »
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.

« Last Edit: December 05, 2015, 09:56:39 PM by 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

  • Contributor
  • ***
  • Posts: 72
  • Karma: -1
    • View Profile
Re: Inserting text into a Windows save dialogue box?
« Reply #5 on: December 17, 2015, 06:01:58 PM »
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!