is there an app or docklet that will close yz dock when a game starts? i know theres one for object dock, but i dont like object dock (no drag and drop) ![]()
[request] App That Closes Dock When Game Starts
you can do that with a batch , or if you are a programmer , you can convert the docklet
here is the batch file you need
(this one will reactivate yzdock after press enter on the batch)
(do a .bat file who is used to lunch the game from yzdock
Remplace c:\program files\battlefield 1942\bf1942.exe by your game path (don't forget the .exe file)
Remplace C:\Program Files\Yzdock\yzdock.exe by your yzdock path (don't forget the .exe file)
echo off
color C
echo Killing yzdock
taskkill /F /IM yzdock.exe
color E
echo Lunching game ...
c:\program files\battlefield 1942\bf1942.exe
echo Game Lunched !
echo off
color A
echo If you press an key into this command line , yzdock will be lunched.
pause
C:\Program Files\Yzdock\yzdock.exe
echo Yz'Dock lunched !
++
Originally posted by Dream_Team@Jul 2 2004, 06:31 PM-->QUOTE(Dream_Team @ Jul 2 2004, 06:31 PM)you can do that with a batch , or if you are a programmer , you can convert the docklethere is the batch file you need
(this one will reactivate yzdock after press enter on the batch)
(do a .bat file who is used to lunch the game from yzdock
Remplace c:\program files\battlefield 1942\bf1942.exe by your game path (don't forget the .exe file)
Remplace C:\Program Files\Yzdock\yzdock.exe by your yzdock path (don't forget the .exe file)
echo offcolor Cecho Killing yzdocktaskkill /F /IM yzdock.execolor Eecho Lunching game ...c:\program files\battlefield 1942\bf1942.exeecho Game Lunched !echo offcolor Aecho If you press an key into this command line , yzdock will be lunched.pauseC:\Program Files\Yzdock\yzdock.exe<!--QuoteEBegin
[b]++
<{POST_SNAPBACK}>
Cool ! thanks Dream Team
/aviel
how do i meak this batch file? i tried how i thoguht you would do it (write it out in notepad, then rename it *.bat.
the command prompt winder pops up, but nothing happens. this very confuising.
Originally posted by snarf-o-matic@Jul 6 2004, 10:12 AMhow do i meak this batch file? i tried how i thoguht you would do it (write it out in notepad, then rename it *.bat.
the command prompt winder pops up, but nothing happens. this very confuising.
<{POST_SNAPBACK}>
That really should be all you need to do.. copy the code exactly as it is in Dream_Team's quote, paste it into a plain text file, change the paths to the game and to Yz, and rename the text file .bat
there is a program called dock tool
that works with all docks as long as its config is set right..
http://www.wincustomize.com/skins.asp?library=29&SkinID=4008
i use it and it works great.. just gotta make sure all the shortcuts and everything are set right..
Im wondering based on this:
echo off
color C
echo Killing yzdock
taskkill /F /IM yzdock.exe
color E
echo Lunching game ...
c:\program files\battlefield 1942\bf1942.exe
echo Game Lunched !
echo off
color A
echo If you press an key into this command line , yzdock will be lunched.
pause
C:\Program Files\Yzdock\yzdock.exe
echo Yz'Dock lunched !
How do I launch multiple apps along with Y's?
I did this:
echo off
color C
echo Launching UT2004
taskkill /f /im YzToolbar.exe
taskkill /f /im spoolsv.exe
taskkill /f /im YzDock.exe
taskkill /f /im YzShadow.exe
taskkill /f /im FreeShade.exe
taskkill /f /im winamp.exe
taskkill /f /im YzDock.exe
taskkill /f /im UltraMon.exe
taskkill /f /im UltraMonTaskbar.exe
taskkill /f /im Kapsules.exe
taskkill /f /im explorer.exe
taskkill /f /im Client.exe
taskkill /f /im Rainlendar.exe
taskkill /f /im miranda32.exe
color E
echo Lunching game ...
"C:\Program Files\UT2004\System\UT2004.exe"
echo Game Lunched !
echo off
color A
echo If you press an key into this command line , all will be OK.
pause
Explorer
C:\Program Files\Y's Dock .83\YzDock.exe
C:\Program Files\Y's Dock .83 Dock 2\YzDock.exe
C:\Program Files\UltraMon\UltraMonTaskbar.exe
C:\Program Files\UltraMon\UltraMon.exe
C:\Program Files\Y's Toolbar1.3\YzToolbar.exe
C:\Program Files\Y'z Shadow\YzShadow.exe
C:\WINDOWS\system32\spoolsv.exe
C:\Program Files\Miranda IM\miranda32.exe
C:\Program Files\Rainlendar\Rainlendar.exe
C:\Program Files\Winamp\winamp.exe
C:\Program Files\Samurize\Client.exe
C:\WINDOWS\system32\FreeShade.exe
C:\Program Files\Kapsules\Kapsules.exe
echo All OK ! :)
I like to run games with nothing running.
All it launched was explorer.
I know some smart cookie can help. ![]()
hey MetalMusicAddict
When I was taken my programing class I remeber my prof. mentioned a lot of programming in windows being case sensitive so where you have /im make it /IM likewise for /f -> /F and also
may need to be"C:\Program Files\UT2004\System\UT2004.exe"
C:\Program Files\UT2004\System\UT2004.exe (no "")
give that a try
Thanx sir. The game does launch but its getting things after "explorer" to launch. I dont know if Im missing those "echo on/off" or what. I dont know what Im missing.
yeah looking at it I thought it might have issues launching things after explorer I'll look into it a little more and get back to you.
Edit: Im only on a win98 system now and the commands are different in win98 so I'll try debuging it around friday when Im back home at my winxp box.
Ok Checked it out and it worked for me when I had each shortcut surrounded by qoutes like " c:\program files\....\fun.exe" without qoutes it wouldn't work.
Now I have a question is there anyway to make the command prompt close itself?
echo off
color C
echo Launching Gunbound!!
taskkill /F /IM "YzDock.exe"
color E
echo Lunching game ...
"C:\Program Files\softnyx\GunBound\GunBound.exe"
echo Game Lunched !
echo off
color A
echo If you press an key into this command line , all will be OK.
pause
Explorer
"G:\Program Files\Yz\YzDock\YzDock.exe"
echo All OK ! :)
this is my code for launching my game.. but i get this error:
'taskkill' is not recognised as an internal or external command, operable program or batch file.
and as a result it doesnt kill yzdock.. does any1 know how to fix this please??
thanks a lot man it did the trick.. nice little app
the first downside i have found to having home edition so far.. o well. thanks again~~
Thanx all for the help but I still cant get more than 1 program to launch after my game exits.
Heres my code now:
echo off
color C
echo Launching UT2004
taskkill /f /im YzToolbar.exe
taskkill /f /im spoolsv.exe
taskkill /f /im YzDock.exe
taskkill /f /im YzShadow.exe
taskkill /f /im FreeShade.exe
taskkill /f /im winamp.exe
taskkill /f /im YzDock.exe
taskkill /f /im UltraMon.exe
taskkill /f /im UltraMonTaskbar.exe
taskkill /f /im Kapsules.exe
taskkill /f /im explorer.exe
taskkill /f /im Client.exe
taskkill /f /im Rainlendar.exe
taskkill /f /im miranda32.exe
color E
echo Lunching UT2004 ...
"C:\Program Files\UT2004\System\UT2004.exe"
echo UT2004 Lunched !
echo off
color A
echo If you press an key into this command line , all will be OK.
pause
Explorer
"C:\Program Files\Y's Dock .83\YzDock.exe"
"C:\Program Files\Y's Dock .83 Dock 2\YzDock.exe"
"C:\Program Files\UltraMon\UltraMonTaskbar.exe"
"C:\Program Files\UltraMon\UltraMon.exe"
"C:\Program Files\Y's Toolbar1.3\YzToolbar.exe"
"C:\Program Files\Y'z Shadow\YzShadow.exe"
"C:\WINDOWS\system32\spoolsv.exe"
"C:\Program Files\Miranda IM\miranda32.exe"
"C:\Program Files\Rainlendar\Rainlendar.exe"
"C:\Program Files\Winamp\winamp.exe"
"C:\Program Files\Samurize\Client.exe"
"C:\Program Files\Kapsules\Kapsules.exe"
echo All OK ! :)
Oh yea, I am running XP Pro.
echo off
color C
echo Launching Gunbound!!
c:\windows\pskill.exe YzDock.exe
color E
echo Lunching game ...
"C:\Program Files\softnyx\GunBound\GunBound.exe"
echo Game Lunched !
echo off
color A
echo If you press an key into this command line , all will be fine =)
pause
"G:\Program Files\Yz\YzDock\YzDock.exe"
echo YzDock Launched!
this is my code... now its working great except one thing
i never get the message YzDock Launched! and the window never closes.
now if i take the talking marks off the program it doesnt open the program again but it does exit the window.
is there any solution for this.. otherwise this is great. but with it closing itself it would be perfect
btw i tried putting exit on the end that didnt help.
I use this. It works flawlessly.
echo off
color C
echo Preparing to Launch UT2004...
taskkill /f /im YzToolbar.exe
taskkill /f /im spoolsv.exe
taskkill /f /im YzDock.exe
taskkill /f /im YzShadow.exe
taskkill /f /im DeeEnEs.exe
taskkill /f /im AveDesk.exe
taskkill /f /im Rainlendar.exe
taskkill /f /im explorer.exe
color E
echo Launching UT2004 ...
d:
cd "D:\Program Files\Ut2004\System\"
ut2004.exe
echo UT2004 Finished, Restarting Processes...
color A
echo off
start Explorer.exe
d:
cd "D:\Program Files\Aqua Dock\"
start "x" "D:\Program Files\Aqua Dock\YzDock.exe"
start "x" "C:\Program Files\yzshadow\YzShadow.exe"
start "x" "C:\WINNT\system32\spoolsv.exe"
c:
cd "C:\Program Files\Rainlendar\"
start "x" "C:\Program Files\Rainlendar\Rainlendar.exe"
start "x" "D:\Program Files\avedesk\AveDesk.exe"
cd "D:\Program Files\Yztoolbar\"
echo Restarts Complete.
sleep 3
It may work flawlessly for you but taskkill is not recognised in win xp home.So users like me cannot use it. ![]()
Any alternate? 
yeah.. some people with their pro machines.. think they 0wn the world, lol.
help us home users out. all my friends that use pro are pirated copies so i wonder if thats why so many people have pro, lol.
I bought my copy of Pro through my wifes work for $60.
I 0wn mine. ![]()
...Or you could right click the dock and close it manually.
Geez, people...are you really THAT lazy?
Windows XP Home users can check this this out.http://www.aqua-soft.org/board/index.php?showtopic=19009. ![]()
Download pskill and use the code spngbb has given at the last reply of the page.
It works flawlessly for me.
Here is the code I use(for the ultra lazy ones) (Of course download pskill first)![]()
@echo off
c:\windows\pskill.exe YzToolbar.exe
c:\windows\pskill.exe ObjectDock.exe
c:\windows\pskill.exe ObjectBar.exe
c:\windows\pskill.exe TrayServer.exe
c:\windows\pskill.exe AveDesk.exe
c:\windows\pskill.exe Rainlendar.exe
"C:\Program Files\Rockstar Games\Max Payne 2\MaxPayne2.exe"
start c:\"Program Files"\ObjectBar\ObjectBar.exe
start c:\"Program Files"\Yzshadow\YzShadow.exe
start c:\"Program Files"\AveDesk\AveDesk.exe
start c:\"Program Files"\Rainlendar\Rainlendar.exe
start c:\"Program Files"\ObjectDock\ObjectDock.exe
start c:\"Program Files"\"Yz Toolbar"\YzToolBar.exe
hmmm still cant get the bat file to close itself.. i dont mind closing it but it would be nice.
and to duckie you are a fool, if we are launching games from the dock then we would have to exit the game to close the dock.. this solves that problem and is easy enough.
Originally posted by 凯乐_Kemical@Jul 20 2004, 07:43 AM...duckie you are a fool...
<{POST_SNAPBACK}>
Then you shouldnt have the shortcut in the dock.
Simple, really.
And please, I didnt call you a name, so let's be civil.
Aqua-Soft Forums