Yeah, I know…..
> On Mar 21, 2019, at 7:46 AM, Bob Sneidar via use-livecode
> wrote:
>
> It is ALWAYS the developer's fault. ;-)
>
> Bob S
>
>
>> On Mar 20, 2019, at 19:37 , Roger Guay via use-livecode
>> wrote:
>>
>> Yes, you are so right! I found my problem: Some of my filenames had sl
It is ALWAYS the developer's fault. ;-)
Bob S
> On Mar 20, 2019, at 19:37 , Roger Guay via use-livecode
> wrote:
>
> Yes, you are so right! I found my problem: Some of my filenames had slashes
> in them which created confusion for the filePath. Once I got rid of the
> slashes, everything w
Yes, you are so right! I found my problem: Some of my filenames had slashes in
them which created confusion for the filePath. Once I got rid of the slashes,
everything worked as one would expect. BTW, it’s not really my fault . . . I
didn’t put the slashes in the names . . . my customer did. S
You are providing a path and a file name. They are just not provided as
separate parameters. The suggested file name must be placed at the end of the
path location.
On Mar 20, 2019, 9:42 PM -0400, Roger Guay via use-livecode
, wrote:
> Thank you, Herman, but by providing this solution, are you
Thank you, Herman, but by providing this solution, are you saying that one
cannot specify BOTH a defaultName and a defaultFilePathin a standard ask file
prompt???
Roger
> On Mar 20, 2019, at 2:21 PM, hh via use-livecode
> wrote:
>
> Create a *full* filePath. For example:
>
> ask file "Save
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 i
Ok, that’s very reasonable and works. Now how do I also add a default name to
the mix? If I append a defaultFileName to the defaultFilePath, it no longer
sticks to the defaultFilePath.
Roger
> On Mar 20, 2019, at 9:25 AM, Alex Tweedly via use-livecode
> wrote:
>
>
> ask file prompt [with
ask file prompt [with *defaultFilePath*] [with filter *types*] [as sheet]
On 20/03/2019 16:13, Roger Guay via use-livecode wrote:
This should be easy, but I’m having difficulty with this:
In the Ask File prompt, is there a way to make the “Where” field to always
default to a specific folder?