[jawsscripts] Re: Linking a file to the compiler

  • From: Soronel Haetir <soronel.haetir@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sat, 16 Nov 2013 13:06:35 -0900

I'm pretty sure you would need to know the name of the child directory at least.

I would expect

Use "ChildDir\\MyFile.jsb"

To work, finding ChildDir relative to the current file, but you would
certainly need to know what ChildDir is going to be.  If you wanted to
get fasncy I suppose you could have an installer that overwrites the
script file with the actual value of ChildDir and then somehow
triggers the jaws script compiler, but that honestly seems like it
would be a lot more work than it is worth, even if you could make it
work.

On 11/16/13, Csaba Godo <arpadhazi68.jawsul@xxxxxxxxx> wrote:
> Hi guys,
>
> I'm back in with a question. Now it concerns about the use and include
> directrives in JAWS Basic. Mmy question is whether they can accept only
> fully qualified pathes or not? I mean if it is somehow possible to use
> path string with them like in HTML pages, where it is not necessary to
> fuly qualify the path if it refers to a subdirectory of the directory
> where the actual page is located. Like this "../pages/x.jpg". I'm not at
> home in C programming, so I do not know how files can be linked into the
> compilation process.
>
> I would like to separate my scripts into two parts and place the
> reusable library scripts into a subdirectory of the common directory of
> JAWS. When I pass only the file name then the compiler looks for the
> referred file in the same directory where the JSS file, which refers to
> it is located. If I pass the fully qualified path, like the one  below,
> it works.
>
> This works: use "C:\\JFW Extensions\\Lib.Messages.jsb".
> But I'd like to put them into a subdirectory of the common JAWS
> directory, whose exact path is unknown.
>
> Thanks in advance for your help!
>
> Csaba
>
> __________ďż˝
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>


-- 
Soronel Haetir
soronel.haetir@xxxxxxxxx
__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: