How tun run a command line application from Hollywood app
-
- Posts: 10
- Joined: Fri Apr 06, 2018 8:08 pm
How tun run a command line application from Hollywood app
Hi,
i play around with RapaGUI and create a basic gui "mockup" = not functional.
I am total new to Hollywood.
How can I run (or parse) a command line argument.
I would like to create a gui for a cmd tool basically.
Thank you in advance.
i play around with RapaGUI and create a basic gui "mockup" = not functional.
I am total new to Hollywood.
How can I run (or parse) a command line argument.
I would like to create a gui for a cmd tool basically.
Thank you in advance.
- airsoftsoftwair
- Posts: 5450
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How tun run a command line application from Hollywood ap
Look for Execute and/or Run (Chapter DOS).
Edit: Andreas was quicker...
Edit: Andreas was quicker...
-
- Posts: 10
- Joined: Fri Apr 06, 2018 8:08 pm
-
- Posts: 10
- Joined: Fri Apr 06, 2018 8:08 pm
Re: How tun run a command line application from Hollywood ap
When i use Execute and call an external process, the GUI i've created will not response until the process closes.
Run() should be for such cases : )
Run() should be for such cases : )
-
- Posts: 10
- Joined: Fri Apr 06, 2018 8:08 pm
Re: How tun run a command line application from Hollywood ap
New question:
I have made an RapaGUI which has filed where a user can enter informations
Now I like to send a cmd line to the shell which includes those informations.
Is there a demo example which represents such a case ?
I have made an RapaGUI which has filed where a user can enter informations
Now I like to send a cmd line to the shell which includes those informations.
Is there a demo example which represents such a case ?
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: How tun run a command line application from Hollywood ap
Have you tried string concatenation with the .. operator?
I'm on registered MorphOS using FlowStudio.
- airsoftsoftwair
- Posts: 5450
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How tun run a command line application from Hollywood ap
i.e. something like:
Code: Select all
t$ = moai.Get("your_string_gadget", "text")
Run("Echo \"" .. t$ .. "\"")
-
- Posts: 10
- Joined: Fri Apr 06, 2018 8:08 pm
Re: How tun run a command line application from Hollywood ap
Thank you again!