Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Suggestions ➜ relative path saving for all browse locations within the main directory

relative path saving for all browse locations within the main directory

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Fiendish   USA  (2,558 posts)  Bio   Global Moderator
Date Tue 09 Jan 2018 12:41 AM (UTC)
Message
There are currently still a few things that seem to save with full paths rather than relative ones. Trigger sounds, external script file, basically anything that comes from a browse dialog. We've been getting a lot of requests lately about transferring MUSHclient with settings intact from one computer to another, and this is getting in the way. What do you think about making sure that all browse dialogues convert the result to a relative path for anything inside the MUSHclient directory?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 09 Jan 2018 04:40 AM (UTC)
Message
I am wary of the file browser changing the "current directory" however in principle it sounds like a good idea.

Are you suggesting that if you browse for something, and we get an absolute path, and that path happens to be inside the MUSHclient executable directory path, that it gets converted to a relative path? Or maybe throw in something like %EXECUTABLE% which gets converted back later?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fiendish   USA  (2,558 posts)  Bio   Global Moderator
Date Reply #2 on Tue 09 Jan 2018 04:53 AM (UTC)
Message
Nick Gammon said:

Are you suggesting that if you browse for something, and we get an absolute path, and that path happens to be inside the MUSHclient executable directory path, that it gets converted to a relative path?


Yes. This one. That way if you move the MUSHclient folder to a different location the path will still be correct.

https://github.com/fiendish/aardwolfclientpackage
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,626 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.