SVG powered images

2017-05-12 Thread Alejandro Tejada via use-livecode
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 th

Re: sysError List?

2017-05-12 Thread Richard Gaskin via use-livecode
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 a

Re: sysError List?

2017-05-12 Thread Rick Harrison via use-livecode
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 returnin

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread J. Landman Gay via use-livecode
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

RE: PDF on Android

2017-05-12 Thread Ralph DiMola via use-livecode
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

Re: sysError List?

2017-05-12 Thread Richard Gaskin via use-livecode
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

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread Thierry Douez via use-livecode
> > >> >> >>> 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. :)

Re: ANN: new team member

2017-05-12 Thread Bob Sneidar via use-livecode
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

Re: ANN: new team member

2017-05-12 Thread Mike Kerner via use-livecode
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 yo

Re: sysError List?

2017-05-12 Thread Rick Harrison via use-livecode
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 mai

Re: Update strategy?

2017-05-12 Thread J. Landman Gay via use-livecode
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 st

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread J. Landman Gay via use-livecode
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 limite

Re: sysError List?

2017-05-12 Thread Richard Gaskin via use-livecode
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 th

Re: Android Setup Config

2017-05-12 Thread panagiotis merakos via use-livecode
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 > developme

Re: Android Setup Config

2017-05-12 Thread Dan Friedman via use-livecode
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 ins

Friday Night Drag Act

2017-05-12 Thread Richmond Mathewson via use-livecode
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&t=29242 Alth

Re: ANN: new team member

2017-05-12 Thread Rick Harrison via use-livecode
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, unsubsc

Re: sysError List?

2017-05-12 Thread Rick Harrison via use-livecode
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 ge

Re: Android Setup Config

2017-05-12 Thread panagiotis merakos via use-livecode
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 Pl

Re: Android Setup Config

2017-05-12 Thread panagiotis merakos via use-livecode
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

Re: Android Setup Config

2017-05-12 Thread panagiotis merakos via use-livecode
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

Re: ANN: new team member

2017-05-12 Thread Bob Sneidar via use-livecode
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: > > ?

Re: Android Setup Config

2017-05-12 Thread Dan Friedman via use-livecode
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 /Macinto

Re: ANN: new team member

2017-05-12 Thread Richmond Mathewson via use-livecode
? 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 :)

Re: Android Setup Config

2017-05-12 Thread panagiotis merakos via use-livecode
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 An

Re: Android Setup Config

2017-05-12 Thread Dan Friedman via use-livecode
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

Re: ANN: new team member

2017-05-12 Thread Mike Kerner via use-livecode
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 you

Re: Android Setup Config

2017-05-12 Thread panagiotis merakos via use-livecode
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 abl

Re: ANN: new team member

2017-05-12 Thread Devin Asay via use-livecode
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

Re: Wouldn't it be nice to have a "back/forward" button in script editor?

2017-05-12 Thread Mike Kerner via use-livecode
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

Re: ANN: new team member

2017-05-12 Thread Bob Sneidar via use-livecode
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 __

Android Setup Config

2017-05-12 Thread Dan Friedman via use-livecode
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://less

AW: Update strategy?

2017-05-12 Thread Tiemo Hollmann TB via use-livecode
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 ever

Re: Dictionary entry for 'answer' - something missing?

2017-05-12 Thread Graham Samuel via use-livecode
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

Re: SVG powered images

2017-05-12 Thread Jonathan Lynch via use-livecode
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-livecode wrote: >> Jonatha

Re: Dictionary entry for 'answer' - something missing?

2017-05-12 Thread panagiotis merakos via use-livecode
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-li

Re: SVG powered images

2017-05-12 Thread Jonathan Lynch via use-livecode
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

Re: SVG powered images

2017-05-12 Thread Jonathan Lynch via use-livecode
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 iPhon

Dictionary entry for 'answer' - something missing?

2017-05-12 Thread Graham Samuel via use-livecode
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 no

Re: ANN: new team member

2017-05-12 Thread Lagi Pittas via use-livecode
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 aut

Re: ANN: new team member

2017-05-12 Thread pink via use-livecode
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 Se

Re: SVG powered images

2017-05-12 Thread Klaus major-k via use-livecode
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.

Re: SVG powered images

2017-05-12 Thread hh via use-livecode
> 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 = funct

Re: Update strategy?

2017-05-12 Thread Graham Samuel via use-livecode
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

Re: ANN: new team member

2017-05-12 Thread Graham Samuel via use-livecode
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 > >

Re: ANN: new team member

2017-05-12 Thread Ali Lloyd via use-livecode
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

Re: filter? replace? wildcard? reg exp? help please!

2017-05-12 Thread Thierry Douez via use-livecode
​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 -