Quote:
broadblues wrote:
@trixie
I'm not sure that appdir helps at all.
The issue is not that any of the scripts need to know where sketchblock is it's that ARexx needs to know where the scripts are.
Sending script commands to ARexx (via arexx.class at least) requires an absolute path to the script.
None of the script locations or any paths are hard coding into SketchBlock they are all setup via the xml prefs file.
It will take some extra work, but SketchBlock could always process the paths to make them absolute before sending them to arexx.class. There are two possible options:
- Check if the path is relative or absolute; if it is relative, then add SketchBlock's absolute path
- If the path in the prefs file has PROGDIR: at the start, then replace that with SketchBlock's absolute path
I took a quick look at the screenshots, and I think that SketchBlock is coming along nicely. Well done.
Hans