Re: Decimal places

2015-11-14 Thread Tore Nilsen
Have you had a look at numberFormat? You can set the numberFormat to display 2 decimals. Tore > 14. nov. 2015 kl. 18.20 skrev Richmond : > > So I have started a "baby calculator" to help 5 year old kids get their heads > round European coins > and it has an output box where added coins go. >

Re: Decimal places

2015-11-14 Thread Tore Nilsen
> 14. nov. 2015 kl. 18.28 skrev Richmond : > > No, but I have felt stupid many times before :) That makes two of us. Tore ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subsc

Re: Decimal places

2015-11-14 Thread Tore Nilsen
This works for me: on mouseUp set the numberFormat to 0.00 put 2 + 0.5 into tNumber put tNumber into field 1 end mouseUp Tore > 14. nov. 2015 kl. 18.33 skrev Richmond : > > On 14/11/15 19:31, Tore Nilsen wrote: >>> 14. nov. 2015 kl. 18.28 skrev Richmond : >&

Re: Decimal places

2015-11-14 Thread Tore Nilsen
. Tore > 14. nov. 2015 kl. 18.41 skrev Richmond : > > On 14/11/15 19:35, Tore Nilsen wrote: >> This works for me: >> >> on mouseUp >>set the numberFormat to 0.00 >>put 2 + 0.5 into tNumber >>put tNumber into field 1 >> end mouseUp

Re: LiveCode Mac, importing images from iPhone

2016-01-03 Thread Tore Nilsen
e" to access files in the Dropbox-folder on the Mac. Best of luck Tore Nilsen > 3. jan. 2016 kl. 11.44 skrev tkuyp...@telenet.be: > > Hi, > > I’m building an app running on a Mac to manage a large amount of products in > a store. > It searches in a database using a b

Re: Image Scaling Problem

2016-01-19 Thread Tore Nilsen
In the Property Inspector, set the "Lock size and position" to true in the Size & Position panel Tore > 19. jan. 2016 kl. 13.16 skrev Hillen Richard : > > Hello List, > > I just imported a 500x500px image as control into a stack, resized it using > its handles to about 100 x 100 px, saved t

Re: Graphic effects - Feather Edges of Rects

2016-01-31 Thread Tore Nilsen
You need to make the group with the object wider and taller than the object with the graphic effects in order to show the graphic effects “undisturbed”. You must also set the lockLoc (Lock size & position) of the group to true. Tore Nilsen > 31. jan. 2016 kl. 10.29 skrev Phil Ji

Re: clipboard access on mobile (iOS)

2016-02-02 Thread Tore Nilsen
Have you tried to put the text you want into an invisible field, and then copy the text from this field using the copy command in your code? From the way I understand the documentation this should work on all platforms. Tore > 2. feb. 2016 kl. 19.49 skrev Ben Rubinstein : > > Hi all, > > Befor

Re: Modifying Drop-Down Menus on the fly

2016-02-10 Thread Tore Nilsen
er of items in the menu can be any number, as the user can scroll further down the list in the combo-box. Tore Nilsen > 9. feb. 2016 kl. 20.44 skrev Francis Nugent Dixon : > > Hi from Sunny Brittany (at least it was this morning !), > > After many years of using buttons in

Re: LiveCode for the Hobbyists

2016-02-27 Thread Tore Nilsen
the future of LiveCode in education, and any initiative that may come from it. Regards Tore Nilsen ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LiveCode for Educators (was LiveCode for the Hobbyists)

2016-02-27 Thread Tore Nilsen
> 27. feb. 2016 kl. 21.51 skrev Richard Gaskin : > > What could happen if we change "LiveCode" there to "we”? > > The company has many deep technical obligations to complete, and education is > an area that really needs the insights of education specialists to guide it. > > And since we're tal

Re: LiveCode for the Hobbyists

2016-02-28 Thread Tore Nilsen
ity version. As it is today, with LiveCode 8 you get more functionality in the community version, as you can deploy to html5, without paying anything. Developers with an Indy version would need to pay an extra $499 to deploy to html5. Regards Tore Nilsen

Re: Export & LC8 & Browser widget

2016-03-01 Thread Tore Nilsen
You must take the distance from the left egde of the screen and from the top of the screen into consideration when you try to export a snapshot of a browser instance. The browsers position is measured from the topLeft of the screen, not the card I think. Tore > 1. mar. 2016 kl. 20.41 skrev Tere

Re: Export & LC8 & Browser widget

2016-03-01 Thread Tore Nilsen
ct export snapshot from rect tRect to tVar as PNG put tVar into image "myImage" end mouseUp Tore > 1. mar. 2016 kl. 20.57 skrev Tore Nilsen : > > You must take the distance from the left egde of the screen and from the top > of the screen into consideration when you try to e

Re: Export & LC8 & Browser widget

2016-03-01 Thread Tore Nilsen
I think Terence has a menuBar of his own making in the stack, that would count for the extra 22 pixels on the card being pushed upward on the mac version, but still a part of the card height. Tore > 1. mar. 2016 kl. 23.22 skrev J. Landman Gay : > > On 3/1/2016 3:57 PM, Terence Heaford wrote:

Re: LC8DP15 feedback-IDE Issues

2016-03-02 Thread Tore Nilsen
> 2. mar. 2016 kl. 09.39 skrev Mark Waddingham : > > On 2016-03-02 06:46, J. Landman Gay wrote: >> I confess my first reaction was that LC needs an interface designer. > > Ah - yes - those magical 'interface designers' who you just ask to give you > the perfect UI that *everyone* immediately un

Re: LC8DP15 feedback-IDE Issues

2016-03-02 Thread Tore Nilsen
Have you tried looking for it in LC 8, which seems to be the version discussed in this thread? Tore > 2. mar. 2016 kl. 18.02 skrev Mark Wieder : > > On 03/02/2016 08:23 AM, Peter TB Brett wrote: >> On 02/03/2016 16:15, Mark Wieder wrote: >>> On 03/01/2016 11:39 PM, Peter TB Brett wrote: >>> >

Re: [Blog] Script Only Stacks

2016-03-03 Thread Tore Nilsen
I think TextWrangler is a better choice than TextEdit for this purpose. In textWrangler you can specify both UTF 16 and Unix line endings. Tore > 3. mar. 2016 kl. 19.57 skrev Tim Bleiler : > > > >> On Mar 3, 2016, at 1:38 PM, Richard Gaskin >> wrote: >> >> I wonder if it needs to use LC's n

Re: [OT] An XFCE launcher that will hide behind Livecode standalones

2016-03-07 Thread Tore Nilsen
Or you could just read in the actual stacks to use from a document, put the info into a field, and put a mouseUp handler in the field that responds to the clickLine to launch the chosen stack. Then all you would have to do is to add or change information in the document. You could hav the launch

Re: [OT] An XFCE launcher that will hide behind Livecode standalones

2016-03-07 Thread Tore Nilsen
.22 skrev Tore Nilsen : > > Or you could just read in the actual stacks to use from a document, put the > info into a field, and put a mouseUp handler in the field that responds to > the clickLine to launch the chosen stack. Then all you would have to do is to > add or change

Setting url of browser widget, incompatible characters

2016-03-23 Thread Tore Nilsen
.m4a As one can see, the last space character is not replaced. All of these examples contains either apostrophes or parenthesises. Removing these characters from the file name does not help either. In order to have these urls working, the file name has to be retyped in Finder.

Re: Setting url of browser widget, incompatible characters

2016-03-23 Thread Tore Nilsen
I’ll try that. Thank you. Tore > 23. mar. 2016 kl. 13.22 skrev Peter TB Brett : > > On 23/03/2016 12:11, Tore Nilsen wrote: >> This would work unless the file name contained space characters. Changing >> the script to replace space characters with %20 would rectify th

Re: Setting url of browser widget, incompatible characters

2016-03-23 Thread Tore Nilsen
It did not work. URLEncode also encodes “/“ to %2 and spaces to + as you can see: file://%2FUsers%2Ftorenilsen%2FDocuments%2FMultimedieLab%2FMusikk%2F01+My+My%2C+Hey+Hey+%28Out+of+the+Blue%29.m4p Tore > 23. mar. 2016 kl. 13.24 skrev Tore Nilsen : > > I’ll try that. Thank you.

Re: Setting url of browser widget, incompatible characters

2016-03-23 Thread Tore Nilsen
characters. Tore > 23. mar. 2016 kl. 14.11 skrev Trevor DeVore : > > On Wed, Mar 23, 2016 at 8:30 AM, Tore Nilsen wrote: > >> It did not work. URLEncode also encodes “/“ to %2 and spaces to + as you >> can see: >> >> file://%2FUsers%2Ftorenilsen%2FDocuments%2F

Re: Can a widget be in the background?

2016-03-24 Thread Tore Nilsen
A group with the background behaviour will appear on each new card you create after you have made the group. If you know you are going to need a background on many cards, then make the background group on the first card, before you add the rest of the cards. Tore > 24. mar. 2016 kl. 06.02 skrev

Re: Richmond is on a roll.

2016-03-28 Thread Tore Nilsen
You sent me down a slippery slope here. I made some changes to the wipe version. If highlite of the Dissolve button is true, then it is a replication of the blend version you made. I should be grading some Norwegian tasks in preparation for tomorrow, but this is much more fun. Tore https://w

How to make a group scroll withut a visible scrollbar/by using one finger touch/scroll wheel on a mouse

2016-03-30 Thread Tore Nilsen
I have noticed that it is possible to hav a datagrid objekt scroll without a visible scrollbar, if the "scroll when vscrollbar is hidden” is set to true. when doing so, it is possible to use one finger/scroll wheel to scroll up and down in a datagrid, just as you can when the mouse hovers over a

Re: How to make a group scroll withut a visible scrollbar/by using one finger touch/scroll wheel on a mouse

2016-03-30 Thread Tore Nilsen
Thank you, it worked just the way I wanted it to work. Tore > 30. mar. 2016 kl. 21.42 skrev BNig : > > Tore Nilsen wrote >> I have noticed that it is possible to hav a datagrid objekt scroll without >> a visible scrollbar, if the "scroll when vscrollbar is hidden” is

Re: Difficulty using Livecode.com

2016-03-31 Thread Tore Nilsen
If you want to access the app building course you should click on your name in the upper right corner of the web page (when you are logged in). You will then find a link to the app building course in the menu to the left of the new page which contains various information about your lisences. To

Re: Difficulty using Livecode.com

2016-04-03 Thread Tore Nilsen
Try http://lessons.livecode.com I don’t think this is a secure adress at all. Regards Tore > 3. apr. 2016 kl. 18.22 skrev Jim Byrnes : > > On 04/01/2016 05:13 PM, J. Landman Gay wrote: >> On 4/1/2016 4:17 PM, Jim Byrnes wrote: >>> Right now I am interested in learning Livecode on the desktop onl

Re: Design Challenge -- Round Corner mask on images

2016-04-03 Thread Tore Nilsen
It works when you hold the mouse over the field with the inks in the blending section of the property inspector Tore > 3. apr. 2016 kl. 19.45 skrev RM : > > Well: I must be rather stupid: but where-O-where is the 'Inks' button? > > Richmond. > > On 3.04.2016 20:38, J. Landman Gay wrote: >> Put

Re: Any message sent to popup menu (btn) when nothing is selected?

2016-04-12 Thread Tore Nilsen
When you do not select an item in the menu, pItemName is empty. If you set up a condition where the switch statement kicks in if pItemName is not empty, then you will get the result you wanted, also if the user leaves the menu without making any choice. Here is a script that demonstartes this:

Re: Any message sent to popup menu (btn) when nothing is selected?

2016-04-12 Thread Tore Nilsen
thing" put empty into lLabel end if end if end mouseLeave > 12. apr. 2016 kl. 19.01 skrev Tore Nilsen : > > When you do not select an item in the menu, pItemName is empty. If you set up > a condition where the switch statement kicks in if pItemName is not empty, > the

Re: Any message sent to popup menu (btn) when nothing is selected?

2016-04-12 Thread Tore Nilsen
> on mouserelease > put "Nothing chosen" -- if nothing was chosen > end mouserelease > > > On Tue, Apr 12, 2016 at 12:36 PM, Tore Nilsen wrote: > >> In order to catch the user escaping the button without making any choices >> this works: >> >&

Re: Any message sent to popup menu (btn) when nothing is selected?

2016-04-12 Thread Tore Nilsen
default > end switch > end menuPick > > on mouseLeave > if sMenuItem = "" then >doDefaultStuff > end if > put "" into sMenuItem > end mouseLeave > > on doDefaultStuff > put the seconds > end doDefaultStuff > > > On 4/12

Re: 8.0.0 RC 1 Text Properties all gone?

2016-04-19 Thread Tore Nilsen
When I try, I get a list with the options you mentioned. My list is scrollable and I find all the font names below the first options. I can assign any font I like from the font list. Tore Using Mac OSX 10.11.4 > 19. apr. 2016 kl. 19.39 skrev Sannyasin Brahmanathaswami : > > On 4/17/16, 4:28 PM

Re: 7.1.4 RC1 on OS X gets scanned every opening

2016-04-19 Thread Tore Nilsen
Happens frequently with LC 7.1.3 and LC 8.0 RC also. Using Mac OSX 10.11.4 Tore > 19. apr. 2016 kl. 21.40 skrev Dr. Hawkins : > > As many times as I open 7.1.4 RC1, it always gets scanned again like a new > program. > > Are other people seeing this, or is something funny happening? > > -- >

Sound and video on Windows - help needed urgently

2016-05-13 Thread Tore Nilsen
option we can try? Or should we start transferring all her previous work, alongside LiveCode to one of our schools older laptops, in order to have her up and running in good time before her exam? Regards Tore Nilsen ___ use-livecode mailing list use

Re: Infinite LiveCode - Message from CEO

2016-05-13 Thread Tore Nilsen
I thought they both got it from Agnes Tore > 14. mai 2016 kl. 01.06 skrev Bob Sneidar : > > >> On May 13, 2016, at 16:05 , Bob Sneidar wrote: >> >> Well you know, there are lies... and then there are damnable lies... and >> then there are detestably damnable lies... >> >> And then there ar

Re: LC 8 is great but

2016-05-16 Thread Tore Nilsen
. Regards Tore Nilsen > 16. mai 2016 kl. 17.46 skrev Alain Vezina : > > Hi all, > > There are great things in LC 8, especially the widget browser. > > But I don’t understand why some capabilities are not yet in LC engine. > Why we can’t make a copy - paste in a text

Re: tree view widget

2016-05-17 Thread Tore Nilsen
Apart from the wrong chars for quotes around the last values of temp, and the lack of a closing quote on the same line, I can see nothing wrong with the script. It works here. Regards Tore Nilsen > 17. mai 2016 kl. 21.12 skrev Yves COPPE : > > Hi, > > here is a sample of

Slightly OT: Exam results for students using LiveCode in Norway

2016-06-18 Thread Tore Nilsen
happy with the results, and I very much look forward to teach programming with LiveCode to yet another group of students next year. Regards Tore Nilsen ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe

Re: Slightly OT: Exam results for students using LiveCode in Norway

2016-06-18 Thread Tore Nilsen
o individual curricular control). > > Very good news indeed: Bravo! > > Richmond Mathewson. > > On 18.06.2016 20:17, Tore Nilsen wrote: >> The results from national and local exams in the subject “Information >> technology” in Norwegian Upper Secondary schools are now in. I a

Re: Slightly OT: Exam results for students using LiveCode in Norway

2016-06-18 Thread Tore Nilsen
e schools have almost no individual curricular control). >> >> Very good news indeed: Bravo! >> >> Richmond Mathewson. >> >>> On 18.06.2016 20:17, Tore Nilsen wrote: >>> The results from national and local exams in the subject “Information >>> tech

Re: Slight annoyance from MacKiev

2016-06-19 Thread Tore Nilsen
From what I can see on their website, it is not HyperStudio, but a new product called HyperStudio Author that produces HTML 5 files in the form of widgets for iBooks, which also can be viewed in a browser, much like what you can do with Hype or iAD Producer. I guess it is a limited subset of Hyp

Re: Move to the points.

2016-06-26 Thread Tore Nilsen
Both move and wait commands are blocking commands. Now messages are acted upon when the code runs. If you would like several things happen at the same time you would need to use “send to me in time” where you then would have to check current position and set the new position based on this. You c

Re: Vertical progress bar

2016-06-28 Thread Tore Nilsen
It is even easier, just make the height of the bounding rectangle higher than the width and you will have a vertical progress bar. Tore > 28. jun. 2016 kl. 18.50 skrev rjd318 : > > Hi all - I guess it's not as easy as rotating the existing progress bar > control? Anyone know of a pre-existing t

Re: Vertical progress bar

2016-06-28 Thread Tore Nilsen
t; On Jun 28, 2016, at 10:55 AM, Tore Nilsen wrote: >> >> It is even easier, just make the height of the bounding rectangle higher >> than the width and you will have a vertical progress bar. >> >> Tore >>> 28. jun. 2016 kl. 18.50 skrev rjd318 : >>&g

Re: Vertical progress bar

2016-06-28 Thread Tore Nilsen
If the rect is square the scrollbar/progressbar will be vertical. Tore > 28. jun. 2016 kl. 19.34 skrev Mark Wieder : > > Dar Scott writes: > >> >> Wow! That is cool! How did you even discover this? > > Progressbars are a subclass of scrollbars. > You can have horizontal and vertical scrol

Re: Stopping a script

2016-06-28 Thread Tore Nilsen
I am not quite sure I understand what you are trying to do , but I’ll have a go at it: /*This is what I would put into the cardscript*/ local sMoveLine,sMoveSteps,sMove on openCard put field "moveSpots" into sMoveSteps --put the coordinates into a variable for faster execution of script put

Re: Stopping a script

2016-06-28 Thread Tore Nilsen
Tore > 28. jun. 2016 kl. 21.40 skrev Tore Nilsen : > > I am not quite sure I understand what you are trying to do , but I’ll have a > go at it: > > /*This is what I would put into the cardscript*/ > > local sMoveLine,sMoveSteps,sMove > > on openCard > > p

Re: Stopping a script

2016-06-28 Thread Tore Nilsen
lag is false. Or, cancel the message. > > (And you might be able to do this with moveStopped instead of send.) > >> On Jun 28, 2016, at 1:45 PM, Tore Nilsen wrote: >> >> The variables needs to be global rather than local if the scripts are to be >> placed in

Slack team for educators and students

2016-08-06 Thread Tore Nilsen
contribute to the education community may also send me a DM in order to join the team. Remember that the discussions primarily will be related to curricular activities and not LiveCode in general. Regards Tore Nilsen ___ use-livecode mailing list use

Re: put one array after another

2016-08-10 Thread Tore Nilsen
You could try this, it works if the array is declared global or local, and should work if the arrays are script local if both arrays are constructed within the same handler repeat for each key tKey in tSecondArray put tSecondArray[tKey] into tFirstArray[tKey] end repeat Regards Tore > 10.

Re: put one array after another

2016-08-10 Thread Tore Nilsen
tly. Anytime the syntax is simpler there are fewer chances to make > a mistake. > > I found "append" in the dictionary but it's not really documented and I > couldn't get a script to compile with it. > > On Wed, Aug 10, 2016 at 7:51 PM, Tore Nilsen wrote:

Re: Very OT - Bad pun

2016-08-25 Thread Tore Nilsen
I guess Gloucestershire is only marginally better? Tore > 25. aug. 2016 kl. 17.28 skrev David V Glasgow : > > I use to live in Leicestershire … > > >> On 25 Aug 2016, at 4:25 pm, Bob Sneidar wrote: >> >> Not even the French could pronounce a word so different from how it is >> spelled. (I'm

Re: Underneath

2016-08-27 Thread Tore Nilsen
Have you tried to set the behavior of these tiles to the script of an invisible button, where you reference the object itself with me? Tore > 27. aug. 2016 kl. 21.52 skrev Richmond : > > Thanks to everybody for all sorts of suggestions: I tried all of them, but > was unable to get > any of t

Re: What's everyone working on this month? (September 2016)

2016-09-02 Thread Tore Nilsen
The academic year has just started here in Norway, and I have just finished a preliminary edition of a digital textbook about using LiveCode in the subject “Information Technology 2”, for my students. The textbook covers all the objectives in the national curriculum with explanations and example

Re: System date

2016-09-06 Thread Tore Nilsen
I have no problem using the system date here in Norway. It works when I use the following: answer the system date and when I use: set the useSystemDate to true answer the date In the last example, remember to set the useSystemDate to true every time you want to use the system date, as it res

Re: "lightening" a color

2016-09-10 Thread Tore Nilsen
Since white in the rgb space is made by adding max value of all three primary colours, and getting the colour will give you a list of numerical values in the form of 255,0,0 for maximum red, 0,255,0 for maximum green and 0,0,255 for maximum blue, you can always change any of these values to prod

Re: very often "Scripts externally modified" popup

2016-09-12 Thread Tore Nilsen
One instance in which I have seen this message is if I decide to name/rename a stack after I have added script to it. Going to the script editor window after renaming and saving triggers this message. Tore > 12. sep. 2016 kl. 18.58 skrev J. Landman Gay : > > I've been seeing it too, though no

Re: test color question

2016-09-17 Thread Tore Nilsen
Try this, it works for me: set the forecolor of char 1 to 10 of line 1 of field 1 to "red" set the styledText of field 2 to the styledText of line 1 of field 1 Regards Tore > 17. sep. 2016 kl. 20.00 skrev jbv : > > Hi list > > Please consider the following lines of script : > > set the for

Re: What's everyone working on this month? (September 2016)

2016-09-19 Thread Tore Nilsen
> 19. sep. 2016 kl. 20.42 skrev William Prothero : > > Tor: > Since you mention an LMS, I’m wondering if you have successfully implemented > an interface to an LMS using LTI or SCORM protocols. Or, more concisely, how > do you handle the interface to your LMS? > Best, > Bill > I do not handle

Re: Japanese (unicode?) text problem

2016-09-20 Thread Tore Nilsen
Internally LiveCode uses UTF-16. You can try to decode your text from UTF-8 like this: put url tUrl into tTextToDecode put textDecode(tTextToDecode,”UTF-8") into field “indices" regards Tore > 21. sep. 2016 kl. 06.30 skrev Nicolas Cueto : > > ​With Notepad++​, created a new file, pasted E

Re: copy a stack from dropbox to temp-folder (script)

2016-09-22 Thread Tore Nilsen
My guess is that you need to use binfile instead of file, as a stack is binary. Vennlig hilsen Tore Nilsen Den 21. sep 2016 kl. 23.47 skrev John Allijn følgende: Hi, I’m trying to copy a file from my dropbox’s public folder to my local temp-folder. I get the filename, create a destination

Error in mouseUp in SVG widgets

2016-10-02 Thread Tore Nilsen
I think I have come across an error in the SVG icon widget. If the mouse is released outside of the widget, the mouseUp handler is trigged even if the user has moved the pointer outside of the rect of the widget. The mouseLeave handler is correctly triggered before the mouseUp handler fires away

Re: Error in mouseUp in SVG widgets

2016-10-02 Thread Tore Nilsen
You are right. I tend to use the svgIcon widget as a replacement for buttons with icons, as I like to use color/icon switch as a highlight effect, and I find that it is easier to produce persistent design with the widget. I just have to check if the mouseLoc is within the rect of the widget to m

Re: [ANN] calendar widget

2016-10-18 Thread Tore Nilsen
Nig : > > In case someone sees a use case for customizing abbreviated day/month names > I would reconsider that. In Norway we often use two letter abbreviations for day names, which is very handy if the size of the widget is very small. Regards

Re: Internet date

2016-10-31 Thread Tore Nilsen
Here is what I get in Norway: Tue, 1 Nov 2016 07:54:59 +0100 Tore > 1. nov. 2016 kl. 07.38 skrev J. Landman Gay : > > Is the internet date in a consistent format in every country? That is, except > for the spelling of the day and month names, is the format always the same? > > Where I am, it

Re: Internet date

2016-11-01 Thread Tore Nilsen
Use systemDate does not apply to the internet date. I got the same result with this set to both true and false. Tore > 1. nov. 2016 kl. 15.24 skrev Richard Gaskin : > > J. Landman Gay wrote: > > > Is the internet date in a consistent format in every country? That > > is, except for the spelli

Re: Internet date

2016-11-01 Thread Tore Nilsen
liking, and away you go. Tore > 1. nov. 2016 kl. 15.45 skrev Tore Nilsen : > > Use systemDate does not apply to the internet date. I got the same result > with this set to both true and false. > > Tore > > >> 1. nov. 2016 kl. 15.24 skrev Richard Gaskin

Re: How do you maintain image source reference on multiple platforms?

2016-11-01 Thread Tore Nilsen
You should probably use the specialFolderPath(“resources”) to set the relative path to your images. This should work on all systems. Tore > 1. nov. 2016 kl. 15.11 skrev Tiemo Hollmann TB : > > Hello, > > > > after I got the trick on how to handle multiple image sources for different > screen

Re: Internet date

2016-11-01 Thread Tore Nilsen
tive Software | http://www.hyperactivesw.com > > > > On November 1, 2016 9:47:11 AM Tore Nilsen wrote: > >> Use systemDate does not apply to the internet date. I got the same result >> with this set to both true and false. >> >> Tore >> >

Lock moves is not working when objects are moved to the points of an other graphic

2016-11-08 Thread Tore Nilsen
In LC 8.1.0 on a Mac with macOS 10.12, I have encountered some problems when trying to move several objects simultaneously. The script below works as expected: on mouseUp set lockmoves to true move grc "Oval1" from 50,60 to 1200,60 in 350 milliseconds without waiting move grc "Oval2" from 50,

Re: Lock moves is not working when objects are moved to the points of an other graphic

2016-11-08 Thread Tore Nilsen
Yes, this is what does not work in 8.1.0. I've tried it both on my Macbook and on my iMac, and the second movement only start once the first is finished. I should probably look for a bug report/file a bug report if no other report exists. Tore > 8. nov. 2016 kl. 17.16 skrev dunbarx : > > Hi. >

Re: autoScript

2016-11-16 Thread Tore Nilsen
It works in both 7.1.3 and 8.1.0 and 8.1.1 on MacOS here with me. The script is set to whatever you put into the variable. Tore > 16. nov. 2016 kl. 13.57 skrev Richmond : > > Nothing is wrong with this in Livecode 7.1.4 > > BUT is does not work in Livecode 8.1.1 > > Bug 18864 > > Richmond. >

Re: autoScript

2016-11-16 Thread Tore Nilsen
Putting on mouseUp put "on mouseUp" & return & "beep" & return & "end mouseUp" into SKRIPT set the script of btn "BB" to SKRIPT end mouseUp into the script of the first button makes button BB trigger a beep as expected, also in LC 8.1.1 Regards Tore > 16. nov. 2016 kl. 13.57 skrev Richmo

Re: autoScript

2016-11-16 Thread Tore Nilsen
On MacOS 10.12.2 > 16. nov. 2016 kl. 14.21 skrev Richmond : > > Thanks, Tore, > > On which operating system is that? > > Richmond. > > On 16.11.2016 15:10, Tore Nilsen wrote: >> Putting >> >> on mouseUp >> >> put "on m

Re: autoScript

2016-11-16 Thread Tore Nilsen
line of >>> code with no handler designation. (as indicated by tore, you should need >>> to >>> include the on mouseup and end mouseup) >>> >>> On Wed, Nov 16, 2016 at 6:22 AM, Tore Nilsen wrote: >>> >>> On MacOS 10.12.2

Re: autoScript

2016-11-16 Thread Tore Nilsen
dded an undo function and have > since reverted to my normal hermity self. I tried "make me rich" once, but > I just ended up being triple chocolate cake. > > On Wed, Nov 16, 2016 at 6:43 AM, Tore Nilsen wrote: > >> At this point in the discussion I feel a need to

Re: autoScript

2016-11-16 Thread Tore Nilsen
y simply using the blindLuck() function over and over until the rng > pops out the right combination. > > On Wed, Nov 16, 2016 at 6:53 AM, Tore Nilsen wrote: > >> Has anyone ever been able to make the “makeMeRich” command work? If not, >> has anyone filed a bug report? >>

Re: Recoding: search and replace

2016-11-16 Thread Tore Nilsen
e tLineNumber of tScriptToChange end if if "useUnicode" is in tLine then put "--deprecated code removed (useUnicode)" into line tLineNumber of tScriptToChange end if end repeat end mouseUp > 16. nov. 2016 kl. 16.20 skrev Tore Nilsen : > > I think this will be even

Re: Recoding: search and replace

2016-11-16 Thread Tore Nilsen
I think this will be even faster. Put the script directly into a variable, use a repeat for structure and replace text as needed directly in the variable. You may not notice much of a speed improvement for smaller scripts, but if the script is longer, this should execute faster than your version

Retrieve the date from an external source.

2016-11-29 Thread Tore Nilsen
retrieving data from servers and services, so I am unfortunately stuck at the moment. Any help will much appreciated. Regards Tore Nilsen ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Retrieve the date from an external source.

2016-11-29 Thread Tore Nilsen
hias > > > > Matthias Rebbe > Bramkampsieke 13 > 32312 Lübbecke > Tel +49 5741 31 > +49 160 5504462 > Fax: +49 5741 310002 > eMail: matth...@m-r-d.de <mailto:matth...@m-r-d.de> > > BR5 Konverter - BR5 -> MP3 <http://matthiasrebbe.eu/port

Re: Retrieve the date from an external source.

2016-11-29 Thread Tore Nilsen
the script with ?> > > >> Am 12.01.2017 um 16:26 schrieb Tore Nilsen > <mailto:tore.nil...@me.com>>: >> >> Thank you for your quick response. And this is where my lack of experience >> with working with lc-scripts and servers shines through. Although I have a

Re: TreeView custom sort?

2016-12-10 Thread Tore Nilsen
? Regards Tore Nilsen > 10. des. 2016 kl. 18.30 skrev Richard Gaskin : > > I need a sort of object browser, and have been playing around with the > TreeView widget as a possible quick solution. > > Handy for many things, but being array-based it seems my options for sort

SQLite and single quote characters

2016-12-28 Thread Tore Nilsen
not report any errors. As a single quote may be a valid character in some instances where I intend to use SQLite databases, I am now at odds with how to proceed. Does anyone have a solution to this problem? Regards Tore Nilsen ___ use-livecode

Re: SQLite and single quote characters

2016-12-28 Thread Tore Nilsen
te-for-a-sqlite-database > > Devin > > > On Dec 28, 2016, at 11:54 AM, Tore Nilsen > mailto:tore.nil...@me.com>> wrote: > > I am using my Christmas break to try to teach myself how to use SQLite with > LiveCode. (Hopefully I will be able to teach my students ho

Re: 8.1.2 Offset bug fixed!

2017-01-04 Thread Tore Nilsen
Not so sure about that. Remember he is the mastermind behind everything. I take everything to also mean bugs. :-) Tore > 4. jan. 2017 kl. 19.57 skrev Bob Sneidar >: > > There wouldn't be any bugs id He did. :-) _

Data Grid objects in standalones

2015-02-06 Thread Tore Nilsen
I am using several Data Grid objects, as tables, in a standalone. When I try to manually enter data into fields in the data grid object it works alright as long as the main stack and the substacks are built as a single file, but not when I try to build the standalone with the substacks as separa

Re: Data Grid objects in standalones

2015-02-06 Thread Tore Nilsen
otect the app stacks if > you like to protect the code. That way the app stacks are not actually a part > of the read-only application, they are like support files that can be > modified if put in the right place, which the compiler does for you. > > Bob S > > > On Fe

Re: Data Grid objects in standalones

2015-02-06 Thread Tore Nilsen
More detail available in the link from above. > > On Fri, Feb 6, 2015 at 2:27 PM, Tore Nilsen wrote: > >> The problem with letting the compiler handle this is that I cannot access >> the Data Grid Template stack from the main stack if it is not a part of the >> engine f

Re: Data Grid objects in standalones

2015-02-06 Thread Tore Nilsen
incuded a single substack in your main that is named "datagrid >> templates dud" so that the builder will decide to include all the datagrid >> support libraries. More detail available in the link from above. >> >> On Fri, Feb 6, 2015 at 2:27 PM, Tore Nilsen wrote: &g

Re: Passing control away and back again

2015-02-15 Thread Tore Nilsen
Why don’t you just register the missing parts in a variabel, go on with the preOpenStack script and then, depending on what is missing, go to a card where the user then can enter the information needed. When the information is registered the user will be taken to the application itself with all

Re: Passing control away and back again

2015-02-15 Thread Tore Nilsen
2 >> end startup >> >> on doPart1 >> >> end doPart1 >> >> on doPart2 >> >> end doPart2 >> >> and the mouseUp handler would be modified as >> on mouseUp >> close this stack >> send "doPart2" to in 1 tic

Re: HTML muddle

2015-02-18 Thread Tore Nilsen
Have you tried using Brackets together with the Chrome-browser? This will give you a live update of the html in the Chrome browser as you edit the code in Brackets. My students use Brackets for their html tasks, and I am also using it myself to produce html-pages to be displayed in the browser

Inserting a character at the text insertion point in a field

2015-04-28 Thread Tore Nilsen
is a number then pass keyDown end if if theKey is "." or theKey is "," then if the text of me is not empty and "." is not in me then put "." after me end if end if end keyDown — Tore Nilsen _

Re: Inserting a character at the text insertion point in a field

2015-04-28 Thread Tore Nilsen
." after char tPos of me > > > Pete > lcSQL Software <http://www.lcsql.com> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> > > On Tue, Apr 28, 2015 at 12:06 PM, Tore Nilsen

Re: Inserting a character at the text insertion point in a field

2015-04-28 Thread Tore Nilsen
This gets better and better! The last solution seems to cover all eventualities! Thank you! Tore > 28. apr. 2015 kl. 21.26 skrev Paul Hibbert : > > Or another way, replace… > >> put "." after me > > …with: > > put "." into the selection > > Works OK here, and allows you to replace a n

  1   2   3   >