Skip to content

Getting Path to Current Project #1002

Answered by thestr4ng3r
Martyx00 asked this question in Q&A
Discussion options

You must be logged in to vote

There is not really something like a "currently opened" project file. The session is restored from a project file and then it becomes completely independent of that file.
But you can determine the (maybe relative) path of the last saved or loaded file using e prj.file and that is also the default path saved to when using Ps without arguments.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Martyx00
Comment options

Answer selected by Martyx00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants