Once again this may seem obvious but I have searched and can find no relevant information.
I am successfully using the screen capture feature now (see my other post) and so far it seems to be working great...
However one of my users could not get the application (which is an .exe file) to work at all. It baffled me until I discovered that he is German.
My application comes with an installer that on most systems installs to:
C:\Program Files\Phil Pendlebury\Multi Export Audio\ *FILES HERE*
In my script I had been using all commands for screens, ini file etc.
Code: Select all
ScreenCapture>0,0,srx,sry,C:\Program Files\Phil Pendlebury\Multi Export Audio\export.bmp
C:\Programme\Phil Pendlebury\Multi Export Audio\ *FILES HERE*
So all the paths in my script do not work.
SO TO MY QUESTION AT LAST

How to set a relative path in a script.
I noticed that ini files don't need a path at all but screen capture and compare does.
Is there a variable or some way of replacing:
Code: Select all
ScreenCapture>0,0,srx,sry,C:\Program Files\Phil Pendlebury\Multi Export Audio\export.bmp
Code: Select all
ScreenCapture>0,0,srx,sry,FOLDER THAT APP SCRIPT EXE IS IN\export.bmp