![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Apr 2005
Posts: 77
Rep Power: 4
![]() |
Batch file to expand and minimize start menu
Is this possible? If so, what command could you use with windows XP in a batch file to do this?
If not is there a way to control it through c++? Last edited by Josef_Stalin; May 11th, 2005 at 9:23 AM. |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
You could simulate the Windows key through C++. Probably.
|
|
|
|
|
|
#3 |
|
Programmer
Join Date: Apr 2005
Posts: 77
Rep Power: 4
![]() |
Oh I should have been more clear. I mean drag the whole bar small not open the button and close it.
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() ![]() |
why not turn auto hide on?
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#5 |
|
Programmer
Join Date: Apr 2005
Posts: 77
Rep Power: 4
![]() |
I doubt it would work because the problem is that I am playing a game where you have to click down there in a windows and its all messed up because it's an older game (a king's quest). And if I click down there it would probably just bring up the start menu if I had auto hide. But I'm actually okay just doing it manually, just would be interesting if I could find another way.
Last edited by Josef_Stalin; May 11th, 2005 at 1:26 PM. |
|
|
|
|
|
#6 |
|
Professional Programmer
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4
![]() |
If i understand you correctly, seems like a long way of going about something, like re-inventing the wheel...
When exactly did you want it to hide/show??
__________________
www.heldtogether.co.uk |
|
|
|
|
|
#7 |
|
Programmer
Join Date: Apr 2005
Posts: 77
Rep Power: 4
![]() |
I wanted to hide and show the whole bar. You know how you can drag it down so you can't see it. I want to be able to run a dos batch that puts it down runs the game and then when the game is over puts it up again.
|
|
|
|
|
|
#8 |
|
Professional Programmer
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4
![]() |
OH, you want it for a game, now that's a different matter, now i understand... I'm sure there must be a fairly easy way of doing it, you can press f11 in IE and it dissappears so that the window covers the whole screen.
I'm not sure how though, have you tried it on google? Almost all other games hide the taskbar too, so i can't believe that it isn't mentioned somewhere on the web!
__________________
www.heldtogether.co.uk |
|
|
|
|
|
#9 |
|
Hobbyist Programmer
Join Date: Feb 2005
Posts: 112
Rep Power: 4
![]() |
You could download AutoIt... You could do a simulation of mouseclicks (with AutoIt) to rightclick the taskbar, click "lock taskbar", then move the mouse to that certain position to drag it down... Or it may be possible without the mouseclicks now that AutoIt is advancing so fast and there is many new support in the language... Check it out, www.autoitscript.com
|
|
|
|
|
|
#10 |
|
Programmer
Join Date: Apr 2005
Posts: 77
Rep Power: 4
![]() |
Yeah but this is an old game before '91 I think so it is wierd. Thanks, I'll sure that, I didn't know you could do that. I could write a c++ program to do that for me if I wanted by simulating that key.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|