Reply To: BathymetrySaverTool How to change the location and dimensions

Home Forums AR Sandbox Forum BathymetrySaverTool How to change the location and dimensions Reply To: BathymetrySaverTool How to change the location and dimensions

#108430
mkaszuba
Participant

I am not a python scripter but, could you not use the getcdw() function? then if it is not your desired path, change the correct path in your script? For my screen capture tool I simply use this for the similar purpose:

cd /home/arsandtable/Screenshots
scrot ‘SARndbox-%Y%m%d-%H%M%S.png’
cd /home/arsandtable/src/SARndbox-3.2

this way I always get my screenshots where I want them.

When you launch the the application, the shortcut (link) on the desktop points to the application’s folder, in this case /home/arsandtable/scr/SARnbox-3.2/bin/

So what if you made a script (startApp) in your script folder, StartApp calls the application, (which should keep your scripts folder as the active one) then check then use getcdw() to report the result. If it is still the script folder then you should be okay correct?

Comments are closed.