Jump to content

Recommended Posts

Posted (edited)

A fullscreen console with custom commands!

Example.gif

Introduction:

Hi everyone! :)

This funny project started as a question in the help section:

https://www.autoitscript.com/forum/topic/174404-edit-detect-key-before-updating-content/

I'd like to share this script with everyone that is interested. :)

 

Why would I want it?

  • You like the old style fullscreen console (like in the old day's),
  • You can add custom commands,
  • You can customize the font a lot more compared to cmd.exe,
  • You can share ideas or add tweaks to the script.

 

Still to do:

  • Write a simple custom programming language to implement this tool.
  • Writing a little help file / pdf to describe my little programming language.
  • Add little sound effects like a beep if there is a syntax error (optional).
  • Clean up and modify Console.Au3 content.
  • Add an option to have to type a login password (optional).
  • Make an optional installer that also gives scripts for this tool a custom icon and open with command.
  • ...Call Neo?

 

Thanks to:

  • xxaviarxx: debugging, some ideas.
  • jguinch: debugging, adding a bunch of tweaks and ideas.
  • kylomas: debugging, new ideas.

 

Edits and updates:

  • Added usage of tab key in edit control
  • Edit has focus now on startup
  • I'm currently rewriting a simple custom programming language to implement this tool.

 

UDF downloadConsole.au3

 

Regards ;)

TheAutomator

Edited by TheAutomator
Posted

Need to make sure the window is active as soon as you run the script otherwise your users will have to click a full screen console. At the preset time you have to click it.

Posted (edited)

TheDcoder,

Cmd.exe has 1 build in raster font and 2 optional ones you can choose of.

if you want to add a font you have to change the registry and you have to be lucky enough to find a raster font that will be accepted by cmd prompt..

(and even that doesn't work on my computer for some reason)

try to add a new font like: westminster.ttf to it and post a screenshot ;)

but ok, technically I should say that you can customize the fonts 'a lot more' then you can with cmd, so I'm gonna change that in my description.

Edited by TheAutomator
  • 1 year later...
Posted (edited)

its nice but please be aware that microsoft made powershell on every windows V7 and further available. 

type ISE in your startmenu / search  box and see an integrated IDE something between IDE/debugwindow/scripting at the same time

this shows the concept for excel.application

https://social.technet.microsoft.com/Forums/scriptcenter/en-US/33dbc1c4-40ee-4ef8-b25b-f29440ab3194/using-com-objects-excel-from-powershell?forum=ITCG

suggestion would be to incorporate javascript CHAKRA then you do not have to write a new grammar

 

 

 

Edited by junkew
nice see now its a little older thread

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...