The path is shown above the file panel. It can be retrieved before opening Shift-F4 dialog.SanskritFritz wrote:2Jungle
2.) interesting, how would you get the path in the Shift-F4 dialog?
Migrating user questions:Text editor & making directorie
Moderators: white, Hacker, petermad, Stefan2
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
wow! Of course you are right. BTW the path can be retrieved even after the dialog is opened (well, only if one TC is open) and it is maybe easier to do it like this:The path is shown above the file panel. It can be retrieved before opening Shift-F4 dialog.
Code: Select all
ControlGetText sPath, TMyPanel2
StringMid sPath, sPath, 1, StrLen(sPath) -1
I switched to Linux, bye and thanks for all the fish!
Currently i have only 3 scripts including one being discussed. One inserts dir name under cursor (if any) in the edit of F7 dialog. But such feature is already planned for v7. The last tries to create file in the each newly created dir. It works correctly if dirs creation succeeded (because of current TC behaviour).SanskritFritz wrote:PS: i'm sure you have other useful scripts as well
They are on my homepage.
Useful? For you to decide.
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary