views:

101

answers:

2

I'm running a script (MouseParty.pie) on Glovepie.

This is my batch file script, it runs MouseParty on the GlovePie IDE...

.\\glovepie.exe -MouseParty

And now, I need to hide the GlovePie IDE. Any idea on how to do that?
Plus, if you can tell me how to run MouseParty when it's in another folder that would be really helpful.

And if you have any other ideas to run this other than using a batch file, I'd be open to suggestions.

+1  A: 

To hide a window is more advanced than a simple batch script can handle. I suggest something such as AutoHotKey which is made for automating UI components. This can be done with something as simple as:

Run, notepad.exe
WinWait, Untitled - Notepad
Sleep, 500
WinHide ; use the window found above

As for another directory, you would just pass the full path such as:

c:\glovepie\glovepie.exe -MouseParty
esac
+1  A: 

Or use VBScript

Set wss=WScript.CreateObject("WScript.Shell")
wss.Rnn 'notepad.exe', 0
est
I got it working on the batch file but thanks for the answer anyway. :D
Dian