From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: on openstack --(from main stack) open stack "progress" -- the substack go to card 1 of stack "main" end openstack I put the second line in because I want the main stack to be active. Because of line 1 the substack is active. This second line does not do it. How do I make the main stack the active stack. From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: 1. When I set the lockscreen to true I still get a flick of the screen. White then back to the starting point. I am useing push & pop card. on handler lock screen push card go to stack "order" pop card end handler From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: language versions of your application,..." I have not looked further into this yet; but if there is a method built into Revolution via the Profile Manager, it's the obvious place to start. Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: also help. If the folder will always be located on the desktop. From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: The altURL command posts form data and gets query data to / from a web server using the POST and GET action of HTTP. It sends the completedMessage when finished. The HTTP response can be accessed from the custom property altURLResponse which can be checked in the completedMessage handler. This is valuable in processing redirects as well as callbacks. There are two ways to call this command. One is by passing separate values for all parameters, the other is by merging all parameters into one URL?QueryString. altURL ReqType, Host, Page, formList [,completedMessage] altURLget URL?QueryString [,completedMessage] altURLpost URL?QueryString [,completedMessage] example: altURL "POST","www.altuit.com","test.asp",myList,"myHTTPresponse" altURL "GET","www.ibm.com","tst.asp","name=jack&pswd=123","dothing" altURLget "http://www.ibm.com?name=jack&pswd=123","dothing" altURLpost "http://www.ibm.com?name=jack&pswd=123","dothing" Parameters: The Host is a valid URL to a web server. The Page is an valid Page request (typically an .asp,.jsp or cgi page). The formList is a list of Form or QueryString Variables and their respective contents. Each line of the list will have a name value pair. If you wish to use spaces or special characters, be sure to URLencode them first. ex. This list variable sends two name value pairs: password=fred124 username=johnny The completedMessage is an optional message sent to the stack upon completion of the command. The URL?Querystring is a valid URL with appended QueryString. Even though this is typical in 'get' and not 'post' commands, here it generates both. Note the http:// is required. customProperties of altURL Lib: altURLHeader - the header text being sent minus the Host and Page and Content Length altURLTimeOutSecs - the time in seconds for altPostSAFileUp to quit. altURLresponse - the HTTP response sent from the server or empty if no response. Use with the completedmessage parameter to get the HTTP response. To install: Copy the button altURL Lib into your stack. Then insert into the open stack or startup handler of your stack: insert the script of btn altURL Lib into back Then you can call the altURL command from anywhere in your stack. For more info contact Chipp Walters Portions of this script used with permission of Jerry Daniels. Muchos Gracias Jerry! From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: stack as palette. In this stack I have a button sending the command "close Stack". When I click this button... the stack closes but it opens a window from the finder. If I open that stack again, and I click the same button, it closes the stack and nothing happen ..... somebody can understand this strange behaviour? Thanks,, Paolo From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: offscreen. It just doesn't leave the text field in middle when it's done. If anybody needs me to send them the stack, I can do that (it stuffs to a little over 2K right now) but I'm not enough of a newbie to post it to the list :-) Thanks in advance for any assistance that you can provide. Dave Ramsey _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: Pattern images can be color or black-and-white. To be used on Mac OS systems, patterns must be 128x128 pixels or less, and both its height and width must be a power of 2. To be used on Windows and Unix systems, height and width must be divisible by 8. Does that explain it? Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: If I'm on card "User Preferences", "Found It" appears in the message window; if I'm on a different card, I get the beep. IF it works this way in Transcript, I submit it is the best solution because no explicit action is necessary to stop the loop when leaving the card. Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: If a group's tabGroupBehavior is true, you cannot press the arrow keys to move around in any of the fields in the group, regardless of the setting of the textArrows property. Pressing an arrow key moves from control to control instead. Since you mention the field is grouped, I suspect this is the problem. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: so I need to write my own adress in the left top corner of the letter, the date, the adress of my correspondent int the window of the envelope, the text must be formatted. So I play with some variables but : how can I draw up my letter with a specific page setUp to print on the printer. For example : my own adress must come at 2 cm (I don't meet in inches!) of the top of the paper and at 3 cm of the left margin of the paper and centered align on a length of 7 cm, and so on? Some words or lines in plain, some in bold, some in plain? Any idea ? Earlier I used "printreport" XCMD with Hypercard. How can I transpose it in Revolution ? Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: print out exactly as you want it. I would think it would be far less hassle than trying to set it all up in Rev, but I have no experience doing such a thing in Rev. BTW, along with several others, your posts are showning up twice on the list. Thought you should know. HTH, Ken N. From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: which pertain to public release of shareware on this point? It may make for more work, but I think it will be worthwhile. Thanks, Ken N. From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: putting it into a field on each card. What I would recomend is that you open the file and read the data only once, then close the data. Then go through each card and put it into the field that you want. Try this... put "fred.txt" into fileName open file fileName for read read from file fileName until eof put it into fileData close file fileName repeat with x=1 to the number of cards put fileData into field "field1" of card x of this stack end repeat That's pretty much the same thing you are trying to accomplish, but should run much faster. Derek Bump Dreamscape Software, Inc. http://www.dreamscapesoftware.com/ From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: set the width of image "imTop" to the width of image "imTop" + 20 But from any mouse event it does not. Bernie From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: You can optionally specify either text or binary mode. If you specify text mode, when you use the write to file command to put data in the file, any combinations of line feed and return characters are translated to a single line feed before being written to the file. If you specify binary mode, return and line feed characters are not translated. If you don?t specify a mode, the file is opened in text mode. >2) get/put URL might go faster if if you get/put the data into a variable >and write it out once, rather than writing after each 'get' (slow). I orignally considered this, but since these combined files may be as big as 100 MB (or larger) it didn't seem like a good idea. However, what I'm a bit confused about is that both approaches simply read in files and append them to another file. Why is one approach so much slower than the other? Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: chmod 755 darwinEngine myCGIscript.cgi 4) from command line run ls -l to check on your permissions which should now read rxw r-w r-w for both files Which means: owner can read, execute and write, groups can read and write only and the public/world can read and write only. 5) See http://mitchellonline.pasco.k12.fl.us/training/metacardcgi.htm For more detailed explanation (Note his explanation uses Metacard...and fyi you do not need the tools, home stack.. Only the engine is required) 6) in your browser enter http://my.machine.ip/cgi-bin/test.cgi To test. 7) Sample test script below. The first line is critical. It can be either #! /Library/WebServer/CGI-Executables/darwinEngine ## for clarity on startup put "Hello" into buffer put "Content-Type: text/html" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup Or the first line can be simply #!darwinEngine ## no slash at the beginning, If the above works you can skip the following step 8) If you find your script is not always running every time it is called you may need to open this file in BBEdit by looking for hidden files in the root directory: (very carefully!) /etc/http/httpd.conf And uncomment this line: # AddHandler cgi-script .cgi [becomes:] AddHandler cgi-script .cgi Go to System preferences and turn web Sharing and off and then on again to reboot Apache to get Apache to load the new httpd.conf Now, this should not be necessary, but may be... Try without first. This will also allow you to place the engine and scripts in a cgi-bin anywhere else on your hard drive (in your "Sites" directory for example) But there are security issues if you do the latter: go to http://www.macdevcenter.com/pub/a/mac/2001/12/14/apache_two.html For more information and also a simple guide to using terminal.app if you are complete unix newbie. If you have more questions, post them to the list. END PRIMTER ON INSTALLING DARWIN TO RUN AS FACELESS CGI ENGINE ON MAC OS X LOCAL MACHINE Om shanti, Hinduism Today Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org Read The Master Course Lesson of the Day at http://www.gurudeva.org/lesson.shtml From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: X but doesn't work at all on OS 9 (unless there's someone out there who has been able to make it work). Maybe when the runrev folks get back from MacWorld, they can look into this. Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: text, except that it sorts accented characters together with their unaccented counterparts. For example, "?" sorts between "e" and "f", rather than at the end of the alphabet as it would using the sort text form." -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: On 23.09.2002 04:01, "David Vaughan" wrote: > Toma > > Your global variable is "tTranslations" in the first handler and > "tTranslation" in the second. Add an "s" to the second one and try > again. > > cheers > David > > On Monday, Sep 23, 2002, at 16:28 Australia/Sydney, Toma Tasovac wrote: > >> Hi. ? >> >> I have a text file with a tab delimited list of words and >> translations, i.e. >> >> word1 ??translation1 >> word2 ??translation2 >> >> I use the following code to put this file into a variable and then >> turn it into an array: >> >> on openStack >> ??global tTranslations >> ??put url "file:translations" into tTranslations >> ??split tTranslations with cr and tab >> end openStack >> >> >> Then, I have a field with some text in it. ?I want the user to click >> on a word in the text and have the translation displayed in another >> field, called ?Translation Display? ?So... >> >> on mouseUp >> ??global tTranslation >> ??select the clickChunk >> ??put the clickText into tClickedWord >> ??put tTranslations[tClickedWord] into fld "Translation Display" >> end mouseUp >> >> And that should be it. ?But it?s not. ?When I click on the word, it >> gets selected, but no translation appears in the ?Translation >> Display?. ?I get no error messages. >> >> Any ideas on how I should troubleshoot this? >> >> ?Toma > _____________________________________ Toma Tasovac Princeton University Department of Comparative Literature 318 East Pyne Princeton, NJ 08544 ttasovac at princeton.edu ttasovac at post.harvard.edu From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: >Is there a way to disable certain keys? > Check keyDown and rawKeyDown. Regards Gary Rathbone -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Arclight Media Sent: 28 September 2002 01:44 To: use-revolution at lists.runrev.com Subject: ignoring certain keys? I am trying to build an app that will ignore when a user presses the windows key on a pc, which would normally make the system lose focus on the app and bring up the taskbar. Is there a quick way to do this, or to make sure that the app is always being focused on? (I am having the keys play sounds, and would like to ignore any other than letters and numbers, and am currently using the "onkeyup" handler, which is working great except for the above mentioned key.) Thanks! Mark _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: > I ran into exactly this problem and it appeared on various different > versions of Windows (but not always). I reported it to RunRev but they > never responded about it. I unfortunately had to release a commercial app > with this bug in it. > > As best as I can tell, it may be related to old print drivers on the > target machine. If you have control over this, try updating to the latest > print driver for your printer and see if that fixes the problem (I'd be > very interested if this is so). > > >And yes, I've also tried inserting the old revShowPrintDialog command in > >front of the revPrintField command, but that never does anything even with > >both options set to true. > > Yes, this appears to be another print bug. If you use revShowPrintDialog > true,true in any version of Windows before a revPrintField command (at > least this has been my experience), the print dialog box is never shown. > It just spools to the printer and prints. > > We need to get RunRev to fix this. It's embarassing to release products > with these kind of bugs. > From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: changes to the internal stacks ; this is not permitted by the operating systems. However, you can save changes to the external stacks by using the 'save stack' command (look that one up in the dictionary). Moreover, these external stacks are not saved autmoatically when your application closes, so you _have_ to use the command. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: networking database that is being opened up, that contains different=20 networking settings. The script appears to go through the list in the=20 database until it finds the active setting, and attempts to modify it to "Us= e=20 DHCP" - - is that the correct description of what's going on? If this script is designed to run on OS X - - - can anyone shed light on how= =20 different the OS 9 version would be? Thanks again for your help - - - this is indeed one of the best Listserve's=20 I've been on. Folks here are very helpful and knowledgeable. - Rob In a message dated 10/11/02 9:01:45 PM, kray at sonsothunder.com writes: > Rob, >=20 > What version of AppleScript/Mac OS are you using? It is possible that this > configuration didn't work properly in earlier versions... >=20 > The reason I say that is that since I was the original poster of the > AppleScript (to which Sarah added her valuable additions), and it worked=20 > for > me on an iMac running OS 10.1... >=20 > Let us know, >=20 > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ >=20 > ----- Original Message ----- > From: > To: > Sent: Friday, October 11, 2002 5:53 PM > Subject: Re: Anyone know how to prevent this type mismatch error? >=20 >=20 > Sarah - - - thanks so much for this script.=C2=A0=C2=A0 I've hit one stumb= ling block > that's keeping it from running, and no one seems to know how to fix it - -= =20 > - > was wondering if someone on this list might: >=20 > The problem is with this line: >=20 > if (class of configuration i of config) is (TCPIP v4 configuration) >=20 > appleScript is complaining of a type mismatch problem.=C2=A0=C2=A0 I thoug= ht perhaps > putting >=20 > if (class of configuration i of config) as string is (TCPIP v4 > configuration) >=20 > might fix the problem, but that gave me a syntax error.=C2=A0=C2=A0 I've o= nly been > scripting for about 2 months.=C2=A0=C2=A0 Would anyone happen to know how=20= to solve > such > type-matching errors?=C2=A0=C2=A0 The impression I get is that you can't c= ompare a > string to a class. >=20 > - Rob >=20 > In a message dated 10/2/02 7:08:18 PM, sarahr at genesearch.com.au writes: >=20 > > > > Hi Rob, > > > > Here is Ken's script with an added section that changes the relevant > > setting to DHCP. As Ken mentioned, this just handles the first TCP > > configuration it finds, so you might need to add a check for other > > configs, but it should get you started: > > > > set configMethod to "" > > set configName to "" > > set cfg to "" > > > > tell application "Network Setup Scripting" > > open database > > set config to current configuration set > > repeat with i from 1 to count of configuration of config > > if (class of configuration i of config) is (TCPIP v4 configuration) > > then > > set cfg to configuration i of config > > set configName to name of config -- so you can check the name > > to see > > if it's the right one > > exit repeat > > end if > > end repeat > > set configMethod to configuration method of cfg > > > > try > > if configMethod =E2=89=A0 "DHCP" then > > begin transaction > > set protec to get protection of configuration method of cfg > > if protec =3D locked then return "Setting is locked" > > set the configuration method of cfg to DHCP > > end transaction > > end if > > on error errMsg number errNum > > close database > > return "Error: " & errMsg & " " & errNum > > end try > > > > close database > > return "Setting changed to DHCP" > > end tell > > > > Note: there is a line above that uses the Mac's Not-equal sign > > (option-equal): if configMethod **not-equal** "DHCP" then > > It may not translate via email. Also beware of long lines wrapping. If > > you want me to send you the actual script, send me an email off-list. > > > > Sarah > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > >=20 >=20 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution >=20 >=20 --part1_9c.27bb00b2.2ada01ce_boundary Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: en Ahhh - - - perhaps that's the problem. =20= I was looking for an Applescript solution in OS 8/9 that would set the user= 's networking to DHCP.  So, if this was designed to run in 10, then th= at sheds some light on the issue.

In the long-run, I'll need to do this on both Mac OS 9 _and_ Mac OS X. = I was assuming that the technique would be radically different, with OS X=20= relying on more unix-calls.  Resources on the web that detail how to s= cript the networking control pane are few and far between, it seems.

From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: working database that is being opened up, that contains different networking= settings.  The script appears to go through the list in the database=20= until it finds the active setting, and attempts to modify it to "Use DHCP" -= - is that the correct description of what's going on?

If this script is designed to run on OS X - - - can anyone shed light on how= different the OS 9 version would be?

Thanks again for your help - - - this is indeed one of the best Listserve's=20= I've been on.  Folks here are very helpful and knowledgeable.

- Rob

In a message dated 10/11/02 9:01:45 PM, kray at sonsothunder.com writes:


Rob,

What version of AppleScript/Mac OS are you using? It is possible that this configuration didn't work properly in earlier versions...

The reason I say that is that since I was the original poster of the
AppleScript (to which Sarah added her valuable additions), and it worked for=
me on an iMac running OS 10.1...

Let us know,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: <RGould8 at aol.com>
To: <use-revolution at lists.runrev.com>
Sent: Friday, October 11, 2002 5:53 PM
Subject: Re: Anyone know how to prevent this type mismatch error?


Sarah - - - thanks so much for this script.=C2=A0=C2=A0 I've hit one stumbli= ng block
that's keeping it from running, and no one seems to know how to fix it - - -=
was wondering if someone on this list might:

The problem is with this line:

if (class of configuration i of config) is (TCPIP v4 configuration)

appleScript is complaining of a type mismatch problem.=C2=A0=C2=A0 I thought= perhaps
putting

if (class of configuration i of config) as string is (TCPIP v4
configuration)

might fix the problem, but that gave me a syntax error.=C2=A0=C2=A0 I've onl= y been
scripting for about 2 months.=C2=A0=C2=A0 Would anyone happen to know how to= solve
such
type-matching errors?=C2=A0=C2=A0 The impression I get is that you can't com= pare a
string to a class.

- Rob

In a message dated 10/2/02 7:08:18 PM, sarahr at genesearch.com.au writes:

>
> Hi Rob,
>
> Here is Ken's script with an added section that changes the relevant > setting to DHCP. As Ken mentioned, this just handles the first TCP
> configuration it finds, so you might need to add a check for other
> configs, but it should get you started:
>
> set configMethod to ""
> set configName to ""
> set cfg to ""
>
> tell application "Network Setup Scripting"
> open database
> set config to current configuration set
> repeat with i from 1 to count of configuration of config
> if (class of configuration i of config) is (TCPIP v4 configuration)
> then
> set cfg to configuration i of config
> set configName to name of config -- so you can check the name
> to see
> if it's the right one
> exit repeat
> end if
> end repeat
> set configMethod to configuration method of cfg
>
> try
> if configMethod =E2=89=A0 "DHCP" then
> begin transaction
> set protec to get protection of configuration method of cfg
> if protec =3D locked then return "Setting is locked"
> set the configuration method of cfg to DHCP
> end transaction
> end if
> on error errMsg number errNum
> close database
> return "Error: " & errMsg & " " & errNum
> end try
>
> close database
> return "Setting changed to DHCP"
> end tell
>
> Note: there is a line above that uses the Mac's Not-equal sign
> (option-equal): if configMethod **not-equal** "DHCP" then
> It may not translate via email. Also beware of long lines wrapping. If<= BR> > you want me to send you the actual script, send me an email off-list. >
> Sarah
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>


_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



--part1_9c.27bb00b2.2ada01ce_boundary-- From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: >You can also use the local command in a script, outside any handlers in the script. These local variables can be used by any handler in that script, without needing to be declared in the handler itself, and their values are maintained from handler to handler From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: >You can also place a global command in a script, but outside any handlers in the script. These globals can be used by any handler in that script, without needing to be declared in the handler itself. Andr? From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: "The backgroundColor of an image is the second color in the image's color palette." (In general, it's not very useful to set the colors of an image. If you want a changeable background color, it's probably simplest to put a graphic behind it, so the graphic shows through the transparent pixels of the image, and set the graphic's backgroundColor instead.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: put the number of cd gMySound of stack defaults returns: "Can't find card" __ put gMySound returns "bay" __ put the number of cd bay of stack defaults returns "2" __ What am I doing wrong? Any insight? Thanks, Mark From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: - Rob From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: If the object is an image, the setting of the opaque property has no effect. Instead, painted areas of the image are opaque, and areas with no paint are not opaque. You will need to change them to transparent GIFs Monte From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: you have more than a thousand cards or so, as the engine will load the entire stack into memory. If you still want to go for a data stack, you should have a look at Rob Cozens' Serendipity library, which contains the SDB database manager. And in case you'll be doing all of the programming of the storing/retrieving code yourself, yes you would have to use 'long' names to refer to the objects in the data stack. Or you could use 'send' to trigger messages in that data stack, which can then refer to 'this stack' and be working on the right stack -- with limitations, as you can't 'send' over arrays for example. Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: stack, probably only one of their changes will be saved (the last person to save the stack back--the previous person might have saved their changes but it would be overwriten by the last save). What kind of strategy could one use to insure that any changes made to the stack appear on the server, even if someone else is using the stack at the same moment? Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: effort that works for you. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.1: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: altThumbViewer control is a group used to scroll through a folder of images. This demo stack will prompt you for a folder, then display the first image scaled properly in the folder in the group below. The user can use the scrollbar to scroll through all the images in the folder. There are custom properties for filtering images, accessing the path of the visible image and resizing and repositioning the control. You can cut and paste this group into your stack. Read the docs. This control works on Windows, should work on Linux. It will work on Macs ONLY when accessing files with .gif,.png,.jpg,.jpeg file extensions. If someones decides to modify so that it views all Mac image TYPEs, let me know and I'll repost it. It shouldn't be difficult, I just don't have time to code and test for Mac. Chipp --------------------- Chipp Walters Altuit, inc. http://www.altuit.com http://www.chipp.com --------------------- From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: e.reicher at aon.at, the product zoneAlarm may also cause problems on Win XP. Rich Herz From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: 1.8. How do I turn off HTML messages/attachments? Mailman 2.0.* has no MIME supports. You will need to use an external MIME stripping tool for Mailman 2.0.*. demime: http://scifi.squawk.com/demime.html mimefilter: http://ftp.br.debian.org/debian/pool/main/m/mimefilter/ stripmime: http://www.phred.org/~alex/stripmime.html stripmime: http://www.clarity.net/~adam/stripmime/ Notes: There are two different tools called "stripmime". MimeFilter is written (and packaged for Debian Linux by Davide G. M. Salvetti, who also packages and maintains the Debian Mailman package. Typically such tools are used by either inserting them into the aliases used for the Mailman lists, or by having the Mailman aliases deliver to procmail which then runs the MIME stripper via a procmail recipe and then delivers the message to Mailman. There is also a patch for mailman 2.0.8 at http://sourceforge.net/tracker/index.php?func=detail&aid=413752&group_id=103 &atid=300103 from Geoffrey Dairiki. Mailman 2.1.* adds some support for manipulating MIME srtuctures. > > > > BTW *Don't* use HTML in this mailing list. People receiving the > > digest will > > see something like: > > > > This is a multi-part message in MIME format. > > > > ------=_NextPart_000_003D_01C2C0B3.AB8711B0 > > Content-Type: text/plain; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > ... > > > > etc. garbage... > > This comes up so often! Surely someone has made a list manager that can > convert html posts to plain text when sending digests???? About the worst > possible thing we can do to a new list member is tell them off after the > first post. We are all programmers we don't have to put up with software > that doesn't meet our requirements! > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: > 2. write the field to a file and read it in again when necessary... > > on closecard > put fld "userinput" into url("file:userinput.txt") > end closecard > > and: > > on opencard > put url("file:userinput.txt") into fld "userinput" > end opencard > > et voila you are in the profesional "preferences writing"-business ;-) Klaus, thanks for the excellent reply. And thanks to all the others who responded to this query. Your solution of using the URL keyword was just what I was looking for (although I wouldn't have guessed that user-modified fields aren't automatically saved in Rev :). I understand the security issues put forth in several other notes, but in my case the user is simply specifying a directory to save text files into. My near-final code looks like this (note: as I'm working on a Windows platform, please excuse the path name ;): on openStack put URL "file:/Program Files/TextDisplay/savedir.txt" into fld "Directory" end openStack on closeStack put fld "Directory" into URL "file:/Program Files/TextDisplay/savedir.txt" end closeStack I found it interesting that I didn't have to specify which drive (C:\ etc.) I wanted to read/write to even though I have several in my PC. Also note that the slashes (/) are backwards from normal Windows file path slashes (\) for some reason. Again, thanks to all who responded with solutions to this problem. joe. From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: single pixel in an image I need to read the whole image bitmap into a variable, change the pixel in the variable, and then copy the whole variable contents back into the image. Surely not! This is an incredibly slow process. Can anyone tell me of a workaround? Or if there is no solution in RunRev #1, will this be fixed in #2? All I want to do is something which is as easy as falling off a log in VB. I want to move the mouse around a window (over an image perhaps, but not necessarily) and to draw a line of pixels as I go - i.e. construct a very primitive drawing program. I would be grateful if anyone could help. Bob Warren From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: single pixel in an image I need to read the whole image bitmap into a variable, change the pixel in the variable, and then copy the whole variable contents back into the image. Surely not! This is an incredibly slow process. Can anyone tell me of a workaround? Or if there is no solution in RunRev #1, will this be fixed in #2? What eventually I would like to do is something like this (but this is only any example). Suppose I am moving the mouse pointer in the form of an eraser (i.e. a square of certain dimensions) over a photo. Wherever the eraser passes, the colours change to a given different hue. So what I need is to be able to extract the pixels under the eraser, convert them to HSL, adjust the hue, convert them back to RGB, and then replace the pixels in the photo in the required position under the eraser. Using a bitmap pointer technique I manage to achieve this at appropriate speed in VB by accessing the image bitmap directly, without having to copy the whole image into a variable which would slow down the process too much. From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: resource-hungry setup, with player objects that are moving around the screen, more than one playing at the same time. That's a lot of buffering and redrawing. So I think you should really consider Chipp's suggestion regarding animated gifs. After all, the individual frames can be easily extracted from that type of file, unlike movie compression formats, which usually rely on complicated algorithms which only act on the pixels that are different between two frames. Jan Schenkel. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: 'through' this script as well. It's a more advanced version of 'start using stack' because you can tweak the message path in a specific order. The only thing you have to make sure to avoid in the script, is any reference to 'me' as that's not going to be the stack anymore. Hope this cleared a few things up, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: D=02 Address Error The Motorola 68000 microprocessor can access memory in increments of one byte (8 bits), one word (16 bits), or one long word (32 bits). The microprocessor can access a byte of information at an odd or even memory address. But it must access a word or long word at an even memory address. So, when the microprocessor attempts to read or write a word or long word at an odd address, you see this error. Since that's a 50/50 proposition when running random code, this one shows up quite often. ID=03 Illegal Instruction The computer has a specific vocabulary of machine language instructions it can understand. If a computer tries to execute an instruction that isn't in its vocabulary, you see this error code. It's less likely than error 02, but still very common. In my experience, these errors mean you have a Microsoft product running, either IE or Outlook Express. ;) But seriously, these are often mysterious without a low-level debugger, and often caused by an errant pointer, which could be the result of a memory issue. Can you pin down the script that's running when the error is thrown? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: seems to have a 1 GB limit on how much "free space" it can see (when I have over 24GB free on one drive alone. Maybe it is only measuring the free space in the environment it is capable of using. Any thoughts? Nate Couch Plano, TX From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: object...not a URL. Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Norris > Sent: Friday, March 21, 2003 10:47 PM > To: use-revolution at lists.runrev.com > Subject: Re: Streaming media [was:Scripted musical notation available ] > > > ********** > > Date: Fri, 21 Mar 2003 13:15:20 +0100 > > Subject: Streaming media [was:Scripted musical notation available ] > > From: malte.brill at t-online.de (Malte Brill) > > > The technical aspect of what you are trying to do wakes my > interest, too. > > How do you want to deliver your media? As a download or streamed? I have > > been trying to display media (.mpg video) from the Web in a Stack. > > Has anyone succeded streaming video directly into rev, without > the need of > > downloading the whole File? In my teststack the player refused > playing the > > video/audio until the file was completely in cache. > ---------- > Sounds like your connection is too slow. If playing a movie or audio file > can outrun the incoming stream, it will try to cache whatever it needs to > prevent it from stopping midstream, i.e., if your connection is slow > (dialup), that may mean 1/2 or more of the file must be buffered in cache > first (depending on size). > > Try reducing the window size (rect) of the player and see what happens. > > HTH, > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: When I run this under Mac OS 9.2.1, I get "got it" in the text field. When I run this under Windows XP, nothing appears in the text field and "true" appears in the message box!!??? I ran into this because a 'send "mouseup" to btn "something"' command wasn't working in my script under Windows while it worked fine under the Mac OS. It appears the button never gets the "mouseup" command. Anyone know why (or can at least verify this)? Thanks, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: Revolution is one of the fastest and easiest ways to develop applications for OS X. Learn what Revolution is and what its capabilities are -- from one-line-of-code Internet access to modular self-updating applications. Whether you're a beginner or an experienced developer, this session will show you how to get the most from this high-level environment. Advanced Revolution: Functional Programming and Macros This session examines how to use Revolution in conjunction with the most powerful development methods around. Using techniques drawn from Lisp, you'll learn how to apply functional language concepts, and see how to implement Lisp-style macros in Revolution. The result is less code that does more with fewer bugs. If you want to learn more about Revolution from an expert, head on over to MacHack and find out! ------ Geoff Canyon is President of Inspired Logic, LLC, and currently serves as a Project Leader for Home Box Office. He has over eleven years of experience in software development, using a variety of high-level tools including HyperCard, SuperCard, MetaCard, FileMaker, 4D, FaceSpan, OneClick, Perl, REALbasic, Visual Basic, and, of course, Revolution. MacHack is the annual conference for leading-edge Mac (and other!) developers. The conference includes technical sessions, academic papers and formal and informal coding clinics throughout its 72 hours. To find out more and to register, visit the MacHack website at . ABOUT REVOLUTION Revolution, the leading multi-platform development tool, enables developers to easily and quickly create powerful applications for OS X, classic Mac OS, Windows, Linux, and popular Unix systems. Revolution supports XML, multimedia objects, SQL database connections, Internet access, and more. Runtime Revolution Ltd is committed to the development of cutting-edge professional programming software and engaging educational applications. For more information about the company and its products, visit the Runtime Revolution website at or email info at runrev.com. Revolution and Runtime Revolution are trademarks of Runtime Revolution Ltd. Other company and product names are trademarks of their respective owners. CONTACT Rod McCall Runtime Revolution Ltd. rod at runrev.com http://www.runrev.com/ Phone: +44 (0) 131 718 4333 Fax: +44 (0) 131 718 4334 From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: hide image "USP.jpg" Then type hide image "Free Press Cover.jpg" This is just to make sure neither is covering the other. Since you can already get the Free Press image, now type: show image "USP.jpg" Do you see it? If not you need to verify the following: 1) the image is properly imported to the stack 2) you've got the file name spelled correctly 3) the location of the image is within the card Once you're able to show the second image, we'll help you through the next steps. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: But after The time increment from 29 seconds 1:00:29 1:00:58 1:01:27 Do you have an idea? But one more time, thank you for your complete answser! I put it in my database about Revolution, like the others... Friendly fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: was a success. From my humble point of view, it was another missed opportunity for Apple. But we all know, that Apple do not believe this... >It had a huge user base that was fairly invisible >because they solved their own problems. This comment goes right to the point! Every software developers deserves a huge user base that solve their own problems. I hope that the book deals equally with every platform. It could not be a "Revolution for Mac Users" book. I use mainly a Mac for my work, but these files goes to other platforms too. Alejandro ===== Useful sites: http://www.sonsothunder.com/devres/metacard/tips/ and /revolution/tips/ http://lists.runrev.com/pipermail/metacard/ and /use-revolution/ http://wiki.macitworks.com/revdocs http://www.google.com/advanced_search?q=site:lists.runrev.com __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: technology, but people. People come, people go. In making a strategic commitment, what platform assures ready support in the marketplace? If I need a new hire, will I have at least a dozen Revolution pros to pick from in my local market? The herd instinct: go with safety in numbers - and with a technology platform the market has already validated. Is Revolution suitable for enterprise-level applications? I hope so. Otherwise, no point name dropping Oracle, ODBC, mySQL backends... Commercial applications?... Front End tasks feeding other enterprise-class solutions... The one thing I don't see too much potential for in the future is custom coded single-user free standing applications. Not to say it won't happen, just that it won't be a viable business model for programmers who hope to build equity. If you were bidding on a programming job, would disclosure of Revolution technology help or hurt your case? Would competing programmers snipe your choice? Can you make a solid business case for Revolution? I'm not talking about in your own mind, but enough to overcome doubt in the mind of a buyer/decision maker unfamiliar with the technology, or the fact that it is unproven. Can your recommendations be validated once your presentation is over, when the prospective client picks up the phone and asks a dozen local knowledgeable experts? Hypercard enthusiasm and emotional attachment don't go far in the business world today, usually no further than the immediate circle of a single personality. If you doubt this, please contact a business broker and seek to sell any Hypercard-based software development company. Ask what price it might bring, should the owner care to cash out. Let's all hope that the "Made With Revolution" page soon contains major, highly credible enterprise-class solutions. Enthusiasm I one thing, credibility another. Let's not be emotional or delusional about the challenges that lie ahead. It is great that Revolution 2.0 has shipped, and it will be great to get some quality documentation and third-party books. But as my favorite Confucius saying goes, "He who climbs the mountain sees the next mountain." Danny Grizzle From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: "The Mail Archive utilizes two levels of electronic countermeasures to prevent spam incidents. First, we explicitly block spam harvesting robots (spambots) from accessing our server. We deny access, at the server level, for any software that matches the browser ID of a known spambot. Our second line of defense is to make sure that the web pages themselves are spambot resistant. We do not use any unshielded mailto: hyperlinks, email addresses and we strip out, scramble, or obfuscate email addresses from message headers and bodies. Yet we still provide a way for people to reply to an archived message, using their regular email software. This feat is achieved with a special POST protected CGI gateway which returns a mailto: URL to the user agent. This technique is extremely effective in blocking generic spam harvesting robots; for more information, see Mullane's Spambot Beware guide. The effectiveness of our spam-blocking preventative measures are monitored by spambot trap addresses like honeypot at jab.org." -Mark Wieder From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: "? The hiliteColor of a button is used for the background of the button when it is highlighted. If the button is a menu, the hiliteColor is used to highlight the button, but not the active menu choice. The hiliteColor has no effect if the button is a tabbed button. The hiliteColor has no effect until the button is highlighted." >In fact I can't work out how to change the button's >hilited text color from the PI at all. Not sure what you mean by "hilited" text color, but to change the text color of the button, use the Text button. >BTW, there's a property with no explanatory text below this in the same PI >which on my machine can be cleared but not set. Wonder what this is. The tooltip reveals this to be the Border color/pattern. I'm not sure why this option is disabled (yes, it's disabled here also). Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: I've done so myself, as I did just last week with the diskspace function. There is no shame in that, it's just part of being human; we just get the answer and move on, and it probably helps other readers along the way. No big deal. But to extrapolate that overlooking something obvious always means that there's something critically wrong with the UI or its documentation is not likely to hold up in some cases, and in such cases slows the learning process for others unnecessarily. We're not talking about cooking, which my failed attempts suggest is hard enough to learn (for at least this bachelor). Developing software is an inherently complex task, and while Rev is arguably among the easiest ways to accomplish as much as it lets you do, there's only so much it can do to simplify the process. A 1000+ token interpreter like Rev's is a complex system, integrating with even more complex systems like QT, database engines, and 12 different operating systems. While imperfect, Rev makes the software process orders of magnitude more efficient and easier than traditional methods like C++ or even Pascal (in some cases yielding superior results), and is far simpler to learn than the world's most popular scripting language, JavaScript. And at version 2.0 it's still quite young, with many areas in which it can learn and grow to make that process ever simpler. There are areas where Rev could better exploit the principle of progressive disclosure (a long rant about the evils of Photoshop's UI on the evolution of software design is growing increasingly hard to resist), but as a whole it's not bad and specific suggestions for improvement seem to be heard. A post on general tips for learning Rev is in the works, but I have a problem with brevity (or more specifically a lack thereof ), so I'll leave that out of this post and just close with this sincere question: As with any software package in earnest development, continual improvement seems a well demonstrated goal of Jeanne and the rest of the team, as with the inclusion of the universal Help search plug-in added in v2.0.1 by popular request. Given your experience, what specific remedies would you recommend? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: I've done so myself, as I did just last week with the diskspace function. There is no shame in that, it's just part of being human; we just get the answer and move on, and it probably helps other readers along the way. No big deal. But to extrapolate that overlooking something obvious always means that there's something critically wrong with the UI or its documentation is not likely to hold up in some cases, and in such cases slows the learning process for others unnecessarily. We're not talking about cooking, which my failed attempts suggest is hard enough to learn (for at least this bachelor). Developing software is an inherently complex task, and while Rev is arguably among the easiest ways to accomplish as much as it lets you do, there's only so much it can do to simplify the process. A 1000+ token interpreter like Rev's is a complex system, integrating with even more complex systems like QT, database engines, and 12 different operating systems. While imperfect, Rev makes the software process orders of magnitude more efficient and easier than traditional methods like C++ or even Pascal (in some cases yielding superior results), and is far simpler to learn than the world's most popular scripting language, JavaScript. And at version 2.0 it's still quite young, with many areas in which it can learn and grow to make that process ever simpler. There are areas where Rev could better exploit the principle of progressive disclosure (a long rant about the evils of Photoshop's UI on the evolution of software design is growing increasingly hard to resist), but as a whole it's not bad and specific suggestions for improvement seem to be heard. << From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: on SuckUp answer file "Select a file:" if it is empty then exit to top put url ("binfile:"&it) into s put compress(s) into s -- Convert to ASCII: put base64encode(s) into s -- Remove returns: replace cr with "" in s set the script of fld 1 to s end SuckUp on SpitOut ask file "Name new file:" if it is empty then exit to top put the script of fld 1 into s replace "" with cr in s put base64decode(s) into s put decompress(s) into s set the filetype to "MSIEWAFF" -- I tested with an IE page archive put s into url ("binfile:"&it) end SpitOut -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: 0x243f6a88L, 0x85a308d3L, 0x13198a2eL, 0x03707344L, 0xa4093822L, 0x299f31d0L, 0x082efa98L, 0xec4e6c89L, 0x452821e6L, 0x38d01377L, 0xbe5466cfL, 0x34e90c6cL, 0xc0ac29b7L, 0xc97c50ddL, 0x3f84d5b5L, 0xb5470917L, 0x9216d5d9L, 0x8979fb1bL, P_array From VB 5 version H243F6A88, H85A308D3, H13198A2E, H3707344, HA4093822, H299F31D0, H82EFA98, HEC4E6C89, H452821E6, H38D01377, HBE5466CF, H34E90C6C, HC0AC29B7, HC97C50DD, H3F84D5B5, HB5470917, H9216D5D9, H8979FB1B So signed numbers exist in the arrays of some versions in use. I want to look into the differences that I'm finding in deferent implementations of these arrays. When I run baseConvert() on this VB array I get a few different signed numbers than I use in my implementation. Back to the drawing board :-( btw - I love baseConvert() in Rev. The guy that thought this S-box, bit-shift stuff up has got to be a full-blown max-zoomed dweeb. Well, fortunately there are no bit-shifts in Blowfish, just figuring out how to think 4 chars and 32-bit numbers. Dar Scott I should have said bit wrangling. Shifting binary numbers would just about put an end to this, or my brain for sure. Mark --Apple-Mail-2-542856092-- From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: 'open -a /Applications/TextEdit.app /Volumes/Macintosh HD/foo.txt' opens the document in the application specified (in this case, TextEdit). -Cassj Alex Rice To: use-revolution at lists.runrev.com Sent by: cc: use-revolution-admin at lists Subject: Re: Launching WinXP applications .runrev.com 06/24/03 01:12 PM Please respond to use-revolution On Tuesday, June 24, 2003, at 02:35 AM, Robert J. Earp wrote: > I need to allow users to open a number of types of documents/media > etc. from within a stack. That is, have the native application, such > as Word, Acrobat, Excel (and others) launch and then open the > appropriate data file. And I need this to happen on whatever Win > machine the stack is running on. > > Launch does not seem to work within WinXP as it doesn't seem to know > where the apps are located. I have the feeling I should be using the > queryRegistry command to locate the full path of the app, but my > problem is I don't know enough about the Registry to be able to find > the appropriate entries to query. > > Also, should I be checking for an app already being open ? That is, am > I going to risk having many copies of the same app open at the same > time ? If so, any ideas how to do this ? > > Can anybody help please ?? Sorry to butt in with more questions... How can one launch a file from Rev, with whatever is the default viewer for that file type? Every OS has a binding from file types to apps. If you double click on a PDF, a PDF viewer will open up, if a viewer is installed. Neither "launch" nor "revGoURL" seem to address this particular need. Am I missing something? On OS X there is a command line utility named, not surprisingly, "open". """ DESCRIPTION The open command opens a file (or a directory or URL), just as if you had double-clicked the file's icon. If no application name is specified, the default application as determined via LaunchServices is used to open the specified files. If the file is in the form of a URL, the file will be opened as a URL. You can specify one or more file names (or pathnames), which are inter- preted relative to the shell or Terminal window's current working direc- tory. For example, the following command would open all Word files in the current working directory: open *.doc """ Alex Rice, Software Developer Architectural Research Consultants, Inc. alrice at ARCplanning.com alrice at swcp.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: "If the point is within the clickable area of the object, the within function returns true, even if another object is layered on top of the object. If the object is a graphic, its interior is considered to be within the graphic only if the graphic's filled property is true or the graphic is selected." So even if you have an unfilled poly you can test 'within' using the following method: lock screen set the filled of grc x to true put within(grc 1,point) into isItWithin set the filled of grc x to false Cheers Monte From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: ---- Important! The style of the stack, if it is anything other than “topLevel”, overrides any mode you specify in a go command. For example, if you open a stack using the statement go stack "Some Stack" as modeless, and the style of “Some Stack” is set to “palette”, it opens as a palette rather than a modeless dialog box, ignoring the mode you specified. ---- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: If you really, absolutely, positvely must have speedy access, you can even put the entire database in RAMhttp://cvs.hwaci.com/sqlite/wiki?p=InMemoryDatabase A database that is totally RAM-based will almost certainly be orders of magnitude faster than one that is retrieving data from the hard disk. The author even provides considerable detail about how Sqlite works: http://www.hwaci.com/sw/sqlite/opcode.html I'm not aware of another database provider that gives such an easy overview of the workings of the engine. One might worry about how SQL-conformant this product could be. Well, there is an issue with _all_ RDBMS and how SQL-conformant they are (i.e. there is no single SQL standard, so in a sense none of them are SQL conformant). But when it comes to a vitally important issue such as how nulls will be treated, he is quite upfront and pragmatic: nulls will be handled in a way that conforms with the majority of RDBMSs: http://www.hwaci.com/sw/sqlite/nulls.html So what are the obvious limitations? Well, locking seems like it would be an issue in a multi-user environment: (from the documentation) >> Locking in SQLite is very course-grained. SQLite locks the entire database. Big database servers (PostgreSQL, Oracle, etc.) generally have finer grained locking, such as locking on a single table or a single row within a table. If you have a massively parallel database application, you should consider using big database server instead of SQLite....Multiple processes can have the same database open at the same time. Multiple processes can be doing a SELECT at the same time. But only one process can be making changes to the database at once. << With regard to licensing, it looks totally liberal: (from the FAQ) >> (15) Can I use SQLite in my commerical product without paying royalties? Yes. SQLite is in the public domain. No claim of ownership is made to any part of the code. You can do anything you want with it. << The author also lists the other features of SQL-92 that are omitted (I do not believe that any of the mainstream RDBMSs are fully-compliant with SQL-92): http://www.sqlite.org/omitted.html To me the most significant 'omission' is the absence of foreign keys. (I like the fact the author sees these as omissions - most DB vendors trumpet how they are compliant with a subset of SQL-92). I guess since it is not a commercial or ideological thing, he has nothing to lose by highlighting the 'omissions' of the engine. It might also seem odd to those of you that have used client/server DBs that there is no authentication. But as the author points out, Sqlite is an embedded database, and it is not really appropriate: >>Since SQLite reads and writes an ordinary disk file, the only access permissions that can be applied are the normal file access permissions of the underlying operating system. The GRANT and REVOKE commands commonly found on client/server RDBMSes are not implemented because they would be meaningless for an embedded database engine. >> As a side-note, it is not uncommon to find large organisations which totally bypass the DB vendors authentication in client-server applications, controlling access to the data programmatically as one would have to do with Sqlite. And just to show that it is being used in serious projects: http://cvs.hwaci.com/sqlite/wiki?p=SqliteUsers There are a couple of (win32) GUI programs for interacting with SQLite databases: http://members.rogers.com/mbi/software/software_index.htm If you want to see how well-supported it is (and how clued-up many of the users of it are) then visit the support forum: http://groups.yahoo.com/group/sqlite/ I think Runrev should investigate the inclusion of SQLite, and think about producing a native Transcript wrapper to access Sqlite databases. Until they do that, it could be accessed via Shell commands or ODBC. I have no association with Sqlite or the provider of it. Oh yes, I forgot to mention: the whole engine of the database is only 300k in size..... Downloading the binaries for the database and the command-line program took less than 5 seconds on my adsl link! If it proves adequate to your needs, why bother including a bigger and more complicated engine with your application (and lose a share of your profits in licenses...) I hope this is of use to people on this list. If anyone is interested I suggest they follow the links I provide, and direct any questions to the SQLite group at Yahoo (because really I don't know any more than I've said here!) Regards Bernard From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: "WebMerge generates static Web pages from database files. Build catalogs, e-zines, contact lists, image galleries and more, quickly and easily." (Hey Richard, does this count towards my affiliate program;-) www.fourthworld.com/index.html good luck! -Chipp From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: these students would buy a product for 75 US$ (assuming this will be the educational price for the Express version) at the beginning of a workshop, a product they do not yet know at this point. Given our budget restrictions it would be likewise impossible that our institution could buy a number of new licenses each semester for the students. Quite a number of students have written research papers connected to or supported by a Metacard/Revolution project. Since the pressure to produce research papers is great - in most courses of studies leading to M.A. level about 60 research papers have to be handed in before admission to the M.A. examination process - students that have participated in classes using the Starter Kit like to take advantage of this creative situation and combine their projects with a research paper. Others have chosen topics related to educational programming and xtalk-languages for the oral parts of their final examinations or even produced M.A. theses with included Metacard/Revolution projects.- So what are our options for the future? Naturally we are also licensed users of a number of other authoring systems, among them Hyperstudio, Hypergasp (what a name), Supercard, Mediator, Neobook (www.neosoftware.com), MulitmediaBuilder (www.mediachance.com), Macromedia's Director, Dreamweaver, and Fireworks (on the basis of a special agreement we get the Macromedia products here for a tenth (!) of the regular prices - under the provision not to turn out commercially used programs). We abandoned Toolbook long ago - we still keep and occasionally use our older licensed versions - because the price went up into stratospheric regions. We preferred to focus on Metacard/Revolution instead for our work with students, i.e. until now we offered to choose between both Starter Kit IDEs. We have used "MultimediaBuilder" a few times alongside Metacard/Revolution as an example of a lower-end authoring system in our workshops. MultimediaBuilder is an interesting program with many appealing features on this "low end", but does not (yet) include an xtalk-scripting language. There are impressing graphics features, an embedded web object, and a number of accompanying programs, among them "RealDraw Pro" (50 US$), which has many features of Photoshop and is used by us to create most of the transparent images we import into Metacard/Revolution. Mediachance, the owner of MultimediaBuilder, granted us a free license for classroom use and for a fully functional version. Up to now, the regular price of MultimediaBuilder was 49.50 US$, recently they raised it to 60 US$ (because of a MP3 license). The Canada-based firm has made enough profit on such a low price to open a European division lately - staffed with 3 programmers to care for the European market. Have a look at their website and their lively mailing lists (www.mediachance.com).- Another perspective is very popular here in the world of "academia" (where many people sit and lean back in their secure positions and basically need not make extra bucks for their living); that is "open source". There are several open source programs developed and in general use at our university. One of my former doctoral students co-authored a web-managing and -authoring program ("Sesame"), which is in use here and at other universities. In his dissertation about "authoring systems" he very much embraced the philosophy of "open source" and especially "reusable design patterns". There is an internationally active movement supporting and discussing the idea of "design patterns", triggered initially by Erich Gamma from Switzerland with his book "Design Patterns: Elements of Reusable Object-Oriented Software" (make a search for both the book and the international movement). He - this former doctoral student (at present assistant professor in Hongkong and one of the sharpest programmers I have met) - did very much in our discussions to persuade me of the values of "open source". I had may reservations about such a perspective and - among other points - had argued that in my main field of work there was "Metacard" (Revolution was not yet in existence), which was at least in specific parts "open source" - as it could be customized - and which above all was cross-platform and even available in a free edition. So - at that time - there was no reason for me put in any efforts into "open source", although I saw it with a sympathetic eye. Now, looking for open-source alternatives in the area of xtalk languages leads to "FreeCard" and "FreeGUI", an open-source and cross-platform project unfortunately still in an initial stage of development. So "open source" at present is not the solution for our immediate needs, but it may be in the future. =============== To sum the long story up, here is what I propose from my biased angle of view: 1. Keep the Free Edition. Keep it cross-platform. If at all, put the nag screen here: "This stack/program was produced with an unlicensed and limited version of Revolution." 2. Offer a "Slim" Edition, also fully cross-platform. The lean and clean Metacard IDE could be used here (isn't it a beauty that you can have an authoring system which you can even use on servers and that (Windows version) still fits on a 3.5 diskette in compressed form (without the demo stack and the readme file))? There would be no special database support, no geometry manager, no additional "rev"-commands or functions etc. etc, but the option to buy these and others as separate modules. Charge 200 US$ for this version. Charge 50% of this for educational versions. 3. A "Full" or "Top" edition - labels do not matter - the full present and future Revolution with all bells and whistles. Charge 1000 US$ for this version, 500 US$ for the educational version.- Update policy (the lenient way of Scott Raney would be very much appreciated): All updates at least within a year. Renewal prices: 30% of the respective amounts paid for the first license. ===================== Geoff Canyon has been criticised by some of us for his "many and quick-witted replies" to the arguments brought up by the list. I also think that comments and arguments from list members should be taken seriously, even if - and especially when - they are not compatible with the current frame of thought within the Revolution team. Surely 99% of the list members are active supporters and want to contribute to the development and improvement of Revolution. Of course there are also diverging views among the list members, which reflect our individual situations; you have to sort them out and find acceptable solutions. For the benefit of Geoff Canyon one might point out that he had to bear the full brunt of arguments alone - while the others were away in New York, happily dancing in their kilts at the MacWorld - (nice photos). I like bagpipes (and for that matter, "didgeridoos"; are you there, Monte?) - though not every tune played on them. Regards, Wilhelm Sanke From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: On Sun, 13 Apr 2003 Howard Bornstein wrote: > It seems that PrintRotated still (as of 2.0b2) doesn't work at all on a > Macintosh. Why is this? This is a serious hole in our ability to provide > printed output and to provide cross-platform compatibility. > > PrintScale, one of the settings set with the Page Setup dialog, works > fine. Why can't we set the page orientation under program control? > > Rev team: is there some built-in limitation that makes it impossible to > set this on the Mac? Exactly: there is no API support for doing this from an application in the Mac Toolbox API. Some applications have hacked workarounds for this by trying to save configurations that come back from "answer printer", but this IMHO is a bad idea because it can cause your app to crash if you change printers on it. It should be possible to do this using the new API we use for the Carbon/Mach-O engine, but it turns out to be non-trivial so we haven't wired it up yet. And since even supporting it on this platform means your app still won't have this feature on the majority of Mac systems out there, changing your design to require running "answer printer" and making the user choose the layout is still the only general solution to this problem. Regards, Scott From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: Trends: The Evolution of the Interface OS X: A First Look Top 10 Reasons the Apple Dock Sucks -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: by John Donne 1573-1631 --============_-1152102151==_ma============-- From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: In Windows, you select "save target as". I'll write about this in the page. Thanks for reporting. Alejandro Thanks On Sunday, August 10, 2003, at 12:11 PM, Alejandro Tejada wrote: > Stacks and Pieces of Code for > Runtime Revolution > by Alejandro Tejada Capellan > > Download these experiments with the > Polygon graphics of Revolution from this website: > http://www.geocities.com/capellan2000/ > > BezierLine1_1.zip > CurvedDrawingPen_v01.zip > ScreenArtv1.zip > SVGfiles.zip > export_regular_polygons.zip > graphics_transformations_01.zip > mcEpsImportV03p.zip > mcEPSJOIN.zip ===== Useful sites: http://www.sonsothunder.com/devres/metacard/tips/ and /revolution/tips/ http://lists.runrev.com/pipermail/metacard/ and /use-revolution/ http://wiki.macitworks.com/revdocs http://www.google.com/advanced_search?q=site:lists.runrev.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: by John Donne 1573-1631 From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: "send dontsave to stack "Users"" and the result is the same: always the CCOX stack is reverted, not the "USers". AND I WANT THAT THE STACK "USERS" REVERTS AAAAAAARGGGGGGGHHHHHHHHHH. Hum, sorry... I'm hot... Is it possible to revert this stack USERS from CCOX please? Thank you very much. Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: by John Donne 1573-1631 From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: icon global,button,stack property set the icon of this stack to 974 set the icon of button "Help" to "Question Mark" set the icon to the myAppIcon of stack "Main Settings" It seems to work for stack but it only places the image over the shrunk down window in the dock. Regards Monte From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: Multiple externals are now supported on Win32 and MacOS systems. On Win32, just set the externals property of a stack to a multiline list of the DLLs to load. On MacOS systems, multiple CODE resources can be included in a stack file. The set that will be loaded for a given platform depends on the ids of the resources. The value of the id mod 3 is used to select the externals for a given platform as shown in the following table: 0 - PPC 1 - 68K 2 - Carbon > 2) If that doesn't help, you could store them in separate stacks and > load with "start using" > > HTH > > Brian > >> Hi >> >> I've had a friend compile some code for me that works fine as an >> external. >> He made it a CODE resource with id 1200. That resource runs in both OS >> 9 and >> X. However, in OS 9 I added the Valentina vxcmd, also with CODE res id >> 1200. >> To accomodate this I renumbered the other CODE and it now refuses to >> run. >> >> In the xfcn/cmd world, renumbering res id did not usually result in >> problems. Is it different for CODE res? How does one add more than one >> CODE >> res on OS 9? Should I have it recompiled as an xfcn or as a CODE res >> with a >> different id? >> >> Obviously, I'm ignorant in this area and would appreciate some >> enlightenment. >> >> Thanks >> Ron >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: The defaultPath is the name and location of the folder whose contents are listed when the dialog box appears. If no defaultPath is specified, the dialog box lists the contents of the last folder you used with a file dialog box. The difference is OS X seems to remember the last folder location over multiple sessions whilst Windows defaults to "My Documents" at the start of each session. Regards Monte From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: In February last year, when the targets were set, BT had just 145,000 subscribers. Mr Verwaayen says the company remains on course to get 5 million users by 2006. What are the chances of similarly-scaled broadband expansions across continental Europe? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: export snapshot from rect "0,0,200,200" to file "Nav.jpg" as JPEG Hope this helps, Malte From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: The seagate story was either on Slashdot.org or theregister.co.uk So Bush shops at Walmart!!? ;)), ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 Alex Rice Sent by: use-revolution-admin at lists.runrev.com 26/09/03 10:56 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Re: Lindows... On Friday, September 26, 2003, at 01:05 AM, xbury.cs at clearstream.com wrote: > After talking to our guru, Lindows just happens to be a paying version > of > a reduced debian distro. > The author may have been involved in a scam web site earlier too... > Sounds > like another Bill Gates > wannabe to me... > > Well marketed though. For those interested there is more on > www.cnet.com. > In brief, they > say you have little control over the installation. But it's easy to > install. Has KDE is in but no Gnome. > > Getting non click'n'run apps may be a problem zone. And the Click'n'run > will make the OS much > more expensive in the long run. There's no office suite which is avlb > in > other distros and if you dont > have an ADSL, it gets costlier. > > Most innapropriate is the fact that you have to pay for any other > program. > Which is good > for us revolution developpers but as a user, is not a good feature. > Very > limiting. > > Compatibility with other rpms may also be another wall... Xavier thanks for the info. But please do not lose sight of the main point with Lindows- it's not a distro for the Linux geek! This is for people who don't know or care about kernel 2.x, Debian, KDE, Gnome, RPM, slashdot, etc. They sell Lindows preloaded computers at WAL-MART for goodness sake (in the U.S, WAL-MART is this giant superstore that attracts the most average, typical, dumbest U.S. consumer there exists). The LindowsCD does come with OpenOffice BTW - at least there is a menu item for it, I didn't launch it. I see Lindows mainly as a marketing conduit- if I were running Linux day to day I would probably go with Redhat just because that's what I know. Although Knoppix is way cool for CD bootable. I saw an article somewhere that Seagate (disk drive mfg) is going to be pre-loading Lindows onto their disks at the factory!!. Maybe I hallucinated that one... can't find the article now. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From bogus@does.not.exist.com Fri Nov 19 08:05:59 2021 From: bogus@does.not.exist.com () Date: Fri, 19 Nov 2021 13:05:59 -0000 Subject: No subject Message-ID: handles only 8859-1. Other encodings would surely be a welcome addition to this function. This workaround will enable you to show the Polish text above in a Revolution field: - set the textfont of the field to Times CE or another CE font - open the text with Safari (other OS X browsers probably work as well) - change the encoding in Safari to Latin-2 - select all, copy, paste into field in Revolution -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From richmondmathewson at gmail.com Mon Nov 1 06:51:29 2021 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 1 Nov 2021 12:51:29 +0200 Subject: Forums taking the weekend off Message-ID: <82e05936-c9ef-1560-5d14-b12d1c0d0dae@gmail.com> The Forums seem to have "gone west" about 10 minutes ago. Richmond. From craig at starfirelighting.com Mon Nov 1 10:21:47 2021 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 1 Nov 2021 10:21:47 -0400 Subject: Message Tracer/IDE Crash Recipes In-Reply-To: <7f9b6152-b6cb-25bb-af7c-508823ebd4e6@pair.com> References: <7f9b6152-b6cb-25bb-af7c-508823ebd4e6@pair.com> Message-ID: Curry. I never minimize the SE, if that is the required starting point of the bug. Craig > On Oct 29, 2021, at 10:48 PM, Curry Kenworthy via use-livecode wrote: > > > Craig: > > > The project will run fine for months, in constant use, > > but then crash. Not reproducible as far as I can tell. > > > Just crashed, Again, working in the IDE, > > SE open, fixing and enhancing. > > Here's another bug that may "hint" at similar IDE behavior, > although it doesn't give me a crash: > > Bug 22597 - Invisible Menu bug > https://quality.livecode.com/show_bug.cgi?id=22597 > > That bug also happens when SE is open, or minimized. > It causes menus to be invisible but still functioning. > > It can happen from a few minutes to a few days > of an LC IDE session. Very unpredictable. > > That reminds me of the hard-to-recipe crash bugs > that also happen after a "random" amount of time. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Mon Nov 1 11:49:08 2021 From: curry at pair.com (Curry Kenworthy) Date: Mon, 1 Nov 2021 11:49:08 -0400 Subject: Message Tracer/IDE Crash Recipes In-Reply-To: References: Message-ID: Craig: > I never minimize the SE, if that is the required > starting point of the bug. Given a recipe, that's not a conclusion we can draw; all we know is that this recipe triggers the bug. Could a variation also trigger the bug? Maybe; try it. The point is: here I successfully recipe'd a bug that was as difficult to pin down as your crash, taking a similar "random" amount of time to trigger. My recipe was Confirmed and reproduced by the team. It wasn't easy; that recipe took a while to perfect. Since yours happened again just the other day, you should submit a bug report while it's fresh. Just do your best; maybe someone else will see it and help figure out a better recipe. Let's eradicate more bugs! :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From tom at makeshyft.com Mon Nov 1 15:06:53 2021 From: tom at makeshyft.com (Tom Glod) Date: Mon, 1 Nov 2021 15:06:53 -0400 Subject: widget store In-Reply-To: References: Message-ID: I think thats it Mike. I would be shocked to find out there is another one widget store. What does tmc2 do ? On Sun, Oct 31, 2021 at 12:33 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > since the lc extension store is essentially empty, does anyone have a > widget store, somewhere? > i want to leave tmc2 behind, but i keep finding out just how painful the > alternative is. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From matthias_livecode_150811 at m-r-d.de Mon Nov 1 15:43:39 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 1 Nov 2021 20:43:39 +0100 Subject: widget store In-Reply-To: References: Message-ID: When i read "tmc2" i think of tmControl 2 from Tactilemedia. A UI kit for Livecode. Here's a short introduction of it https://www.youtube.com/watch?v=_8DtrVpwrds A really great tool and it is really a pity that it is not maintained anymore. Matthias > Am 01.11.2021 um 20:06 schrieb Tom Glod via use-livecode : > > I think thats it Mike. I would be shocked to find out there is another one > widget store. > What does tmc2 do ? > > On Sun, Oct 31, 2021 at 12:33 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> since the lc extension store is essentially empty, does anyone have a >> widget store, somewhere? >> i want to leave tmc2 behind, but i keep finding out just how painful the >> alternative is. >> >> -- >> 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Mon Nov 1 16:15:55 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 1 Nov 2021 16:15:55 -0400 Subject: widget store In-Reply-To: References: Message-ID: <9E9B2888-7289-4EE0-8354-D6DC5D03B1C3@rogers.com> Hi Just checked the website for tmControl 2. http://tmtools.tactilemedia.com/tmcontrol2/index.html It says it is on vacation. Scott Rossi was the person behind TactileMedia tactilemedia.com/ Martin > On Nov 1, 2021, at 3:43 PM, matthias rebbe via use-livecode wrote: > > When i read "tmc2" i think of tmControl 2 from Tactilemedia. A UI kit for Livecode. > Here's a short introduction of it https://www.youtube.com/watch?v=_8DtrVpwrds > > A really great tool and it is really a pity that it is not maintained anymore. > > Matthias > > >> Am 01.11.2021 um 20:06 schrieb Tom Glod via use-livecode : >> >> I think thats it Mike. I would be shocked to find out there is another one >> widget store. >> What does tmc2 do ? >> >> On Sun, Oct 31, 2021 at 12:33 PM Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> since the lc extension store is essentially empty, does anyone have a >>> widget store, somewhere? >>> i want to leave tmc2 behind, but i keep finding out just how painful the >>> alternative is. >>> >>> -- >>> 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Tom Glod >> Founder & Developer >> MakeShyft R.D.A (www.makeshyft.com) >> Mobile:647.562.9411 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Nov 1 16:57:17 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 1 Nov 2021 20:57:17 +0000 Subject: widget store In-Reply-To: References: Message-ID: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> TM Align is a really handy tool for aligning/spacing objects on your card. It has a few things the property inspector alignment tab does not do, and you don't have to keep re-selecting the alignment tab in the property editor every time you close and re-open it. Scott sent me the latest one he has (or told me where to get it) so mine so far as I know still works. I haven't done any design work in quite a while. Bob S > On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode wrote: > > I think thats it Mike. I would be shocked to find out there is another one > widget store. > What does tmc2 do ? From irog at mac.com Mon Nov 1 17:08:33 2021 From: irog at mac.com (Roger Guay) Date: Mon, 1 Nov 2021 14:08:33 -0700 Subject: widget store In-Reply-To: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> Message-ID: <6DD8EF5C-F984-46E5-963C-F07D1B6DD492@mac.com> tmAlign still works in LC 9.6.4 and Mac OS 12. I love it and use it all the time. Roger > On Nov 1, 2021, at 1:57 PM, Bob Sneidar via use-livecode wrote: > > TM Align is a really handy tool for aligning/spacing objects on your card. It has a few things the property inspector alignment tab does not do, and you don't have to keep re-selecting the alignment tab in the property editor every time you close and re-open it. > > Scott sent me the latest one he has (or told me where to get it) so mine so far as I know still works. I haven't done any design work in quite a while. > > Bob S > > >> On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode wrote: >> >> I think thats it Mike. I would be shocked to find out there is another one >> widget store. >> What does tmc2 do ? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Mon Nov 1 17:45:52 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 1 Nov 2021 21:45:52 +0000 Subject: Count Up Timer? Message-ID: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> Anyone ever done a count up timer? For example, if we supply the seconds of 1605553200, we want to display the number of years, months, days, hours, minutes and seconds since that time. For example, "How long have you been alive?". This needs to be precise ??need to account for leap years, days in month, etc. Save me!! :) -Dan From matthias_livecode_150811 at m-r-d.de Mon Nov 1 18:21:06 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 1 Nov 2021 23:21:06 +0100 Subject: widget store In-Reply-To: <6DD8EF5C-F984-46E5-963C-F07D1B6DD492@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <6DD8EF5C-F984-46E5-963C-F07D1B6DD492@mac.com> Message-ID: <427F5B91-A5B6-4C26-93A0-E5D60DAC2BF6@m-r-d.de> Yes, that is also a great plugin from Scott. I used it also all the time. So much more options than the align menu of the ide. Matthias > Am 01.11.2021 um 22:08 schrieb Roger Guay via use-livecode : > > tmAlign still works in LC 9.6.4 and Mac OS 12. I love it and use it all the time. > > Roger > >> On Nov 1, 2021, at 1:57 PM, Bob Sneidar via use-livecode wrote: >> >> TM Align is a really handy tool for aligning/spacing objects on your card. It has a few things the property inspector alignment tab does not do, and you don't have to keep re-selecting the alignment tab in the property editor every time you close and re-open it. >> >> Scott sent me the latest one he has (or told me where to get it) so mine so far as I know still works. I haven't done any design work in quite a while. >> >> Bob S >> >> >>> On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode wrote: >>> >>> I think thats it Mike. I would be shocked to find out there is another one >>> widget store. >>> What does tmc2 do ? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Nov 1 18:28:31 2021 From: livfoss at mac.com (Graham Samuel) Date: Mon, 1 Nov 2021 22:28:31 +0000 Subject: Anyone using/playing with .fit files? In-Reply-To: References: <9D018E54-22C1-4FDE-B07F-FA93C986134F@mac.com> Message-ID: <804CC06A-3EA1-4916-B481-46A27D59B18B@mac.com> Thanks Sean - very helpful. I?ll look into it shortly. Graham > On 31 Oct 2021, at 22:43, Sean Cole via use-livecode wrote: > > Hi Graham, > > You could use the FitCSVTool For OSX ( > https://developer.garmin.com/fit/fitcsvtool/osx/) and use a command line > call from LC to convert the .fit file internally and make use of the data > within. That's the way I would go personally. > > Sean > > > On Sun, 31 Oct 2021 at 15:36, Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I?ve just come across these files which are generated by sport apps (such >> as Garmin and Specialized) and also have health applications. The format >> appears to be open and was I think originated by Garmin. The SDK is >> available but not too friendly to a Mac/LC person. >> >> My interest is in extracting suitable data for a .gpx file to show routes >> and other stats related to bike rides. I believe I could code this in LC >> but I wondered if anyone else had tried it. >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Nov 1 18:28:29 2021 From: tom at makeshyft.com (Tom Glod) Date: Mon, 1 Nov 2021 18:28:29 -0400 Subject: Count Up Timer? In-Reply-To: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> References: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> Message-ID: Hey Dan, I'm pretty sure this handler works. But it only does Days, Hours,Minutes and Seconds. I'm sure you can add to it. (human readable section) Cheers, Tom -------------------------------------------------------------------------- *function* TimeDisplay HowMany,DisplayHow *if* DisplayHow = "Duration" *then* *//************************************************************** *if* AppStarterStackSettings["default"]["Time Unit"] = "seconds" *then* *return* round(HowMany / 1000,3) & "s" *else* *if* AppStarterStackSettings["default"]["Time Unit"] = "milliseconds" *then* *return* HowMany & "ms" *else* *if* AppStarterStackSettings["default"]["Time Unit"] = "microseconds" *then* *end* *if* *else* *if* DisplayHow = "Human Readable" *then* *//************************************************************** *local* final_output = " days ::" *local* running_second_count *local* next_calculation *set* itemdelimiter to "." *-- we are looking at boths sides of the decimal place* *put* round(HowMany / 1000) into HowMany *-- convert to seconds* *// 86,400 seconds in an day* *// 3600 in an hour* *// 60 seonds in a minute* *// replace counts as you go* *-- days* *put* HowMany / 86400 into next_calculation *if* next_calculation < 1 *then* *put* HowMany into running_second_count *replace* "" with "0" in final_output *else* *// how many days?* *replace* "" with item 1 of next_calculation in final_output *put* (HowMany) - (item 1 of next_calculation * 86400) into running_second_count *end* *if* *-- hours* *put* running_second_count / 3600 into next_calculation *if* next_calculation < 1 *then* *replace* "" with "00" in final_output *else* *// how many hours?* *if* the number of characters in item 1 of next_calculation = 1 *then* *replace* "" with "0" & item 1 of next_calculation in final_output *else* *replace* "" with item 1 of next_calculation in final_output *end* *if* *put* (running_second_count) - (item 1 of next_calculation * 3600) into running_second_count *end* *if* *-- minutes* *put* running_second_count / 60 into next_calculation *if* next_calculation < 1 *then* *replace* "" with "00" in final_output *else* *// how many minutes?* *if* the number of characters in item 1 of next_calculation = 1 *then* *replace* "" with "0" & item 1 of next_calculation in final_output *else* *replace* "" with item 1 of next_calculation in final_output *end* *if* *put* (running_second_count) - (item 1 of next_calculation * 60) into running_second_count *end* *if* *-- seconds* *put* running_second_count into next_calculation *if* next_calculation < 1 *then* *replace* "" with "00" in final_output *else* *// how many minutes?* *if* the number of characters in item 1 of next_calculation = 1 *then* *replace* "" with "0" & next_calculation in final_output *else* *replace* "" with next_calculation in final_output *end* *if* *end* *if* *end* *if* *//************************************************************** *return* final_output *end* TimeDisplay --------------------------------------------------------------- On Mon, Nov 1, 2021 at 5:47 PM Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Anyone ever done a count up timer? For example, if we supply the seconds > of 1605553200, we want to display the number of years, months, days, hours, > minutes and seconds since that time. For example, "How long have you been > alive?". This needs to be precise ? need to account for leap years, days > in month, etc. > > Save me!! :) > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From marksmithhfx at gmail.com Mon Nov 1 18:29:48 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 1 Nov 2021 22:29:48 +0000 Subject: Count Up Timer? In-Reply-To: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> References: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> Message-ID: You want the convert command. convert 1605553200 from seconds to dateitems gives you 2020,11,16,19,0,0,2 (lookup dateitems). convert the date && the time to seconds gives the date/time right now = 1635805440, then do the same as step one with that gives you 2021,11,1,22,24,0,2. Do a little subtraction and you get 1 yr, 0 months, 15 days, 3 hours, 24 mins, 0 secs. > On Nov 1, 2021, at 9:45 PM, Dan Friedman via use-livecode wrote: > > Anyone ever done a count up timer? For example, if we supply the seconds of 1605553200, we want to display the number of years, months, days, hours, minutes and seconds since that time. For example, "How long have you been alive?". This needs to be precise ? need to account for leap years, days in month, etc. > > Save me!! :) > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Tue Nov 2 06:19:15 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Tue, 2 Nov 2021 10:19:15 +0000 Subject: OT: Facebook -> Meta (Damaged Infinity!) Message-ID: <822C5183-65EA-4334-8993-1F3BB6C3DB4B@uni-wh.de> > Jim Lambert via use-livecode Sun, 31 Oct 2021 10:44:22 -0700 > > MarkW wrote: > > From a Boingboing user comment... > > > > META: Making Evil Totally Acceptable > LOL LOL LOL If you want to see infinity in action https://forums.livecode.com/viewtopic.php?f=10&t=36412&e=1&view=unread#p210094 as W. Allen remarked: eternity can be pretty long, especially towards the end. Kind regards Bernd From iphonelagi at gmail.com Tue Nov 2 07:28:13 2021 From: iphonelagi at gmail.com (Eraklis Pittas) Date: Tue, 2 Nov 2021 11:28:13 +0000 Subject: OT: Facebook -> Meta (Damaged Infinity!) In-Reply-To: <822C5183-65EA-4334-8993-1F3BB6C3DB4B@uni-wh.de> References: <822C5183-65EA-4334-8993-1F3BB6C3DB4B@uni-wh.de> Message-ID: He was a lying POS then and he is a lying POS now https://www.dropbox.com/s/xdnjbt9mswp1aul/zuckerberg%2017%20years%20ago.mp4?dl=0 Regards Lagi On Tue, 2 Nov 2021 at 10:20, Niggemann, Bernd via use-livecode < use-livecode at lists.runrev.com> wrote: > > Jim Lambert via use-livecode Sun, 31 Oct 2021 10:44:22 -0700 > > > > MarkW wrote: > > > From a Boingboing user comment... > > > > > > META: Making Evil Totally Acceptable > > > LOL LOL LOL > > If you want to see infinity in action > > > https://forums.livecode.com/viewtopic.php?f=10&t=36412&e=1&view=unread#p210094 > > as W. Allen remarked: eternity can be pretty long, especially towards the > end. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- KIndest Regards Lagi From craig at starfirelighting.com Tue Nov 2 09:08:20 2021 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 2 Nov 2021 09:08:20 -0400 Subject: Count Up Timer? In-Reply-To: References: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> Message-ID: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Sheesh. This is just another great example why the Forum is so much better a venue than this list. It would take a lot of work to reformat the OP?s code example into something workable in the SE. Craig > On Nov 1, 2021, at 6:29 PM, Mark Smith via use-livecode wrote: > > You want the convert command. convert 1605553200 from seconds to dateitems gives you 2020,11,16,19,0,0,2 (lookup dateitems). convert the date && the time to seconds gives the date/time right now = 1635805440, then do the same as step one with that gives you 2021,11,1,22,24,0,2. Do a little subtraction and you get 1 yr, 0 months, 15 days, 3 hours, 24 mins, 0 secs. > >> On Nov 1, 2021, at 9:45 PM, Dan Friedman via use-livecode wrote: >> >> Anyone ever done a count up timer? For example, if we supply the seconds of 1605553200, we want to display the number of years, months, days, hours, minutes and seconds since that time. For example, "How long have you been alive?". This needs to be precise ? need to account for leap years, days in month, etc. >> >> Save me!! :) >> >> -Dan >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue Nov 2 10:33:18 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 2 Nov 2021 10:33:18 -0400 Subject: Count Up Timer? In-Reply-To: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Message-ID: Craig: > This is just another great example why the Forum > is so much better a venue than this list. My view is exactly opposite; I like a List soooo much better. A forum is handy for searches, so a nice place to visit now and then. But I wouldn't want to live there! :D > It would take a lot of work to reformat the OP?s code example > into something workable in the SE. I thought the OP was Dan, but you mean Tom's function? Just a matter of not pasting **styled** text for code. Even then, it's easily put right with a few commands. Mark's example is easy to follow too. List is a great venue! Always part of the LC experience. But I'm glad we have both to suit everyone. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Tue Nov 2 11:43:13 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 2 Nov 2021 08:43:13 -0700 Subject: Count Up Timer? In-Reply-To: References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Message-ID: On 11/2/21 7:33 AM, Curry Kenworthy via use-livecode wrote: > A forum is handy for searches, > so a nice place to visit now and then. > But I wouldn't want to live there! :D Heh. My thoughts as well. > > > It would take a lot of work to reformat the OP?s code example > > into something workable in the SE. > > I thought the OP was Dan, but you mean Tom's function? > Just a matter of not pasting **styled** text for code. > Even then, it's easily put right with a few commands. > Mark's example is easy to follow too. But I think neither of these will solve the OP's question unless the person was born after 1 January 1970. -- Mark Wieder ahsoftware at gmail.com From craig at starfirelighting.com Tue Nov 2 11:48:25 2021 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 2 Nov 2021 11:48:25 -0400 Subject: Count Up Timer? In-Reply-To: References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Message-ID: <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> Mark. ?... unless the person was born after 1 January 1970." Check out the thread ?When was the big bang?? on the forum: https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 Craig > On Nov 2, 2021, at 11:43 AM, Mark Wieder via use-livecode wrote: > > On 11/2/21 7:33 AM, Curry Kenworthy via use-livecode wrote: > >> A forum is handy for searches, >> so a nice place to visit now and then. >> But I wouldn't want to live there! :D > > Heh. My thoughts as well. > >> > It would take a lot of work to reformat the OP?s code example >> > into something workable in the SE. >> I thought the OP was Dan, but you mean Tom's function? >> Just a matter of not pasting **styled** text for code. >> Even then, it's easily put right with a few commands. >> Mark's example is easy to follow too. > > But I think neither of these will solve the OP's question unless the person was born after 1 January 1970. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Tue Nov 2 11:56:41 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Tue, 2 Nov 2021 15:56:41 +0000 Subject: Count Up Timer? In-Reply-To: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> References: <3AE904D1-7957-4733-8D3D-B4DA94AAC3BF@clearvisiontech.com> <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> Message-ID: Tidy. Took 10 seconds: -------------------------------------------------------------------------- function TimeDisplay HowMany,DisplayHow if DisplayHow = "Duration" then // if AppStarterStackSettings["default"]["Time Unit"] = "seconds" then return round(HowMany / 1000,3) & "s" else if AppStarterStackSettings["default"]["Time Unit"] = "milliseconds" then return HowMany & "ms" else if AppStarterStackSettings["default"]["Time Unit"] = "microseconds" then end if else if DisplayHow = "Human Readable" then // local final_output = " days ::" local running_second_count local next_calculation set itemdelimiter to "." -- we are looking at boths sides of the decimal place put round(HowMany / 1000) into HowMany -- convert to seconds // 86,400 seconds in an day // 3600 in an hour // 60 seonds in a minute // replace counts as you go -- days put HowMany / 86400 into next_calculation if next_calculation < 1 then put HowMany into running_second_count replace "" with "0" in final_output else // how many days? replace "" with item 1 of next_calculation in final_output put (HowMany) - (item 1 of next_calculation * 86400) into running_second_count end if -- hours put running_second_count / 3600 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many hours? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 3600) into running_second_count end if -- minutes put running_second_count / 60 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 60) into running_second_count end if -- seconds put running_second_count into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & next_calculation in final_output else replace "" with next_calculation in final_output end if end if end if // return final_output end TimeDisplay --------------------------------------------------------------- From bobsneidar at iotecdigital.com Tue Nov 2 12:03:03 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 2 Nov 2021 16:03:03 +0000 Subject: Count Up Timer? In-Reply-To: <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> Message-ID: <4BC9AE2B-0890-4258-9360-000EEB674F90@iotecdigital.com> And then if you want to convert to the Babalonian calendar of 360 days in a year, well that is just right out. Bob S > On Nov 2, 2021, at 08:48 , Craig Newman via use-livecode wrote: > > Mark. > > ?... unless the person was born after 1 January 1970." > > Check out the thread ?When was the big bang?? on the forum: > > https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 > > Craig > >> On Nov 2, 2021, at 11:43 AM, Mark Wieder via use-livecode wrote: >> >> On 11/2/21 7:33 AM, Curry Kenworthy via use-livecode wrote: >> >>> A forum is handy for searches, >>> so a nice place to visit now and then. >>> But I wouldn't want to live there! :D >> >> Heh. My thoughts as well. >> >>>> It would take a lot of work to reformat the OP?s code example >>>> into something workable in the SE. >>> I thought the OP was Dan, but you mean Tom's function? >>> Just a matter of not pasting **styled** text for code. >>> Even then, it's easily put right with a few commands. >>> Mark's example is easy to follow too. >> >> But I think neither of these will solve the OP's question unless the person was born after 1 January 1970. >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Nov 2 12:07:15 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 2 Nov 2021 09:07:15 -0700 Subject: Count Up Timer? In-Reply-To: <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> Message-ID: <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote: > Mark. > > ?... unless the person was born after 1 January 1970." > > Check out the thread ?When was the big bang?? on the forum: > > https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 LOL. "one bit for (the) apple." -- Mark Wieder ahsoftware at gmail.com From MikeKerner at roadrunner.com Tue Nov 2 12:24:14 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 2 Nov 2021 12:24:14 -0400 Subject: widget store In-Reply-To: <427F5B91-A5B6-4C26-93A0-E5D60DAC2BF6@m-r-d.de> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <6DD8EF5C-F984-46E5-963C-F07D1B6DD492@mac.com> <427F5B91-A5B6-4C26-93A0-E5D60DAC2BF6@m-r-d.de> Message-ID: It is really weird that we are in a widget desert, like LCB has been ignored. I looked at LCB a couple of times, like when I was trying to fix some of the issues with the treeView widget before I just got tired of fighting with it. On Mon, Nov 1, 2021 at 6:22 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes, > that is also a great plugin from Scott. I used it also all the time. So > much more options than the align menu of the ide. > > Matthias > > > > Am 01.11.2021 um 22:08 schrieb Roger Guay via use-livecode < > use-livecode at lists.runrev.com>: > > > > tmAlign still works in LC 9.6.4 and Mac OS 12. I love it and use it all > the time. > > > > Roger > > > >> On Nov 1, 2021, at 1:57 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> TM Align is a really handy tool for aligning/spacing objects on your > card. It has a few things the property inspector alignment tab does not do, > and you don't have to keep re-selecting the alignment tab in the property > editor every time you close and re-open it. > >> > >> Scott sent me the latest one he has (or told me where to get it) so > mine so far as I know still works. I haven't done any design work in quite > a while. > >> > >> Bob S > >> > >> > >>> On Nov 1, 2021, at 12:06 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> I think thats it Mike. I would be shocked to find out there is > another one > >>> widget store. > >>> What does tmc2 do ? > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at 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." From tom at makeshyft.com Tue Nov 2 13:14:33 2021 From: tom at makeshyft.com (Tom Glod) Date: Tue, 2 Nov 2021 13:14:33 -0400 Subject: Count Up Timer? In-Reply-To: <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> Message-ID: Oh man ..I forgot about the formatting thing. In my client it shows up formatted with color. Does it work ok if it is pasted plain text? On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote: > > Mark. > > > > ?... unless the person was born after 1 January 1970." > > > > Check out the thread ?When was the big bang?? on the forum: > > > > > https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 > > LOL. "one bit for (the) apple." > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From sean at pidigital.co.uk Tue Nov 2 13:27:54 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Tue, 2 Nov 2021 17:27:54 +0000 Subject: Count Up Timer? In-Reply-To: References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> Message-ID: Tom, It is. I would copy it into TextEdit (Plaintext), Atom or BBEdit first to strip any formatting properly, then copy paste from there to mail. :) It happens. Nothing to worry about and only a minor inconvenience. Good code, though :) Sean On Tue, 2 Nov 2021 at 17:14, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Oh man ..I forgot about the formatting thing. > In my client it shows up formatted with color. > Does it work ok if it is pasted plain text? > > On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote: > > > Mark. > > > > > > ?... unless the person was born after 1 January 1970." > > > > > > Check out the thread ?When was the big bang?? on the forum: > > > > > > > > > https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 > > > > LOL. "one bit for (the) apple." > > > > -- > > Mark Wieder > > ahsoftware at gmail.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jeff at siphonophore.com Tue Nov 2 14:28:47 2021 From: jeff at siphonophore.com (Jeff Reynolds) Date: Tue, 2 Nov 2021 14:28:47 -0400 Subject: OT: Facebook -> Meta (Damaged Infinity!) Message-ID: I think this needs to be a contest? > MarkW wrote: > From a Boingboing user comment... > > META: Making Evil Totally Acceptable Jeff From richmondmathewson at gmail.com Tue Nov 2 14:52:33 2021 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 2 Nov 2021 20:52:33 +0200 Subject: OT: Facebook -> Meta (Damaged Infinity!) In-Reply-To: References: Message-ID: META Making Easy To Abandon Mainly Eaten Towards the Afternoon Richmond. On 2.11.21 20:28, Jeff Reynolds via use-livecode wrote: > I think this needs to be a contest? > >> MarkW wrote: >> From a Boingboing user comment... >> >> META: Making Evil Totally Acceptable > Jeff > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Tue Nov 2 15:07:07 2021 From: mkoob at rogers.com (KOOB) Date: Tue, 2 Nov 2021 15:07:07 -0400 Subject: OT: Facebook -> Meta (Damaged Infinity!) In-Reply-To: References: Message-ID: I?m in META: May Eventually Tank Anyway. Martin Sent from my iPad > On Nov 2, 2021, at 2:30 PM, Jeff Reynolds via use-livecode wrote: > > ?I think this needs to be a contest? > >> MarkW wrote: >> From a Boingboing user comment... >> >> META: Making Evil Totally Acceptable > > Jeff > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Tue Nov 2 15:43:09 2021 From: mkoob at rogers.com (Martin Koob) Date: Tue, 2 Nov 2021 15:43:09 -0400 Subject: New MacBook Pro Display Notch In-Reply-To: References: Message-ID: Hi I saw a MacRumors.com article about this issue. https://www.macrumors.com/2021/10/28/scale-to-fit-below-built-in-camera-setting-notch/ They gave another link to some recently released Apple documentation that explains to users how to enable the ?Scale to fit below built-in camera? mode that prevents your menu bar from being partially obscured by the notch. How to adjust an app's settings to appear below the camera area on your 14-inch or 16-inch MacBook Pro https://support.apple.com/en-us/HT212842 This is something you can point your users who are encountering the problem. Martin > On Oct 19, 2021, at 4:06 PM, Mike Kerner via use-livecode wrote: > > I'm not sure this will be a problem, unless you are trying to display > something in the menubar, since that's where the notch is going to be. > > On Tue, Oct 19, 2021 at 5:14 AM Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I should have thought the simplest way round this problem was to work on >> the assumption that from now on >> ALL Apple displays will have a notch and "cut one's stack" to >> accommodate that. >> >> Of course this is only relevant to people who want to annoy end-users by >> providing full-screen window apps. >> >> On 19.10.21 11:55, HENRY LOWE via use-livecode wrote: >>> The new 14 and 16 inch MacBook Pro models announced by Apple yesterday >> include a display notch to house the 1080P front facing camera. Clearly >> this may cause problems for apps that display content in the screen area >> occupied by the new notch. >>> >>> In response Apple has created a new ?compatibility mode? for apps >> running on Macs with a notch. When this mode is active, the system changes >> the active area of the display to avoid the camera housing. This mode can >> be turned on/off by the user via a checkbox in the app?s get info panel or >> it can be activated or deactivated by the developer via a new ?info.plist? >> key. >>> >>> Link to Apple developer documentation on how to turn on / off this mode >> using the new ?info.plist? key is below: >>> >>> >> https://developer.apple.com/documentation/bundleresources/information_property_list/nsprefersdisplaysafeareacompatibilitymode >>> >>> Henry >>> >>> Ascriva Health Informatics >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Tue Nov 2 16:20:06 2021 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 2 Nov 2021 16:20:06 -0400 Subject: Count Up Timer? In-Reply-To: References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> Message-ID: <74E4BBC8-89AA-458F-9E84-083AB34D42F8@starfirelighting.com> When I was very young I used to run a gadget like this on a field with styled text: on mouseUp get fld 1 repeat for each char tChar in it put numToChar(charToNum(tChar)) after accum end repeat put accum into fld 2 end mouseUp But you do not have to do all that: on mouseUp get fld 1 put it into fld 2 end mouseUp I suppose when you put styled text into a variable, unless you play with the HTMLText, only plain text can be held there. Craig > On Nov 2, 2021, at 1:27 PM, Sean Cole via use-livecode wrote: > > Tom, > It is. > I would copy it into TextEdit (Plaintext), Atom or BBEdit first to strip > any formatting properly, then copy paste from there to mail. :) > It happens. Nothing to worry about and only a minor inconvenience. > Good code, though :) > Sean > > > On Tue, 2 Nov 2021 at 17:14, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Oh man ..I forgot about the formatting thing. >> In my client it shows up formatted with color. >> Does it work ok if it is pasted plain text? >> >> On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote: >>>> Mark. >>>> >>>> ?... unless the person was born after 1 January 1970." >>>> >>>> Check out the thread ?When was the big bang?? on the forum: >>>> >>>> >>> >> https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530 >>> >>> LOL. "one bit for (the) apple." >>> >>> -- >>> Mark Wieder >>> ahsoftware at gmail.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Tom Glod >> Founder & Developer >> MakeShyft R.D.A (www.makeshyft.com) >> Mobile:647.562.9411 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Nov 2 16:40:03 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 2 Nov 2021 20:40:03 +0000 Subject: OT: Facebook -> Meta (Damaged Infinity!) In-Reply-To: References: Message-ID: <944E6803-6514-496D-A476-257FA3E69256@iotecdigital.com> My Efficacy Tumbling Anon Bob S From francois.chaplais at mines-paristech.fr Tue Nov 2 16:41:43 2021 From: francois.chaplais at mines-paristech.fr (francois.chaplais) Date: Tue, 2 Nov 2021 21:41:43 +0100 Subject: Bug survey Message-ID: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> I wanted to answer the LC bug survey. The problem is that there is probably no bug number for my problem. So here it what I wanted to answer to the first question in the survey: ???????????????????? I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, 8 cores i7, 64 Gigs RAM, 4 TB SSD, etc.. I have the latest stable build of Livecode (9.6.4 | Build 15551). When I want to activate a menu item in the Livecode menubar, it constantly takes more than one second to react. The Livecode menu. The File menu. Using the menu to quit Livecode is for the intrepid. This is the first impression that I have of the current Livecode app, and it discourages me to even try this version. This should be a no brainer for a 2021 app. ???????????????????? Best regards, Fran?ois From MikeKerner at roadrunner.com Tue Nov 2 16:44:46 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 2 Nov 2021 16:44:46 -0400 Subject: Bug survey In-Reply-To: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> Message-ID: sounds like you should be filing a bug report. that also sounds like strange behavior. On Tue, Nov 2, 2021 at 4:42 PM francois.chaplais via use-livecode < use-livecode at lists.runrev.com> wrote: > I wanted to answer the LC bug survey. > > The problem is that there is probably no bug number for my problem. > > So here it what I wanted to answer to the first question in the survey: > > ???????????????????? > > I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, 8 > cores i7, 64 Gigs RAM, 4 TB SSD, etc.. > > I have the latest stable build of Livecode (9.6.4 | Build 15551). > > When I want to activate a menu item in the Livecode menubar, it constantly > takes more than one second to react. The Livecode menu. The File menu. > Using the menu to quit Livecode is for the intrepid. > > This is the first impression that I have of the current Livecode app, and > it discourages me to even try this version. > > This should be a no brainer for a 2021 app. > > ???????????????????? > > > Best regards, > > Fran?ois > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From MikeKerner at roadrunner.com Tue Nov 2 16:46:54 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 2 Nov 2021 16:46:54 -0400 Subject: mobile accelerometer Message-ID: is anyone using the mobile accelerometer functionality? i am thinking of adding it to our shop floor app to stop updates while forklifts are moving. -- 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." From matthias_livecode_150811 at m-r-d.de Tue Nov 2 17:03:31 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 2 Nov 2021 22:03:31 +0100 Subject: Bug survey In-Reply-To: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> Message-ID: <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> Fran?ois, i noticed something similar and asked about here in September: >> i am currently noticing a massive slow down of the LC 9.6.4 IDE menu. Not right away after opening Livecode IDE, but after some time of usage. I never noticed that in 9.6.3. Clicking on an main menu entry takes then about 2 or 3 seconds until i can see the submenu But I am not sure if this is really only an LC problem or due to the fact that i upgraded to Big Sur around the same time as LC 9.6.4 was released. Currently i only notice this slow down of the menu in 9.6.4 and i am not able to see this in 9.6.3. But maybe i am a little bit to impatient and my testing is too short. In the activity monitor i cannot see anything unusual. Now large memory consumption of LC and no high CPU usage. After a restart of LC the IDE menu behaves normal, but some time later it slows down. Is anyone else experiencing the same or a similar behavior?" << Until now i did not find any solution for this. I really do not know what is causing this and i have no recipe how to reproduce this bug. It just happens... But if you would file a bug, i would add a comment for this and we would be already 2 that have this problem. Maybe there are more people with this. Matthias > Am 02.11.2021 um 21:41 schrieb francois.chaplais via use-livecode : > > I wanted to answer the LC bug survey. > > The problem is that there is probably no bug number for my problem. > > So here it what I wanted to answer to the first question in the survey: > > ???????????????????? > > I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, 8 cores i7, 64 Gigs RAM, 4 TB SSD, etc.. > > I have the latest stable build of Livecode (9.6.4 | Build 15551). > > When I want to activate a menu item in the Livecode menubar, it constantly takes more than one second to react. The Livecode menu. The File menu. Using the menu to quit Livecode is for the intrepid. > > This is the first impression that I have of the current Livecode app, and it discourages me to even try this version. > > This should be a no brainer for a 2021 app. > > ???????????????????? > > > Best regards, > > Fran?ois > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Tue Nov 2 17:36:31 2021 From: tom at makeshyft.com (Tom Glod) Date: Tue, 2 Nov 2021 17:36:31 -0400 Subject: Count Up Timer? In-Reply-To: <74E4BBC8-89AA-458F-9E84-083AB34D42F8@starfirelighting.com> References: <1B5628D2-DCCF-465D-AA8D-331D138CFD66@starfirelighting.com> <4370122E-079A-432E-9410-BCDAF8B9A114@starfirelighting.com> <1bba20ac-d799-d8ad-6508-9a0f75988eb7@sonic.net> <74E4BBC8-89AA-458F-9E84-083AB34D42F8@starfirelighting.com> Message-ID: Ok, thanks Sean, here it is in plain text for anyone who wants to use it. function TimeDisplay HowMany,DisplayHow if DisplayHow = "Duration" then //************************************************************* if AppStarterStackSettings["default"]["Time Unit"] = "seconds" then return round(HowMany / 1000,3) & "s" else if AppStarterStackSettings["default"]["Time Unit"] = "milliseconds" then return HowMany & "ms" else if AppStarterStackSettings["default"]["Time Unit"] = "microseconds" then end if else if DisplayHow = "Human Readable" then //************************************************************* local final_output = " days ::" local running_second_count local next_calculation set itemdelimiter to "." -- we are looking at boths sides of the decimal place put round(HowMany / 1000) into HowMany -- convert to seconds // 86,400 seconds in an day // 3600 in an hour // 60 seonds in a minute // replace counts as you go -- days put HowMany / 86400 into next_calculation if next_calculation < 1 then put HowMany into running_second_count replace "" with "0" in final_output else // how many days? replace "" with item 1 of next_calculation in final_output put (HowMany) - (item 1 of next_calculation * 86400) into running_second_count end if -- hours put running_second_count / 3600 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many hours? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 3600) into running_second_count end if -- minutes put running_second_count / 60 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 60) into running_second_count end if -- seconds put running_second_count into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & next_calculation in final_output else replace "" with next_calculation in final_output end if end if end if //************************************************************* return final_output end TimeDisplay From irog at mac.com Tue Nov 2 18:27:44 2021 From: irog at mac.com (Roger Guay) Date: Tue, 2 Nov 2021 15:27:44 -0700 Subject: Lemniscate Polygon In-Reply-To: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> Message-ID: <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Dear List, Bernd has produced an absolutely beautiful animation using a Lemniskate polygon that was previously provided by Hermann Hoch. Can anyone provide some help on how to create this polygon mathematically? Since the equation for a Lemniskate involves the SqRt of negative numbers, which is not allowed in LC, I am stumped. You can find Bernd?s animation here: https://forums.livecode.com/viewtopic.php?f=10&t=36412 Thanks, Roger From paul at researchware.com Tue Nov 2 18:43:12 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 2 Nov 2021 18:43:12 -0400 Subject: Lemniscate Polygon In-Reply-To: <1888B91D-67C0-4611-893D-39257FC04030@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: For the infinity symbol polygon, wouldn't a possible way to do this is by modeling a tear drop (see http://paulbourke.net/geometry/teardrop/ which does not require imaginary numbers) and duplicating the points with opposite signs for the other half? On 11/2/2021 6:27 PM, Roger Guay via use-livecode wrote: > Dear List, > > Bernd has produced an absolutely beautiful animation using a Lemniskate polygon that was previously provided by Hermann Hoch. Can anyone provide some help on how to create this polygon mathematically? Since the equation for a Lemniskate involves the SqRt of negative numbers, which is not allowed in LC, I am stumped. > > You can find Bernd?s animation here: https://forums.livecode.com/viewtopic.php?f=10&t=36412 > > Thanks, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Nov 2 19:07:46 2021 From: dochawk at gmail.com (doc hawk) Date: Tue, 2 Nov 2021 16:07:46 -0700 Subject: mobile accelerometer In-Reply-To: References: Message-ID: <0B094CAB-84F7-4CCB-8A71-C4A4420ADF75@gmail.com> mike mumbled, > > is anyone using the mobile accelerometer functionality? > i am thinking of adding it to our shop floor app to stop updates while > forklifts are moving. I used it a few years ago to move something around the screen by tilting. It was rather straightforward: just read the things and use the related trigonometry (to figure out the angle it is held at in X & Y). However, the accelerometers will *not* tell you whether or not something is moving?once speed is reached, the acceleration drops to ?zero? (gravity will still be detected). It could tell you that motion started, though, and you could lockout for however many minutes after any acceleration. Or, you could numerically integrate to get an estimate of speed, and later measure decelerations. But wouldn?t it be simpler to just let updates happen off-shift? From irog at mac.com Tue Nov 2 19:15:28 2021 From: irog at mac.com (Roger Guay) Date: Tue, 2 Nov 2021 16:15:28 -0700 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <0E8C88DF-7A73-4E94-B5DE-26539C60D9AD@mac.com> Yes, I suppose so. Even easier would be to modify the points of a polygon generated from R = 10*sin(theta)*cos(theta) in polar coordinates (a four leaf clover type), but I?m hoping to avoid that. Thanks, Roger > On Nov 2, 2021, at 3:43 PM, Paul Dupuis via use-livecode wrote: > > For the infinity symbol polygon, wouldn't a possible way to do this is by modeling a tear drop (see http://paulbourke.net/geometry/teardrop/ which does not require imaginary numbers) and duplicating the points with opposite signs for the other half? > > On 11/2/2021 6:27 PM, Roger Guay via use-livecode wrote: >> Dear List, >> >> Bernd has produced an absolutely beautiful animation using a Lemniskate polygon that was previously provided by Hermann Hoch. Can anyone provide some help on how to create this polygon mathematically? Since the equation for a Lemniskate involves the SqRt of negative numbers, which is not allowed in LC, I am stumped. >> >> You can find Bernd?s animation here: https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> >> Thanks, >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Wed Nov 3 03:29:30 2021 From: mark at livecode.com (Mark Waddingham) Date: Wed, 03 Nov 2021 07:29:30 +0000 Subject: Lemniscate Polygon In-Reply-To: <1888B91D-67C0-4611-893D-39257FC04030@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: Hi Roger, On 2021-11-02 22:27, Roger Guay via use-livecode wrote: > Dear List, > > Bernd has produced an absolutely beautiful animation using a > Lemniskate polygon that was previously provided by Hermann Hoch. Can > anyone provide some help on how to create this polygon mathematically? > Since the equation for a Lemniskate involves the SqRt of negative > numbers, which is not allowed in LC, I am stumped. > > You can find Bernd?s animation here: > https://forums.livecode.com/viewtopic.php?f=10&t=36412 > In general lemniscates are defined as the roots of a specific kind of quartic (power four) polynomials of the pattern: (x^2 + y^2)^2 - cx^2 - dy^2 = 0 So the algorithms for solving them you are probably finding are more general 'quartic polynomial' solvers - just like solving quadratic equations, the full set of solutions can only be computed if you flip into the complex plane (i.e. where sqrt(-1) exists) rather than the real plane. However, there is at least one type of Lemniscate for which there is a nice parametric form - Bernoulli's lemniscate, which is a slightly simpler equation: (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 According to https://mathworld.wolfram.com/Lemniscate.html, this can be parameterized as: x = (a * cos(t)) / (1 + sin(t)^2) y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) Its not clear what the range of t is from the article, but I suspect it will be -pi <= t <= pi (or any 2*pi length range). So a simple repeat loop where N is the number of steps you want to take, and A is the 'scale' of the lemniscate should give you the points you want: repeat with t = -pi to pi step (2*pi / N) put A * cos(t) / (1 + sin(t)^2) into X put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y put X, Y & return after POINTS end repeat Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Wed Nov 3 04:30:44 2021 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 3 Nov 2021 10:30:44 +0200 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <68c1efbb-6d85-8e74-9647-745431f1a08c@gmail.com> Hmm: didn't like putA * cos(t) / (1 + sin(t)^2) intoX at all. Mainly because A had not been defined . . . OK: all hunky-dory with? put 200 into A Richmond On 3.11.21 9:29, Mark Waddingham via use-livecode wrote: > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> >> Bernd has produced an absolutely beautiful animation using a >> Lemniskate polygon that was previously provided by Hermann Hoch. Can >> anyone provide some help on how to create this polygon mathematically? >> Since the equation for a Lemniskate involves the SqRt of negative >> numbers, which is not allowed in LC, I am stumped. >> >> You can find Bernd?s animation here: >> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> > > In general lemniscates are defined as the roots of a specific kind of > quartic (power four) polynomials of the pattern: > > ??? (x^2 + y^2)^2 - cx^2 - dy^2 = 0 > > So the algorithms for solving them you are probably finding are more > general 'quartic polynomial' solvers - just like solving quadratic > equations, the full set of solutions can only be computed if you flip > into the complex plane (i.e. where sqrt(-1) exists) rather than the > real plane. > > However, there is at least one type of Lemniscate for which there is a > nice parametric form - Bernoulli's lemniscate, which is a slightly > simpler equation: > > ??? (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 > > According to https://mathworld.wolfram.com/Lemniscate.html, this can > be parameterized as: > > ??? x = (a * cos(t)) / (1 + sin(t)^2) > > ??? y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) > > Its not clear what the range of t is from the article, but I suspect > it will be -pi <= t <= pi (or any 2*pi length range). > > So a simple repeat loop where N is the number of steps you want to > take, and A is the 'scale' of the lemniscate should give you the > points you want: > > ??? repeat with t = -pi to pi step (2*pi / N) > ?????? put A * cos(t) / (1 + sin(t)^2) into X > ?????? put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y > ?????? put X, Y & return after POINTS > ??? end repeat > > Warmest Regards, > > Mark. > From richmondmathewson at gmail.com Wed Nov 3 04:39:05 2021 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 3 Nov 2021 10:39:05 +0200 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> https://forums.livecode.com/viewtopic.php?f=7&t=36429 Richmond. On 3.11.21 9:29, Mark Waddingham via use-livecode wrote: > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> >> Bernd has produced an absolutely beautiful animation using a >> Lemniskate polygon that was previously provided by Hermann Hoch. Can >> anyone provide some help on how to create this polygon mathematically? >> Since the equation for a Lemniskate involves the SqRt of negative >> numbers, which is not allowed in LC, I am stumped. >> >> You can find Bernd?s animation here: >> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> > > In general lemniscates are defined as the roots of a specific kind of > quartic (power four) polynomials of the pattern: > > ??? (x^2 + y^2)^2 - cx^2 - dy^2 = 0 > > So the algorithms for solving them you are probably finding are more > general 'quartic polynomial' solvers - just like solving quadratic > equations, the full set of solutions can only be computed if you flip > into the complex plane (i.e. where sqrt(-1) exists) rather than the > real plane. > > However, there is at least one type of Lemniscate for which there is a > nice parametric form - Bernoulli's lemniscate, which is a slightly > simpler equation: > > ??? (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 > > According to https://mathworld.wolfram.com/Lemniscate.html, this can > be parameterized as: > > ??? x = (a * cos(t)) / (1 + sin(t)^2) > > ??? y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) > > Its not clear what the range of t is from the article, but I suspect > it will be -pi <= t <= pi (or any 2*pi length range). > > So a simple repeat loop where N is the number of steps you want to > take, and A is the 'scale' of the lemniscate should give you the > points you want: > > ??? repeat with t = -pi to pi step (2*pi / N) > ?????? put A * cos(t) / (1 + sin(t)^2) into X > ?????? put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y > ?????? put X, Y & return after POINTS > ??? end repeat > > Warmest Regards, > > Mark. > From irog at mac.com Wed Nov 3 10:03:47 2021 From: irog at mac.com (Roger Guay) Date: Wed, 3 Nov 2021 07:03:47 -0700 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <02C034FD-9F0D-43A0-B510-9A55EDF461B7@mac.com> Thank you, Mark. That was exactly the answer I was looking for! Roger > On Nov 3, 2021, at 12:29 AM, Mark Waddingham via use-livecode wrote: > > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> Bernd has produced an absolutely beautiful animation using a >> Lemniskate polygon that was previously provided by Hermann Hoch. Can >> anyone provide some help on how to create this polygon mathematically? >> Since the equation for a Lemniskate involves the SqRt of negative >> numbers, which is not allowed in LC, I am stumped. >> You can find Bernd?s animation here: >> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> > > In general lemniscates are defined as the roots of a specific kind of quartic (power four) polynomials of the pattern: > > (x^2 + y^2)^2 - cx^2 - dy^2 = 0 > > So the algorithms for solving them you are probably finding are more general 'quartic polynomial' solvers - just like solving quadratic equations, the full set of solutions can only be computed if you flip into the complex plane (i.e. where sqrt(-1) exists) rather than the real plane. > > However, there is at least one type of Lemniscate for which there is a nice parametric form - Bernoulli's lemniscate, which is a slightly simpler equation: > > (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 > > According to https://mathworld.wolfram.com/Lemniscate.html, this can be parameterized as: > > x = (a * cos(t)) / (1 + sin(t)^2) > > y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) > > Its not clear what the range of t is from the article, but I suspect it will be -pi <= t <= pi (or any 2*pi length range). > > So a simple repeat loop where N is the number of steps you want to take, and A is the 'scale' of the lemniscate should give you the points you want: > > repeat with t = -pi to pi step (2*pi / N) > put A * cos(t) / (1 + sin(t)^2) into X > put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y > put X, Y & return after POINTS > end repeat > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Wed Nov 3 10:11:11 2021 From: irog at mac.com (Roger Guay) Date: Wed, 3 Nov 2021 07:11:11 -0700 Subject: Lemniscate Polygon In-Reply-To: <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> Message-ID: <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> And thank you, Richmond for implementing what for me was overnight. Very nice clean and simple code too!! Roger > On Nov 3, 2021, at 1:39 AM, Richmond via use-livecode wrote: > > https://forums.livecode.com/viewtopic.php?f=7&t=36429 > > Richmond. > > On 3.11.21 9:29, Mark Waddingham via use-livecode wrote: >> Hi Roger, >> >> On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >>> Dear List, >>> >>> Bernd has produced an absolutely beautiful animation using a >>> Lemniskate polygon that was previously provided by Hermann Hoch. Can >>> anyone provide some help on how to create this polygon mathematically? >>> Since the equation for a Lemniskate involves the SqRt of negative >>> numbers, which is not allowed in LC, I am stumped. >>> >>> You can find Bernd?s animation here: >>> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >>> >> >> In general lemniscates are defined as the roots of a specific kind of quartic (power four) polynomials of the pattern: >> >> (x^2 + y^2)^2 - cx^2 - dy^2 = 0 >> >> So the algorithms for solving them you are probably finding are more general 'quartic polynomial' solvers - just like solving quadratic equations, the full set of solutions can only be computed if you flip into the complex plane (i.e. where sqrt(-1) exists) rather than the real plane. >> >> However, there is at least one type of Lemniscate for which there is a nice parametric form - Bernoulli's lemniscate, which is a slightly simpler equation: >> >> (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 >> >> According to https://mathworld.wolfram.com/Lemniscate.html, this can be parameterized as: >> >> x = (a * cos(t)) / (1 + sin(t)^2) >> >> y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) >> >> Its not clear what the range of t is from the article, but I suspect it will be -pi <= t <= pi (or any 2*pi length range). >> >> So a simple repeat loop where N is the number of steps you want to take, and A is the 'scale' of the lemniscate should give you the points you want: >> >> repeat with t = -pi to pi step (2*pi / N) >> put A * cos(t) / (1 + sin(t)^2) into X >> put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y >> put X, Y & return after POINTS >> end repeat >> >> Warmest Regards, >> >> Mark. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Nov 3 11:25:20 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Nov 2021 15:25:20 +0000 Subject: Lemniscate Polygon In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> Message-ID: <56F12106-7097-4631-83FD-1BA7EE01F9EE@iotecdigital.com> Ok, you googled that, didn't you?? ;-) Bob S > On Nov 3, 2021, at 24:29 , Mark Waddingham via use-livecode wrote: > > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> Bernd has produced an absolutely beautiful animation using a >> Lemniskate polygon that was previously provided by Hermann Hoch. Can >> anyone provide some help on how to create this polygon mathematically? >> Since the equation for a Lemniskate involves the SqRt of negative >> numbers, which is not allowed in LC, I am stumped. >> You can find Bernd?s animation here: >> https://forums.livecode.com/viewtopic.php?f=10&t=36412 >> > > In general lemniscates are defined as the roots of a specific kind of quartic (power four) polynomials of the pattern: > > (x^2 + y^2)^2 - cx^2 - dy^2 = 0 > > So the algorithms for solving them you are probably finding are more general 'quartic polynomial' solvers - just like solving quadratic equations, the full set of solutions can only be computed if you flip into the complex plane (i.e. where sqrt(-1) exists) rather than the real plane. > > However, there is at least one type of Lemniscate for which there is a nice parametric form - Bernoulli's lemniscate, which is a slightly simpler equation: > > (x^2 + y^2)^2 - 2a^2(x^2 - y^2) = 0 > > According to https://mathworld.wolfram.com/Lemniscate.html, this can be parameterized as: > > x = (a * cos(t)) / (1 + sin(t)^2) > > y = (a * sin(t) * cos(t)) / (1 + sin(t)^2) > > Its not clear what the range of t is from the article, but I suspect it will be -pi <= t <= pi (or any 2*pi length range). > > So a simple repeat loop where N is the number of steps you want to take, and A is the 'scale' of the lemniscate should give you the points you want: > > repeat with t = -pi to pi step (2*pi / N) > put A * cos(t) / (1 + sin(t)^2) into X > put A * sin(t) * cos(t) / (1 + sin(t)^2) into Y > put X, Y & return after POINTS > end repeat > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps From MikeKerner at roadrunner.com Wed Nov 3 12:18:17 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Nov 2021 12:18:17 -0400 Subject: mobile accelerometer In-Reply-To: <0B094CAB-84F7-4CCB-8A71-C4A4420ADF75@gmail.com> References: <0B094CAB-84F7-4CCB-8A71-C4A4420ADF75@gmail.com> Message-ID: Right - it's the deceleration and delay that I'm hoping I can use to determine that the forklift has stopped moving. And yes, there are simpler ways to do everything - but if I was going for simple, I would have stationary, wired workstations running our ERP software, not a mobile app running on the truck. On Tue, Nov 2, 2021 at 7:09 PM doc hawk via use-livecode < use-livecode at lists.runrev.com> wrote: > > mike mumbled, > > > > is anyone using the mobile accelerometer functionality? > > i am thinking of adding it to our shop floor app to stop updates while > > forklifts are moving. > > I used it a few years ago to move something around the screen by tilting. > It was rather straightforward: just read the things and use the related > trigonometry (to figure out the angle it is held at in X & Y). > > However, the accelerometers will *not* tell you whether or not something > is moving?once speed is reached, the acceleration drops to ?zero? (gravity > will still be detected). > > It could tell you that motion started, though, and you could lockout for > however many minutes after any acceleration. > > Or, you could numerically integrate to get an estimate of speed, and later > measure decelerations. > > But wouldn?t it be simpler to just let updates happen off-shift? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From MikeKerner at roadrunner.com Wed Nov 3 12:57:25 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Nov 2021 12:57:25 -0400 Subject: win 11 Message-ID: anyone screwing with win 11 and lc? -- 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." From bobsneidar at iotecdigital.com Wed Nov 3 16:42:43 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Nov 2021 20:42:43 +0000 Subject: Popup Menus Message-ID: <9F08BDF1-B663-4192-B44C-BFCDFE1C2176@iotecdigital.com> Hi all. This is a little difficult to explain. I have a popup menu. The first item in the text of the menu is "New Customer..." so that if I popup the menu then let go somewhere OUTSIDE the rect or the popped up items, menuPick is STILL triggered and the first item in the text of the popup button is the parameter passed to it. This means that even if a user clicks off a popped menu, the handler is still triggered. I think this is a bug, and popup menus ought not work that way, but neither here nor there. A workaround would be to detect if the mouseLoc was within the rect of the menu options that pop up when the menu is clicked, but alas the rect of the popup menu is only the size of the button, and does NOT include the options that appear when the button is clicked. Is there any way to get that rect? I suppose I could calculate it based on the max(, ) given the line height and width of the button, but that is a bit of a kludge. Bob S From MikeKerner at roadrunner.com Wed Nov 3 17:03:45 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Nov 2021 17:03:45 -0400 Subject: Bug survey In-Reply-To: <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> Message-ID: Does anyone remember the bug number for the mobile event ordering issue? I can't find it in the bug db and it just bit me so I was going to email LC to modify my list. This is the bug where (on mobile) events don't necessarily thread, so if you are in the middle of a handler and you try to jump out by branching to another card (or handler) the current one will continue to execute. I think it also included an issue with event timing being borked on mobile. On Tue, Nov 2, 2021 at 5:04 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Fran?ois, > > i noticed something similar and asked about here in September: > > >> > i am currently noticing a massive slow down of the LC 9.6.4 IDE menu. Not > right away after opening Livecode IDE, but after some time of usage. > I never noticed that in 9.6.3. Clicking on an main menu entry takes then > about 2 or 3 seconds until i can see the submenu > But I am not sure if this is really only an LC problem or due to the fact > that i upgraded to Big Sur around the same time as LC 9.6.4 was released. > Currently i only notice this slow down of the menu in 9.6.4 and i am not > able to see this in 9.6.3. But maybe i am a little bit to impatient and my > testing is too short. > In the activity monitor i cannot see anything unusual. Now large memory > consumption of LC and no high CPU usage. > After a restart of LC the IDE menu behaves normal, but some time later it > slows down. > Is anyone else experiencing the same or a similar behavior?" > << > > Until now i did not find any solution for this. I really do not know what > is causing this and i have no recipe how to reproduce this bug. It just > happens... > > But if you would file a bug, i would add a comment for this and we would > be already 2 that have this problem. Maybe there are more people with this. > > > Matthias > > > > > Am 02.11.2021 um 21:41 schrieb francois.chaplais via use-livecode < > use-livecode at lists.runrev.com>: > > > > I wanted to answer the LC bug survey. > > > > The problem is that there is probably no bug number for my problem. > > > > So here it what I wanted to answer to the first question in the survey: > > > > ???????????????????? > > > > I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, 8 > cores i7, 64 Gigs RAM, 4 TB SSD, etc.. > > > > I have the latest stable build of Livecode (9.6.4 | Build 15551). > > > > When I want to activate a menu item in the Livecode menubar, it > constantly takes more than one second to react. The Livecode menu. The File > menu. Using the menu to quit Livecode is for the intrepid. > > > > This is the first impression that I have of the current Livecode app, > and it discourages me to even try this version. > > > > This should be a no brainer for a 2021 app. > > > > ???????????????????? > > > > > > Best regards, > > > > Fran?ois > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at 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." From MikeKerner at roadrunner.com Wed Nov 3 17:42:22 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Nov 2021 17:42:22 -0400 Subject: Bug survey In-Reply-To: References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> Message-ID: oh yeah, and another one I forgot about because I've just dealt with it for so long: silent error fails on mobile - again I don't see it in the bug db any more. On Wed, Nov 3, 2021 at 5:03 PM Mike Kerner wrote: > Does anyone remember the bug number for the mobile event ordering issue? I > can't find it in the bug db and it just bit me so I was going to email LC > to modify my list. > This is the bug where (on mobile) events don't necessarily thread, so if > you are in the middle of a handler and you try to jump out by branching to > another card (or handler) the current one will continue to execute. I think > it also included an issue with event timing being borked on mobile. > > On Tue, Nov 2, 2021 at 5:04 PM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Fran?ois, >> >> i noticed something similar and asked about here in September: >> >> >> >> i am currently noticing a massive slow down of the LC 9.6.4 IDE menu. Not >> right away after opening Livecode IDE, but after some time of usage. >> I never noticed that in 9.6.3. Clicking on an main menu entry takes then >> about 2 or 3 seconds until i can see the submenu >> But I am not sure if this is really only an LC problem or due to the fact >> that i upgraded to Big Sur around the same time as LC 9.6.4 was released. >> Currently i only notice this slow down of the menu in 9.6.4 and i am not >> able to see this in 9.6.3. But maybe i am a little bit to impatient and my >> testing is too short. >> In the activity monitor i cannot see anything unusual. Now large memory >> consumption of LC and no high CPU usage. >> After a restart of LC the IDE menu behaves normal, but some time later it >> slows down. >> Is anyone else experiencing the same or a similar behavior?" >> << >> >> Until now i did not find any solution for this. I really do not know what >> is causing this and i have no recipe how to reproduce this bug. It just >> happens... >> >> But if you would file a bug, i would add a comment for this and we would >> be already 2 that have this problem. Maybe there are more people with this. >> >> >> Matthias >> >> >> >> > Am 02.11.2021 um 21:41 schrieb francois.chaplais via use-livecode < >> use-livecode at lists.runrev.com>: >> > >> > I wanted to answer the LC bug survey. >> > >> > The problem is that there is probably no bug number for my problem. >> > >> > So here it what I wanted to answer to the first question in the survey: >> > >> > ???????????????????? >> > >> > I am on MacOS Big Sur, 11.6.1 (20G224). Latest 27'' iMac, Intel Chip, >> 8 cores i7, 64 Gigs RAM, 4 TB SSD, etc.. >> > >> > I have the latest stable build of Livecode (9.6.4 | Build 15551). >> > >> > When I want to activate a menu item in the Livecode menubar, it >> constantly takes more than one second to react. The Livecode menu. The File >> menu. Using the menu to quit Livecode is for the intrepid. >> > >> > This is the first impression that I have of the current Livecode app, >> and it discourages me to even try this version. >> > >> > This should be a no brainer for a 2021 app. >> > >> > ???????????????????? >> > >> > >> > Best regards, >> > >> > Fran?ois >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at 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 at 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." > -- 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." From jacque at hyperactivesw.com Wed Nov 3 17:47:39 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 3 Nov 2021 16:47:39 -0500 Subject: Bug survey In-Reply-To: References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> Message-ID: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> On 11/3/21 4:03 PM, Mike Kerner via use-livecode wrote: > This is the bug where (on mobile) events don't necessarily thread, so if > you are in the middle of a handler and you try to jump out by branching to > another card (or handler) the current one will continue to execute. I think > it also included an issue with event timing being borked on mobile. I may not understand correctly, but in general this is normal behavior. When you go to another card or handler, those messages are sent and then the original handler continues. If you don't want a continuation, add an "exit" command after the "go". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Nov 3 18:58:04 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 3 Nov 2021 22:58:04 +0000 Subject: Popup Menus In-Reply-To: <9F08BDF1-B663-4192-B44C-BFCDFE1C2176@iotecdigital.com> References: <9F08BDF1-B663-4192-B44C-BFCDFE1C2176@iotecdigital.com> Message-ID: <43FC1000-148A-4C87-9F3D-1ABADDB787E0@iotecdigital.com> NVM I solved it. The code may be useful to others. The function popupRect() will return the popup area, not including the button rect, of a button whose longid you pass to it: on menuPick put the mouseLoc into tMouseLoc put popupRect(the long id of me) into tPopupRect if tMouseLoc is not within tPopupRect then \ return false end menuPick function popupRect pButtonID put the rect of pButtonID into tMyRect put min(the menuLines of pButtonID,the number of lines of the text of pButtonID) into tVisibleLines put the effective textHeight of pButtonID into tLineHeight put tLineHeight * tVisibleLines into tEffectiveOptionsHeight add tEffectiveOptionsHeight to item 4 of tMyRect subtract 18 from item 3 of tMyRect add the effective height of pButtonID to item 2 of tMyRect return tMyRect end popupRect Bob S (ps. This should go into the MasterLibrary) > On Nov 3, 2021, at 13:42 , Bob Sneidar via use-livecode wrote: > > Hi all. This is a little difficult to explain. > > I have a popup menu. The first item in the text of the menu is "New Customer..." so that if I popup the menu then let go somewhere OUTSIDE the rect or the popped up items, menuPick is STILL triggered and the first item in the text of the popup button is the parameter passed to it. > > This means that even if a user clicks off a popped menu, the handler is still triggered. I think this is a bug, and popup menus ought not work that way, but neither here nor there. > > A workaround would be to detect if the mouseLoc was within the rect of the menu options that pop up when the menu is clicked, but alas the rect of the popup menu is only the size of the button, and does NOT include the options that appear when the button is clicked. > > Is there any way to get that rect? I suppose I could calculate it based on the max(, ) given the line height and width of the button, but that is a bit of a kludge. > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Nov 4 07:18:21 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 4 Nov 2021 07:18:21 -0400 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> References: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: I'm checking up on the Script Editor Disassociation Bug, described in this thread: Paul, Bob, Ben, Mark (and Hermann) commented at the time, having experienced the same bug or something very similar. Me: > sometimes the Script Editor window seems to disassociate > from the object being edited. Thus after this bug is triggered, > any typed script changes may not really be applied and saved, > although they are shown as applied. Next LC session, those > changes are gone; the stack code is still as it was > prior to the bug being triggered and prior to editing the script. Interestingly, the comments involved all IDE platforms! I couldn't find a bug report on it; likely never had a recipe. Still interested though! I'd like to recipe or report it. But first: Has anyone seen this bug lately? (On LC 9.6.3 or later.) Especially Paul, Bob, Ben, Mark? My experience: I saw it several times when screensharing with a client, so I saw it happen on Mac. It may have happened to me once? But I think the trigger required certain habits I don't have! That is the key to a recipe; only those actions cause it. Probably one's method of applying and saving changes after editing a script; Apply first, versus just save, from the SE (in the edited tab) or from the stack, etc. The little details of how we Apply and Save. For me the required actions would be like a "mistake" since my habit and discipline usually avoid them. So I'm going to keep an eye out for it, but only if it still exists! (???) (I can ask the client again too.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From paul at researchware.com Thu Nov 4 08:26:07 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 4 Nov 2021 08:26:07 -0400 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: References: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: <41c370da-674f-bc09-1ca1-c3ffb90cdcaf@researchware.com> On 11/4/2021 7:18 AM, Curry Kenworthy via use-livecode wrote: > > I'm checking up on the Script Editor Disassociation Bug, > described in this thread: > > > > > > But first: Has anyone seen this bug lately? (On LC 9.6.3 or later.) > Especially Paul, Bob, Ben, Mark? > I have not noticed recently - not in the 9.6.x series. I am not saying it might not be present, but I can not recall running into it since back in the 9.0.x time frame. My vague recollection was I encountered it when the property inspector was open and the project browser was open and I selected a different object (although whether I selected the new object in the project browser or by clicking on the object in a stack I can't recall. As I said in my original post, it was intermittent at best, so it was probably some specific sequence of object selection actions that I was doing sometimes unconsciously that led to the disassociation. At any rate, it may be "fixed" in current releases. From MikeKerner at roadrunner.com Thu Nov 4 10:15:33 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 4 Nov 2021 10:15:33 -0400 Subject: Bug survey In-Reply-To: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> References: <86EEE0C1-3A2A-4F4E-8B80-E0B5BB7C7029@mines-paristech.fr> <85EC8ABD-22D1-4B5C-BBAF-76D01D3CA023@m-r-d.de> <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: No, this is something different. There was a bug report on mobile related to event ordering, but I can't find it. I originally worked around it (like the error causing silent aborts), but it just jumped back up at me, again, and reminded me that I didn't put it on my list. On Wed, Nov 3, 2021 at 5:48 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 11/3/21 4:03 PM, Mike Kerner via use-livecode wrote: > > This is the bug where (on mobile) events don't necessarily thread, so if > > you are in the middle of a handler and you try to jump out by branching > to > > another card (or handler) the current one will continue to execute. I > think > > it also included an issue with event timing being borked on mobile. > > I may not understand correctly, but in general this is normal behavior. > When you go to another > card or handler, those messages are sent and then the original handler > continues. If you don't > want a continuation, add an "exit" command after the "go". > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From bobsneidar at iotecdigital.com Thu Nov 4 11:06:24 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Nov 2021 15:06:24 +0000 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: References: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: I have not seen this to my remembrance. Bob S > On Nov 4, 2021, at 04:18 , Curry Kenworthy via use-livecode wrote: > > I'm checking up on the Script Editor Disassociation Bug, > described in this thread: > > > > Paul, Bob, Ben, Mark (and Hermann) commented at the time, > having experienced the same bug or something very similar. From ahsoftware at sonic.net Thu Nov 4 13:22:03 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 4 Nov 2021 10:22:03 -0700 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: References: <6428367c-05d9-997b-7740-9c292dc87164@hyperactivesw.com> Message-ID: <516db115-1fe1-d6b0-d196-84a62b0148c0@sonic.net> On 11/4/21 4:18 AM, Curry Kenworthy via use-livecode wrote: > > I'm checking up on the Script Editor Disassociation Bug, > described in this thread: > > By way of not adding any more data points to your survey (sorry), I can say that I haven't seen this happening lately. But since I'm not sure what the conditions for invoking the bug were in the first place, I don't think the absence of the problem necessarily means it's solved. So ?\_(?)_/? -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Thu Nov 4 13:58:07 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 4 Nov 2021 13:58:07 -0400 Subject: Script Editor Disassociation Bug - Seen it lately? In-Reply-To: <41c370da-674f-bc09-1ca1-c3ffb90cdcaf@researchware.com> References: <41c370da-674f-bc09-1ca1-c3ffb90cdcaf@researchware.com> Message-ID: <23b5e210-3aee-047b-6689-3479d214ca02@pair.com> Paul: > I have not noticed recently - not in the 9.6.x series. Good! Paul: > probably some specific sequence of object selection actions Right, so actions during selection and/or script saving. Bob: > I have not seen this to my remembrance. Also good! Mark: > I don't think the absence of the problem > necessarily means it's solved. True. I'm happy no one has seen it lately; hopefully it's gone and on to other bugs. (But yeah, I still need to check with the client, plus there was a possibly related bug still Open.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From Bernd.Niggemann at uni-wh.de Thu Nov 4 14:34:49 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 4 Nov 2021 18:34:49 +0000 Subject: Script Editor Disassociation Bug - Seen it lately? Message-ID: <6C185029-E282-4578-B565-FDA87623B6BD@uni-wh.de> On 11/4/21 4:18 AM, Curry Kenworthy via use-livecode wrote: I'm checking up on the Script Editor Disassociation Bug, described in this thread: I don't know if this is a dissociation of the Script Editor but bug 22555 can fool you into thinking that the script is compiled although it is not. It only occurs if you have "Live Errors" unchecked. It is in "Edit" -> "Options" when Script Editor is open. https://quality.livecode.com/show_bug.cgi?id=22555 I think that one is easy to fix and a proposed fix is in the bug report and has been made a pull-request https://github.com/livecode/livecode-ide/pull/2117 Of course my proposed fix might not be the right fix but it works. Kind regards Bernd From roland.huettmann at gmail.com Thu Nov 4 15:48:31 2021 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 4 Nov 2021 20:48:31 +0100 Subject: Win 11 Message-ID: @Mike Kerner I am using Win 11. I had no issues so far. All works as expected, but I have only be using the IDE. Now, after switching to a 1 TB SSD and 16 MB Ram, also the script editor becomes usable under Windows. What a difference... Wow. Have fun ) Roland From bobsneidar at iotecdigital.com Thu Nov 4 16:19:53 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Nov 2021 20:19:53 +0000 Subject: Win 11 In-Reply-To: References: Message-ID: <0C48E319-5530-4318-937A-39755F5B01FE@iotecdigital.com> Hi Roland. I am wondering if you have had the opportunity to see LC running under MacOS? I have, and would like input from others using Win11 AND MacOS to chime in. Bob S > On Nov 4, 2021, at 12:48 , R.H. via use-livecode wrote: > > @Mike Kerner > > I am using Win 11. I had no issues so far. All works as expected, but I > have only be using the IDE. > > Now, after switching to a 1 TB SSD and 16 MB Ram, also the script editor > becomes usable under Windows. What a difference... Wow. > > Have fun ) > > Roland > ______________ From irog at mac.com Thu Nov 4 16:49:29 2021 From: irog at mac.com (Roger Guay) Date: Thu, 4 Nov 2021 13:49:29 -0700 Subject: Control of Text Fields. In-Reply-To: <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> Message-ID: I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? Thanks, Roger From bobsneidar at iotecdigital.com Thu Nov 4 18:22:17 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Nov 2021 22:22:17 +0000 Subject: Control of Text Fields. In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> Message-ID: <7BB8CBB8-EDCF-49ED-8393-300569550C3E@iotecdigital.com> OK I tried sending put the selectedChunk in one second in an openField handler in a field. What I get... (you may want to sit down for this...) is: Bob Carol That exists precicely NO WHERE IN MY APPLICATION!!!!! Bob S > On Nov 4, 2021, at 13:49 , Roger Guay via use-livecode wrote: > > I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? > > Thanks, > Roger From bobsneidar at iotecdigital.com Thu Nov 4 18:25:31 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Nov 2021 22:25:31 +0000 Subject: Control of Text Fields. In-Reply-To: <7BB8CBB8-EDCF-49ED-8393-300569550C3E@iotecdigital.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <7BB8CBB8-EDCF-49ED-8393-300569550C3E@iotecdigital.com> Message-ID: I just searched for Carol in ANYTHING in ALL OBJECTS in my stack. The word Carol is in nothing. Memory corruption anyone??? Bob S > On Nov 4, 2021, at 15:22 , Bob Sneidar via use-livecode wrote: > > OK I tried sending put the selectedChunk in one second in an openField handler in a field. What I get... (you may want to sit down for this...) is: > > Bob > Carol > > That exists precicely NO WHERE IN MY APPLICATION!!!!! > > Bob S > > >> On Nov 4, 2021, at 13:49 , Roger Guay via use-livecode wrote: >> >> I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? >> >> Thanks, >> Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Nov 4 18:53:44 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 4 Nov 2021 15:53:44 -0700 Subject: Control of Text Fields. In-Reply-To: References: Message-ID: <41d44a21-03d9-8317-5dbc-b2eb877b912d@fourthworld.com> Possibly memory corruption, but unlikely. More likely a plugin or IDE element with test code hanging around. If only there was a way to trace message handlers so you could see where the culprit lies... http://lists.runrev.com/pipermail/use-livecode/2021-October/266125.html :) -- Richard Gaskin Fourth World Systems Bob Sneidar wrote: > I just searched for Carol in ANYTHING in ALL OBJECTS in my stack. The word Carol is in nothing. Memory corruption anyone??? > > Bob S > > >> On Nov 4, 2021, at 15:22 , Bob Sneidar via use-livecode wrote: >> >> OK I tried sending put the selectedChunk in one second in an openField handler in a field. What I get... (you may want to sit down for this...) is: >> >> Bob >> Carol >> >> That exists precicely NO WHERE IN MY APPLICATION!!!!! >> >> Bob S From irog at mac.com Thu Nov 4 19:00:00 2021 From: irog at mac.com (Roger Guay) Date: Thu, 4 Nov 2021 16:00:00 -0700 Subject: Control of Text Fields. In-Reply-To: <41d44a21-03d9-8317-5dbc-b2eb877b912d@fourthworld.com> References: <41d44a21-03d9-8317-5dbc-b2eb877b912d@fourthworld.com> Message-ID: I think you guys have accidentally hijacked my thread. Roger > On Nov 4, 2021, at 3:53 PM, Richard Gaskin via use-livecode wrote: > > Possibly memory corruption, but unlikely. More likely a plugin or IDE element with test code hanging around. > > If only there was a way to trace message handlers so you could see where the culprit lies... > > http://lists.runrev.com/pipermail/use-livecode/2021-October/266125.html > > :) > > -- > Richard Gaskin > Fourth World Systemsaccidentally > > > Bob Sneidar wrote: > >> I just searched for Carol in ANYTHING in ALL OBJECTS in my stack. The word Carol is in nothing. Memory corruption anyone??? >> Bob S >>> On Nov 4, 2021, at 15:22 , Bob Sneidar via use-livecode wrote: >>> OK I tried sending put the selectedChunk in one second in an openField handler in a field. What I get... (you may want to sit down for this...) is: Bob >>> Carol >>> That exists precicely NO WHERE IN MY APPLICATION!!!!! Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Nov 4 20:53:56 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 5 Nov 2021 00:53:56 +0000 Subject: Control of Text Fields. In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> Message-ID: <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> Hi Roger, I'm not sure I properly understand your question. here's a code snippet the moves the insertion point (in this sample, typing an 'f' moves it forward, 'b' moves it back). (Note this also works if there is some text selected - it moves the insertion to just after the selection, just like the arrow key does). > on keydown p > ?? local t > ?? switch p > ????? case? "f" > ???????? put word 4 of the selectedchunk into t > ???????? select after char (t+1) of me > ???????? break > ????? case "b" > ???????? put word 2 of the selectedchunk into t > ???????? select before char (t-1) of me > ???????? break > ?? end? switch > end keydown To then delete the char in front of it, you'd do something like ?? put empty into char (t+1) of me Hope that's close enough to what you were asking, or at least gives you a starting place? :-), Alex. On 04/11/2021 20:49, Roger Guay via use-livecode wrote: > I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? > > Thanks, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Thu Nov 4 21:39:48 2021 From: irog at mac.com (Roger Guay) Date: Thu, 4 Nov 2021 18:39:48 -0700 Subject: Control of Text Fields. In-Reply-To: <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> Message-ID: <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator stack with forward and back arrow buttons and a Delete button. What's the script for these buttons? Roger > On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode wrote: > > Hi Roger, > > I'm not sure I properly understand your question. > > here's a code snippet the moves the insertion point (in this sample, typing an 'f' moves it forward, 'b' moves it back). (Note this also works if there is some text selected - it moves the insertion to just after the selection, just like the arrow key does). > >> on keydown p >> local t >> switch p >> case "f" >> put word 4 of the selectedchunk into t >> select after char (t+1) of me >> break >> case "b" >> put word 2 of the selectedchunk into t >> select before char (t-1) of me >> break >> end switch >> end keydown > To then delete the char in front of it, you'd do something like > > put empty into char (t+1) of me > > Hope that's close enough to what you were asking, or at least gives you a starting place :-), > > Alex. > > On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >> I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? >> >> Thanks, >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Nov 5 03:33:58 2021 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 5 Nov 2021 09:33:58 +0200 Subject: Control of Text Fields. In-Reply-To: <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> Message-ID: Surely the script depends on what you want those buttons to do. On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < use-livecode at lists.runrev.com> wrote: > Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator > stack with forward and back arrow buttons and a Delete button. What's the > script for these buttons? > > Roger > > > On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Roger, > > > > I'm not sure I properly understand your question. > > > > here's a code snippet the moves the insertion point (in this sample, > typing an 'f' moves it forward, 'b' moves it back). (Note this also works > if there is some text selected - it moves the insertion to just after the > selection, just like the arrow key does). > > > >> on keydown p > >> local t > >> switch p > >> case "f" > >> put word 4 of the selectedchunk into t > >> select after char (t+1) of me > >> break > >> case "b" > >> put word 2 of the selectedchunk into t > >> select before char (t-1) of me > >> break > >> end switch > >> end keydown > > To then delete the char in front of it, you'd do something like > > > > put empty into char (t+1) of me > > > > Hope that's close enough to what you were asking, or at least gives you > a starting place :-), > > > > Alex. > > > > On 04/11/2021 20:49, Roger Guay via use-livecode wrote: > >> I simply want to be able to move the insertion iBeam in a focused field > left and right, one char at a time (just like the left and right arrows > keys), and then to delete the char in front of it (just like the Delete > key). The dictionary was again of no use to me. Can someone please provide > sample scripts? > >> > >> Thanks, > >> Roger > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Fri Nov 5 07:05:35 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 5 Nov 2021 07:05:35 -0400 Subject: LC 9.6.5 RC 2 Speed Test Message-ID: My first LC 9.6.5 RC 2 Speed Test - Results on Windows 10, current WordLib.... - LC 9.6.3: A.docx - 0.073 seconds B.docx - 0.518 seconds C.docx - 0.321 seconds D.docx - 0.314 seconds E.docx - 9.202 seconds - LC 9.6.5 RC 2: A.docx - 0.05 seconds B.docx - 0.484 seconds C.docx - 0.284 seconds D.docx - 0.289 seconds E.docx - 7.196 seconds LC 6.7.11: A.docx - 0.057 seconds B.docx - 0.362 seconds C.docx - 0.114 seconds D.docx - 0.338 seconds E.docx - 2.991 seconds Ratings: - LC 9.6.5 RC 2 vs LC 9.6.3: 5 Wins, 0 Losses - LC 9.6.5 RC 2 vs LC 6.7.11: 2 Wins, 3 Losses Conclusion: Good progress; if we follow up on these gains and locate other areas needing optimization, LC 10/11 can be pretty fleet of foot! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From mark at livecode.com Fri Nov 5 07:30:32 2021 From: mark at livecode.com (Mark Waddingham) Date: Fri, 05 Nov 2021 11:30:32 +0000 Subject: LC 9.6.5 RC 2 Speed Test In-Reply-To: References: Message-ID: On 2021-11-05 11:05, Curry Kenworthy via use-livecode wrote: > My first LC 9.6.5 RC 2 Speed Test - > > Results on Windows 10, current WordLib.... > > Ratings: > > - LC 9.6.5 RC 2 vs LC 9.6.3: 5 Wins, 0 Losses > - LC 9.6.5 RC 2 vs LC 6.7.11: 2 Wins, 3 Losses > > Conclusion: > > Good progress; if we follow up on these gains > and locate other areas needing optimization, > LC 10/11 can be pretty fleet of foot! Well that is pleasing to see. Is there any chance you can package up the files used to test along with the stack and submit as an issue to BZ? That way we can take a look to see what is causing the significant differences with C and E, in particular? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From curry at pair.com Fri Nov 5 08:32:29 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 5 Nov 2021 08:32:29 -0400 Subject: LC 9.6.5 RC 2 Speed Test In-Reply-To: References: Message-ID: <36417094-e1d4-719f-2f25-d0f9d405bcb5@pair.com> Mark: > Is there any chance you can package up the files used to test > along with the stack and submit as an issue to BZ? > That way we can take a look to see what is causing > the significant differences with C and E, in particular? Absolutely; thanks! I'll do that within the next few days. (Should I use the old speed bug 21561 or a new one?) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From mark at livecode.com Fri Nov 5 08:48:33 2021 From: mark at livecode.com (Mark Waddingham) Date: Fri, 05 Nov 2021 12:48:33 +0000 Subject: LC 9.6.5 RC 2 Speed Test In-Reply-To: <36417094-e1d4-719f-2f25-d0f9d405bcb5@pair.com> References: <36417094-e1d4-719f-2f25-d0f9d405bcb5@pair.com> Message-ID: <94d161e06e5f765390d0c9ce1932ae51@livecode.com> On 2021-11-05 12:32, Curry Kenworthy via use-livecode wrote: > Absolutely; thanks! > I'll do that within the next few days. > > (Should I use the old speed bug 21561 or a new one?) If you just add it as another example stack to Bug 21561 that would be fine - there's a good chance its multiple actual issues (just as the existing stack is/was) :) Thanks in advance! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From alex at tweedly.net Fri Nov 5 09:39:30 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 5 Nov 2021 13:39:30 +0000 Subject: Control of Text Fields. In-Reply-To: <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> Message-ID: <845d1db6-07d0-4aba-3be5-0322cb58eabc@tweedly.net> OK, so I was close, but didn't get the cigar. Here's an expanded snippet. The input is in a field called "fInput", the buttons are all in a group, and handled by the group script (saves having many tiny almost identical scripts). The script? uses the name of the target - but since I would never, ever have a control named as a number, the digit buttons use their label instead. If the user cannot select a chunk of text then some of this could be shortened. > on mouseup > ?? if the target = me then > ????? -- click in the background in the group > ????? exit mouseup > ?? end if > ?? local tChunk > ?? focus on fld "fInput" > ?? put the selectedchunk into tChunk > ?? if the label of the target is a number then > ????? put the label of the target into the selectedchunk > ????? exit mouseUp > ?? end if > ?? local tFirst, tLast > ?? put word 2 of tChunk into tFirst > ?? put word 4 of tChunk into tLast > ?? switch the short name of the target > ????? case "go left" > ???????? select before char (min(tFirst, tLast)) of fld "fInput" > ???????? break > ????? case? "go right" > ???????? select after char (max(tFirst, tLast)) of fld "fInput" > ???????? break > ????? case "Del" > ???????? -- remove the selection, or the char *after* the ibeam > ???????? if tFirst <= tLast then > ??????????? put empty into char tFirst to tLast of fld "fInput" > ???????? else > ??????????? put empty into char (tFirst) of fld "fInput" > ???????? end if > ???????? break > ????? case "BS" > ???????? -- remove the selection, or the char *before* the ibeam > ???????? if tFirst <= tLast then > ??????????? put empty into char tFirst to tLast of fld "fInput" > ???????? else > ??????????? put empty into char (tFirst-1) of fld "fInput" > ???????? end if > ???????? break > ???????? -- all the other keys !! > ????? default > ?? end switch > end mouseup Alex. On 05/11/2021 01:39, Roger Guay via use-livecode wrote: > Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator stack with forward and back arrow buttons and a Delete button. What's the script for these buttons? > > Roger > >> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode wrote: >> >> Hi Roger, >> >> I'm not sure I properly understand your question. >> >> here's a code snippet the moves the insertion point (in this sample, typing an 'f' moves it forward, 'b' moves it back). (Note this also works if there is some text selected - it moves the insertion to just after the selection, just like the arrow key does). >> >>> on keydown p >>> local t >>> switch p >>> case "f" >>> put word 4 of the selectedchunk into t >>> select after char (t+1) of me >>> break >>> case "b" >>> put word 2 of the selectedchunk into t >>> select before char (t-1) of me >>> break >>> end switch >>> end keydown >> To then delete the char in front of it, you'd do something like >> >> put empty into char (t+1) of me >> >> Hope that's close enough to what you were asking, or at least gives you a starting place :-), >> >> Alex. >> >> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>> I simply want to be able to move the insertion iBeam in a focused field left and right, one char at a time (just like the left and right arrows keys), and then to delete the char in front of it (just like the Delete key). The dictionary was again of no use to me. Can someone please provide sample scripts? >>> >>> Thanks, >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Nov 5 09:59:49 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 06:59:49 -0700 Subject: Control of Text Fields. In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> Message-ID: <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. Roger > On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: > > Surely the script depends on what you want those buttons to do. > > On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator >> stack with forward and back arrow buttons and a Delete button. What's the >> script for these buttons? >> >> Roger >> >>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi Roger, >>> >>> I'm not sure I properly understand your question. >>> >>> here's a code snippet the moves the insertion point (in this sample, >> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >> if there is some text selected - it moves the insertion to just after the >> selection, just like the arrow key does). >>> >>>> on keydown p >>>> local t >>>> switch p >>>> case "f" >>>> put word 4 of the selectedchunk into t >>>> select after char (t+1) of me >>>> break >>>> case "b" >>>> put word 2 of the selectedchunk into t >>>> select before char (t-1) of me >>>> break >>>> end switch >>>> end keydown >>> To then delete the char in front of it, you'd do something like >>> >>> put empty into char (t+1) of me >>> >>> Hope that's close enough to what you were asking, or at least gives you >> a starting place :-), >>> >>> Alex. >>> >>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>> I simply want to be able to move the insertion iBeam in a focused field >> left and right, one char at a time (just like the left and right arrows >> keys), and then to delete the char in front of it (just like the Delete >> key). The dictionary was again of no use to me. Can someone please provide >> sample scripts? >>>> >>>> Thanks, >>>> Roger >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Nov 5 12:02:58 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 5 Nov 2021 18:02:58 +0200 Subject: Control of Text Fields. In-Reply-To: <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> Message-ID: I am sorry for that misunderstanding: I had a fairly fixed idea of what constituted a calculator in my head, and what you seem to want with your back, forward and delete keys seems more "word-processory". Richmond. On 5.11.21 15:59, Roger Guay via use-livecode wrote: > I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. > > Roger > >> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >> >> Surely the script depends on what you want those buttons to do. >> >> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >> use-livecode at lists.runrev.com> wrote: >> >>> Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator >>> stack with forward and back arrow buttons and a Delete button. What's the >>> script for these buttons? >>> >>> Roger >>> >>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> Hi Roger, >>>> >>>> I'm not sure I properly understand your question. >>>> >>>> here's a code snippet the moves the insertion point (in this sample, >>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>> if there is some text selected - it moves the insertion to just after the >>> selection, just like the arrow key does). >>>>> on keydown p >>>>> local t >>>>> switch p >>>>> case "f" >>>>> put word 4 of the selectedchunk into t >>>>> select after char (t+1) of me >>>>> break >>>>> case "b" >>>>> put word 2 of the selectedchunk into t >>>>> select before char (t-1) of me >>>>> break >>>>> end switch >>>>> end keydown >>>> To then delete the char in front of it, you'd do something like >>>> >>>> put empty into char (t+1) of me >>>> >>>> Hope that's close enough to what you were asking, or at least gives you >>> a starting place :-), >>>> Alex. >>>> >>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>> I simply want to be able to move the insertion iBeam in a focused field >>> left and right, one char at a time (just like the left and right arrows >>> keys), and then to delete the char in front of it (just like the Delete >>> key). The dictionary was again of no use to me. Can someone please provide >>> sample scripts? >>>>> Thanks, >>>>> Roger >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri Nov 5 12:29:54 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 5 Nov 2021 12:29:54 -0400 Subject: LC 9.6.5 RC 2 Speed Test In-Reply-To: <94d161e06e5f765390d0c9ce1932ae51@livecode.com> References: <94d161e06e5f765390d0c9ce1932ae51@livecode.com> Message-ID: Mark: > Is there any chance you can package up the files used to test > along with the stack and submit as an issue to BZ? > That way we can take a look to see what is causing > the significant differences with C and E, in particular? Here it is! I just posted the set of test files (and results again with file names included) plus the test stack download link to the existing speed bug here: https://quality.livecode.com/show_bug.cgi?id=21561 Thanks again.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From sean at pidigital.co.uk Fri Nov 5 12:40:02 2021 From: sean at pidigital.co.uk (Sean Cole) Date: Fri, 5 Nov 2021 16:40:02 +0000 Subject: M1 Mac Windows 10 ARM in Parallels and LC Message-ID: Hi all, Has anyone yet had experience running LC in a Windows 10 ARM edition within Parallels Desktop? This, I feel, would be good knowledge for us all to be aware of. I'm going through the process of working out my next upgrade to the MacBook Pro M1Max. But a contributing factor is: wether this would be able to swap out all of my other systems to just the one (which would be beneficial to my working environment). If not I would have to keep a separate windows system I can hook into via VNC (albeit without the useful direct bridging between the two) or an offsite Windows server (which will be slower but still usable). Technically, the Windows ARM is only beta and may even get dropped potentially. It can run x86 apps (virtualised, I think) but not x64. LC is still x86 as far as I am aware. But I don't know what other caveats may become evident once it is up and running. Hence the question. If no one else has tried this out I may well end up just biting the bullet and take one for the team to find out. But it would be great to know before hand what to expect. Thanks in advance. Sean From richmondmathewson at gmail.com Fri Nov 5 12:54:34 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 5 Nov 2021 18:54:34 +0200 Subject: Control of Text Fields. In-Reply-To: <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> Message-ID: <65a9ff89-a166-d084-fe6e-8ed3d673e5e5@gmail.com> Why do you need to emulate them? Will you NOT have access to a physical keyboard? Here's the script of a stupid button to DELETE one number in a calculator read-out: Richmond. On 5.11.21 15:59, Roger Guay via use-livecode wrote: > I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. > > Roger > >> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >> >> Surely the script depends on what you want those buttons to do. >> >> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >> use-livecode at lists.runrev.com> wrote: >> >>> Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator >>> stack with forward and back arrow buttons and a Delete button. What's the >>> script for these buttons? >>> >>> Roger >>> >>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> Hi Roger, >>>> >>>> I'm not sure I properly understand your question. >>>> >>>> here's a code snippet the moves the insertion point (in this sample, >>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>> if there is some text selected - it moves the insertion to just after the >>> selection, just like the arrow key does). >>>>> on keydown p >>>>> local t >>>>> switch p >>>>> case "f" >>>>> put word 4 of the selectedchunk into t >>>>> select after char (t+1) of me >>>>> break >>>>> case "b" >>>>> put word 2 of the selectedchunk into t >>>>> select before char (t-1) of me >>>>> break >>>>> end switch >>>>> end keydown >>>> To then delete the char in front of it, you'd do something like >>>> >>>> put empty into char (t+1) of me >>>> >>>> Hope that's close enough to what you were asking, or at least gives you >>> a starting place :-), >>>> Alex. >>>> >>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>> I simply want to be able to move the insertion iBeam in a focused field >>> left and right, one char at a time (just like the left and right arrows >>> keys), and then to delete the char in front of it (just like the Delete >>> key). The dictionary was again of no use to me. Can someone please provide >>> sample scripts? >>>>> Thanks, >>>>> Roger >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Fri Nov 5 12:58:04 2021 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 5 Nov 2021 17:58:04 +0100 Subject: win 11 Message-ID: @ Bob Sneidar Hi Bob, well, I am sorry, but I am not using any Apple systems, so I cannot test on a Mac... I can test on Win-10 and Win-11. I have some old equipment (Win-10) and some newer Win-11. Nobody in serious business still uses Win-8, Win-7, and before. If at all, then people switch to Linux for older equipment. And I would do so as well. So, if anybody needs some testing, and if time allows, I can offer my help with Windows 10,11. Kind regards ... Roland From richmondmathewson at gmail.com Fri Nov 5 13:15:12 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 5 Nov 2021 19:15:12 +0200 Subject: Control of Text Fields. In-Reply-To: <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> Message-ID: <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> Pissed around a bit: https://forums.livecode.com/viewtopic.php?f=7&t=36444 Love, Richmond. On 5.11.21 15:59, Roger Guay via use-livecode wrote: > I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. > > Roger > >> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >> >> Surely the script depends on what you want those buttons to do. >> >> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >> use-livecode at lists.runrev.com> wrote: >> >>> Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator >>> stack with forward and back arrow buttons and a Delete button. What's the >>> script for these buttons? >>> >>> Roger >>> >>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> Hi Roger, >>>> >>>> I'm not sure I properly understand your question. >>>> >>>> here's a code snippet the moves the insertion point (in this sample, >>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>> if there is some text selected - it moves the insertion to just after the >>> selection, just like the arrow key does). >>>>> on keydown p >>>>> local t >>>>> switch p >>>>> case "f" >>>>> put word 4 of the selectedchunk into t >>>>> select after char (t+1) of me >>>>> break >>>>> case "b" >>>>> put word 2 of the selectedchunk into t >>>>> select before char (t-1) of me >>>>> break >>>>> end switch >>>>> end keydown >>>> To then delete the char in front of it, you'd do something like >>>> >>>> put empty into char (t+1) of me >>>> >>>> Hope that's close enough to what you were asking, or at least gives you >>> a starting place :-), >>>> Alex. >>>> >>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>> I simply want to be able to move the insertion iBeam in a focused field >>> left and right, one char at a time (just like the left and right arrows >>> keys), and then to delete the char in front of it (just like the Delete >>> key). The dictionary was again of no use to me. Can someone please provide >>> sample scripts? >>>>> Thanks, >>>>> Roger >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Fri Nov 5 13:54:49 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 5 Nov 2021 13:54:49 -0400 Subject: MobileScroller become unresponsive after several minutes of inactivity. Message-ID: Hi Folks, I've got a text field in a group with a mobile scroller created for a group. I scroll the group instead of the field. It all works well. But after a while the scroller stops being responsive, and does not scroll the group anymore. Other parts of my app like nav buttons still work as expected. Has anyone ever run into that? TIA -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Fri Nov 5 14:12:11 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 5 Nov 2021 14:12:11 -0400 Subject: MobileScroller become unresponsive after several minutes of inactivity. In-Reply-To: References: Message-ID: Correction........it also does this after i simply "move" the phone. I limited the orientation to portrait..... and that didn't help to narrow the problem down. And this happens on every MobileScroller I have. Otherwise it works great ...just can't wiggle the phone. Any ideas? On Fri, Nov 5, 2021 at 1:54 PM Tom Glod wrote: > Hi Folks, > > I've got a text field in a group with a mobile scroller created for a > group. > I scroll the group instead of the field. > It all works well. > But after a while the scroller stops being responsive, and does not scroll > the group anymore. > Other parts of my app like nav buttons still work as expected. > > Has anyone ever run into that? > > TIA > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From irog at mac.com Fri Nov 5 14:37:17 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 11:37:17 -0700 Subject: Control of Text Fields. In-Reply-To: <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> Message-ID: <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> Very good, Richmond. It?s impressive how quickly you piss around! And, it?s close but no cigar . The arrow keys on the keyboard move the ibeam in a field w/o highlighting any text. And, the Delete key deletes the char in front of the iBeam. I thought this would be easy to duplicate in LC, but maybe not??. Why do I want to emulate these keys? Well at this point, It has become a challenge and I like challenges. BTW, the calculator that I am inspired to replicate is found in Mac Good Grapher which is bundled with the Mac. The Good Grapher Calculator has back and forward buttons and a Delete button that operate exactly as the keyboard ones Thanks for playing with this, Roger > On Nov 5, 2021, at 10:15 AM, Richmond via use-livecode wrote: > > Pissed around a bit: > > https://forums.livecode.com/viewtopic.php?f=7&t=36444 > > Love, Richmond. > > On 5.11.21 15:59, Roger Guay via use-livecode wrote: >> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. >> >> Roger >> >>> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >>> >>> Surely the script depends on what you want those buttons to do. >>> >>> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator >>>> stack with forward and back arrow buttons and a Delete button. What's the >>>> script for these buttons? >>>> >>>> Roger >>>> >>>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> Hi Roger, >>>>> >>>>> I'm not sure I properly understand your question. >>>>> >>>>> here's a code snippet the moves the insertion point (in this sample, >>>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>>> if there is some text selected - it moves the insertion to just after the >>>> selection, just like the arrow key does). >>>>>> on keydown p >>>>>> local t >>>>>> switch p >>>>>> case "f" >>>>>> put word 4 of the selectedchunk into t >>>>>> select after char (t+1) of me >>>>>> break >>>>>> case "b" >>>>>> put word 2 of the selectedchunk into t >>>>>> select before char (t-1) of me >>>>>> break >>>>>> end switch >>>>>> end keydown >>>>> To then delete the char in front of it, you'd do something like >>>>> >>>>> put empty into char (t+1) of me >>>>> >>>>> Hope that's close enough to what you were asking, or at least gives you >>>> a starting place :-), >>>>> Alex. >>>>> >>>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>>> I simply want to be able to move the insertion iBeam in a focused field >>>> left and right, one char at a time (just like the left and right arrows >>>> keys), and then to delete the char in front of it (just like the Delete >>>> key). The dictionary was again of no use to me. Can someone please provide >>>> sample scripts? >>>>>> Thanks, >>>>>> Roger >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Nov 5 14:45:46 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 5 Nov 2021 14:45:46 -0400 Subject: M1 Mac Windows 10 ARM in Parallels and LC In-Reply-To: References: Message-ID: remind me next week. my MBP just arrived, yesterday, and after 20 hours in migration assistant, is finally in use. I got a dev edition of win 11 installed in parallels, but i have not tried anything else with it, yet. i also have not figured out how to get the apps to transfer because you can't just open your intel vm in the arm vm, which means getting programs to move won't be trivial. On Fri, Nov 5, 2021 at 12:41 PM Sean Cole via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > Has anyone yet had experience running LC in a Windows 10 ARM edition within > Parallels Desktop? > > This, I feel, would be good knowledge for us all to be aware of. > > I'm going through the process of working out my next upgrade to the MacBook > Pro M1Max. But a contributing factor is: wether this would be able to swap > out all of my other systems to just the one (which would be beneficial to > my working environment). If not I would have to keep a separate windows > system I can hook into via VNC (albeit without the useful direct bridging > between the two) or an offsite Windows server (which will be slower but > still usable). > > Technically, the Windows ARM is only beta and may even get dropped > potentially. It can run x86 apps (virtualised, I think) but not x64. LC is > still x86 as far as I am aware. But I don't know what other caveats may > become evident once it is up and running. Hence the question. > > If no one else has tried this out I may well end up just biting the bullet > and take one for the team to find out. But it would be great to know before > hand what to expect. > > Thanks in advance. > > Sean > _______________________________________________ > use-livecode mailing list > use-livecode at 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." From MikeKerner at roadrunner.com Fri Nov 5 14:46:36 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 5 Nov 2021 14:46:36 -0400 Subject: M1 Mac Windows 10 ARM in Parallels and LC In-Reply-To: References: Message-ID: and i don't think you can get the win 10 installer for arm any longer. i think it's been discontinued and you can only get 11, now. On Fri, Nov 5, 2021 at 2:45 PM Mike Kerner wrote: > remind me next week. my MBP just arrived, yesterday, and after 20 hours in > migration assistant, is finally in use. > I got a dev edition of win 11 installed in parallels, but i have not tried > anything else with it, yet. > i also have not figured out how to get the apps to transfer because you > can't just open your intel vm in the arm vm, which means getting programs > to move won't be trivial. > > On Fri, Nov 5, 2021 at 12:41 PM Sean Cole via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> Has anyone yet had experience running LC in a Windows 10 ARM edition >> within >> Parallels Desktop? >> >> This, I feel, would be good knowledge for us all to be aware of. >> >> I'm going through the process of working out my next upgrade to the >> MacBook >> Pro M1Max. But a contributing factor is: wether this would be able to swap >> out all of my other systems to just the one (which would be beneficial to >> my working environment). If not I would have to keep a separate windows >> system I can hook into via VNC (albeit without the useful direct bridging >> between the two) or an offsite Windows server (which will be slower but >> still usable). >> >> Technically, the Windows ARM is only beta and may even get dropped >> potentially. It can run x86 apps (virtualised, I think) but not x64. LC is >> still x86 as far as I am aware. But I don't know what other caveats may >> become evident once it is up and running. Hence the question. >> >> If no one else has tried this out I may well end up just biting the bullet >> and take one for the team to find out. But it would be great to know >> before >> hand what to expect. >> >> Thanks in advance. >> >> Sean >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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." > -- 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." From tom at makeshyft.com Fri Nov 5 14:47:40 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 5 Nov 2021 14:47:40 -0400 Subject: MobileScroller become unresponsive after several minutes of inactivity. In-Reply-To: References: Message-ID: Scratch all that....I solved the issue, I had not commented out a deletescroller on orientationchanged. :) On Fri, Nov 5, 2021 at 2:12 PM Tom Glod wrote: > Correction........it also does this after i simply "move" the phone. > I limited the orientation to portrait..... and that didn't help to narrow > the problem down. > And this happens on every MobileScroller I have. Otherwise it works great > ...just can't wiggle the phone. > > Any ideas? > > On Fri, Nov 5, 2021 at 1:54 PM Tom Glod wrote: > >> Hi Folks, >> >> I've got a text field in a group with a mobile scroller created for a >> group. >> I scroll the group instead of the field. >> It all works well. >> But after a while the scroller stops being responsive, and does not >> scroll the group anymore. >> Other parts of my app like nav buttons still work as expected. >> >> Has anyone ever run into that? >> >> TIA >> >> -- >> Tom Glod >> Founder & Developer >> MakeShyft R.D.A (www.makeshyft.com) >> Mobile:647.562.9411 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From richmondmathewson at gmail.com Fri Nov 5 15:02:54 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 5 Nov 2021 21:02:54 +0200 Subject: Control of Text Fields. In-Reply-To: <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> Message-ID: <9ce32a9a-b77e-eff8-35c8-889c56c347b8@gmail.com> On 5.11.21 20:37, Roger Guay via use-livecode wrote: > Very good, Richmond. It?s impressive how quickly you piss around! And, it?s close but no cigar . The arrow keys on the keyboard move the ibeam in a field w/o highlighting any text. And, the Delete key deletes the char in front of the iBeam. Then, surely you want to implement the FORWARD delete key: 65535 > I thought this would be easy to duplicate in LC, but maybe not??. > > Why do I want to emulate these keys? Well at this point, It has become a challenge and I like challenges. BTW, the calculator that I am inspired to replicate is found in Mac Good Grapher which is bundled with the Mac. The Good Grapher Calculator has back and forward buttons and a Delete button that operate exactly as the keyboard ones > > Thanks for playing with this, > > Roger > >> On Nov 5, 2021, at 10:15 AM, Richmond via use-livecode wrote: >> >> Pissed around a bit: >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >> >> Love, Richmond. >> >> On 5.11.21 15:59, Roger Guay via use-livecode wrote: >>> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. >>> >>> Roger >>> >>>> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >>>> >>>> Surely the script depends on what you want those buttons to do. >>>> >>>> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator >>>>> stack with forward and back arrow buttons and a Delete button. What's the >>>>> script for these buttons? >>>>> >>>>> Roger >>>>> >>>>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>> Hi Roger, >>>>>> >>>>>> I'm not sure I properly understand your question. >>>>>> >>>>>> here's a code snippet the moves the insertion point (in this sample, >>>>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>>>> if there is some text selected - it moves the insertion to just after the >>>>> selection, just like the arrow key does). >>>>>>> on keydown p >>>>>>> local t >>>>>>> switch p >>>>>>> case "f" >>>>>>> put word 4 of the selectedchunk into t >>>>>>> select after char (t+1) of me >>>>>>> break >>>>>>> case "b" >>>>>>> put word 2 of the selectedchunk into t >>>>>>> select before char (t-1) of me >>>>>>> break >>>>>>> end switch >>>>>>> end keydown >>>>>> To then delete the char in front of it, you'd do something like >>>>>> >>>>>> put empty into char (t+1) of me >>>>>> >>>>>> Hope that's close enough to what you were asking, or at least gives you >>>>> a starting place :-), >>>>>> Alex. >>>>>> >>>>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>>>> I simply want to be able to move the insertion iBeam in a focused field >>>>> left and right, one char at a time (just like the left and right arrows >>>>> keys), and then to delete the char in front of it (just like the Delete >>>>> key). The dictionary was again of no use to me. Can someone please provide >>>>> sample scripts? >>>>>>> Thanks, >>>>>>> Roger >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Fri Nov 5 15:49:22 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 5 Nov 2021 19:49:22 +0000 Subject: Control of Text Fields. In-Reply-To: <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> Message-ID: <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> Hi Roger. Don't know if you've seen the script I posted around 6 hour ago ("expanded snippet"). It does the correct forward / backward key movements, and also implements both "backspace" (delete the char to the left of the iBeam) and "delete" (remove the char to the right of the ibeam) as well as properly handling the case where there is a text selection rather than just an ibeam (i.e. both delete the selection, but not any characters outside that selection). Alex.. On 05/11/2021 18:37, Roger Guay via use-livecode wrote: > Very good, Richmond. It?s impressive how quickly you piss around! And, it?s close but no cigar . The arrow keys on the keyboard move the ibeam in a field w/o highlighting any text. And, the Delete key deletes the char in front of the iBeam. I thought this would be easy to duplicate in LC, but maybe not??. > > Why do I want to emulate these keys? Well at this point, It has become a challenge and I like challenges. BTW, the calculator that I am inspired to replicate is found in Mac Good Grapher which is bundled with the Mac. The Good Grapher Calculator has back and forward buttons and a Delete button that operate exactly as the keyboard ones > > Thanks for playing with this, > > Roger > >> On Nov 5, 2021, at 10:15 AM, Richmond via use-livecode wrote: >> >> Pissed around a bit: >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >> >> Love, Richmond. >> >> On 5.11.21 15:59, Roger Guay via use-livecode wrote: >>> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. >>> >>> Roger >>> >>>> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >>>> >>>> Surely the script depends on what you want those buttons to do. >>>> >>>> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator >>>>> stack with forward and back arrow buttons and a Delete button. What's the >>>>> script for these buttons? >>>>> >>>>> Roger >>>>> >>>>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>> Hi Roger, >>>>>> >>>>>> I'm not sure I properly understand your question. >>>>>> >>>>>> here's a code snippet the moves the insertion point (in this sample, >>>>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>>>> if there is some text selected - it moves the insertion to just after the >>>>> selection, just like the arrow key does). >>>>>>> on keydown p >>>>>>> local t >>>>>>> switch p >>>>>>> case "f" >>>>>>> put word 4 of the selectedchunk into t >>>>>>> select after char (t+1) of me >>>>>>> break >>>>>>> case "b" >>>>>>> put word 2 of the selectedchunk into t >>>>>>> select before char (t-1) of me >>>>>>> break >>>>>>> end switch >>>>>>> end keydown >>>>>> To then delete the char in front of it, you'd do something like >>>>>> >>>>>> put empty into char (t+1) of me >>>>>> >>>>>> Hope that's close enough to what you were asking, or at least gives you >>>>> a starting place :-), >>>>>> Alex. >>>>>> >>>>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>>>> I simply want to be able to move the insertion iBeam in a focused field >>>>> left and right, one char at a time (just like the left and right arrows >>>>> keys), and then to delete the char in front of it (just like the Delete >>>>> key). The dictionary was again of no use to me. Can someone please provide >>>>> sample scripts? >>>>>>> Thanks, >>>>>>> Roger >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Nov 5 16:18:22 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 13:18:22 -0700 Subject: Control of Text Fields. In-Reply-To: <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> Message-ID: <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> Alex, I did not see that and it is not in my mailbox. Would you please send it again? Thanks, Roger > On Nov 5, 2021, at 12:49 PM, Alex Tweedly via use-livecode wrote: > > Hi Roger. Don't know if you've seen the script I posted around 6 hour ago ("expanded snippet"). > > It does the correct forward / backward key movements, and also implements both "backspace" (delete the char to the left of the iBeam) and "delete" (remove the char to the right of the ibeam) as well as properly handling the case where there is a text selection rather than just an ibeam (i.e. both delete the selection, but not any characters outside that selection). > > Alex.. > > > On 05/11/2021 18:37, Roger Guay via use-livecode wrote: >> Very good, Richmond. It?s impressive how quickly you piss around! And, it?s close but no cigar . The arrow keys on the keyboard move the ibeam in a field w/o highlighting any text. And, the Delete key deletes the char in front of the iBeam. I thought this would be easy to duplicate in LC, but maybe not??. >> >> Why do I want to emulate these keys? Well at this point, It has become a challenge and I like challenges. BTW, the calculator that I am inspired to replicate is found in Mac Good Grapher which is bundled with the Mac. The Good Grapher Calculator has back and forward buttons and a Delete button that operate exactly as the keyboard ones >> >> Thanks for playing with this, >> >> Roger >> >>> On Nov 5, 2021, at 10:15 AM, Richmond via use-livecode wrote: >>> >>> Pissed around a bit: >>> >>> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >>> >>> Love, Richmond. >>> >>> On 5.11.21 15:59, Roger Guay via use-livecode wrote: >>>> I want them to do exactly the same thing that the keyboard keys do!! IOW, I want to emulate the delete key and the back and forward keys. >>>> >>>> Roger >>>> >>>>> On Nov 5, 2021, at 12:33 AM, Richmond Mathewson via use-livecode wrote: >>>>> >>>>> Surely the script depends on what you want those buttons to do. >>>>> >>>>> On Fri, 5 Nov 2021 03:41 Roger Guay via use-livecode, < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> Thanks, Alex. Sorry I didn?t make myself clear. I?m building a calculator >>>>>> stack with forward and back arrow buttons and a Delete button. What's the >>>>>> script for these buttons? >>>>>> >>>>>> Roger >>>>>> >>>>>>> On Nov 4, 2021, at 5:53 PM, Alex Tweedly via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> Hi Roger, >>>>>>> >>>>>>> I'm not sure I properly understand your question. >>>>>>> >>>>>>> here's a code snippet the moves the insertion point (in this sample, >>>>>> typing an 'f' moves it forward, 'b' moves it back). (Note this also works >>>>>> if there is some text selected - it moves the insertion to just after the >>>>>> selection, just like the arrow key does). >>>>>>>> on keydown p >>>>>>>> local t >>>>>>>> switch p >>>>>>>> case "f" >>>>>>>> put word 4 of the selectedchunk into t >>>>>>>> select after char (t+1) of me >>>>>>>> break >>>>>>>> case "b" >>>>>>>> put word 2 of the selectedchunk into t >>>>>>>> select before char (t-1) of me >>>>>>>> break >>>>>>>> end switch >>>>>>>> end keydown >>>>>>> To then delete the char in front of it, you'd do something like >>>>>>> >>>>>>> put empty into char (t+1) of me >>>>>>> >>>>>>> Hope that's close enough to what you were asking, or at least gives you >>>>>> a starting place :-), >>>>>>> Alex. >>>>>>> >>>>>>> On 04/11/2021 20:49, Roger Guay via use-livecode wrote: >>>>>>>> I simply want to be able to move the insertion iBeam in a focused field >>>>>> left and right, one char at a time (just like the left and right arrows >>>>>> keys), and then to delete the char in front of it (just like the Delete >>>>>> key). The dictionary was again of no use to me. Can someone please provide >>>>>> sample scripts? >>>>>>>> Thanks, >>>>>>>> Roger >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Nov 5 16:58:25 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 13:58:25 -0700 Subject: Control of Text Fields. In-Reply-To: <9ce32a9a-b77e-eff8-35c8-889c56c347b8@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9ce32a9a-b77e-eff8-35c8-889c56c347b8@gmail.com> Message-ID: Is that unicode? If so how do I use it? Never done that before. Roger > On Nov 5, 2021, at 12:02 PM, Richmond via use-livecode wrote: > > Then, surely you want to implement the FORWARD delete key: 65535 From alex at tweedly.net Fri Nov 5 17:08:11 2021 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 5 Nov 2021 21:08:11 +0000 Subject: Control of Text Fields. In-Reply-To: <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> Message-ID: <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> On 05/11/2021 20:18, Roger Guay via use-livecode wrote: > Alex, I did not see that and it is not in my mailbox. Would you please send it again? > > Thanks, > Roger Here it is again, below. Or download the sample stack at https://tweedly.org/downloads/calcbuttons.livecode ?- not as pretty as Richmond's, doesn't even have all the digits ...) Previously I said: Here's an expanded snippet. The input is in a field called "fInput", the buttons are all in a group, and handled by the group script (saves having many tiny almost identical scripts). The script? uses the name of the target - but since I would never, ever have a control named as a number, the digit buttons use their label instead. If the user cannot select a chunk of text then some of this could be shortened. > on mouseup > ?? if the target = me then > ????? -- click in the background in the group > ????? exit mouseup > ?? end if > ?? local tChunk > ?? focus on fld "fInput" > ?? put the selectedchunk into tChunk > ?? if the label of the target is a number then > ????? put the label of the target into the selectedchunk > ????? exit mouseUp > ?? end if > ?? local tFirst, tLast > ?? put word 2 of tChunk into tFirst > ?? put word 4 of tChunk into tLast > ?? switch the short name of the target > ????? case "go left" > ???????? select before char (min(tFirst, tLast)) of fld "fInput" > ???????? break > ????? case? "go right" > ???????? select after char (max(tFirst, tLast)) of fld "fInput" > ???????? break > ????? case "Del" > ???????? -- remove the selection, or the char *after* the ibeam > ???????? if tFirst <= tLast then > ??????????? put empty into char tFirst to tLast of fld "fInput" > ???????? else > ??????????? put empty into char (tFirst) of fld "fInput" > ???????? end if > ???????? break > ????? case "BS" > ???????? -- remove the selection, or the char *before* the ibeam > ???????? if tFirst <= tLast then > ??????????? put empty into char tFirst to tLast of fld "fInput" > ???????? else > ??????????? put empty into char (tFirst-1) of fld "fInput" > ???????? end if > ???????? break > ???????? -- all the other keys !! > ????? default > ?? end switch > end mouseup Alex. From klaus at major-k.de Fri Nov 5 17:08:19 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 5 Nov 2021 22:08:19 +0100 Subject: Control of Text Fields. In-Reply-To: References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9ce32a9a-b77e-eff8-35c8-889c56c347b8@gmail.com> Message-ID: <1A55826D-670C-46AF-B621-B11A81EBF450@major-k.de> Hi Roger, > Am 05.11.2021 um 21:58 schrieb Roger Guay via use-livecode : > > Is that unicode? If so how do I use it? Never done that before. no, that is the RAWKEY code for that erm. key. :-) Use it in a "rawkeydown/up" handler. > Roger > >> On Nov 5, 2021, at 12:02 PM, Richmond via use-livecode wrote: >> Then, surely you want to implement the FORWARD delete key: 65535 Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From irog at mac.com Fri Nov 5 18:03:16 2021 From: irog at mac.com (Roger Guay) Date: Fri, 5 Nov 2021 15:03:16 -0700 Subject: Control of Text Fields. In-Reply-To: <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> Message-ID: Thank you so much, Alex. This indeed does the trick. And thanks also to Richmond and Klaus for spending time on this. Roger > On Nov 5, 2021, at 2:08 PM, Alex Tweedly via use-livecode wrote: > > > On 05/11/2021 20:18, Roger Guay via use-livecode wrote: >> Alex, I did not see that and it is not in my mailbox. Would you please send it again? >> >> Thanks, >> Roger > > Here it is again, below. > > Or download the sample stack at https://tweedly.org/downloads/calcbuttons.livecode > > - not as pretty as Richmond's, doesn't even have all the digits ...) > > Previously I said: > > Here's an expanded snippet. The input is in a field called "fInput", the buttons are all in a group, and handled by the group script (saves having many tiny almost identical scripts). > > The script uses the name of the target - but since I would never, ever have a control named as a number, the digit buttons use their label instead. > > If the user cannot select a chunk of text then some of this could be shortened. > > >> on mouseup >> if the target = me then >> -- click in the background in the group >> exit mouseup >> end if >> local tChunk >> focus on fld "fInput" >> put the selectedchunk into tChunk >> if the label of the target is a number then >> put the label of the target into the selectedchunk >> exit mouseUp >> end if >> local tFirst, tLast >> put word 2 of tChunk into tFirst >> put word 4 of tChunk into tLast >> switch the short name of the target >> case "go left" >> select before char (min(tFirst, tLast)) of fld "fInput" >> break >> case "go right" >> select after char (max(tFirst, tLast)) of fld "fInput" >> break >> case "Del" >> -- remove the selection, or the char *after* the ibeam >> if tFirst <= tLast then >> put empty into char tFirst to tLast of fld "fInput" >> else >> put empty into char (tFirst) of fld "fInput" >> end if >> break >> case "BS" >> -- remove the selection, or the char *before* the ibeam >> if tFirst <= tLast then >> put empty into char tFirst to tLast of fld "fInput" >> else >> put empty into char (tFirst-1) of fld "fInput" >> end if >> break >> -- all the other keys !! >> default >> end switch >> end mouseup > > Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Nov 6 15:04:46 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 6 Nov 2021 21:04:46 +0200 Subject: Control of Text Fields. In-Reply-To: <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> Message-ID: <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> My competing version is now "up": https://forums.livecode.com/viewtopic.php?f=7&t=36444&p=210241#p210241 Richmond. On 5.11.21 23:08, Alex Tweedly via use-livecode wrote: > > On 05/11/2021 20:18, Roger Guay via use-livecode wrote: >> Alex, I did not see that and it is not in my mailbox. Would you >> please send it again? >> >> Thanks, >> Roger > > Here it is again, below. > > Or download the sample stack at > https://tweedly.org/downloads/calcbuttons.livecode > > ?- not as pretty as Richmond's, doesn't even have all the digits ...) > > Previously I said: > > Here's an expanded snippet. The input is in a field called "fInput", > the buttons are all in a group, and handled by the group script (saves > having many tiny almost identical scripts). > > The script? uses the name of the target - but since I would never, > ever have a control named as a number, the digit buttons use their > label instead. > > If the user cannot select a chunk of text then some of this could be > shortened. > > >> on mouseup >> ?? if the target = me then >> ????? -- click in the background in the group >> ????? exit mouseup >> ?? end if >> ?? local tChunk >> ?? focus on fld "fInput" >> ?? put the selectedchunk into tChunk >> ?? if the label of the target is a number then >> ????? put the label of the target into the selectedchunk >> ????? exit mouseUp >> ?? end if >> ?? local tFirst, tLast >> ?? put word 2 of tChunk into tFirst >> ?? put word 4 of tChunk into tLast >> ?? switch the short name of the target >> ????? case "go left" >> ???????? select before char (min(tFirst, tLast)) of fld "fInput" >> ???????? break >> ????? case? "go right" >> ???????? select after char (max(tFirst, tLast)) of fld "fInput" >> ???????? break >> ????? case "Del" >> ???????? -- remove the selection, or the char *after* the ibeam >> ???????? if tFirst <= tLast then >> ??????????? put empty into char tFirst to tLast of fld "fInput" >> ???????? else >> ??????????? put empty into char (tFirst) of fld "fInput" >> ???????? end if >> ???????? break >> ????? case "BS" >> ???????? -- remove the selection, or the char *before* the ibeam >> ???????? if tFirst <= tLast then >> ??????????? put empty into char tFirst to tLast of fld "fInput" >> ???????? else >> ??????????? put empty into char (tFirst-1) of fld "fInput" >> ???????? end if >> ???????? break >> ???????? -- all the other keys !! >> ????? default >> ?? end switch >> end mouseup > > Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sat Nov 6 20:44:11 2021 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 7 Nov 2021 00:44:11 +0000 Subject: Control of Text Fields. In-Reply-To: <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> Message-ID: <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> On 06/11/2021 19:04, Richmond via use-livecode wrote: > My competing version is now "up": > > https://forums.livecode.com/viewtopic.php?f=7&t=36444&p=210241#p210241 > > Richmond. Don't you mean "my cooperating version ..."; surely the use-list is about helpful cooperatin and collaborative suggestions, not about competing :-) But having said that:? your "left-arrow' emulation gets it wrong if there is a chunk selection active. left-arrow should position the iBeam to the left of the selection, while this code positions it to the left of the rightmost character of the selection. Alex. > > On 5.11.21 23:08, Alex Tweedly via use-livecode wrote: >> >> On 05/11/2021 20:18, Roger Guay via use-livecode wrote: >>> Alex, I did not see that and it is not in my mailbox. Would you >>> please send it again? >>> >>> Thanks, >>> Roger >> >> Here it is again, below. >> >> Or download the sample stack at >> https://tweedly.org/downloads/calcbuttons.livecode >> >> ?- not as pretty as Richmond's, doesn't even have all the digits ...) >> >> Previously I said: >> >> Here's an expanded snippet. The input is in a field called "fInput", >> the buttons are all in a group, and handled by the group script >> (saves having many tiny almost identical scripts). >> >> The script? uses the name of the target - but since I would never, >> ever have a control named as a number, the digit buttons use their >> label instead. >> >> If the user cannot select a chunk of text then some of this could be >> shortened. >> >> >>> on mouseup >>> ?? if the target = me then >>> ????? -- click in the background in the group >>> ????? exit mouseup >>> ?? end if >>> ?? local tChunk >>> ?? focus on fld "fInput" >>> ?? put the selectedchunk into tChunk >>> ?? if the label of the target is a number then >>> ????? put the label of the target into the selectedchunk >>> ????? exit mouseUp >>> ?? end if >>> ?? local tFirst, tLast >>> ?? put word 2 of tChunk into tFirst >>> ?? put word 4 of tChunk into tLast >>> ?? switch the short name of the target >>> ????? case "go left" >>> ???????? select before char (min(tFirst, tLast)) of fld "fInput" >>> ???????? break >>> ????? case? "go right" >>> ???????? select after char (max(tFirst, tLast)) of fld "fInput" >>> ???????? break >>> ????? case "Del" >>> ???????? -- remove the selection, or the char *after* the ibeam >>> ???????? if tFirst <= tLast then >>> ??????????? put empty into char tFirst to tLast of fld "fInput" >>> ???????? else >>> ??????????? put empty into char (tFirst) of fld "fInput" >>> ???????? end if >>> ???????? break >>> ????? case "BS" >>> ???????? -- remove the selection, or the char *before* the ibeam >>> ???????? if tFirst <= tLast then >>> ??????????? put empty into char tFirst to tLast of fld "fInput" >>> ???????? else >>> ??????????? put empty into char (tFirst-1) of fld "fInput" >>> ???????? end if >>> ???????? break >>> ???????? -- all the other keys !! >>> ????? default >>> ?? end switch >>> end mouseup >> >> Alex. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Nov 7 04:01:44 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 7 Nov 2021 11:01:44 +0200 Subject: Control of Text Fields. In-Reply-To: <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> Message-ID: <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> I did not mean "competing" in the sense of "b*gger you", I meant it in the sense of healthy competition. "But having said that:? your "left-arrow' emulation gets it wrong if there is a chunk selection active." Quite possible as I spent about 15 minutes on that yesterday between raking up dead leaves, drilling through the metal head of a broken rake to screw it onto a wooden handle, and a whole slew of other things such as talking to my son in Lilongwe re setting up discarded PCs out there (Malawi) with Xubuntu and a programming suite that has recently been effectively abandoned. I have a sackload of kids writing that has just arrived via Viber that has to be addressed: after which I'll have a look at my "half cock job" and see if I can tweak it. Richmond. On 7.11.21 2:44, Alex Tweedly via use-livecode wrote: > > On 06/11/2021 19:04, Richmond via use-livecode wrote: >> My competing version is now "up": >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444&p=210241#p210241 >> >> Richmond. > > Don't you mean "my cooperating version ..."; surely the use-list is > about helpful cooperatin and collaborative suggestions, not about > competing :-) > > > But having said that:? your "left-arrow' emulation gets it wrong if > there is a chunk selection active. > > left-arrow should position the iBeam to the left of the selection, > while this code positions it to the left of the rightmost character of > the selection. > > Alex. > >> >> On 5.11.21 23:08, Alex Tweedly via use-livecode wrote: >>> >>> On 05/11/2021 20:18, Roger Guay via use-livecode wrote: >>>> Alex, I did not see that and it is not in my mailbox. Would you >>>> please send it again? >>>> >>>> Thanks, >>>> Roger >>> >>> Here it is again, below. >>> >>> Or download the sample stack at >>> https://tweedly.org/downloads/calcbuttons.livecode >>> >>> ?- not as pretty as Richmond's, doesn't even have all the digits ...) >>> >>> Previously I said: >>> >>> Here's an expanded snippet. The input is in a field called "fInput", >>> the buttons are all in a group, and handled by the group script >>> (saves having many tiny almost identical scripts). >>> >>> The script? uses the name of the target - but since I would never, >>> ever have a control named as a number, the digit buttons use their >>> label instead. >>> >>> If the user cannot select a chunk of text then some of this could be >>> shortened. >>> >>> >>>> on mouseup >>>> ?? if the target = me then >>>> ????? -- click in the background in the group >>>> ????? exit mouseup >>>> ?? end if >>>> ?? local tChunk >>>> ?? focus on fld "fInput" >>>> ?? put the selectedchunk into tChunk >>>> ?? if the label of the target is a number then >>>> ????? put the label of the target into the selectedchunk >>>> ????? exit mouseUp >>>> ?? end if >>>> ?? local tFirst, tLast >>>> ?? put word 2 of tChunk into tFirst >>>> ?? put word 4 of tChunk into tLast >>>> ?? switch the short name of the target >>>> ????? case "go left" >>>> ???????? select before char (min(tFirst, tLast)) of fld "fInput" >>>> ???????? break >>>> ????? case? "go right" >>>> ???????? select after char (max(tFirst, tLast)) of fld "fInput" >>>> ???????? break >>>> ????? case "Del" >>>> ???????? -- remove the selection, or the char *after* the ibeam >>>> ???????? if tFirst <= tLast then >>>> ??????????? put empty into char tFirst to tLast of fld "fInput" >>>> ???????? else >>>> ??????????? put empty into char (tFirst) of fld "fInput" >>>> ???????? end if >>>> ???????? break >>>> ????? case "BS" >>>> ???????? -- remove the selection, or the char *before* the ibeam >>>> ???????? if tFirst <= tLast then >>>> ??????????? put empty into char tFirst to tLast of fld "fInput" >>>> ???????? else >>>> ??????????? put empty into char (tFirst-1) of fld "fInput" >>>> ???????? end if >>>> ???????? break >>>> ???????? -- all the other keys !! >>>> ????? default >>>> ?? end switch >>>> end mouseup >>> >>> Alex. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sun Nov 7 06:20:14 2021 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 7 Nov 2021 11:20:14 +0000 Subject: Control of Text Fields. In-Reply-To: <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> References: <74F4C1AC-2792-46A6-BB91-CFCF3F5E8CC5@iotecdigital.com> <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> Message-ID: On 07/11/2021 09:01, Richmond via use-livecode wrote: > I did not mean "competing" in the sense of "b*gger you", I meant it in > the > sense of healthy competition. > Yeah, so did I. And if it came across any other way, then I wholeheartedly apologise. Sorry Richmond. Alex. From richmondmathewson at gmail.com Sun Nov 7 06:36:45 2021 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 7 Nov 2021 13:36:45 +0200 Subject: Control of Text Fields. In-Reply-To: References: <1888B91D-67C0-4611-893D-39257FC04030@mac.com> <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> Message-ID: <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> No hard feelings. See what I have got up to over on the Forums, and https://forums.livecode.com/viewtopic.php?f=7&t=36444 PLEASE, feel free to pull the thing to bits. Love, Richmond. On 7.11.21 13:20, Alex Tweedly via use-livecode wrote: > > On 07/11/2021 09:01, Richmond via use-livecode wrote: >> I did not mean "competing" in the sense of "b*gger you", I meant it >> in the >> sense of healthy competition. >> > Yeah, so did I. > > And if it came across any other way, then I wholeheartedly apologise. > > Sorry Richmond. > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Sun Nov 7 11:50:26 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 7 Nov 2021 16:50:26 +0000 Subject: How to restrain impatient tsNet? Message-ID: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. But under 9.6.5, in spite of this setting, it craps out within a minute with the message tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? TIA, Ben From mark at livecode.com Sun Nov 7 12:50:53 2021 From: mark at livecode.com (Mark Waddingham) Date: Sun, 7 Nov 2021 17:50:53 +0000 Subject: How to restrain impatient tsNet? In-Reply-To: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> Message-ID: I think tsNetSetTimeouts is what you need :) Warmest Regards, Mark Sent from my iPhone > On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: > > ? > I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). > > I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. > > By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. > > But under 9.6.5, in spite of this setting, it craps out within a minute with the message > tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds > > Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sun Nov 7 14:28:51 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 7 Nov 2021 20:28:51 +0100 Subject: How to restrain impatient tsNet? In-Reply-To: References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> Message-ID: <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> Ben, i am not sure if you are already aware of this, but in case you ever want to test your app without tsNet in LC 9.5.x or higher or you want to create it with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC IDE before testing or creating the standalone. LC then uses only the 'standard' libUrl library. To disable tsNET execute this in the message box dispatch "revunloadlibrary" to stack tsnetliburl Please keep in mind that you have to unselect tsNet in the Inclusions section of the standalone builder in case you've set the standalone settings to manually select the inclusions. To enable tsNET again execute this in the message box dispatch "revloadlibrary" to stack tsnetliburl Regards, Matthias > Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode : > > I think tsNetSetTimeouts is what you need :) > > Warmest Regards, > > Mark > > Sent from my iPhone > >> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: >> >> ? >> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). >> >> I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. >> >> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. >> >> But under 9.6.5, in spite of this setting, it craps out within a minute with the message >> tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds >> >> Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? >> >> TIA, >> >> Ben >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Sun Nov 7 16:54:30 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 7 Nov 2021 21:54:30 +0000 Subject: How to restrain impatient tsNet? In-Reply-To: <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> Message-ID: <13378ad4-77b4-a14e-f319-046af060f9b9@cogapp.com> Thanks Mark and Matthias! Ben On 07/11/2021 19:28, matthias rebbe via use-livecode wrote: > Ben, > > i am not sure if you are already aware of this, but in case you ever want to test your app without tsNet in LC 9.5.x or higher or you want to create it with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC IDE before testing or creating the standalone. LC then uses only the 'standard' libUrl library. > > To disable tsNET execute this in the message box > dispatch "revunloadlibrary" to stack tsnetliburl > > Please keep in mind that you have to unselect tsNet in the Inclusions section of the standalone builder in case you've set the standalone settings to manually select the inclusions. > > > To enable tsNET again execute this in the message box > dispatch "revloadlibrary" to stack tsnetliburl > > > Regards, > Matthias > > >> Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode : >> >> I think tsNetSetTimeouts is what you need :) >> >> Warmest Regards, >> >> Mark >> >> Sent from my iPhone >> >>> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: >>> >>> ? >>> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). >>> >>> I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. >>> >>> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. >>> >>> But under 9.6.5, in spite of this setting, it craps out within a minute with the message >>> tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds >>> >>> Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? >>> >>> TIA, >>> >>> Ben >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Sun Nov 7 20:51:33 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 8 Nov 2021 01:51:33 +0000 Subject: Control of Text Fields. In-Reply-To: <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> References: <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> Message-ID: <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> On 07/11/2021 11:36, Richmond via use-livecode wrote: > No hard feelings. > > See what I have got up to over on the Forums, and > > https://forums.livecode.com/viewtopic.php?f=7&t=36444 > > PLEASE, feel free to pull the thing to bits. > I don't want to "pull the thing to bits". Like you, I enjoy seeing "competing" multitude of ways to do things - I can learn from them all. But I did have a quick look, so I'll just point out a small number of nitpicks. 1. the whole 'locktext' thing is weird, and causes various anomalies. When I first open the stack, and click in the field, I can type digits and have them appear in the field, as you'd expect. But once I've clicked on an 'arrow-emulator' the field becomes locked and one can no longer type in characters.? Clicking *outside* the field will then free it up again, so typing becomes possible. 2. disappearing iBeam. If I position the ibeam in the middle of the text in the field, and use one of the arrow emulator buttons, the iBeam? moves properly - but then disappears (perhaps when the 'locktext' is set true). 3. incorrect entry position. As in 2 above, although the ibeam was last seen in the correct place after using the ">" button to move it to the right, if I then click on a digit button, that digit appears at the end of the field, not where it should have gone 4. Incorrect arrow key emulation (same problem as I mentioned in the previous email). If you select a chunk of text in the field, then use the left-arrow emulator button, the ibeam is positioned before the *last* character of the selection, instead of before the first. There were a couple of others, omitted for brevity. I've created a modified version your stack with my suggested handlers, and will attempt to upload it to the forum later. Then there was another issue which I haven't tackled - it would mean changing lots of very similar tiny scripts, and is too tedious. 5. character input should replace any selection Just like in a regular field, if there is an active selection, typing a character (or clicking a digit button, should *replace* it, not simply add the newly typed (or clicked) digit. I've taken my earlier handler suggestion, and broken the bits of code out into individual button scripts, which removes the apparent complexity that you disliked earlier. As far as I know, no problems have yet been found with that approach. As one example, the code for left-arrow emulator would be > ?on mouseUp > ?? focus on field "fWORK" > ?? put word 2 of the selectedchunk into tFirst > ?? put word 4 of the selectedchunk into tLast > ?? select before char (min(tFirst, tLast)) of fld "fWORK" > end mouseUp I've uploaded this revised version on the forum thread. Best wishes,? Alex From dan at clearvisiontech.com Mon Nov 8 00:18:41 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 8 Nov 2021 05:18:41 +0000 Subject: DataGrid Edit Mode and Fixed Control Height Message-ID: So, using the edit mode of a data grid is great! When enabled, I can drag the hamburger icon to reoder the rows... easy! But, if I set the "fixed control height" of the data grid to false, the hamburger icon no longer appears! Same with the select icon for each row. I have messed with the properties and code and can't seem to figure out how to get the draggable icon to appear when "fixed control height" is false. Anyone know the solution or is this a limitation of the data grid? Thanks in advance, -Dan From richmondmathewson at gmail.com Mon Nov 8 06:15:32 2021 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 8 Nov 2021 13:15:32 +0200 Subject: Clicking around . . . Message-ID: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> Well . . . this is a sort of side-effect at my fooling around with calculators: If I have a field on a card that has the lockText set to true and I click outwith the stack that lockText is set to false . . . I feel this should NOT happen: Probably because if I click outside a LibreOffice document, a GIMP document or a TextEdit document (the 3 apps I use most often apart from LiveCode) that click does NOT affect those documents at all. Richmond. From alex at tweedly.net Mon Nov 8 07:39:01 2021 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 8 Nov 2021 12:39:01 +0000 Subject: Clicking around . . . In-Reply-To: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> References: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> Message-ID: Hi Richmond, I of course agree that shouldn't happen - but I've not been able to reproduce it. I tried : create new stack create field put text into it, then position insertion cursor within that text ???? (ibeam is flashing) use Property Inspector to set locktext to true ??? (ibeam is no longer visible) click outside the stack ??? (no change - ibeam still invisible) click back inside stack (but outside field) ??? (no change - ibeam still invisible) click inside field ??? (no change - ibeam still invisible) check in Property Inspector - locktext is still true. Can you maybe try those steps - or say exactly what steps you did to see the problem in the first place. (btw - MacOs 10.13.6, LC 9.6.4) Alex. On 08/11/2021 11:15, Richmond via use-livecode wrote: > Well . . . this is a sort of side-effect at my fooling around with > calculators: > > If I have a field on a card that has the lockText set to true and > I click outwith the stack that lockText is set to false . . . > > I feel this should NOT happen: > > Probably because if I click outside a LibreOffice document, a GIMP > document or a TextEdit document > > (the 3 apps I use most often apart from LiveCode) > > that click does NOT affect those documents at all. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Nov 8 11:33:40 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Nov 2021 10:33:40 -0600 Subject: Clicking around . . . In-Reply-To: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> References: <64fee512-6544-419d-347e-c30fa8354195@gmail.com> Message-ID: <17d0065eea0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I don't have your script handy but didn't you set it to lock on closefield? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 8, 2021 5:18:06 AM Richmond via use-livecode wrote: > Well . . . this is a sort of side-effect at my fooling around with > calculators: > > If I have a field on a card that has the lockText set to true and > I click outwith the stack that lockText is set to false . . . > > I feel this should NOT happen: > > Probably because if I click outside a LibreOffice document, a GIMP > document or a TextEdit document > > (the 3 apps I use most often apart from LiveCode) > > that click does NOT affect those documents at all. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Nov 8 12:44:20 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Nov 2021 12:44:20 -0500 Subject: How to restrain impatient tsNet? In-Reply-To: <13378ad4-77b4-a14e-f319-046af060f9b9@cogapp.com> References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> <13378ad4-77b4-a14e-f319-046af060f9b9@cogapp.com> Message-ID: <004301d7d4c8$456ae4e0$d040aea0$@net> Ben, One more thing. Function GetNetworkType below will return the network type. The handler NetworkType will report the status and version. command NetworkType if GetNetworkType() = "Sockets" then answer "tsNet is disabled" else answer "tsNet in use. Version==>"& tsNetVersion() end if end NetworkType function GetNetworkType local tLibUrlDriver try put the behavior of stack"revLibUrl" into tLibUrlDriver end try if tLibUrlDriver is empty then return "Sockets" else return "tsNet" end if end GetNetworkType Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ben Rubinstein via use-livecode Sent: Sunday, November 07, 2021 4:55 PM To: use-livecode at lists.runrev.com Cc: Ben Rubinstein Subject: Re: How to restrain impatient tsNet? Thanks Mark and Matthias! Ben On 07/11/2021 19:28, matthias rebbe via use-livecode wrote: > Ben, > > i am not sure if you are already aware of this, but in case you ever want to test your app without tsNet in LC 9.5.x or higher or you want to create it with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC IDE before testing or creating the standalone. LC then uses only the 'standard' libUrl library. > > To disable tsNET execute this in the message box > dispatch "revunloadlibrary" to stack tsnetliburl > > Please keep in mind that you have to unselect tsNet in the Inclusions section of the standalone builder in case you've set the standalone settings to manually select the inclusions. > > > To enable tsNET again execute this in the message box > dispatch "revloadlibrary" to stack tsnetliburl > > > Regards, > Matthias > > >> Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode : >> >> I think tsNetSetTimeouts is what you need :) >> >> Warmest Regards, >> >> Mark >> >> Sent from my iPhone >> >>> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: >>> >>> ? >>> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). >>> >>> I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. >>> >>> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. >>> >>> But under 9.6.5, in spite of this setting, it craps out within a minute with the message >>> tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds >>> >>> Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? >>> >>> TIA, >>> >>> Ben >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Tue Nov 9 07:06:31 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 9 Nov 2021 12:06:31 +0000 Subject: How to restrain impatient tsNet? In-Reply-To: <004301d7d4c8$456ae4e0$d040aea0$@net> References: <3b46f4b8-f05f-352f-cc22-70fd7a11090b@cogapp.com> <4B05D53E-44D6-489C-A259-93022C3DE3D0@m-r-d.de> <13378ad4-77b4-a14e-f319-046af060f9b9@cogapp.com> <004301d7d4c8$456ae4e0$d040aea0$@net> Message-ID: <62bf4be8-d077-5dea-032b-eb19de8db191@cogapp.com> Thanks Ralph. tsNetSetTimeouts sorted me out, Mark was too polite to say RTFM... I really thought I had! Ben On 08/11/2021 17:44, Ralph DiMola via use-livecode wrote: > Ben, > > One more thing. Function GetNetworkType below will return the network type. The handler NetworkType will report the status and version. > > command NetworkType > > if GetNetworkType() = "Sockets" then > > answer "tsNet is disabled" > > else > > answer "tsNet in use. Version==>"& tsNetVersion() > > end if > > end NetworkType > > > function GetNetworkType > > local tLibUrlDriver > > try > > put the behavior of stack"revLibUrl" into tLibUrlDriver > > end try > > if tLibUrlDriver is empty then > > return "Sockets" > > else > > return "tsNet" > > end if > > end GetNetworkType > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ben Rubinstein via use-livecode > Sent: Sunday, November 07, 2021 4:55 PM > To: use-livecode at lists.runrev.com > Cc: Ben Rubinstein > Subject: Re: How to restrain impatient tsNet? > > Thanks Mark and Matthias! > > Ben > > On 07/11/2021 19:28, matthias rebbe via use-livecode wrote: >> Ben, >> >> i am not sure if you are already aware of this, but in case you ever want to test your app without tsNet in LC 9.5.x or higher or you want to create it with LC 9.5.x or higher but without using tsNET you could unload tsNet in LC IDE before testing or creating the standalone. LC then uses only the 'standard' libUrl library. >> >> To disable tsNET execute this in the message box >> dispatch "revunloadlibrary" to stack tsnetliburl >> >> Please keep in mind that you have to unselect tsNet in the Inclusions section of the standalone builder in case you've set the standalone settings to manually select the inclusions. >> >> >> To enable tsNET again execute this in the message box >> dispatch "revloadlibrary" to stack tsnetliburl >> >> >> Regards, >> Matthias >> >> >>> Am 07.11.2021 um 18:50 schrieb Mark Waddingham via use-livecode : >>> >>> I think tsNetSetTimeouts is what you need :) >>> >>> Warmest Regards, >>> >>> Mark >>> >>> Sent from my iPhone >>> >>>> On 7 Nov 2021, at 16:51, Ben Rubinstein via use-livecode wrote: >>>> >>>> ? >>>> I'm finally moving an app from LC 6.7 to LC 9.6.5 (huge thanks to Mark W for fixing the accumulating/sorting delay loops, which has made this possible). >>>> >>>> I've hit what I hope is the last hurdle: at one point in its processing, the app has to load a resource over HTTP, which is s.l.o.w. - it typically takes around 8 minutes at the moment. >>>> >>>> By setting the sockettimeoutinterval to the extreme 1800 (i.e. half an hour) this has been fine. >>>> >>>> But under 9.6.5, in spite of this setting, it craps out within a minute with the message >>>> tsneterr: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds >>>> >>>> Does tsneterr ignore the sockettimeoutinterval? Is there some other property I can set to persuade it to be patient? >>>> >>>> TIA, >>>> >>>> Ben >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Tue Nov 9 16:59:29 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 9 Nov 2021 16:59:29 -0500 Subject: Mobile Brower Widget Error Accessing Local Files LC 9.6.5 (rc 2) Message-ID: <00a601d7d5b5$14f052d0$3ed0f870$@net> I am getting "e\net::ERR_ACCESS_DENIED" when accessing a local html files in the "specialFolderPath("temporary")" folder. I put an answer in the app to display all the files and they are indeed there. The files are in a sub folder of the temp folder. This is for Android. I haven't tried iOS yet. I know we've been here before but I thought using the temp folder solved it. Is this a regression or have I missed something? Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From paul at researchware.com Tue Nov 9 18:41:49 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 9 Nov 2021 18:41:49 -0500 Subject: HTML5 Deployment Message-ID: I am trying to deploy and HTML app. Standalone building was straightforward and I now have a folder of stuff. MyApp.html standalone.zip standalone-commercial-9.6.3.html.mem standalone-commercial-9.6.3.js The HTML5 panel in the Standalone Builder says to see the "HTML5 Deployment Guide in the Dictionary. In LC 9..6.3, there is no such guide in the dictionary. I have tried searching Livecode.com with no luck. Where can the deployment guide be found? From matthias_livecode_150811 at m-r-d.de Tue Nov 9 19:06:31 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 10 Nov 2021 01:06:31 +0100 Subject: HTML5 Deployment In-Reply-To: References: Message-ID: <67908B3B-DD63-4911-AA77-45600B435BAB@m-r-d.de> Paul, if you open the Livecode Dictionary, then you can see 2 tabs in the left upper corner. One is labeled "API" and one is labeled "Guide". Click on "Guide" and then select "Deploying Your Application" and then "HTML5 Deployment settings". There you should find a bunch of information. Hope this helps. Matthias > Am 10.11.2021 um 00:41 schrieb Paul Dupuis via use-livecode : > > I am trying to deploy and HTML app. Standalone building was straightforward and I now have a folder of stuff. > > MyApp.html > standalone.zip > standalone-commercial-9.6.3.html.mem > standalone-commercial-9.6.3.js > > The HTML5 panel in the Standalone Builder says to see the "HTML5 Deployment Guide in the Dictionary. In LC 9..6.3, there is no such guide in the dictionary. I have tried searching Livecode.com with no luck. > > Where can the deployment guide be found? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Tue Nov 9 20:18:32 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 9 Nov 2021 20:18:32 -0500 Subject: AW: HTML5 Deployment In-Reply-To: <67908B3B-DD63-4911-AA77-45600B435BAB@m-r-d.de> References: <67908B3B-DD63-4911-AA77-45600B435BAB@m-r-d.de> Message-ID: <4009e0eb-b1a0-fc7b-06a6-34ca2853efd9@researchware.com> Found it. Thank you Mathias! On 11/9/2021 7:06 PM, matthias rebbe via use-livecode wrote: > Paul, if you open the Livecode Dictionary, then you can see 2 tabs in the left upper corner. One is labeled "API" and one is labeled "Guide". > > Click on "Guide" and then select "Deploying Your Application" and then "HTML5 Deployment settings". > There you should find a bunch of information. > > Hope this helps. > > Matthias > >> Am 10.11.2021 um 00:41 schrieb Paul Dupuis via use-livecode : >> >> I am trying to deploy and HTML app. Standalone building was straightforward and I now have a folder of stuff. >> >> MyApp.html >> standalone.zip >> standalone-commercial-9.6.3.html.mem >> standalone-commercial-9.6.3.js >> >> The HTML5 panel in the Standalone Builder says to see the "HTML5 Deployment Guide in the Dictionary. In LC 9..6.3, there is no such guide in the dictionary. I have tried searching Livecode.com with no luck. >> >> Where can the deployment guide be found? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Tue Nov 9 22:38:38 2021 From: irog at mac.com (Roger Guay) Date: Tue, 9 Nov 2021 19:38:38 -0800 Subject: Control of Text Fields. In-Reply-To: <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> References: <303da4f5-61cd-74cc-f2b1-fc560cffd1bf@gmail.com> <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> Message-ID: <0032B6F8-3389-46C7-B627-B1C61471527E@mac.com> Alex and Richmond, This discussion has been very helpful. Thank you! Please see my latest post on the forums where I offer my Formulator stack that seems to work, partly I think because I don?t lock the text of the multiple fields in my stack. Who woulda thunk? https://forums.livecode.com/viewtopic.php?f=7&t=36444 Cheers, Roger > On Nov 7, 2021, at 5:51 PM, Alex Tweedly via use-livecode wrote: > > > On 07/11/2021 11:36, Richmond via use-livecode wrote: >> No hard feelings. >> >> See what I have got up to over on the Forums, and >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >> >> PLEASE, feel free to pull the thing to bits. >> > I don't want to "pull the thing to bits". Like you, I enjoy seeing "competing" multitude of ways to do things - I can learn from them all. > > But I did have a quick look, so I'll just point out a small number of nitpicks. > > 1. the whole 'locktext' thing is weird, and causes various anomalies. > When I first open the stack, and click in the field, I can type digits and have them appear in the field, as you'd expect. But once I've clicked on an 'arrow-emulator' the field becomes locked and one can no longer type in characters. Clicking *outside* the field will then free it up again, so typing becomes possible. > > 2. disappearing iBeam. > > If I position the ibeam in the middle of the text in the field, and use one of the arrow emulator buttons, the iBeam moves properly - but then disappears (perhaps when the 'locktext' is set true). > > 3. incorrect entry position. > > As in 2 above, although the ibeam was last seen in the correct place after using the ">" button to move it to the right, if I then click on a digit button, that digit appears at the end of the field, not where it should have gone > > 4. Incorrect arrow key emulation (same problem as I mentioned in the previous email). > > If you select a chunk of text in the field, then use the left-arrow emulator button, the ibeam is positioned before the *last* character of the selection, instead of before the first. > > > There were a couple of others, omitted for brevity. I've created a modified version your stack with my suggested handlers, and will attempt to upload it to the forum later. > > Then there was another issue which I haven't tackled - it would mean changing lots of very similar tiny scripts, and is too tedious. > > 5. character input should replace any selection > > Just like in a regular field, if there is an active selection, typing a character (or clicking a digit button, should *replace* it, not simply add the newly typed (or clicked) digit. > > > I've taken my earlier handler suggestion, and broken the bits of code out into individual button scripts, which removes the apparent complexity that you disliked earlier. As far as I know, no problems have yet been found with that approach. As one example, the code for left-arrow emulator would be > >> on mouseUp >> focus on field "fWORK" >> put word 2 of the selectedchunk into tFirst >> put word 4 of the selectedchunk into tLast >> select before char (min(tFirst, tLast)) of fld "fWORK" >> end mouseUp > I've uploaded this revised version on the forum thread. > > Best wishes, Alex > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Tue Nov 9 23:37:24 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 10 Nov 2021 15:37:24 +1100 Subject: Object property management Message-ID: <5F2923C3-7105-4F22-83BE-80A1E4BB5BCA@optusnet.com.au> I have uploaded a plugin tool nsFormatMapper 2.0 to RunRevOnline. It is designed to help with maintaining uniformity of UI elements such as colours and text properties. It works rather like the Format Paint brush in Word or Pages. You get all the required property types from an object, and set those properties in another via drag and drop. You can also save sets of properties for use as favourites. Properties transferrable included color, text, button and field properties, graphic effects, gradients and blending. Hope some developers find it useful. Neville From matthias_livecode_150811 at m-r-d.de Wed Nov 10 07:16:42 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 10 Nov 2021 13:16:42 +0100 Subject: Object property management In-Reply-To: <5F2923C3-7105-4F22-83BE-80A1E4BB5BCA@optusnet.com.au> References: <5F2923C3-7105-4F22-83BE-80A1E4BB5BCA@optusnet.com.au> Message-ID: Neville, thanks for that. Took me some time to find it in RevOnline. I've already tried it and it looks very interesting. I will 'play" more with it later today when time allows. Btw. for those who are trying to find it in RevOnline.... Search for nsPropertyMapper Regards, Matthias > Am 10.11.2021 um 05:37 schrieb Neville Smythe via use-livecode : > > I have uploaded a plugin tool nsFormatMapper 2.0 to RunRevOnline. It is designed to help with maintaining uniformity of UI elements such as colours and text properties. It works rather like the Format Paint brush in Word or Pages. You get all the required property types from an object, and set those properties in another via drag and drop. You can also save sets of properties for use as favourites. Properties transferrable included color, text, button and field properties, graphic effects, gradients and blending. Hope some developers find it useful. > > Neville > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Nov 10 09:28:52 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 10 Nov 2021 14:28:52 +0000 Subject: Control of Text Fields. In-Reply-To: <0032B6F8-3389-46C7-B627-B1C61471527E@mac.com> References: <68B88218-D20F-4F00-9477-61FE0E2D0A78@mac.com> <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> <0032B6F8-3389-46C7-B627-B1C61471527E@mac.com> Message-ID: <87574dec-6a63-9d06-1b25-1e3efc583d9b@tweedly.net> "focusedObject" - wow, who knew ? :-) So it's been helpful for me. (Some day I really will read the dictionary thoroughly). Alex. On 10/11/2021 03:38, Roger Guay via use-livecode wrote: > Alex and Richmond, > > This discussion has been very helpful. Thank you! Please see my latest post on the forums where I offer my Formulator stack that seems to work, partly I think because I don?t lock the text of the multiple fields in my stack. Who woulda thunk? > > https://forums.livecode.com/viewtopic.php?f=7&t=36444 > > Cheers, > > Roger > > >> On Nov 7, 2021, at 5:51 PM, Alex Tweedly via use-livecode wrote: >> >> >> On 07/11/2021 11:36, Richmond via use-livecode wrote: >>> No hard feelings. >>> >>> See what I have got up to over on the Forums, and >>> >>> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >>> >>> PLEASE, feel free to pull the thing to bits. >>> >> I don't want to "pull the thing to bits". Like you, I enjoy seeing "competing" multitude of ways to do things - I can learn from them all. >> >> But I did have a quick look, so I'll just point out a small number of nitpicks. >> >> 1. the whole 'locktext' thing is weird, and causes various anomalies. >> When I first open the stack, and click in the field, I can type digits and have them appear in the field, as you'd expect. But once I've clicked on an 'arrow-emulator' the field becomes locked and one can no longer type in characters. Clicking *outside* the field will then free it up again, so typing becomes possible. >> >> 2. disappearing iBeam. >> >> If I position the ibeam in the middle of the text in the field, and use one of the arrow emulator buttons, the iBeam moves properly - but then disappears (perhaps when the 'locktext' is set true). >> >> 3. incorrect entry position. >> >> As in 2 above, although the ibeam was last seen in the correct place after using the ">" button to move it to the right, if I then click on a digit button, that digit appears at the end of the field, not where it should have gone >> >> 4. Incorrect arrow key emulation (same problem as I mentioned in the previous email). >> >> If you select a chunk of text in the field, then use the left-arrow emulator button, the ibeam is positioned before the *last* character of the selection, instead of before the first. >> >> >> There were a couple of others, omitted for brevity. I've created a modified version your stack with my suggested handlers, and will attempt to upload it to the forum later. >> >> Then there was another issue which I haven't tackled - it would mean changing lots of very similar tiny scripts, and is too tedious. >> >> 5. character input should replace any selection >> >> Just like in a regular field, if there is an active selection, typing a character (or clicking a digit button, should *replace* it, not simply add the newly typed (or clicked) digit. >> >> >> I've taken my earlier handler suggestion, and broken the bits of code out into individual button scripts, which removes the apparent complexity that you disliked earlier. As far as I know, no problems have yet been found with that approach. As one example, the code for left-arrow emulator would be >> >>> on mouseUp >>> focus on field "fWORK" >>> put word 2 of the selectedchunk into tFirst >>> put word 4 of the selectedchunk into tLast >>> select before char (min(tFirst, tLast)) of fld "fWORK" >>> end mouseUp >> I've uploaded this revised version on the forum thread. >> >> Best wishes, Alex >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Nov 10 09:46:24 2021 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 10 Nov 2021 16:46:24 +0200 Subject: Control of Text Fields. In-Reply-To: <87574dec-6a63-9d06-1b25-1e3efc583d9b@tweedly.net> References: <1daf18ec-4b40-3ade-05d5-af1f463092ad@tweedly.net> <9E0EF738-99DF-41E9-91F8-369B869545AA@mac.com> <67AD5A41-9131-4FAB-AC65-C92F76E0D0CF@mac.com> <3fcc0ebd-9347-5af5-8c4d-e659a7597289@gmail.com> <1C461A3C-B234-45E3-B225-EEF0FBB6CEBD@mac.com> <9b27f442-050a-5bfc-5cd7-883873cfe8b0@tweedly.net> <49881251-0DB3-4363-ACE9-34BB51C931A3@mac.com> <55b19c84-3a3b-40f0-e377-9be8fa11987e@tweedly.net> <9716b05a-b7f7-169b-d56a-85f8c8dcabcb@gmail.com> <1f57c039-0ee5-674f-f208-507cb107cb6f@tweedly.net> <6dc05639-56e0-4679-7d45-81e99e9aebef@gmail.com> <2979ace1-36e6-3205-3f63-c00cb7bace5a@gmail.com> <460bf669-107e-e0d8-0e52-c8e38dedc5b0@tweedly.net> <0032B6F8-3389-46C7-B627-B1C61471527E@mac.com> <87574dec-6a63-9d06-1b25-1e3efc583d9b@tweedly.net> Message-ID: <8fb41c6f-2d69-0ac8-d20a-dab62c25212f@gmail.com> It's a new one to me as well. Richmond. On 10.11.21 16:28, Alex Tweedly via use-livecode wrote: > "focusedObject" - wow, who knew ?? :-) > > So it's been helpful for me. > (Some day I really will read the dictionary thoroughly). > > Alex. > > On 10/11/2021 03:38, Roger Guay via use-livecode wrote: >> Alex and Richmond, >> >> This discussion has been very helpful. Thank you! Please see my >> latest post on the forums where I offer my Formulator stack that >> seems to work, partly I think because I don?t lock the text of the >> multiple fields in my stack. Who woulda thunk? >> >> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >> >> >> Cheers, >> >> Roger >> >> >>> On Nov 7, 2021, at 5:51 PM, Alex Tweedly via use-livecode >>> wrote: >>> >>> >>> On 07/11/2021 11:36, Richmond via use-livecode wrote: >>>> No hard feelings. >>>> >>>> See what I have got up to over on the Forums, and >>>> >>>> https://forums.livecode.com/viewtopic.php?f=7&t=36444 >>>> >>>> PLEASE, feel free to pull the thing to bits. >>>> >>> I don't want to "pull the thing to bits". Like you, I enjoy seeing >>> "competing" multitude of ways to do things - I can learn from them all. >>> >>> But I did have a quick look, so I'll just point out a small number >>> of nitpicks. >>> >>> 1. the whole 'locktext' thing is weird, and causes various anomalies. >>> When I first open the stack, and click in the field, I can type >>> digits and have them appear in the field, as you'd expect. But once >>> I've clicked on an 'arrow-emulator' the field becomes locked and one >>> can no longer type in characters. Clicking *outside* the field will >>> then free it up again, so typing becomes possible. >>> >>> 2. disappearing iBeam. >>> >>> If I position the ibeam in the middle of the text in the field, and >>> use one of the arrow emulator buttons, the iBeam moves properly - >>> but then disappears (perhaps when the 'locktext' is set true). >>> >>> 3. incorrect entry position. >>> >>> As in 2 above, although the ibeam was last seen in the correct place >>> after using the ">" button to move it to the right, if I then click >>> on a digit button, that digit appears at the end of the field, not >>> where it should have gone >>> >>> 4. Incorrect arrow key emulation (same problem as I mentioned in the >>> previous email). >>> >>> If you select a chunk of text in the field, then use the left-arrow >>> emulator button, the ibeam is positioned before the *last* character >>> of the selection, instead of before the first. >>> >>> >>> There were a couple of others, omitted for brevity. I've created a >>> modified version your stack with my suggested handlers, and will >>> attempt to upload it to the forum later. >>> >>> Then there was another issue which I haven't tackled - it would mean >>> changing lots of very similar tiny scripts, and is too tedious. >>> >>> 5. character input should replace any selection >>> >>> Just like in a regular field, if there is an active selection, >>> typing a character (or clicking a digit button, should *replace* it, >>> not simply add the newly typed (or clicked) digit. >>> >>> >>> I've taken my earlier handler suggestion, and broken the bits of >>> code out into individual button scripts, which removes the apparent >>> complexity that you disliked earlier. As far as I know, no problems >>> have yet been found with that approach. As one example, the code for >>> left-arrow emulator would be >>> >>>> ? on mouseUp >>>> ??? focus on field "fWORK" >>>> ??? put word 2 of the selectedchunk into tFirst >>>> ??? put word 4 of the selectedchunk into tLast >>>> ??? select before char (min(tFirst, tLast)) of fld "fWORK" >>>> end mouseUp >>> I've uploaded this revised version on the forum thread. >>> >>> Best wishes,? Alex >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Wed Nov 10 09:50:41 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 10 Nov 2021 09:50:41 -0500 Subject: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition) In-Reply-To: <81AB2FE1-0CCC-4A26-AC24-26768344482B@iotecdigital.com> References: <81AB2FE1-0CCC-4A26-AC24-26768344482B@iotecdigital.com> Message-ID: <59536ea2-7a74-7583-debb-4ce974146933@pair.com> Resurrecting this thread from September because ... now I've had a chance to go through my old bug reports, and found the one for this Script Editor slowdown! (It said "Pending Followup" so I just followed up on it.) For the people here that still see bad IDE/SE performance (and there were several: Lagi, Bob, Bernard, Andre, etc) you can benefit from adding your CC to this bug report and post your symptoms/setup there to help LC fix this. Plus, I posted 7 steps that worked for myself and others; many people have resolved this for their own computers! BTW, I have NOT had this problem myself for 1 or 2 years; so those steps are tried and true. (They work in MOST cases.) Here's the bug report: https://quality.livecode.com/show_bug.cgi?id=21604 No slowdowns on my end anymore; Windows "just works." :) I could have simply closed the bug, but I followed up and posted those 7 steps to help the rest of you. Most importantly, it's NOT just a Windows issue. (We have to avoid myths, or we can't solve problems.) I've seen it twice on Mac myself, and others have too. But it is MUCH more common on Windows. Rare on Mac. Mostly due to antivirus trends, but other factors. For the LC team, I'm not sure whether they ever reproduced this bug or not, so I posted some tips on maxing out disk and memory to help notice problems. (That doesn't mean people with the IDE problems are running a bunch of videos and downloads; just getting closer to real-life use conditions versus a more pristine test environment.) Hopefully someone still having the issues will follow up there to help get it fixed. I don't anymore, so I'm moving on to other bugs! One thing I forgot to mention is that LC Setup is badly behaved on all platforms, and I've seen literally a dozen copies of it in Task Manager; that can also bog things down too! I have a zero-tolerance policy for .Setup; it is not allowed to run on my computer except during the initial installation. And like I say, no IDE slowdowns for 1-2 years. (Not to be confused with IDE crashes and bugs that completely "hang" the engine! I'm still a combatant on those bugs.) :) Original thread: Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From neville.smythe at optusnet.com.au Wed Nov 10 13:12:56 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 11 Nov 2021 05:12:56 +1100 Subject: Object property management Message-ID: <0ECC6641-311E-4409-AAB3-AFB11E3DE7C0@optusnet.com.au> Aaargh, I can?t even remember the name of my own stack! I have incurred the wrath of Blind Io by invoking her name in the help text. Thanks Matthias it is indeed nsPropertyMapper Neville From curry at pair.com Wed Nov 10 13:28:19 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 10 Nov 2021 13:28:19 -0500 Subject: Multiple LC Installer Setup processes remain in memory on Windows Message-ID: <04333443-5602-3f74-3807-04bd700db77a@pair.com> I've mentioned once or twice that LC Setup is "badly behaved" on all platforms. Finally filed a bug report on the Windows variant of this problem, which is that one or more instances of LC Setup/Installer process can remain indefinitely in memory. (I've seen a dozen of these zombie tasks! That can affect system performance.) Also a couple of workarounds posted, so if this has bitten you before, or if you're not sure, check it out. I don't lose performance from this anymore, since I have SSD plus the workarounds, but filing it now so it can be fixed! :) Here's the bug report: https://quality.livecode.com/show_bug.cgi?id=23444 Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From jbv at souslelogo.com Fri Nov 12 04:59:29 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 12 Nov 2021 04:59:29 -0500 Subject: Server directory of a running script Message-ID: Hi list, Is there a way to get the full path of the server directory/subdirectory in which an LC script is running, from within the script itself while it is running ? I have a Livecode Hosting account and I need to get something like : "/home/myAccount/public_html/myDirectory/mySubDirectory/" Thank you in advance. jbv From rabit at revigniter.com Fri Nov 12 05:20:45 2021 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 12 Nov 2021 11:20:45 +0100 Subject: Server directory of a running script In-Reply-To: References: Message-ID: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> You might try $_SERVER["PATH_TRANSLATED"] Ralf On 12.11.21 10:59, jbv via use-livecode wrote: > Hi list, > Is there a way to get the full path of the server directory/subdirectory > in which an LC script is running, from within the script itself while it > is running ? > I have a Livecode Hosting account and I need to get something like : > "/home/myAccount/public_html/myDirectory/mySubDirectory/" > > Thank you in advance. > jbv > From bdrunrev at gmail.com Fri Nov 12 05:22:37 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 12 Nov 2021 10:22:37 +0000 Subject: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition) In-Reply-To: <59536ea2-7a74-7583-debb-4ce974146933@pair.com> References: <81AB2FE1-0CCC-4A26-AC24-26768344482B@iotecdigital.com> <59536ea2-7a74-7583-debb-4ce974146933@pair.com> Message-ID: I was having problems with SE on Windows randomly causing crashes just by clicking in the text are of SE. When I switched off all the bling, I never had another crash like that. I plan to slowly re-introduce the bling to see if I can identify which part causes the crashes. Regards, Bernard From jbv at souslelogo.com Fri Nov 12 05:46:35 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 12 Nov 2021 05:46:35 -0500 Subject: Server directory of a running script In-Reply-To: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> References: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> Message-ID: <0dcd07de2660b19df32bf5bd443550af@souslelogo.com> Great ! Thank you. Le 2021-11-12 05:20, Ralf Bitter via use-livecode a ?crit?: > You might try $_SERVER["PATH_TRANSLATED"] > > > Ralf > From phil at pdslabs.net Fri Nov 12 15:10:55 2021 From: phil at pdslabs.net (Phil Davis) Date: Fri, 12 Nov 2021 12:10:55 -0800 Subject: Server directory of a running script In-Reply-To: <0dcd07de2660b19df32bf5bd443550af@souslelogo.com> References: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> <0dcd07de2660b19df32bf5bd443550af@souslelogo.com> Message-ID: Also, maybe try "the filename of me". It seems like that should work, though I could be wrong. Phil Davis On 11/12/21 2:46 AM, jbv via use-livecode wrote: > Great ! Thank you. > > Le 2021-11-12 05:20, Ralf Bitter via use-livecode a ?crit?: >> You might try $_SERVER["PATH_TRANSLATED"] >> >> >> Ralf >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 From jbv at souslelogo.com Fri Nov 12 16:30:11 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 12 Nov 2021 16:30:11 -0500 Subject: Server directory of a running script In-Reply-To: References: <5461e5c1-df68-8d81-7155-1551b6772ac1@revigniter.com> <0dcd07de2660b19df32bf5bd443550af@souslelogo.com> Message-ID: <4f3afca8bc245df7e63ade8db2833c68@souslelogo.com> Le 2021-11-12 15:10, Phil Davis via use-livecode a ?crit?: > Also, maybe try "the filename of me". It seems like that should work, > though I could be wrong. > No, you're right, it works too. Thank you. From tom at makeshyft.com Sat Nov 13 16:36:58 2021 From: tom at makeshyft.com (Tom Glod) Date: Sat, 13 Nov 2021 16:36:58 -0500 Subject: tsnet not detecting internet drop Message-ID: Hi Folks, I was testing my networking functions ... and error handlling I initiated a tsnet asynchronous download of a file, started the download and disconnected the wifi. tsnet keeps reporting status "loading" .....forever with no time out. Is there something I am missing or should the library eventually be reporting error? Is there something I can do to detect network issues? I guess I could periodically check for the internet... but really? Has anyone come across this issue? solved it? thought about it? Thanks in advance. Tom From matthias_livecode_150811 at m-r-d.de Sat Nov 13 16:54:00 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 13 Nov 2021 22:54:00 +0100 Subject: tsnet not detecting internet drop In-Reply-To: References: Message-ID: <82431F3C-F948-486F-8580-3D3F72E26CD7@m-r-d.de> Tom, according to the dictionary tsNet does not limit the length of time a request can take. With tsNetSetTimeouts you can set several timeouts for tsNET. Maybe that would help in your case. Regards, Matthias > Am 13.11.2021 um 22:36 schrieb Tom Glod via use-livecode : > > Hi Folks, > > I was testing my networking functions ... and error handlling > I initiated a tsnet asynchronous download of a file, > started the download and disconnected the wifi. > > tsnet keeps reporting status "loading" .....forever with no time out. > Is there something I am missing or should the library eventually be > reporting error? > Is there something I can do to detect network issues? > I guess I could periodically check for the internet... but really? > Has anyone come across this issue? solved it? thought about it? > > Thanks in advance. > > Tom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sun Nov 14 11:42:05 2021 From: tom at makeshyft.com (Tom Glod) Date: Sun, 14 Nov 2021 11:42:05 -0500 Subject: tsnet not detecting internet drop In-Reply-To: <82431F3C-F948-486F-8580-3D3F72E26CD7@m-r-d.de> References: <82431F3C-F948-486F-8580-3D3F72E26CD7@m-r-d.de> Message-ID: Hello Matthias, Ahhh I see.... I think I will use a combination of time-outs, but I will also check for a connection periodically and I think that will about cover my use case. Thanks again, Tom On Sat, Nov 13, 2021 at 4:55 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom, > > according to the dictionary tsNet does not limit the length of time a > request can take. > > With tsNetSetTimeouts you can set several timeouts for tsNET. > > Maybe that would help in your case. > > Regards, > Matthias > > > > > > Am 13.11.2021 um 22:36 schrieb Tom Glod via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Folks, > > > > I was testing my networking functions ... and error handlling > > I initiated a tsnet asynchronous download of a file, > > started the download and disconnected the wifi. > > > > tsnet keeps reporting status "loading" .....forever with no time out. > > Is there something I am missing or should the library eventually be > > reporting error? > > Is there something I can do to detect network issues? > > I guess I could periodically check for the internet... but really? > > Has anyone come across this issue? solved it? thought about it? > > > > Thanks in advance. > > > > Tom > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Sun Nov 14 15:25:45 2021 From: tom at makeshyft.com (Tom Glod) Date: Sun, 14 Nov 2021 15:25:45 -0500 Subject: IDE performance (Re: Suggestion: Non-Appbuilding Community Edition) In-Reply-To: References: <81AB2FE1-0CCC-4A26-AC24-26768344482B@iotecdigital.com> <59536ea2-7a74-7583-debb-4ce974146933@pair.com> Message-ID: THIS has to be one of the bugs we address ASAP. Thanks Curry for doing the leg work on this one. I hope the team is paying attention to this one. This is one of the things that a new user has no hope of being aware of. Thanks, Tom From klaus at major-k.de Mon Nov 15 09:45:58 2021 From: klaus at major-k.de (Klaus major-k) Date: Mon, 15 Nov 2021 15:45:58 +0100 Subject: PDF in browser on Mac Message-ID: Hi friends, when we open a PDf in Safari, we see this little toolbar at the bottom of the window zoom in/out, open in Preview, Download that file I am definitively sure that we also saw this in the browser widget on Mac when opening a PDF here. But now i don't see this little toolbar anymore!? Did I dream this? Or was something changed in macOS or the LC version? macOS 10.14.6 LC 9.6.4 Thanks in advance! Still very annoying: The scrollbars for the browser widget are still not fixed, makes our apps look unprofessional, if the users cannot scroll! Or even completely useless... :-/ Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From hlowe at me.com Mon Nov 15 10:02:43 2021 From: hlowe at me.com (HENRY LOWE) Date: Mon, 15 Nov 2021 15:02:43 +0000 Subject: PDF in browser on Mac In-Reply-To: References: Message-ID: Using the browser widget to view a PDF under Mac OS 12.0.1 and LC 9.6.5 (rc2), if I right click (control + click) anywhere in the displayed PDF (including white space) I get a pop-up menu showing several options. Selecting any of the PDF?s text and right clicking shows additional options. Henry > On Nov 15, 2021, at 2:46 PM, Klaus major-k via use-livecode wrote: > > ?Hi friends, > > when we open a PDf in Safari, we see this little toolbar at the bottom of the window > zoom in/out, open in Preview, Download that file > > I am definitively sure that we also saw this in the browser widget on Mac when opening > a PDF here. But now i don't see this little toolbar anymore!? > > Did I dream this? Or was something changed in macOS or the LC version? > macOS 10.14.6 > LC 9.6.4 > > Thanks in advance! > > > Still very annoying: > The scrollbars for the browser widget are still not fixed, makes our apps look unprofessional, > if the users cannot scroll! Or even completely useless... :-/ > > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Mon Nov 15 10:09:15 2021 From: klaus at major-k.de (Klaus major-k) Date: Mon, 15 Nov 2021 16:09:15 +0100 Subject: PDF in browser on Mac In-Reply-To: References: Message-ID: <995E860F-31D5-4F1E-81A8-6B57CAB00AFE@major-k.de> Hi Henry, > Am 15.11.2021 um 16:02 schrieb HENRY LOWE via use-livecode : > > Using the browser widget to view a PDF under Mac OS 12.0.1 and LC 9.6.5 (rc2), if I right click (control + click) anywhere in the displayed PDF (including white space) I get a pop-up menu showing several options. Selecting any of the PDF?s text and right clicking shows additional options. thanks a lot for the fast response! Yes, same here, somehow missed that one. :-) I had to check "allowUserInteraction" to make this work. Now if only the scrollbars would work... > Henry > >> On Nov 15, 2021, at 2:46 PM, Klaus major-k via use-livecode wrote: >> >> ?Hi friends, >> >> when we open a PDf in Safari, we see this little toolbar at the bottom of the window >> zoom in/out, open in Preview, Download that file >> I am definitively sure that we also saw this in the browser widget on Mac when opening >> a PDF here. But now i don't see this little toolbar anymore!? >> Did I dream this? Or was something changed in macOS or the LC version? >> macOS 10.14.6 >> LC 9.6.4 Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Tue Nov 16 12:20:46 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 16 Nov 2021 12:20:46 -0500 Subject: xcode and catalina **NEW MBP** Message-ID: Has anyone gotten LC/XC to work on a new mac that came with catalina pre-installed? I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 and below not even running in Catalina, so I can't complete the installs. -- 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." From rdimola at evergreeninfo.net Tue Nov 16 13:21:37 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 16 Nov 2021 13:21:37 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: References: Message-ID: <006101d7db16$cf8f2fb0$6ead8f10$@net> Mike, >From 9.6.5 Release notes. - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 in order to be able to install the necessary version of Xcode. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Tuesday, November 16, 2021 12:21 PM To: How to use LiveCode Cc: Mike Kerner Subject: xcode and catalina **NEW MBP** Has anyone gotten LC/XC to work on a new mac that came with catalina pre-installed? I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 and below not even running in Catalina, so I can't complete the installs. -- 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jmac at consensustech.com Tue Nov 16 13:18:13 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Tue, 16 Nov 2021 10:18:13 -0800 Subject: xcode and catalina **NEW MBP** In-Reply-To: References: Message-ID: <53BBF099-6A63-4D8B-82ED-25A98FBDF36E@consensustech.com> Do you mean ?Monterey?. I?m in Bog Sur and Vataliba was a version Orr more ago. Doesn?t really matter. I?m holding off on upgrade to Monterey until LC can deal with xCode 13. ~j Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Nov 16, 2021, at 9:23 AM, Mike Kerner via use-livecode wrote: > > ?Has anyone gotten LC/XC to work on a new mac that came with catalina > pre-installed? > I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 > and below not even running in Catalina, so I can't complete the installs. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Nov 16 13:48:19 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 16 Nov 2021 13:48:19 -0500 Subject: xcode and catalina **NEW MBP** In-Reply-To: <53BBF099-6A63-4D8B-82ED-25A98FBDF36E@consensustech.com> References: <53BBF099-6A63-4D8B-82ED-25A98FBDF36E@consensustech.com> Message-ID: sigh. yes, monterey. 12.0.1 On Tue, Nov 16, 2021 at 1:25 PM Jim At Consensus via use-livecode < use-livecode at lists.runrev.com> wrote: > Do you mean ?Monterey?. I?m in Bog Sur and Vataliba was a version Orr more > ago. > > Doesn?t really matter. I?m holding off on upgrade to Monterey until LC can > deal with xCode 13. > > ~j > > Sent from Jim's iPhone XR > Please excuse brevity, typos and errors > > > On Nov 16, 2021, at 9:23 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Has anyone gotten LC/XC to work on a new mac that came with catalina > > pre-installed? > > I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 > > and below not even running in Catalina, so I can't complete the installs. > > > > -- > > 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 at 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 at 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." From brahma at hindu.org Tue Nov 16 14:14:47 2021 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 16 Nov 2021 19:14:47 +0000 Subject: Android: Play App Signing Message-ID: Aloha everyone ----------------- From jacque at hyperactivesw.com Tue Nov 16 14:51:22 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Nov 2021 13:51:22 -0600 Subject: Android: Play App Signing In-Reply-To: References: Message-ID: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> On 11/16/21 1:14 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Aloha everyone > > > https://play.google.com/console/u/0/developers/6275825903879277961/app/4972731188565988087/keymanagement > > > I am right where I want to be. I am here: > > brahmanathaswami at Sannyasins-MacBook-Pro-2 HAP Android Key % > brahmanathaswami at Sannyasins-MacBook-Pro-2 HAP Android Key % ls > > AndroidDeveloperKeyRegistrationData.txt > GDrelease.keystore > GDrelease.keystore 2 > GDrelease.keystore.zip > pepk.jar > pepk-src.jar > > So why doesn't it want to work? I can help you with this. But let's ask the moderator to delete this post, there is confidential info in it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Tue Nov 16 15:43:09 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 16 Nov 2021 21:43:09 +0100 Subject: Android: Play App Signing In-Reply-To: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> References: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> Message-ID: <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> > > But let's ask the moderator to delete this post, there is confidential info in it. I am afraid that is not possible as this is a mailing list and not a forum. Each subscriber of this list has received it as email. Matthias From jacque at hyperactivesw.com Tue Nov 16 15:56:40 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Nov 2021 14:56:40 -0600 Subject: Android: Play App Signing In-Reply-To: <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> References: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> Message-ID: On 11/16/21 2:43 PM, matthias rebbe via use-livecode wrote: >> >> But let's ask the moderator to delete this post, there is confidential info in it. > > I am afraid that is not possible as this is a mailing list and not a forum. Each subscriber of this list has received it as email. Right, and I just realized it's gone out to all the archiving sites too. At least there were no passwords in it... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Tue Nov 16 19:00:50 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 16 Nov 2021 19:00:50 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <006101d7db16$cf8f2fb0$6ead8f10$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> Message-ID: Ralph, I said "Catalina" when I meant "Monterey". It's a new MBP, and no versions of XC before 13.1 will run on it. I used a restore from Time Machine to get the machine set up, so all of the old XCodes that I had moved over, but none of the command-line tools seem to work. #firstWorldProblems On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike, > > From 9.6.5 Release notes. > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS > 14.4 SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Important: From the start of April 2021, Apple is only accepting apps built > using iOS14.x SDKs. This means that, if you wish to submit apps to the > AppStore you will have to be running at least macOS 10.15 in order to be > able to install the necessary version of Xcode. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mike Kerner via use-livecode > Sent: Tuesday, November 16, 2021 12:21 PM > To: How to use LiveCode > Cc: Mike Kerner > Subject: xcode and catalina **NEW MBP** > > Has anyone gotten LC/XC to work on a new mac that came with catalina > pre-installed? > I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC 12.5.1 > and > below not even running in Catalina, so I can't complete the installs. > > -- > 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 at 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 at 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." From rdimola at evergreeninfo.net Tue Nov 16 19:40:19 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 16 Nov 2021 19:40:19 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: References: <006101d7db16$cf8f2fb0$6ead8f10$@net> Message-ID: <008101d7db4b$b5852130$208f6390$@net> Apple did it again. It looks like only Xcode 13 will run on Monterey. Looks can be deceiving. If you activate Xcode 12.5.x from the command line it will start. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Tuesday, November 16, 2021 7:01 PM To: How to use LiveCode Cc: Mike Kerner Subject: Re: Xcode and Catalina **NEW MBP** Ralph, I said "Catalina" when I meant "Monterey". It's a new MBP, and no versions of XC before 13.1 will run on it. I used a restore from Time Machine to get the machine set up, so all of the old XCodes that I had moved over, but none of the command-line tools seem to work. #firstWorldProblems On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike, > > From 9.6.5 Release notes. > > - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the > iOS > 14.4 SDK > > There is a full list of working LiveCode/macOS/Xcode combinations here: > https://livecode.com/docs/9-5-0/faq/faq/ > > Important: From the start of April 2021, Apple is only accepting apps > built using iOS14.x SDKs. This means that, if you wish to submit apps > to the AppStore you will have to be running at least macOS 10.15 in > order to be able to install the necessary version of Xcode. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Mike Kerner via use-livecode > Sent: Tuesday, November 16, 2021 12:21 PM > To: How to use LiveCode > Cc: Mike Kerner > Subject: xcode and catalina **NEW MBP** > > Has anyone gotten LC/XC to work on a new mac that came with catalina > pre-installed? > I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC > 12.5.1 and below not even running in Catalina, so I can't complete the > installs. > > -- > 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Nov 16 19:51:50 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 16 Nov 2021 19:51:50 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: References: <006101d7db16$cf8f2fb0$6ead8f10$@net> Message-ID: <008201d7db4d$516112c0$f4233840$@net> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. I am doing several synchronous operations in the form "put url (some-url) into tVar". I do 1 or 2 and then every request after that fails. Played with the various timeouts with no success. I also tried setting tsNetLibUrlReuseConnection to false. This code worked in previous versions of LC. Fails on iPad but works in the IDE. Has anyone seen this? I have a little bit of a time crunch. Any suggestions would be appreciated. Thanks in advance. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From jmac at consensustech.com Tue Nov 16 21:50:14 2021 From: jmac at consensustech.com (Jim MacConnell) Date: Tue, 16 Nov 2021 18:50:14 -0800 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <008101d7db4b$b5852130$208f6390$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> Message-ID: <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> Am I understanding correctly? There is a way to get Xcode 12.5 running on Monterey? Will this satisfy the LC requirements? Jim > On Nov 16, 2021, at 4:40 PM, Ralph DiMola via use-livecode wrote: > > Apple did it again. It looks like only Xcode 13 will run on Monterey. Looks > can be deceiving. If you activate Xcode 12.5.x from the command line it will > start. > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Mike Kerner via use-livecode > Sent: Tuesday, November 16, 2021 7:01 PM > To: How to use LiveCode > Cc: Mike Kerner > Subject: Re: Xcode and Catalina **NEW MBP** > > Ralph, > I said "Catalina" when I meant "Monterey". > It's a new MBP, and no versions of XC before 13.1 will run on it. > I used a restore from Time Machine to get the machine set up, so all of the > old XCodes that I had moved over, but none of the command-line tools seem to > work. > #firstWorldProblems > > On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Mike, >> >> From 9.6.5 Release notes. >> >> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the >> iOS >> 14.4 SDK >> >> There is a full list of working LiveCode/macOS/Xcode combinations here: >> https://livecode.com/docs/9-5-0/faq/faq/ >> >> Important: From the start of April 2021, Apple is only accepting apps >> built using iOS14.x SDKs. This means that, if you wish to submit apps >> to the AppStore you will have to be running at least macOS 10.15 in >> order to be able to install the necessary version of Xcode. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Mike Kerner via use-livecode >> Sent: Tuesday, November 16, 2021 12:21 PM >> To: How to use LiveCode >> Cc: Mike Kerner >> Subject: xcode and catalina **NEW MBP** >> >> Has anyone gotten LC/XC to work on a new mac that came with catalina >> pre-installed? >> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC >> 12.5.1 and below not even running in Catalina, so I can't complete the >> installs. >> >> -- >> 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Wed Nov 17 07:41:36 2021 From: heather at livecode.com (Heather Laine) Date: Wed, 17 Nov 2021 12:41:36 +0000 Subject: Android: Play App Signing In-Reply-To: References: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> Message-ID: <64CF8997-F5AE-4459-8327-38C66D74BF02@livecode.com> Yes unfortunately that is correct, there is no way to delete this. Its out there. You probably should change your signing key... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 16 Nov 2021, at 20:56, J. Landman Gay via use-livecode wrote: > > On 11/16/21 2:43 PM, matthias rebbe via use-livecode wrote: >>> >>> But let's ask the moderator to delete this post, there is confidential info in it. >> I am afraid that is not possible as this is a mailing list and not a forum. Each subscriber of this list has received it as email. > > Right, and I just realized it's gone out to all the archiving sites too. At least there were no passwords in it... > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Nov 17 09:28:25 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 17 Nov 2021 09:28:25 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> Message-ID: link, please. It isn't working for me. From MikeKerner at roadrunner.com Wed Nov 17 09:36:14 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 17 Nov 2021 09:36:14 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> Message-ID: just to follow up on this some more, I have tried launching XC 12.5.1 manually. You can do it, but something happened with the command-line tools, which causes builds from within LC to bork with an error. On Tue, Nov 16, 2021 at 9:51 PM Jim MacConnell via use-livecode < use-livecode at lists.runrev.com> wrote: > Am I understanding correctly? > There is a way to get Xcode 12.5 running on Monterey? > Will this satisfy the LC requirements? > Jim > > > On Nov 16, 2021, at 4:40 PM, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Apple did it again. It looks like only Xcode 13 will run on Monterey. > Looks > > can be deceiving. If you activate Xcode 12.5.x from the command line it > will > > start. > > > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > -----Original Message----- > > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > > Of Mike Kerner via use-livecode > > Sent: Tuesday, November 16, 2021 7:01 PM > > To: How to use LiveCode > > Cc: Mike Kerner > > Subject: Re: Xcode and Catalina **NEW MBP** > > > > Ralph, > > I said "Catalina" when I meant "Monterey". > > It's a new MBP, and no versions of XC before 13.1 will run on it. > > I used a restore from Time Machine to get the machine set up, so all of > the > > old XCodes that I had moved over, but none of the command-line tools > seem to > > work. > > #firstWorldProblems > > > > On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Mike, > >> > >> From 9.6.5 Release notes. > >> > >> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the > >> iOS > >> 14.4 SDK > >> > >> There is a full list of working LiveCode/macOS/Xcode combinations here: > >> https://livecode.com/docs/9-5-0/faq/faq/ > >> > >> Important: From the start of April 2021, Apple is only accepting apps > >> built using iOS14.x SDKs. This means that, if you wish to submit apps > >> to the AppStore you will have to be running at least macOS 10.15 in > >> order to be able to install the necessary version of Xcode. > >> > >> Ralph DiMola > >> IT Director > >> Evergreen Information Services > >> rdimola at evergreeninfo.net > >> > >> -----Original Message----- > >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > >> Behalf Of Mike Kerner via use-livecode > >> Sent: Tuesday, November 16, 2021 12:21 PM > >> To: How to use LiveCode > >> Cc: Mike Kerner > >> Subject: xcode and catalina **NEW MBP** > >> > >> Has anyone gotten LC/XC to work on a new mac that came with catalina > >> pre-installed? > >> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC > >> 12.5.1 and below not even running in Catalina, so I can't complete the > >> installs. > >> > >> -- > >> 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 at 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 at 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 at 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 at 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 at 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." From rdimola at evergreeninfo.net Wed Nov 17 09:50:44 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Nov 2021 09:50:44 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> Message-ID: <002001d7dbc2$82d3dca0$887b95e0$@net> Did you point the build tools to 12.5.1? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Wednesday, November 17, 2021 9:36 AM To: How to use LiveCode Cc: Mike Kerner Subject: Re: Xcode and Catalina **NEW MBP** just to follow up on this some more, I have tried launching XC 12.5.1 manually. You can do it, but something happened with the command-line tools, which causes builds from within LC to bork with an error. On Tue, Nov 16, 2021 at 9:51 PM Jim MacConnell via use-livecode < use-livecode at lists.runrev.com> wrote: > Am I understanding correctly? > There is a way to get Xcode 12.5 running on Monterey? > Will this satisfy the LC requirements? > Jim > > > On Nov 16, 2021, at 4:40 PM, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Apple did it again. It looks like only Xcode 13 will run on Monterey. > Looks > > can be deceiving. If you activate Xcode 12.5.x from the command line > > it > will > > start. > > > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > -----Original Message----- > > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > > Of Mike Kerner via use-livecode > > Sent: Tuesday, November 16, 2021 7:01 PM > > To: How to use LiveCode > > Cc: Mike Kerner > > Subject: Re: Xcode and Catalina **NEW MBP** > > > > Ralph, > > I said "Catalina" when I meant "Monterey". > > It's a new MBP, and no versions of XC before 13.1 will run on it. > > I used a restore from Time Machine to get the machine set up, so all > > of > the > > old XCodes that I had moved over, but none of the command-line tools > seem to > > work. > > #firstWorldProblems > > > > On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Mike, > >> > >> From 9.6.5 Release notes. > >> > >> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the > >> iOS > >> 14.4 SDK > >> > >> There is a full list of working LiveCode/macOS/Xcode combinations here: > >> https://livecode.com/docs/9-5-0/faq/faq/ > >> > >> Important: From the start of April 2021, Apple is only accepting > >> apps built using iOS14.x SDKs. This means that, if you wish to > >> submit apps to the AppStore you will have to be running at least > >> macOS 10.15 in order to be able to install the necessary version of Xcode. > >> > >> Ralph DiMola > >> IT Director > >> Evergreen Information Services > >> rdimola at evergreeninfo.net > >> > >> -----Original Message----- > >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] > >> On Behalf Of Mike Kerner via use-livecode > >> Sent: Tuesday, November 16, 2021 12:21 PM > >> To: How to use LiveCode > >> Cc: Mike Kerner > >> Subject: xcode and catalina **NEW MBP** > >> > >> Has anyone gotten LC/XC to work on a new mac that came with > >> catalina pre-installed? > >> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC > >> 12.5.1 and below not even running in Catalina, so I can't complete > >> the installs. > >> > >> -- > >> 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Nov 17 10:07:57 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Nov 2021 16:07:57 +0100 Subject: Error when creating Android APK Message-ID: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> Hi friends, until yesterday I could create Android APK packages without problems. Today I tried the lesson: Worked fine so far, Android Studio worked for a couple of minutes and finally finished, whatever it was doing. Now when I save a very simple stack, that I already created a standalone from earlier, as standalone just for testing, I get this error: ----------------------------------------------- There was an error saving the standalone application could not find referenced asset to include - /Users/klaus2/Desktop/de.lproj ----------------------------------------------- Desktop? de.lproj? WTF? 8-) I get this error when I select "Sign for development only" and also when I select "Sign with my key" with the just created keystore file, so it is not the keystore file. What am I missing? Thanks in advance! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Wed Nov 17 10:11:23 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 17 Nov 2021 10:11:23 -0500 Subject: Xcode and Catalina **NEW MBP** In-Reply-To: <002001d7dbc2$82d3dca0$887b95e0$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008101d7db4b$b5852130$208f6390$@net> <11EE71ED-82BB-455C-A1C4-5CF6119A1595@consensustech.com> <002001d7dbc2$82d3dca0$887b95e0$@net> Message-ID: For anyone else who gets to fight through this before a new LC comes out: This is not an OS upgrade, this is a new box, with monterey preinstalled. I used the Time Machine method for setting up this box That brought over multiple copies of XCode, including 12.5 and 12.5.1 Building with LC throws an error using 12.5.1, regarding the command-line tools, which implies that they are not installed - which is weird, since they are installed on the other box for each of the versions of XCode, and I can build, over there. Trying to launch XC 12.5.1 throws an error about versioning. Trying to launch XC 12.5.1 from the terminal seems to work (ignoring all the warnings, etc.), but it does not trigger XCode to reinstall the command-line tools. Trying to use sudo xcode-select --switch throws an error that the version is invalid. If you are trying to play along at home, the path will be something like /Applications/XCode-12.5.1/Xcode.app/Contents/Developer I guess the next thing to do is to try to download and reinstall 12.5.1 from the Apple Developer site. On Wed, Nov 17, 2021 at 9:51 AM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Did you point the build tools to 12.5.1? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mike Kerner via use-livecode > Sent: Wednesday, November 17, 2021 9:36 AM > To: How to use LiveCode > Cc: Mike Kerner > Subject: Re: Xcode and Catalina **NEW MBP** > > just to follow up on this some more, I have tried launching XC 12.5.1 > manually. You can do it, but something happened with the command-line > tools, > which causes builds from within LC to bork with an error. > > On Tue, Nov 16, 2021 at 9:51 PM Jim MacConnell via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Am I understanding correctly? > > There is a way to get Xcode 12.5 running on Monterey? > > Will this satisfy the LC requirements? > > Jim > > > > > On Nov 16, 2021, at 4:40 PM, Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Apple did it again. It looks like only Xcode 13 will run on Monterey. > > Looks > > > can be deceiving. If you activate Xcode 12.5.x from the command line > > > it > > will > > > start. > > > > > > > > > Ralph DiMola > > > IT Director > > > Evergreen Information Services > > > rdimola at evergreeninfo.net > > > > > > > > > -----Original Message----- > > > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > > Behalf > > > Of Mike Kerner via use-livecode > > > Sent: Tuesday, November 16, 2021 7:01 PM > > > To: How to use LiveCode > > > Cc: Mike Kerner > > > Subject: Re: Xcode and Catalina **NEW MBP** > > > > > > Ralph, > > > I said "Catalina" when I meant "Monterey". > > > It's a new MBP, and no versions of XC before 13.1 will run on it. > > > I used a restore from Time Machine to get the machine set up, so all > > > of > > the > > > old XCodes that I had moved over, but none of the command-line tools > > seem to > > > work. > > > #firstWorldProblems > > > > > > On Tue, Nov 16, 2021 at 1:22 PM Ralph DiMola via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > >> Mike, > > >> > > >> From 9.6.5 Release notes. > > >> > > >> - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the > > >> iOS > > >> 14.4 SDK > > >> > > >> There is a full list of working LiveCode/macOS/Xcode combinations > here: > > >> https://livecode.com/docs/9-5-0/faq/faq/ > > >> > > >> Important: From the start of April 2021, Apple is only accepting > > >> apps built using iOS14.x SDKs. This means that, if you wish to > > >> submit apps to the AppStore you will have to be running at least > > >> macOS 10.15 in order to be able to install the necessary version of > Xcode. > > >> > > >> Ralph DiMola > > >> IT Director > > >> Evergreen Information Services > > >> rdimola at evergreeninfo.net > > >> > > >> -----Original Message----- > > >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] > > >> On Behalf Of Mike Kerner via use-livecode > > >> Sent: Tuesday, November 16, 2021 12:21 PM > > >> To: How to use LiveCode > > >> Cc: Mike Kerner > > >> Subject: xcode and catalina **NEW MBP** > > >> > > >> Has anyone gotten LC/XC to work on a new mac that came with > > >> catalina pre-installed? > > >> I'm kind-of in a catch-22 with LC not working with XC 13.1 and XC > > >> 12.5.1 and below not even running in Catalina, so I can't complete > > >> the installs. > > >> > > >> -- > > >> 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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." From jmac at consensustech.com Wed Nov 17 10:16:05 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Wed, 17 Nov 2021 07:16:05 -0800 Subject: Error when creating Android APK In-Reply-To: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> Message-ID: I just started getting a similar error when building a stand-alone for iOS. All of a sudden, the stand-alone builder is failing to find files when building and fails. Haven?t started troubleshooting in detail BUT it only happens when the file is empty (e.g. a text file with no data). Might be related? Jim LC9.6.4; xCode 12.5; Big Sur Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode wrote: > > ?Hi friends, > > until yesterday I could create Android APK packages without problems. > > Today I tried the lesson: > > Worked fine so far, Android Studio worked for a couple of minutes and finally finished, whatever it was doing. > > Now when I save a very simple stack, that I already created a standalone from earlier, > as standalone just for testing, I get this error: > ----------------------------------------------- > There was an error saving the standalone application > could not find referenced asset to include - > /Users/klaus2/Desktop/de.lproj > ----------------------------------------------- > Desktop? de.lproj? WTF? 8-) > > I get this error when I select "Sign for development only" and also when > I select "Sign with my key" with the just created keystore file, so it is not > the keystore file. What am I missing? > > Thanks in advance! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Nov 17 10:27:23 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Nov 2021 16:27:23 +0100 Subject: Error when creating Android APK In-Reply-To: References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> Message-ID: <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> Hi Jim, > Am 17.11.2021 um 16:16 schrieb Jim At Consensus via use-livecode : > > I just started getting a similar error when building a stand-alone for iOS. All of a sudden, the stand-alone builder is failing to find files when building and fails. Haven?t started troubleshooting in detail BUT it only happens when the file is empty (e.g. a text file with no data). Might be related? no external files used with my stack!? > Jim > LC9.6.4; xCode 12.5; Big Sur oh, my system: macOS 10.14.6 LC 9.6.4 But this is obviously only with that namely stack. Other stacks and newly created ones work fine. Very strange... > Sent from Jim's iPhone XR > Please excuse brevity, typos and errors > >> On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode wrote: >> >> ?Hi friends, >> >> until yesterday I could create Android APK packages without problems. >> >> Today I tried the lesson: >> >> Worked fine so far, Android Studio worked for a couple of minutes and finally finished, whatever it was doing. >> >> Now when I save a very simple stack, that I already created a standalone from earlier, >> as standalone just for testing, I get this error: >> ----------------------------------------------- >> There was an error saving the standalone application >> could not find referenced asset to include - >> /Users/klaus2/Desktop/de.lproj >> ----------------------------------------------- >> Desktop? de.lproj? WTF? 8-) >> >> I get this error when I select "Sign for development only" and also when >> I select "Sign with my key" with the just created keystore file, so it is not >> the keystore file. What am I missing? >> >> Thanks in advance! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Wed Nov 17 10:40:08 2021 From: merakosp at gmail.com (panagiotis m) Date: Wed, 17 Nov 2021 17:40:08 +0200 Subject: Error when creating Android APK In-Reply-To: <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> Message-ID: Hello Klaus, It sounds like you have this in the Copy Files section in the standalone settings of this stack: /Users/klaus2/Desktop/de.lproj and this resource cannot be found by the standalone builder, because it is not there. Is it the case? Kind regards, Panos -- On Wed, 17 Nov 2021 at 17:28, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Jim, > > > Am 17.11.2021 um 16:16 schrieb Jim At Consensus via use-livecode < > use-livecode at lists.runrev.com>: > > > > I just started getting a similar error when building a stand-alone for > iOS. All of a sudden, the stand-alone builder is failing to find files when > building and fails. Haven?t started troubleshooting in detail BUT it only > happens when the file is empty (e.g. a text file with no data). Might be > related? > > no external files used with my stack!? > > > Jim > > LC9.6.4; xCode 12.5; Big Sur > > oh, my system: > macOS 10.14.6 > LC 9.6.4 > > But this is obviously only with that namely stack. > Other stacks and newly created ones work fine. > Very strange... > > > Sent from Jim's iPhone XR > > Please excuse brevity, typos and errors > > > >> On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> ?Hi friends, > >> > >> until yesterday I could create Android APK packages without problems. > >> > >> Today I tried the lesson: > >> < > https://lessons.livecode.com/m/4069/l/32674-how-do-i-create-a-self-signed-certificate-for-an-android-app > > > >> Worked fine so far, Android Studio worked for a couple of minutes and > finally finished, whatever it was doing. > >> > >> Now when I save a very simple stack, that I already created a > standalone from earlier, > >> as standalone just for testing, I get this error: > >> ----------------------------------------------- > >> There was an error saving the standalone application > >> could not find referenced asset to include - > >> /Users/klaus2/Desktop/de.lproj > >> ----------------------------------------------- > >> Desktop? de.lproj? WTF? 8-) > >> > >> I get this error when I select "Sign for development only" and also > when > >> I select "Sign with my key" with the just created keystore file, so it > is not > >> the keystore file. What am I missing? > >> > >> Thanks in advance! > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Wed Nov 17 10:46:07 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Nov 2021 16:46:07 +0100 Subject: Error when creating Android APK In-Reply-To: References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> Message-ID: <72131E52-D96B-4077-9D9D-1E86E6855029@major-k.de> Hi Panos, > Am 17.11.2021 um 16:40 schrieb panagiotis m via use-livecode : > > Hello Klaus, > > It sounds like you have this in the Copy Files section in the standalone > settings of this stack: > /Users/klaus2/Desktop/de.lproj > and this resource cannot be found by the standalone builder, because it is > not there. > Is it the case? oh, boy, yes, it is, how embarrassing... 8-) No idea why I added this one? Thank you very much! > Kind regards, > Panos P.S. This works very fine: >> how-do-i-create-a-self-signed-certificate-for-an-android-app With that certificate we can download an APK from any source and install it. Only the security mechanism on the cellphone complains a bit but we can install it anyway, cool! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Wed Nov 17 10:52:07 2021 From: merakosp at gmail.com (panagiotis m) Date: Wed, 17 Nov 2021 17:52:07 +0200 Subject: Error when creating Android APK In-Reply-To: <72131E52-D96B-4077-9D9D-1E86E6855029@major-k.de> References: <2130924C-272D-4EA2-8D62-673F09FF131D@major-k.de> <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> <72131E52-D96B-4077-9D9D-1E86E6855029@major-k.de> Message-ID: Thanks for the update Klaus :) Glad the lesson is still valid :) Cheers, Panos -- On Wed, 17 Nov 2021 at 17:46, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > > Am 17.11.2021 um 16:40 schrieb panagiotis m via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello Klaus, > > > > It sounds like you have this in the Copy Files section in the standalone > > settings of this stack: > > /Users/klaus2/Desktop/de.lproj > > and this resource cannot be found by the standalone builder, because it > is > > not there. > > Is it the case? > > oh, boy, yes, it is, how embarrassing... 8-) > No idea why I added this one? > > Thank you very much! > > > Kind regards, > > Panos > > P.S. > This works very fine: > >> how-do-i-create-a-self-signed-certificate-for-an-android-app > > With that certificate we can download an APK from any source and install > it. > Only the security mechanism on the cellphone complains a bit but we can > install > it anyway, cool! :-) > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Wed Nov 17 11:28:35 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 17 Nov 2021 08:28:35 -0800 Subject: Android: Play App Signing In-Reply-To: <64CF8997-F5AE-4459-8327-38C66D74BF02@livecode.com> References: <73d641d8-c26f-e84d-0172-776d6a0d7354@hyperactivesw.com> <75B09E50-505C-436C-A912-EEF45CA88E92@m-r-d.de> <64CF8997-F5AE-4459-8327-38C66D74BF02@livecode.com> Message-ID: <83271c54-7e21-2028-0508-15027790463a@sonic.net> On 11/17/21 4:41 AM, Heather Laine via use-livecode wrote: > Yes unfortunately that is correct, there is no way to delete this. Its out there. You probably should change your signing key... "probably" Heh. -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Wed Nov 17 14:19:12 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 17 Nov 2021 14:19:12 -0500 Subject: LC Clipboard Polling Hang: Reported yet? Message-ID: <4e926340-a564-fbb3-6d9b-e344a15209a0@pair.com> I'm seeing a hang in LC 9.x when accessing the clipboard repeatedly. (Including LC 9.6.5 RC 2.) No precise recipe yet; that comes next, if this hasn't been reported yet. I accessing clipboardData["text"] maybe 1800 times, with the data on the clipboard changing 200 times. Finally LC breaks down in two distinct steps: 1. clipboardData["text"] stops reporting the current data. (But LC is usable and can still even SET the clipboardData.) 2. Then LC itself hangs up; have to End Task. Sound familiar anyone? If so, what Bug #? If not, I'll report it. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From matthias_livecode_150811 at m-r-d.de Wed Nov 17 14:31:10 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 17 Nov 2021 20:31:10 +0100 Subject: LC Clipboard Polling Hang: Reported yet? In-Reply-To: <4e926340-a564-fbb3-6d9b-e344a15209a0@pair.com> References: <4e926340-a564-fbb3-6d9b-e344a15209a0@pair.com> Message-ID: Curry, are you experiencing this on Windows or macOS? Regards, Matthias > Am 17.11.2021 um 20:19 schrieb Curry Kenworthy via use-livecode : > > > I'm seeing a hang in LC 9.x when > accessing the clipboard repeatedly. > (Including LC 9.6.5 RC 2.) > > No precise recipe yet; that comes next, > if this hasn't been reported yet. > > I accessing clipboardData["text"] > maybe 1800 times, with the data > on the clipboard changing 200 times. > > Finally LC breaks down > in two distinct steps: > > 1. clipboardData["text"] stops > reporting the current data. > > (But LC is usable and can still > even SET the clipboardData.) > > 2. Then LC itself hangs up; > have to End Task. > > Sound familiar anyone? > If so, what Bug #? > If not, I'll report it. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > Christian LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Nov 17 14:43:46 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Nov 2021 13:43:46 -0600 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <008201d7db4d$516112c0$f4233840$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> Message-ID: <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: > iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. > I am doing several synchronous operations in the form "put url (some-url) > into tVar". I do 1 or 2 and then every request after that fails. Played > with the various timeouts with no success. I also tried setting > tsNetLibUrlReuseConnection to false. This code worked in previous versions > of LC. Fails on iPad but works in the IDE. Has anyone seen this? I have a > little bit of a time crunch. Any suggestions would be appreciated. I asked about the same thing a month ago. Here's the reply by Charles Warwick: The essence is: "In order to fix this, you can use tsNet's asynchronous commands (e.g. tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...) or libURL's "load URL" command. The "load URL" command only support HTTP GET requests which means that if you need to use other types of requests (e.g. POST) then use the tsNet functions directly." Rather than rewrite all my scripts I settled for a short wait between requests. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Wed Nov 17 15:01:37 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 17 Nov 2021 15:01:37 -0500 Subject: LC Clipboard Polling Hang: Reported yet? In-Reply-To: References: <4e926340-a564-fbb3-6d9b-e344a15209a0@pair.com> Message-ID: hmmm...I use my clipboard tool everyday and i routinely have 7-10 days uptime, during which I think I would have come across this. My guess is that this one is new. But thats not to say there are not other bugs in the clipboard. Thanks for the heads up about this before I decide to rebuild using LC 9.6.5 Tom On Wed, Nov 17, 2021 at 2:32 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Curry, > > are you experiencing this on Windows or macOS? > > Regards, > Matthias > > > > > Am 17.11.2021 um 20:19 schrieb Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com>: > > > > > > I'm seeing a hang in LC 9.x when > > accessing the clipboard repeatedly. > > (Including LC 9.6.5 RC 2.) > > > > No precise recipe yet; that comes next, > > if this hasn't been reported yet. > > > > I accessing clipboardData["text"] > > maybe 1800 times, with the data > > on the clipboard changing 200 times. > > > > Finally LC breaks down > > in two distinct steps: > > > > 1. clipboardData["text"] stops > > reporting the current data. > > > > (But LC is usable and can still > > even SET the clipboardData.) > > > > 2. Then LC itself hangs up; > > have to End Task. > > > > Sound familiar anyone? > > If so, what Bug #? > > If not, I'll report it. > > > > Best wishes, > > > > Curry Kenworthy > > > > Custom Software Development > > "Better Methods, Better Results" > > Christian LiveCode Training and Consulting > > http://livecodeconsulting.com/ > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From rdimola at evergreeninfo.net Wed Nov 17 15:03:53 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Nov 2021 15:03:53 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> Message-ID: <005d01d7dbee$421571c0$c6405540$@net> J, Thanks to you and Charles! I wonder what changed to start this? Was tsNet or the mobile OSs not strict enough before and these errors were dropping on the floor or is it a bug introduced by either tsNet or the mobile OSs? Inquiring minds want to know... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Wednesday, November 17, 2021 2:44 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS app On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: > iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. > I am doing several synchronous operations in the form "put url > (some-url) into tVar". I do 1 or 2 and then every request after that > fails. Played with the various timeouts with no success. I also tried > setting tsNetLibUrlReuseConnection to false. This code worked in > previous versions of LC. Fails on iPad but works in the IDE. Has > anyone seen this? I have a little bit of a time crunch. Any suggestions would be appreciated. I asked about the same thing a month ago. Here's the reply by Charles Warwick: The essence is: "In order to fix this, you can use tsNet's asynchronous commands (e.g. tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...) or libURL's "load URL" command. The "load URL" command only support HTTP GET requests which means that if you need to use other types of requests (e.g. POST) then use the tsNet functions directly." Rather than rewrite all my scripts I settled for a short wait between requests. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jmac at consensustech.com Wed Nov 17 10:40:07 2021 From: jmac at consensustech.com (Jim At Consensus) Date: Wed, 17 Nov 2021 07:40:07 -0800 Subject: Error when creating Android APK In-Reply-To: <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> References: <082D68D3-10A3-49FA-9BB8-8536EBF5B0A7@major-k.de> Message-ID: Strange. Clarification. My error is occurring during stand-alone build. I include a folder in the ?Copy Files? section. In the folder are files ?to be filled? recording user choices, etc. The build process fails on the first ?empty? file. Will be chasing workarounds today so will see. Many alternative approaches. First priority is getting successful build to test other stuff. ~j Sent from Jim's iPhone XR Please excuse brevity, typos and errors > On Nov 17, 2021, at 7:29 AM, Klaus major-k via use-livecode wrote: > > ?Hi Jim, > >> Am 17.11.2021 um 16:16 schrieb Jim At Consensus via use-livecode : >> >> I just started getting a similar error when building a stand-alone for iOS. All of a sudden, the stand-alone builder is failing to find files when building and fails. Haven?t started troubleshooting in detail BUT it only happens when the file is empty (e.g. a text file with no data). Might be related? > > no external files used with my stack!? > >> Jim >> LC9.6.4; xCode 12.5; Big Sur > > oh, my system: > macOS 10.14.6 > LC 9.6.4 > > But this is obviously only with that namely stack. > Other stacks and newly created ones work fine. > Very strange... > >> Sent from Jim's iPhone XR >> Please excuse brevity, typos and errors >> >>>> On Nov 17, 2021, at 7:09 AM, Klaus major-k via use-livecode wrote: >>> >>> ?Hi friends, >>> >>> until yesterday I could create Android APK packages without problems. >>> >>> Today I tried the lesson: >>> >>> Worked fine so far, Android Studio worked for a couple of minutes and finally finished, whatever it was doing. >>> >>> Now when I save a very simple stack, that I already created a standalone from earlier, >>> as standalone just for testing, I get this error: >>> ----------------------------------------------- >>> There was an error saving the standalone application >>> could not find referenced asset to include - >>> /Users/klaus2/Desktop/de.lproj >>> ----------------------------------------------- >>> Desktop? de.lproj? WTF? 8-) >>> >>> I get this error when I select "Sign for development only" and also when >>> I select "Sign with my key" with the just created keystore file, so it is not >>> the keystore file. What am I missing? >>> >>> Thanks in advance! > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Nov 17 17:04:58 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Nov 2021 17:04:58 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> Message-ID: <006701d7dbff$2c530260$84f90720$@net> What is the "pro version" of tsNet the Charles refers to in that thread? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Wednesday, November 17, 2021 2:44 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS app On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: > iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. > I am doing several synchronous operations in the form "put url > (some-url) into tVar". I do 1 or 2 and then every request after that > fails. Played with the various timeouts with no success. I also tried > setting tsNetLibUrlReuseConnection to false. This code worked in > previous versions of LC. Fails on iPad but works in the IDE. Has > anyone seen this? I have a little bit of a time crunch. Any suggestions would be appreciated. I asked about the same thing a month ago. Here's the reply by Charles Warwick: The essence is: "In order to fix this, you can use tsNet's asynchronous commands (e.g. tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...) or libURL's "load URL" command. The "load URL" command only support HTTP GET requests which means that if you need to use other types of requests (e.g. POST) then use the tsNet functions directly." Rather than rewrite all my scripts I settled for a short wait between requests. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Nov 17 17:26:28 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 17 Nov 2021 23:26:28 +0100 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <006701d7dbff$2c530260$84f90720$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> <006701d7dbff$2c530260$84f90720$@net> Message-ID: <3C4EC89E-ED68-433A-A712-970981762825@m-r-d.de> According to Livecode's website https://livecode.com/pro-features/ Complete Advanced Networking Layer: - Non-blocking, asynchronous operations on SFTP, SMTP, SMTPS and SMTP/TLS - SFTP authentication via public key authentication giving the best possible security - SMTP(S/TLS) / SFTP downloads and uploads can either be via file or via variable ? you are not limited by the memory available to your variable - Ability to generate public / private key pairs suitable for use with SFTP ? no need for an external application to create these - Ability to send additional raw commands along with FTP and SFTP transfers to be executed before or after the transfer completes Regards, Matthisa > Am 17.11.2021 um 23:04 schrieb Ralph DiMola via use-livecode : > > What is the "pro version" of tsNet the Charles refers to in that thread? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of J. Landman Gay via use-livecode > Sent: Wednesday, November 17, 2021 2:44 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS > app > > On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: >> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. >> I am doing several synchronous operations in the form "put url >> (some-url) into tVar". I do 1 or 2 and then every request after that >> fails. Played with the various timeouts with no success. I also tried >> setting tsNetLibUrlReuseConnection to false. This code worked in >> previous versions of LC. Fails on iPad but works in the IDE. Has >> anyone seen this? I have a little bit of a time crunch. Any suggestions > would be appreciated. > > I asked about the same thing a month ago. Here's the reply by Charles > Warwick: > > > The essence is: > "In order to fix this, you can use tsNet's asynchronous commands (e.g. > tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...) > or libURL's "load URL" command. The "load URL" command only support HTTP > GET requests which means that if you need to use other types of requests > (e.g. POST) then use the tsNet functions directly." > > Rather than rewrite all my scripts I settled for a short wait between > requests. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Nov 17 17:47:03 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Nov 2021 17:47:03 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <3C4EC89E-ED68-433A-A712-970981762825@m-r-d.de> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> <006701d7dbff$2c530260$84f90720$@net> <3C4EC89E-ED68-433A-A712-970981762825@m-r-d.de> Message-ID: <006801d7dc05$0dd81090$298831b0$@net> Ahhh, That explains why the app is failing now. I lost the pro-features in the transition to the new business model. Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of matthias rebbe via use-livecode Sent: Wednesday, November 17, 2021 5:26 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS app According to Livecode's website https://livecode.com/pro-features/ Complete Advanced Networking Layer: - Non-blocking, asynchronous operations on SFTP, SMTP, SMTPS and SMTP/TLS - SFTP authentication via public key authentication giving the best possible security - SMTP(S/TLS) / SFTP downloads and uploads can either be via file or via variable ? you are not limited by the memory available to your variable - Ability to generate public / private key pairs suitable for use with SFTP ? no need for an external application to create these - Ability to send additional raw commands along with FTP and SFTP transfers to be executed before or after the transfer completes Regards, Matthisa > Am 17.11.2021 um 23:04 schrieb Ralph DiMola via use-livecode : > > What is the "pro version" of tsNet the Charles refers to in that thread? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of J. Landman Gay via use-livecode > Sent: Wednesday, November 17, 2021 2:44 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: The Dreaded tsNet "Error Previous request not completed" > iOS app > > On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote: >> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5. >> I am doing several synchronous operations in the form "put url >> (some-url) into tVar". I do 1 or 2 and then every request after that >> fails. Played with the various timeouts with no success. I also >> tried setting tsNetLibUrlReuseConnection to false. This code worked >> in previous versions of LC. Fails on iPad but works in the IDE. Has >> anyone seen this? I have a little bit of a time crunch. Any >> suggestions > would be appreciated. > > I asked about the same thing a month ago. Here's the reply by Charles > Warwick: > html> > > The essence is: > "In order to fix this, you can use tsNet's asynchronous commands (e.g. > tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, > ...) or libURL's "load URL" command. The "load URL" command only > support HTTP GET requests which means that if you need to use other > types of requests (e.g. POST) then use the tsNet functions directly." > > Rather than rewrite all my scripts I settled for a short wait between > requests. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsquance at telus.net Thu Nov 18 00:16:46 2021 From: dsquance at telus.net (David Squance) Date: Wed, 17 Nov 2021 21:16:46 -0800 Subject: Annoying pop-up message Message-ID: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> This may be off-topic, but I don?t know if it?s related to my Mac OS or LC. Lately I get a periodic pop-up that says ?The ?C++filt? command requires the command line developer tools. Would you like to install the tools now?? I have no knowledge of doing anything that uses the above command. I?m using the last version of LC prior to the big change away from freebies and haven?t attempted any standalone building for some time. I?m running Big Sur on a MacBook Air. Dave From matthias_livecode_150811 at m-r-d.de Thu Nov 18 04:48:50 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 18 Nov 2021 10:48:50 +0100 Subject: Annoying pop-up message In-Reply-To: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> References: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> Message-ID: <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> This can be caused by an installed program. Here for example someone is mentioning that the program BOINC caused that popup message in his case. https://discussions.apple.com/thread/252157812 Do you have Xcode or the command. line tools installed at all? Or is a version of the command line tools selected that is not installed anymore on your computer? In a first step you could open Xcode, open Preferences and under Locations you could select a version of the installed command line tools. Does that fix your problem? Regards Matthias > Am 18.11.2021 um 06:16 schrieb David Squance via use-livecode : > > This may be off-topic, but I don?t know if it?s related to my Mac OS or LC. Lately I get a periodic pop-up that says ?The ?C++filt? command requires the command line developer tools. Would you like to install the tools now?? I have no knowledge of doing anything that uses the above command. I?m using the last version of LC prior to the big change away from freebies and haven?t attempted any standalone building for some time. I?m running Big Sur on a MacBook Air. > Dave > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Nov 18 10:42:54 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 18 Nov 2021 10:42:54 -0500 Subject: Annoying pop-up message In-Reply-To: <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> References: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> Message-ID: <99C1853C-3710-4423-BF3F-8F4213701522@starfirelighting.com> Is this anything like the ?Lipo? dialogs I get now every time I make a standalone? There is a thread on the Forum about this: https://forums.livecode.com/search.php?keywords=lipo Craig > On Nov 18, 2021, at 4:48 AM, matthias rebbe via use-livecode wrote: > > This can be caused by an installed program. > > Here for example someone is mentioning that the program BOINC caused that popup message in his case. > https://discussions.apple.com/thread/252157812 > > Do you have Xcode or the command. line tools installed at all? Or is a version of the command line tools selected that is not installed anymore on your computer? > > In a first step you could open Xcode, open Preferences and under Locations you could select a version of the installed command line tools. Does that fix your problem? > > Regards > Matthias > >> Am 18.11.2021 um 06:16 schrieb David Squance via use-livecode : >> >> This may be off-topic, but I don?t know if it?s related to my Mac OS or LC. Lately I get a periodic pop-up that says ?The ?C++filt? command requires the command line developer tools. Would you like to install the tools now?? I have no knowledge of doing anything that uses the above command. I?m using the last version of LC prior to the big change away from freebies and haven?t attempted any standalone building for some time. I?m running Big Sur on a MacBook Air. >> Dave >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Thu Nov 18 10:44:20 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 18 Nov 2021 10:44:20 -0500 Subject: Annoying pop-up message In-Reply-To: <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> References: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> Message-ID: <117FE355-27D8-48A2-B6FD-A31289EDD858@starfirelighting.com> Or: https://forums.livecode.com/viewtopic.php?f=9&t=35607&p=203599&hilit=lipo#p203599 Craig > On Nov 18, 2021, at 4:48 AM, matthias rebbe via use-livecode wrote: > > This can be caused by an installed program. > > Here for example someone is mentioning that the program BOINC caused that popup message in his case. > https://discussions.apple.com/thread/252157812 > > Do you have Xcode or the command. line tools installed at all? Or is a version of the command line tools selected that is not installed anymore on your computer? > > In a first step you could open Xcode, open Preferences and under Locations you could select a version of the installed command line tools. Does that fix your problem? > > Regards > Matthias > >> Am 18.11.2021 um 06:16 schrieb David Squance via use-livecode : >> >> This may be off-topic, but I don?t know if it?s related to my Mac OS or LC. Lately I get a periodic pop-up that says ?The ?C++filt? command requires the command line developer tools. Would you like to install the tools now?? I have no knowledge of doing anything that uses the above command. I?m using the last version of LC prior to the big change away from freebies and haven?t attempted any standalone building for some time. I?m running Big Sur on a MacBook Air. >> Dave >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsquance at telus.net Thu Nov 18 12:22:40 2021 From: dsquance at telus.net (David Squance) Date: Thu, 18 Nov 2021 09:22:40 -0800 Subject: Annoying pop-up message In-Reply-To: <99C1853C-3710-4423-BF3F-8F4213701522@starfirelighting.com> References: <04D4BE61-7247-4925-BBC2-342C8E378FCC@telus.net> <7661B0AE-2CC9-4E10-BBCE-B02BB44EA825@m-r-d.de> <99C1853C-3710-4423-BF3F-8F4213701522@starfirelighting.com> Message-ID: <4DCACEDE-7677-463F-AFFE-705022130E7E@telus.net> I haven?t seen this message with Lipo, but thanks to Matthias, I think the source of the message has been found. I?ve had BOINC running on my computer, so I will try doing the installation and how the message goes away. Dave > On Nov 18, 2021, at 7:42 AM, Craig Newman via use-livecode wrote: > > Is this anything like the ?Lipo? dialogs I get now every time I make a standalone? There is a thread on the Forum about this: > > https://forums.livecode.com/search.php?keywords=lipo > > Craig > > >> On Nov 18, 2021, at 4:48 AM, matthias rebbe via use-livecode wrote: >> >> This can be caused by an installed program. >> >> Here for example someone is mentioning that the program BOINC caused that popup message in his case. >> https://discussions.apple.com/thread/252157812 >> >> Do you have Xcode or the command. line tools installed at all? Or is a version of the command line tools selected that is not installed anymore on your computer? >> >> In a first step you could open Xcode, open Preferences and under Locations you could select a version of the installed command line tools. Does that fix your problem? >> >> Regards >> Matthias >> >>> Am 18.11.2021 um 06:16 schrieb David Squance via use-livecode : >>> >>> This may be off-topic, but I don?t know if it?s related to my Mac OS or LC. Lately I get a periodic pop-up that says ?The ?C++filt? command requires the command line developer tools. Would you like to install the tools now?? I have no knowledge of doing anything that uses the above command. I?m using the last version of LC prior to the big change away from freebies and haven?t attempted any standalone building for some time. I?m running Big Sur on a MacBook Air. >>> Dave >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Nov 18 13:13:48 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 18 Nov 2021 13:13:48 -0500 Subject: Broken: November use-livecode Archive! Message-ID: The November use-livecode Archive has been broken for around 20 hours: It has many misparsed "No subject" posts, and after those, no new emails show up. No archived emails since "Nov 17 07:41:36 EST 2021". People who are subscribed to the daily Digest, like myself, will not be able to see any replies or other posts until the next day's email Digest. Luckily the email Digest still works, but it's pretty crippled without the web Archive. (Also I can't verify whether my email goes through, so I'll be cross-posting to the dev-list for that purpose. The dev archive still works.) :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From mark at livecode.com Thu Nov 18 13:27:43 2021 From: mark at livecode.com (Mark Waddingham) Date: Thu, 18 Nov 2021 18:27:43 +0000 Subject: Broken: November use-livecode Archive! In-Reply-To: References: Message-ID: <7652ec9fb8570764b4b28d7641b9c478@livecode.com> On 2021-11-18 18:13, Curry Kenworthy via use-livecode wrote: > The November use-livecode Archive has been broken > for around 20 hours: > > Its a side-effect of deleting a recent post which contained sensitive information (obviously we can't get rid any copies elsewhere, but can on our server). We are aware of the issue and will endeavour to rectify the problem tomorrow. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From panos.merakos at livecode.com Thu Nov 18 13:56:14 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 18 Nov 2021 20:56:14 +0200 Subject: [ANN] Release 10.0.0 DP-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-1. Developer Preview Release ========================= Warning: this is not a stable release. Please ensure that you back up your stacks before testing them. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater. To find the dp-1 test release in your LiveCode account, please scroll down to below the list of stable releases, to find your available test releases. Release Contents ================ LiveCode 10.0.0 DP-1 comes with several bug fixes and some amazing new features: - Web deployment now uses WebAssembly The WebAssembly engine is smaller, and substantially faster than the previous asm.js version. In addition, moving to this new architecture means that the wait command now works - along with any engine functionality which internally uses wait-like functionality. - A new "clipSnapshots" property has been added to the barcode scanner on Android By default, if a snapshot is taken by the Android barcode scanner widget, the resulting image is clipped to the actual rect of the barcode. A new property "clipSnapshots" has been added which can be set to false to prevent this behavior, so that the resulting snapshot is the full image. - Support for GLES3.x acceleratedRendering has been added for Android and iOS devices An OpenGL ES 3 implementation of the accelerated rendering backend has been added. This makes it possible for future versions of LiveCode to leverage the new technology to improve accelerated rendering performance. It also enables accelerated rendering to be used with Android emulators. - A new "bounds" option has been added to the LCB begin layer command New syntax has been added to the Canvas library to allow specifying the drawing boundary when beginning a new layer for an effect. This should be a rectangle signifying the bounds of any drawing performed on the layer. This information allows the canvas library to limit the amount of memory allocated to the new layer by restricting the size of its backing buffer to only that area required to correctly render effects based on the given drawing bounds. - A new "device transform" property has been added to the LCB canvas object New syntax has been added to enable getting the current transform of a canvas. The canvas "device transform" property returns the affine transform from logical units to backing device pixels. - A new "is valid" operator has been added to the LCB image object New syntax has been added to allow querying an image to determine if it contains valid data. The image "is valid" operator returns a boolean value indicating whether or not its data is valid. For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/10_0_0/LiveCodeNotes-10_0_0_dp_1.pdf Known issues ============ - Stacks may experience redraw issues on macOS when running on macOS 10.14 (Mojave) and macOS 10.15 (Catalina) - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11.x : Xcode 12.5.x - LiveCode builds iOS apps using the iOS 14.5 SDK - macOS 12.x : Xcode 12.5.x - LiveCode builds iOS apps using the iOS 14.5 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/resources/support/ask-a-question/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 in order to be able to install the necessary version of Xcode. Feedback ======== Please report any bugs encountered on our quality center at http://quality.livecode.com/ We have a forum available for discussing LiveCode at https://forums.livecode.com Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Thu Nov 18 16:00:36 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 18 Nov 2021 16:00:36 -0500 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: FYI, XC 12.5.x is being a bugger with MacOS 12.x for new hardware. Any chance we'll get XCode 13.1 in DP2? From heather at livecode.com Fri Nov 19 05:07:32 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 19 Nov 2021 10:07:32 +0000 Subject: testing the archive Message-ID: <264EB254-B31B-42A5-9C6B-B5611B9C9EFD@livecode.com> Does this archive correctly? List members, this is not for you :) Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From heather at livecode.com Fri Nov 19 05:10:25 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 19 Nov 2021 10:10:25 +0000 Subject: Yes, its another archiving test Message-ID: <833A7EC9-216C-457A-B3EE-4CA0F2A49A3C@livecode.com> No, its still not for you, look away... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From heather at livecode.com Fri Nov 19 09:46:15 2021 From: heather at livecode.com (Heather Laine) Date: Fri, 19 Nov 2021 14:46:15 +0000 Subject: Yes, its another archiving test In-Reply-To: <833A7EC9-216C-457A-B3EE-4CA0F2A49A3C@livecode.com> References: <833A7EC9-216C-457A-B3EE-4CA0F2A49A3C@livecode.com> Message-ID: <25CEE644-66DE-4497-958B-F4F049F14E1A@livecode.com> One last test to check all is as it should be. Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 19 Nov 2021, at 10:10, Heather Laine via use-livecode wrote: > > No, its still not for you, look away... > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Fri Nov 19 09:46:43 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 19 Nov 2021 09:46:43 -0500 Subject: LC Clipboard Polling Hang: Reported yet? In-Reply-To: References: Message-ID: List archive up, so following up.... Matthias: > are you experiencing this on Windows or macOS? Intentionally omitted here; if I mention one, people tend to make assumptions about the other. (That fuels myths which can persist for years!) :) I'd rather ask both sets of users: seen this? At this point, no platform is eliminated yet. Tom: > Thanks for the heads up about this > before I decide to rebuild using LC 9.6.5 No, it existed in 9.6.3 also; a veteran 9.x bug! Me: > I'm seeing a hang in LC 9.x when > accessing the clipboard repeatedly. Still no precise recipe yet; will file a report when I have one. > 1. clipboardData["text"] stops > reporting the current data. This is what happens when the bug strikes! > 2. Then LC itself hangs up (Recanting this #2; it may be unrelated. Probably #1 is the only true bug symptom.) (OK, here goes, let's see if this email archives.) Best wishes, Curry Kenworthy From rdimola at evergreeninfo.net Fri Nov 19 11:05:03 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 19 Nov 2021 11:05:03 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> Message-ID: <003201d7dd5f$394b5970$abe20c50$@net> I solved the problem. I was my problem. When I activated LC 9.6.4+ I just blew past the licensing dialog taking the default as I have always done. In pre 9.6.4 I only had one licensing option. This was my business license that included the indy to business upgrade and the pro features upgrade. In 9.6.4+ these upgrade options appear as 3 license choices. The default was Indy(so to speak) the second was the business(I guess) but the third was clearly identified as "Pro Features". I used the "Re-license Livecode" option in the help menu and took the third option and my PDF widget appeared and my initial testing shows that I am no longer throwing the "Error Previous request not completed" error. I tested a 9.6.5rc2 build and not yet seen the error on iOS. I have a tester trying a LC 10dp1 iOS build and he has not seen the error either. So... Don't blow past the licensing dialog like I did. Check to see if there is more than one option, then check them all so get the license level you expect. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Fri Nov 19 12:20:46 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 19 Nov 2021 12:20:46 -0500 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <003201d7dd5f$394b5970$abe20c50$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> <003201d7dd5f$394b5970$abe20c50$@net> Message-ID: <003d01d7dd69$cce67980$66b36c80$@net> I just wanted to thank Jacqueline Landman Gay and Charles Warwick for this thread https://www.mail-archive.com/use-livecode at lists.runrev.com/msg113554.html I still wonder how more than one synchronous operation can be in play at the same as synchronous operations are blocking. Oh well I works now with tsNet-Pro. Well worth the price... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From mark at livecode.com Fri Nov 19 12:38:13 2021 From: mark at livecode.com (Mark Waddingham) Date: Fri, 19 Nov 2021 17:38:13 +0000 Subject: The Dreaded tsNet "Error Previous request not completed" iOS app In-Reply-To: <003d01d7dd69$cce67980$66b36c80$@net> References: <006101d7db16$cf8f2fb0$6ead8f10$@net> <008201d7db4d$516112c0$f4233840$@net> <28f08128-2456-3136-7fd8-63c017494ef6@hyperactivesw.com> <003201d7dd5f$394b5970$abe20c50$@net> <003d01d7dd69$cce67980$66b36c80$@net> Message-ID: <6687ae6e8f47375423140a4dedf51846@livecode.com> On 2021-11-19 17:20, Ralph DiMola via use-livecode wrote: > I just wanted to thank Jacqueline Landman Gay and Charles Warwick for > this > thread > https://www.mail-archive.com/use-livecode at lists.runrev.com/msg113554.html > > I still wonder how more than one synchronous operation can be in play > at the > same as synchronous operations are blocking. Oh well I works now with > tsNet-Pro. Well worth the price... So technically 'synchronous' libURL operations are not blocking - they use a nested wait. As libURL is a script library, and uses engine sockets (and thus messages), they need to get messages and so all messages also occur. Indeed, this also means you can handle progress notifications, and whatever means you choose to show the UI is currently 'blocked' because your script is busy. It does mean you do have to be somewhat careful with `get url` and friends - since you can end up in a bit of a recursive mess (i.e. if a message fires while a get url is going on, and you do another get url etc. etc.). There is a request in BZ to make tsNet's synchronous calls truly blocking - however that would probably need to come with some sort of automatic 'busy' indicator over all currently open windows to prevent UI events getting queued / lost (and users being confused why things don't work at certain points!). The upside of that is that it might prevent 'mysterious' problems with accidental recursive waits which can happen at the moment. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From tom at makeshyft.com Fri Nov 19 17:33:16 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 19 Nov 2021 17:33:16 -0500 Subject: browserProgressChanged not sending Message-ID: Hello Folks, I'm hoping I'm just overlooking something, but has anyone come across trying to use the browserProgressChanged message? It seems like this message is not being sent to the widget. My browser widget only receives the "browserFrameDocument" messages. It doesn't matter what site I am on. I'm on Windows 10 LC 9.63 Thanks in advance, Tom From rjearp99 at gmail.com Fri Nov 19 19:04:10 2021 From: rjearp99 at gmail.com (Robert Earp) Date: Fri, 19 Nov 2021 16:04:10 -0800 Subject: Reading LC List Digests Message-ID: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> Does anybody know a a great interface for digests from the LC lists ? I have two problems... Ever since I subscribed to the two LC lists many years ago when they first started I set my subscription options to send digests so that I would not have oodles of separate eMails sent to me, one each time somebody posted something. To some extent digests works OK as at the top of the digest you get the ?Today?s Topics? summary and each message/post numbered. I also get to see who has posted what, which I suspect like you, I use as a filter. If I see something of interest in the Today?s Topics (although the topic can often be misleading) from somebody I trust, I scroll down the digest until I get to the actual post. Frankly, the scrolling is a pain especially as posts are not grouped by topic, they are chronologically grouped, plus people often repeat the whole thread in their reply which makes scrolling arduous. The second problem I have is that frequently some of the characters in a post do not show in Apple Mail (what I am using to view the digests) as a the correct/intended/valid character. I often see question marks and sometimes other characters in place of what somebody has posted. ex. ??..pop-up that says ?The ?C++filt? command?..? Of course, it is a guessing game as to what character the ??? is replacing. Given that the lists are LC centric, I would have hoped somebody would have come up with a better interface by now !! Do you have a better way of keeping up with the lists or know of a stack or web site that does ? Many thanks, Bob... Robert (Bob) Earp White Rock British Columbia Canada From curry at pair.com Fri Nov 19 20:02:42 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 19 Nov 2021 20:02:42 -0500 Subject: Reading LC List Digests In-Reply-To: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> References: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> Message-ID: Bob: > Does anybody know a a great interface for digests from the LC lists ? Yep, here's the best one: > To some extent digests works OK as at the top of the digest > you get the ?Today?s Topics? summary and each message/post numbered. Yep, the digest email is the TV Guide. The list archive is the TV. > I also get to see who has posted what, which I suspect like you, > I use as a filter. Not really; accuracy depends on what is posted, not who. > Frankly, the scrolling is a pain especially as posts > are not grouped by topic, they are chronologically grouped, Archive is easy to scroll, full screen, can be sorted several ways. > plus people often repeat the whole thread in their reply > which makes scrolling arduous. Yeah! That bugs me too, no matter where I read. But variety is the spice of life! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" Christian LiveCode Training and Consulting http://livecodeconsulting.com/ From jacque at hyperactivesw.com Fri Nov 19 23:36:13 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Nov 2021 22:36:13 -0600 Subject: Reading LC List Digests In-Reply-To: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> References: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> Message-ID: <17d3ba16648.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This may not be exactly what you want, but I find the best way for me is to subscribe to individual posts. I have a filter in my email app (Thunderbird) that redirects all list posts into a separate folder. There is also a setting to arrange the posts in thread view so you can see related posts in order by thread. I find this method to be very easy to read and maintain. I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 19, 2021 6:06:26 PM Robert Earp via use-livecode wrote: > Does anybody know a a great interface for digests from the LC lists ? > > I have two problems... > > Ever since I subscribed to the two LC lists many years ago when they first > started I set my subscription options to send digests so that I would not > have oodles of separate eMails sent to me, one each time somebody posted > something. To some extent digests works OK as at the top of the digest you > get the ?Today?s Topics? summary and each message/post numbered. I also > get to see who has posted what, which I suspect like you, I use as a > filter. If I see something of interest in the Today?s Topics (although the > topic can often be misleading) from somebody I trust, I scroll down the > digest until I get to the actual post. > > Frankly, the scrolling is a pain especially as posts are not grouped by > topic, they are chronologically grouped, plus people often repeat the whole > thread in their reply which makes scrolling arduous. > > The second problem I have is that frequently some of the characters in a > post do not show in Apple Mail (what I am using to view the digests) as a > the correct/intended/valid character. I often see question marks and > sometimes other characters in place of what somebody has posted. ex. > ??..pop-up that says ?The ?C++filt? command?..? Of course, it is a > guessing game as to what character the ??? is replacing. > > Given that the lists are LC centric, I would have hoped somebody would have > come up with a better interface by now !! > > Do you have a better way of keeping up with the lists or know of a stack or > web site that does ? > > Many thanks, Bob... > > > > Robert (Bob) Earp > White Rock > British Columbia > Canada > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Fri Nov 19 23:47:32 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 19 Nov 2021 20:47:32 -0800 Subject: Android tap location doesn't match visual location Message-ID: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> I?m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I?ve encountered a specific case where touching a button doesn?t pass the touch message to the button being tapped? unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes ?wait with messages? (I?m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won?t work in this case. Any thoughts? -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From scott at elementarysoftware.com Sat Nov 20 00:01:49 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 19 Nov 2021 21:01:49 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> Message-ID: Oh for? I was unclear in the body of my original post. This is only occurring on Android. Not iOS or in the IDE. > On Nov 19, 2021, at 8:47 PM, scott--- via use-livecode wrote: > > I?m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I?ve encountered a specific case where touching a button doesn?t pass the touch message to the button being tapped? unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes ?wait with messages? (I?m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won?t work in this case. Any thoughts? > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ From brian at milby7.com Sat Nov 20 00:19:43 2021 From: brian at milby7.com (Brian Milby) Date: Sat, 20 Nov 2021 00:19:43 -0500 Subject: Android tap location doesn't match visual location In-Reply-To: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> Message-ID: <9489C3A5-E6ED-49FD-8D87-83DAB4A1CC86@milby7.com> Would it be possible to use a send in time approach? If not for real, you might could try to avoid the loop as a test. I?ll confess I have not seen that particular issue though. Sent from my iPad > On Nov 19, 2021, at 11:49 PM, scott--- via use-livecode wrote: > > ?I?m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I?ve encountered a specific case where touching a button doesn?t pass the touch message to the button being tapped? unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes ?wait with messages? (I?m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won?t work in this case. Any thoughts? > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Nov 20 01:45:26 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Nov 2021 00:45:26 -0600 Subject: Android tap location doesn't match visual location In-Reply-To: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> Message-ID: <17d3c17b370.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: > I?m having trouble with an app that up until now has just been for iOS. > Most of the changes have been pretty straight forward but I?ve encountered > a specific case where touching a button doesn?t pass the touch message to > the button being tapped? unless I touch significantly below the button (I > also had to switch from mouse messages to touch messages in this particular > case.) This is not a general issue. It only happens when I show a group > containing the buttons in question and while this group is displayed there > is repeat loop running that includes ?wait with messages? (I?m faking a > modal dialog.) I encountered this once before under the same circumstances > (a fake modal dialog while moving an iOS app to Android) and simply > switched to using the built in dialog. Unfortunately, that won?t work in > this case. Any thoughts? > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sat Nov 20 04:05:28 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 20 Nov 2021 01:05:28 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: <17d3c17b370.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> <17d3c17b370.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Jacque, that is pretty much what I?m doing (except that my semi-transparent screen graphic is separate from the fake dialog group.) I agree that this approach normally works well. I don?t have as much experience on Android so I wondered if it had something to do with the platform. Apparently it is something I?m doing. Brian, I will try your suggestion of isolating and breaking the process down in order to determine where the issue lies. I was just feeling lazy and hoping to save myself some work. :-) > On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode wrote: > > I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. > > The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: > >> I?m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I?ve encountered a specific case where touching a button doesn?t pass the touch message to the button being tapped? unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes ?wait with messages? (I?m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won?t work in this case. Any thoughts? >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-360-734-4701 >> ------------------------------------------------------ From scott at elementarysoftware.com Sat Nov 20 07:02:47 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 20 Nov 2021 04:02:47 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: References: <5BBC455D-7762-41FE-8D14-71120FF69544@elementarysoftware.com> <17d3c17b370.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> Just answering my own question in case anyone searches this later. This was kind of a forehead slapper when I finally saw it. There was a native UIScroller over part of the screen. None of the other buttons on the screen were inside the rectangle of the scroller, so they weren?t effected. The scroller was being disabled while the fake dialog was on the screen and this worked fine for iOS but in my case at least, it is problematic for Android. My solution for now is to either leave the scroller active on Android (not a great UI but tolerable) or delete the scroller while the fake dialog is showing and rebuild the scroller after the fake dialog is dismissed? which is probably the better solution. I?m not sure why the disabled Android scroller is offsetting the touch when the iOS scroller is not. Maybe it is a bug and I?m the first person to put a disabled scroller over a button?more likely it is something that I?m doing wrong when I create the scroller. ? Scott Morrow > On Nov 20, 2021, at 1:05 AM, scott--- via use-livecode wrote: > > Jacque, that is pretty much what I?m doing (except that my semi-transparent screen graphic is separate from the fake dialog group.) I agree that this approach normally works well. I don?t have as much experience on Android so I wondered if it had something to do with the platform. Apparently it is something I?m doing. > > Brian, I will try your suggestion of isolating and breaking the process down in order to determine where the issue lies. I was just feeling lazy and hoping to save myself some work. :-) > > >> On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode wrote: >> >> I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. >> >> The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: >> >>> I?m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I?ve encountered a specific case where touching a button doesn?t pass the touch message to the button being tapped? unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes ?wait with messages? (I?m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won?t work in this case. Any thoughts? >>> >>> -- >>> Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust!) >>> web https://elementarysoftware.com/ >>> email scott at elementarysoftware.com >>> booth 1-360-734-4701 >>> ------------------------------------------------------ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Sat Nov 20 08:34:58 2021 From: mark at livecode.com (Mark Waddingham) Date: Sat, 20 Nov 2021 13:34:58 +0000 Subject: Android tap location doesn't match visual location In-Reply-To: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> References: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> Message-ID: <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> Hi Scott - the touch coords being wrong sounds like a bug to me - can you file a report (with example stack if possible). Thanks! Mark. Sent from my iPhone > On 20 Nov 2021, at 12:04, scott--- via use-livecode wrote: > > ?Just answering my own question in case anyone searches this later. > > This was kind of a forehead slapper when I finally saw it. There was a native UIScroller over part of the screen. None of the other buttons on the screen were inside the rectangle of the scroller, so they weren?t effected. The scroller was being disabled while the fake dialog was on the screen and this worked fine for iOS but in my case at least, it is problematic for Android. My solution for now is to either leave the scroller active on Android (not a great UI but tolerable) or delete the scroller while the fake dialog is showing and rebuild the scroller after the fake dialog is dismissed? which is probably the better solution. I?m not sure why the disabled Android scroller is offsetting the touch when the iOS scroller is not. Maybe it is a bug and I?m the first person to put a disabled scroller over a button?more likely it is something that I?m doing wrong when I create the scroller. > ? Scott Morrow > >> On Nov 20, 2021, at 1:05 AM, scott--- via use-livecode wrote: >> >> Jacque, that is pretty much what I?m doing (except that my semi-transparent screen graphic is separate from the fake dialog group.) I agree that this approach normally works well. I don?t have as much experience on Android so I wondered if it had something to do with the platform. Apparently it is something I?m doing. >> >> Brian, I will try your suggestion of isolating and breaking the process down in order to determine where the issue lies. I was just feeling lazy and hoping to save myself some work. :-) >> >> >>>> On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode wrote: >>> >>> I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. >>> >>> The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>>> On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: >>> >>>> I?m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I?ve encountered a specific case where touching a button doesn?t pass the touch message to the button being tapped? unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes ?wait with messages? (I?m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won?t work in this case. Any thoughts? >>>> >>>> -- >>>> Scott Morrow >>>> >>>> Elementary Software >>>> (Now with 20% less chalk dust!) >>>> web https://elementarysoftware.com/ >>>> email scott at elementarysoftware.com >>>> booth 1-360-734-4701 >>>> ------------------------------------------------------ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sat Nov 20 15:00:30 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 20 Nov 2021 12:00:30 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> References: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> Message-ID: <542BD6DB-ABFC-4AE8-930D-06FE0D21496D@elementarysoftware.com> Will do. ? Scott > On Nov 20, 2021, at 5:34 AM, Mark Waddingham via use-livecode wrote: > > Hi Scott - the touch coords being wrong sounds like a bug to me - can you file a report (with example stack if possible). > > Thanks! > > Mark. > > Sent from my iPhone > >> On 20 Nov 2021, at 12:04, scott--- via use-livecode wrote: >> >> ?Just answering my own question in case anyone searches this later. >> >> This was kind of a forehead slapper when I finally saw it. There was a native UIScroller over part of the screen. None of the other buttons on the screen were inside the rectangle of the scroller, so they weren?t effected. The scroller was being disabled while the fake dialog was on the screen and this worked fine for iOS but in my case at least, it is problematic for Android. My solution for now is to either leave the scroller active on Android (not a great UI but tolerable) or delete the scroller while the fake dialog is showing and rebuild the scroller after the fake dialog is dismissed? which is probably the better solution. I?m not sure why the disabled Android scroller is offsetting the touch when the iOS scroller is not. Maybe it is a bug and I?m the first person to put a disabled scroller over a button?more likely it is something that I?m doing wrong when I create the scroller. >> ? Scott Morrow >> >>> On Nov 20, 2021, at 1:05 AM, scott--- via use-livecode wrote: >>> >>> Jacque, that is pretty much what I?m doing (except that my semi-transparent screen graphic is separate from the fake dialog group.) I agree that this approach normally works well. I don?t have as much experience on Android so I wondered if it had something to do with the platform. Apparently it is something I?m doing. >>> >>> Brian, I will try your suggestion of isolating and breaking the process down in order to determine where the issue lies. I was just feeling lazy and hoping to save myself some work. :-) >>> >>> >>>>> On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> I've done several fake dialogs. The trick is to group the dialog with a a semi-transparent full screen graphic layered behind the dialog group. Greying the screen is normal behavior on Android and works on iOS too. The graphic has blocker mouse handlers so clicking it does nothing. That way you can script the dialog buttons to respond themselves. The user needs to click one of the buttons to make the dialog go away, at which point you hide the group. >>>> >>>> The buttons can put the response in the dialogData, which is a built in mechanism to transfer custom messages to a script, or else you can put the response in a global or a custom property. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On November 19, 2021 10:49:57 PM scott--- via use-livecode wrote: >>>> >>>>> I?m having trouble with an app that up until now has just been for iOS. Most of the changes have been pretty straight forward but I?ve encountered a specific case where touching a button doesn?t pass the touch message to the button being tapped? unless I touch significantly below the button (I also had to switch from mouse messages to touch messages in this particular case.) This is not a general issue. It only happens when I show a group containing the buttons in question and while this group is displayed there is repeat loop running that includes ?wait with messages? (I?m faking a modal dialog.) I encountered this once before under the same circumstances (a fake modal dialog while moving an iOS app to Android) and simply switched to using the built in dialog. Unfortunately, that won?t work in this case. Any thoughts? >>>>> >>>>> -- >>>>> Scott Morrow >>>>> >>>>> Elementary Software >>>>> (Now with 20% less chalk dust!) >>>>> web https://elementarysoftware.com/ >>>>> email scott at elementarysoftware.com >>>>> booth 1-360-734-4701 >>>>> ------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sat Nov 20 17:55:23 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 20 Nov 2021 14:55:23 -0800 Subject: Android tap location doesn't match visual location In-Reply-To: <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> References: <5C27D8D5-3CEE-4B64-BD0A-3779F80D05F2@elementarysoftware.com> <8E381499-0295-4DBD-A1E0-337DE6A153DE@livecode.com> Message-ID: <8E3BF60E-9C9F-4D80-83E2-D9111E257AF9@elementarysoftware.com> Bug 23459 > On Nov 20, 2021, at 5:34 AM, Mark Waddingham via use-livecode wrote: > > Hi Scott - the touch coords being wrong sounds like a bug to me - can you file a report (with example stack if possible). > > Thanks! > > Mark. From scott at elementarysoftware.com Mon Nov 22 04:00:27 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 22 Nov 2021 01:00:27 -0800 Subject: Universal Button widget on Android Message-ID: <8CC525A8-8B0D-4793-BEC1-8D2D1F98519F@elementarysoftware.com> I tried using Ralf Bitter?s Universal Button widget to create a PopOver sheet (like what we can get with mergPopSheet on iOS) for use on Android. I was very pleased with how it worked in the IDE. In very short order I had a nice looking (and working) PopOver? until I actually ran it on Android. It looks like it might be an AcceleratedRendering issue but fiddling with that isn?t improving things. (It displays as an unrecognizable blur of checkerboard patterns? and doesn?t respond to touches.) Has anyone used this widget successfully on Android? -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From bdrunrev at gmail.com Mon Nov 22 10:39:44 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 22 Nov 2021 15:39:44 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: I'm not sure this merits a bug report (just yet). I suspect I'm doing something wrong. I installed LC 10 on Windows 10 and wanted to see how much difference webassembly made to the loading speed. However, after trying on 3 browsers (Firefox, Chrome, Edge), it fails to load. On each browser the error in the JS console is the same. >> both async and sync fetching of the wasm failed failed to asynchronously prepare wasm: RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info. << Has anyone got it working? I just tried opening the local html file created by the Standalone Builder. I even followed the Firefox tip in the last comments on this lesson. https://lessons.livecode.com/m/4071/l/800867-how-do-i-put-my-first-app-on-the-web Regards, Bernard. On Fri, Nov 19, 2021 at 2:30 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Mike, > > I believe you should be able to use Xcode 12.5 with LiveCode on MacOS 12.x. > > LC does not actually use Xcode, it just needs the iOS SDKs and some command > line tools. So the following should work: > > 1. Download Xcode 12.5.xip from Apple's downloads area > 2. Expand the .xip file > 3. Run in the Terminal: sudo xcode-select -s /path/to/Xcode12.5.app, e.g. > sudo xcode-select -s /Users/mike/Xcodes/Xcode12.5.app > 4. Run in the Terminal: sudo xcode-select --install > 5. In the LC Prefs, add the path to Xcode12.5. Remove other paths to > Xcode13, if any. > 6. Try to build an iOS standalone > > >>>>>Any chance we'll get XCode 13.1 in DP2? > Yes, it is quite likely. We plan to add support for Xcode13.1 in LC 9.6.6 > RC-1, and then merge this to LC 10.0 DP-2. > > Kind regards, > Panos > > > On Thu, 18 Nov 2021 at 23:02, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > FYI, XC 12.5.x is being a bugger with MacOS 12.x for new hardware. Any > > chance we'll get XCode 13.1 in DP2? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Mon Nov 22 10:47:27 2021 From: merakosp at gmail.com (panagiotis m) Date: Mon, 22 Nov 2021 17:47:27 +0200 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: Hello Bernard, Trying to open the local html file will fail due to CORS - Firefox may or may not work - I think it needs some tweaks, and not sure if this is still possible in the latest versions. We probably need to update this lesson. The correct way to test is to use the Development -> Test Target -> and then Development -> Test Hope this helps. Panos -- On Mon, 22 Nov 2021 at 17:41, Bernard Devlin via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm not sure this merits a bug report (just yet). I suspect I'm doing > something wrong. > > I installed LC 10 on Windows 10 and wanted to see how much difference > webassembly made to the loading speed. However, after trying on 3 browsers > (Firefox, Chrome, Edge), it fails to load. On each browser the error in the > JS console is the same. > > >> > both async and sync fetching of the wasm failed > > failed to asynchronously prepare wasm: RuntimeError: abort(both async and > sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more > info. > << > > Has anyone got it working? I just tried opening the local html file > created by the Standalone Builder. I even followed the Firefox tip in the > last comments on this lesson. > > https://lessons.livecode.com/m/4071/l/800867-how-do-i-put-my-first-app-on-the-web > > Regards, Bernard. > > On Fri, Nov 19, 2021 at 2:30 PM panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello Mike, > > > > I believe you should be able to use Xcode 12.5 with LiveCode on MacOS > 12.x. > > > > LC does not actually use Xcode, it just needs the iOS SDKs and some > command > > line tools. So the following should work: > > > > 1. Download Xcode 12.5.xip from Apple's downloads area > > 2. Expand the .xip file > > 3. Run in the Terminal: sudo xcode-select -s /path/to/Xcode12.5.app, e.g. > > sudo xcode-select -s /Users/mike/Xcodes/Xcode12.5.app > > 4. Run in the Terminal: sudo xcode-select --install > > 5. In the LC Prefs, add the path to Xcode12.5. Remove other paths to > > Xcode13, if any. > > 6. Try to build an iOS standalone > > > > >>>>>Any chance we'll get XCode 13.1 in DP2? > > Yes, it is quite likely. We plan to add support for Xcode13.1 in LC 9.6.6 > > RC-1, and then merge this to LC 10.0 DP-2. > > > > Kind regards, > > Panos > > > > > > On Thu, 18 Nov 2021 at 23:02, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > FYI, XC 12.5.x is being a bugger with MacOS 12.x for new hardware. Any > > > chance we'll get XCode 13.1 in DP2? > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From selander at tkf.att.ne.jp Mon Nov 22 21:02:34 2021 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 23 Nov 2021 11:02:34 +0900 Subject: access DOM in browser widget? In-Reply-To: <8129EEAB-71A3-4C28-8B32-67CEE7D194F0@me.com> References: <8129EEAB-71A3-4C28-8B32-67CEE7D194F0@me.com> Message-ID: <619C4BBA.8000204@tkf.att.ne.jp> Sorry to pick up this thread half a year later, but I am searching for an answer to a related problem. On the LiveCode Forums I learned that if the page is loaded in a Browser widget on the desktop version of LC, you can [get the htmltext of widget "browser"] and get the info JS provides that is not part of the page's HTML source code. (In my case, I want the number of plays of a track on Soundcloud.) But I would like to get at this JS/DOM info through an LC Server script running on my on-rev.com server -- no browser widget there. Does anyone know how to get the JS/DOM generated text from a web page using LC Server? Any help appreciated! Tim Selander Tokyo, Japan On 2021.04.29 3:44, Tore Nilsen via use-livecode wrote: > Have you had a look at "do in widget" in the Dictionary? You can actually perform JavaScript from LC on content in the browser widget. > > Best regards > Tore > >> 28. apr. 2021 kl. 20:33 skrev Ben Rubinstein via use-livecode : >> >> >> Thanks for responding Tom >> >>> But if yoiu need any more of a direct way accessing it....I don't know of one. >> Yes, that's what I'm after: to have a browser widget in a LiveCode stack, and be able to access the DOM (not the htmlText) in LiveCode script. >> >> It's not my page so I can't add javascript to it. >> >> Does anyone know if this is possible? >> >> TIA, >> >> Ben >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bdrunrev at gmail.com Tue Nov 23 04:32:16 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 23 Nov 2021 09:32:16 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: Thanks Panos. That kind of works. It always opens in the default browser i.e. trying to select another browser as the test target has no effect. Is this a known bug? >From test/save with browser closed (compile to standalone, then let IDE launch browser): Load time LC 10 - 5 secs Load time LC 9.6.1 - 7 secs Loading same saved stack with browser already open (re-using URL): Load time LC 10 - 2 secs Load time LC 9.6.1 - 5 secs I tested with both Brave and Edge, but couldn't detect any difference in load speed between them. These tests were just wall clock time. On Mon, Nov 22, 2021 at 3:48 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Bernard, > > Trying to open the local html file will fail due to CORS - Firefox may or > may not work - I think it needs some tweaks, and not sure if this is still > possible in the latest versions. We probably need to update this lesson. > > The correct way to test is to use the Development -> Test Target -> your browser> and then Development -> Test > > Hope this helps. > > Panos > -- > > From andre at andregarzia.com Tue Nov 23 08:12:38 2021 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 23 Nov 2021 13:12:38 +0000 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: Brave, Edge, and Chrome are all using the same engine. They should perform the same. IIRC Firefox still has the best WASM performance, mostly because it was invented there and they had more time to optimize. That the way the web browsers works is that "they really hate opening local HTML files with file:// protocol". Opening a file like that will switch on a lot of protection in the browser and restrict many APIs. The correct way to test WASM files is by running a local web server and opening it using HTTPS (or HTTP if you must). Be aware that the most important change regarding performance between WASM and the previous ASM.JS based engine will not be visible when running a local server. To load an ASM.JS based webapp, the browser needs to fetch all the files before loading them into memory and parsing them. The new WASM technology allows a browser to load the files while the transfer still happening. It is a streaming kind of tech. This means that besides all the other benefits, you don't need to deal with the latency of waiting for transfers to complete before the app starts to load. When running locally, the transfer is so fast that you can see this benefit, but try placing those files in a remote server and the difference should be night and day, specially for really large builds. On Tue, 23 Nov 2021 at 09:34, Bernard Devlin via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Panos. That kind of works. It always opens in the default browser > i.e. trying to select another browser as the test target has no effect. Is > this a known bug? > > From test/save with browser closed (compile to standalone, then let IDE > launch browser): > Load time LC 10 - 5 secs > Load time LC 9.6.1 - 7 secs > > Loading same saved stack with browser already open (re-using URL): > Load time LC 10 - 2 secs > Load time LC 9.6.1 - 5 secs > > I tested with both Brave and Edge, but couldn't detect any difference in > load speed between them. > > These tests were just wall clock time. > > On Mon, Nov 22, 2021 at 3:48 PM panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello Bernard, > > > > Trying to open the local html file will fail due to CORS - Firefox may or > > may not work - I think it needs some tweaks, and not sure if this is > still > > possible in the latest versions. We probably need to update this lesson. > > > > The correct way to test is to use the Development -> Test Target -> > > your browser> and then Development -> Test > > > > Hope this helps. > > > > Panos > > -- > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From williamdesmet at gmail.com Tue Nov 23 13:02:36 2021 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 23 Nov 2021 19:02:36 +0100 Subject: [ANN] Release 10.0.0 DP-1 In-Reply-To: References: Message-ID: Been playing all day with LC 10 DP-1 and mostly testing Web/html5 and I can confirm Firefox is also the fastest in WASM on a remote webserver. Safari is the slowest. Most people I know use the Chrome browser however. On Chrome OS speed varies depending on the state of the Chromebook (age). Op di 23 nov. 2021 om 14:14 schreef Andre Garzia via use-livecode < use-livecode at lists.runrev.com>: > Brave, Edge, and Chrome are all using the same engine. They should perform > the same. IIRC Firefox still has the best WASM performance, mostly because > it was invented there and they had more time to optimize. > > That the way the web browsers works is that "they really hate opening local > HTML files with file:// protocol". Opening a file like that will switch on > a lot of protection in the browser and restrict many APIs. The correct way > to test WASM files is by running a local web server and opening it using > HTTPS (or HTTP if you must). > > Be aware that the most important change regarding performance between WASM > and the previous ASM.JS based engine will not be visible when running a > local server. To load an ASM.JS based webapp, the browser needs to fetch > all the files before loading them into memory and parsing them. The new > WASM technology allows a browser to load the files while the transfer still > happening. It is a streaming kind of tech. This means that besides all the > other benefits, you don't need to deal with the latency of waiting for > transfers to complete before the app starts to load. When running locally, > the transfer is so fast that you can see this benefit, but try placing > those files in a remote server and the difference should be night and day, > specially for really large builds. > > On Tue, 23 Nov 2021 at 09:34, Bernard Devlin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Thanks Panos. That kind of works. It always opens in the default browser > > i.e. trying to select another browser as the test target has no effect. > Is > > this a known bug? > > > > From test/save with browser closed (compile to standalone, then let IDE > > launch browser): > > Load time LC 10 - 5 secs > > Load time LC 9.6.1 - 7 secs > > > > Loading same saved stack with browser already open (re-using URL): > > Load time LC 10 - 2 secs > > Load time LC 9.6.1 - 5 secs > > > > I tested with both Brave and Edge, but couldn't detect any difference in > > load speed between them. > > > > These tests were just wall clock time. > > > > On Mon, Nov 22, 2021 at 3:48 PM panagiotis m via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hello Bernard, > > > > > > Trying to open the local html file will fail due to CORS - Firefox may > or > > > may not work - I think it needs some tweaks, and not sure if this is > > still > > > possible in the latest versions. We probably need to update this > lesson. > > > > > > The correct way to test is to use the Development -> Test Target -> > > > > your browser> and then Development -> Test > > > > > > Hope this helps. > > > > > > Panos > > > -- > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > https://www.andregarzia.com > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Tue Nov 23 23:46:24 2021 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 24 Nov 2021 15:46:24 +1100 Subject: Pattern ID bug Message-ID: <6201CAF7-6284-47BA-8D6C-187D5D429F7C@optusnet.com.au> Try setting the backgroundPattern of a button to ID 141, either from a script, or by using the Image Library chooser and going to the MetaCard Compatible Patterns, look for ID 141 which is small image of dots on the second page. What you get, at least on my Mac with LC9.6.5, is a pattern of red leaves which is image id 236 (tho also weirdly id 277). Similar things happen with id 142 and others. I came across this while trying to write an ImagePicker for the nsPropertyMapper plugin which would improve on the built -in Image Library Chooser, which frankly I thought couldn?t be all that hard. I find I need to bypass the way LC finds pattern and icon images when all it has an ID (I guess this is a legacy from Hypercard), rather than a full reference to an image; the ID is by no means unique even within built-in rev image libraries - though actually 141 is unique in this case so that is not the explanation for the bug. I had to fool around with behaviors to force the LC search path and thought at first I must have corrupted the revIcons or revGeneralPatterns stacks. But I get the same bug on a fresh install on a completely different Mac. Neville From james at thehales.id.au Wed Nov 24 01:44:35 2021 From: james at thehales.id.au (James Hale) Date: Wed, 24 Nov 2021 17:44:35 +1100 Subject: variable window not applying changes Message-ID: <5E4C2F41-BDC4-42C6-8D24-2CB144AFAB03@thehales.id.au> Hi, I have been tracing a script and while stepping through notice an error in a variable. I double clicked on the value in the variable list at the bottom of the SE window and brought up the variable window. Made the correction and clicked "apply". Nothing happened. This used to work, didn't it?? James From Bernd.Niggemann at uni-wh.de Wed Nov 24 14:15:07 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 24 Nov 2021 19:15:07 +0000 Subject: variable window not applying changes Message-ID: > James Hale wrote: > I have been tracing a script and while stepping through notice an error in a > variable. > I double clicked on the value in the variable list at the bottom of the SE > window and brought up the variable window. > Made the correction and clicked "apply". > Nothing happened. > > This used to work, didn't it?? This only happens to me if I accidentally double-click on the icon in the varialble line: then two windows pop up at the same location. Changes in the topmost window and "applying" them do not change the variable. Apparently the lower window with the old values prevents that. Kind regards Bernd From craig at starfirelighting.com Wed Nov 24 15:09:33 2021 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 24 Nov 2021 15:09:33 -0500 Subject: variable window not applying changes In-Reply-To: References: Message-ID: <17B26917-4722-4545-8E40-A1F1CD13CCE3@starfirelighting.com> @Bernd. " double-click on the icon in the varialble line:? What icon? Do you mean the small box-with-arrow icon that appears when a multi-line variable is present in the lower list? @James. I am on a Mac, but have never had a change made in the external variable window (certainly a stack) that did not make a change that did not stick. Craig > On Nov 24, 2021, at 2:15 PM, Niggemann, Bernd via use-livecode wrote: > > double-click on the icon in the varialble line: From Bernd.Niggemann at uni-wh.de Wed Nov 24 16:07:01 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 24 Nov 2021 21:07:01 +0000 Subject: variable window not applying changes Message-ID: <42A1D325-FA2D-4D46-91A8-83C654BC47A8@uni-wh.de> > Craig Newman wrote > @Bernd. > " double-click on the icon in the varialble line:? > > What icon? Do you mean the small box-with-arrow icon that appears when a > multi-line variable is present in the lower list? Yes, that open rectangle with the right-upward pointing array Kind regards Bernd From paul at researchware.com Wed Nov 24 19:15:01 2021 From: paul at researchware.com (Paul Dupuis) Date: Wed, 24 Nov 2021 19:15:01 -0500 Subject: How to in LC for Desktop and the Web? Message-ID: <2be9f8d2-364e-9950-aa51-3442ab09b921@researchware.com> I have an LC application that currently runs on Window and macOS, that I want to try to get running under LC 10 for the web. One characteristic of the app is that it opens a number of external stacks. On desktop platforms, these external stacks (outside the .EXE (windows) or .app package (macOS) are found in a folder at the same level as the installed application. So if the app is installed at C:\Program Files\MyApp\MyApp.exe The the folder containing the external stacks is at C"\Program Files\MyApp\FolderOfStacks\ I get the path of the mainstack and use it to construct the path to the folder If I build for Web, is there some equivalent model for external stacks? I get that I may need to have a: switch platform() ? case "Win32" ? case "macOS" ???? -- load external stacks the way I do now ???? break ? case "web" ???? -- load external stacks some other way ??? break end switch but what is the web best practice for that 'some other way"? And is it different if I am testing locally vs hosting MyApp on a server? From james at thehales.id.au Wed Nov 24 19:36:58 2021 From: james at thehales.id.au (James Hale) Date: Thu, 25 Nov 2021 11:36:58 +1100 Subject: variable window not applying changes Message-ID: Double clicking on the line in the variable list only opens a single watcher window. If I do this in my current project I make a change, click "apply" and the previous value (before I made the change) returns! I have since made a test stack to see if the problem persists. It doesn't. Making a change in a variable of the test stack worked as expected. So whatever is happening is confined to my current project. Very strange. Restarting LC does not solve the issue. Right now it is just an inconvenience but I am intrigued as to what is present in my current project that makes this happen. When I complete it I will test again and if still present send the stack to LC (in a bug report.) and see if Panos can illuminate me. Thanks for the comments. James From panos.merakos at livecode.com Thu Nov 25 08:24:27 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 25 Nov 2021 15:24:27 +0200 Subject: [ANN] Release 9.6.5 RC-3 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.5 RC-3. Getting the Release =================== You can find the release in your LiveCode account area or get it via the automatic updater. To find the rc-3 test release in your LiveCode account, please scroll down to below the list of stable releases, to find your available test releases. Release Contents ================ LiveCode 9.6.5 RC-3 comes with 5 regression fixes: - Ensure the App Tracking Transparency dialog is shown when queued up after other permission dialogs - Fix crash on Android when receiving a push notification with no badge in the payload. - Fix incorrect arithmetic involving string variables which have been targetted with replace - Fix incorrect result of specific string mutation operations - Handle Android push notifications when not in the foreground For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_5/LiveCodeNotes-9_6_5_rc_3.pdf Known issues ============ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.x - LiveCode builds iOS apps using the iOS 13.2 SDK - macOS 10.15.4: Xcode 12.4.x - LiveCode builds iOS apps using the iOS 14.4 SDK - macOS 11+. : Xcode 12.5.x - LiveCode builds iOS apps using the iOS 14.5 SDK There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/resources/support/ask-a-question/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the start of April 2021, Apple is only accepting apps built using iOS14.x SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.15 in order to be able to install the necessary version of Xcode. Feedback ======== Please report any bugs encountered on our quality center at http://quality.livecode.com/ We have a forum available for discussing LiveCode at https://forums.livecode.com Have fun! The LiveCode Team -- From jiml at netrin.com Sun Nov 28 20:42:09 2021 From: jiml at netrin.com (Jim Lambert) Date: Sun, 28 Nov 2021 17:42:09 -0800 Subject: a test In-Reply-To: References: Message-ID: <7915B245-F880-4063-8E03-91384AA85837@netrin.com> Ignore this test JimL From brahma at hindu.org Mon Nov 29 20:17:12 2021 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 30 Nov 2021 01:17:12 +0000 Subject: What Do I Need To Do To Make Links Active Message-ID: I could sworn that this worked. case "Release Notes" displayInfo 1,"release-notes" go to card "info" break # which goes to on displayInfo pVis, pSubject if pVis = "1" then # We are showing the control # set up background image first, if no param # then use landscapes as default # next insert the text we need, either stored on the app somewhere or from a web URL switch pSubject case "App News" put path_Documents() & "assets/info/siva-app-news.html" into tTextPath break case "About" put path_Assets()&"info/about-siva-siva-app.html" into tTextPath break case "tos-privacy-eula" put path_Assets()&"info/privacy-tos-eula.html" into tTextPath break case "release-notes" put path_Assets()&"info/release-notes.html" into tTextPath break case "credits" put path_Assets()&"info/credits.html" into tTextPath break case "User Guide" put path_Assets()&"info/user-guide.html" into tTextPath break end switch set the htmltext of fld "info-text" of card "info" to url ("file:" &tTextPath) else put empty into fld "info-text" deleteMobileControl "info-text" end if # now, what do you take to make links work put path_Assets()&"info/user-guide.html" into tTextPath set the htmltext of fld "info-text" of card "info" to url ("file:" &tTextPath) # these do not work, where as a file

Terms of Service, Privacy Policy, EULA

BR From ahsoftware at sonic.net Mon Nov 29 20:22:22 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 29 Nov 2021 17:22:22 -0800 Subject: What Do I Need To Do To Make Links Active In-Reply-To: References: Message-ID: <020c6d24-fdd4-f636-744d-1e7965959713@sonic.net> On 11/29/21 5:17 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > # these do not work, where as a file > >

Terms of Service, Privacy Policy, EULA

Do you really have a space before "privacy"? -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Nov 29 22:25:29 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 29 Nov 2021 21:25:29 -0600 Subject: What Do I Need To Do To Make Links Active In-Reply-To: References: Message-ID: <17d6ee03c28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Does path_Assets() return a path that ends with a slash? If not, you'll need to add one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 29, 2021 7:19:38 PM Sannyasin Brahmanathaswami via use-livecode wrote: > put path_Assets()&"info/about-siva-siva-app.html" into tTextPath From bobsneidar at iotecdigital.com Tue Nov 30 12:18:15 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Nov 2021 17:18:15 +0000 Subject: Reading LC List Digests In-Reply-To: <17d3ba16648.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9FC7CF76-D029-4C50-B559-9CC569EAA856@gmail.com> <17d3ba16648.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Yes it does. I use Apple Mail in this way and it works fine. Bob S On Nov 19, 2021, at 8:36 PM, J. Landman Gay via use-livecode > wrote: I'm not sure why you're getting garbage in the posts. I have Thunderbird set to show posts as text-only and I don't see the problem. I've never much liked Apple Mail so I'm not familiar with its features but maybe it has something similar to the above. -- Jacqueline Landman Gay | jacque at hyperactivesw.com