Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
191 user(s) are online (176 user(s) are browsing Forums)

Members: 2
Guests: 189

tekmage, AmigaSociety, more...

Support us!

Headlines

 
  Register To Post  

Execute one AREXX-Command from CLI/AMIGADOS-Script
Just popping in
Just popping in


See User information
I build in AmiUpdate-Support to Flipclock 53.2. In the Autoinstall-Script i need to execute one AREXX-Command to close a running Flipclock in order to Copy the new Executable to APPDIR and then restart the new version.

Sending FLIPCLOCK QUIT with ALLKEYS-REXX Sender is working (Flipclock quits), but not from my script or CLI.

Is it really required to make an extra .rexx-file with that FLIPCLOCK QUIT-Command and then call it from the autoinstall-script?


Go to top
Re: Execute one AREXX-Command from CLI/AMIGADOS-Script
Amigans Defender
Amigans Defender


See User information
rx "address FLIPCLOCK 'QUIT'"

Go to top
Re: Execute one AREXX-Command from CLI/AMIGADOS-Script
Home away from home
Home away from home


See User information
rx "ADDRESS FLIPCLOCK QUIT"


Go to top
Re: Execute one AREXX-Command from CLI/AMIGADOS-Script
Amigans Defender
Amigans Defender


See User information
SNAP!

Go to top
Re: Execute one AREXX-Command from CLI/AMIGADOS-Script
Just popping in
Just popping in


See User information
Thans for your answers, i will try it.

Quote:

SNAP!


Rhythm is a dancer?

Go to top
Re: Execute one AREXX-Command from CLI/AMIGADOS-Script
Just popping in
Just popping in


See User information
@Chris & @Broadblues:

This is working:

Rx "address 'FLIPCLOCK';QUIT"

found here:

http://www.echonyc.com/~jhhl/VaporDocs/AREXX.html



Go to top
Re: Execute one AREXX-Command from CLI/AMIGADOS-Script
Home away from home
Home away from home


See User information
Quote:

this is working:

Rx "address 'FLIPCLOCK';QUIT"

found here:

http://www.echonyc.com/~jhhl/VaporDocs/AREXX.html


it would work yes. the syntax you show there is useful for executing multiple commands from a single rx invocation.

eg

9.AmigaOS4:> rx "options results; ADDRESS WORKBENCH HELP; say result"
ACTIVATEWINDOW CHANGEWINDOW DELETE FAULT GETATTR HELP 
ICON INFO KEYBOARD LOCKGUI MENU MOVEWINDOW NEWDRAWER 
RENAME RX SIZEWINDOW UNLOCKGUI UNZOOMWINDOW VIEW 
WINDOW WINDOWTOBACK WINDOWTOFRONT ZOOMWINDOW



the ';' seperates commands much like a new line in a script.

For your simple case it's overkill but not wrong.


Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 3 ( 0 members and 3 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project