Down a leafy lane or up queer street?

Richmond Mathewson richmondmathewson at gmail.com
Sat Apr 28 13:38:52 EDT 2018


Here I go agin, replying to my own posting:

I have this script in the stack:

onpreOpenStack

setitemDelto"/"

setthedefaultFoldertoitem 1 to-2 of(theeffectivefileNameofthis stack)

endpreOpenStack

but it ain't working.

Richmond.


On 28/4/2018 8:34 pm, Richmond Mathewson wrote:
> Probably both . . .
>
> So, there I am opening an on-going project I have been "somewhat 
> remiss" about of late
> what with one thing and another.
>
> Now this project has a ton of images made via the Object/New 
> Control/Image menu
> and for their image data in their property panels are referred to a 
> folder called "rez"
> that resides in the same folder as my stack.
>
> Now when I set up the stack the source field in the property panels 
> went something
> like this:
>
> /Users/richmondmathewson/Desktop/myCrap/rez/c7.png
>
> and "everything worked perfectly" . . .
>
> on reopening the stack the image data does not show up
> and the source fields contain this sort of thing:
>
> rez/c7.png
>
> now this "just won't do" as the . . . well, never mind; probably that 
> is too filthy a joke for the Use-List.
>
> So . . . presumably, I need a sort of 'set the default file path' 
> script in my openScript thang?
>
> Richmond.




More information about the use-livecode mailing list