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? _______________________________________________ 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