I thought I'd "play a game", so I set up a new stack with 2 buttons:

[Mac OS]

Button 1 contained this script:

onmouseUp
    setthedefaultfoldertospecialfolderpath("resources"
endmouseUp

and Button 2 contained this script:

onmouseUp
  putthedefaultFolder
endmouseUp

I clicked on Button 1 and then on Button 2

and got this in the Message Box:

/Users/richmondmathewson/LiveCode/LiveCode Indy 8.1.8.app/Contents/Tools/Toolset

So, feeling "really daring" I made a third button, "Button 3" (surely not?)
containing this script:

onmouseUp
    setthedefaultfoldertoitem 1 to-5 oftheeffectivefilenameofthis stack
endmouseUp

then clicked Button 3 followed by Button 2, and got this in the Message Box:

/Users/richmondmathewson/LiveCode/LiveCode Indy 8.1.8.app/Contents/Tools/Toolset

so, obviously " setthedefaultfoldertoitem 1 to-5 oftheeffectivefilenameofthis stack"

is useless.

Richmond.


On 10/1/2018 1:32 pm, Klaus major-k via use-livecode wrote:
set the defaultfolder to specialfolderpath("resources")

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to