Saving into invisible folders ?

Richmond richmondmathewson at gmail.com
Tue Apr 16 02:22:58 EDT 2013


On 16/04/13 08:58, John Craig wrote:
> I've not seen this before;
> specialFolderPath(".myMuck")
>
> Does it work if;
> specialFolderPath("Home") & "/.myMuck"
>
> ?
>
> Sent from my iPhone
>
>

Thank you, John.

If I put this bit:

set the defaultFolder to specialFolderPath("Home")
    create folder ".myMuck"
    set the defaultFolder to specialFolderPath("Home") & "/.myMuck"

inside a "mouseDown"

and this bit:

  export snapshot from group "PAIR" to file "PAIR.png" as PNG

inside a "mouseUp"

  a file "PAIR.png" is saved into a file ".myMuck"

----------------------------------------------------------------

Quite why things go wonky when both of those scripts are inside a "mouseUp"
I just don't know.

Richmond.





More information about the use-livecode mailing list