Re: Apply an SVG Widget as a single object in a stack to multiple buttons as icon?

2016-06-18 Thread Richard Gaskin

Sannyasin Brahmanathaswami wrote:

> With images we can import a raster "object" and then set the icon
> of a button to that image.
>
> Wouldn't it be nice to be able to do the same with a SVG file?

We can't?

What's the point of an SGV Icon object if it can't be used as an icon?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: [OT-ish] WWDC things of interest

2016-06-18 Thread Monte Goulding
It's worthwhile noting that the development team only occasionally have time to 
look back to old reports to determine if they are still an issue etc. We know 
there are times in the past where there were far more reports coming it than 
there were resources to deal with them. At the moment we seem to be resolving 
slightly more than are coming in. As a result if you have open reports its 
worthwhile occasionally confirming if they are still an issue in the current 
release.

The other thing I'm hoping we will do in the near future is start giving things 
that are unlikely to get to the top of the todo list a stats that will let 
developers know that if it is important to them it be resolved they may need to 
discuss resolution with open source contributors or business services. While it 
can be a blunt reality it is also important that people that just need 
something working know where they stand.

Cheers

Monte

Sent from my iPhone

> On 19 Jun 2016, at 10:05 AM, Richard Gaskin  
> wrote:
> 
> Those are things reported to me by my customers, back in 2007.


___
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


Apply an SVG Widget as a single object in a stack to multiple buttons as icon?

2016-06-18 Thread Sannyasin Brahmanathaswami
With images we can import a raster "object" and then set the icon of a button 
to that image.

Wouldn't it be nice to be able to do the same with a SVG file?  Theoretically 
then the different buttons calling that same (0ne and one only in the stack) 
SVG image as their icon could have varying sizes, but the image would still be 
perfect (since icon is rendering a vector object)

What is the use case? If our designers do cool things in illustrator. 
(hopefully one day we can support multiple colors and gradients in LC SVG 
widgets)  we would just like to save them once and call them into various 
contexts. Scenarios would include background on text button links, small icons 
on maps that would appear perfectly at any zoom level etc.  Even better: have a 
label that can sit on top.

see:

http://wiki.hindu.org/screenshots/vector-btn-bkgnds.jpg

the ragged "patches" behind the text/button links are vector… previously I was 
forced to save as PNG.. set the icon to a pattern, use the png as the pattern 
set icon gravity … careful manipulation of margins… But, advantage was: it was 
still a single object in the stack and the PNG could be applied to multiple 
buttons.

now I'm trying to see how I can get these as single SVG object(s)without having 
to have

a) SVG widget underneath
b) text button on top
So, we all know this -- except for lurking newbies, so FWIW we will "declare" 
the obvious:

currently the icon of a button set to an image requires that image to be the 
precisely sized to meet the button's display size/rendering requirements. I 
have in some scenarios, dynamically resized images that are used for button 
icons on different cards, so that they appear correctly. Goal was, obviously 
not to have multiple instances of the same image across multiple cards.

One might have a case where there were large buttons on a card… then the image 
for the icons may need to be set at e.g. 128 X 128.. then if you displayed them 
on a grid on another card you might down size them dynamically to 32 X 32.

Problem is of course there is always a break down of the image quality, even if 
set to "best" with SVG that should go away.

Is anyone doing this? I visualize a scenario where one dynamically sets the SVG 
path to a string that might be, for example, stored as a custom property 
(instead of on an "image resources" card)

Would it be worth it to make this a feature request, so that this icon 
assignment would be indifferent to the image format .png, svgwidget, jpg?  Then 
you could still work with "the button name" programmatically.

BR




___
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: Slightly OT: Exam results for students using LiveCode in Norway

2016-06-18 Thread Tore Nilsen
Here in Norway we do not have a common textbook, although we do have national 
exams. We have been using LiveCode for the past two years without any textbook 
at all. I am in the process of writing my own textbook on how to use LiveCode 
and adapt it to the national curriculum, and hopefully it will be completed by 
mid August. The first version will be an iBooks version, as we have a set of 
iPads that I can use for my class. The plan is to adapt this textbook into an 
application, using LiveCode of course, but for the moment I need to concentrate 
on the content. In order to get the level of usability I want in time for next 
school year, I find that using iBooks Author is the best tool for now.

Tore

 
> 18. jun. 2016 kl. 20.17 skrev Kevin Miller :
> 
> This is great news Tore. We have seen similarly good results here in 
> Scotland. 
> 
> Richmond, it can be done. LC has become something of a standard here in, it 
> is in the main textbook and exams. 
> 
> Sent from my iPhone
> 
>> On 18 Jun 2016, at 19:03, Richmond  wrote:
>> 
>> I only wish I could persuade the Ministry of Education of that in Bulgaria 
>> (here 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 
>>> technology” in Norwegian Upper Secondary schools are now in. I am happy to 
>>> say that my students scored well in their exams, with an average of 4.4 out 
>>> of 6 for all students who had to either sit through the national written 
>>> exam or the local oral/practical exam assessed by external teacher.
>>> 
>>> 60% of the students scored 5 or better, which puts them at the top of the 
>>> scale. Compared to last years national results, the overall average would 
>>> put our school at a fine top 6 spot nationally. With a top 5 spot for the 
>>> national written exam and a top 6 spot for the oral/practical exam.
>>> 
>>> These results are unprecedented at our school, and in my opinion, very much 
>>> a result of our choice to use LiveCode as our programming environment.
>> 
>> The next sentence says exactly what is so good about Livecode from a 
>> pedagogical point of view.
>> 
>>> Due to the nature of LiveCode we have been able to focus on the principles 
>>> behind good coding, and use both time and resources to become better at 
>>> problem solving rather than to learn the intricacies of a specialised 
>>> programming language.
>> 
>> 
>>> As far as I know, we are the only school in Norway to use LiveCode as the 
>>> preferred tool in this subject.
>>> 
>>> On behalf of my students, I am very 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, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> 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
> 
> 
> ___
> 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


___
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: [OT-ish] WWDC things of interest

2016-06-18 Thread Richard Gaskin

Monte Goulding wrote:

> Hi Richard
>
> A search in the bug DB for Windows issues doesn't really come up with
> much more than you would see on other platforms. I did find one
> report to recommend be elevated 
http://quality.livecode.com/show_bug.cgi?id=14314

>
> Everyone has different priorities but it would be good to identify
> reports that are likely to be impacting large numbers of users on
> Windows as perhaps the team has misidentified their importance.

True, a lot o people find all sorts of time to write about issues on 
this list and in the forums, but not quite enough time to just file a 
bug report so it can be addressed.


In some cases the Windows angle may be a red herring.  For example, 
there are a good many IDE issues that aren't specific to Windows, even 
if the sheer number of Windows users among newcomers may initially make 
it seem like it has something to do with the engine for that platform.


I just did a quick search and found 202 open issues reported for Windows:



I haven't personally triaged those so I have no idea how many of those 
are critical, or even reproducible in v8.1.


It may be worth noting that the most recent of those has an ID number 
below 10,090, suggesting none of are very recent.  They may still be 
evident in recent versions, perhaps even important, but AFAIK none are 
regressions introduced since v8.


Also, some of the things marked as enhancements are not small issues 
even if they involve things LC has never gotten right.


For example, Mac users rarely appreciate how fluidly many Windows users 
are accustomed to moving around in GUIs by keyboard alone.  A good 
Windows or Linux GUI lets you choose whether you're using mouse or 
keyboard.  But in LC things like the option control can't be used by the 
keyboard:


Tabbing leave option control's menu up
http://quality.livecode.com/show_bug.cgi?id=5513

Typing selection not honored for option controls
http://quality.livecode.com/show_bug.cgi?id=5512

menuhistory not updated when changing option controls via keyboard
http://quality.livecode.com/show_bug.cgi?id=5505

Those are things reported to me by my customers, back in 2007.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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: JSON not working in Standalones?

2016-06-18 Thread Monte Goulding
In 8.1.0 the mergExt externals are not yet being searched for so you need to 
manually select inclusions. Ali is working on a mechanism to allow searching 
for them.

Cheers

Monte

Sent from my iPhone

> On 19 Jun 2016, at 4:19 AM, tkuyp...@telenet.be 
>  wrote:
> 
> In all but  8.1.0 (dp 1) I’ve included all extensions, in 8.1.0 (dp 1) the 
> new “Inclusions”-tab in the standalone settings is disabled, so I can’t 
> select anything there.


___
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: [OT-ish] WWDC things of interest

2016-06-18 Thread Monte Goulding

Hi Richard

A search in the bug DB for Windows issues doesn't really come up with much more 
than you would see on other platforms. I did find one report to recommend be 
elevated http://quality.livecode.com/show_bug.cgi?id=14314

Everyone has different priorities but it would be good to identify reports that 
are likely to be impacting large numbers of users on Windows as perhaps the 
team has misidentified their importance.

Cheers

Monte


> 
> With all due respect to you and the dev team, I hope that before we pull
> them away into new platform-specific features we first tighten up the
> loose ends with Windows.
___
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: Does anyone see this message?

2016-06-18 Thread J. Landman Gay

I also see my own messages.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



On June 18, 2016 1:24:26 PM Jerry Jensen  wrote:

Hmm. I do see my posts. Is this a gmail thing? I send and receive through 
Dreamhost. Sending or receiving from my own servers also works the same.

.Jerry


On Jun 18, 2016, at 11:16 AM, Colin Holgate  wrote:

In this list you don’t see your own messages.


On Jun 18, 2016, at 2:15 PM, tkuyp...@telenet.be 
 wrote:


I’ve posted a few messages the last couple of weeks, but although I see a 
lot of other messages posted to this list, I don’t see my own messages…


If anyone sees this message, please reply, so I can figure out what is 
going on…



Many thanks!

Ton Kuypers



___
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



___
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



___
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




___
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: opening utf8 text file

2016-06-18 Thread tbodine
Is the textDecode still necessary? I thought in LC 7 and up, Unicode "just
worked"?

Tom B.



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/opening-utf8-text-file-tp4705847p4705908.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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: Does anyone see this message?

2016-06-18 Thread stephen barncard
On Sat, Jun 18, 2016 at 11:15 AM, tkuyp...@telenet.be <
tkuyp...@publishingtools4u.com> wrote:

> I’ve posted a few messages the last couple of weeks, but although I see a
> lot of other messages posted to this list, I don’t see my own messages…


Some mail clients like  gmail will obfuscate recent posts by self until
they are replied to in the thread. They always exist in 'all mail' or 'sent
mail'.

Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
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: Does anyone see this message?

2016-06-18 Thread Ton Kuypers
this indeed started when I switched over to gMail...

Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
www.publishingtools4u.com





> On 18 jun. 2016, at 19:43, Jerry Jensen-2 [via Runtime Revolution] 
>  wrote:
> 
> Hmm. I do see my posts. Is this a gmail thing? I send and receive through 
> Dreamhost. Sending or receiving from my own servers also works the same. 
> .Jerry 
> 
> > On Jun 18, 2016, at 11:16 AM, Colin Holgate <[hidden email] 
> > > wrote: 
> > 
> > In this list you don’t see your own messages. 
> > 
> > 
> >> On Jun 18, 2016, at 2:15 PM, [hidden email] 
> >>  <[hidden email] 
> >> > wrote: 
> >> 
> >> I’ve posted a few messages the last couple of weeks, but although I see a 
> >> lot of other messages posted to this list, I don’t see my own messages… 
> >> 
> >> If anyone sees this message, please reply, so I can figure out what is 
> >> going on… 
> >> 
> >> 
> >> Many thanks! 
> >> 
> >> Ton Kuypers 
> >> 
> >> 
> >> 
> >> ___ 
> >> use-livecode mailing list 
> >> [hidden email]  
> >> Please visit this url to subscribe, unsubscribe and manage your 
> >> subscription preferences: 
> >> http://lists.runrev.com/mailman/listinfo/use-livecode 
> >> 
> > 
> > 
> > ___ 
> > use-livecode mailing list 
> > [hidden email]  
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences: 
> > http://lists.runrev.com/mailman/listinfo/use-livecode 
> > 
> 
> ___ 
> use-livecode mailing list 
> [hidden email]  
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences: 
> http://lists.runrev.com/mailman/listinfo/use-livecode 
>  
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://runtime-revolution.278305.n4.nabble.com/Does-anyone-see-this-message-tp4705900p4705905.html
>  
> 
> To start a new topic under Revolution - User, email 
> ml-node+s278305n278306...@n4.nabble.com 
> To unsubscribe from Revolution - User, click here 
> .
> NAML 
> 


pt4u-3.jpg (9K) 





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Does-anyone-see-this-message-tp4705900p4705906.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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: Does anyone see this message?

2016-06-18 Thread Jerry Jensen
Hmm. I do see my posts. Is this a gmail thing? I send and receive through 
Dreamhost. Sending or receiving from my own servers also works the same.
.Jerry

> On Jun 18, 2016, at 11:16 AM, Colin Holgate  wrote:
> 
> In this list you don’t see your own messages.
> 
> 
>> On Jun 18, 2016, at 2:15 PM, tkuyp...@telenet.be 
>>  wrote:
>> 
>> I’ve posted a few messages the last couple of weeks, but although I see a 
>> lot of other messages posted to this list, I don’t see my own messages…
>> 
>> If anyone sees this message, please reply, so I can figure out what is going 
>> on…
>> 
>> 
>> Many thanks!
>> 
>> Ton Kuypers
>> 
>> 
>> 
>> ___
>> 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
> 
> 
> ___
> 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


___
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

JSON not working in Standalones?

2016-06-18 Thread tkuyp...@telenet.be
Hi,

I have a question about JSON, or maybe a bug...

1 field to enter a zip-code of a city.
The code in this field: 

on closeField
   put "http://www.opzoeken-postcode.be/.json 
" into vURL
   replace "" with the text of me in vURL
   put JSONToArray(url vURL) into tCities
   put 0 into vCounter
   repeat for each element vCity in tCities
  add 1 to vCounter
  put tCities[vCounter][Postcode][postcode_deelgemeente] & tab after vCities
  put tCities[vCounter][Postcode][naam_deelgemeente] & cr after vCities
   end repeat
   if last char of vCities = numToChar(13) then delete last char of vCities
   if last char of vCities = numToChar(10) then delete last char of vCities
   set the itemdel to tab
   if the num of lines of vCities = 1 then
  put item 2 of vCities into fld "City"
   else
  put vCities into fld "Cities"
   show fld "Cities"
   end if
end closeField

This will place a list of cities and zipcodes into another field.

The function taken from the documentation:

function JSONToArray pJSON
   local tArray,tKeys
   repeat for each line tKey in mergJSONDecode(pJSON,"tArray")
  put JSONToArray(tArray[tKey]) into tArray[tKey]
   end repeat
   return tArray
end JSONToArray


When you enter a Belgian zip-code like 3500, it will return a list of cities, 
when you enter 2400 it will return only one city.
At least in the IDE it does, when creating a standalone, nothing happens.

I’ve tried this in LC 8.0.0, 8.0.1 (rc 1), 8.0.1, 8.0.2 (rc 1), 8.0.1 (rc 2) 
and 8.1.0 (dp 1).
In all but  8.1.0 (dp 1) I’ve included all extensions, in 8.1.0 (dp 1) the new 
“Inclusions”-tab in the standalone settings is disabled, so I can’t select 
anything there.

Am I missing something?


Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
www.publishingtools4u.com 






Met vriendelijke groeten,

Ton Kuypers



___
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: Does anyone see this message?

2016-06-18 Thread Ton Kuypers
Strange… But happy to see my messages at least get read by other people :-)


Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
www.publishingtools4u.com





> On 18 jun. 2016, at 19:36, Colin Holgate-3 [via Runtime Revolution] 
>  wrote:
> 
> In this list you don’t see your own messages. 
> 
> 
> > On Jun 18, 2016, at 2:15 PM, [hidden email] 
> >  <[hidden email] 
> > > wrote: 
> > 
> > I’ve posted a few messages the last couple of weeks, but although I see a 
> > lot of other messages posted to this list, I don’t see my own messages… 
> > 
> > If anyone sees this message, please reply, so I can figure out what is 
> > going on… 
> > 
> > 
> > Many thanks! 
> > 
> > Ton Kuypers 
> > 
> > 
> > 
> > ___ 
> > use-livecode mailing list 
> > [hidden email]  
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences: 
> > http://lists.runrev.com/mailman/listinfo/use-livecode 
> > 
> 
> ___ 
> use-livecode mailing list 
> [hidden email]  
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences: 
> http://lists.runrev.com/mailman/listinfo/use-livecode 
>  
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://runtime-revolution.278305.n4.nabble.com/Does-anyone-see-this-message-tp4705900p4705901.html
>  
> 
> To start a new topic under Revolution - User, email 
> ml-node+s278305n278306...@n4.nabble.com 
> To unsubscribe from Revolution - User, click here 
> .
> NAML 
> 


pt4u-3.jpg (9K) 





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Does-anyone-see-this-message-tp4705900p4705903.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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: Slightly OT: Exam results for students using LiveCode in Norway

2016-06-18 Thread Kevin Miller
This is great news Tore. We have seen similarly good results here in Scotland. 

Richmond, it can be done. LC has become something of a standard here in, it is 
in the main textbook and exams. 

Sent from my iPhone

> On 18 Jun 2016, at 19:03, Richmond  wrote:
> 
> I only wish I could persuade the Ministry of Education of that in Bulgaria 
> (here 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 
>> technology” in Norwegian Upper Secondary schools are now in. I am happy to 
>> say that my students scored well in their exams, with an average of 4.4 out 
>> of 6 for all students who had to either sit through the national written 
>> exam or the local oral/practical exam assessed by external teacher.
>> 
>> 60% of the students scored 5 or better, which puts them at the top of the 
>> scale. Compared to last years national results, the overall average would 
>> put our school at a fine top 6 spot nationally. With a top 5 spot for the 
>> national written exam and a top 6 spot for the oral/practical exam.
>> 
>> These results are unprecedented at our school, and in my opinion, very much 
>> a result of our choice to use LiveCode as our programming environment.
> 
> The next sentence says exactly what is so good about Livecode from a 
> pedagogical point of view.
> 
>>  Due to the nature of LiveCode we have been able to focus on the principles 
>> behind good coding, and use both time and resources to become better at 
>> problem solving rather than to learn the intricacies of a specialised 
>> programming language.
> 
> 
>> As far as I know, we are the only school in Norway to use LiveCode as the 
>> preferred tool in this subject.
>> 
>> On behalf of my students, I am very 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, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> 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


___
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: Does anyone see this message?

2016-06-18 Thread Colin Holgate
In this list you don’t see your own messages.


> On Jun 18, 2016, at 2:15 PM, tkuyp...@telenet.be 
>  wrote:
> 
> I’ve posted a few messages the last couple of weeks, but although I see a lot 
> of other messages posted to this list, I don’t see my own messages…
> 
> If anyone sees this message, please reply, so I can figure out what is going 
> on…
> 
> 
> Many thanks!
> 
> Ton Kuypers
> 
> 
> 
> ___
> 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


___
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

Does anyone see this message?

2016-06-18 Thread tkuyp...@telenet.be
I’ve posted a few messages the last couple of weeks, but although I see a lot 
of other messages posted to this list, I don’t see my own messages…

If anyone sees this message, please reply, so I can figure out what is going on…


Many thanks!

Ton Kuypers



___
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: Slightly OT: Exam results for students using LiveCode in Norway

2016-06-18 Thread Tore Nilsen
Luckily we enjoy a fair degree of freedom, as long as we can reach the 
competence aims in the national curriculum.

Tore

> 18. jun. 2016 kl. 20.03 skrev Richmond :
> 
> I only wish I could persuade the Ministry of Education of that in Bulgaria 
> (here 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 
>> technology” in Norwegian Upper Secondary schools are now in. I am happy to 
>> say that my students scored well in their exams, with an average of 4.4 out 
>> of 6 for all students who had to either sit through the national written 
>> exam or the local oral/practical exam assessed by external teacher.
>> 
>> 60% of the students scored 5 or better, which puts them at the top of the 
>> scale. Compared to last years national results, the overall average would 
>> put our school at a fine top 6 spot nationally. With a top 5 spot for the 
>> national written exam and a top 6 spot for the oral/practical exam.
>> 
>> These results are unprecedented at our school, and in my opinion, very much 
>> a result of our choice to use LiveCode as our programming environment.
> 
> The next sentence says exactly what is so good about Livecode from a 
> pedagogical point of view.
> 
>>  Due to the nature of LiveCode we have been able to focus on the principles 
>> behind good coding, and use both time and resources to become better at 
>> problem solving rather than to learn the intricacies of a specialised 
>> programming language.
> 
> 
>> As far as I know, we are the only school in Norway to use LiveCode as the 
>> preferred tool in this subject.
>> 
>> On behalf of my students, I am very 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, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> 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


___
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: Slightly OT: Exam results for students using LiveCode in Norway

2016-06-18 Thread Richmond
I only wish I could persuade the Ministry of Education of that in 
Bulgaria (here 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 
technology” in Norwegian Upper Secondary schools are now in. I am happy to say 
that my students scored well in their exams, with an average of 4.4 out of 6 
for all students who had to either sit through the national written exam or the 
local oral/practical exam assessed by external teacher.

60% of the students scored 5 or better, which puts them at the top of the 
scale. Compared to last years national results, the overall average would put 
our school at a fine top 6 spot nationally. With a top 5 spot for the national 
written exam and a top 6 spot for the oral/practical exam.

These results are unprecedented at our school, and in my opinion, very much a 
result of our choice to use LiveCode as our programming environment.


The next sentence says exactly what is so good about Livecode from a 
pedagogical point of view.



  Due to the nature of LiveCode we have been able to focus on the principles 
behind good coding, and use both time and resources to become better at problem 
solving rather than to learn the intricacies of a specialised programming 
language.




As far as I know, we are the only school in Norway to use LiveCode as the 
preferred tool in this subject.

On behalf of my students, I am very 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, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
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: Slightly OT: Exam results for students using LiveCode in Norway

2016-06-18 Thread Mark Wieder

On 06/18/2016 10:17 AM, Tore Nilsen wrote:

The results from national and local exams in the subject “Information 
technology” in Norwegian Upper Secondary schools are now in. I am happy to say 
that my students scored well in their exams, with an average of 4.4 out of 6 
for all students who had to either sit through the national written exam or the 
local oral/practical exam assessed by external teacher.

60% of the students scored 5 or better, which puts them at the top of the 
scale. Compared to last years national results, the overall average would put 
our school at a fine top 6 spot nationally. With a top 5 spot for the national 
written exam and a top 6 spot for the oral/practical exam.

These results are unprecedented at our school, and in my opinion, very much a 
result of our choice to use LiveCode as our programming environment. Due to the 
nature of LiveCode we have been able to focus on the principles behind good 
coding, and use both time and resources to become better at problem solving 
rather than to learn the intricacies of a specialised programming language. As 
far as I know, we are the only school in Norway to use LiveCode as the 
preferred tool in this subject.

On behalf of my students, I am very happy with the results, and I very much 
look forward to teach programming with LiveCode to yet another group of 
students next year.


Wow! Congratulations to you and to your students.
And to the LiveCode team as well, for setting the stage for this to happen.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
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

Slightly OT: Exam results for students using LiveCode in Norway

2016-06-18 Thread Tore Nilsen
The results from national and local exams in the subject “Information 
technology” in Norwegian Upper Secondary schools are now in. I am happy to say 
that my students scored well in their exams, with an average of 4.4 out of 6 
for all students who had to either sit through the national written exam or the 
local oral/practical exam assessed by external teacher. 

60% of the students scored 5 or better, which puts them at the top of the 
scale. Compared to last years national results, the overall average would put 
our school at a fine top 6 spot nationally. With a top 5 spot for the national 
written exam and a top 6 spot for the oral/practical exam.

These results are unprecedented at our school, and in my opinion, very much a 
result of our choice to use LiveCode as our programming environment. Due to the 
nature of LiveCode we have been able to focus on the principles behind good 
coding, and use both time and resources to become better at problem solving 
rather than to learn the intricacies of a specialised programming language. As 
far as I know, we are the only school in Norway to use LiveCode as the 
preferred tool in this subject.

On behalf of my students, I am very 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, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Open in...

2016-06-18 Thread Ludovic THEBAULT
And in your app, add  in your stack :

 on urlWakeUp pURL 
mobileBusyIndicatorStart "square", « Importation"
end URLWakeup

This post help me to do this.
http://forums.livecode.com/viewtopic.php?f=75=18775
___
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: Open in...

2016-06-18 Thread Ludovic THEBAULT

> Le 18 juin 2016 à 17:58, Glen Bojsza  a écrit :
> 
> There are many iPad apps that when I receive a particular file via email
> that I am given a choice which app I can open it with.
> 
> My app uses text files and sqlite files and I want the users to be able to
> email their files to others.
> 
> 1. How do you make a LC iOS app so email attachments can be opened?
> 
> 2. How can you script it so a user can select files on their iOS device and
> email them as an attachment?
> 
> I was hoping their would be a video tutorial showing these and how an app
> can check for updates when opened but I have not found any.
> 
> I don't plan to update the app unless new features are added but I do want
> to update the text and database files it uses.
> 
> Given these questions above are there any constraints on what version of LC
> must be used?
> 
> thanks,

Hello,

I’ve done this by modify the settings.xml file in the /tools/Runtime/iOS/Device 
XX folder inside the Livecode app (but it seem we can put a copy of this file 
in the « Copy file » tabs of the standalone settings, but i’ve no tried yet)

here the code i added to the settings.xml file, after the 
"APPL » line :

### : lines personalized 

CFBundleDocumentTypes
   

 CFBundleTypeName
 Description of Your file  
 CFBundleTypeRole
 Viewer
 LSHandlerRank
 Owner
 LSItemContentTypes
 
 com.compagny.nameoftheapp.extension ###
 

 
 UTExportedTypeDeclarations


 UTTypeConformsTo
 
 public.plain-text ### type of file
 public.text ###
 
 UTTypeDescription
 Description of Your file  
 UTTypeIdentifier
  com.compagny.nameoftheapp.extension 
 UTTypeTagSpecification
 
 public.filename-extension
 extension  replace with your extension
 


___
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: Open in...

2016-06-18 Thread Glen Bojsza
Hi Bill,

Thanks for the info but I was looking for the case where a user sends an
regular email from a computer (say from gmail with an database file
attached).

Another user , on their iPad, reads their mail and clicks on the attachment
to download and then once downloaded the user taps the file and it launches
the possible apps that you can use to open it in.

How do you get a LC app on the list of apps to open the downloaded file?

thanks,

Glen
___
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: Open in...

2016-06-18 Thread Earthednet-wp
Glen,
Re sending email with attachments, this may get you started. This page has a 
link to a stack that uses a php cgi to send mail from a server. There are 
probably simpler ways of doing it using the user's own local email system, but 
I needed a solution that would send emails no matter the local computer 
configuration.

http://es.earthednet.org/SoftwareForEducation

Good luck,
Bill

William Prothero
http://es.earthednet.org

> On Jun 18, 2016, at 8:58 AM, Glen Bojsza  wrote:
> 
> There are many iPad apps that when I receive a particular file via email
> that I am given a choice which app I can open it with.
> 
> My app uses text files and sqlite files and I want the users to be able to
> email their files to others.
> 
> 1. How do you make a LC iOS app so email attachments can be opened?
> 
> 2. How can you script it so a user can select files on their iOS device and
> email them as an attachment?
> 
> I was hoping their would be a video tutorial showing these and how an app
> can check for updates when opened but I have not found any.
> 
> I don't plan to update the app unless new features are added but I do want
> to update the text and database files it uses.
> 
> Given these questions above are there any constraints on what version of LC
> must be used?
> 
> thanks,
> 
> Glen
> ___
> 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
___
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


Open in...

2016-06-18 Thread Glen Bojsza
There are many iPad apps that when I receive a particular file via email
that I am given a choice which app I can open it with.

My app uses text files and sqlite files and I want the users to be able to
email their files to others.

1. How do you make a LC iOS app so email attachments can be opened?

2. How can you script it so a user can select files on their iOS device and
email them as an attachment?

I was hoping their would be a video tutorial showing these and how an app
can check for updates when opened but I have not found any.

I don't plan to update the app unless new features are added but I do want
to update the text and database files it uses.

Given these questions above are there any constraints on what version of LC
must be used?

thanks,

Glen
___
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: use LiveCode list

2016-06-18 Thread Richmond

Aye, and if it's "baby" stuff you're after, look no further than here:

https://www.facebook.com/RMLCclasses/

Richmond.

On 18.06.2016 18:03, Richard Gaskin wrote:

Graham Samuel wrote:

> I’m much like Peter. It takes me long enough to keep up with this
> list so I don’t follow the forums. Is this a mistake?

We've entered the phase of growth in which our problem is the very one 
we would most want to have:  there's too much discussion about 
LiveCode around the world for any single person to follow all of it.


This list and the forums are just the two biggest.  We also have some 
social media groups with their own conversations as well:


LinkedIn (also the best place to post LC-related contract and job 
offers by virtue of its 2400+ members):

https://www.linkedin.com/groups/50811

Facebook:
https://www.facebook.com/groups/livecodeusers/

Google Plus:
https://plus.google.com/u/0/communities/109731058120269230218

And of course searching Twitter for hashtag #LiveCode brings up many 
good things from time to time:

https://twitter.com/search?q=%23LiveCode

There's also an IRC channel that Peter Brett set up for us on Freenode:
https://webchat.freenode.net/?channels=#livecode

The Q on Stack Overflow is often enlightening:
http://stackoverflow.com/questions/tagged/livecode?sort=newest

There's even a section for LiveCode on Reddit:
https://www.reddit.com/r/livecode/

And there are some language-specific venues, such as MaxV's Italian 
LiveCode Forum (which includes multi-lingual translation and his blog 
has many very useful goodies, so it's worth visiting no matter what 
language you speak):

http://livecodeitalia.blogspot.it/

For the Spanish speakers among us there's Livecode Latinoamérica on FB:
https://www.facebook.com/groups/livecodela/

There are also countless blogs and other web sites where folks discuss 
LiveCode.


Too much for any one of us to read it all, that's a great problem to 
have.


If you are interested in spending time in the forums, the best way 
I've found to handle the multiple sections and posting volume is to 
just use the New Posts link near the top of the page.  The first time 
you do the list will be long, but subsequent visits will list only new 
posts since you were last there, keeping things tidy and current.





___
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: [OT-ish] WWDC things of interest

2016-06-18 Thread Sannyasin Brahmanathaswami
I would vote this up +10… I am mentoring a very intelligent "newbie" older man 
with a super brain who just started using LC on Windows.

The IDE and various functions are very broken.  That's a horrible 
generalization.. I know… but many things do not work as expected.

If it were not for my encouragement (aka mandate that he work with LC for the 
prototyping we need)  he would have abandoned LC  within a week. So it is not 
only delivery of windows apps + your income, but it goes to adoption of LC as a 
tool by Windows users as well.

BR


From: use-livecode  on behalf of Richard 
Gaskin 
Reply-To: How LiveCode 
Date: Tuesday, June 14, 2016 at 6:17 AM
To: How LiveCode 
Subject: Re: [OT-ish] WWDC things of interest

With all due respect to you and the dev team, I hope that before we pull
them away into new platform-specific features we first tighten up the
loose ends with Windows.
___
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: use LiveCode list

2016-06-18 Thread Richard Gaskin

Graham Samuel wrote:

> I’m much like Peter. It takes me long enough to keep up with this
> list so I don’t follow the forums. Is this a mistake?

We've entered the phase of growth in which our problem is the very one 
we would most want to have:  there's too much discussion about LiveCode 
around the world for any single person to follow all of it.


This list and the forums are just the two biggest.  We also have some 
social media groups with their own conversations as well:


LinkedIn (also the best place to post LC-related contract and job offers 
by virtue of its 2400+ members):

https://www.linkedin.com/groups/50811

Facebook:
https://www.facebook.com/groups/livecodeusers/

Google Plus:
https://plus.google.com/u/0/communities/109731058120269230218

And of course searching Twitter for hashtag #LiveCode brings up many 
good things from time to time:

https://twitter.com/search?q=%23LiveCode

There's also an IRC channel that Peter Brett set up for us on Freenode:
https://webchat.freenode.net/?channels=#livecode

The Q on Stack Overflow is often enlightening:
http://stackoverflow.com/questions/tagged/livecode?sort=newest

There's even a section for LiveCode on Reddit:
https://www.reddit.com/r/livecode/

And there are some language-specific venues, such as MaxV's Italian 
LiveCode Forum (which includes multi-lingual translation and his blog 
has many very useful goodies, so it's worth visiting no matter what 
language you speak):

http://livecodeitalia.blogspot.it/

For the Spanish speakers among us there's Livecode Latinoamérica on FB:
https://www.facebook.com/groups/livecodela/

There are also countless blogs and other web sites where folks discuss 
LiveCode.


Too much for any one of us to read it all, that's a great problem to have.

If you are interested in spending time in the forums, the best way I've 
found to handle the multiple sections and posting volume is to just use 
the New Posts link near the top of the page.  The first time you do the 
list will be long, but subsequent visits will list only new posts since 
you were last there, keeping things tidy and current.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: use LiveCode list

2016-06-18 Thread Graham Samuel
I’m much like Peter. It takes me long enough to keep up with this list so I 
don’t follow the forums. Is this a mistake? I have had an excellent response to 
newbie-style questions here - there’s always something I know nothing about!

Graham


> On 18 Jun 2016, at 04:17, Peter M. Brigham  wrote:
> 
> My impression is that this is different now from the past. I recall loads of 
> questions from beginners a couple years ago. I don't follow the forums (maybe 
> I should check them out) so I was unaware that beginner questions have now 
> migrated there. My mistake.
> 
> -- Peter
> 
> Peter M. Brigham
> pmb...@gmail.com
> 
> 
> On Jun 17, 2016, at 9:39 AM, Sri wrote:
> 
>> It has always been my impression that this list IS for and by advanced users
>> of LiveCode.
>> 
>> While I follow this list, I always ask my questions (which is usually of the
>> Beginner variety) on the Forum.
>> 
>> Regards,
>> Sri
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://runtime-revolution.278305.n4.nabble.com/use-LiveCode-list-tp4705871p4705872.html
>> Sent from the Revolution - User mailing list archive at Nabble.com.
>> 
>> ___
>> 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
> 
> 
> ___
> 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


___
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: SelectedObjectChanged in LC8... Bug?

2016-06-18 Thread FlexibleLearning.com
Now submitted as Bug #17876

Hugh Senior
FLCo


> Hi Hugh,
> 
> 
> FlexibleLearning.com wrote
> > When the "Browse" tool is selected in the UI, any selected objects are
> > deselected and a SelectedObjectChanged message used to be sent. This is
> no
> > longer the case in LC8.
> >
> > I have also tried trapping for a NewTool message, but this is similarly
> > ignored.
> >
> > Any insights, or is this a bug?
> >
> > Hugh Senior
> > FLCo
> 
> I see the same and I consider this a bug. When a selected object changes
it
> should trigger SelectedObjectChanged, no matter why it changed.
> 
> I see the same for the new subscription model, ideSelectedObjectChanged
> does
> not trigger when changing from edit to browse tool, but ideToolChanged
> does.
> 
> 
> put this into a card script and put 1 field on the card
> -
> on openCard
>subscribeCardToMessage
> end openCard
> 
> on subscribeCardToMessage
>ideSubscribe "ideSelectedObjectChanged"
>ideSubscribe "ideToolChanged"
> end subscribeCardToMessage
> 
> on ideToolChanged
>put "toolChanged" && the milliseconds into field 1
> end ideToolChanged
> 
> on ideSelectedObjectChanged
>put "selectedObjectchanged" && the milliseconds into field 1
> end ideSelectedObjectChanged
> -
> 
> Kind regards
> Bernd


___
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: Trigger a javascript function using the browser widget

2016-06-18 Thread paolo mazza
Thank you Hausser,
reading the messages of the list I figured out how to trigger a
javscript function using the Browser widget.
I think there are some lacks in the LC 8 documentation.

However it is quite trivial.
As an example, just use command
 do "liveCode.myJSHandler(add(1,2))" in widget 1
to trigger the javascript function add, provided in the card script
you have  inserted these handlers:

on Opencard
  set the javascriptHandlers of widget "myBrowser" to "myJSHandler"
end Opencard

on myJSHandler pMessage, pValue
   answer pMessage && pValue
end myJSHandler

All the best,
Paolo Mazza



On Fri, Jun 17, 2016 at 10:38 AM, Jacques Hausser
 wrote:
> It’s not obvious, but see to the recent thread “browser widget again” (sorry, 
> no time for a better answer just yet)
>
>> Le 17 juin 2016 à 10:31, paolo mazza  a écrit :
>>
>> Hi all,
>> how can I trigger a javascript function of a web page loaded in the
>> browser widget  using a LC command?
>> I can not find this in the browser widget documentation.
>> All the best,
>> Paolo Mazza
>>
>> ___
>> 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
>
> **
> Prof. Jacques Hausser
> Department of Ecology and Evolution
> Biophore / Sorge
> University of Lausanne
> CH 1015 Lausanne
> please use my private address:
> 6 route de Burtigny
> CH-1269 Bassins
> tel:++ 41 22 366 19 40
> mobile: ++ 41 79 757 05 24
> E-Mail: jacques.haus...@unil.ch
> ***
>
> ___
> 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

___
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

JSON not working in Standalones?

2016-06-18 Thread Ton Kuypers
Hi,

I have a question about JSON, or maybe a bug...

1 field to enter a zip-code of a city.
The code in this field: 

on closeField
   put "http://www.opzoeken-postcode.be/.json; into vURL
   replace "" with the text of me in vURL
   put JSONToArray(url vURL) into tCities
   put 0 into vCounter
   repeat for each element vCity in tCities
  add 1 to vCounter
  put tCities[vCounter][Postcode][postcode_deelgemeente] & tab after vCities
  put tCities[vCounter][Postcode][naam_deelgemeente] & cr after vCities
   end repeat
   if last char of vCities = numToChar(13) then delete last char of vCities
   if last char of vCities = numToChar(10) then delete last char of vCities
   set the itemdel to tab
   if the num of lines of vCities = 1 then
  put item 2 of vCities into fld "City"
   else
  put vCities into fld "Cities"
   show fld "Cities"
   end if
end closeField

This will place a list of cities and zipcodes into another field.

The function taken from the documentation:

function JSONToArray pJSON
   local tArray,tKeys
   repeat for each line tKey in mergJSONDecode(pJSON,"tArray")
  put JSONToArray(tArray[tKey]) into tArray[tKey]
   end repeat
   return tArray
end JSONToArray


When you enter a Belgian zip-code like 3500, it will return a list of cities, 
when you enter 2400 it will return only one city.
At least in the IDE it does, when creating a standalone, nothing happens.

I’ve tried this in LC 8.0.0, 8.0.1 (rc 1), 8.0.1, 8.0.2 (rc 1), 8.0.1 (rc 2) 
and 8.1.0 (dp 1).
In all but  8.1.0 (dp 1) I’ve included all extensions, in 8.1.0 (dp 1) the new 
“Inclusions”-tab in the standalone settings is disabled, so I can’t select 
anything there.

Am I missing something?


Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
www.publishingtools4u.com 





___
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: Widgets don't show in iOS simulator or on iPad?

2016-06-18 Thread Glen Bojsza
Hi Monte,

You were correct!

I figured this out 6 months ago when I did the first app but forgot about
since not doing anything since then.

Thanks.

On Sat, Jun 18, 2016 at 1:10 AM, Monte Goulding  wrote:

> Are they selected in standalone settings? On 8.0.1 that's on the copy
> files pane.
>
> Sent from my iPhone
>
> > On 18 Jun 2016, at 11:45 AM, Glen Bojsza  wrote:
> >
> > Any suggestions?
>
>
> ___
> 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
>
___
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