HippoEDIT command line parameters

Started by Arthur, April 21, 2009, 04:32:21 PM

Previous topic - Next topic

Arthur

What command line parameters does HE accept?

PS: I have noticed that if I start HE like HippoEdit /? it prompts to create file ? - neat!

alex

/? is not a valid parameter. HippoEDIT recognize it as file name and try to open, but because it is not found, you got prompt to create it.

Try --help as command line parameter.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

Thank you Alex, please explain what the following means or when to use:

--init
-t [file type]
--landscape arg - how to use? and --print_to arg

PS: Is --Debug what is OK to use even though it is not the PDC version?

alex

#3
--init - initialize all cached properties. Delete all temp files created by HippoEDIT: file properties, buffered syntax files, buffered autocorection etc (all he*.tmp files in %TEMP% folder)
-t [file type] - syntax to apply to passed files
--landscape - the argument should be used together with --print (-p) or print_to
--print_to, arg equal to name of printer where you want to print
--debug - has nothing to do with real debugging, just enable some traces


-m [ --new-instance ]          start another instance
--config arg          set configuration directory
--init          initialize all cached properties
--portable          run application in portable mode
--debug          enables debug mode
-d [ --directory ] arg          set current directory
--title arg          append 'title' to the main window title bar
-u [ --no-recent ]          do not add the file to the Recent Files list
-w [ --workspace ] arg          name of saved workspace, if empty, no would be loaded
-h [ --help ]          produce help message
--close_all          close all documents
-s [ --save_all ]          saves all modified documents
-i [ --input-file ] arg          input files
-l [ --line ] arg          line number
-c [ --column ] arg          column number
-r [ --read-only ]          read-only mode
-t [ --type ] arg          file type
-e [ --encoding ] arg          sets an encoding for file
-n [ --new ]          creates new file
--paste          paste clipboard content
--find arg          search current document
--landscape arg          set landscape/portrait orientation for printing
--print_to arg          call print to dialog
-p [ --print ]          direct print
--minimized          start minimized (iconized)

Edit: added full list of HE HippoEDIT command line arguments / parameters commandline argument parameter
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

How to submit multiple command line parameters to HE?

I have tried

hippoedit -i D:\scripts.vbs -l 4 -c 3
hippoedit -i "D:\scripts.vbs", -l 4 -c 3
hippoedit -iD:\scripts.vbs, -l4 -c3 [no spaces]

but none seem to work? Bug, deficiency, design?

Arthur

Does not look like it can take several parameters though, or I am wrong?

alex

this works:
HippoEdit.exe --workspace=viewer HippoEdit.config -l 10 -c 10
and this:
HippoEdit.exe --workspace=viewer -l 10 -c 10 -i HippoEDIT.config
(just reorder, files should be at the end, because it is defualt multiple parameter)

And also helps, when you write, what exactly does not work ;)
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

HippoEdit.exe --workspace=viewer d:\scripts.vbs -l 32 -c 3
does not work

alex

and:
HippoEdit.exe --workspace=viewer D:\Projects\binU\HippoEdit.config -l 10 -c 10
works ;)

because you do not explain what "does not work" I could not help you :)
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

alex

It should work.
try this:
HippoEdit.exe -w viewer HippoEdit.config license.txt
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

Found the bug  ;)

if the document has say 10 lines and you ask to position at 11th you will experience crash condition.

alex

HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur