on mouseUp
    local tRelativeURL
    -- repeat with x = 1 to (the number of cards of stack “SlideShowSetUp”)
    --go card x
   set the itemdelimiter to “/”
    put (the item -2 to -1 of the filename of img “slideimage” ) into 
tRelativeURL
   # this works is: there is a path
   # 1-ellora/dsc1234.jpg

   # this will work
    Set the defaultFolder to item 1 to -3 of the filename of img “slideimage”

    # Just in case:
    If there is not a folder “_ForWebSite” then
         Create folder “_ForWebSite”
    End if

    put URL(“binfile:” & tRelativeURL ) into URL(“binfile:_ForWebSite/” & 
tRelativeURL)
   
    # I’m going to assume this was a hiccup too and now fixed:
   set the filename of img “slideimage” to URL(“binfile:_ForWebSite/” & 
tRelativeURL)
   
    -- end repeat
end mouseUp


> On 6 Sep 2020, at 14:58, Sannyasin Brahmanathaswami via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Maybe  it is aphasia...
> 
> How do we get file from one location to another location
> 
> ??
> 
> Brahmanathaswami


_______________________________________________
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