A Question about Ask File
hh
hh at hyperhh.de
Wed Mar 20 17:21:03 EDT 2019
Create a *full* filePath. For example:
ask file "Save as:" with imagePath("export",".png")
function imagePath f,x
put the effective filename of this stack into p
set itemdel to slash
put 0 into z
put f&z&x into last item of p
repeat while there is a file p
add 1 to z
put f&z&x into last item of p
end repeat
return p
end imagePath
> Roger G. wrote:
> Now how do I also add a default name to the mix?
>
> > Alex T. wrote:
> > ask file prompt [with *defaultFilePath*] [with filter *types*] [as sheet]
> >
> >> Roger G. wrote:
> >> In the Ask File prompt, is there a way to make the “Where” field to
> >> always default to a specific folder?
More information about the use-livecode
mailing list