SVG powered images
Hi All, Jonathan Lynch wrote: > Hey guys - I figured out a solution for that bug I had previously > written a hack for. I use the image.onload handler in the JavaScript > for this. It works consistently now. I just had to get my order of events > correct in the JavaScript. > So please check out the new version This versions works really well with Animated SVG. Check a step by step recipe to play them in my answer to Klaus message: Klaus Major wrote about running animated svg: > not when viewed in Safari on a Mac! Macs always store a surprise or two! :D Check if this step by step recipe works in a Mac: 1) Download most recent version of Jonathan Lynch's stack: http://livecodeshare.runrev.com/stack/830/SVG-Powered-Images 2) Download this animated svg: https://openclipart.org/detail/230261/gearanimation02-remix This mechanical gears animation is better for detecting any "jump" in the animation conversion. 3) Import mechanical gears animated svg into Jonathan's stack 4) edit the script of gears bitmap image and add this script after "resizecontrol" handler on mousedown put the id of me into tID repeat while the mouse is down send "processSVG tID" to widget "SVGBrowser1" end repeat end mousedown 5) Click and hold down the mouse button over one gear and see them move. Tell us if this works fine on a Mac (or other OS that you use on a PC or within a Virtual Machine) Hermann Hoch wrote: > I have also a fast method, runs with 30 fps, > for taking PNG-frames from a video, so that > converting an SVG animation to PNGs is > no problem (though I can't see any sense > in doing that). Converting a video at 30 frames per seconds in PNG images? This is amazing! :D After you publish this stack, we will find many uses for this feature. Hermann, your resourceful and detailed stacks are a rich source of inspiration for many of us: http://livecodeshare.runrev.com/stack/831/SVG2PNG_6789 http://livecodeshare.runrev.com/stack/832/SVG-TextCrawler Keep Up your Great Work! :D Al ___ 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: sysError List?
Rick Harrison wrote: > LC version 8.1.4-rc-1 > macOS El Capitan (10.11.6) > > put specialFolderPath("documents”) > > yields: > /Library/WebServer/Documents > > Your thoughts? What does this return?: put specialFolderPath("temporary") -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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: sysError List?
Hi Richard, LC version 8.1.4-rc-1 macOS El Capitan (10.11.6) put specialFolderPath("documents”) yields: /Library/WebServer/Documents Your thoughts? Rick > On May 12, 2017, at 5:10 PM, Richard Gaskin via use-livecode >wrote: > > Scary. Looks like the specialFolderPath function is returning empty with the > "temporary" constant on your system? > > LC and OS versions? > > Just for diagnostics, what does this do there?: > > put specialFolderPath("documents") > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > > ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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: filter? replace? wildcard? reg exp? help please!
On 5/12/17 3:37 PM, Thierry Douez via use-livecode wrote: This should be a one-line command! I've typed this post with the new Opera browser ??? Another try with 2 lines: put "1 [A] 2 [B] 3." into tText put removeBrackets( tText) Better? Yes. It's odd that a browser would reformat it that way. I see that the middle section is omitted with my regex, so I forgot to make it non-greedy. But I've forgotten how to do that, something about a question mark, I think? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: PDF on Android
Al, Thanks for the heads up to the forum thread!!! Worked like a charm out-of-the-box. I was shocked. Have a good one... Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Alejandro Tejada via use-livecode Sent: Thursday, May 11, 2017 10:18 AM To: use-livecode@lists.runrev.com Cc: Alejandro Tejada Subject: PDF on Android Hi Ralph, Take a look at this forum thread: "New approach for offline viewing PDF inside Android browser" http://forums.livecode.com/viewtopic.php?f=53=28518=152687 MaxV uses the javascript library named pdf.js for this purpose. Al ___ 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: sysError List?
Rick Harrison wrote: >> On May 12, 2017, at 2:54 PM, Richard Gaskin wrote: >> >> put specialFolderPath("temporary") &"/livecode_qpSKBPng" \ >> into tPath > > That yields: > > tPath = /livecode_qpSKBPng > > Does that help? Scary. Looks like the specialFolderPath function is returning empty with the "temporary" constant on your system? LC and OS versions? Just for diagnostics, what does this do there?: put specialFolderPath("documents") -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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: filter? replace? wildcard? reg exp? help please!
> > >> >> >>> function removeBrackets pString >>> return replacetext(pString,"\[.*\]",empty) >>> end removeBrackets >>> >> >> >> What would be the result of next line:? >> >> *put* removeBrackets >> ( >> "1 [A] 2 [B] 3." >> ) >> > > An error. I did warn about my limited regex skills. :) So what should it be? > > Also, that's a non-standard format for a function. I've never seen it written that way before. This should be a one-line command! I've typed this post with the new Opera browser ??? Another try with 2 lines: put "1 [A] 2 [B] 3." into tText put removeBrackets( tText) Better? Thierry Thierry Douez - sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage ___ 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: ANN: new team member
Heh heh. The level is not an indication of how primitive the language is. It's an indication of how abstracted from the machine language it is. Scripting is considered to be high level not because it is advances, but because it is most like human language and least like machine language. Bob S > On May 12, 2017, at 12:37 , Mike Kerner via use-livecode >wrote: > > Except, Bob, I would consider (C)rap to be what a coder writes in. No one > who ever wrote assembly would consider that a low-level language in > comparison to C. ___ 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: ANN: new team member
Except, Bob, I would consider (C)rap to be what a coder writes in. No one who ever wrote assembly would consider that a low-level language in comparison to C. On Fri, May 12, 2017 at 2:13 PM, Rick Harrison via use-livecode < use-livecode@lists.runrev.com> wrote: > Congratulations! > > I think you’ll have to wait for several years > before coding education will pay off. > > Good luck keeping all of your hair! LOL > > Rick > > > ___ > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." ___ 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: sysError List?
Hi Richard, That yields: tPath = /livecode_qpSKBPng Does that help? Rick > On May 12, 2017, at 2:54 PM, Richard Gaskin via use-livecode >wrote: > > put specialFolderPath("temporary") &"/livecode_qpSKBPng" \ > into tPath ___ 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: Update strategy?
On 5/12/17 4:20 AM, Graham Samuel via use-livecode wrote: your method also avoids the issue of launching a completely automatic update without giving the user an opportunity to refuse. So you just get the user to run the installer, the same way as Tiemo does - is that right? It would be if I still used installers. My long-term client said she'd never use one again, it caused more problems than it solved. So we use a plain .zip file now for Windows and a .dmg for Mac. That isn't without issues as well, mostly for Windows users, who don't always understand that Windows inexplicably opens the zip file with the contents displayed, but it isn't really unzipped. When they try to double-click the .exe file, it fails and usually results in a support call. The instructions clearly state that they need to move the enclosed folder to the desktop, but users don't read, especially if it is in giant red text with underscores and stars and italics and repeated several times. (Okay, I exaggerate.) But for the most part she tells me that support is less with this method than it was for the installer they used to use. It probably depends on what installer you have. I took over the project post-installer so I don't have any experience with their previous product. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: filter? replace? wildcard? reg exp? help please!
On 5/12/17 2:08 AM, Thierry Douez via use-livecode wrote: Hi, function removeBrackets pString return replacetext(pString,"\[.*\]",empty) end removeBrackets What would be the result of next line:? *put* removeBrackets ( "1 [A] 2 [B] 3." ) An error. I did warn about my limited regex skills. :) So what should it be? Also, that's a non-standard format for a function. I've never seen it written that way before. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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: sysError List?
Rick Harrison wrote: > Sorry it has been a couple days before I could > get back to this task. > > Ok, so my file uploaded to: /tmp/livecode_qpSKBPng > > I thought that perhaps tmp was a hidden folder > so I looked on my Mac after first unhiding all files. > I’m still not seeing it. Where is this located? > > Then I’m getting an error 20 when I try to > rename (move) the file to the proper folder > where I want it to go. I don’t know what > error 20 is. Does it mean it is a permissions > problem? The file wasn’t found? I don’t know. What path do you get with the specialFolderPath function?, e.g.: put specialFolderPath("temporary") &"/livecode_qpSKBPng" \ into tPath -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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: Android Setup Config
Great :) You are welcome :) On 12 May 2017 19:45, "Dan Friedman via use-livecode" < use-livecode@lists.runrev.com> wrote: > Panos, > > WooHoo!! Adding the Android Build-tools 25.0.3 did the trick!! Not only > did LiveCode accept the “android-skk” folder as the “Location of Android > development SDK”, but it also successfully built the Android app. > > Panos, thank you. Really! Thank you for your time and your detailed > instructions. You made my day!! > > -Dan > > ___ > 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: Android Setup Config
Panos, WooHoo!! Adding the Android Build-tools 25.0.3 did the trick!! Not only did LiveCode accept the “android-skk” folder as the “Location of Android development SDK”, but it also successfully built the Android app. Panos, thank you. Really! Thank you for your time and your detailed instructions. You made my day!! -Dan ___ 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
Friday Night Drag Act
My Great Uncle, now sadly not with us, used to do a Friday night drag act, which, oddly enough brought him more money than his rather boring day job. As a conservative sort of chap I am now following in this wonderful family tradition: http://forums.livecode.com/viewtopic.php?f=7=29242 Although, frankly, I doubt if it will bring me any money. Face facts: what else could be more thrilling than this on a Friday night? Richmond. ___ 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: ANN: new team member
Congratulations! I think you’ll have to wait for several years before coding education will pay off. Good luck keeping all of your hair! LOL Rick ___ 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: sysError List?
Hi Richard, Sorry it has been a couple days before I could get back to this task. Ok, so my file uploaded to: /tmp/livecode_qpSKBPng I thought that perhaps tmp was a hidden folder so I looked on my Mac after first unhiding all files. I’m still not seeing it. Where is this located? Then I’m getting an error 20 when I try to rename (move) the file to the proper folder where I want it to go. I don’t know what error 20 is. Does it mean it is a permissions problem? The file wasn’t found? I don’t know. Let me know if you have any ideas. Thanks, Rick > On May 9, 2017, at 8:20 PM, Richard Gaskin via use-livecode >wrote: > > Rick Harrison wrote: > > > I did some experiments and did get one instance > > of rename to work properly. Apparently I had > > a permissions problem with writing to the folder/file. > > Yep, most things with file I/O that fails are either paths or permissions. > Glad you got that sorted. > > > Other issues I’m running into are: > > > > 1. I’m running into some 32,767 array size > > error when trying to upload large images > > to the server. Images smaller than > > the magic figure upload fine, and larger > > files over that figure throw and error > > message and fail to upload. > > "array size"? Where is that error coming from, the client or the server? > > > > 2. Where can I find the LiveCode tmp folder > > where the images are initially uploaded? > > > > I need the complete file path to that so > > I can move the images where I want them. > > Unless there is a way I can upload directly > > to the file folder I want? > > I generally only use standalones on the server, and I handle buffering to > disk myself. > > Anyone here know if LC Server does that differently? If so, where are those > temp files? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > > ambassa...@fourthworld.comhttp://www.FourthWorld.com > > ___ > 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: Android Setup Config
Hi Dan, I have download the “tools_r24.4.1-macosx.zip” and unzipped it into a folder android-sdk. Then launched tools/android and installed “Android 4.0.3 (API 15)”. Now when I launch tools/android I see at the top: (These are the installed versions) Android SDK Tools: 24.4.1 Android SDK Platform-tools: 25.0.5 Android SDK Build-tools: 25.0.3 Moreover, my android-sdk folder contains those folders: add-ons build-tools platform-tools platforms sources system-images temp tools And the “platforms” folder contains a folder “android-15” I can successfully set the “Location of Android development SDK root” in the LC Prefs, and also to create an android standalone. Hope this helps, Panos — On Fri, May 12, 2017 at 7:00 PM, panagiotis merakoswrote: > Hmm your /MacintoshHD/android-sdk/ directory should also include a folder > "build-tools". Since it is not present, you can install it using the SDK > Manager: > > Launch tools/android > Find an item "Android SDK Build-tools" (should be at the top) > Tick the checkbox and select "Install packages" > > After that the problem should be fixed :) > > Best, > Panos > -- > > On Fri, May 12, 2017 at 6:34 PM, panagiotis merakos > wrote: > >> Hi Dan, >> >> Your setup sounds perfectly fine to me. Could you please check if there >> is a file /tools/lib/sdklib.jar? >> >> In the meanwhile I will check the version of the Android SDK Tools I have >> installed in my Mac which works OK with LC. >> >> Best, >> Panos >> -- >> >> On Fri, May 12, 2017 at 6:06 PM, Dan Friedman via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>> Panos, >>> >>> Thanks again for the help, but I think I must be stupid. I selected >>> “Desktop” and still got “invalid Android SDK”. So, I deleted everything, >>> redownloaded “tools_r24.4.1-macosx.zip” and put it in it’s own folder at: >>> /MacintoshHD/android-sdk/. I then unzipped it and launched >>> /MacintoshHD/android-sdk/tools/android. I selected “Android 4.0.3 >>> (API 15)” and clicked “Install Packages”. When the install was complete, >>> I went back to LC 8.1.3 and in Preferences I selected >>> /MacintoshHD/android-sdk/ as the “Location of Android development SDK >>> root”. Once again, “invalid Android SDK”. >>> >>> The /MacintoshHD/android-sdk/ directory contains these items: >>> add-ons >>> platform-tools >>> platforms >>> sources >>> system-images >>> temp >>> tools >>> tools_r24.4.1-macosx.zip >>> >>> >>> Any other thoughts or advise? Maybe I’m destined to only make iPhone >>> apps? >>> >>> -Dan >>> ___ >>> 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: Android Setup Config
Hmm your /MacintoshHD/android-sdk/ directory should also include a folder "build-tools". Since it is not present, you can install it using the SDK Manager: Launch tools/android Find an item "Android SDK Build-tools" (should be at the top) Tick the checkbox and select "Install packages" After that the problem should be fixed :) Best, Panos -- On Fri, May 12, 2017 at 6:34 PM, panagiotis merakoswrote: > Hi Dan, > > Your setup sounds perfectly fine to me. Could you please check if there is > a file /tools/lib/sdklib.jar? > > In the meanwhile I will check the version of the Android SDK Tools I have > installed in my Mac which works OK with LC. > > Best, > Panos > -- > > On Fri, May 12, 2017 at 6:06 PM, Dan Friedman via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Panos, >> >> Thanks again for the help, but I think I must be stupid. I selected >> “Desktop” and still got “invalid Android SDK”. So, I deleted everything, >> redownloaded “tools_r24.4.1-macosx.zip” and put it in it’s own folder at: >> /MacintoshHD/android-sdk/. I then unzipped it and launched >> /MacintoshHD/android-sdk/tools/android. I selected “Android 4.0.3 (API >> 15)” and clicked “Install Packages”. When the install was complete, I >> went back to LC 8.1.3 and in Preferences I selected >> /MacintoshHD/android-sdk/ as the “Location of Android development SDK >> root”. Once again, “invalid Android SDK”. >> >> The /MacintoshHD/android-sdk/ directory contains these items: >> add-ons >> platform-tools >> platforms >> sources >> system-images >> temp >> tools >> tools_r24.4.1-macosx.zip >> >> >> Any other thoughts or advise? Maybe I’m destined to only make iPhone >> apps? >> >> -Dan >> ___ >> 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: Android Setup Config
Hi Dan, Your setup sounds perfectly fine to me. Could you please check if there is a file /tools/lib/sdklib.jar? In the meanwhile I will check the version of the Android SDK Tools I have installed in my Mac which works OK with LC. Best, Panos -- On Fri, May 12, 2017 at 6:06 PM, Dan Friedman via use-livecode < use-livecode@lists.runrev.com> wrote: > Panos, > > Thanks again for the help, but I think I must be stupid. I selected > “Desktop” and still got “invalid Android SDK”. So, I deleted everything, > redownloaded “tools_r24.4.1-macosx.zip” and put it in it’s own folder at: > /MacintoshHD/android-sdk/. I then unzipped it and launched > /MacintoshHD/android-sdk/tools/android. I selected “Android 4.0.3 (API > 15)” and clicked “Install Packages”. When the install was complete, I > went back to LC 8.1.3 and in Preferences I selected > /MacintoshHD/android-sdk/ as the “Location of Android development SDK > root”. Once again, “invalid Android SDK”. > > The /MacintoshHD/android-sdk/ directory contains these items: > add-ons > platform-tools > platforms > sources > system-images > temp > tools > tools_r24.4.1-macosx.zip > > > Any other thoughts or advise? Maybe I’m destined to only make iPhone apps? > > -Dan > ___ > 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: ANN: new team member
My guess is, a scripter writes in a high level language like Applescript or Livecode script. A programmer writes in a mid level language like C++ or Pascal. A coder writes in a low level language like assembly. > On May 12, 2017, at 09:53 , Richmond Mathewson via use-livecode >wrote: > > ? > > On 5/12/17 7:00 pm, Mike Kerner via use-livecode wrote: >> I hope it's a scripter, not a coder or a programmer. > > If you could be so kind as to explain exactly what the diffierences are > between > a scripter, a coder and a programmer, I, for one, would feel I could breath > more easily at night :) > > Richmond. ___ 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: Android Setup Config
Panos, Thanks again for the help, but I think I must be stupid. I selected “Desktop” and still got “invalid Android SDK”. So, I deleted everything, redownloaded “tools_r24.4.1-macosx.zip” and put it in it’s own folder at: /MacintoshHD/android-sdk/. I then unzipped it and launched /MacintoshHD/android-sdk/tools/android. I selected “Android 4.0.3 (API 15)” and clicked “Install Packages”. When the install was complete, I went back to LC 8.1.3 and in Preferences I selected /MacintoshHD/android-sdk/ as the “Location of Android development SDK root”. Once again, “invalid Android SDK”. The /MacintoshHD/android-sdk/ directory contains these items: add-ons platform-tools platforms sources system-images temp tools tools_r24.4.1-macosx.zip Any other thoughts or advise? Maybe I’m destined to only make iPhone apps? -Dan ___ 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: ANN: new team member
? On 5/12/17 7:00 pm, Mike Kerner via use-livecode wrote: I hope it's a scripter, not a coder or a programmer. If you could be so kind as to explain exactly what the diffierences are between a scripter, a coder and a programmer, I, for one, would feel I could breath more easily at night :) Richmond. On Fri, May 12, 2017 at 11:54 AM, Devin Asay via use-livecode < use-livecode@lists.runrev.com> wrote: Congratulations, Ali! RE a new future programmer. As they say out here in the wild, wild west (paraphrased): Mommas, don’t let your babies grow up to be coders, Don’t let ‘em parse text files and wade through old cruft, Let ‘em be doctors and lawyers and such. Apologies to Ed Bruce and Waylon Jennings. Devin On May 11, 2017, at 10:51 AM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: Word from the grapevine is that Ali Lloyd is the new father of a baby programmer. -- Mark Wieder ahsoftw...@gmail.com ___ 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 Devin Asay Director Office of Digital Humanities Brigham Young University ___ 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: Android Setup Config
Hi Dan, You have to select the parent folder that contains the "tools" folder as the “Location of Android development SDK root”, so in that case you have to select "Desktop". Or even better, move the "tools" folder (and every other folder that was installed to your Desktop after installing the Android 4.0.3) into a new folder called "android-sdk", and select "android-sdk" as the “Location of Android development SDK root". This folder should contain at least the following folders: - tools - platform-tools - platforms Hope this helps, Panos -- On Fri, May 12, 2017 at 5:26 PM, Dan Friedman via use-livecode < use-livecode@lists.runrev.com> wrote: > Panos, > > Thank you for the assistance! But, didn’t work for me. Here’s what I > did: > > (1) Downloaded “tools_r24.4.1-macosx.zip” and unzipped it. Now I have a > “tools” folder on my desktop. > (2) I double-clicked /desktop/tools/android. The “Android SDK Manager” > opened. > (3) I selected “Android 4.0.3 (API 15)” and clicked “Install Packages”. > (4) After the install was complete, I went back to LC 8.1.3 and in > Preferences I selected the /desktop/tools/ as the “Location of Android > development SDK root”. Nada – invalid Android SDK. > > What did I do wrong? > > -Dan > ___ > 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: Android Setup Config
Panos, Thank you for the assistance! But, didn’t work for me. Here’s what I did: (1) Downloaded “tools_r24.4.1-macosx.zip” and unzipped it. Now I have a “tools” folder on my desktop. (2) I double-clicked /desktop/tools/android. The “Android SDK Manager” opened. (3) I selected “Android 4.0.3 (API 15)” and clicked “Install Packages”. (4) After the install was complete, I went back to LC 8.1.3 and in Preferences I selected the /desktop/tools/ as the “Location of Android development SDK root”. Nada – invalid Android SDK. What did I do wrong? -Dan ___ 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: ANN: new team member
I hope it's a scripter, not a coder or a programmer. On Fri, May 12, 2017 at 11:54 AM, Devin Asay via use-livecode < use-livecode@lists.runrev.com> wrote: > Congratulations, Ali! > > RE a new future programmer. As they say out here in the wild, wild west > (paraphrased): > > Mommas, don’t let your babies grow up to be coders, > Don’t let ‘em parse text files and wade through old cruft, > Let ‘em be doctors and lawyers and such. > > Apologies to Ed Bruce and Waylon Jennings. > > > Devin > > > On May 11, 2017, at 10:51 AM, Mark Wieder via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Word from the grapevine is that Ali Lloyd is the new father of a baby > programmer. > > > > -- > > Mark Wieder > > ahsoftw...@gmail.com > > > > ___ > > 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 > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > ___ > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." ___ 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: Android Setup Config
Hi Dan, 1. Download version 24.4.1 and unzip it. 2. This only includes a "tools" folder, which has the 24.4.1 tools. 3. You have to launch the SDK Manager and install also the "Android 4.0.3 (API 15)". To launch the SDK manager just double click on "tools/android". 4. After that, you should be able to select the path to the sdks tools in the LC Prefs, and build an android standalone successfully. We are going to add support for the latest version of Android Studio in LiveCode 8.1.5 RC1. This will hopefully make things easier. Best regards, Panos -- PS: You can find older version of Android SDK Tools using those links: http://dl-ssl.google.com/android/repository/tools_r[rev]-windows.zip http://dl-ssl.google.com/android/repository/tools_r[rev]-linux.zip http://dl-ssl.google.com/android/repository/tools_r[rev]-macosx.zip Example for *v24.4.1* for *Mac*: http://dl-ssl.google.com/android/repository/tools_r24.4.1-macosx.zip On Fri, May 12, 2017 at 3:44 PM, Dan Friedman via use-livecode < use-livecode@lists.runrev.com> wrote: > Does anyone know the proper configuration for building an Android > standalone on a Mac? When I build the app, I get this: > > “There was an error while saving the standalone application could not > encode class bundle” > > I followed the directions from this page (updated just a week ago): > http://lessons.livecode.com/m/2571/l/27389-how-do-i-become- > an-android-developer-on-a-mac > > But, I still get the same error. The instructions say to get and install > the latest versions of both Android SDK and Java SDK. The instructions > then go on to say that you can’t use the latest version of the Android SDK > Tools, you have to use version 24.4.1. This version is not available in > Android Studio nor is it posted (that I could find) on the android > website. I did eventually find and download it. But, what do you do with > it? After unzipping in, you have a new “Tools” folder. I replaced the > existing Tools folder at /Users/myComputer/Library/Android/sdk/ and > restarted. But, that didn’t seem to solve anything. Now LiveCode no longer > recognizes the “android-sdk-mac_x86” folder as a valid Android SDK. UG! > This will be day 3 trying to get an Android App Built! > > MacOSX 10.12.2 > LiveCode 8.1.3 > Android SKD Manager – Revision 24.4.1 > Java Version 8 Update 111 > > ANY assistance or knowledge you have would be greatly appreciated! > > -Dan > > ___ > 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: ANN: new team member
Congratulations, Ali! RE a new future programmer. As they say out here in the wild, wild west (paraphrased): Mommas, don’t let your babies grow up to be coders, Don’t let ‘em parse text files and wade through old cruft, Let ‘em be doctors and lawyers and such. Apologies to Ed Bruce and Waylon Jennings. Devin > On May 11, 2017, at 10:51 AM, Mark Wieder via use-livecode >wrote: > > Word from the grapevine is that Ali Lloyd is the new father of a baby > programmer. > > -- > Mark Wieder > ahsoftw...@gmail.com > > ___ > 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 Devin Asay Director Office of Digital Humanities Brigham Young University ___ 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: Wouldn't it be nice to have a "back/forward" button in script editor?
Might this be a reason to think about working tighter integration between LC and some other text editor? Then the TE can do what TE's do best, and LC can worry less about adding TE features. OR, what about taking one of the OSS TE's and working on integrating them into LC, eventually removing the SE as a separate codebase? On Thu, May 11, 2017 at 6:48 PM, Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > > > On 11 May 2017, at 10:32 pm, Tiemo Hollmann TB via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Am I the only one, working like this, or is it my overflowed brain > > requesting such a feature? > > I have wanted something like this for a while. Xcode has it and I use it > all the time. But I think "go to definition" creating a breadcrumb would > also be handy. There’s lots of things that would be handy… complete project > tree in the script editor for one. > > Cheers > > Monte > ___ > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." ___ 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: ANN: new team member
Not exactly true. You *can* set breakpoints, but the engine simply ignores them. Bob S > On May 12, 2017, at 04:00 , pink via use-livecode >wrote: > > Well congrats Ali... remember to keep the firmware up to date and just to > warn you, there are no breakpoints ___ 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
Android Setup Config
Does anyone know the proper configuration for building an Android standalone on a Mac? When I build the app, I get this: “There was an error while saving the standalone application could not encode class bundle” I followed the directions from this page (updated just a week ago): http://lessons.livecode.com/m/2571/l/27389-how-do-i-become-an-android-developer-on-a-mac But, I still get the same error. The instructions say to get and install the latest versions of both Android SDK and Java SDK. The instructions then go on to say that you can’t use the latest version of the Android SDK Tools, you have to use version 24.4.1. This version is not available in Android Studio nor is it posted (that I could find) on the android website. I did eventually find and download it. But, what do you do with it? After unzipping in, you have a new “Tools” folder. I replaced the existing Tools folder at /Users/myComputer/Library/Android/sdk/ and restarted. But, that didn’t seem to solve anything. Now LiveCode no longer recognizes the “android-sdk-mac_x86” folder as a valid Android SDK. UG! This will be day 3 trying to get an Android App Built! MacOSX 10.12.2 LiveCode 8.1.3 Android SKD Manager – Revision 24.4.1 Java Version 8 Update 111 ANY assistance or knowledge you have would be greatly appreciated! -Dan ___ 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
AW: Update strategy?
I have codesigned my installers for Mac and Win, so that there are no additional security alerts and user request. If the installer is launched as an Admin (what I can require for with my innosetup installer for Win, on Mac I can't require, but most Mac users have admin rights), it replaces everything existing (except of my registration file at another location) without additional requests. Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Graham Samuel via use-livecode Gesendet: Freitag, 12. Mai 2017 11:21 An: How to use LiveCodeCc: Graham Samuel Betreff: Re: Update strategy? Thanks again Jacque Yes, I see the wisdom of that - your method also avoids the issue of launching a completely automatic update without giving the user an opportunity to refuse. So you just get the user to run the installer, the same way as Tiemo does - is that right? Obviously one wants the update to be as user-friendly as possible. Can the installer (on Mac and Windows) simply clear out the old version without asking for permission? This is desirable from an ease-of-use standpoint. Presumably also if registration has already taken place, the record of that will still be stored in the local prefs file or wherever, so the user won’t have to re-insert the registration key. Still trying to get it exactly right. Graham > On 10 May 2017, at 22:11, J. Landman Gay via use-livecode > wrote: > > On 5/10/17 1:00 PM, Graham Samuel via use-livecode wrote: >> Yes, but what if you want to update the launcher itself? Maybe I have >> made my ‘splash’ stack too rich in function, but I can easily see it >> needing revision. Because of this, I’m thinking of altering the >> structure of the app so that the update code is more or less all that >> is in the standalone recognised by the operating system, and all >> other stacks (including 90 percent of the original splash stack) are >> simply downloaded after the decision whether to update is made. Or is >> this stupid? > > No, it's smart. The launcher should be the barest minimum required to get the > rest of the data/stacks/whatever to load. That way there is rarely a need to > update. > > I've generally taken the easy way out. If I do need to update the launcher > itself, it asks the user if they want to update and then launches a URL to a > web page that has the download. I figure if the user could get it installed > the first time, they can install the update. That's lazy on my part, but so > far there haven't been many issues with it. > > That's for desktop only. On mobile it's easy to let the OS do the updating. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ___ > 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: Dictionary entry for 'answer' - something missing?
Thanks Panos - on the Mac, it is not immediately obvious that the panel showing the different types of ‘answer’ is a scrolling list! My error, but I am probably not the only one likely to make it! Cheers Graham > On 12 May 2017, at 14:42, panagiotis merakos via use-livecode >wrote: > > Hi Graham, > > If you search for "answer", the 9th result in the list is what you are > looking for: > > answer [iconType] prompt [with button1 [or buttons]] [titled windowTitle] [ > as sheet] > > Tested in 8.1.4 RC1 Indy. > > Best, > Panos > -- > > On Fri, May 12, 2017 at 1:31 PM, Graham Samuel via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Maybe I don’t understand how to access the LC Dictionary in 8.1.4 rc 1, >> but when I look up ‘answer’ I miss the plain vanilla version, as in >> >> answer question “Do you agree?” with “Yes” or “No” titled “Make a >> Decision!” >> >> This does work from the message box. >> >> Can anyone find this definition? If not, it’s a bug, I think. >> >> TIA >> >> Graham >> ___ >> 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: SVG powered images
Hi Hermann - I just got this message - I arrived at the same onload conclusion. I get it now, but the way the JavaScript had to be ordered seemed counterintuitive at first. Thanks for your help on this :) Sent from my iPhone On May 12, 2017, at 5:24 AM, hh via use-livecodewrote: >> Jonathan L. wrote: >> However, delaying the command to send for the image does not work >> for the first resizing of the image in this scenario. > > It works. I have it running here with the browser widget. I finally > got it using an "onload" for the image and for the window. > > ... > image1.onload = function() { > ctx.drawImage(image1,0,0,twidth,theight); > } > ... > window.onload=processsvg(twidth,theight,tID); > > After that sending toDataURL() to the canvas delayed by 1 tick has here > no misfunction. > > I wrote it also for a revBrowserInstance what can be used in LC 6/7/8/9 > but on Mac only, because linux has no revBroser working and windows only > one that doesn't support Canvas2d. This is essentially the same technique > (but doesn't use a javascriptHandler). > > I put this LC 6/7/8/9 version on livecodeshare/"sample stacks" so that > your browser widget version is still unique ... > > I have also a fast method, runs with 30 fps, for taking PNG-frames from a > video, so that converting an SVG animation to PNGs is no problem (though > I can't see any sense in doing that). > > ___ > 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: Dictionary entry for 'answer' - something missing?
Hi Graham, If you search for "answer", the 9th result in the list is what you are looking for: answer [iconType] prompt [with button1 [or buttons]] [titled windowTitle] [ as sheet] Tested in 8.1.4 RC1 Indy. Best, Panos -- On Fri, May 12, 2017 at 1:31 PM, Graham Samuel via use-livecode < use-livecode@lists.runrev.com> wrote: > Maybe I don’t understand how to access the LC Dictionary in 8.1.4 rc 1, > but when I look up ‘answer’ I miss the plain vanilla version, as in > > answer question “Do you agree?” with “Yes” or “No” titled “Make a > Decision!” > > This does work from the message box. > > Can anyone find this definition? If not, it’s a bug, I think. > > TIA > > Graham > ___ > 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: SVG powered images
How does it look? Sent from my iPhone > On May 11, 2017, at 10:15 PM, Alejandro Tejada via use-livecode >wrote: > > This mousedown script shows a rough preview > of the SVG animation if you put it into the image: > > on mousedown > put the id of me into tID > repeat while the mouse is down > send "processSVG tID" to widget "SVGBrowser1" > end repeat > end mousedown > > Al > ___ > 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: SVG powered images
Hey guys - I figured out a solution for that bug I had previously written a hack for. I use the image.onload handler in the JavaScript for this. It works consistently now. I just had to get my order of events correct in the JavaScript. So please check out the new version. J Sent from my iPhone > On May 11, 2017, at 10:15 PM, Alejandro Tejada via use-livecode >wrote: > > This mousedown script shows a rough preview > of the SVG animation if you put it into the image: > > on mousedown > put the id of me into tID > repeat while the mouse is down > send "processSVG tID" to widget "SVGBrowser1" > end repeat > end mousedown > > Al > ___ > 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
Dictionary entry for 'answer' - something missing?
Maybe I don’t understand how to access the LC Dictionary in 8.1.4 rc 1, but when I look up ‘answer’ I miss the plain vanilla version, as in answer question “Do you agree?” with “Yes” or “No” titled “Make a Decision!” This does work from the message box. Can anyone find this definition? If not, it’s a bug, I think. TIA Graham ___ 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: ANN: new team member
Hi Congratulations and Eudemonia to you all Ali. Now let's see if I can use Computer metaphors,puns and word play with the rest of them ... Now the real "Programming" starts with a Finite State Ali-Gata which is a child Object Instantiation of the Parent Class. Set the garbage collector to automatic because there will be a lot of mutable objects in the FIFO. But more to the point have you bought him a Raspberry Pi yet and will this mean version nine will be compiled for the Pi soon? Congrats again Ali Children - and Grand Children are what makes life living (and interesting!!). On 12 May 2017 at 09:59, Ali Lloyd via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks all! He's almost 10lb already, but still no sign of sleeping 4 hours > let alone through the night ;-) > > On Fri, May 12, 2017 at 7:12 AM Kay C Lan via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > On Fri, May 12, 2017 at 5:45 AM, Dr. Hawkins via use-livecode > >wrote: > > > > > > We found that at about 10 lbs, they hold enough food to sleep through > the > > > night. > > > > > ...oh, so that why this lady waited for hers to be 16lb 4 oz: > > > > http://now100fm.cbslocal.com/2017/05/10/woman-gives-birth- > to-16-pound-baby-pics/ > > > > Is there any chance the hospital uses gitbub; maybe you can push your > > current repo of baby and pull it once it hit's the 10lb milestone ;-) > > > > Ali, congrats to you and your wife. > > > > ___ > > 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: ANN: new team member
Well congrats Ali... remember to keep the firmware up to date and just to warn you, there are no breakpoints - --- Greg (pink) Miller mad, pink and dangerous to code -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-new-team-member-tp4714718p4714761.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ 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: SVG powered images
Hi Al, > Am 12.05.2017 um 03:31 schrieb Alejandro Tejada via use-livecode >: > > ... > By the way, open and resize an animated SVG like this: > https://openclipart.org/download/188969/WalkingMan.svg > > Notice how it changes to different animation frames > each time that you resize the image. :D not when viewed in Safari on a Mac! > Al Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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: SVG powered images
> Jonathan L. wrote: > However, delaying the command to send for the image does not work > for the first resizing of the image in this scenario. It works. I have it running here with the browser widget. I finally got it using an "onload" for the image and for the window. ... image1.onload = function() { ctx.drawImage(image1,0,0,twidth,theight); } ... window.onload=processsvg(twidth,theight,tID); After that sending toDataURL() to the canvas delayed by 1 tick has here no misfunction. I wrote it also for a revBrowserInstance what can be used in LC 6/7/8/9 but on Mac only, because linux has no revBroser working and windows only one that doesn't support Canvas2d. This is essentially the same technique (but doesn't use a javascriptHandler). I put this LC 6/7/8/9 version on livecodeshare/"sample stacks" so that your browser widget version is still unique ... I have also a fast method, runs with 30 fps, for taking PNG-frames from a video, so that converting an SVG animation to PNGs is no problem (though I can't see any sense in doing that). ___ 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: ANN: new team member
Just to add my congrats! Life will never be the same… but it will be better! Graham > On 11 May 2017, at 18:51, Mark Wieder via use-livecode >wrote: > > Word from the grapevine is that Ali Lloyd is the new father of a baby > programmer. > > -- > Mark Wieder > ahsoftw...@gmail.com > > ___ > 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: ANN: new team member
Thanks all! He's almost 10lb already, but still no sign of sleeping 4 hours let alone through the night ;-) On Fri, May 12, 2017 at 7:12 AM Kay C Lan via use-livecode < use-livecode@lists.runrev.com> wrote: > On Fri, May 12, 2017 at 5:45 AM, Dr. Hawkins via use-livecode >wrote: > > > > We found that at about 10 lbs, they hold enough food to sleep through the > > night. > > > ...oh, so that why this lady waited for hers to be 16lb 4 oz: > > http://now100fm.cbslocal.com/2017/05/10/woman-gives-birth-to-16-pound-baby-pics/ > > Is there any chance the hospital uses gitbub; maybe you can push your > current repo of baby and pull it once it hit's the 10lb milestone ;-) > > Ali, congrats to you and your wife. > > ___ > 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: filter? replace? wildcard? reg exp? help please!
Hi, > > function removeBrackets pString > return replacetext(pString,"\[.*\]",empty) > end removeBrackets > > What would be the result of next line:? *put* removeBrackets ( "1 [A] 2 [B] 3." ) Kind regards, Thierry Thierry Douez - sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage ___ 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: ANN: new team member
On Fri, May 12, 2017 at 5:45 AM, Dr. Hawkins via use-livecodewrote: > > We found that at about 10 lbs, they hold enough food to sleep through the > night. > ...oh, so that why this lady waited for hers to be 16lb 4 oz: http://now100fm.cbslocal.com/2017/05/10/woman-gives-birth-to-16-pound-baby-pics/ Is there any chance the hospital uses gitbub; maybe you can push your current repo of baby and pull it once it hit's the 10lb milestone ;-) Ali, congrats to you and your wife. ___ 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