English Amiga Board


Go Back   English Amiga Board > Support > support.AmigaOS

 
 
Thread Tools
Old 26 August 2023, 22:02   #1
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,879
Path of a window under workbench

Is there a way to display or to know the path of any given opened workbench window? This is pretty annoying to do not have the path displayed.
kamelito is offline  
Old 26 August 2023, 23:42   #2
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,399
Open the Icon Information window of any item within the window maybe?
Daedalus is offline  
Old 27 August 2023, 07:28   #3
EctoOne
Registered User
 
EctoOne's Avatar
 
Join Date: Jun 2020
Location: Germany
Posts: 375
I have a little script which I run with ToolsDaemon to show the path of a selected file.

Code:
.KEY SELECTION/A
REQUESTCHOICE >NIL: "Path" "<SELECTION>" OK
It's saved as S:GetPath with the S protection bit.
And the command line in Tools Daemon is:
Code:
GetPath []
EctoOne is offline  
Old 29 August 2023, 18:41   #4
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,879
Thanks
As for information I did it and have seen no path, might look again.
kamelito is offline  
Old 29 August 2023, 20:16   #5
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,366
If all you want is to see the full path to the contents of an open workbench window and are using at least wb 2.x, you may eventually choose to select "show all files" to see files that normally have no icon.
Then, double-click one - it must have "executable" protection bit set - and the wb will open its "enter command and its arguments" popup.
In that popup, remove the name of the file and type cd in place of it. You should then see an output window with the path.
meynaf is offline  
Old 29 August 2023, 23:16   #6
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,267
Quote:
Originally Posted by kamelito View Post
Thanks
As for information I did it and have seen no path, might look again.

To see the path, open a Shell and drag an icon that is located
in the window, having done this the path will appear in the Shell.
AMIGASYSTEM is offline  
Old 29 August 2023, 23:16   #7
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,399
Quote:
Originally Posted by kamelito View Post
As for information I did it and have seen no path, might look again.
The full path is in the title of the Information window of any icon.
Daedalus is offline  
Old 29 August 2023, 23:37   #8
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,267
My method work only with some OS (OS3.2/OS3.9 BB4), for example, they do not work with OS 3.0/3.1/OS3.9/OS3.9 BB2

Last edited by AMIGASYSTEM; 29 August 2023 at 23:49.
AMIGASYSTEM is offline  
Old 30 August 2023, 11:23   #9
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,879
Thanks for the tips the AmigaOS team should put the path in the window bar, it should be handy and should not need any extra steps.
kamelito is offline  
Old 30 August 2023, 11:24   #10
pixie
Registered User
 
pixie's Avatar
 
Join Date: May 2020
Location: Figueira da Foz
Posts: 446
Quote:
Originally Posted by AMIGASYSTEM View Post
My method work only with some OS (OS3.2/OS3.9 BB4), for example, they do not work with OS 3.0/3.1/OS3.9/OS3.9 BB2
If you use kingcon you can have it working everywhere
pixie is offline  
Old 30 August 2023, 11:52   #11
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,667
Quote:
Originally Posted by meynaf View Post
If all you want is to see the full path to the contents of an open workbench window and are using at least wb 2.x, you may eventually choose to select "show all files" to see files that normally have no icon.
Then, double-click one - it must have "executable" protection bit set - and the wb will open its "enter command and its arguments" popup.
In that popup, remove the name of the file and type cd in place of it. You should then see an output window with the path.
That's quite complicated. When using 3.1.4 or 3.2, simply select Execute Command and enter "cli". The CLI will have the working path of whatever window was active at that time.
derSammler is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Workbench Window Titles DisasterIncarna Coders. Blitz Basic 6 25 July 2022 10:00
set script path as relative path Tolgod Coders. Scripting 3 05 November 2021 13:08
Workbench 3.1 Window Open Position Sim085 support.Other 16 17 March 2019 02:01
Workbench 1.3 path and icon default tool question AmigaLee support.Other 3 15 March 2019 17:10
Strange Workbench path anchor Coders. General 5 29 November 2015 17:28

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:15.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11000 seconds with 13 queries