> On Nov 6, 2016, at 11:54 AM, hh <[email protected]> wrote:
> 
> Tested to work here in LC 9.0.0-dp1 on
> 
> MacOS 10.12.1
> Win 7/10
> Linux (Mint173)
> 
> on mouseUp
>   put specialfolderPath(home)&"/test.png" into sph
>   export snapshot from img "test" to file sph as PNG
> end mouseUp
> 
> So you could test whether you have write permission in the
> folder where you wish to write to.

A very good point, I found the defaultFolderPath was set to;

/Users/paulhibbert/Library/Application Support/RunRev/Documentation 
Cache/9_0_0_dp_1_commercial/IDE

After I had been using the dictionary I presume.

So that wasn’t going to work out well! In fact LC9.0.0(dp1) did write the file, 
it just wasn’t where I expected it to be, but that’s because I didn’t control 
the destination in my (quick) experiment - another lesson learnt. :)

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

Reply via email to