Yes! It was so easy. 

I did not expect to find that

specialFolderPath("resources")

 on desktop went to folder with your stack inside it. Perfect for tDefaultFolder

This did my job! Yay!

on mouseUp
   local tImageName, tDestinationPath,tFolder, tDefaultFolder
   put specialFolderPath("resources") into tDefaultFolder
   
   set the itemdelimiter to "/" 
   
   repeat with x = 1 to the number of cards
      go card x 
      put the filename of img "slideImage"  into tImageName
      
        put item 1 of tImageName into tFolder    
      create folder tDefaultFolder & "/_ForWebSite/" & tFolder
      
      put tDefaultFolder & "/" & the filename of img "slideImage" into 
tImageName
      put tDefaultFolder & "/_ForWebSite/" & tFolder & "/" into tDestinationPath
      
      revCopyFile tImageName, tDestinationPath
   end repeat
end mouseup



Pi Digital wrote:

    I see. 

_______________________________________________
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

Reply via email to