|
Register or have you forgotten your password?
|
|
|
| Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Premium Member
|
Does anybody know much about the mechanism behind leaving and icon on the workbench and putting one away? I'd like to programmatically do this technique from within an application but I don't know where to look for APIs or information about the mechanism behind this functionality.
Also, is it possible to add an icon that doesn't represent something on the filesystem. It seems like it should be possible given things like Iconify seem to work similarly. Any info on this would also be appreciated. |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Technoid
![]()
Join Date: Nov 2004
Posts: 228
|
im not a programmer but its saved in the .backdrop file saved in root of the partition iirc. So you just need to edit that file.
|
||||||||
|
|
|
|
|
#3 | ||||||||||
|
Cult Member
![]()
|
Quote:
Quote:
|
||||||||||
|
|
|
|
|
#4 | |||||||||
|
Premium Member
|
Thanks. Let me know what you can. It would be nice to do this without having another dependency like ARexx but worse come to worst I can do that. I modified the .backdrop file but changes didn't take effect so I assume there is something I need to do to make the system recognize the changes. Reset WB didn't do it (what is that good for anyway?!)
Quote:
|
|||||||||
|
|
|
|
|
#5 | ||||||||
|
Technoid
![]()
|
Icons can be added to Workbench with AddAppIcon() of workbench.library.
|
||||||||
|
|
|
|
|
#6 | ||||||||
|
Banned
|
Reset WB is a mysterious and powerful function.
__________________
The Amiga.org Music Production Group Join the Google Amiga Map!! Click Here: Online petition - Support for whistleblowing nurse struck off by NMC |
||||||||
|
|
|
|
|
#7 | |||||||||
|
Cult Member
![]()
Join Date: Aug 2007
Location: Kansas
Posts: 738
|
Quote:
Here is a guide with the Workbench Arexx interface (AmigaOS 3.5+)... http://www.heywheel.com/matthey/Amiga/WBguide.lha This guide should already be installed if you are using the unofficial AmigaOS 3.9 BoingBag 3 and up. If installed, you can use the help key at any time from Workbench to bring it up. You can also use the help key while in the menu to bring up help for a particular menu item. It's not very thorough with the help but the Workbench ARexx documentation is quite good. It looks like the icons you want to put away or leave out would have to be selected with the "ICON" command (or let the user do it) then the "MENU INVOKE ICONS.LEAVOUT" or "MENU INVOKE ICONS.PUTAWAY" command used to do the work. Using the "WORKBENCH" ARexx host is a lot better and more reliable than hacking it even if you send the command directly to this port without opening ARexx. |
|||||||||
|
|
|
|
|
#8 | |||||||||
|
Premium Member
|
Wow, that's great info. Perhaps I have been too biased with my slant on doing without dependencies. I'll look into it. The problem is that I am writing some CLI commands for use in very early startup (before Workbench is loaded) but would like to work even after it's come up.
Thanks for all that information. I'll see what I can drum up if my install of CubicIDE ever finishes. Quote:
|
|||||||||
|
|
|
|
|
#9 | ||||||||
|
Defender of the Faith
![]()
|
Well, you cannot tell Workbench to leave out icons when there is no Workbench around to listen. Sounds to me like you want to edit the :.backdrop files, these will be read by Workbench when it is launched.
__________________
-- kolla |
||||||||
|
|
|
|
|
#10 | ||||||||
|
Banned
|
And it's mystery is exceded only by it's power.
__________________
The Amiga.org Music Production Group Join the Google Amiga Map!! Click Here: Online petition - Support for whistleblowing nurse struck off by NMC |
||||||||
|
|
|
|
|
#11 | ||||||||
|
Premium Member
|
|
||||||||
|
|
|
|
|
#12 | ||||||||
|
Cult Member
![]()
Join Date: Aug 2007
Location: Kansas
Posts: 738
|
|
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| coding , icons , leave out , programmatically , put away |
| Thread Tools | |
| Display Modes | |
|
|