Jump to content
Sign in to follow this  
Biatu

Au3 Command Line Switches Missing

Recommended Posts

Biatu

/Console=True no longer works...or is listed in help file. afaik it never was.


What is what? What is what.

Share this post


Link to post
Share on other sites
Melba23

Biatu,

 

/Console=True no longer works...or is listed in help file. afaik it never was

So why would you expect it to work? If it is not documented it does not exist. ;)

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Jos

/Console=True no longer works...or is listed in help file. afaik it never was.

Which program are you trying this parameter on?

The /console parameter without the =true part is documented in the helpfile and available for aut2exe.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Biatu

I have attached an include that creates a console window if needed, console does not launch. it used to on previous versions.
 

console.au3


What is what? What is what.

Share this post


Link to post
Share on other sites
Jos

I have attached an include that creates a console window if needed, console does not launch. it used to on previous versions.

 

Not sure I understand the relation to your initial question and what you expect us to do with the attached.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Biatu

sorry realized the stupidity with the question above. ok when you include this script, a console window would spawn with versions of autoit prior to 3.3.10.x. Since the latest update the console window will not spawn. as for what to do with the attachment... on the 9th line:

#OnAutoItStartRegister "__Console__StartUp"

Which attempts to spawn a console window if using SciTE. I tried using 0x10000 with runwait and still nothing. I even used cmd /c, resulting in a console windows flashing and going away when using this simple script...

chainging the cmdline to cmd /k gives me "The filename, directory name, or volume label syntax is incorrect."

cmdline= [H:Windowssystem32cmd.exe /k "H:ProgramsAutoItautoit3.exe" "D:2014.01.02- SortNew Folder (2)Console - Copy.au3" /Console=True]

#Include <Console.au3>
#Include <_Console.au3>

while Sleep(100)
    _Console_WriteOutputCharacter(-1,Chr(Random(0,255,1)),1,1)
WEnd

What is what? What is what.

Share this post


Link to post
Share on other sites
Biatu

nvr mind, fixed it


What is what? What is what.

Share this post


Link to post
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
Sign in to follow this  

×