Re: Contesting for Idiot du Jour
I’m sorry, I don’t understand your terminology. Could you please elaborate? Thanks, Roger > On Sep 6, 2020, at 10:54 AM, Pi Digital via use-livecode > wrote: > > Pixel math: > > Counting incomplete pixels within a circle outline (%Pass)(%Fail): > 10x10 = 88 (88%)(12%) > 20x20 = 344 (86%)(14%) > 100x100 = 8012 (80%)(20%) > > Counting complete pixels: > 10x10 = 48 (48%)(52%) > 20x20 = 276 (69%)(31%) > 100x100 = 7444 (74.4%)(26%) > > Your conclusion here: _ > > ___ > 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 ___ 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
GABRIELE STROE could you please contact me
Dear Gabriele Stroe, We (Economy-x-Talk) have tried to contact you in every possible way. We have even tried to call you, but your phone number appears dysfunctional. Please contact me as a as possible by sending an e-mail addres to m.schonewi...@economy-x-talk.com, or contact me on Twitter (xtalkprogrammer) or Facebook (marksch) if you have trouble sending e-mails. -- Mark Schonewille Economy-x-Talk https://ecxtalk.nl https://www.nt2.nu Programming LiveCode for the Real Beginner http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner ___ 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
Re: How Do You Get Filename / Image
I’ll try that again:: # I’m going to assume this was a hiccup too and now fixed: set the filename of img “slideimage” to (item 1 to -3 of the filename of img “slideimage” & “/_ForWebSite/” & tRelativeURL) > On 6 Sep 2020, at 23:01, Pi Digital via use-livecode > wrote: > > # I’m going to assume this was a hiccup too and now fixed: > set the filename of img “slideimage” to URL(“binfile:_ForWebSite/” & > tRelativeURL) ___ 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
Re: How Do You Get Filename / Image
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 > 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
Re: How Do You Get Filename / Image
Maybe check the result after your 'put URL... into URL ...' statement. That might give you a hint about the problem. Phil Davis On 9/6/20 2:31 PM, Sannyasin Brahmanathaswami via use-livecode wrote: Looks like that does not work on mouseUp local tImageName, tDestinationPath,tHolder set the itemdelimiter to "/" put (item -2 to -1 of the filename of img "slideImage") into tImageName put "_ForWebSite/" into tDestinationPath put tDestinationPath & tImageName into tHolder -- put URL("binfile:" & the filename of img "slideImage" ) into URL("binfile:" & tDestinationPath & tImageName) put the filename of img "slideImage" into URL("binfile:" & tDestinationPath & tImageName) end mouseUp On 9/6/20, 8:08 AM, "use-livecode on behalf of Brian Milby via use-livecode" wrote: Looks like you need to specify a full path for the source and destination. on mouseUp local tImageName, tDestinationPath set the itemdelimiter to "/" put (item -1 of the filename of img 1 ) into tImageName put item 1 to -2 of the filename of this stack & "/" into tDestinationPath put URL("binfile:" & the filename of img 1 ) into URL("binfile:" & tDestinationPath & tImageName) end mouseUp On Sun, Sep 6, 2020 at 9:59 AM 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 > > 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 does not work: > put URL(“binfile:” & tRelativeURL ) into > URL(“binfile:_ForWebSite/” & tRelativeURL) > > put the filename of img “slideimage” into > URL(“binfile:_ForWebSite/” & tRelativeURL) > > -- end repeat > end mouseUp > > ?? > > 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 > ___ 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 ___ 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 -- Phil Davis 503-307-4363 ___ 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
Re: How Do You Get Filename / Image
Looks like that does not work on mouseUp local tImageName, tDestinationPath,tHolder set the itemdelimiter to "/" put (item -2 to -1 of the filename of img "slideImage") into tImageName put "_ForWebSite/" into tDestinationPath put tDestinationPath & tImageName into tHolder -- put URL("binfile:" & the filename of img "slideImage" ) into URL("binfile:" & tDestinationPath & tImageName) put the filename of img "slideImage" into URL("binfile:" & tDestinationPath & tImageName) end mouseUp On 9/6/20, 8:08 AM, "use-livecode on behalf of Brian Milby via use-livecode" wrote: Looks like you need to specify a full path for the source and destination. on mouseUp local tImageName, tDestinationPath set the itemdelimiter to "/" put (item -1 of the filename of img 1 ) into tImageName put item 1 to -2 of the filename of this stack & "/" into tDestinationPath put URL("binfile:" & the filename of img 1 ) into URL("binfile:" & tDestinationPath & tImageName) end mouseUp On Sun, Sep 6, 2020 at 9:59 AM 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 > > 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 does not work: > put URL(“binfile:” & tRelativeURL ) into > URL(“binfile:_ForWebSite/” & tRelativeURL) > > put the filename of img “slideimage” into > URL(“binfile:_ForWebSite/” & tRelativeURL) > > -- end repeat > end mouseUp > > ?? > > 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 > ___ 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 ___ 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
Re: How Do You Get Filename / Image
Looks like you need to specify a full path for the source and destination. on mouseUp local tImageName, tDestinationPath set the itemdelimiter to "/" put (item -1 of the filename of img 1 ) into tImageName put item 1 to -2 of the filename of this stack & "/" into tDestinationPath put URL("binfile:" & the filename of img 1 ) into URL("binfile:" & tDestinationPath & tImageName) end mouseUp On Sun, Sep 6, 2020 at 9:59 AM 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 > > 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 does not work: > put URL(“binfile:” & tRelativeURL ) into > URL(“binfile:_ForWebSite/” & tRelativeURL) > > put the filename of img “slideimage” into > URL(“binfile:_ForWebSite/” & tRelativeURL) > > -- end repeat > end mouseUp > > ?? > > 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 > ___ 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
Re: Contesting for Idiot du Jour
Pixel math: Counting incomplete pixels within a circle outline (%Pass)(%Fail): 10x10 = 88 (88%)(12%) 20x20 = 344 (86%)(14%) 100x100 = 8012 (80%)(20%) Counting complete pixels: 10x10 = 48 (48%)(52%) 20x20 = 276 (69%)(31%) 100x100 = 7444 (74.4%)(26%) Your conclusion here: _ ___ 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
How Do You Get Filename / Image
Maybe it is aphasia... How do we get file from one location to another location 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 does not work: put URL(“binfile:” & tRelativeURL ) into URL(“binfile:_ForWebSite/” & tRelativeURL) put the filename of img “slideimage” into URL(“binfile:_ForWebSite/” & tRelativeURL) -- end repeat end mouseUp ?? 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