Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Dave305

Pages: [1]
1
General / Starting a batch file.
« on: April 02, 2015, 09:18:18 PM »
How do I start a batch file in AM?. I have this bat file

Code: [Select]
@echo off

set game=2400ad
G:
cd \
cd "G:\Games\Hyperspin\HyperLaunch\Romfiles\Microsoft MS-DOS\ExoDos\"

:Install
IF EXIST ".\games\%game%\" goto run
cd ".\games\games\%game%\"
call install.bat wn
cd ..
 
:Run
IF NOT EXIST ".\games\%game%\" goto none
start .\dosbox\dosbox.exe -conf .\games\games\%game%\dosbox.conf -noconsole -exit
del stdout.txt
del stderr.txt
if exist .\games\CWSDPMI.swp del .\games\CWSDPMI.swp
:unInstall
cd ".\games\games\%game%\"
call install.bat
cd ..
goto end
:none
::::cls
echo.
echo Game has not been installed
echo.
pause
:end

And when I run it it locks up AM.

My setting:
Exe=cmd.exe
cmd arg="[filename]"
rom path=path to my bat files
Ext=.bat

What I Need is a way to start a new cmd.exe from AM, not in the same cmd.exe window and no start /wait won't work from AM or from a separate batch file. Been on this all day and gettin pissed, pls help. Bat file works great outside AM BTW.

2
Scripting / Clear list box (alpha)
« on: March 30, 2015, 11:48:09 PM »
Couple of Q's.

I am trying to make a clear list box but don't know the command. I looked at a couple .nut files, but went nuts trying to see how they did it. An example would be great. Below is wrong I know :(.

local l = fe.add_listbox( 32, 64, 262, 352 );
l.charsize = 12;
l.set_selbg_rgb( 0, 0, 0 );
l.set_sel_rgb( 50, 50, 255 );
l.set_alpha = 100
l.sel_style = Style.Bold;

as you can see I am no programer (know a little basic).

How do you manage layers top, bottom, middle placement. Is it by where they are listed in the nut file?.

O.K.I must say I love this FE, simple, fast loading, easy setup. The last FE I felt this way about was 1up years ago. I loved their setup process and display. One more thing is all this Verification really needed to post (just asking).

Pages: [1]