Re: Ordering text

2020-03-29 Thread Tore Nilsen via use-livecode
I believe the reason for the delay comes from the fact that when sorted descending, you put tRec & CR before tCellData. Tp put something before a container is slower than putting something after a container. Regards Tore Nilsen > 29. mar. 2020 kl. 13:06 skrev Terence Heaford via use-livecode >

Re: Building a Board Game

2020-04-07 Thread Tore Nilsen via use-livecode
What I do is to make a grid of named rectangles (they may or may not be visible). I put the names of these into a variable or an array. On mouseUp I traverse the variabel/array to check if the mouseLoc is within any of the rectangles. When there is a match I set the loc of the grabbed control to

Re: Dark Mode Detection

2020-04-17 Thread Tore Nilsen via use-livecode
I guess it means that you can make an application that detects whether or not the user system is running in dark mode and write your own code to set the properties of your application accordingly. It means that you can write applications that are aware of the mode on the user system. Best regar

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Tore Nilsen via use-livecode
I am not sure this is a bug. When you use the normal paste function you actually paste in styled text. New text, following the text you pasted in will inherit the styling of the last character of the text you pasted into the field. This then would work the same way as if you selected some text i

Re: Changing text properties in a field via the IDE

2020-05-19 Thread Tore Nilsen via use-livecode
I was trying the same thing in LC 9.6 (dp4) and it works here. It works both when selecting the text in the text pane in the navigator or selecting text in the field itself. Regards Tore Nilsen > 19. mai 2020 kl. 19:53 skrev Richard Gaskin via use-livecode > : > > I just tried this recipe: >

Re: HTML Colour Groups

2020-05-31 Thread Tore Nilsen via use-livecode
You try to sign a value to tColor with the command set. The right command is put, as in this example, this works on my end: put "#FFC0CB" into tColor set the backgroundcolor of graphic 1 to tColor Best regards Tore Nilsen > 31. mai 2020 kl. 18:13 skrev Terence Heaford via use-livecode > :

Re: Browser Widget iOS Local Html Files

2020-06-29 Thread Tore Nilsen via use-livecode
Have you tried to set the url of the widget to tTemp. This actually loads the page in the widget as if it was any browser. Tore > 29. jun. 2020 kl. 21:56 skrev Ralph DiMola via use-livecode > : > > LC 9.6.0 > > I can't get a local html file to load in iOS browser widget. This is the > first

Re: Browser Widget iOS Local Html Files

2020-06-29 Thread Tore Nilsen via use-livecode
t; -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Tore Nilsen via use-livecode > Sent: Monday, June 29, 2020 4:39 PM > To: How to use LiveCode > Cc: Tore Nilsen > Subject: Re: Browser Widget iOS Local Html Files >

Re: [off-topic-ish] do you prefer LC-related content as books or video courses?

2020-07-07 Thread Tore Nilsen via use-livecode
Hi Andre! As others have pointed out, whether to go for a text based or a video based course, very much depends on your target audience. I like Richards proposal of using LiveCode as the framework for a course. This way you can in fact utilize the strengths of both formats. You can present most

Re: Downloading LiveCode Slow...

2020-07-08 Thread Tore Nilsen via use-livecode
I got + - 10MB/sec from Norway. Downloaded the Business Edition in under 1 min. Tore Nilsen > 7. jul. 2020 kl. 23:46 skrev Rick Harrison via use-livecode > : > > I was wondering if anyone has tried to > download any version of LiveCode from > the website recently. I just tried today > and it i

Re: Wrapping Text

2020-07-22 Thread Tore Nilsen via use-livecode
In order for this to work you should also take into consideration various rules for hyphenating words in the appropriate language. As these rules varies between languages, this can become a very complex function. If the text that goes into the field is static then I would either reduce the font

Re: Looking for LiveCode developer in Norway, Stavanger area

2020-09-02 Thread Tore Nilsen via use-livecode
And I thought I was the only person in Rogaland County using LiveCode. I have been teaching Information Technology at an upper secondary school in Haugesund for the last seven years, using LiveCode. I would very much like to keep tabs on what you are doing. It may be of interest to both me and

Re: Problem an Repeat Loop

2020-09-27 Thread Tore Nilsen via use-livecode
You do not refer to any object type when you try to set the fileName of what should possibly be an image. Try this: Set the fileName of image sStoryImage to tPath Best regards Tore Nilsen > 28. sep. 2020 kl. 03:47 skrev Sannyasin Brahmanathaswami via use-livecode > : > > # for development >

Re: backKey with DataGrid

2020-10-06 Thread Tore Nilsen via use-livecode
This is a shot in the dark but this may have to do with the fact that once the dataGrid is in focus the template stack for the dataGrid becomes the recipient of your backKey message. Have you tried to add a backKey message to the template stack, and tweaking it to reference the button of the car

Re: Correct use of string A 'is in' string B?

2020-10-14 Thread Tore Nilsen via use-livecode
In the url itself you use access_token but in your search you use access_code. May this be the reason for your problems? Best regards Tore Nilsen > 14. okt. 2020 kl. 13:00 skrev Keith Clarke via use-livecode > : > > Hi folks, > Am I misreading the docs and abusing the 'is in' logic or syntax h

Re: Correct use of string A 'is in' string B?

2020-10-14 Thread Tore Nilsen via use-livecode
e to take a break and check > for updates on my eyeball firmware! :-D > Best, > Keith > >> On 14 Oct 2020, at 12:04, Tore Nilsen via use-livecode >> wrote: >> >> In the url itself you use access_token but in your search you use >> access_code. Ma

Re: How to divide card with/in 3 vertical lines?

2020-10-28 Thread Tore Nilsen via use-livecode
You could of course also multiply the width of the card with 0.25, 0.5 and 0.75 to get the same results. Personally I prefer multiplication to division, but the results will be the same. Best regards Tore Nilsen > 28. okt. 2020 kl. 21:54 skrev William de Smet via use-livecode > : > > Thanks

Re: Is the DateFormat read only?

2020-10-28 Thread Tore Nilsen via use-livecode
You can convert any given date to dateItems. Then you can use dateItems to present the date in any format you like. A date converted to dateItems will give you the following list of items: the year the month number the day of the month the hour in 24-hour time the minute the second the numeric

Re: Is the DateFormat read only?

2020-10-29 Thread Tore Nilsen via use-livecode
29 Oct 2020, at 09:29, Graham Samuel via use-livecode >> wrote: >> >> Thanks Tore - I had forgotten the existence of dateItems. That of course >> will do the trick. BTW I was trying to create dates in standard UTC format, >> and now I can. >> >> Graham

Re: Audio recording in LC community on Windows?

2020-11-02 Thread Tore Nilsen via use-livecode
Feature parity between Mac and Windows is a necessity for me as well. I teach at an upper secondary school (high school) in Norway, and we are obliged to use software that supports both platforms, as students bring their own computers and should not be required to install two OS-es to do their w

Re: Double Clicking on a Field

2020-12-04 Thread Tore Nilsen via use-livecode
Try this in the script of the field: on mouseUp —do your scrolling thing End mouseUp on mouseDoubleUp — do your navigation between cards End mouseDoubleUp Best regards Tore Nilsen > 4. des. 2020 kl. 15:14 skrev Sannyasin Brahmanathaswami via use-livecode > : > > I want a user to scroll

Re: move cursor to the end of a line in a field

2020-12-23 Thread Tore Nilsen via use-livecode
> 23. des. 2020 kl. 20:57 skrev Douglas A. Ruisaard via use-livecode > : > > "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey > value to the active field? Or, ideally, can someone tell me how to > "emulate" the "END" key and position the cursor at the end of the con

Re: move cursor to the end of a line in a field

2020-12-23 Thread Tore Nilsen via use-livecode
:49 skrev Tore Nilsen via use-livecode > : > > > >> 23. des. 2020 kl. 20:57 skrev Douglas A. Ruisaard via use-livecode >> : >> >> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey >> value to the active fiel

Re: Building a Standalone MacOS App in 9.6.1

2021-01-06 Thread Tore Nilsen via use-livecode
> 6. jan. 2021 kl. 15:48 skrev Paul Dupuis via use-livecode > : > > macOS Catalina or Big Sur apps have to be code signed AND notarized. You must > have the command line tools installed and there is a non-trivial number of > commands you have to execute to prepare you app for code signing, t

Re: GRID and GRIDSIZE

2021-01-20 Thread Tore Nilsen via use-livecode
> 20. jan. 2021 kl. 21:52 skrev Richard Gaskin via use-livecode > : > > I was asking what you wanted the grid snap feature to do beyond working only > in Pointer mode. One could think that the grid snap feature would work in Run mode in the IDE if scripts would allow the user to move control

Re: lock screen

2021-01-22 Thread Tore Nilsen via use-livecode
The browser widget is drawn in a layer of its own and is not affected by lock screen. If you need to do a visual effect you then hide the widget itself and perform the visual effect on the snapshot. You can then delete the snapshot when it is no longer needed. Best regards Tore Nilsen > 22. ja

Re: lock screen

2021-01-22 Thread Tore Nilsen via use-livecode
I forgot to write that you import a snapshot of the widget before you set out to perform the visual effect. > 22. jan. 2021 kl. 17:54 skrev Tore Nilsen : > > The browser widget is drawn in a layer of its own and is not affected by lock > screen. If you need to do a visual effect you then hide t

Re: Close Stack Cleanup

2021-02-04 Thread Tore Nilsen via use-livecode
I follow a similar approach to what Curry describes here, keeping it modular, but I do not do any clean up at closing time. Instead I execute the necessary routines as part of a preOpenStack handler. I then do not have to consider which way the stack was closed. This is also what I encourage my

Re: Close Stack Cleanup

2021-02-04 Thread Tore Nilsen via use-livecode
Performing the clean up in preOpenStack makes it happen before the stack is visible, at least according to the dictionary. "Unlike openStack <>, preOpenStack handlers <> are executed <> before the stack window <> appears. Because of this, the preOpenStack handler <> is a good place to put code

Re: LC Roadmap

2021-02-14 Thread Tore Nilsen via use-livecode
I am currently working as a teacher in an upper secondary school in Norway. I teach Computer Science and languages like English and Norwegian. Besides working as a teacher for more than 20 years, I have also experience from running various businesses. The combination of the two very different, b

Re: "within graphic" question

2021-02-22 Thread Tore Nilsen via use-livecode
> 22. feb. 2021 kl. 21:14 skrev Richard Gaskin via use-livecode > : > > jbv wrote: >> I have a graphic made of a list of points. This graphic is opaque >> and invisible, its filled property is set to true (according to >> the doc). >> In my card script I have something like : >> on mousedown >

Re: "within graphic" question

2021-02-22 Thread Tore Nilsen via use-livecode
> 22. feb. 2021 kl. 21:26 skrev Tore Nilsen via use-livecode > : > > > >> 22. feb. 2021 kl. 21:14 skrev Richard Gaskin via use-livecode >> : >> >> jbv wrote: >>> I have a graphic made of a list of points. This graphic is opaque >&

Re: Array Split vs Combine

2021-03-09 Thread Tore Nilsen via use-livecode
I got 248 393 257 also on a Mac Tore Nilsen > 9. mar. 2021 kl. 18:40 skrev Sean Cole (Pi) via use-livecode > : > > Extraordinary. Thanks Alex. This is helpful. This is on windows and a > windows server. I will try on a Mac and Linux and see if it has the same > issue. > > Sean > > On Tu

Re: Problem with Script Editor in LC 9.6.2 (rc3)

2021-03-25 Thread Tore Nilsen via use-livecode
I have followed your recipe and I can confirm that this is a problem also with ordinary scrolling fields in LC 9.6.2 (rc3). It does not seem to be a problem in LC 9.6.2 (rc1). Best regards Tore Nilsen > 25. mar. 2021 kl. 22:07 skrev HENRY LOWE via use-livecode > : > > On further investigation

Re: Unreliable File Deletion

2021-03-28 Thread Tore Nilsen via use-livecode
> 28. mar. 2021 kl. 19:22 skrev Klaus major-k via use-livecode > : > > Hi friends, > >> Am 28.03.2021 um 19:11 schrieb R.H. via use-livecode >> : >> ... >> ... put specialfolderpath("resources") &"/temp.txt" into tFilePath >> ... put tOut into URL("binfile:"&tFilePath) >> ... > > you may alr

Re: Unreliable File Deletion

2021-03-28 Thread Tore Nilsen via use-livecode
> 28. mar. 2021 kl. 20:40 skrev Tore Nilsen via use-livecode > : > > > >> 28. mar. 2021 kl. 19:22 skrev Klaus major-k via use-livecode >> : >> >> Hi friends, >> >>> Am 28.03.2021 um 19:11 schrieb R.H. via use-livecode >>> :

Re: Unreliable File Deletion

2021-03-28 Thread Tore Nilsen via use-livecode
> 28. mar. 2021 kl. 21:20 skrev J. Landman Gay via use-livecode > : > > > Desktop and documents folders are okay, and it may be possible to read from > the resources folder, but do you actually write to it? I don't know any OS > that allows altering an executable, which includes Mac bundles.

Re: Unreliable File Deletion

2021-03-28 Thread Tore Nilsen via use-livecode
> 28. mar. 2021 kl. 22:55 skrev J. Landman Gay via use-livecode > : > > Interesting. Does it also work on a different machine where you aren't the > owner? If so, everything we've heard is wrong. I haven’t tried on a machine where I am not the owner. This may be why it worked. When I come to

Re: Checking the Milliseconds

2021-04-07 Thread Tore Nilsen via use-livecode
It averages around 3850 and 3900 every time I try. However, when I try to run the test 1 times the average goes down to just above 3600. BigSur on Xeon W 3GHz. Best regards Tore Nilsen > 7. apr. 2021 kl. 18:03 skrev Tom Glod via use-livecode > : > > Hey peeps, > > I wanted to measure how

Re: PDF Widget

2021-04-23 Thread Tore Nilsen via use-livecode
Not everyone needs it. I had the business edition for a year and for what it is worth, the pdf-widget did not offer anything I needed. I had hoped I could use it for mark up and annotations but did not find a way to do that. I do however think that it would be a good thing if it was possible to

Re: access DOM in browser widget?

2021-04-28 Thread Tore Nilsen via use-livecode
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 dir

Export an animated gif

2021-04-29 Thread Tore Nilsen via use-livecode
I am currently working on a utility to reduce image size (width and height) of selected images, among them are some very large animated gifs. When I try to export these gifs to a file, only one frame gets exported. Is it possible at all to export animated gifs, and if so, how? Best regards Tore

How to paste into a form element in the browser widget

2021-12-14 Thread Tore Nilsen via use-livecode
I have a problem pasting into a form element on a web page in the browser widget. This works well in the IDE, but not in a standalone application. The application has no menus, but I have included a pasteKey script to handle paste shortcuts. This does not seem to do the trick in the browser widg

Re: How to paste into a form element in the browser widget

2021-12-14 Thread Tore Nilsen via use-livecode
Ah, I see! Wel,l back to redesigning the whole application to include the menus then. Thanks! Best Regards Tore > 14. des. 2021 kl. 13:04 skrev Mark Waddingham via use-livecode > : > > On 2021-12-14 11:41, Tore Nilsen via use-livecode wrote: >> I have a problem pasting into

Re: Flash Talks - 3 slots remaining

2022-04-06 Thread Tore Nilsen via use-livecode
Very often you will make the presentation beforehand and make yourself available to answer any questions at the time of presentation. I guess Heather will guide you through the process. Best regards Tore Nilsen > 6. apr. 2022 kl. 15:12 skrev Craig Newman via use-livecode > : > > So is this a

Re: Visual Dissolve Times

2022-05-05 Thread Tore Nilsen via use-livecode
You can set the effectRate to speed up or down the visual effects. Lower number increases the speed. Look it up in the Dictionary for more precise explanation. Best regards Tore Nilsen > 5. mai 2022 kl. 19:33 skrev Rick Harrison via use-livecode > : > > Greetings LiveCoders, > > I was playing

Re: Set HTMLText and Get Effective HTMLText

2022-05-18 Thread Tore Nilsen via use-livecode
I would think it is because the htmlText is a property of a field. It is one of the properties that it inherited by any field. The variable does not have this property. Best regards Tore Nilsen > 18. mai 2022 kl. 18:23 skrev Rick Harrison via use-livecode > : > > This works: > > set the HTM

Re: What is the best way to trigger an action at a certain time?

2022-07-11 Thread Tore Nilsen via use-livecode
For this I would use a recursive approach with «send in time» something like this: on openStack checkTime end openStack on checkTime ## Do your routines of checking time, performing the required action etc. send checkTime to me in 300 seconds. ## you set the interval to whatever is

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Tore Nilsen via use-livecode
> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode > : > > I do not OWN an iPhone, … But you won one? And you have not received it yet? And therefore you cannot make any tests yourself? Best regards Tore Nilsem ___ use-livecode mailin

Re: mergAV uses GLOBAL coordinates?

2022-11-15 Thread Tore Nilsen via use-livecode
> 15. nov. 2022 kl. 11:38 skrev Klaus major-k via use-livecode > : > > Hi Tore, > >> Am 15.11.2022 um 11:19 schrieb Tore Nilsen via use-livecode >> : >> >>> 15. nov. 2022 kl. 11:14 skrev Klaus major-k via use-livecode >>> : >>> I

Field content as parametres in a function

2022-11-29 Thread Tore Nilsen via use-livecode
I have come across a puzzling behavior when trying to use the content of a field as parametres in a function, and I am trying to understand why. I put the following in a field called «test»: 1,2,3,4,5 When I then call the function like this: answer testFunction(field «test»), t

Re: Field content as parametres in a function

2022-11-29 Thread Tore Nilsen via use-livecode
> 29. nov. 2022 kl. 12:08 skrev Alex Tweedly via use-livecode > : > > Yes, your description is correct (except for saying the behavior is > "puzzling" :-) > > The first case you are passing a single parameter (which happens to have > commas in its current content). You could have said "

Bug in browser widget

2023-03-16 Thread Tore Nilsen via use-livecode
I have come across a bug in the browser widget. The browser will not show any video when the video is embedded into the web page. The poster image and the thumbnail images will display properly, but once the videoplayer is started the screen goes blank. The player will indeed play and the sound

Bug in browser widget?

2023-03-16 Thread Tore Nilsen via use-livecode
I have come across a bug in the browser widget. The browser will not show any video when the video is embedded into the web page. The poster image and the thumbnail images will display properly, but once the videoplayer is started the screen goes blank. The player will indeed play and the sound

Re: Bug in browser widget

2023-03-16 Thread Tore Nilsen via use-livecode
OS 13.2.1 > > > >> Am 16.03.2023 um 10:44 schrieb Tore Nilsen via use-livecode >> : >> >> I have come across a bug in the browser widget. The browser will not show >> any video when the video is embedded into the web page. The poster image and >> th

Re: Bug in browser widget

2023-03-16 Thread Tore Nilsen via use-livecode
. 13:31 skrev matthias rebbe via use-livecode >> : >> >> Tore, >> do you have a url i could try? >> >> Tried here with a page that has Youtube videos embedded and could not >> reproduce the error with LC 9.6.9RC2 and 10DP4 on macOS 13.2.1 >> >&

Re: JSON

2023-08-14 Thread Tore Nilsen via use-livecode
JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. Best regards Tore Nilsen > 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode > : > > > I’m about write some scripts that fiddle with JSON. I have some old s

Re: JSON

2023-08-15 Thread Tore Nilsen via use-livecode
ng? > > Dar > > >> On Aug 14, 2023, at 10:58 PM, Tore Nilsen via use-livecode >> wrote: >> >> JsonImport will make an array of your JSON data, whereas JsonExport will >> turn your array into JSON data. Not much fiddling there. &

Re: All Versions of LC crashing in Sonoma

2023-09-29 Thread Tore Nilsen via use-livecode
LiveCode 9.6.9 Build 15604 works in Sonoma, the same goes for LiveCode 10 DP6. Try to download 9.6.9 again, you may have an older build of 9.6.9. Tore > 29. sep. 2023 kl. 14:12 skrev Geoff Canyon via use-livecode > : > > Confirming that 9.6.9 dies immediately on launch for me. > > I have a st

Re: Down a leafy lane or up queer street?

2018-04-28 Thread Tore Nilsen via use-livecode
pr. 2018 kl. 19:51 skrev Richmond Mathewson via use-livecode > : > > In theory that should work . . . > > But what happens is that I end with a grey square rather than the actual > picture. > > Richmond. > > On 28/4/2018 8:42 pm, Tore Nilsen via use-livecode wro

Re: Down a leafy lane or up queer street?

2018-04-28 Thread Tore Nilsen via use-livecode
gt; setthefileNameofimg "p11" tosFolderPath & "c11.png" > > in the openCard script > > I see that its source is listed as sFolderPathc11.png > > Richmond. > > > On 28/4/2018 8:55 pm, Tore Nilsen via use-livecode wrote: >> What I do in thes

Re: Down a leafy lane or up queer street?

2018-04-29 Thread Tore Nilsen via use-livecode
If route66 is declared as a local variabel in the card script (and it must be declared outside any handlers), then all other scripts that uses this variabel must reside in the card script as well. If it is declared as a global variabel, it must be declared in all scripts that uses this variabel.

Re: Down a leafy lane or up queer street?

2018-04-29 Thread Tore Nilsen via use-livecode
The variabel scope can be a bit tricky. The difference between a script local variabel (declared as a local variabel outside any handlers) and a global variabel can be confusing. They act very much the same way when used within one script. The main difference being that a global variabel can be

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Tore Nilsen via use-livecode
You could also try: on returnInField focus on nothing end returnInField in the field script. That seems to do the trick on desktop at least, whereas on returnKey does not when it is placed in the field script. Tore Nilsen > 10. mai 2018 kl. 23:44 skrev J. Landman Gay via use-livecode > :

Re: NavBar widget in LC9.0.0

2018-05-23 Thread Tore Nilsen via use-livecode
I did the same test on MacOS 10.13 and LC 9.0.0. Everything works as expected here. Best, Tore Nilsen > 24. mai 2018 kl. 07:47 skrev Brian Milby via use-livecode > : > > I ran the test on Linux and Win10 with the same result. The icon highlight > moved along as expected. My test stack just had

Problems with jsonToArray and special chars like: æøå

2018-06-06 Thread Tore Nilsen via use-livecode
I have run into a problem with jsonToArray and the special Norwegian chars æøå. They do not show up in the keys of the array when the array is made from an external file. The external file is generated by LiveCode and the arrayToJSON function. All text are encoded to “UTF-8” before the array is

Re: Problems with jsonToArray and special chars like: æøå

2018-06-06 Thread Tore Nilsen via use-livecode
Hi Panos. This does not work, and it is somewhat similar to what I tried initially, although I am certain I should use textDecode when importing text to LiveCode, as per the Dictionary. Also note that tFile only holds the url to the file containing the JSON, and your suggestion only encodes the

Re: Listfield Questions

2018-06-15 Thread Tore Nilsen via use-livecode
A selectionChanged handler in the list field will take care of that. Tore > 16. jun. 2018 kl. 06:31 skrev Charles Szasz via use-livecode > : > > Thanks Richard for your help. Unfortunately, using keyboard arrow keys may > hilite a line but it does not put a value associated with the line into

The results are in.

2018-06-21 Thread Tore Nilsen via use-livecode
The academic year has come to an end in Norway, and the results from various exams have just been released. I am happy to say that my Computer Science students have ended this year on a high note, with 55% of them scoring an A or A+ for their final exams. All students participating in the course

Re: Stripping styling from the clipboard...

2018-06-23 Thread Tore Nilsen via use-livecode
>From the dictionary: The LiveCode development environment traps the pasteKey message <>, unless "Suspend LiveCode UI" is turned on in the Development menu. This means that the pasteKeymessage <> is not received by a stack <> if it's running in the development environment <>. So if you are try

Re: [ANN] Release 9.0.1 RC-1

2018-07-09 Thread Tore Nilsen via use-livecode
> 10. jul. 2018 kl. 00:41 skrev Mark Wieder via use-livecode > : > > Well, sure... at a higher latitude the electrons don't have as far to go. That must be why I can report even better times (approx 1:30) than Phil Davis. I am at sea level, but on the west coast of Norway, so not very far fro

Re: doMenu

2018-07-10 Thread Tore Nilsen via use-livecode
> 10. jul. 2018 kl. 10:43 skrev Richmond via use-livecode > : > > Is it possible to send a *doMenu* command to a menu item several levels down? > > Such as *Object/New Control/Radio Button* ? > > Richmond. > > ___ > use-livecode mailing list > use-

Re: doMenu

2018-07-10 Thread Tore Nilsen via use-livecode
c "zzz" > set the points of grc "zzz" to fld "PTZ" > end mouseUp > > Richmond. > > On 10/7/2018 12:07 pm, Tore Nilsen via use-livecode wrote: >>> 10. jul. 2018 kl. 10:43 skrev Richmond via use-livecode >>> : >>> >

Re: Too fundamental to be a bug, so what's wrong?

2018-07-30 Thread Tore Nilsen via use-livecode
I have not encountered any differences in how variables are declared from LC 7 to LC 8 or LC 9. It works fine here both in LC 8.1.8 and in LC 9.0.1 (RC) with MacOS 10.14 Beta Best regards Tore Nilsen --- This mail contains no viruses or bacteria as it is electronically produced and untouc

Re: How to get LiveCode to return 'Today' & 'Now'?

2018-08-09 Thread Tore Nilsen via use-livecode
Use any form of the date (short, long,international,system) for today, an any form of the time (short, long,international,system) for the time. To see the difference between them look them up in the dictionary. Regards Tore Nilsen --- This mail contains no viruses or bacteria as it is ele

Re: Database data & emoji's

2018-08-14 Thread Tore Nilsen via use-livecode
You should look up textEncode and textDecode in the dictionary. I think they may prove useful. Best regards Tore Nilsen --- This mail contains no viruses or bacteria as it is electronically produced and untouched by human hands. Once printed it may or may not contain various microorganisms

Missing function selectedWords/selectedTrueWords

2018-08-31 Thread Tore Nilsen via use-livecode
I am struggling with a problem related to the selection of parts of a text in a field. I would like to know which words are selected, that is, I would like to know the range of words selected. None of the functions available in LiveCode will do this. If I use selectedChunkI will get the range of

Re: Missing function selectedWords/selectedTrueWords

2018-08-31 Thread Tore Nilsen via use-livecode
Microsoft Word seems to behave the way you suggest, in the sense that if any given text style is present among the words in the selection then it is removed. Pages behaves differently. If a given text style is true for some of the words in the selection, Pages will initially keep this style for

Re: Missing function selectedWords/selectedTrueWords

2018-08-31 Thread Tore Nilsen via use-livecode
Beats "looping around» all the text any day! I think I can use this with my students in a couple of months time. For now, I think I have to stick to the more basic tasks of just altering fonts, text size, text color and text styles for single word selections. Best Regards Tore Nilsen >

Re: Missing function selectedWords/selectedTrueWords

2018-08-31 Thread Tore Nilsen via use-livecode
I got a bit confused there. Pages behaves as you say, Microsoft Word would turn off bold on the initial push of the button, then adding bold to the styles the next time. This is why I thought I needed to find the style of each word in a group of words when the the textStyles is mixed. And I sti

Re: Missing function selectedWords/selectedTrueWords

2018-08-31 Thread Tore Nilsen via use-livecode
The array form may well be what I need. I do think I still will have to wait some time before I introduce it to my students. Best regards Tore > 31. aug. 2018 kl. 21:39 skrev Mark Waddingham via use-livecode > : > > The key thing here is that using the array form of textStyle treats each > i

Re: Missing function selectedWords/selectedTrueWords

2018-08-31 Thread Tore Nilsen via use-livecode
018 kl. 22:00 skrev Mark Waddingham via use-livecode > : > > On 2018-08-31 20:51, Tore Nilsen via use-livecode wrote: >> I got a bit confused there. Pages behaves as you say, Microsoft Word >> would turn off bold on the initial push of the button, then adding >> bo

Re: Missing function selectedWords/selectedTrueWords

2018-08-31 Thread Tore Nilsen via use-livecode
We certainly are. I can already think of several sarcastic phrases to use, should the situation call for it! :) And since my students all know me well enough from earlier years, they will expect as much. Tore > 31. aug. 2018 kl. 22:13 skrev Mark Waddingham via use-livecode > : > > P.S. O

Re: This is disturbing!

2018-09-06 Thread Tore Nilsen via use-livecode
It seems to only compare the integer part of the statements. If you substitute the integer with a letter, then it reports false. But still strange as the quotation marks should indicates that this is a string. Best regards Tore Nilsen --- This mail contains no viruses or bacteria as it is e

Re: This is disturbing!

2018-09-06 Thread Tore Nilsen via use-livecode
use-livecode > : > > If I put anything else in place of the dot, I get a fail, but with the dot, > i get true > > On Thu, Sep 6, 2018 at 11:55 AM Tore Nilsen via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> It seems to only compare the

Re: This is disturbing!

2018-09-06 Thread Tore Nilsen via use-livecode
untouched by human hands. Once printed it may or may not contain various microorganisms that can cause diseases. Print and hand out at own risk. Unsolicited distribution of this mail is prohibited. > 06. sep. 2018 kl. 18:02 skrev Tore Nilsen via use-livecode > : > > I think thi

Re: Creating Array - Auto Numeric

2018-09-18 Thread Tore Nilsen via use-livecode
You can not put the incrementing numeric key inside an associative array the way you want. The key of any array must be unique, and you can not have several instances of a key in an array. Think of the keys of the array it as the primary keys of a database table. It serves as a unique identifier

Re: Creating Array - Auto Numeric

2018-09-18 Thread Tore Nilsen via use-livecode
rray? > > *on*mouseup > > *repeat* withy = 1tothenumberofwordsoffld"tQuote" > > *select*wordy offld"tQuote" > > * put*wordy offld"tQuote"&"|"& theselectedLoc& crafterwordLocationsA > > *end* *re

Re: Stacks whose names start with "rev"

2018-09-27 Thread Tore Nilsen via use-livecode
> 27. sep. 2018 kl. 21:08 skrev J. Landman Gay via use-livecode > : > > Some of my client's stacks must begin with names starting with "rev" (i.e., > Bible study, "Revelations".) Why does the stack itself need to be called «Revelations»? Could it be a word around just to set the title of th

Bug in how LC handles sentences

2018-11-16 Thread Tore Nilsen via use-livecode
I have come across what I think must be a bug in how LC handles sentences. When a sentence begins with a number, it is not counted as a sentence if the previous sentence ends with a full stop. If the previous sentence end with a question mark or an exclamation mark, then the sentence starting

Re: Bug in how LC handles sentences

2018-11-16 Thread Tore Nilsen via use-livecode
s with anything but full stop. A sentence may well start with a number! Best regards Tore Nilsen > 17. nov. 2018 kl. 00:22 skrev Tore Nilsen via use-livecode > : > > > I have come across what I think must be a bug in how LC handles sentences. > When a sentence begins with a numb

Re: Bug in how LC handles sentences

2018-11-16 Thread Tore Nilsen via use-livecode
After some thinking I actually do agree it is not a bug. The problem being that full stop (period) can also be used in abbreviations, and numbers can follow immediately after such abbreviations. Tore > 17. nov. 2018 kl. 00:36 skrev Tore Nilsen via use-livecode > : > > I wou

Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
I have come across a puzzling phenomenon in how the browser widget handles pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. Here, the browser widget displays pdf-files without any hiccups. On my MacBook I have Adobe Acrobat installed, and the browser widget seems to use Ado

Re: Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
on your Mac? > > Thanks, > Brian > On Nov 22, 2018, 11:53 AM -0500, Tore Nilsen via use-livecode > , wrote: >> I have come across a puzzling phenomenon in how the browser widget handles >> pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat installed. Here, &

Re: Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
pdf-files displayed without all the bells and whistles provided by the plugin. Best regards Tore Nilsen > 22. nov. 2018 kl. 18:06 skrev Klaus major-k via use-livecode > : > > Hi Tore, > >> Am 22.11.2018 um 18:01 schrieb Tore Nilsen via use-livecode >> :

Live Code crashes on startup

2018-11-29 Thread Tore Nilsen via use-livecode
One of my students has a problem with LiveCode crashing on startup. He uses a machine running Windows, and I suspect there might be a corrupt preference file involved, as LiveCode dies right after it has loaded the preferences. Since I have no experience in using LiveCode on Windows, I have not

Re: Live Code crashes on startup

2018-11-29 Thread Tore Nilsen via use-livecode
ersions < 7 >> >> I suggest: >> >> 1. Quit LiveCode >> 2. Delete/rename both of these files. These files will be created/updated >> every time you start/quit LiveCode. >> 3. Launch LiveCode >> >> Hopefully the problem should be fixed now. &

Re: Seeking OSX Code signing consultant...

2018-12-11 Thread Tore Nilsen via use-livecode
You can easily run an unsigned app on High Sierra or Mojave. But you can not start the application by double clicking it the first time you run it. You need to open it from a contextual menu (right click or ctrl click) and then choose «Open» in the resulting dialog window. Afterwards you can use

Re: Seeking OSX Code signing consultant...

2018-12-11 Thread Tore Nilsen via use-livecode
You are right, there was this third option prior to High Sierra. I agree that if you distribute an application as a professional developer, you need to code sign it. Tore Nilsen > 11. des. 2018 kl. 23:26 skrev Knapp Martin via use-livecode > : > > I think on Sierra and older there was a 3r

Re: Seeking OSX Code signing consultant...

2018-12-11 Thread Tore Nilsen via use-livecode
> 11. des. 2018 kl. 23:28 skrev Bob Sneidar via use-livecode > : > > I think if you double click it and get the unsafe app dialog, you can open > Security & Privacy, and there should be a button to approve the most recent > "unsafe" app. Not in High Sierra or Mojave. The only options are On

  1   2   >