Hi all,
I am new in batch scripting and I would like to ask you
if there is any way to get graphical interface such as
I would like something like the attached image and only the menu to be refreshed.
Thanks in advance for your answers
Graphic interface in Batch ? Is it possible ?
Moderator: DosItHelp
Graphic interface in Batch ? Is it possible ?
- Attachments
-
- image.png (7.43 KiB) Viewed 6076 times
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Graphic interface in Batch ? Is it possible ?
Well, that's just ASCII art, so yes. Multiple colors in the same line was cracked years ago.
http://stackoverflow.com/questions/4339 ... 11#5344911
http://stackoverflow.com/questions/4339 ... 11#5344911
Re: Graphic interface in Batch ? Is it possible ?
More specifically this is art ansi, until windows 98 support art ansi was loaded in the config.sys file, writing the following line:
devicehigh=ansi.sys
For windows 2000 onwards there is currently ansicon.exe
http://ansicon.adoxa.vze.com/
When installed ansicon you can read an ansi file with the following command:
Type art.ans
I recently posted a method to convert art ansi into batch
It is necessary for art to contain characters compatible batch.
Https://www.youtube.com/watch?v=YWXbQ_f0JIk
To create files in .ans format you have this application:
Http://picoe.ca/products/pablodraw
devicehigh=ansi.sys
For windows 2000 onwards there is currently ansicon.exe
http://ansicon.adoxa.vze.com/
When installed ansicon you can read an ansi file with the following command:
Type art.ans
I recently posted a method to convert art ansi into batch
It is necessary for art to contain characters compatible batch.
Https://www.youtube.com/watch?v=YWXbQ_f0JIk
To create files in .ans format you have this application:
Http://picoe.ca/products/pablodraw
Re: Graphic interface in Batch ? Is it possible ?
This is probably not at all what you had in mind, but it is what came into my mind when I heard "Graphic Interface in Batch"
Below is 3dGUI.bat. It was primarily meant to be mouse-controlled (drag left-right to scroll among items, click to select an item), but keys are also supported (left/right to scroll, SPACE to select the item in focus). If you get tired of the "swinging" effect of the items while scrolling, press RETURN to disable/enable.
The script is now included in the cmdgfx archive. See http://www.dostips.com/forum/viewtopic.php?f=3&t=7153
Screens (it obviously looks better when actually moving):
3dgui.bat
3dgui.bat 3dgui2.dat
The script takes as input a data file of the form:
Below is 3dGUI.bat. It was primarily meant to be mouse-controlled (drag left-right to scroll among items, click to select an item), but keys are also supported (left/right to scroll, SPACE to select the item in focus). If you get tired of the "swinging" effect of the items while scrolling, press RETURN to disable/enable.
The script is now included in the cmdgfx archive. See http://www.dostips.com/forum/viewtopic.php?f=3&t=7153
Screens (it obviously looks better when actually moving):
3dgui.bat
3dgui.bat 3dgui2.dat
The script takes as input a data file of the form:
Code: Select all
backgroundimage ; scale
image ; scale ; text ; action
*n
Example file with 3 items:
img\dos_shade4.pcx ; 45
emma.txt ; 9 ;Emma; echo Emma
fract.txt ; 9 ;Fractal; echo Fractal
glass.txt ; 9 ;Glass; echo Glass