Re: Application Data

2015-10-28 Thread Peter Bogdanoff
Of course, thanks.


On Oct 28, 2015, at 5:37 PM, Monte Goulding  wrote:

> 
>> On 29 Oct 2015, at 11:22 am, Peter Bogdanoff  wrote:
>> 
>> Monte, with lcVCS, the user of my application would have their file data 
>> saved into a number of folders? Would the users of my runtime need to 
>> install dlls and such?
> 
> I was purely talking about it as an example not an implementation you would 
> directly use.
> 
> Cheers
> 
> Monte
> ___
> 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: recursion limit when creating file list of harddrive

2015-10-28 Thread JB
I improved the mouseUp handler.  Now you can set
the desired level at the top of the handler and you
can launch applications and folders in the finder.

on mouseUp
   put 1 into cNum
   if target = empty then
  answer folder "Pick a folder you want to walk:"
  put it into whatFolder
  set cursor to watch
  put directoryListing(whatFolder,cNum) into target
  exit to top
   end if
   if the controlKey is down and the optionKey is down then
  put empty into target
  exit to top
   end if
   if the controlKey is down and the controlKey is down then
  put word 2 of the clickline into tLine
  put line tLine of target into tLaunch
  launch document tLaunch
  exit to top
   end if
   if the controlKey is down then
  put word 2 of the clickline into tLine
  put line tLine of target into whatFolder
  set itemDel to "/"
  delete last item of whatFolder
  set cursor to watch
  put directoryListing(whatFolder,cNum) into target
  exit to top
   end if
   if the optionKey is down then
  set itemDel to "/"
  sort lines of target descending by last item of each
  exit to top
   end if
   if the commandKey is down then
  set itemDel to "/"
  sort lines of target ascending by last item of each
  exit to top
   end if
   put word 2 of the clickline into tLine
   put line tLine of target into whatFolder
   set cursor to watch
   put directoryListing(whatFolder,cNum) into target
end mouseUp

function directoryListing whatFolder,c
 put whatFolder & cr into R
 set the directory to whatFolder
 if c = 0 or the result is not empty then return R
 put the files into tFileList
 sort tFileList
 replace cr with cr & whatFolder & "/" in tFileList
 put whatFolder & "/" & tFileList & cr after R
 put line 2 to -1 of the folders into tDirList
 sort tDirList
 repeat for each line L in tDirList
   put directoryListing((whatFolder & "/" & L),(c-1)) after R
 end repeat
 return R
end directoryListing
___
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: What is "Open Language"?

2015-10-28 Thread Richard Gaskin

David Bovill wrote:

> I worry more about the speed of adoption of community engagement -
> it's getting better, but I'd like to see (and contribute to more)
> open source library, and documentation efforts.

It's been a slow start, but things are beginning to take shape.

We identified early on that the best work is done in small teams, and 
ideally each community team would have a main contact within the company 
to keep things moving.


We've begun to put together teams for documentation, translation, and 
educational outreach, and soon (fingers crossed) we'll have a section at 
the web site devoted to these teams, giving credit where generously due 
for contributors and team leaders alike along with links to the relevant 
collections of materials and/or forum sections for ongoing discussions 
related to the team's work.


Internally, the company has restructured some of the their roles so 
they're now better able to support such teams.


And you may have noticed the great job Peter Brett has been doing here 
and elsewhere as the main community support leader within the company. 
He's one of their newer hires, having been brought on board just a 
little over a year ago, but he was hired not only for his Linux 
expertise but also his deep understanding of and passion for open source 
process.


Beyond those activities, there's been a lot of great open source 
libraries and tools coming up in the community.  In my last Global Jam 
talk I outlined four of those, and sent links to Peter to be included in 
his next weekly community update.  Some really nice work being done with 
JSON, a graphing/materials management app, and more.


If any of you want to lend a hand with any of the initiatives we have 
going, or want to start a new one, or just bring some attention to a 
cool open source project you're doing in LiveCode, drop a note to me or 
Peter and we'll do what we can to help it along.


--
 Richard Gaskin
 LiveCode Community Manager
 rich...@livecode.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: User Guide: Call for Errata

2015-10-28 Thread Richard Gaskin

Roland Huettmann wrote:
> I find links on LiveCodes web pages to guide pages are broken and user
> guides are not accessible.
>
> The user guide for first deployment on Android is where now? The last
> guide i worked with uses not updated information. I could possibly
> help with that. But would it not have to be updated frequently?
>
> Could all guides receive a date-time stamp and reference to LC
> versions for users to understand their context?
>
> I suggest creating a tester group where each one tests user guides
> frequently, and updates would be frequent as well.

Thank you for your offer to help with the online guides.

My request here was about the User Guide in PDF format included in the 
LiveCode installation.  Please feel free to pass along any errors or 
omissions you may find there.


As for the web-based guides, those are in the process of being migrated 
to GitHub's markdown, and will be posted to the LiveCode repository 
there soon:



In my Community meeting with Fraser Gordon, one of the core team 
developers, he let me know that they're putting together a helpful 
Getting Started with Documentation page for the Github site, and once 
that's in place we can start coordinating community efforts to update 
the many web-based guides along with the Dictionary entries.


Regarding the 404 URLs, yes, with the many changes to their site they've 
had even more broken links than Apple. :)


A few months ago I submitted a request to put redirects in place so 
those links throughout our community can continue to work:



--
 Richard Gaskin
 LiveCode Community Manager
 rich...@livecode.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: Application Data

2015-10-28 Thread Monte Goulding

> On 29 Oct 2015, at 11:22 am, Peter Bogdanoff  wrote:
> 
> Monte, with lcVCS, the user of my application would have their file data 
> saved into a number of folders? Would the users of my runtime need to install 
> dlls and such?

I was purely talking about it as an example not an implementation you would 
directly use.

Cheers

Monte
___
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: User Guide: Call for Errata

2015-10-28 Thread Roland Huettmann
I find links on LiveCodes web pages to guide pages are broken and user
guides are not accessible.

The user guide for first deployment on Android is where now? The last guide
i worked with uses not updated information. I could possibly help with
that. But would it not have to be updated frequently?

Could all guides receive a date-time stamp and reference to LC versions for
users to understand their context?

I suggest creating a tester group where each one tests user guides
frequently, and updates would be frequent as well.

Roland

On Wed, Oct 28, 2015, 14:59 Alejandro Tejada  wrote:

> Hi Richard,
>
> Using Ubuntu, I will review the content and
> instructions using LC 7.1...
>
> and this time, I will not stop when I found
> the first error or incorrect information.
>
> Al
>
> On Tue, 27 Oct 2015
> Richard Gaskin wrote:
>
> > With v8 coming up the User Guide will be completely rewritten, but in
> > the meantime there's interest in having the existing User Guide updated
> > for the remainder of the v7 series.
> >
> > I'm evaluating whether I can make time for this myself, and the scope
> > should make it doable since for this first pass we're only looking for
> > errors and omissions.
> >
> > Some of you have expressed some strong opinions about the User Guide
> > being out of date, so this is your chance to shine:
> >
> > To make sure we cover any errors and omissions you've seen,
> > please send a brief description with the page number to me
> >  at the email address below.
>
> ___
> 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: Application Data

2015-10-28 Thread Peter Bogdanoff
Monte, with lcVCS, the user of my application would have their file data saved 
into a number of folders? Would the users of my runtime need to install dlls 
and such?

David, yes, copying a group back and forth seems simpler. I’m trying to 
understand this concept… So, to save to another file, I could clone the stack, 
delete unwanted groups and what not, and save. To import the controls, I would 
open that stack and copy the cards over, or copy the controls??

On a side note…it seems to be true that because a runtime with the LC engine 
can create a new stacks complete with controls, properties, and scripts, and 
save, open, modify, and interact with it, in essence my runtime application 
becomes a shadow version of LiveCode, and me now a mini-LiveCode mogul?

Peter

On Oct 28, 2015, at 4:18 PM, David Bovill  wrote:

> Cloning a group from one stack to another is very fast?
> 
> On Wednesday, 28 October 2015, Monte Goulding 
> wrote:
> 
>> 
>>> On 29 Oct 2015, at 9:54 am, Peter Bogdanoff > > wrote:
>>> 
>>> Or, any suggestions on saving and reloading descriptive data about the
>> contents of a stack?
>> 
>> Feel free to look at lcVCS source as an example of exporting and importing
>> objects. It’s really not very complicated if you are talking about just one
>> group or something. The complicated parts come when you start dealing with
>> inter-stack dependencies, object IDs and unshared data in shared groups…
>> 
>> Cheers
>> 
>> Monte
>> ___
>> 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: Options for playing mp3 on iOS and any platform (desktop and mobile)

2015-10-28 Thread Roland Huettmann
Also I am very much interested in such functionality playing mp3 (or
whatever other sound format is suitable).

---

If you are interested, please read this more elaborated requirement note
for a language learning app which may seem to be off-topic, but is mainly
used to illustrate a real-world need using sound and video based on an
example, and only then it may become clear what I think should be possible
using multi-media in LiveCode. And maybe it really is possible already
today?

---

I started a language learning app some time ago. I gave up on it as with
some earlier LC versions I had just frequent crashes and thought that the
multimedia-technology may not be as advanced in LiveCode yet.

Also at that time I also gave up because there was no way to easily have
Russian characters displayed together with Roman language characters, or
using files with names in Cyrillic letters. UTF-8 was not available as a
native character set. And all this changed now.

THAT IS A GREAT ACHIEVEMENT with "7-UP" )))

But is the following more sophisticated application something LC would just
be the best tool for?

I work on Windows and Android. I do not have a Mac. But it would be great
to support any LC supported platforms.

- LANGUAGE LEARNING APP

- Basic Requirements: Cross-platform, desktop and mobile

- Plays sound (video) synchronous with text.highlighting phrases and words
which are spoken (either different natural speakers or synthetic voice up
to choice of user). Also user can enter voice (in native or foreign
language.) and do the synchronization of both languages (text and sound).

- User can click on text to hear the associated spoken phrase. App allows
to replay words, phrases etc. as many times as the user wants, and user can
store certain phrases to a library.

So, the player (native or not, or whatever player on given platform) should
be controllable to some degree:

- controlling time scale (allowing to move backward, forward, to any marks
set within a file, and from file to file)
- controlling the level of loudness (which I believe is not a problem).

I know I can track milliseconds and move around using milliseconds. But
with all players on all platforms?

Any other sound (and video) attributes are not as important for such app.

Also it should play snippets of sound (or video) files and combine them if
needed without noticeable delays in loading and playing.

This means, probably sound files (or video files) should generally be local
(on  mobile, on hard disk). Or they should be loaded from anywhere into
memory and be accessible for the language learning lesson.

Basic idea behind: Teacher and students can create their own language
learning lessons, and they can create text and sound and video and drawings
- as they like. They can add any annotations and use any kind of learning
technique.

For example, using this as learning cards or with whatever edutainment
strategy - should be easy to do. It is another level of usefulness which
can be developed on top of basic functionality.

For example: I find it highly interesting and useful to translate foreign
language phrases word by word using an "exact" word-by-word translation
even if such translation is not something one would use for a meaningful
translation.) It is just used to learn how in a foreign language grammar is
used.

Example:
German: Ich gehe heute Abend spazieren.
English literal 1:1 translation: I go today evening walking.
Possible meaningful translation: Today evening I will go for a walk.

The student will grab the way a foreign language mind is constructing the
phrase using the literal translation word-by-word. (The literal translation
does not have to be correct English at all.)

So, the app would play the sound, and together with the sound, exactly
matching words are highlighted in the original language, and also the
literal translation will be highlighted word-by-word, whereby the user
could switch on and off whatever he wants to see.

There are several possible synchronized levels or tracks: Sound tracks with
different voices, pictures track, videos track, original foreign language
text track, text transliteration track, exact word by word translation
track, translation of meaning track, annotations tracks (notes, remarks,
mnemonics, references to further explanations, word forms, etc.).

And many people love to learn when they can create their own
learning-course since then they also learn while creating. It is more fun.
And I am sure, it is more fun for students to CREATE while learning,
instead of just to learn.

Is it possible to do this with LiveCode?

I mean, is it really possible with today's tools available on desktop and
mobile? I am a bit confused reading through comments on this list and
trying the best myself to get the player working the way I conceive it.

Then of course, I am thinking of not only having some fixed text, but be
able visually to move phrases, words etc. around and combine them through
drag-and-drop to be

Re: Options for playing mp3 on iOS

2015-10-28 Thread Roland Huettmann
Also I am very much interested in such functionality playing mp3 (or
whatever other sound format is suitable).

I started a language learning app. I gave up on it as with some earlier LC
versions I had just frequent crashes and thought that the
multimedia-technology may not be as advanced in LiveCode yet.

Also at that time I also gave up because there was no way to easily have
Russian characters displayed together with Roman language characters, or
using files wiith names in Cyrillic letters. UTF-8 was not available as a
native character set. And all this changed now.

THAT IS A GREAT ACHIEVEMENT with "7-UP" )))

But is such more sophisticated application something LC would just be the
best tool for?

I work on Windows and Android. I do not have a Mac. But it would be great
to support any LC supported platforms.

- Basic Requirements: Cross-platform, desktop and mobile

- Plays sound (video) synchronous with text.highlighting phrases and words
which are spoken (either different natural speakers or synthetic voice up
to choice of user). Also user can enter voice (in native or foreign
language.) and do the synchronization of both languages (text and sound).

- User can click on text to hear the associated spoken phrase. App allows
to replay words, phrases etc. as many times as the user wants, and user can
store certain phrases to a library.

So, the player (native or not, or whatever player on given platform) should
be controllable to some degree:

- controlling time scale (allowing to move backward, forward, to any marks
set within a file, and from file to file)
- controlling the level of loudness (which I believe is not a problem).

I know I can track milliseconds and move around using milliseconds. But
with all players on all platforms?

Any other sound (and video) attributes are not as important for such app.

Also it should play snippets of sound (or video) files and combine them if
needed without noticeable delays in loading and playing.

This means, probably sound files (or video files) should generally be local
(on  mobile, on hard disk). Or they should be loaded from anywhere into
memory and be accessible for the language learning lesson.

Basic idea behind: Teacher and students can create their own language
learning lessons, and they can create text and sound and video and drawings
- as they like. They can add any annotations and use any kind of learning
technique.

For example, using this as learning cards or with whatever edutainment
strategy - should be easy to do. It is another level of usefulness which
can be developed on top of basic functionality.

For example: I find it highly interesting and useful to translate foreign
language phrases word by word using an "exact" word-by-word translation
even if such translation is not something one would use for a meaningful
translation.) It is just used to learn how in a foreign language grammar is
used.

Example:
German: Ich gehe heute Abend spazieren.
English literal 1:1 translation: I go today evening walking.
Possible meaningful translation: Today evening I will go for a walk.

The student will grab the way a foreign language mind is constructing the
phrase using the literal translation word-by-word. (The literal translation
does not have to be correct English at all.)

So, the app would play the sound, and together with the sound, exactly
matching words are highlighted in the original language, and also the
literal translation will be highlighted word-by-word, whereby the user
could switch on and off whatever he wants to see.

There are several possible synchronized levels or tracks: Sound tracks with
different voices, pictures track, videos track, original foreign language
text track, text transliteration track, exact word by word translation
track, translation of meaning track, annotations tracks (notes, remarks,
mnemonics, references to further explanations, word forms, etc.).

And many people love to learn when they can create their own
learning-course since then they also learn while creating. It is more fun.
And I am sure, it is more fun for students to CREATE while learning,
instead of just to learn.

Is it possible to do this with LiveCode?

I mean, is it really possible with today's tools available on desktop and
mobile? I am a bit confused reading through comments on this list and
trying the best myself to get the player working the way I conceive it.

Then of course, I am thinking of not only having some fixed text, but be
able visually to move phrases, words etc. around and combine them through
drag-and-drop to become new phrases, or fill empty spaces in a text with
correct (or incorrect) phrases (with incorrect ones the app will bark at
the user)))...Sound (and all else) should still be with such snippets.

One level to work with is how to manage such multimedia data in a database,
and another level is using the functionality available in LiveCode for
display and user input.

Any ideas and comments are highly appreciated ).

First it

What is "Open Language"?

2015-10-28 Thread David Bovill
>From my point of view Open Language is the most important aspect of
LiveCode. Without it on the timeline I would not be using LiveCode today.
I'd be working purely in NodeJS I suspect.

On Tuesday, 27 October 2015, Mark Waddingham > wrote:

> On 2015-10-26 17:36, Richard Gaskin wrote:
>
>> I was merely having fun with some of expectations among the readers
>> here for what Open Language might be used for.
>>
>
> Well, I'm glad you are having fun :P
>
> Personally, I don't mind comma-delimited arguments, and am generally
>> happy with any syntax that let's me get my work done.
>>
>
> Interesting - I suspect that other people might not be quite so 'on board'
> with your attitude towards the importance of English-like syntax to
> LiveCode (and xTalks in general).


I'm one of those :)


> I'm fine with whatever there's budget to provide to let folks explore
>> novel syntax, even more so with your reminder here that Open Language
>> is among the last of the enhancements in queue, long after being able
>> to play a video file on Linux without crashing and other less
>> glamorous but useful things.
>>
>
> Unfortunately, language and features are intertwined. You can't have
> features without a way to access them, and a language with no features is
> useless.


Mark is spot on as far as I can judge in terms of the need and emphasis on
planning long term for the future of the language itself. I beleive that it
is essential that the literate aspects of the programming language are
revitalised, not just because it is what makes the language unique, but
also because it will become increasingly important over time.

As code and coding skills become universally important, taught in every
school, and the basis for a great deal of the functioning of society (and
not just business), a language which is comprehensible (literate) will
become ever more important (and not just in schools).

I worry more about the speed of adoption of community engagement - it's
getting better, but I'd like to see (and contribute to more) open source
library, and documentation efforts.
___
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: Application Data

2015-10-28 Thread David Bovill
Cloning a group from one stack to another is very fast?

On Wednesday, 28 October 2015, Monte Goulding 
wrote:

>
> > On 29 Oct 2015, at 9:54 am, Peter Bogdanoff  > wrote:
> >
> > Or, any suggestions on saving and reloading descriptive data about the
> contents of a stack?
>
> Feel free to look at lcVCS source as an example of exporting and importing
> objects. It’s really not very complicated if you are talking about just one
> group or something. The complicated parts come when you start dealing with
> inter-stack dependencies, object IDs and unshared data in shared groups…
>
> Cheers
>
> Monte
> ___
> 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: Application Data

2015-10-28 Thread Monte Goulding

> On 29 Oct 2015, at 9:54 am, Peter Bogdanoff  wrote:
> 
> Or, any suggestions on saving and reloading descriptive data about the 
> contents of a stack?

Feel free to look at lcVCS source as an example of exporting and importing 
objects. It’s really not very complicated if you are talking about just one 
group or something. The complicated parts come when you start dealing with 
inter-stack dependencies, object IDs and unshared data in shared groups…

Cheers

Monte
___
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


Application Data

2015-10-28 Thread Peter Bogdanoff
Hi,

I’m designing a new application whereby a user creates animation: images, 
buttons, fields, graphics, new cards, etc., are created in my LC runtime using 
the standard LiveCode controls. I will have a palette of tools available to the 
user to do their creative work. The user then saves the file which can be 
reopened by anyone who has my application.

I like the design of Apple’s Pages page layout application where the single 
window is a working area (canvas) for the page you’re working on, an inspector 
area on the right, and a sort of menubar area on the top of the whole thing 
that also has additional tools. As you resize the window a grey backdrop shows 
behind.

I can recreate this in LiveCode pretty easily. However, the stuff in the 
canvas, the working area needs to be saved as a project file outside my 
application to be reloaded again later. It would be great if this was simply a 
stack that is opened and shows in my application window. But I don't see how I 
can “connect” that stack into my application window, so you can drag the window 
around, resize it, work on it, and it is one single window.

The alternative I see is to save data describing each object into an external 
file and recreate the controls and text content when the project file is 
reloaded.

I strongly suspect that someone has done this sort of thing before… Is there a 
way to physically “connect” two stacks together? Or, any suggestions on saving 
and reloading descriptive data about the contents of a stack?

Thanks!

Peter Bogdanoff
UCLA
___
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: Options for playing mp3 on iOS

2015-10-28 Thread Klaus major-k
Hi Ben,

> Am 28.10.2015 um 20:34 schrieb Ben Rubinstein :
> 
> I have a small number of mp3 clips that I want to embed in my app and play on 
> demand.
> 
> I think that I have three choices, but I may be wrong:
>   - audioClip

imported sound clips do not work on mobile, if you mean that.
However: play „path/to/sound.mp3“
does work on mobile.

>   - mobilePlaySoundOnChannel
>   - a player object

player objects are also not supported on mobile.
But you can „mobilecreate“ a „native „player“, although I’m not sure if this is 
only for video?

> Are any of these an out-of-the-box bad idea?  Is one of them a clear leader? 
> Or what are the pros and cons?
> 
> I'm interested in the pros and cons in general; but in this specific case it 
> may be relevant to note:
>   - I don't need to give the user a controller (but don't object to it)

I think the native player object has one.

>   - I do need to be able to programmatically stop the sound
>   - I would like to be able to programatically adjust the volume

„the playloudness“ is also supported on mobile.

> Thanks in advance for all wisdom shared!
> 
> Ben

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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: Windows standalones not closing properly

2015-10-28 Thread J. Landman Gay

It also happens if there are any drivers that weren't closed.

On 10/28/2015 3:45 PM, Magicgate Software - Skip Kimpel wrote:

Nope, no timers pending.  This is consistent across ANY Windows standalone
I create.

SKIP

On Wed, Oct 28, 2015 at 4:32 PM, Richard Gaskin 
wrote:


Skip, do you have any timers pending?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Windows standalones not closing properly

2015-10-28 Thread Roger Eller
Which LC version, and which Windows version?

~Roger
___
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: Windows standalones not closing properly

2015-10-28 Thread Magicgate Software - Skip Kimpel
Nope, no timers pending.  This is consistent across ANY Windows standalone
I create.

SKIP

On Wed, Oct 28, 2015 at 4:32 PM, Richard Gaskin 
wrote:

> Skip, do you have any timers pending?
>
> --
>  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
>
___
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: Windows standalones not closing properly

2015-10-28 Thread Richard Gaskin

Skip, do you have any timers pending?

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


Anyone know where the Guides have gone?

2015-10-28 Thread Ben Rubinstein
Using "Beginners Guide" or "All Guides" launches a browser which redirects to 
http://livecode.com/guides-documentation/, which carries the annoying message:


Guides & Documentation
*Coming Soon* Documentation will be available online soon. For now
you can access all documentation guides through the LiveCode Product

complete with a picture of the menu just used.

Meanwhile on the site footer has a section "Resources", with the top item 
being "Guides", which leads to the page https://livecode.com/resources/guides/ 
- this looks very promising, offering six guides, three with attractive cover 
images:

Beginners-Guide
- a link to a page with a larger image of the guide 'cover'

Developer’s Guide
- this works

Mobile Guide
- 404

LiveCode Server Guide
- 404

Desktop externals
- 404

iOS Externals Guide
- 404

I've reported the 404s, but does anyone know if any of these guides did at one 
point exist, and if so where they might now be found?


Many thanks,

Ben

___
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: Windows standalones not closing properly

2015-10-28 Thread Magicgate Software - Skip Kimpel
Thanks Roger That is the same strategy I have been using as well but
this must be an oversight on LC's side as it is really annoying!

Thanks again,

SKIP

On Wed, Oct 28, 2015 at 4:09 PM, Roger Eller 
wrote:

> I used to see that quite often until I started including this in the stack
> script of the main stack.
>
> on closeStackRequest
>close this stack
>quit
> end closeStackRequest
>
> ~Roger
>
>
> On Wed, Oct 28, 2015 at 4:01 PM, Magicgate Software - Skip Kimpel <
> s...@magicgate.com> wrote:
>
> > Has anybody noticed that when you build a standalone now for Windows, if
> > you click the native "X" to close out the application, it looks like it
> is
> > gone, however it continues to run in the background and has to be killed
> > using the Task Manager?
> >
> > They has been happening for the past few releases and I have ignored it
> and
> > begun to program around it thinking it would be fixed but it continues to
> > be an issue for me.
> >
> > Is anybody else having this issue?
> >
> > SKIP KIMPEL
> > ___
> > 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: Windows standalones not closing properly

2015-10-28 Thread Roger Eller
I used to see that quite often until I started including this in the stack
script of the main stack.

on closeStackRequest
   close this stack
   quit
end closeStackRequest

~Roger


On Wed, Oct 28, 2015 at 4:01 PM, Magicgate Software - Skip Kimpel <
s...@magicgate.com> wrote:

> Has anybody noticed that when you build a standalone now for Windows, if
> you click the native "X" to close out the application, it looks like it is
> gone, however it continues to run in the background and has to be killed
> using the Task Manager?
>
> They has been happening for the past few releases and I have ignored it and
> begun to program around it thinking it would be fixed but it continues to
> be an issue for me.
>
> Is anybody else having this issue?
>
> SKIP KIMPEL
> ___
> 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


Windows standalones not closing properly

2015-10-28 Thread Magicgate Software - Skip Kimpel
Has anybody noticed that when you build a standalone now for Windows, if
you click the native "X" to close out the application, it looks like it is
gone, however it continues to run in the background and has to be killed
using the Task Manager?

They has been happening for the past few releases and I have ignored it and
begun to program around it thinking it would be fixed but it continues to
be an issue for me.

Is anybody else having this issue?

SKIP KIMPEL
___
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: XML Error - No Data To Process

2015-10-28 Thread Magicgate Software - Skip Kimpel
I figured it out: when building the standalone, it was not adding
revsecurity.dll

SKIP

On Wed, Oct 28, 2015 at 3:53 PM, Magicgate Software - Skip Kimpel <
s...@magicgate.com> wrote:

> Good afternoon!
>
> I have an desktop (windows) application that has been running fine for
> about a year.  It is a simple tool that reaches out to an API and retrieves
> some XML back in return.
>
> Today I needed to go in and change an authorization token for it to talk
> properly to the API.  I created the standalone but when running the exe
> file I get:
> "No data to process. Error : xmlerr, bad document id"
>
> It runs fine in on the development side, just not the compiled, executable
> side.  I made sure I had revxml.dll in the externals folder of the
> standalone thinking that was the issue but it wasn't.
>
> Any ideas??
>
> SKIP KIMPEL
>
___
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


XML Error - No Data To Process

2015-10-28 Thread Magicgate Software - Skip Kimpel
Good afternoon!

I have an desktop (windows) application that has been running fine for
about a year.  It is a simple tool that reaches out to an API and retrieves
some XML back in return.

Today I needed to go in and change an authorization token for it to talk
properly to the API.  I created the standalone but when running the exe
file I get:
"No data to process. Error : xmlerr, bad document id"

It runs fine in on the development side, just not the compiled, executable
side.  I made sure I had revxml.dll in the externals folder of the
standalone thinking that was the issue but it wasn't.

Any ideas??

SKIP KIMPEL
___
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


Options for playing mp3 on iOS

2015-10-28 Thread Ben Rubinstein
I have a small number of mp3 clips that I want to embed in my app and play on 
demand.


I think that I have three choices, but I may be wrong:
- audioClip
- mobilePlaySoundOnChannel
- a player object

Are any of these an out-of-the-box bad idea?  Is one of them a clear leader? 
Or what are the pros and cons?


I'm interested in the pros and cons in general; but in this specific case it 
may be relevant to note:

- I don't need to give the user a controller (but don't object to it)
- I do need to be able to programmatically stop the sound
- I would like to be able to programatically adjust the volume

Thanks in advance for all wisdom shared!

Ben

___
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: recursion limit when creating file list of harddrive

2015-10-28 Thread JB
Here is a different mouseUp handler you
can put in a field.

on mouseUp
   if target = empty then
  answer folder "Pick a folder you want to walk:"
  put it into whatFolder
  set cursor to watch
  put directoryListing(whatFolder,2) into target
  exit to top
   end if
   if the controlKey is down and the optionKey is down then
  put empty into target
  exit to top
   end if
   if the controlKey is down then
  put word 2 of the clickline into tLine
  put line tLine of target into whatFolder
  set itemDel to "/"
  delete last item of whatFolder
  set cursor to watch
  put directoryListing(whatFolder,2) into target
  exit to top
   end if
   if the optionKey is down then
  set itemDel to "/"
  sort lines of target descending by last item of each
  exit to top
   end if
   if the commandKey is down then
  set itemDel to "/"
  sort lines of target ascending by last item of each
  exit to top
   end if
   put word 2 of the clickline into tLine
   put line tLine of target into whatFolder
   set cursor to watch
   put directoryListing(whatFolder,2) into target
end mouseUp

function directoryListing whatFolder,c
 put whatFolder & cr into R
 set the directory to whatFolder
 if c = 0 or the result is not empty then return R
 put the files into tFileList
 sort tFileList
 replace cr with cr & whatFolder & "/" in tFileList
 put whatFolder & "/" & tFileList & cr after R
 put line 2 to -1 of the folders into tDirList
 sort tDirList
 repeat for each line L in tDirList
   put directoryListing((whatFolder & "/" & L),(c-1)) after R
 end repeat
 return R
end directoryListing


JB
___
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: recursion limit when creating file list of harddrive

2015-10-28 Thread Michael Doub
When I saw that the output contained both directories and files, adding 
the "/" allows you to

easily know that you are looking at a folder rather than a file.

put directoryListing(whatfolder) into foo
repeat for each line x of foo
if char -1 of x = "/" then
 put x & cr after directoryList
else
 put x & cr after fileList
end if

Given a random path that could be either a directory or a file, is there 
a clever way to tell what you have?


-= Mike


On 10/28/15 10:55 AM, Geoff Canyon wrote:

The trailing "/" is an interesting point. I checked and the "set the
directory" command will happily take a trailing "/" or not, but when you
"put the directory" you get no trailing "/"

Given that, I'd probably leave it as is, and always assume that the
description of a particular directory needs to have the "/" added when
adding a filename or directoryname to it.



___
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: recursion limit when creating file list of harddrive

2015-10-28 Thread JB
Thank you for the info.

JB


> On Oct 28, 2015, at 7:46 AM, Geoff Canyon  wrote:
> 
> Sounds like just the fact that you don't have the scrollbar I used to
> experiment with the depth. The mouseUp code is just for testing -- the
> function is self-contained.
> 
> gc
> 
> On Tue, Oct 27, 2015 at 4:32 PM, JB  wrote:
> 
>> I was not able to get the mouseUp handler to
>> work but I got the function to return a list but it
>> probably not the same list.  I used this.
>> 
>> on mouseUp
>>answer folder "Pick a folder you want to walk:"
>>put it into whatFolder
>>  --put directoryListing(fld "directory",round(the thumbposition of
>> scrollbar "depth")) into field "listing"
>>put directoryListing(whatFolder,2) into fld id 342435
>> end mouseUp
>> 
>> Any suggestions?
>> 
>> JB
>> 
>> 
>> 
>>> On Oct 27, 2015, at 12:43 PM, Michael Doub  wrote:
>>> 
>>> Geoff,
>>> 
>>> I would suggest replacing the first statement of the function with
>>> 
>>> if c is empty then put -1 into c-- set the default to go all the way
>> down
>>> put whatFolder & "/" & cr into R  -- add a "/" to directory output so
>> they are more easily parsed later
>>> 
>>> -= Mike
>>> 
>>> 
>>> On 10/27/15 12:18 PM, Geoff Canyon wrote:
 Revised. Now in function form, with error checking and depth control.
>> You
 can hand in a positive number to get that number of layers deep, or a
 negative number to go all the way down. I tested it on my home directory
 and it came back fine (after some time). I haven't (knowingly) tested
>> with
 unusual characters.
 
 on mouseUp
   put directoryListing(fld "directory",round(the thumbposition of
 scrollbar "depth")) into field "listing"
 end mouseUp
 
 function directoryListing whatFolder,c
   put whatFolder & cr into R
   set the directory to whatFolder
   if c = 0 or the result is not empty then return R
   put the files into tFileList
   sort tFileList
   replace cr with cr & whatFolder & "/" in tFileList
   put whatFolder & "/" & tFileList & cr after R
   put line 2 to -1 of the folders into tDirList
   sort tDirList
   repeat for each line L in tDirList
  put directoryListing((whatFolder & "/" & L),(c-1)) after R
   end repeat
   return R
 end directoryListing
 
 
 On Mon, Oct 26, 2015 at 12:00 AM, Geoff Canyon 
>> wrote:
 
> On Sat, Oct 24, 2015 at 7:28 PM, Matthias Rebbe | M-R-D <
> matthias_livecode_150...@m-r-d.de> wrote:
> 
>> I am using a script snippet which was posted by Scott Rossi to the
>> list
>> and was originally from Geoff Canyon in 2002.
>> http://lists.runrev.com/pipermail/metacard/2002-August/002274.html
>> 
> Man, do I hate looking at my old code...
> 
 ___
 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
> 


___
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: What is "Open Language"?

2015-10-28 Thread Geoff Canyon
Open Language will mean little if it is restricted to synonyms, or if it is
restricted to functions and commands.

gc

On Tue, Oct 27, 2015 at 2:39 PM, Mark Waddingham  wrote:

> On 2015-10-27 19:26, Richmond wrote:
>
>> My tastes are extremely savage: I cannot see anything really wrong
>> with the syntax for anything,
>> and don't see the need for a multiplicity of synonyms.
>>
>
> Well, that's the current state of play - which isn't really the topic of
> conversation here - it is about the future.
>
> So would you be happy if all future functionality of the language were
> implemented as function calls and commands (a la Visual Basic 6)? (This is
> actually a serious question!)
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> ___
> 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: recursion limit when creating file list of harddrive

2015-10-28 Thread Geoff Canyon
For me it made more sense to change the exit value to 1. That way the value
is the number of layers you want *including* the directory you specify. So:

put directoryListing("/Users/gcanyon/Desktop",1)
-- puts /Users/gcanyon/Desktop

That way using either 0 or empty gets the infinite list.

The trailing "/" is an interesting point. I checked and the "set the
directory" command will happily take a trailing "/" or not, but when you
"put the directory" you get no trailing "/"

Given that, I'd probably leave it as is, and always assume that the
description of a particular directory needs to have the "/" added when
adding a filename or directoryname to it. But you could of course go the
other way. Making the function flexible to take a trailing "/" or not would
require something like:

if char -1function directoryListing whatFolder,c
   if char -1 of whatFolder <> "/" then put "/" after whatFolder
   put whatFolder & cr into R
   set the directory to whatFolder
   if c = 1 or the result is not empty then return R
   put the files into tFileList
   sort tFileList
   replace cr with cr & whatFolder in tFileList
   put whatFolder & tFileList & cr after R
   put line 2 to -1 of the folders into tDirList
   sort tDirList
   repeat for each line L in tDirList
  put directoryListing((whatFolder & L),(c-1)) after R
   end repeat
   return R
end directoryListing


On Tue, Oct 27, 2015 at 3:43 PM, Michael Doub  wrote:

> Geoff,
>
> I would suggest replacing the first statement of the function with
>
> if c is empty then put -1 into c-- set the default to go all the way
> down
> put whatFolder & "/" & cr into R  -- add a "/" to directory output so they
> are more easily parsed later
>
> -= Mike
>
>
>
> On 10/27/15 12:18 PM, Geoff Canyon wrote:
>
>> Revised. Now in function form, with error checking and depth control. You
>> can hand in a positive number to get that number of layers deep, or a
>> negative number to go all the way down. I tested it on my home directory
>> and it came back fine (after some time). I haven't (knowingly) tested with
>> unusual characters.
>>
>> on mouseUp
>> put directoryListing(fld "directory",round(the thumbposition of
>> scrollbar "depth")) into field "listing"
>> end mouseUp
>>
>> function directoryListing whatFolder,c
>> put whatFolder & cr into R
>> set the directory to whatFolder
>> if c = 0 or the result is not empty then return R
>> put the files into tFileList
>> sort tFileList
>> replace cr with cr & whatFolder & "/" in tFileList
>> put whatFolder & "/" & tFileList & cr after R
>> put line 2 to -1 of the folders into tDirList
>> sort tDirList
>> repeat for each line L in tDirList
>>put directoryListing((whatFolder & "/" & L),(c-1)) after R
>> end repeat
>> return R
>> end directoryListing
>>
>>
>> On Mon, Oct 26, 2015 at 12:00 AM, Geoff Canyon  wrote:
>>
>> On Sat, Oct 24, 2015 at 7:28 PM, Matthias Rebbe | M-R-D <
>>> matthias_livecode_150...@m-r-d.de> wrote:
>>>
>>> I am using a script snippet which was posted by Scott Rossi to the list
 and was originally from Geoff Canyon in 2002.
 http://lists.runrev.com/pipermail/metacard/2002-August/002274.html

 Man, do I hate looking at my old code...
>>>
>>> ___
>> 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: recursion limit when creating file list of harddrive

2015-10-28 Thread Geoff Canyon
Sounds like just the fact that you don't have the scrollbar I used to
experiment with the depth. The mouseUp code is just for testing -- the
function is self-contained.

gc

On Tue, Oct 27, 2015 at 4:32 PM, JB  wrote:

> I was not able to get the mouseUp handler to
> work but I got the function to return a list but it
> probably not the same list.  I used this.
>
> on mouseUp
> answer folder "Pick a folder you want to walk:"
> put it into whatFolder
>   --put directoryListing(fld "directory",round(the thumbposition of
> scrollbar "depth")) into field "listing"
> put directoryListing(whatFolder,2) into fld id 342435
> end mouseUp
>
> Any suggestions?
>
> JB
>
>
>
> > On Oct 27, 2015, at 12:43 PM, Michael Doub  wrote:
> >
> > Geoff,
> >
> > I would suggest replacing the first statement of the function with
> >
> > if c is empty then put -1 into c-- set the default to go all the way
> down
> > put whatFolder & "/" & cr into R  -- add a "/" to directory output so
> they are more easily parsed later
> >
> > -= Mike
> >
> >
> > On 10/27/15 12:18 PM, Geoff Canyon wrote:
> >> Revised. Now in function form, with error checking and depth control.
> You
> >> can hand in a positive number to get that number of layers deep, or a
> >> negative number to go all the way down. I tested it on my home directory
> >> and it came back fine (after some time). I haven't (knowingly) tested
> with
> >> unusual characters.
> >>
> >> on mouseUp
> >>put directoryListing(fld "directory",round(the thumbposition of
> >> scrollbar "depth")) into field "listing"
> >> end mouseUp
> >>
> >> function directoryListing whatFolder,c
> >>put whatFolder & cr into R
> >>set the directory to whatFolder
> >>if c = 0 or the result is not empty then return R
> >>put the files into tFileList
> >>sort tFileList
> >>replace cr with cr & whatFolder & "/" in tFileList
> >>put whatFolder & "/" & tFileList & cr after R
> >>put line 2 to -1 of the folders into tDirList
> >>sort tDirList
> >>repeat for each line L in tDirList
> >>   put directoryListing((whatFolder & "/" & L),(c-1)) after R
> >>end repeat
> >>return R
> >> end directoryListing
> >>
> >>
> >> On Mon, Oct 26, 2015 at 12:00 AM, Geoff Canyon 
> wrote:
> >>
> >>> On Sat, Oct 24, 2015 at 7:28 PM, Matthias Rebbe | M-R-D <
> >>> matthias_livecode_150...@m-r-d.de> wrote:
> >>>
>  I am using a script snippet which was posted by Scott Rossi to the
> list
>  and was originally from Geoff Canyon in 2002.
>  http://lists.runrev.com/pipermail/metacard/2002-August/002274.html
> 
> >>> Man, do I hate looking at my old code...
> >>>
> >> ___
> >> 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


User Guide: Call for Errata

2015-10-28 Thread Alejandro Tejada
Hi Richard,

Using Ubuntu, I will review the content and
instructions using LC 7.1...

and this time, I will not stop when I found
the first error or incorrect information.

Al

On Tue, 27 Oct 2015
Richard Gaskin wrote:

> With v8 coming up the User Guide will be completely rewritten, but in
> the meantime there's interest in having the existing User Guide updated
> for the remainder of the v7 series.
>
> I'm evaluating whether I can make time for this myself, and the scope
> should make it doable since for this first pass we're only looking for
> errors and omissions.
>
> Some of you have expressed some strong opinions about the User Guide
> being out of date, so this is your chance to shine:
>
> To make sure we cover any errors and omissions you've seen,
> please send a brief description with the page number to me
>  at the email address below.

___
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 Language and stability

2015-10-28 Thread Mike Kerner
I find the text images generated by this thread to be slightly disturbing,
but
http://memestorage.com/_nw/80/45602520.jpg

On Wed, Oct 28, 2015 at 7:03 AM, Kay C Lan  wrote:

> On Tue, Oct 27, 2015 at 11:47 PM, Bob Sneidar  >
> wrote:
>
> >
> > So I guess what I am saying is that I really appreciate the difficulty of
> > what the LC developers have done. I think the real key was to not try and
> > create an entirely new application in the process of refactoring the
> > existing code. Most people have no idea what it takes to write a really
> > robust and functional application, never mind a development environment
> > that can produce one!
> >
> > Thank you for that. I for one am only barely comprehending how
> incomprehensible the entire task is.
>
> As for the mention of cake, I'm surprised that Richmond hasn't assumed that
> RR will be providing yellowcake and then point out that that has a half
> life. The fact that it's 4 billion years is irrelevant to him bemoaning the
> unethical behaviour of promising us cake that they already know has an end
> of life.  ;-)
>
> The assumptions, fantasies and paranoia that crop up every now and then on
> this List is... well... amusing.
>
> With each new announced version of LC that comes out I try to read the list
> of Bugs fixed. I'm always impressed. One statistic that I've never seen,
> and I think would be revealing, would be new Confirmed Bugs vs Bugs Fixed
> since the last release. I guess you'd have to be careful about how the data
> was presented - probably broken down to v7 and v8. Personally I'd expect
> more new Bugs against v8 as it's DP and I wouldn't necessarily see that as
> a bad thing, but the pessimists amongst us are likely to see it as a
> portent to RR nefariously trying to force us all to write code without
> synonyms. ;-)
> ___
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@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 Language and stability

2015-10-28 Thread Kay C Lan
On Tue, Oct 27, 2015 at 11:47 PM, Bob Sneidar 
wrote:

>
> So I guess what I am saying is that I really appreciate the difficulty of
> what the LC developers have done. I think the real key was to not try and
> create an entirely new application in the process of refactoring the
> existing code. Most people have no idea what it takes to write a really
> robust and functional application, never mind a development environment
> that can produce one!
>
> Thank you for that. I for one am only barely comprehending how
incomprehensible the entire task is.

As for the mention of cake, I'm surprised that Richmond hasn't assumed that
RR will be providing yellowcake and then point out that that has a half
life. The fact that it's 4 billion years is irrelevant to him bemoaning the
unethical behaviour of promising us cake that they already know has an end
of life.  ;-)

The assumptions, fantasies and paranoia that crop up every now and then on
this List is... well... amusing.

With each new announced version of LC that comes out I try to read the list
of Bugs fixed. I'm always impressed. One statistic that I've never seen,
and I think would be revealing, would be new Confirmed Bugs vs Bugs Fixed
since the last release. I guess you'd have to be careful about how the data
was presented - probably broken down to v7 and v8. Personally I'd expect
more new Bugs against v8 as it's DP and I wouldn't necessarily see that as
a bad thing, but the pessimists amongst us are likely to see it as a
portent to RR nefariously trying to force us all to write code without
synonyms. ;-)
___
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


AW: AW: What happens when enabling Hi-DPI scaling?

2015-10-28 Thread Tiemo Hollmann TB
Thanks for the detailed explanations!
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Waddingham
Gesendet: Dienstag, 27. Oktober 2015 20:23
An: How to use LiveCode 
Betreff: Re: AW: What happens when enabling Hi-DPI scaling?

On 2015-10-27 14:56, Tiemo Hollmann TB wrote:
> Thanks Mark for jumping in!
> If I understood you correct, things even get crisper and not blurred 
> with Hi-DPI enabled on a Hi-DPI monitor and keep as they are on a 
> standard monitor. So my conclusion would be to enable it always by 
> standard (since it is anyway standard on OS X)

Yes - this is the ideal situation :)

> What could be a reason not to enable Hi-DPI scaling on Windows or with 
> other words, why is it an option?

Ah - well - the APIs we currently use on Windows are a bit of a dinosaur in
terms text rendering. We still use 'GDI' which has the unfortunate problem
that text does not linearly scale.

What this means is that the size of a piece of text rendered with GDI at
scale factor 1.0 is not necessarily the same as the same text rendered at
scale factor 2.0. This is down to the TrueType hinting and other methods it
employs which you cannot actually turn off (this hinting can be quite
aggressive - its goal was to ensure text rendered at low screen resolutions
was still highly readable without anti-aliasing - and tends to alter the
horizontal width to varying degrees for different fonts).

We've not actually managed to find a way to solve this problem 'well' 
yet - particularly as we still have to support XP (given its market share is
still quite considerable!).

So, you do need to check your app in Hi-DPI mode on windows (by adjusting
the text scale factor in settings, as previously mentioned) and make sure it
still looks the way you need it to.

You *can* try and set the 'useIdealLayout' property of the stack if there
are visual problems - this will make the text render in the appropriately
'linearly scalable' way. However, it does have a performance and visual
difference impact - the text will be slightly fuzzier, and will take a
little longer to render.

Hope this helps!

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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