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
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
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
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
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
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
>
>
>>
>>
>>> 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. :)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
>
> ?
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
?
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 :)
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
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
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
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
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
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
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
__
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
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
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
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
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
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
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
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
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
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
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.
> 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
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
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
>
>
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
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 -
47 matches
Mail list logo