binFile and windows

Eric Sciolli eric.sciolli at sunrise.ch
Sat Aug 30 04:28:18 EDT 2014


Hello
I would save some images from a stack to the hard disk using binfile:

ask file "Save image as:"

      put it into lFolderPath

      create folder lFolderPath & "/img"
      put "binFile:/" & lFolderPath & "/img/gruppo.png" into lImage
      put img "gruppo" of cd "stampa" of stack "stampaObiettivi" into URL
lImage

      put "binFile:/" & lFolderPath & "/img/utente.png" into lImage
      put img "utente" of cd "stampa" of stack "stampaObiettivi" into URL
lImage

On macosx it works perfectly: it creates a folder "img" and put the 2
images on it; on windows it only creates the folder "img" but no images are
created. Someone can help me?

Thanks to all

Eric



More information about the use-livecode mailing list