When I try to use Setfocus to change to the screen that has a Full Screen Command Prompt Screen - I know that sounded funny, but with the command prompt you have the option of running in a full screen mode.) it dosen't work. It will work however if it is in a Command Prompt window.
I want to know if there is a way to change to this screen, also, is there a way to detect if the screen is in a full screen or window mode.
Any thoughts?
Set Focus to Command Prompt Window When Expanded
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Wish that was an option
That would not always be an option, my goal is to capture a screen in the full screen mode so that I can parse the data. If I could set focus to the full screen mode I could use the ALT Enter key to change to the standard window, copy the text to the clipboard for later processing and then use the key combo to change back.
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
-
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
It won't work that way, I think the second ">" confuses MS, see this thread http://www.mjtnet.com/usergroup/viewtop ... hlight=cmdBob Hansen wrote:Run Program>cmd /c Dir C:\Windows\*.* > windir.txt
The second > will not cause a problem. We routinely redirect command output to a file using this method and have never had a problem. In parsing the script line Macro Scheduler looks only at the text before the first > symbol so there are no problems including subsequent > symbols and indeed many other commands use them (greater than in If commands for example).
The problem in the thread you linked to was because the poster had incorrectly inserted a space between / and c for the /c switch.
The problem in the thread you linked to was because the poster had incorrectly inserted a space between / and c for the /c switch.
MJT Net Support
[email protected]
[email protected]
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: