Page 1 of 1

Command to iconify a program

Posted: Sun Aug 04, 2024 10:30 am
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 :-)

Re: Command to iconify a program

Posted: Sun Aug 04, 2024 12:02 pm
by Flinx
Maybe HideDisplay() helps?

Re: Command to iconify a program

Posted: Sun Aug 04, 2024 1:45 pm
by papiosaur
@Flinx: Thanks for your answer, i don't think HideDisplay() do the job here, my GUI is realized with RapaGUI.

Re: Command to iconify a program

Posted: Sun Aug 04, 2024 3:08 pm
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.

Re: Command to iconify a program

Posted: Sun Aug 04, 2024 4:31 pm
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()...

Re: Command to iconify a program

Posted: Sun Aug 04, 2024 5:01 pm
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...

Re: Command to iconify a program

Posted: Sun Aug 04, 2024 5:41 pm
by papiosaur
Unfortunally, i understand how to send:

RXCmd portname hide to my Hollywood script...

The example on the CreateRexxPort() page works on MorphOS...

Re: Command to iconify a program

Posted: Sun Aug 04, 2024 7:05 pm
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?

Re: Command to iconify a program

Posted: Tue Aug 13, 2024 9:46 pm
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