Command to iconify a program

Discuss GUI programming with the RapaGUI plugin here
Post Reply
papiosaur
Posts: 192
Joined: Fri Mar 31, 2023 1:34 pm

Command to iconify a program

Post by papiosaur »

Hello,

i would like to iconify a program with an Hollywood or RapaGUI command, possible please? I don't found.

Thanks for your help :-)
Flinx
Posts: 226
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: Command to iconify a program

Post by Flinx »

Maybe HideDisplay() helps?
papiosaur
Posts: 192
Joined: Fri Mar 31, 2023 1:34 pm

Re: Command to iconify a program

Post by papiosaur »

@Flinx: Thanks for your answer, i don't think HideDisplay() do the job here, my GUI is realized with RapaGUI.
papiosaur
Posts: 192
Joined: Fri Mar 31, 2023 1:34 pm

Re: Command to iconify a program

Post by papiosaur »

I have tried with :

Code: Select all

CreateRexxPort("portname")
SendRexxCommand("portname", "WINDOW HIDE")
But without succes...

Arexx is activated on my MorphOS computer.
papiosaur
Posts: 192
Joined: Fri Mar 31, 2023 1:34 pm

Re: Command to iconify a program

Post by papiosaur »

Seems there is a problem with the open of the Arexx port opened with Hollywood on MorphOS...

This AmigaDOS command:

RXCmd portname HIDE

work with others software but don't work with a GUI created with Hollywood script and using CreateRexxPort()...
papiosaur
Posts: 192
Joined: Fri Mar 31, 2023 1:34 pm

Re: Command to iconify a program

Post by papiosaur »

ok seems i need to add "OnARexx" case in Function p_EventFunct(msg) in my Hollywood script... :-D

i will try to test that...
papiosaur
Posts: 192
Joined: Fri Mar 31, 2023 1:34 pm

Re: Command to iconify a program

Post by papiosaur »

Unfortunally, i understand how to send:

RXCmd portname hide to my Hollywood script...

The example on the CreateRexxPort() page works on MorphOS...
papiosaur
Posts: 192
Joined: Fri Mar 31, 2023 1:34 pm

Re: Command to iconify a program

Post by papiosaur »

I will try to fix the old Arexx demo script in Hollywood examples because seems have problem to show the remote unfortunally...

I hope understand better

Maybe AREXX COMMAND for GUI are not supported? Andreas?
User avatar
airsoftsoftwair
Posts: 5557
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Command to iconify a program

Post by airsoftsoftwair »

Next version of RapaGUI will support it :)

Code: Select all

- New: Added Window.Minimize [SGN] attribute; this allows you to programmatically minimize (iconify) your window or restore it from minimized state
Post Reply