How Do You Get Filename / Image

Sannyasin Brahmanathaswami brahma at
Mon Sep 7 22:32:47 EDT 2020

Yes! It was so easy. 

I did not expect to find that


 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. 

More information about the use-livecode mailing list