AW: AW: Where to write application data

2013-06-10 Thread Tiemo Hollmann TB
Thank you Jacqueline for your clear advice!
Tiemo


 -Ursprüngliche Nachricht-
 Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
Auftrag
 von J. Landman Gay
 Gesendet: Freitag, 7. Juni 2013 19:19
 An: How to use LiveCode
 Betreff: Re: AW: Where to write application data
 
 On 6/7/13 7:37 AM, Tiemo Hollmann TB wrote:
  Would /Library/Application
  Support/MyCompany/MyAppBundleID/ also be the best place for 8GB of
  video data, though it aren't prefence files or where would you store
  this kind of data?
 
 Yes, that's where Apple wants you to store that kind of file. Anything the
 app uses should go there.
 
 --
 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


___
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: Works in IDE, doesn't work in standalone (revisited)

2013-06-10 Thread Graham Samuel
Yes, Richard, I really want to do this - it's really the only way forward that 
makes real sense. Unfortunately it is proving difficult, since the design of 
this app (not originally mine) is somewhat convoluted, which means teasing out 
the essentials of the problem (without making it disappear along the way) is 
rather a long process. I suspect that, when I finally do get a repeatable 
sample stack, I will simultaneously be able to see what the problem really is. 
It's just a bit of a slog. Anyway thanks for the interest and I hope to get 
back to the list fairly soon.

Graham


On 10 Jun 2013, at 00:33, Richard Gaskin wrote:

 Graham, do you have or can you conveniently create a reasonably simple stack 
 that illustrates the problem which we can review?
 
 --
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys
 
 ___
 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


AW: AW: Where to write application data

2013-06-10 Thread Tiemo Hollmann TB
Noop, I just realized that the path in the original post was read
specialFolderPath (Home)  ...
So this is again a user based path. What I need is a application based path
like specialFolderPath (asup)  ..., But trying to create a subfolder in
asup I get can't create that directory though I am logged in as an
admin. What do you need to create subfolders in asup?
Tiemo


 -Ursprüngliche Nachricht-
 Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
Auftrag
 von Tiemo Hollmann TB
 Gesendet: Montag, 10. Juni 2013 08:49
 An: 'How to use LiveCode'
 Betreff: AW: AW: Where to write application data
 
 Thank you Jacqueline for your clear advice!
 Tiemo
 
 
  -Ursprüngliche Nachricht-
  Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
 Auftrag
  von J. Landman Gay
  Gesendet: Freitag, 7. Juni 2013 19:19
  An: How to use LiveCode
  Betreff: Re: AW: Where to write application data
 
  On 6/7/13 7:37 AM, Tiemo Hollmann TB wrote:
   Would /Library/Application
   Support/MyCompany/MyAppBundleID/ also be the best place for 8GB of
   video data, though it aren't prefence files or where would you
   store this kind of data?
 
  Yes, that's where Apple wants you to store that kind of file. Anything
  the app uses should go there.
 
  --
  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
 
 
 ___
 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: Works in IDE, doesn't work in standalone (revisited)

2013-06-10 Thread Jan Schenkel
Hi Graham,

Do you reset the templateGraphic before choosing the graphic tool?
Can you check if the lockLocation of the templateGraphic is true by any chance?


We'll get it sorted out, I'm sure :-)

Jan Schenkel.

=
Quartam Reports  PDF Library for LiveCode
www.quartam.com


=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)



 From: Graham Samuel livf...@mac.com
To: How to use LiveCode use-livecode@lists.runrev.com 
Sent: Monday, June 10, 2013 12:08 AM
Subject: Re: Works in IDE, doesn't work in standalone (revisited)
 

Thanks Jacque, it's always good to hear your advice. Sadly in this case, there 
isn't a group in sight, just a card with quite a bunch of images and graphics 
on it already, which just won't let me draw anything else on it. 

I keep devising different tests, but no luck so far. The drawing tools within 
the IDE toolbar seem pretty robust, so I am going to take a look at their 
scripts. I expect (as is so often true) it will turn out to be something quite 
trivial that I've done: but at bottom I still think it's a bug.

I shan't ask the list again, but if light dawns I will come back and explain 
it in case anyone else gets bit.

Graham


___
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: Works in IDE, doesn't work in standalone (revisited)

2013-06-10 Thread Graham Samuel
Thanks for that Jan. I checked the lockLocation of the templateGraphic and it's 
off, as it should be. Anyway the chosen graphic tool works on cards on other 
stacks, just not on the one I want it to work on, so to that extent the 
templateGraphic must be OK. I could go on about this, but I feel honour bound 
not to waste any more bandwidth.

Cheers

Graham


On 10 Jun 2013, at 09:46, Jan Schenkel wrote:

 Hi Graham,
 
 Do you reset the templateGraphic before choosing the graphic tool?
 Can you check if the lockLocation of the templateGraphic is true by any 
 chance?
 
 
 We'll get it sorted out, I'm sure :-)
 
 Jan Schenkel.
 
 =
 Quartam Reports  PDF Library for LiveCode
 www.quartam.com
 
 
 =
 As we grow older, we grow both wiser and more foolish at the same time.  
 (La Rochefoucauld)
 
 
 
 From: Graham Samuel livf...@mac.com
 To: How to use LiveCode use-livecode@lists.runrev.com 
 Sent: Monday, June 10, 2013 12:08 AM
 Subject: Re: Works in IDE, doesn't work in standalone (revisited)
 
 
 Thanks Jacque, it's always good to hear your advice. Sadly in this case, 
 there isn't a group in sight, just a card with quite a bunch of images and 
 graphics on it already, which just won't let me draw anything else on it. 
 
 I keep devising different tests, but no luck so far. The drawing tools 
 within the IDE toolbar seem pretty robust, so I am going to take a look at 
 their scripts. I expect (as is so often true) it will turn out to be 
 something quite trivial that I've done: but at bottom I still think it's a 
 bug.
 
 I shan't ask the list again, but if light dawns I will come back and explain 
 it in case anyone else gets bit.
 
 Graham
 
 
 ___
 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: Works in IDE, doesn't work in standalone (revisited)

2013-06-10 Thread Graham Samuel
Yep

There is just one 'newGraphic' handler, in the script of a mainstack which is 
acting as a library. All it does is log information like the cantSelect of 
objects - logging is just putting text into a field somewhere. When I comment 
it out, the program behaves as before; BUT I also have a 'newTool' handler in 
the same place which makes sure that the cantSelect of the card and some other 
objects is set to false, and the cantModify of the stack is also set to false; 
and if I comment that out, the tool won't even draw the little graphics that it 
was allowing before (although the graphic tool, like the pointer tool, still 
works on another card). So we may be getting somewhere.

Thanks so much for your interest

Graham


On 10 Jun 2013, at 11:29, Jan Schenkel wrote:

 Is there a 'newGraphic' message handler involved by any chance?
 
 
 Jan Schenkel.
 
  
 =
 Quartam Reports  PDF Library for LiveCode
 www.quartam.com
 
 
 =
 As we grow older, we grow both wiser and more foolish at the same time.  
 (La Rochefoucauld)
 
 
 - Original Message -
 From: Graham Samuel livf...@mac.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Cc: 
 Sent: Monday, June 10, 2013 11:24 AM
 Subject: Re: Works in IDE, doesn't work in standalone (revisited)
 
 T hanks for that Jan. I checked the lockLocation of the templateGraphic and 
 it's off, as it should be. Anyway the chosen graphic tool works on cards on 
 other stacks, just not on the one I want it to work on, so to that extent 
 the 
 templateGraphic must be OK. I could go on about this, but I feel honour 
 bound 
 not to waste any more bandwidth.
 
 Cheers
 
 Graham
 
 
 ___
 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: Successful recipe for LC iPhone apps...

2013-06-10 Thread Paul Maguire
Hey Chip.

On 8 Jun 2013, at 01:41, Chipp Walters wrote:
 btw, there have been some mods made lately to altMobileResizer. Just press
 the update button.

Thanks! Your code really helped me get an understanding of how to build my 
first multi-platform res-independent app.

Kind regards,   Paul.
___
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: I'm a Happy Kickstart Camper . . .

2013-06-10 Thread Thomas McGrath III
The runrev.com site is a responsive site that scales to mobile proportions but 
the livecode.com site is not responsive. It's like they hired two different 
companies to build them.

Interesting.

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Jun 9, 2013, at 1:51 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 Richmond-
 
 Sunday, June 9, 2013, 10:42:29 AM, you wrote:
 
 On 06/09/2013 08:36 PM, Colin Holgate wrote:
 Which website?
 
 Probably this one: http://runrev.com/
 
 This one, too.  http://www.livecode.com
 
 -- 
 -Mark Wieder
 mwie...@ahsoftware.net
 
 
 ___
 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: is anyone using FieldTrip Rich Text Editor

2013-06-10 Thread Magicgate Software - Skip Kimpel
Beta 1a here.  Tom, you have a non-beta version???



On Mon, Jun 10, 2013 at 9:23 AM, Thomas McGrath III mcgra...@mac.comwrote:

 I have version 1.0


 -- Tom McGrath III
 http://lazyriver.on-rev.com
 mcgra...@mac.com

 On Jun 9, 2013, at 4:43 PM, Matthias Rebbe 
 matthias_livecode_150...@m-r-d.de wrote:

  Hi Skip,
 
  i am not Tom, but what version do you have? I have here Beta-1a.
 
  I asked Curry what version the most current one is, but did not get an
 precise answer.
 
  The same with SpreadLib.
 
  Purchased both in summer 2012 and never got an update only the first
 beta.
 
  I will think twice in future before paying for just beta software.
 
  Btw: Does anyone have a newer version of SpreadLib than SpreadLib02001
 
  I know Curry had some health problems in the past, so software updates
 could be a problem. But some more information or
  replies to email would have been nice.
 
  Matthias
 
 
  Am 09.06.2013 um 21:50 schrieb Magicgate Software - Skip Kimpel 
 s...@magicgate.com:
 
  What version are you using?
 
 
  On Fri, May 24, 2013 at 8:30 AM, Thomas McGrath III mcgra...@mac.com
 wrote:
 
  I tried using it but I kept getting no such object errors and this
 stack
  is password protected in the script editor. So I am not using it.
 
  -- Tom McGrath III
  http://lazyriver.on-rev.com
  mcgra...@mac.com
 
  On May 24, 2013, at 7:56 AM, Matthias Rebbe 
  matthias_livecode_150...@m-r-d.de wrote:
 
  Hi,
 
  is anyone on list using FieldTrip and would like to answer me some
  questions about the usage?
 
  Right now i am experiencing some strange behaviour:
  1. ftplaceToolbar places the toolbar and a field to the stack
  2. sometimes the toolbar suddenly grays out and is not responsive
  anymore (IDE and standalone)
 
  Is it just me or is anyone else noticing that behaviour?
 
  Did you manage to place only some of the FieldTrip buttons(e.g. size,
  bold, italic, underline)
  to the stack instead of the whole toolbar?
 
  Regards,
 
  Matthias
 
 
  ___
  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

___
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: stuffing a group into a database or other file

2013-06-10 Thread Magicgate Software - Skip Kimpel
Would this be, by chance, be a good case for Andre's *Data Storage Lib?*
**
*SKIP*


On Sun, Jun 9, 2013 at 8:06 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 something like that if it were a BLOB presumably one won't have to
 binary encode...


 On Sun, Jun 9, 2013 at 3:37 PM, Dr. Hawkins doch...@gmail.com wrote:

  On Sun, Jun 9, 2013 at 9:41 AM, stephen barncard 
  stephenrevoluti...@barncard.com wrote:
 
   the copy command can obtain the binary image of any object, which then
   resides in clipboardData[ objects]  and can be  stored as a custom
  property
   or a binary 'blob' for your db
  
 
  So I would I then
 
set the clipboardData[objects] to  revDataFromQuery(,,myDb, SELECT
  myBlob FROM myTable)
pasete
  set the name of it to myGroupName
 
  ?
 
  --
  Dr. Richard E. Hawkins, Esq.
  (702) 508-8462
  ___
  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
 



 --



 Stephen Barncard
 San Francisco Ca. USA

 more about sqb  http://www.google.com/profiles/sbarncar
 ___
 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: is anyone using FieldTrip Rich Text Editor

2013-06-10 Thread Thomas McGrath III
No, inside the plugin stack it says 1.0 but the folder name and test stack says 
beta 1


-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Jun 10, 2013, at 9:52 AM, Magicgate Software - Skip Kimpel 
s...@magicgate.com wrote:

 Beta 1a here.  Tom, you have a non-beta version???
 
 
 
 On Mon, Jun 10, 2013 at 9:23 AM, Thomas McGrath III mcgra...@mac.comwrote:
 
 I have version 1.0
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 mcgra...@mac.com
 
 On Jun 9, 2013, at 4:43 PM, Matthias Rebbe 
 matthias_livecode_150...@m-r-d.de wrote:
 
 Hi Skip,
 
 i am not Tom, but what version do you have? I have here Beta-1a.
 
 I asked Curry what version the most current one is, but did not get an
 precise answer.
 
 The same with SpreadLib.
 
 Purchased both in summer 2012 and never got an update only the first
 beta.
 
 I will think twice in future before paying for just beta software.
 
 Btw: Does anyone have a newer version of SpreadLib than SpreadLib02001
 
 I know Curry had some health problems in the past, so software updates
 could be a problem. But some more information or
 replies to email would have been nice.
 
 Matthias
 
 
 Am 09.06.2013 um 21:50 schrieb Magicgate Software - Skip Kimpel 
 s...@magicgate.com:
 
 What version are you using?
 
 
 On Fri, May 24, 2013 at 8:30 AM, Thomas McGrath III mcgra...@mac.com
 wrote:
 
 I tried using it but I kept getting no such object errors and this
 stack
 is password protected in the script editor. So I am not using it.
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 mcgra...@mac.com
 
 On May 24, 2013, at 7:56 AM, Matthias Rebbe 
 matthias_livecode_150...@m-r-d.de wrote:
 
 Hi,
 
 is anyone on list using FieldTrip and would like to answer me some
 questions about the usage?
 
 Right now i am experiencing some strange behaviour:
 1. ftplaceToolbar places the toolbar and a field to the stack
 2. sometimes the toolbar suddenly grays out and is not responsive
 anymore (IDE and standalone)
 
 Is it just me or is anyone else noticing that behaviour?
 
 Did you manage to place only some of the FieldTrip buttons(e.g. size,
 bold, italic, underline)
 to the stack instead of the whole toolbar?
 
 Regards,
 
 Matthias
 
 
 ___
 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
 
 ___
 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: is anyone using FieldTrip Rich Text Editor

2013-06-10 Thread Curry Kenworthy


Howdy,

The current versions are:

FieldTrip: Beta 1a (Jan 16, 2013)
http://curryk.com/FieldTrip-Beta-1a.zip

SpreadLib: 0.2.001 (Apr 17, 2013)
http://curryk.com/Spreadlib02001.zip

As I mentioned to Matthias, I'll be working on FieldTrip again shortly 
to make a round of changes and look into two issues he brought to my 
attention.


SpreadLib will be reaching 1.0 soon. (The current beta features are 
powerful and equivalent to most 1.0 products, but I like to give 
products beta time and ensure that the gold release is top notch.)


Current focus is the rollout of WordLib 2.0, which is already completed 
and will be showing up on the Marketplace soon!


Best wishes,

Curry K.


___
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: is anyone using FieldTrip Rich Text Editor

2013-06-10 Thread Matthias Rebbe
Curry,

just for your information:

The spreadlib.rev in the Spreadlib02001.zip is dated 30th october 2012 not 17th 
april 2013.

Regards,

Matthias

Am 10.06.2013 um 16:34 schrieb Curry Kenworthy cu...@pair.com:

 
 Howdy,
 
 The current versions are:
 
 FieldTrip: Beta 1a (Jan 16, 2013)
 http://curryk.com/FieldTrip-Beta-1a.zip
 
 SpreadLib: 0.2.001 (Apr 17, 2013)
 http://curryk.com/Spreadlib02001.zip
 
 As I mentioned to Matthias, I'll be working on FieldTrip again shortly to 
 make a round of changes and look into two issues he brought to my attention.
 
 SpreadLib will be reaching 1.0 soon. (The current beta features are powerful 
 and equivalent to most 1.0 products, but I like to give products beta time 
 and ensure that the gold release is top notch.)
 
 Current focus is the rollout of WordLib 2.0, which is already completed and 
 will be showing up on the Marketplace soon!
 
 Best wishes,
 
 Curry K.
 
 
 ___
 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


preparing a stack for printing

2013-06-10 Thread Björnke von Gierke
Hi

I'm trying to print a kind of report, and am weirded out by all the different 
rectangles and widths that are available (printRectangle, printPaperRectangle, 
printPaperSize, printMargins, etc.)

All I want is the printable area, so I can set the width and height of my stack 
to that amount, then print the first card.

It seems that the below lines produce an approximation amount, but it's not 
completely correct. The approach also so weirdly backwards and roundabout! I 
guess my question is, isn't there any way to get the same or a better result 
more easily?

   put item 3 of the printRectangle -  item 1 of the PrintRectangle - item 1 of 
the printMargins - item 3 of the printMargins into myEffectivePrintWidth

   put item 4 of the printRectangle -  item 2 of the PrintRectangle - item 2 of 
the printMargins - item 4 of the printMargins into myEffectivePrintHeight


-- 

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/



___
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: is anyone using FieldTrip Rich Text Editor

2013-06-10 Thread Curry Kenworthy

dated 30th october 2012 not 17th april 2013.


Crikey! FTP reupload date.

CK

___
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: is anyone using FieldTrip Rich Text Editor

2013-06-10 Thread Magicgate Software - Skip Kimpel
So does that mean there is something newer to play with?


On Mon, Jun 10, 2013 at 11:47 AM, Curry Kenworthy cu...@pair.com wrote:

 dated 30th october 2012 not 17th april 2013.


 Crikey! FTP reupload date.

 CK


 __**_
 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-livecodehttp://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: Works in IDE, doesn't work in standalone (revisited)

2013-06-10 Thread Mark Wieder
Graham-

Monday, June 10, 2013, 3:55:41 AM, you wrote:

 There is just one 'newGraphic' handler, in the script of a
 mainstack which is acting as a library. All it does is log
 information like the cantSelect of objects - logging is just putting
 text into a field somewhere. When I comment it out, the program

Are you passing the newGraphic message along after you process it?

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: stuffing a group into a database or other file

2013-06-10 Thread Dr. Hawkins
On Mon, Jun 10, 2013 at 6:58 AM, Magicgate Software - Skip Kimpel 
s...@magicgate.com wrote:

 Would this be, by chance, be a good case for Andre's *Data Storage Lib?*


It doesn't look like it--I'll already be using a database, and providing
updates to client's databases, so I want things to live in those databases,
not extra files.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: is anyone using FieldTrip Rich Text Editor

2013-06-10 Thread Curry Kenworthy

 So does that mean there is something newer to play with?

There will be soon! If a few people would like to try release candidates 
a couple of weeks ahead of official releases, while platform testing and 
documentation/demo changes are still underway, let me know offlist.


WordLib is already out the door, but WordOut, SpreadLib, SpreadOut, 
WordReport, and FieldTrip are all due for updates and/or official 
releases soon. Can't guarantee which one will come first, and I'd like 
to keep private testing to a limited number of people, so best case is 
if you're interested in more than one of the above! If so, just let me 
know which products and which platforms you want to try them on.


Best wishes,

Curry K.

___
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: is anyone using FieldTrip Rich Text Editor

2013-06-10 Thread Matthias Rebbe
Curry,

it´s not the date of the zip file. I meant the date of the file spreadlib.rev 
inside the Zip.

Am 10.06.2013 um 17:47 schrieb Curry Kenworthy cu...@pair.com:

 dated 30th october 2012 not 17th april 2013.
 
 Crikey! FTP reupload date.
 
 CK
 
 ___
 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] What's happening here in Turkey...

2013-06-10 Thread Richmond

On 06/10/2013 03:05 PM, Paul Maguire wrote:

On 9 Jun 2013, at 16:34, Richmond wrote:

  And it must be stopped.

And why, forbye?

Because it's delusional affectation of the highest order. And rather silly. And 
there shall be no silliness here, for this is a place where silliness has no 
abode.


If you think that I am going to apologise that I went to a public school you've 
got
another thing coming.

I went to a private secondary school taught by Jesuit ex-Oxford dons. Wasn't 
too bad - I had the pleasure of being taught Latin and Ancient Greek, unlike 
many of my unfortunate contemporaries, alas.


The fact that most Mummies and Daddies who did not send their little sprogs to 
public school was only because they couldn't stump up
the moolah, or the sprogs were too thick to pass a scholarship exam, or they 
suffered from Tony Benn disease is conveniently overlooked.

To which it is time to cry Top Hole, Old Bean and make the best of the 
advantages God, one's filthy rich parents or a scholarship gave one!

You're making this up 'innit? You're actually sitting in your underpants in a 
council estate in Leith, about to nip out to the local Spar for a Pot Noodle 
for lunch.


No, I'm not; but I am sitting in a top-floor flat in Bulgaria.



'Nuff.
___
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


[OT] Google Drive and Stack Files

2013-06-10 Thread Peter Haworth
Wondering if anyone has used Google drive to store their stack files.

I've had my stack files on Google Drive for quite a while but until the
last few days have always accessed them from the same computer.

Recently, I've been accessing  a stack file from a different computer for ,
with my usual computer powered off.  On the second computer, all looks fine
in my Google Drive folder, but now on my normal computer, I see many
versions of the stack file each with a number in parens after the name, and
the correctly named stack file doesn't have any of the changes I've made in
the last few days.

I'm pretty sure the highest numbered of these files has all the changes
I've made in it so I can recover from this but wondering if anyone can shed
any light on why this might have happened.

Pete
lcSQL Software http://www.lcsql.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


finding hte position in the field when backspaceKey hit

2013-06-10 Thread Dr. Hawkins
I'm handling backspaceKey (and others) in a combobox. by the time it is
hit, another field will be displayed nearby.

After the handler, in which the label is reset (I need the label changed
for handling before giving up control, so I can't pass the message to get
it done), the cursor is placed at the beginning, rather than the end, of
the combobox.

I could assume that the last character was deleted, but is there a way to
store the cursor position in the field, so that I can move it to one
before?  It seems to me that it should be a selectedSomething, or (to my
thinking) a cursor property, but I can't find anything in the ictionary.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: finding hte position in the field when backspaceKey hit

2013-06-10 Thread Devin Asay
On Jun 10, 2013, at 12:43 PM, Dr. Hawkins wrote:

 I'm handling backspaceKey (and others) in a combobox. by the time it is
 hit, another field will be displayed nearby.
 
 After the handler, in which the label is reset (I need the label changed
 for handling before giving up control, so I can't pass the message to get
 it done), the cursor is placed at the beginning, rather than the end, of
 the combobox.
 
 I could assume that the last character was deleted, but is there a way to
 store the cursor position in the field, so that I can move it to one
 before?  It seems to me that it should be a selectedSomething, or (to my
 thinking) a cursor property, but I can't find anything in the dictionary.

Richard,

Did you try the selectedChunk?

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University


___
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


working with unicodeFormattedText

2013-06-10 Thread Dr. Hawkins
I'm still wrapping my head around this.  If I have non-unicode, should I be
able to write,

  put the unicodeFormattedText of fld myField into myData

I'm doing this before working with the database, but I still get

  ERROR:  invalid byte sequence for encoding UTF8: 0xd0 0x20
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: working with unicodeFormattedText

2013-06-10 Thread Dar Scott
That sequence is not really invalid UTF-8.  NUL-SPACE is valid in a strict 
sense, just unlikely.  However, it does look very much like UTF-16BE.  

You need to convert this to UTF-8 using uniDecode().  The property 
unicodeFormattedText will give you UTF-16 in native ordering.

(And unicodeFormattedText will insert extra line-ends.  If you don't want that, 
use unicodeText.)

Dar


On Jun 10, 2013, at 12:49 PM, Dr. Hawkins wrote:

 I'm still wrapping my head around this.  If I have non-unicode, should I be
 able to write,
 
  put the unicodeFormattedText of fld myField into myData
 
 I'm doing this before working with the database, but I still get
 
  ERROR:  invalid byte sequence for encoding UTF8: 0xd0 0x20
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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


Jeffrey Potts

2013-06-10 Thread Mark Schonewille

Jeffrey,

Please contact me. The contact info I have on record is incorrect.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

___
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: preparing a stack for printing

2013-06-10 Thread J. Landman Gay

On 6/10/13 10:24 AM, Björnke von Gierke wrote:

Hi

I'm trying to print a kind of report, and am weirded out by all the
different rectangles and widths that are available (printRectangle,
printPaperRectangle, printPaperSize, printMargins, etc.)

All I want is the printable area, so I can set the width and height
of my stack to that amount, then print the first card.

It seems that the below lines produce an approximation amount, but
it's not completely correct. The approach also so weirdly backwards
and roundabout! I guess my question is, isn't there any way to get
the same or a better result more easily?

put item 3 of the printRectangle -  item 1 of the PrintRectangle -
item 1 of the printMargins - item 3 of the printMargins into
myEffectivePrintWidth

put item 4 of the printRectangle -  item 2 of the PrintRectangle -
item 2 of the printMargins - item 4 of the printMargins into
myEffectivePrintHeight


All printers include areas of the paper that they can't print on. 
Usually that's about a quarter inch on the sides and a half inch at the 
bottom and sometimes the top, but each printer is different. The 
printRectangle gives you the actual area that the printer is capable of 
printing to.


The printMargins add extra space to that area, so you don't want any 
printMargins. Set all the printMargins to zero.


Method One:

If the card objects are not exactly at the edges of the card, then the 
card's blank space will also be added to the printout. If you want 
objects to appear exactly within the printer's available area, place 
card objects at the very edges and top of the card. Usually that means 
you need to make a separate stack just for printing because in the real 
stack it looks bad.


After all that is done, you can just print directly using the 
printRectangle to determine the size the card should be:


   set the rect of this stack to the printRectangle

Set the printing stack's visibility to false so that the user can't see 
it move to the top left of the screen. You'll probably want to rearrange 
the objects at the edges of the newly sized card before printing.


Method Two:

Alternately you can print the card into rect and use the 
printRectangle as the target rect. This won't require a separate 
printing card. That is easier but this method will resize the card 
objects, which may or may not be what you want:


   print this cd from the topLeft of firstObject to the bottomRight of 
lastObject into rect the printRectangle



--
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: working with unicodeFormattedText

2013-06-10 Thread Dr. Hawkins
On Mon, Jun 10, 2013 at 12:37 PM, Dar Scott d...@swcp.com wrote:

 That sequence is not really invalid UTF-8.  NUL-SPACE is valid in a strict
 sense, just unlikely.  However, it does look very much like UTF-16BE.


It came, at some point, from a mac keyboard, hung around in an openoffice
spreadsheet, and now I'm cutting  pasting into a field that processes it.


 You need to convert this to UTF-8 using uniDecode().  The property
 unicodeFormattedText will give you UTF-16 in native ordering.


I tried
 put unidecode(fld newAbrevs, UTF8) into theData

and get the same error.  similarly for

 put unidecode(fld newAbrevs) into theData


(And unicodeFormattedText will insert extra line-ends.  If you don't want
 that, use unicodeText.)


All I really want to do is stay utf8 from start to finish :)

And what's in the DB needs to be directly usable by openoffice and the like
without any pre-processing.

Is there some way that everything pasted in would automatically be
converted from the host system character set (mac/windows/linux) to UTF8?

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Dr. Hawkins
On Mon, Jun 10, 2013 at 12:30 PM, Mike Kerner mikeker...@roadrunner.comwrote:

 Well, now that we are going to get multitasking, I would love to see some
 new tweaks from LC so we can take advantage, like, for example, being able
 to push data updates live, while the device's owner is doing something
 less, umm, productive.


Heck, I'd like even very primitive threading for LC itself, so that I can
update a remote db in the background while the user continues to work,
instead of a potentially multi-second lag.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: finding hte position in the field when backspaceKey hit

2013-06-10 Thread Dr. Hawkins
On Mon, Jun 10, 2013 at 11:49 AM, Devin Asay devin_a...@byu.edu wrote:


 Did you try the selectedChunk?


Yes, but the result is nonsensical:  with bac typed, and hitting
backspace,

   put the selected chunk of btn abrev

yields,

  char 1 to 27 of button 13




-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: working with unicodeFormattedText

2013-06-10 Thread Dar Scott
Try this.

To put a UTF-8 string into the field...
  set the unicodeText of field unicodeText to uniEncode(UTF8String,UTF8)

To get a UTF-8 string from the field...
  put uniDecode(  the unicodeText of field Unicode Text, UTF8  ) into 
UTF8String

I combined two operations into single lines; I hope that doesn't obscure things.

Dar



On Jun 10, 2013, at 2:30 PM, Dr. Hawkins wrote:

 On Mon, Jun 10, 2013 at 12:37 PM, Dar Scott d...@swcp.com wrote:
 
 That sequence is not really invalid UTF-8.  NUL-SPACE is valid in a strict
 sense, just unlikely.  However, it does look very much like UTF-16BE.
 
 
 It came, at some point, from a mac keyboard, hung around in an openoffice
 spreadsheet, and now I'm cutting  pasting into a field that processes it.
 
 
 You need to convert this to UTF-8 using uniDecode().  The property
 unicodeFormattedText will give you UTF-16 in native ordering.
 
 
 I tried
 put unidecode(fld newAbrevs, UTF8) into theData
 
 and get the same error.  similarly for
 
 put unidecode(fld newAbrevs) into theData
 
 
 (And unicodeFormattedText will insert extra line-ends.  If you don't want
 that, use unicodeText.)
 
 
 All I really want to do is stay utf8 from start to finish :)
 
 And what's in the DB needs to be directly usable by openoffice and the like
 without any pre-processing.
 
 Is there some way that everything pasted in would automatically be
 converted from the host system character set (mac/windows/linux) to UTF8?
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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: working with unicodeFormattedText

2013-06-10 Thread Dar Scott
I neglected to explain why.

The short why is that what you get from unicodeText is UTF-16 (16-bit 
characters, mostly) in native byte order, that is, the order the computer 
likes.  Those same characters can be represented in UTF-8, which is nice for 
text that is mostly ASCII, is robust concerning byte-order issues, is efficient 
in memory needs (but not compressed) and yet can represent all of Unicode.  
LiveCode strings (in the current version) are really just byte sequences we 
interpret as characters.  Each Unicode character we rip out of a field is two 
bytes.  

Dar

On Jun 10, 2013, at 2:45 PM, Dar Scott wrote:

 Try this.
 
 To put a UTF-8 string into the field...
  set the unicodeText of field unicodeText to uniEncode(UTF8String,UTF8)
 
 To get a UTF-8 string from the field...
  put uniDecode(  the unicodeText of field Unicode Text, UTF8  ) into 
 UTF8String
 
 I combined two operations into single lines; I hope that doesn't obscure 
 things.
 
 Dar
 
 
 
 On Jun 10, 2013, at 2:30 PM, Dr. Hawkins wrote:
 
 On Mon, Jun 10, 2013 at 12:37 PM, Dar Scott d...@swcp.com wrote:
 
 That sequence is not really invalid UTF-8.  NUL-SPACE is valid in a strict
 sense, just unlikely.  However, it does look very much like UTF-16BE.
 
 
 It came, at some point, from a mac keyboard, hung around in an openoffice
 spreadsheet, and now I'm cutting  pasting into a field that processes it.
 
 
 You need to convert this to UTF-8 using uniDecode().  The property
 unicodeFormattedText will give you UTF-16 in native ordering.
 
 
 I tried
put unidecode(fld newAbrevs, UTF8) into theData
 
 and get the same error.  similarly for
 
put unidecode(fld newAbrevs) into theData
 
 
 (And unicodeFormattedText will insert extra line-ends.  If you don't want
 that, use unicodeText.)
 
 
 All I really want to do is stay utf8 from start to finish :)
 
 And what's in the DB needs to be directly usable by openoffice and the like
 without any pre-processing.
 
 Is there some way that everything pasted in would automatically be
 converted from the host system character set (mac/windows/linux) to UTF8?
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Dar Scott
Perhaps this can be exploited to allow the event model to work better.  Better 
and more messages and callbacks can allow the event model to get things done 
while people are doing other things.  

On the desktop, we might be getting command-line LiveCode back.  This means 
that some tasks can be pushed to a standalone and communication with that is by 
'open process' reads and writes, or by TCP/IP.  

However, I heard somebody mention (dunno who, so this is blatant rumor) that 
development and stacks being tested will be more isolated, perhaps in separate 
threads or processes, and there might be some generalization of that that might 
help.

Overall, my feeling is to let the event model work.  If we find weaknesses 
there, then lets ponder those.  

Dar


On Jun 10, 2013, at 2:31 PM, Dr. Hawkins wrote:

 On Mon, Jun 10, 2013 at 12:30 PM, Mike Kerner 
 mikeker...@roadrunner.comwrote:
 
 Well, now that we are going to get multitasking, I would love to see some
 new tweaks from LC so we can take advantage, like, for example, being able
 to push data updates live, while the device's owner is doing something
 less, umm, productive.
 
 
 Heck, I'd like even very primitive threading for LC itself, so that I can
 update a remote db in the background while the user continues to work,
 instead of a potentially multi-second lag.
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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


Android and iOS embedded fonts used in native browser control…

2013-06-10 Thread Paul Maguire
Hello again.

I can't work this out! I still can't get embedded fonts to display in Android 
native browser. I can get embedded fonts to appear in the UI when I set up UI 
controls. All works fine in iOS.

I stripped almost everything away and have a test stack here:
https://www.dropbox.com/s/7szotykzd9od6sh/AndroidBrowserScrollerFonts.zip

If anyone has 2 mins to take a look and see where I'm going wrong I'd really 
appreciate it. Doing my nut in.

Kind regards,   Paul.
___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Mike Kerner
I'm not immediately as worreid about getting multithreading/multitasking in
LC, because there are ways around that, if necessary.  On mobile, though,
there are significant advantages to having better/more capability while the
app is not in the front.


On Mon, Jun 10, 2013 at 5:06 PM, Dar Scott d...@swcp.com wrote:

 Perhaps this can be exploited to allow the event model to work better.
  Better and more messages and callbacks can allow the event model to get
 things done while people are doing other things.

 On the desktop, we might be getting command-line LiveCode back.  This
 means that some tasks can be pushed to a standalone and communication with
 that is by 'open process' reads and writes, or by TCP/IP.

 However, I heard somebody mention (dunno who, so this is blatant rumor)
 that development and stacks being tested will be more isolated, perhaps in
 separate threads or processes, and there might be some generalization of
 that that might help.

 Overall, my feeling is to let the event model work.  If we find weaknesses
 there, then lets ponder those.

 Dar


 On Jun 10, 2013, at 2:31 PM, Dr. Hawkins wrote:

  On Mon, Jun 10, 2013 at 12:30 PM, Mike Kerner mikeker...@roadrunner.com
 wrote:
 
  Well, now that we are going to get multitasking, I would love to see
 some
  new tweaks from LC so we can take advantage, like, for example, being
 able
  to push data updates live, while the device's owner is doing something
  less, umm, productive.
 
 
  Heck, I'd like even very primitive threading for LC itself, so that I can
  update a remote db in the background while the user continues to work,
  instead of a potentially multi-second lag.
 
 
  --
  Dr. Richard E. Hawkins, Esq.
  (702) 508-8462
  ___
  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




-- 
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: finding hte position in the field when backspaceKey hit

2013-06-10 Thread Dar Scott
I missed some important part of this.  Isn't a combo box a field?  


On Jun 10, 2013, at 2:35 PM, Dr. Hawkins wrote:

 On Mon, Jun 10, 2013 at 11:49 AM, Devin Asay devin_a...@byu.edu wrote:
 
 
 Did you try the selectedChunk?
 
 
 Yes, but the result is nonsensical:  with bac typed, and hitting
 backspace,
 
   put the selected chunk of btn abrev
 
 yields,
 
  char 1 to 27 of button 13
 
 
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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: Jeffrey Potts

2013-06-10 Thread Potts Jeff
Hi Mark,

Sorry about that, we recently moved.Our new address is
66 Paul St
Picton, Ontario
k0k2t0

613-645-2212


On Mon, Jun 10, 2013 at 3:43 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Jeffrey,

 Please contact me. The contact info I have on record is incorrect.


 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: 
 http://twitter.com/**xtalkprogrammerhttp://twitter.com/xtalkprogrammer
 KvK: 50277553

 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
 spaces. http://www.color-converter.com

 Buy my new book Programming LiveCode for the Real Beginner
 http://qery.us/3fi

 Fill out this survey please
 http://livecodebeginner.**economy-x-talk.com/survey/http://livecodebeginner.economy-x-talk.com/survey/

 __**_
 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-livecodehttp://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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Dar Scott
Whoops, I misunderstood.  Yeah, I agree.  

First, for externals, perhaps, and then some message/callback handlers in 
scripts.  

(I would characterize getting around as a different style or paradigm, 
though.)

Dar

On Jun 10, 2013, at 3:23 PM, Mike Kerner wrote:

 I'm not immediately as worreid about getting multithreading/multitasking in
 LC, because there are ways around that, if necessary.  On mobile, though,
 there are significant advantages to having better/more capability while the
 app is not in the front.
 
 
 On Mon, Jun 10, 2013 at 5:06 PM, Dar Scott d...@swcp.com wrote:
 
 Perhaps this can be exploited to allow the event model to work better.
 Better and more messages and callbacks can allow the event model to get
 things done while people are doing other things.
 
 On the desktop, we might be getting command-line LiveCode back.  This
 means that some tasks can be pushed to a standalone and communication with
 that is by 'open process' reads and writes, or by TCP/IP.
 
 However, I heard somebody mention (dunno who, so this is blatant rumor)
 that development and stacks being tested will be more isolated, perhaps in
 separate threads or processes, and there might be some generalization of
 that that might help.
 
 Overall, my feeling is to let the event model work.  If we find weaknesses
 there, then lets ponder those.
 
 Dar
 
 
 On Jun 10, 2013, at 2:31 PM, Dr. Hawkins wrote:
 
 On Mon, Jun 10, 2013 at 12:30 PM, Mike Kerner mikeker...@roadrunner.com
 wrote:
 
 Well, now that we are going to get multitasking, I would love to see
 some
 new tweaks from LC so we can take advantage, like, for example, being
 able
 to push data updates live, while the device's owner is doing something
 less, umm, productive.
 
 
 Heck, I'd like even very primitive threading for LC itself, so that I can
 update a remote db in the background while the user continues to work,
 instead of a potentially multi-second lag.
 
 
 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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
 
 
 
 
 -- 
 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


___
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: Jeffrey Potts

2013-06-10 Thread Mark Schonewille

Thanks for the reply, Jeff. I replied off-list.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 6/10/2013 23:36, Potts Jeff wrote:

Hi Mark,

Sorry about that, we recently moved.Our new address is





On Mon, Jun 10, 2013 at 3:43 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:


Jeffrey,

Please contact me. The contact info I have on record is incorrect.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: 
http://twitter.com/**xtalkprogrammerhttp://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
spaces. http://www.color-converter.com

Buy my new book Programming LiveCode for the Real Beginner
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.**economy-x-talk.com/survey/http://livecodebeginner.economy-x-talk.com/survey/



___
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: finding hte position in the field when backspaceKey hit

2013-06-10 Thread Dar Scott
This hander in the combo box scripts seems to provide the position before the 
character is actually removed.

on backspaceKey
   put the selectedChunk into field log
   pass backspaceKey
end backspaceKey

However, I have a feeling I don't really understand what you are doing.

Dar


On Jun 10, 2013, at 3:26 PM, Dar Scott wrote:

 I missed some important part of this.  Isn't a combo box a field?  
 
 
 On Jun 10, 2013, at 2:35 PM, Dr. Hawkins wrote:
 
 On Mon, Jun 10, 2013 at 11:49 AM, Devin Asay devin_a...@byu.edu wrote:
 
 
 Did you try the selectedChunk?
 
 
 Yes, but the result is nonsensical:  with bac typed, and hitting
 backspace,
 
  put the selected chunk of btn abrev
 
 yields,
 
 char 1 to 27 of button 13
 
 
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 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: finding hte position in the field when backspaceKey hit

2013-06-10 Thread Dr. Hawkins
On Mon, Jun 10, 2013 at 2:26 PM, Dar Scott d...@swcp.com wrote:

 I missed some important part of this.  Isn't a combo box a field?

It's a button with a field-like-thingy that receives most field
messages.  It's contents, though, are the list of pre-allowed values,
and it's label is what you edit.




--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: working with unicodeFormattedText

2013-06-10 Thread Dr. Hawkins
On Mon, Jun 10, 2013 at 1:52 PM, Dar Scott d...@swcp.com wrote:
 I neglected to explain why.

 The short why is that what you get from unicodeText is UTF-16 (16-bit 
 characters, mostly)
in native byte order, that is, the order the computer likes.  Those same 
characters can be
represented in UTF-8, which is nice for text that is mostly ASCII, is robust 
concerning
byte-order issues, is efficient in memory needs (but not compressed) and yet 
can represent
all of Unicode.  LiveCode strings (in the current version) are really just 
byte sequences we
interpret as characters.  Each Unicode character we rip out of a field is two 
bytes.

UTF-16 opens an entire new can of worms . . .

I want to stay at utf8, and even have a very, very limited use for
that instead of plain ascii.  Curly quotes are nice, and I need things
like ñ for names, and that's it.

Turning things from native to UTF8 on the way to the db will solve
what I need--but I'm not quite clear how to do this (all my
machinations so far have failed), and I'm not clear whether I need to
watch somehow for non native (say, pasted from a webpage), or across a
VM from another operating system.
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: finding hte position in the field when backspaceKey hit

2013-06-10 Thread Dr. Hawkins
On Mon, Jun 10, 2013 at 2:57 PM, Dar Scott d...@swcp.com wrote:
 on backspaceKey
put the selectedChunk into field log
pass backspaceKey
 end backspaceKey

 However, I have a feeling I don't really understand what you are doing.

You are getting a different result than I am, at least if I single-step.

I get something like char 900 to 915 of field 4 as the result of the
selectedChunk.

And what I'm really after is the cursor position, in case someone
clicked their way between characters 3 and 4 and deleted character 3.

Hmm, maybe I could solve this with dispatch backspaceKey to this
card, and then it would go on, remove the character, and come back to
me to handle?  (or would the target change?)

increment recursionLevel, and either pass backspaceKey if not yet
recursed, and handle my own way if recursed?



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: finding hte position in the field when backspaceKey hit

2013-06-10 Thread Mike Bonner
The problem seems to be that since its a combo box, the whole curent line
is considered selected no matter where the cursor is.

IF you put the cursor in the field of the combo box on any line and set
your backspace handler to get the selectedtext it returns the whole line
even if there is no hilite.  The combo box seems pretty limited in some
ways due to its hybrid nature.

You might consider rolling your own.  A field and an option button as a
custom control would probably work, and then you get access to all field
functionality.  I'm sure there are ways, but not sure fighting with the
combobox will ever get you to your destination unless you dig into the
underlying stuff.


On Mon, Jun 10, 2013 at 4:07 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Mon, Jun 10, 2013 at 2:57 PM, Dar Scott d...@swcp.com wrote:
  on backspaceKey
 put the selectedChunk into field log
 pass backspaceKey
  end backspaceKey
 
  However, I have a feeling I don't really understand what you are doing.

 You are getting a different result than I am, at least if I single-step.

 I get something like char 900 to 915 of field 4 as the result of the
 selectedChunk.

 And what I'm really after is the cursor position, in case someone
 clicked their way between characters 3 and 4 and deleted character 3.

 Hmm, maybe I could solve this with dispatch backspaceKey to this
 card, and then it would go on, remove the character, and come back to
 me to handle?  (or would the target change?)

 increment recursionLevel, and either pass backspaceKey if not yet
 recursed, and handle my own way if recursed?



 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462

 ___
 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: finding hte position in the field when backspaceKey hit

2013-06-10 Thread J. Landman Gay

On 6/10/13 5:07 PM, Dr. Hawkins wrote:

On Mon, Jun 10, 2013 at 2:57 PM, Dar Scott d...@swcp.com wrote:

on backspaceKey
put the selectedChunk into field log
pass backspaceKey
end backspaceKey

However, I have a feeling I don't really understand what you are doing.


You are getting a different result than I am, at least if I single-step.

I get something like char 900 to 915 of field 4 as the result of the
selectedChunk.


If you're stepping through in the debugger, the field being referenced 
is the script editor and the selectedchunk is the hilited line you're 
looking at.


Set a breakpoint after you get the selectedchunk to get more accurate 
results.


--
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: working with unicodeFormattedText

2013-06-10 Thread Dar Scott
You don't have to think UTF-16, maybe the why is distracting.  Those lines I 
gave you should work.  

Again...
To put a UTF-8 string into the field...
 set the unicodeText of field unicodeText to uniEncode(UTF8String,UTF8)

To get a UTF-8 string from the field...
 put uniDecode(  the unicodeText of field Unicode Text, UTF8  ) into 
UTF8String

Or, the last one encapsulated in a function...
function utf8FromField s
   return uniDecode( the unicodeText of field s, UTF8 )
end utf8FromField

Dar


On Jun 10, 2013, at 4:02 PM, Dr. Hawkins wrote:

 On Mon, Jun 10, 2013 at 1:52 PM, Dar Scott d...@swcp.com wrote:
 I neglected to explain why.
 
 The short why is that what you get from unicodeText is UTF-16 (16-bit 
 characters, mostly)
 in native byte order, that is, the order the computer likes.  Those same 
 characters can be
 represented in UTF-8, which is nice for text that is mostly ASCII, is robust 
 concerning
 byte-order issues, is efficient in memory needs (but not compressed) and yet 
 can represent
 all of Unicode.  LiveCode strings (in the current version) are really just 
 byte sequences we
 interpret as characters.  Each Unicode character we rip out of a field is 
 two bytes.
 
 UTF-16 opens an entire new can of worms . . .
 
 I want to stay at utf8, and even have a very, very limited use for
 that instead of plain ascii.  Curly quotes are nice, and I need things
 like ñ for names, and that's it.
 
 Turning things from native to UTF8 on the way to the db will solve
 what I need--but I'm not quite clear how to do this (all my
 machinations so far have failed), and I'm not clear whether I need to
 watch somehow for non native (say, pasted from a webpage), or across a
 VM from another operating system.
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 
 ___
 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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 7:23 AM, Mike Kerner wrote:

 I'm not immediately as worreid about getting multithreading/multitasking in
 LC, because there are ways around that, if necessary.  On mobile, though,
 there are significant advantages to having better/more capability while the
 app is not in the front.


Is there some change to background task execution coming on iOS 7 or something? 
FWIW background tasks are already available for LiveCode by deleting the exits 
on suspend key and using one of my cheap externals to start a background task 
;-)

Apple (at least until iOS 6 .. not sure what announcement prompted this 
question) only allow 10 minutes of background execution unless your app suits 
one of the UIBackgroundModes... like a music or accurate location tracking 
app... Given even with that the battery life is appalling I'd be surprised if 
they opened this up...

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: finding hte position in the field when backspaceKey hit

2013-06-10 Thread Mark Wieder
Jacque-

Monday, June 10, 2013, 3:30:43 PM, you wrote:

 If you're stepping through in the debugger, the field being referenced
 is the script editor and the selectedchunk is the hilited line you're
 looking at.

But note that the built-in debugger has a problem dereferencing the
selectedchunk, so ymmv. There's a bug filed in bugzilla on this.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Colin Holgate
There are a number of techniques they're using. Apparently, the OS watches for 
when you tend to use apps, and will keep them updated based on that. Also, if 
you wake up your device for any reason, the OS will make sure that any app that 
needs an update will get it then, while power is on.

I just downloaded iOS 7, will know in a little while how it works with LiveCode 
apps.


On Jun 10, 2013, at 7:20 PM, Monte Goulding mo...@sweattechnologies.com wrote:

 Is there some change to background task execution coming on iOS 7 or 
 something? FWIW background tasks are already available for LiveCode by 
 deleting the exits on suspend key and using one of my cheap externals to 
 start a background task ;-)

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 9:34 AM, Colin Holgate wrote:

 There are a number of techniques they're using. Apparently, the OS watches 
 for when you tend to use apps, and will keep them updated based on that. 
 Also, if you wake up your device for any reason, the OS will make sure that 
 any app that needs an update will get it then, while power is on.

What do you mean by updated?

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Colin Holgate
Suppose you need to know the user's location, you may not get that while the 
device is shut down, or asleep, but if the user turns it on to get the latest 
weather, your LiveCode app would get a location update.

Or something on those lines.


On Jun 10, 2013, at 7:46 PM, Monte Goulding mo...@sweattechnologies.com wrote:

 What do you mean by updated?

___
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


LC Community - Script Limits

2013-06-10 Thread Kay C Lan
To Richard Gaskin,

I'm posting in this public domain as there are clearly far more new LC
users visitng the List and so I felt it appropriate to hilight your
excellent article on the Message Path:

http://www.fourthworld.com/embassy/articles/revolution_message_path.html

Considering Mark Weider's recent revelation that script limits are gone, I
was wondering if you would be updating the article to reflect the current
state of affairs.

Thanks

On Thu, May 2, 2013 at 8:17 AM, Mark Wieder mwie...@ahsoftware.net wrote:


 No. There are no script limits and the limits on the number of frontscripts
 etc have also been removed.


___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Mike Kerner
For those of you at didn't know, ios 7 beta is now available for download
on newer iphones and ipod touches at the beta dev center.




On Monday, June 10, 2013, Colin Holgate wrote:

 Suppose you need to know the user's location, you may not get that while
 the device is shut down, or asleep, but if the user turns it on to get the
 latest weather, your LiveCode app would get a location update.

 Or something on those lines.


 On Jun 10, 2013, at 7:46 PM, Monte Goulding 
 mo...@sweattechnologies.comjavascript:;
 wrote:

  What do you mean by updated?

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com javascript:;
 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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 9:46 AM, Monte Goulding wrote:

 
 On 11/06/2013, at 9:34 AM, Colin Holgate wrote:
 
 There are a number of techniques they're using. Apparently, the OS watches 
 for when you tend to use apps, and will keep them updated based on that. 
 Also, if you wake up your device for any reason, the OS will make sure that 
 any app that needs an update will get it then, while power is on.
 
 What do you mean by updated?

Ah... I see... you are talking about app updates while the OP is talking about 
multitasking. It looks like there are two new UIBackgroundModes which need 
support in the app delegate to work. I'm guessing each will allow the app to 
run for an extra 10 minute interval when invoked.

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 9:54 AM, Colin Holgate wrote:

 Suppose you need to know the user's location, you may not get that while the 
 device is shut down, or asleep, but if the user turns it on to get the latest 
 weather, your LiveCode app would get a location update.

Nope, that's already available... see mergCL.

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Colin Holgate
So far so good. Strangely, I haven't found a way to search for an app, 
Spotlight seems to have gone.

I didn't yet install Xcode 5 to see how LiveCode apps will work. Will do that 
in a while.



On Jun 10, 2013, at 8:00 PM, Mike Kerner mikeker...@roadrunner.com wrote:

 For those of you at didn't know, ios 7 beta is now available for download
 on newer iphones and ipod touches at the beta dev center.

___
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: LC Community - Script Limits

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 9:56 AM, Kay C Lan wrote:

 No. There are no script limits and the limits on the number of frontscripts
 etc have also been removed.

I think that's only for community.

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 10:10 AM, Colin Holgate wrote:

 I didn't yet install Xcode 5 to see how LiveCode apps will work. Will do that 
 in a while.

There won't be any device builds agains the iOS 7 sdk yet in LiveCode so you 
won't need Xcode 5 to test... just build using Xcode 4.6.

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Colin Holgate
It's more the dragging onto my iPhone part that I'm thinking about.


On Jun 10, 2013, at 8:19 PM, Monte Goulding mo...@sweattechnologies.com wrote:

 There won't be any device builds agains the iOS 7 sdk yet in LiveCode so you 
 won't need Xcode 5 to test... just build using Xcode 4.6.

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 10:15 AM, Colin Holgate wrote:

 It's more the dragging onto my iPhone part that I'm thinking about.

Hmm... Xcode organiser should work with all sdks...


--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 10:14 AM, Monte Goulding wrote:

 I'm guessing each will allow the app to run for an extra 10 minute interval 
 when invoked.

OK, was wrong here... looks like you need to retain a completion handler then 
execute it when you're done with the fetch. iOS then recognises if your app 
took a short time and gives your app higher priority when allocating execution 
time... 

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Colin Holgate
I think things are works. I could drag apps onto Xcode to install them ok.



___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Gerry Orkin
Colin

So they install, but are they working ok? I'm tempted to download the iOS 7 
beta but not if my LC apps stop working :)

Gerry



On 11/06/2013, at 10:37 AM, Colin Holgate co...@verizon.net wrote:

 I think things are works. I could drag apps onto Xcode to install them ok.
 
 
 
 ___
 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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Colin Holgate
The thing I tried was laid out for iPad 3, and I could see the the top area on 
iPhone 5, so I think it was working correctly.


On Jun 10, 2013, at 8:58 PM, Gerry Orkin gerry.or...@gmail.com wrote:

 So they install, but are they working ok? I'm tempted to download the iOS 7 
 beta but not if my LC apps stop working :)

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Colin Holgate
Sadly no, you always need the latest Xcode to drag onto the latest iOS.


On Jun 10, 2013, at 8:25 PM, Monte Goulding mo...@sweattechnologies.com wrote:

 Hmm... Xcode organiser should work with all sdks...
 

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Gerry Orkin
Ok, but being cautious - can anyone else confirm that iPhone apps built with LC 
6.x and installed with the xCode 5 beta are working fine on iOS 7?

Cheers

Gerry





On 11/06/2013, at 11:34 AM, Colin Holgate co...@verizon.net wrote:

 The thing I tried was laid out for iPad 3, and I could see the the top area 
 on iPhone 5, so I think it was working correctly.
 
 
 On Jun 10, 2013, at 8:58 PM, Gerry Orkin gerry.or...@gmail.com wrote:
 
 So they install, but are they working ok? I'm tempted to download the iOS 7 
 beta but not if my LC apps stop working :)
 
 ___
 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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 11:35 AM, Colin Holgate wrote:

 Sadly no, you always need the latest Xcode to drag onto the latest iOS.

Maybe that's just for beta... I can't remember the last time I dragged an app 
onto a device though... I have mergTestFlight which builds and puts it on my 
phone via fruitstrap ;-)

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Colin Holgate
I have other similar options, and those do work. It's just Xcode that requires 
you to have the latest version.

On Jun 10, 2013, at 10:13 PM, Monte Goulding mo...@sweattechnologies.com 
wrote:

 Maybe that's just for beta... I can't remember the last time I dragged an 
 app onto a device though... I have mergTestFlight which builds and puts it 
 on my phone via fruitstrap ;-)

___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Colin Holgate
I think I was saying that it does work. Do you have more than one device, I'm 
just using my iPhone 5 on iOS 7.


On Jun 10, 2013, at 9:55 PM, Gerry Orkin gerry.or...@gmail.com wrote:

 Ok, but being cautious - can anyone else confirm that iPhone apps built with 
 LC 6.x and installed with the xCode 5 beta are working fine on iOS 7?

___
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: LC Community - Script Limits

2013-06-10 Thread Dr. Hawkins
On Mon, Jun 10, 2013 at 5:17 PM, Monte Goulding
mo...@sweattechnologies.com wrote:
 I think that's only for community.

That would seem to be a *really* bad idea for the distributed
version--doesn't that encourage creating programs that *cannot* be run
with the commercial version???


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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


returning a result *and* closing the modal stack?

2013-06-10 Thread Dr. Hawkins
I've created my own modal dialog.

I would now like it to return a result.

It seems that these are mutually exlusive, though--both return and
close this stack halt execution.

I could, I suppose, set a custom property, but is there a way to make
the simple way work?

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
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: returning a result *and* closing the modal stack?

2013-06-10 Thread stephen barncard
check out dialogData in the dict


On Mon, Jun 10, 2013 at 7:58 PM, Dr. Hawkins doch...@gmail.com wrote:

 I've created my own modal dialog.

 I would now like it to return a result.

 It seems that these are mutually exlusive, though--both return and
 close this stack halt execution.

 I could, I suppose, set a custom property, but is there a way to make
 the simple way work?

 --
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462

 ___
 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




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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: returning a result *and* closing the modal stack?

2013-06-10 Thread J. Landman Gay
Dr. Hawkins doch...@gmail.com wrote:

I've created my own modal dialog.

I would now like it to return a result.

It seems that these are mutually exlusive, though--both return and
close this stack halt execution.

I could, I suppose, set a custom property, but is there a way to make
the simple way work?

Typically that's what the dialogdata is for.
-- 
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: LC Community - Script Limits

2013-06-10 Thread J. Landman Gay
Dr. Hawkins doch...@gmail.com wrote:

On Mon, Jun 10, 2013 at 5:17 PM, Monte Goulding
mo...@sweattechnologies.com wrote:
 I think that's only for community.

That would seem to be a *really* bad idea for the distributed
version--doesn't that encourage creating programs that *cannot* be run
with the commercial version???

I thought the two versions were identical except for the security code. That 
would mean there are no limits of any kind. I'm pretty sure that's the case.
-- 
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: LC Community - Script Limits

2013-06-10 Thread Monte Goulding

On 11/06/2013, at 12:54 PM, Dr. Hawkins wrote:

 That would seem to be a *really* bad idea for the distributed
 version--doesn't that encourage creating programs that *cannot* be run
 with the commercial version???

Possibly... given I'm the one that asked for it's removal on the vendors list 
before the kickstarter campaign I guess I should defend it. The main reason I 
wanted it removed was for LCServer... more specifically revIgniter relies 
heavily on merge and this change will reduce the head scratching there... 
99.99% of server stuff will just use the GPL version

FWIW I think RunRev should remove it from commercial too.. the whole idea is it 
protects them from someone creating a competing product but given the license 
protects them and it's only a license protecting them from the GPL version 
being used the same way the whole thing is redundant...

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: LC Community - Script Limits

2013-06-10 Thread Monte Goulding
Well... it depends on if there's a different mode_standalone.cpp for commercial 
standalones it's not something I've bothered testing perhaps someone 
wants to build a desktop app with LC 6.0.2 to see what the scriptlimits are?

On 11/06/2013, at 2:06 PM, J. Landman Gay wrote:

 I thought the two versions were identical except for the security code. That 
 would mean there are no limits of any kind. I'm pretty sure that's the case.

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Android and iOS embedded fonts used in native browser control.

2013-06-10 Thread Ralph DiMola
Hmmm... Played with your stack for a while today. Me thinks my QC guy lied
to me. I can't seem to get any fonts except for the standard web fonts to
work. Works in iOS but not Android. I will look at this again
tomorrow.Film at 11

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Paul Maguire
Sent: Monday, June 10, 2013 5:24 PM
To: How to use LiveCode
Subject: Android and iOS embedded fonts used in native browser control.

Hello again.

I can't work this out! I still can't get embedded fonts to display in
Android native browser. I can get embedded fonts to appear in the UI when I
set up UI controls. All works fine in iOS.

I stripped almost everything away and have a test stack here:
https://www.dropbox.com/s/7szotykzd9od6sh/AndroidBrowserScrollerFonts.zip

If anyone has 2 mins to take a look and see where I'm going wrong I'd really
appreciate it. Doing my nut in.

Kind regards,   Paul.
___
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: Multitasking Comes to iOS, Time for LC to make it better

2013-06-10 Thread Gerry Orkin
I wasn't doubting you, but multiple information sources make for safer 
decisions :)

g


On 11/06/2013, at 12:22 PM, Colin Holgate co...@verizon.net wrote:

 I think I was saying that it does work. Do you have more than one device, I'm 
 just using my iPhone 5 on iOS 7.
 
 
 On Jun 10, 2013, at 9:55 PM, Gerry Orkin gerry.or...@gmail.com wrote:
 
 Ok, but being cautious - can anyone else confirm that iPhone apps built 
 with LC 6.x and installed with the xCode 5 beta are working fine on iOS 7?
 
 ___
 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