Jump to content

Output on Dos window


Recommended Posts

Hello everyone,

i'dl like ot put in place something a little tricky.

Here is he thing, i'd like to launch the .exe autoit on a dos windows (CMD) and get the output of my script into this window.

Is it possible, any exemple ?

Thank you :)

Link to comment
Share on other sites

two things to do:

1) compile script for console output

2) generate the output to console

like this:

#AutoIt3Wrapper_Change2CUI=y
ConsoleWrite("Hello World!")

for 1st line, wrapper directives are found in the SciTe help (not the AutoIt help).

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

i always compile my scripts from inside SciTe (F7, or Tools > Build). i see nothing wrong with that - wrapper directives work, and it's a lot less clicks  ;)

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...