Page 2 of 2

Re: get console arguments WITHOUT - (win)

Posted: Sat Oct 15, 2022 7:25 pm
by airsoftsoftwair
Should be possible to add some option or command that allows you to get the raw console arguments. I'll see what I can do.

Re: get console arguments WITHOUT - (win)

Posted: Fri Dec 23, 2022 1:03 pm
by airsoftsoftwair

Code: Select all

- New: Added GetRawArguments() function; this can be used to get all arguments passed to your program or
  script either via the console or via Workbench on Amiga or via the Shell API on Windows; the arguments
  will be returned in a table and will also include arguments parsed by Hollywood, e.g. "-window" or
  "-quiet"; the first table entry will always contain the name of the program; note that this will not
  necessarily contain a qualified path but just the name of the program as it was called on the console;
  GetRawArguments() can be useful if your script should be capable of handling multiple file arguments;
  GetFileArgument() will only allow you to get the very first file passed to your program but by using
  GetRawArguments() you can also support multiple file arguments