I want to know if it is possible start a Hollywood program from Workbench CLI/shell that it makes or work with other programs, or files, the real problem there are people that ask me if is possible that V.A.M.P. run from shell open pictures, videos, or music files, but from CLI only I could start the VAMP player no open video or picture, it is possible and how?
Best regards,
Hollywood programs & commands cli/shell
Re: Hollywood programs & commands cli/shell
You mean you wanted to read Shell Arguments in order to say open a video etc...
Use GetCommandLine() - see manual.
file:///Hollywood:Help/HTML/GetCommandLine.html
( Paste in address bar )
Use GetCommandLine() - see manual.
file:///Hollywood:Help/HTML/GetCommandLine.html
( Paste in address bar )
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Hollywood programs & commands cli/shell
Thanks for the suggestion and the help, I'll try to test it because the Windos version will be different to MOS and OS4-OS3 command version and work.djrikki wrote:You mean you wanted to read Shell Arguments in order to say open a video etc...
Use GetCommandLine() - see manual.
file:///Hollywood:Help/HTML/GetCommandLine.html
( Paste in address bar )
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Hollywood programs & commands cli/shell
I have one doubt the get the parameters with GetCommandLine() I have to use a routine as with the drag&drop? to pass the commands from shell to program?
Re: Hollywood programs & commands cli/shell
I am sorry I do not know what you are asking.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Hollywood programs & commands cli/shell
Maybe he is talking about whether or not GetCommandLine() requires you to use an event handler callback as it is the case with "OnDropFiles"? The answer would be no then.
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Hollywood programs & commands cli/shell
And how is the way to run a program taking the external commands from GetCommandLine(), for example the V.A.M.P. player open a video, this solution is good for other users to make programs for example load pictures, etc., instead of official programs of AmigaOS, MorphOS, AROS; etc.Andreas wrote:Maybe he is talking about whether or not GetCommandLine() requires you to use an event handler callback as it is the case with "OnDropFiles"? The answer would be no then.
Re: Hollywood programs & commands cli/shell
Have you read the manual of GetCommandLine()? There is a complete example how to use it.Juan Carlos wrote:And how is the way to run a program taking the external commands from GetCommandLine(), for example the V.A.M.P. player open a video, this solution is good for other users to make programs for example load pictures, etc., instead of official programs of AmigaOS, MorphOS, AROS; etc.