Amiga.org
Amiga computer related discussion => General chat about Amiga topics => Topic started by: fishy_fiz on October 30, 2011, 03:09:01 PM
-
The topic pretty much says it.
It's a feature I got used to pretty quickly using AROS and I really miss it while using os3.x. Can anyone tell me if its possible please?
So far Ive considered writing a small program that's launched with shell-startup, that finds which window is active using window flags or similar, but can a full path be read that way?
Ideally Id prefer to keep it "cleaner" and not require an external program (or use something pre-existing), but if need be I dont mind doing it this way.
Can anybody offer any input here please?
Thanks in advance.
-
a sort of workaround could be this tool from aminet: http://aminet.net/package/util/shell/AppCon
Scalos has an option where you can define context menus, but this doesn't exist for OS3.x iirc.
-
With AmigaOS 3.5+, it's possible to use the Workbench.library ARexx interface to get the currently active window name using "GETATTR WINDOWS.ACTIVE". NEWSHELL does not support a path option so the FROM option with a temp script that is built on the fly containing a NEWSHELL and CD command would be necessary. ToolsDaemon or similar could launch it all with your favorite hot key.
-
such a script could be very small like this:
.key DIR
cd
newshell