DosTips.com

A Forum all about DOS Batch
It is currently 24 Feb 2017 17:57

All times are UTC-06:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 11 Dec 2016 04:47 
Offline

Joined: 22 Nov 2016 13:46
Posts: 6
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


Attachments:
image.png
image.png [ 7.43 KiB | Viewed 441 times ]
Top
   
PostPosted: 11 Dec 2016 04:50 
Offline

Joined: 06 Sep 2013 21:28
Posts: 623
Location: Virginia, United States
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


Top
   
PostPosted: 07 Jan 2017 14:32 
Offline

Joined: 30 Oct 2016 09:48
Posts: 5
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


Top
   
PostPosted: 10 Jan 2017 06:27 
Online

Joined: 02 May 2016 18:20
Posts: 222
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):

Image
3dgui.bat

Image
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], misol101, Yahoo [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited