Magellan desktop refresh from script

ch1ll · 1944

ch1ll

  • Newbie
  • *
    • Posts: 31
    • Karma: +0/-0
on: November 03, 2019, 05:39:33 AM
Hi all

If I copy an icon in Magellan desktop, it is not visible until I perform a refresh. I can refresh the desktop using F5.
I need to perform the same from a script or some API.
As of I can perfrom the ARexx command:

dopus refresh all

It perform  a refresh, but it's quite slow and bring Magellan window over other comodities like amistart.
The command:

dopus refresh icons

do not seems to work for this. Do you have a better idea? Is there any API I can call to perform a refresh of desktop?



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #1 on: November 04, 2019, 06:48:01 AM
I don't understand? I when I place an icon on the desktop I select fixed with the right mouse button :-\



paolone

  • Legendary Member
  • *****
    • Posts: 569
    • Karma: +90/-0
Reply #2 on: November 06, 2019, 09:54:01 AM
I don't understand? I when I place an icon on the desktop I select fixed with the right mouse button :-\


Salvo, the part that you missed is "FROM A SCRIPT" :-)


try using the shell to add the icon on the desktop, and you'll need to manually refresh.