To get your ‘Project Location’ you can do something like this.
You may found those other posts useful.