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

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: 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

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: 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 >>

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: 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 "

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»),

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 >>> : >>>

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

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: 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

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

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: 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 i

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

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

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

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: 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

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

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

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. 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:") >> ... > > you may already know

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

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

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: "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: 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,

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: 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: 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

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.

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

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,

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: 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

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

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

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. >> >>

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: 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: Correct use of string A 'is in' string B?

2020-10-14 Thread Tore Nilsen via use-livecode
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. May thi

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

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

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: 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: 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: 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

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

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 File

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: 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: 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: 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

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

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

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: DataGrid question...

2020-03-25 Thread Tore Nilsen via use-livecode
What you should look for in the Dictionary is tabAlign Tore > 25. mar. 2020 kl. 13:32 skrev matthias rebbe via use-livecode > : > >> >> Am 25.03.2020 um 01:26 schrieb Richard Gaskin via use-livecode >> : >> >> Paul Dupuis wrote: >> >>> Has anyone come up with a way to configure a DataGrid

Re: Cannot identify the Menubar button clicked under Mac OS

2020-02-26 Thread Tore Nilsen via use-livecode
I have submitted a comment to this now. Best regards Tore Nilsen > 26. feb. 2020 kl. 11:15 skrev Heather Laine via use-livecode > : > > If this is a screensteps lesson in our portal, please leave a comment on it. > We review all comments and action them where necessary. > > Regards, > >

Re: Cannot identify the Menubar button clicked under Mac OS

2020-02-25 Thread Tore Nilsen via use-livecode
> 25. feb. 2020 kl. 17:57 skrev Richard Gaskin via use-livecode > : > >Cross-platform note: When a menu button is being displayed in >the Mac OS menu bar, it does not receive mouseDown messages, >but its group does. For this reason, this example handler >should be placed in the

Re: Synchronisation of sound and vision

2020-02-12 Thread Tore Nilsen via use-livecode
; > You can do audio recording on Mac now using the mergMicrophone library. It > works great, and I believe is available in every edition of LC, including > Community. > > Devin > >> On Feb 12, 2020, at 12:11 PM, Tore Nilsen via use-livecode >> wrote: >>

Re: Synchronisation of sound and vision

2020-02-12 Thread Tore Nilsen via use-livecode
he great things about LiveCode is that there is almost always more > than one way to do what you want. > > Regards, > > Devin > > > On Feb 12, 2020, at 9:55 AM, Tore Nilsen via use-livecode > mailto:use-livecode@lists.runrev.com>> wrote: > > Using callbac

Re: Synchronisation of sound and vision

2020-02-12 Thread Tore Nilsen via use-livecode
ical solution for a large body > of work (say all the Shakespeare sonnets, for example). > > Anyway thanks for the hint. > > Graham > > On 12 Feb 2020, at 12:16, Tore Nilsen via use-livecode > mailto:use-livecode@lists.runrev.com>> wrote: > > You will have to

Re: Synchronisation of sound and vision

2020-02-12 Thread Tore Nilsen via use-livecode
> Graham > >> On 12 Feb 2020, at 12:16, Tore Nilsen via use-livecode >> wrote: >> >> You will have to use the callbacks property of the player to do what you >> want to do. The callbacks list would be your cues. From the dictionary: >> >> The ca

Re: Synchronisation of sound and vision

2020-02-12 Thread Tore Nilsen via use-livecode
You will have to use the callbacks property of the player to do what you want to do. The callbacks list would be your cues. From the dictionary: The callbacks of a player <> is a list of callbacks, one per line. Each callback consists of an interval number, a comma, and a message <> name.

Re: Option menu in datagrid

2020-02-11 Thread Tore Nilsen via use-livecode
You can also set the text of the button in a mouseDown handler in the button itself. This works well if you have more than one option menu and the options in one of them depends on the selections the user has made in another. The script will be similar to the one provided by Sri. Regards Tore

Re: Something wrong with LiveCode 9.5.1

2019-12-16 Thread Tore Nilsen via use-livecode
This is not very odd. It is the way MacOs now handles all applications that are not notarized. I would suspect this kind of message for any dp or rc version of LiveCode, but not for a stable version. You can get around this either by right-clicking the application and choose «Open» from the

Map widget and user location

2019-12-05 Thread Tore Nilsen via use-livecode
I am trying to familiarise myself with the map widget. What I want to do is to get the coordinates for the user location and to set a pin for this location. As it is possible to show the user location in the map widget, my original idea was to retrieve the information from the widget and apply

Re: just a test...

2019-11-24 Thread Tore Nilsen via use-livecode
As did I Regards Tore Nilsen > 24. nov. 2019 kl. 20:04 skrev Brian Milby via use-livecode > : > > I got this one > > Thanks, > Brian > On Nov 24, 2019, 1:21 PM -0500, Klaus major-k via use-livecode > , wrote: >> my last two mails do not show up here one the list? >> >> -- >> Klaus Major >>

Re: Primary Student Livecode Interface (Simplified Developer Interface)

2019-10-10 Thread Tore Nilsen via use-livecode
Hi! I teach a beginners course in programming on highschool level in Norway. Just like Devin, I have found that the most important thing is what you want your students to learn. The development environment is not very important. I try to introduce various components in a way that helps build

Re: CTD meaning?

2019-06-28 Thread Tore Nilsen via use-livecode
What good have the crashes ever done to us? Tore Nilsen > 28. jun. 2019 kl. 19:40 skrev Mark Wieder via use-livecode > : > > On 6/28/19 10:21 AM, J. Landman Gay via use-livecode wrote: >> Too funny. While I'm not so fond of either management or Crash, I'm glad I >> started this thread. >> On

Re: Catalina

2019-06-25 Thread Tore Nilsen via use-livecode
This is easily remedied. Just choose LC 9 in the Finder, choose Show Info and make sure you run it in 64 bit mode. I don’t have an English OS setup right know, but you should opt out of running the application in what in Norwegian is called "low resolution mode". Once you do, you will not get

Re: how to load a local file into the browser widget?

2019-05-24 Thread Tore Nilsen via use-livecode
Try to start the url with «file:/// « this is what I get at the start of the url of a browser widget when i set the url from a script using «answer file» to navigate to any valid html file: on mouseUp answer file "Choose html file to display" set url of widget "browser" to it end mouseUp

Re: how to load a local file into the browser widget?

2019-05-24 Thread Tore Nilsen via use-livecode
You must make sure that the filePath to the html file you would like to see does not contain any invalid characters like spaces, which you will find is OK by the file system but not with the browser. Tore > 24. mai 2019 kl. 22:02 skrev Curt Ford via use-livecode > : > > Is there a trick to

Re: Browser widget and downloading of files

2019-03-20 Thread Tore Nilsen via use-livecode
Thank you very much, this did the trick! Best regards Tore > 20. mar. 2019 kl. 22:09 skrev hh via use-livecode > : > > on browserUnhandledLoadRequest pURl > -- do your thing with pURL, for example: > -- use libURL for showing progress > put url(pURL) into > end browserUnhandledLoadRequest

Browser widget and downloading of files

2019-03-20 Thread Tore Nilsen via use-livecode
Are there any ways to start a download of a file via a link in the browser widget? It works fine in any other browser, but not when the page is displayed in a browser widget. Best regards Tore Nilsen ___ use-livecode mailing list

Re: Resizing stacks and make changes on more than one card

2019-03-09 Thread Tore Nilsen via use-livecode
regards Tore Nilsen > 9. mar. 2019 kl. 14:29 skrev Paul Dupuis via use-livecode > : > > move the resizeStack handlers from each CARD to the STACK script and combine > them so they update both cards to the new stack size > > > On 3/9/2019 7:51 AM, Tore Nilsen via use-l

Resizing stacks and make changes on more than one card

2019-03-09 Thread Tore Nilsen via use-livecode
I have a stack with 2 cards. On these cards, some elements change size or position when the stack is resized. As the resizeStack message is only sent to the current card, any changes only happen on this card. If the user then navigates to the other card, elements will be out of order on this

Re: TabStops and Tab Spacings

2019-03-04 Thread Tore Nilsen via use-livecode
If I understand your question correctly, you would like to export the styled text to an external document. If this is the case then you could use this: Put the rtfText of field myField into url myURL — where the file extension should be .rtf. You will then have styled text document where, to

Re: SVG widget and grab me command

2019-02-21 Thread Tore Nilsen via use-livecode
My mistake, I meant handles, not handlers. The widgets are used to display chess pieces. The actual script «controlling" each widget/group is a behavior, where the script itself resides in a button script. Best regards Tore > 21. feb. 2019 kl. 18:36 skrev hh via use-livecode > : > >> Tore

Re: SVG widget and grab me command

2019-02-21 Thread Tore Nilsen via use-livecode
Thanks for your explanation. Since my student does not need any handlers (in fact would not want any handlers added to the widgets), the examples from «ControlHandles89» could not be used. The simple solution was to «group» each individual SVG widget and add the grab me command to the group.

SVG widget and grab me command

2019-02-21 Thread Tore Nilsen via use-livecode
When one of my students tried to use grab me command in a mouseDown handler on a SVG widget, some strange things happened. In run-mode, the script did not work as expected. The widget would not move with the mouse. When switching back to edit mode, the widget started to move with the mouse

Re: Insert an Image into a Field

2019-01-31 Thread Tore Nilsen via use-livecode
set the imageSource of character …. to Look up imageSource in the dictionary for further details. Best regards Tore Nilsen - > 31. jan. 2019 kl. 20:03 skrev Roger Guay via use-livecode > : > > Could someone please remind me how to do this? I’m having a senior moment and > can’t find

Re: Repeat for each line of a variable or field?

2019-01-12 Thread Tore Nilsen via use-livecode
When using a field with close to 45000 lines, the second (using the lines of the field) version takes on average 23 milliseconds, whereas using a variable takes on average 15 milliseconds. For a field /variable with 5000 lines the difference is about 2 milliseconds here. The actual speed and

Re: LC 9.02 Problems when displaying local PDF in stack

2019-01-06 Thread Tore Nilsen via use-livecode
I had the same problem as you, and I used the Adobe Unistaller Program to remove all traces of Adobe Acrobat. This worked for me. You could try to reinstall Acrobat and then use the Uninstaller to remove it again. This has done the trick for me at times when I simply cannot find the file(s)

Re: LC 9.02 Problems when displaying local PDF in stack

2019-01-05 Thread Tore Nilsen via use-livecode
Try to remove the Adobe Acrobat (Reader) Plug-in from the Internet Plug-ins folder in the Library folder. Restart the application and see if that helps. Alternatively you could try to uninstall Acrobat altogether. Best regards Tore Nilsen > 05. jan. 2019 kl. 23:01 skrev Simon Knight via

Re: Interrupting "Wait"

2018-12-31 Thread Tore Nilsen via use-livecode
Depending on the action the user might take, have you tried: wait until the mouse is down Best regards Tore Nilsen > 31. des. 2018 kl. 14:39 skrev Sannyasin Brahmanathaswami via use-livecode > : > > If you issue a > > Wait for 3 seconds with messages > > And, after 1 second, the users

Re: get offset of current selection

2018-12-14 Thread Tore Nilsen via use-livecode
The selectedChunk is probably what you are looking for. Regards Tore Nilsen > 14. des. 2018 kl. 15:28 skrev Kaveh Bazargan via use-livecode > : > > I am stuck on something that should be simple. User has selected a text, > say a word in a field. How do I get the offset of the start and

Re: Seeking OSX Code signing consultant...

2018-12-11 Thread Tore Nilsen via use-livecode
> 11. des. 2018 kl. 23:40 skrev Bob Sneidar via use-livecode > : > > I'm on High Sierra, and that is how it works for me. > > Bob S I am on Mojave now, so I may remember wrongly about High Sierra, but the contextual menu method works on both of them anyhow. Tore

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

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

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

Re: Live Code crashes on startup

2018-11-29 Thread Tore Nilsen via use-livecode
veCode versions < 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.

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: Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
the 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 >

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, &

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

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

  1   2   >