Computer Hope

Software => Computer programming => Topic started by: EchoLdrWolf316 on August 29, 2008, 10:16:08 AM

Title: UI
Post by: EchoLdrWolf316 on August 29, 2008, 10:16:08 AM
I'm trying to give my "Macilizer" a configuration UI......just a regular windows message box with 3 check boxes, descriptions for each, and a SAVE button instead of an OK button..... that could be run to configure what is to be run..

check boxes would read:
(box) Battery Meter
(box) Konfabulator
(box) Object Dock

...and checking or rechecking would add or remove the entries one by one:
Code: [Select]

echo Starting Battery Meter
ping -n 1 -w 2000 1.1.1.1 >nul
start "" "C:\Program Files\Mioplanet Battery Meter\Mioplanet Battery Meter.exe"


echo Starting Konfablator
ping -n 1 -w 2000 1.1.1.1 >nul
start "" "C:\Program Files\Pixoria\Konfabulator\YahooWidgets.exe"


echo Starting Object Dock
ping -n 1 -w 2000 1.1.1.1 >nul
start "" "C:\Program Files\Stardock\ObjectDock\ObjectDock.exe"

from the final .bat file
Code: [Select]
@echo off
title Macilizer
echo Macilizer starting...
ping -n 1 -w 2000 1.1.1.1 >nul
echo Initializing...
ping -n 1 -w 500 1.1.1.1 >nul
Choice /M "Do You Want To Run Mac Look-Alike Programs?"

If %errorlevel% EQU 2 goto no
If %errorlevel% EQU 1 goto yes

:yes
echo Starting Battery Meter
ping -n 1 -w 2000 1.1.1.1 >nul
start "" "C:\Program Files\Mioplanet Battery Meter\Mioplanet Battery Meter.exe"
echo Starting Konfablator
ping -n 1 -w 2000 1.1.1.1 >nul
start "" "C:\Program Files\Pixoria\Konfabulator\YahooWidgets.exe"
echo Starting Object Dock
ping -n 1 -w 2000 1.1.1.1 >nul
start "" "C:\Program Files\Stardock\ObjectDock\ObjectDock.exe"
ping -n 1 -w 2000 1.1.1.1 >nul
echo Exiting....
ping -n 1 -w 2000 1.1.1.1 >nul
exit

:no
echo Exiting....
ping -n 1 -w 2000 1.1.1.1 >nul
exit


can this be done........somewhat/remotely.............easily?


I do have Adobe Photoshop and Flash if I had to create a box, but i would need help to code it