How Do You Get Filename / Image
brahma at hindu.org
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!
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
Pi Digital wrote:
More information about the use-livecode