And now, a world without Steve Jobs

2011-10-07 Thread Mark Wieder
Here's the best piece I've seen yet on Steve Jobs' passing:

http://www.sfgate.com/cgi-bin/article.cgi?f=/g/a/2011/10/07/notes100711.DTL

-- 
-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: Jobs Passed Away

2011-10-07 Thread René Micout
Merci Pierre pour ce lien
René

Le 7 oct. 2011 à 01:00, Pierre Sahores a écrit :

 http://www.hexalto.com/blog/hommage-a-steve-jobs/
 
 A 2 mn video as a resume of Steve Jobs innovative creativity in about design, 
 logistics, marketing, ...
 
 + its Stanford's conference translated to french...
 
 Repose en paix, Monsieur Jobs et merci pour tout ce que tu nous a montré des 
 possibles...
 
 Pierre
 
 
 Le 6 oct. 2011 à 22:59, Bob Sneidar a écrit :
 
 Steve showed us how to run a company and enjoy himself while doing it. He 
 approached his work with a dedication and passion rare it seems these days. 
 He has certainly inspired me over the years in a field that would bore most 
 people to tears. May he find himself now in that better place. 
 
 Bob
 
 
 On Oct 5, 2011, at 8:07 PM, Petrides, M.D. Marian wrote:
 
 So, so sad, if not entirely unexpected.  He'll be missed. :-
 
 On Oct 5, 2011, at 6:47 PM, Scott Rossi wrote:
 
 Our local news just broadcast that Steve Jobs passed away recently.  
 Anybody
 else see this news?
 
 Sad, came across a TED talk he apparently gave several years ago:
 http://www.ted.com/talks/steve_jobs_how_to_live_before_you_die.html
 
 End of an era.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 
 
 ___
 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
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.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: And now, a world without Steve Jobs

2011-10-07 Thread René Micout
YES !
Thank you Mark...
René

Le 7 oct. 2011 à 08:02, Mark Wieder a écrit :

 Here's the best piece I've seen yet on Steve Jobs' passing:
 
 http://www.sfgate.com/cgi-bin/article.cgi?f=/g/a/2011/10/07/notes100711.DTL
 
 -- 
 -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: Object Naming Conventions

2011-10-07 Thread René Micout
Mark,
I do almost the same...
René

Le 7 oct. 2011 à 03:03, Mark Wieder a écrit :

 Phil-
 
 Thursday, October 6, 2011, 12:28:38 PM, you wrote:
 
 Here is an excellent starting point:
 http://fourthworld.com/embassy/articles/scriptstyle.html
 
 Go to the Naming Conventions part.
 
 In addition to what's in Richard's writeup I tend to use the following
 conventions. Mostly just a carryover from other development
 environments since they don't really do much, but they tend to trigger
 the same neuron activity so it makes it easier for me to conceptualize
 what I'm doing:
 
 controlprefix   example
 ---
 buttons   : btn : btnSave
 radio buttons : rdo : rdoOption1
 checkboxes: chk : chkShowLineNumbers
 tab buttons   : mnu : mnuMainTabForm
 fields: fld : fldHandlers
 labels: lbl : lblSourceCode
 groups: grp : grpGraphicControls
 
 The only other rule of thumb I have is to keep object names one word
 rather than having spaces in the middle. And of course, that rule,
 like any other rule, was made to be broken when needed.
 
 -- 
 -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


Google maps with custom markers while moving

2011-10-07 Thread Maarten Koopmans
Hi,

Cross-post from forum, but kind of urgent, sorry
Any idea how to achieve this? Some toolkits have a MapView, but I am
clueless on how to do this with LC for iOS.

Any thoughts greatly appreciated!

Cheers, Maarten

___
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: Object Naming Conventions

2011-10-07 Thread Francis Nugent Dixon

Hi from Beautiful Brittany,

Pete, there has been a thread on this subject several
times, but I'm not against seeing it again.

Whatever you do, use a prefix to define ALL your objects,
but find a rule that suits you. Don't use a suffix, I'm
sure you will regret it.

I use a two-letter indicator (but each to his own poison !)
- only 2 letters (CAPS) and not 3, like Mark !

Custom Properties CPxxx
Global Variables  GVxxx
Local Variables   LVXXX
FieldsMyxxx
LabelsLBxxx
Buttons   BTxxx
GroupsGPxxx
Functions DFxxx

I also deliberately use  repeat variables : I, J, K, etc.
(old Fortran rules, but habits die hard !) It also has the
advantage of being crystal-clear !

It may take a little time to adjust to your new rules
but, if you come back to your scripts in 6 months, you
will be glad you invented them.
I agree with Mark about length of names - one word is enough !

Best Regards

-Francis

___
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


New iOS App in Store

2011-10-07 Thread Randy Hengst
Hi All,

I just had my latest app posted in the app store… Forest Alphabet. 

I had made a desktop version about 7-8 years ago and wanted to update it for 
iOS/iPod… and add the capability to draw on the screen. It's the app I was 
working on when I asked the list about brush tools in iOS…. 

I used the code for drawing on the screen that John Craig graciously shared. 
Thank you to John.

Thanks also to Scott Rossi. I used sounds from his tmaudio release. To top it 
off, I used icons from the Centaury Icon Set that was part of the Dec 2008 Rev 
bundle.

While I mostly lurk, I have actually begun to find questions I can answer…. to 
be honest, that's kind of fun. This really is a supportive community. 

Thanks to all on the list. 

be well,
randy
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: use-livecode Digest, Vol 97, Issue 15

2011-10-07 Thread Sergio Schvarstein
Thanks a lot Gerry.

I've tried opening directly the jpg images with a browser control and with the 
autofit option and the zoom works great.  :-)

The problem now is that the pictures are landscape orientated and bigger than 
the browser area, so when I open them they appear top-left aligned and I need 
them to appear horizontally and vertically centered on the iphone screen. 

This is my script:

on preOpenCard
iphoneControlCreate browser
put the result into sBrowserId 
iphoneControlSet sBrowserId, visible, true
   iphoneControlSet sBrowserId, autofit, true
   iphoneControlSet sBrowserId, url, 
http://www.bytebiscuits.com/projects/indexbook/sobreimpresion_01.jpg;  
iphoneControlSet sBrowserId, rect, the rect of group Browser
end preOpenCard

I couldn´t find any option for changing the alignment. 
Is there any way for controlling it or any other way for getting this result ?

__
Sergio Schvarstein

__




El 07/10/2011, a las 05:06, use-livecode-requ...@lists.runrev.com escribió:

 From: Gerry Orkin gerry.or...@gmail.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Re: Photo album
 Message-ID: c10e2e78-1751-4b2c-80f4-92b2cf125...@gmail.com
 Content-Type: text/plain; charset=us-ascii
 
 Use a browser control to display the photos. 
 
 
 Gerry
 
 
 
 On 07/10/2011, at 12:44 PM, Sergio Schvarstein wrote:
 
 Hi,
 
 I need to do exactly what the photo album does on the iPhone and incorporate 
 all 4 gestures on a single image:
 Pinch, zoom, drag and swipe.
 
 I have gone through the multi touch tutorial but the zoom quality is very 
 bad. I need a real zoom, not a pixelated resize.
 
 Is there any for doing it with a native iPhone control ?
 Or any other way ?
 
 Thanks 
 
 
 __
 Sergio Schvarstein
 
 __
 

___
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: Photo album

2011-10-07 Thread Sergio Schvarstein
Thanks a lot Gerry.

I've tried opening directly the jpg images with a browser control and with the 
autofit option and the zoom works great.  :-)

The problem now is that the pictures are landscape orientated and bigger than 
the browser area, so when I open them they appear top-left aligned and I need 
them to appear horizontally and vertically centered on the iphone screen. 

This is my script:

on preOpenCard
iphoneControlCreate browser
put the result into sBrowserId 
iphoneControlSet sBrowserId, visible, true
   iphoneControlSet sBrowserId, autofit, true
   iphoneControlSet sBrowserId, url, 
http://www.bytebiscuits.com/projects/indexbook/sobreimpresion_01.jpg;  
iphoneControlSet sBrowserId, rect, the rect of group Browser
end preOpenCard

I couldn´t find any option for changing the alignment. 
Is there any way for controlling it or any other way for getting this result ?

__
Sergio Schvarstein

__




El 07/10/2011, a las 05:06, use-livecode-requ...@lists.runrev.com escribió:

 From: Gerry Orkin gerry.or...@gmail.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Re: Photo album
 Message-ID: c10e2e78-1751-4b2c-80f4-92b2cf125...@gmail.com
 Content-Type: text/plain; charset=us-ascii
 
 Use a browser control to display the photos. 
 
 
 Gerry
 
 
 
 On 07/10/2011, at 12:44 PM, Sergio Schvarstein wrote:
 
 Hi,
 
 I need to do exactly what the photo album does on the iPhone and incorporate 
 all 4 gestures on a single image:
 Pinch, zoom, drag and swipe.
 
 I have gone through the multi touch tutorial but the zoom quality is very 
 bad. I need a real zoom, not a pixelated resize.
 
 Is there any for doing it with a native iPhone control ?
 Or any other way ?
 
 Thanks 
 
 
 __
 Sergio Schvarstein
 
 __
 
___
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


How to boost LC sales

2011-10-07 Thread dunbarx
True for me, thanks be to Sculley and Atkinson.


Why not have a 30 day free trial of LC bundled with every new Mac and PC? This 
is likely not as easy as it sounds.


Craig Newman


Original messages


From Colin:



  

  
While this is true, it happened to be free during the time that Steve was at 
NeXt.

On Oct 7, 2011, at 4:52 AM, Tony McCoy O'Grady wrote:

 Had HC been a paid-for product at commercial prices, many of us who populated 
 this list over the years would never have found it.__,_._,___

  
 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


rev libraries of the late Mark Smith

2011-10-07 Thread Matthias Rebbe
Hi,

just want to let you know, that i mirrored all the rev libraries the late Mark 
Smith put online. Just to keep sure they do not get lost.

You get the libs at http://www.matthiasrebbe.eu/revstuff/marksmith


Regards,

Matthias Rebbe



___
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: How to boost LC sales

2011-10-07 Thread Mark Schonewille
Hi Craig,

Sure, this is very, very easy. Manufacturers are always willing to include your 
trial software with a new PC, be it in a box or on the pre-installed hard 
disk...

... if you pay enough!

--
Best regards,

Mark Schonewille

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

See what you get with only a small contribution. All our LiveCode downloads are 
listed at http://qery.us/zr

On 7 okt 2011, at 15:27, dunb...@aol.com wrote:

 True for me, thanks be to Sculley and Atkinson.
 
 
 Why not have a 30 day free trial of LC bundled with every new Mac and PC? 
 This is likely not as easy as it sounds.
 
 
 Craig Newman


___
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: And now, a world without Steve Jobs

2011-10-07 Thread Richard Gaskin

Mark Wieder wrote:


Here's the best piece I've seen yet on Steve Jobs' passing:

http://www.sfgate.com/cgi-bin/article.cgi?f=/g/a/2011/10/07/notes100711.DTL


Thanks for that, Mark.

The opening quote from the article says it best:


There may be no greater tribute to Steve Jobs' success than the fact 
that much of the world learned of his passing on a device he invented. 
-Barack Obama



--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: how to compare 2 very large textfiles

2011-10-07 Thread Richard Gaskin

Alex Tweedly wrote:


So I tried the sort + compare version. It is slightly slower than the
array technique up to around 10,000 lines, pretty much the same up to
20,000 lines and then (sometimes) starts to edge ahead after that. I
gave up trying at 40,000 lines :-)

But if the data had been sorted already, or had to be sorted for some
other reason, then it would be roughly twice as quick as the array method.


Very useful to know.  Thanks for taking the time to test that.

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: Object Naming Conventions

2011-10-07 Thread Richard Gaskin

Pete wrote:

Thanks Mark, that's what I was looking for.
Pete

On Thu, Oct 6, 2011 at 6:03 PM, Mark Wieder mwieder at ahsoftware.net wrote:


Phil-

Thursday, October 6, 2011, 12:28:38 PM, you wrote:

 Here is an excellent starting point:
  http://fourthworld.com/embassy/articles/scriptstyle.html

 Go to the Naming Conventions part.

In addition to what's in Richard's writeup I tend to use the following
conventions...


Good stuff, Mark.

Oddly enough, for all the tediously curmudgeonry in my naming 
conventions article, it doesn't deal much with object names, only 
variables, handlers, etc.


In code, object names usually appear after a type specifier, e.g.:

  click at the loc of btn btnSend

...so it never occurred to me to prefix the object name itself.

This prompted me to try something I'd never used before, addressing a 
control using only the control specifier followed by the name:


  put the rect of control btnSend

Sure enough, it works.

I don't know why this surprises me, since I've been using ordinal 
reference with control for years, e.g.:


   repeat with i = 1 to the number of controls
  get the rect of control i
  ...


Somehow I'd gotten the idea that the control specifier was limited to 
ordinal references, but apparently it's not.


So thanks for your post.  It prompted me to learn something new, and if 
I get time I may add a section to that article on object names.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: Object Naming Conventions

2011-10-07 Thread Mark Wieder
Richard-

Friday, October 7, 2011, 7:41:27 AM, you wrote:

 Somehow I'd gotten the idea that the control specifier was limited to
 ordinal references, but apparently it's not.

I do that rather extensively in PowerTools because I need an object
oriented way to deal with any type of control. Since they're all
subclassed from control I can deal with the base class when
accessing them, then get the first word of the name to determine the
actual type.

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


Reading PDFs in LC (again)

2011-10-07 Thread Graham Samuel
Folks, I have been reading all the responses I got on this issue that appeared 
under a number of different subject headings in the last couple of weeks. I 
thought people might be interested in my current position.

First, my intention was to read PDFs as images (bitmaps) into an LC-authored 
app written to be run under Windows. This is clearly quite a restricted way of 
using PDFs, since they can contain readable text and much else which I don't 
currently care about. However, even with these restrictions it is not an easy 
thing to code a reader for PDFs entirely in LiveCode, so some third-party 
component appears to be needed.

Second, I also had another need for input of bitmaps, which was to read TIFF 
files. In my original posts I didn't explain this as I thought it would 
complicate the discussion. Sadly this is another format that LC doesn't help us 
with.

Third, I needed generous licensing terms, so that the additional component(s) 
to accomplish the input would be either free or else licensed on a pay-once 
basis, without per-user charges imposed on the end user, much like LC itself.

Fourth (and last), I am writing an app for busy non-technical people which 
means among other things that any installation process should be simple, and 
certainly without any kind of extended interaction about options, licensing 
terms etc. demanded of the user.

I have considered various approaches, with ImageMagick being the technical 
front runner (it's 'free' - kind of - and fulfils my technical requirements).

I was scared of ImageMagick both because of the Windows-specific technical 
warnings on the download site and because of the license terms.

The good news is that people on this list have persuaded me that I should not 
be scared. There is still some question over the license terms, since the one 
commercial supplier of the main underlying component, GhostScript (Artifex), 
insists that:

 If your application (including its source code) is not licensed to the public 
 under the GNU GPL, you are not authorized to ship GPL Ghostscript or GPL 
 MuPDF with your application under the terms of the GNU GPL if any one of the 
 following is true:
 
 your application contains a copy of some or all of GPL Ghostscript or MuPDF;
 your application is derived from, is based on, or constitutes a revision of 
 some or all of GPL Ghostscript or MuPDF;
 your application includes one or more functions that use some or all of GPL 
 Ghostscript or MuPDF.
 These criteria apply to your application as a whole. Even if only one section 
 of your application satisfies one of these criteria, you are not authorized 
 to ship GPL Ghostscript or GPL MuPDF with your application unless your 
 application, including all of its source code, is licensed to the public 
 under the GNU GPL.
 
 If your application (including its source code) is NOT licensed to the public 
 under the GNU GPL and you intend to distribute Ghostscript or MuPDF to a 
 third party for use with and usable by your application, you MUST first 
 obtain a commercial license from Artifex.

Various people on the list have suggested that there are workarounds that 
render this statement untrue, and since there appear to be real-world examples 
of commercial products that do use GhostScript without a commercial license, I 
am going to adopt the approach suggested, hopefully maintaining the letter and 
spirit of the GPL.

OK, the next thing is to try it - probably not using 'shell' (heeding Monte 
Goulding's warning and adopting his solution, which sadly I only half 
understand). I have command-line fear, but I guess I'll get over it (when I 
started programming computers, we didn't even have command lines - sounds like 
a Monty Python sketch, but true. The machines were not actually steam powered).

I'll report back if I get to a point where my app (including its install 
process) appears viable.


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: Object Naming Conventions

2011-10-07 Thread René Micout

Le 7 oct. 2011 à 16:41, Richard Gaskin a écrit :
 
 So thanks for your post.  It prompted me to learn something new, and if I get 
 time I may add a section to that article on object names.

Hello Richard,
This is my prefix :

-- PRÉFIXES (types des objets) :
--
 ku = constante (unitaire)
 kt = constante (tableau)  utiliser plutôt une custom property
--
 vg = variable globale [stack]
 vt = variable globale (tableau) [stack]
 vl = variable locale [script]
 vx = variable temporaire [handler]
 vp = paramètre [fonctions]
 vd = variable provisoire servant au debugage
--
 cp = custom property
--
 hm = handler main stack (handler situé dans le stack principal)
 hs = handler stack (handler situé dans le script du stack)
 hc = handler card (handler situé dans le script de la carte)
 hg = handler group (handler situé dans le script du groupe)
 ho = handler object (handler situé dans le script de l'objet)
--
 fm = function main stack (fonction située dans le stack principal)
 fs = function stack (fonction située dans le script du stack)
 fc = function card (fonction située dans le script de la carte)
 fg = function group (fonction située dans le script du groupe)
 fo = function object (fonction située dans le script de l'objet)
 db = fonction ou commande servant au debugage
--
 btn = bouton
 fld = field
 grp = groupe
 sld = slider
 lbl = label
 img = image
 grc = graphic

I put also prefix before handler (and function) name (to see where it is...)

Bon souvenir de Paris
René

___
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


Object Naming UnConventions

2011-10-07 Thread dunbarx
I rarely get to act like a pedantic jerk, especially towards a highly respected 
and iconic personage such as Richard Gaskin.


Not kidding about any of item 2 of line 1.


But ordinal would be 'first control. Cardinal would be control 1


That felt better than I thought it would.


I am sure I will regret it, though.


No kidding about item 1 of line 5.


Craig



-Original Message-
From: Richard Gaskin ambassa...@fourthworld.com
To: use-livecode use-livecode@lists.runrev.com
Sent: Fri, Oct 7, 2011 6:43 am
Subject: Re: Object Naming Conventions


Pete wrote:
 Thanks Mark, that's what I was looking for.
 Pete

 On Thu, Oct 6, 2011 at 6:03 PM, Mark Wieder mwieder at ahsoftware.net wrote:

 Phil-

 Thursday, October 6, 2011, 12:28:38 PM, you wrote:

  Here is an excellent starting point:
   http://fourthworld.com/embassy/articles/scriptstyle.html

  Go to the Naming Conventions part.

 In addition to what's in Richard's writeup I tend to use the following
 conventions...

Good stuff, Mark.

Oddly enough, for all the tediously curmudgeonry in my naming 
conventions article, it doesn't deal much with object names, only 
variables, handlers, etc.

In code, object names usually appear after a type specifier, e.g.:

   click at the loc of btn btnSend

...so it never occurred to me to prefix the object name itself.

This prompted me to try something I'd never used before, addressing a 
control using only the control specifier followed by the name:

   put the rect of control btnSend

Sure enough, it works.

I don't know why this surprises me, since I've been using ordinal 
reference with control for years, e.g.:

repeat with i = 1 to the number of controls
   get the rect of control i
   ...


Somehow I'd gotten the idea that the control specifier was limited to 
ordinal references, but apparently it's not.

So thanks for your post.  It prompted me to learn something new, and if 
I get time I may add a section to that article on object names.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: Object Naming Conventions

2011-10-07 Thread Pete
Rene,
I really like the idea of prefixes for handlers and functions that tell you
where they are located.  I'd probably add a prefix for handlers in a library
as well.
Pete
Molly's Revenge http://www.mollysrevenge.com




On Fri, Oct 7, 2011 at 8:44 AM, René Micout rene.mic...@numericable.comwrote:


 Le 7 oct. 2011 à 16:41, Richard Gaskin a écrit :
 
  So thanks for your post.  It prompted me to learn something new, and if I
 get time I may add a section to that article on object names.

 Hello Richard,
 This is my prefix :

 -- PRÉFIXES (types des objets) :
 --
  ku = constante (unitaire)
  kt = constante (tableau)  utiliser plutôt une custom property
 --
  vg = variable globale [stack]
  vt = variable globale (tableau) [stack]
  vl = variable locale [script]
  vx = variable temporaire [handler]
  vp = paramètre [fonctions]
  vd = variable provisoire servant au debugage
 --
  cp = custom property
 --
  hm = handler main stack (handler situé dans le stack principal)
  hs = handler stack (handler situé dans le script du stack)
  hc = handler card (handler situé dans le script de la carte)
  hg = handler group (handler situé dans le script du groupe)
  ho = handler object (handler situé dans le script de l'objet)
 --
  fm = function main stack (fonction située dans le stack principal)
  fs = function stack (fonction située dans le script du stack)
  fc = function card (fonction située dans le script de la carte)
  fg = function group (fonction située dans le script du groupe)
  fo = function object (fonction située dans le script de l'objet)
  db = fonction ou commande servant au debugage
 --
  btn = bouton
  fld = field
  grp = groupe
  sld = slider
  lbl = label
  img = image
  grc = graphic

 I put also prefix before handler (and function) name (to see where it
 is...)

 Bon souvenir de Paris
 René

 ___
 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: CBT using LiveCode - Computer Based Training

2011-10-07 Thread Alejandro Tejada
Hi Phil and all of you who answer
my questions in private messages!

I will continue this conversation
using private email.

Many Thanks again!

Al

___
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: Reading PDFs in LC (again)

2011-10-07 Thread Richard Gaskin

Graham Samuel wrote:


I was scared of ImageMagick both because of the Windows-specific technical 
warnings on the download site and because of the license terms.

The good news is that people on this list have persuaded me that I should not 
be scared. There is still some question over the license terms, since the one 
commercial supplier of the main underlying component, GhostScript (Artifex), 
insists that:


If your application (including its source code) is not licensed to the public 
under the GNU GPL, you are not authorized to ship GPL Ghostscript or GPL MuPDF 
with your application under the terms of the GNU GPL if any one of the 
following is true:

your application contains a copy of some or all of GPL Ghostscript or MuPDF;
your application is derived from, is based on, or constitutes a revision of 
some or all of GPL Ghostscript or MuPDF;
your application includes one or more functions that use some or all of GPL 
Ghostscript or MuPDF.
These criteria apply to your application as a whole. Even if only one section 
of your application satisfies one of these criteria, you are not authorized to 
ship GPL Ghostscript or GPL MuPDF with your application unless your 
application, including all of its source code, is licensed to the public under 
the GNU GPL.

If your application (including its source code) is NOT licensed to the public 
under the GNU GPL and you intend to distribute Ghostscript or MuPDF to a third 
party for use with and usable by your application, you MUST first obtain a 
commercial license from Artifex.


Various people on the list have suggested that there are workarounds that 
render this statement untrue, and since there appear to be real-world examples 
of commercial products that do use GhostScript without a commercial license, I 
am going to adopt the approach suggested, hopefully maintaining the letter and 
spirit of the GPL.


People have all sorts of opinions about what GPL means, but that quoted 
section above seems pretty clear.


When in doubt about a particular usage, it may be best to contact the 
vendor directly for guidance.


No one else can describe a creator's intentions better than the creator. :)



I have command-line fear, but I guess I'll get over it


As a long-time Mac user I did too, for many years.

But the more I got interested in servers, the more I found myself 
actually enjoying the command line.


Now I've been adding command line interfaces to some of my GUI apps to 
allow uses to automate some operations.  Kinda fun once you get the hang 
of it.


I found this site tremendously helpful for learning CLI:
http://linuxcommand.org/



(when I started programming computers, we didn't even have command lines
- sounds like a Monty Python sketch, but true.


LOL - yes, it does.

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: Object naming conventions

2011-10-07 Thread Bob Earp
Pete,
It's a great question, but the last time this was asked on the list I think the 
discussion went on for three lifetimes (in use-livecode list years) on what 
exactly should be the standard to use.  It seems there's more and different 
naming conventions in the world than Tim Hortons has served cups of coffee, so 
if you are trying to automate layout based on what others use you're likely to 
discover the meaning of life, the universe and everything before completing 
half of it ;-)

Richard Gaskin's article is a great start, and I think that most of us that 
have coded for a number of years have done something similar.  Personally I 
think there are really only three things one needs to follow;

1. Don't worry about what others do, just name everything in a format that 
really makes sense to you and your team today, and in the future.
2. Keep the names as short and uncomplicated as possible.
3. Write down what your naming convention standards are so that others can 
refer to it, and check those standards with your team on a regular basis to 
make sure it continues to work for them.

Naming is only a way of better understanding what somebody was trying to do in 
their script, and that somebody is likely you in the future !!  So, don't 
forget comments which are as important but generally considered as kindergarden 
practice by self proclaimed expert scripters ;-)

best, Bob...



 From: Pete p...@mollysrevenge.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Object Naming Conventions
 Message-ID:
   cabx6j9mopo_9zn3+5usefnp-wyt8w2xfzu1lavp1mdxhuyb...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1
 
 I vaguely remember a thread on this topic a while back.  I'm interested in
 what naming conventions people have for stacks/cards/controls, if any.
 
 This is in connection with a project I'm working on to automate laying out
 controls on a card.  I'm currently using a naming convention of my own but
 I'd like to provide a way for other conventions to be used, in particular
 the use of prefix or suffix characters in names of different types of
 objects.
 
 Any input is most welcome.
 
 Pete
 Molly's Revenge http://www.mollysrevenge.com



Bob Earp
White Rock, British Columbia.



___
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: Object Naming UnConventions

2011-10-07 Thread Richard Gaskin

dunbarx wrote:

 I rarely get to act like a pedantic jerk, especially towards a highly
 respected and iconic personage such as Richard Gaskin.

 Not kidding about any of item 2 of line 1.

 But ordinal would be 'first control. Cardinal would be control 1

 That felt better than I thought it would.

 I am sure I will regret it, though.

 No kidding about item 1 of line 5.


Damn - there goes my writing career. :)

Thank you very much for the kind words, but if you've read many of the 
lengthy posts I write you'll find they're often riddled with all sorts 
of errors.  A good friends suggests that one reason I write long posts 
is that the sheer volume of materials makes it harder to spot the 
mistakes. :)


But on this issue of ordinal vs cardinal, I may be thinking of a 
more colloquial usage than perhaps programming vernacular.


It's my understanding that ordinal simply refers to the order or rank 
of things, such as layer numbering would impose, whether the reference 
is expressed numerically or textually (i.e., it would seem to apply to 
both 2 or second).


Cardinal means prime or most important, which had led me to 
sometimes use cardinal when describing object references by ID, since 
those are (or that is, were until very recently) immutably fixed and 
therefore the most reliable form of reference.


That said, I program in relatively few languages (these days only 
LiveCode and JavaScript; haven't touched a C compiler in many years, and 
Lisp sadly remains on my untouched to-do list), so there may be widely 
used conventions for these terms among programmers that I'm merely 
ignorant of.


In my book ignorant is a good word, since no one knows everything so 
all of us are ignorant of one thing or another, and being ignorant 
simply means there's something new to learn.  I'll wear that label with 
pride. :)


Is this a common convention to use cardinal when describing numeric 
ordering references, and ordinal only for their textual equivalent?


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: Object naming conventions

2011-10-07 Thread Richard Gaskin

Bob Earp wrote:


Personally I think there are really only three things one needs to follow;

1. Don't worry about what others do, just name everything in a format that 
really makes sense to you and your team today, and in the future.
2. Keep the names as short and uncomplicated as possible.
3. Write down what your naming convention standards are so that others can 
refer to it, and check those standards with your team on a regular basis to 
make sure it continues to work for them.


That's a great set of rules, Bob.

May I have your permission to include them in an update to my naming 
conventions article (with attribution, of course)?


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: CBT using LiveCode - Computer Based Training

2011-10-07 Thread Bob Earp
Phil,
I'm not sure what you mean by ... a web version of the content delivery part, 
to free users from having to install software ..., particularly the latter 
part.  One of the advantages of LiveCode is that you can deliver eLearning 
content as a stand-alone without the need to load anything.  In my experience 
the decision to go web-based or not is a complex one based on how media rich 
one wants the content vs. ease of distribution, but nothing to do with having 
to load something on a users computer.  It's complex because of the fear of 
loss of control of the content, the desire to rapidly distribute changes in 
content (that rarely happens), and the misunderstanding that delivering large 
and high quality media over the web or an intranet just takes time.

best, Bob...


 I am still quite busy adding features and structural changes to a CBT system 
 I 
 wrote in 2003-05. Most recently we are creating a web version of the content 
 delivery part, to free users from having to install software on their 
 computers 
 before taking training.



Bob Earp
White Rock, British Columbia.




___
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: Object naming conventions

2011-10-07 Thread Pete
Thanks for the thoughts Bob.

For those who have replied, here's the reason behind the question.

I'm about to ask for beta testers for an LC tool that greatly speeds up the
development of applications that use SQL databases.  Part of the tool is a
palette of controls that you can drag and drop onto your cards, answer a
couple of easy questions and the control will be linked to your database.
 Right now, I use a naming convention for controls so that the tool's
runtime library can recognize controls that are significant to it.

My concern is that I'm imposing my naming convention on anyone who wants to
make use of the tool.  Whether you'd be willing to give up your naming
conventions in exchange for the productivity gains you'll get from using the
tool - that's the question.

I'm considering providing an alternative by using a custom property of the
control to store the info I need and let people name the controls according
to their own conventions.  But that is a fair amount of coding and retesting
to be done so I thought I would try to gauge the sentiment on naming
conventions before starting down that path.  Hopefully, that doesn't break
any forum rules.

Pete
Molly's Revenge http://www.mollysrevenge.com




On Fri, Oct 7, 2011 at 9:15 AM, Bob Earp rje...@hotmail.com wrote:

 Pete,
 It's a great question, but the last time this was asked on the list I think
 the discussion went on for three lifetimes (in use-livecode list years) on
 what exactly should be the standard to use.  It seems there's more and
 different naming conventions in the world than Tim Hortons has served cups
 of coffee, so if you are trying to automate layout based on what others use
 you're likely to discover the meaning of life, the universe and everything
 before completing half of it ;-)

 Richard Gaskin's article is a great start, and I think that most of us that
 have coded for a number of years have done something similar.  Personally I
 think there are really only three things one needs to follow;

 1. Don't worry about what others do, just name everything in a format that
 really makes sense to you and your team today, and in the future.
 2. Keep the names as short and uncomplicated as possible.
 3. Write down what your naming convention standards are so that others can
 refer to it, and check those standards with your team on a regular basis to
 make sure it continues to work for them.

 Naming is only a way of better understanding what somebody was trying to do
 in their script, and that somebody is likely you in the future !!  So, don't
 forget comments which are as important but generally considered as
 kindergarden practice by self proclaimed expert scripters ;-)

 best, Bob...



  From: Pete p...@mollysrevenge.com
  To: How to use LiveCode use-livecode@lists.runrev.com
  Subject: Object Naming Conventions
  Message-ID:

 cabx6j9mopo_9zn3+5usefnp-wyt8w2xfzu1lavp1mdxhuyb...@mail.gmail.com
  Content-Type: text/plain; charset=ISO-8859-1
 
  I vaguely remember a thread on this topic a while back.  I'm interested
 in
  what naming conventions people have for stacks/cards/controls, if any.
 
  This is in connection with a project I'm working on to automate laying
 out
  controls on a card.  I'm currently using a naming convention of my own
 but
  I'd like to provide a way for other conventions to be used, in particular
  the use of prefix or suffix characters in names of different types of
  objects.
 
  Any input is most welcome.
 
  Pete
  Molly's Revenge http://www.mollysrevenge.com



 Bob Earp
 White Rock, British Columbia.



 ___
 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: rev libraries of the late Mark Smith

2011-10-07 Thread stephen barncard
and why not on Rev Online?

On 7 October 2011 06:36, Matthias Rebbe
matthias_livecode_150...@m-r-d.dewrote:

 Hi,

 just want to let you know, that i mirrored all the rev libraries the late
 Mark Smith put online. Just to keep sure they do not get lost.

 You get the libs at http://www.matthiasrebbe.eu/revstuff/marksmith


 Regards,

 Matthias Rebbe



 ___
 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: New iOS App in Store

2011-10-07 Thread tbodine
Congrats, Randy! 

How long and difficult was the App Store approval cycle?

Thanks,
Tom Bodine


--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/New-iOS-App-in-Store-tp3882022p3883000.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Object Naming Conventions

2011-10-07 Thread J. Landman Gay

On 10/7/11 6:37 AM, Francis Nugent Dixon wrote:


Whatever you do, use a prefix to define ALL your objects,


I never do, I don't see any advantage, and for me it makes my scripts 
harder to read. It's easy to see what type an object is if you forget. 
In fact, the only consistent naming scheme I use for objects is lbl in 
a field name, so that I can skip label fields in repeat loops.


We're all different. I really doubt any two of us codes the same way. :)

--
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: rev libraries of the late Mark Smith

2011-10-07 Thread stephen barncard
probably a message to Heather (supp...@runrev.com)  would solve that... she
could add them to his RevOnline space which lives on

On 7 October 2011 10:35, Matthias Rebbe
matthias_livecode_150...@m-r-d.dewrote:

 Hi Stephen,

 because i am not sure, if it is allowed  to upload  files from others to my
 rev-online space.

 Regards,

 Matthias
 _


 _
 Matthias Rebbe
 Bramkampsieke 13
 D-32312 Lübbecke

 Tel +49 57 41 - 31 00 00
 mobil +49 160 - 550 44 62
 Fax+49 57 41 - 310 0 02

 E-Mail matth...@matthiasrebbe.eu
 http://www.matthiasrebbe.eu

 Am 07.10.2011 um 18:57 schrieb stephen barncard:

  and why not on Rev Online?
 
  On 7 October 2011 06:36, Matthias Rebbe
  matthias_livecode_150...@m-r-d.dewrote:
 
  Hi,
 
  just want to let you know, that i mirrored all the rev libraries the
 late
  Mark Smith put online. Just to keep sure they do not get lost.
 
  You get the libs at http://www.matthiasrebbe.eu/revstuff/marksmith
 
 
  Regards,
 
  Matthias Rebbe
 
 
 
  ___
  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




-- 



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: New iOS App in Store

2011-10-07 Thread Randy Hengst
Hi Tom,

Waiting for Review …. Oct 1st. 
In Review …. Oct 6 at 11:26 a.m.
Processing for Sale ….  Oct 6 3:20 p.m.
Ready for Sale …. Oct 6 4:30 p.m.

This turn around time was a bit faster than normal. Seven days is common… and 
this was the shortest In Review time I've had with an app.

My app updates have all been reviewed and processed for store in about four 
days.

be well,
randy
-
On Oct 7, 2011, at 12:23 PM, tbodine wrote:

 Congrats, Randy! 
 
 How long and difficult was the App Store approval cycle?
 
 Thanks,
 Tom Bodine
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/New-iOS-App-in-Store-tp3882022p3883000.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: New iOS App in Store

2011-10-07 Thread Andre Garzia
Congratulations

On Fri, Oct 7, 2011 at 4:22 PM, Randy Hengst iowahen...@mac.com wrote:

 Hi Tom,

 Waiting for Review …. Oct 1st.
 In Review …. Oct 6 at 11:26 a.m.
 Processing for Sale ….  Oct 6 3:20 p.m.
 Ready for Sale …. Oct 6 4:30 p.m.

 This turn around time was a bit faster than normal. Seven days is common…
 and this was the shortest In Review time I've had with an app.

 My app updates have all been reviewed and processed for store in about four
 days.

 be well,
 randy
 -
 On Oct 7, 2011, at 12:23 PM, tbodine wrote:

  Congrats, Randy!
 
  How long and difficult was the App Store approval cycle?
 
  Thanks,
  Tom Bodine
 
 
  --
  View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/New-iOS-App-in-Store-tp3882022p3883000.html
  Sent from the Revolution - User mailing list archive at Nabble.com.
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: CBT using LiveCode - Computer Based Training

2011-10-07 Thread Phil Davis

Hi Bob,

On 10/7/11 9:35 AM, Bob Earp wrote:

Phil,
I'm not sure what you mean by ... a web version of the content delivery part, to 
free users from having to install software ..., particularly the latter part.  One 
of the advantages of LiveCode is that you can deliver eLearning content as a stand-alone 
without the need to load anything.

The stand-alone is the software they want to avoid installing. Hence the 
problem.

In the system I maintain, content is developed using a desktop app, which can 
then convert the desktop training to a complete web deliverable, zip and upload 
it to a server. Then it tells a server script about the uploaded training, and 
the server takes it from there.



In my experience the decision to go web-based or not is a complex one based on 
how media rich one wants the content vs. ease of distribution, but nothing to 
do with having to load something on a users computer.


Except in my client's case. Some US government agencies want his training, but 
often their IT depts will not allow ANYTHING they have not invented or blessed 
to be installed on an agency computer. And getting them to bless your product 
requires a Class 2 miracle. So a browser-based, no-plugins-required training 
course is about the only viable option remaining.



It's complex because of the fear of loss of control of the content, the desire 
to rapidly distribute changes in content (that rarely happens), and the 
misunderstanding that delivering large and high quality media over the web or 
an intranet just takes time.


Yes. You have clearly been down that road!

Phil



best, Bob...



I am still quite busy adding features and structural changes to a CBT system I
wrote in 2003-05. Most recently we are creating a web version of the content
delivery part, to free users from having to install software on their computers
before taking training.



Bob Earp
White Rock, British Columbia.




___
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



--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.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: Object naming conventions

2011-10-07 Thread Ken Ray

On Oct 7, 2011, at 11:54 AM, Pete wrote:

 Thanks for the thoughts Bob.
 
 For those who have replied, here's the reason behind the question.
 
 I'm about to ask for beta testers for an LC tool that greatly speeds up the
 development of applications that use SQL databases.  Part of the tool is a
 palette of controls that you can drag and drop onto your cards, answer a
 couple of easy questions and the control will be linked to your database.
 Right now, I use a naming convention for controls so that the tool's
 runtime library can recognize controls that are significant to it.
 
 My concern is that I'm imposing my naming convention on anyone who wants to
 make use of the tool.  Whether you'd be willing to give up your naming
 conventions in exchange for the productivity gains you'll get from using the
 tool - that's the question.


If it helps, there was some work on this by the RunRev Interoperability Project 
at the 'revInterop' Yahoo group: 
http://tech.groups.yahoo.com/group/revInterop/. 

I know Richard put a mirror of the document we were working on somewhere, but I 
can't recall where, so I put it here for download/direct display:

  http://www.sonsothunder.com/devres/ECMI_110.pdf

It hasn't been updated in a while, but I know several developers (including 
myself, of course) that are using (most) of the specification in their own work.


Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.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: New iOS App in Store

2011-10-07 Thread Colin Holgate
What date did you select for when the app should be available? In my experience 
it almost seems like they don't even start the review until the day you set for 
availability. It would be interesting to set an available date of tomorrow.


On Oct 7, 2011, at 3:22 PM, Randy Hengst wrote:

 Waiting for Review …. Oct 1st. 
 In Review …. Oct 6 at 11:26 a.m.
 Processing for Sale ….  Oct 6 3:20 p.m.
 Ready for Sale …. Oct 6 4:30 p.m.

___
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: Object naming conventions

2011-10-07 Thread Pete
Thanks Ken, looks like a very interesting document.
Pete
Molly's Revenge http://www.mollysrevenge.com




On Fri, Oct 7, 2011 at 1:11 PM, Ken Ray k...@sonsothunder.com wrote:


 On Oct 7, 2011, at 11:54 AM, Pete wrote:

  Thanks for the thoughts Bob.
 
  For those who have replied, here's the reason behind the question.
 
  I'm about to ask for beta testers for an LC tool that greatly speeds up
 the
  development of applications that use SQL databases.  Part of the tool is
 a
  palette of controls that you can drag and drop onto your cards, answer a
  couple of easy questions and the control will be linked to your database.
  Right now, I use a naming convention for controls so that the tool's
  runtime library can recognize controls that are significant to it.
 
  My concern is that I'm imposing my naming convention on anyone who wants
 to
  make use of the tool.  Whether you'd be willing to give up your naming
  conventions in exchange for the productivity gains you'll get from using
 the
  tool - that's the question.


 If it helps, there was some work on this by the RunRev Interoperability
 Project at the 'revInterop' Yahoo group:
 http://tech.groups.yahoo.com/group/revInterop/.

 I know Richard put a mirror of the document we were working on somewhere,
 but I can't recall where, so I put it here for download/direct display:

  http://www.sonsothunder.com/devres/ECMI_110.pdf

 It hasn't been updated in a while, but I know several developers (including
 myself, of course) that are using (most) of the specification in their own
 work.


 Ken Ray
 Sons of Thunder Software, Inc.
 Email: k...@sonsothunder.com
 Web Site: http://www.sonsothunder.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: rev libraries of the late Mark Smith

2011-10-07 Thread Bob Sneidar
How about menus? They are really buttons, but suppose you wanted to do 
something to all your buttons? You would want to exclude menus no doubt. 
Actually, what really makes prefixing all your objects a good thing is when it 
comes time to view them in some applications browser. Having all your labels, 
fields, buttons and menus sort accordingly is a good thing to have, especially 
on a card with LOTS of objects. 

Bob


On Oct 7, 2011, at 6:36 AM, Matthias Rebbe wrote:

 Hi,
 
 just want to let you know, that i mirrored all the rev libraries the late 
 Mark Smith put online. Just to keep sure they do not get lost.
 
 You get the libs at http://www.matthiasrebbe.eu/revstuff/marksmith
 
 
 Regards,
 
 Matthias Rebbe
 
 
 
 ___
 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: New iOS App in Store

2011-10-07 Thread tbodine
Thanks for the info., Randy. Just bought a copy. Great job! Fun way to teach.
Finger trace works great.  (My daughter teaches Kindergarten... she'll love
it.)

Curious: was it a design decision or a technical constraint that made you
choose to design for smaller screen and add the 2X button versus designing
for larger screen with a redux button? 

I haven't finished an app yet myself, but was sort of expecting that
LiveCode could adapt itself to the device screen on its own.

Thanks again.
Tom Bodine


--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/New-iOS-App-in-Store-tp3882022p3883739.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Windows Standalone Will Not Save Data to File

2011-10-07 Thread Gregory Lypny
Hello everyone,

I built a small utility app for my students.  It was scripted on a Mac.  It has 
the following handler to allow them to save their work to disk.  It works on 
Mac stand-alones but not Windows.  My PC-using students have shown me how it 
does not save.  Is the problem the two forward slashes in the argument to the 
URL?


put “My File” into theFileName
put “1,2,3,4,5” into theData
  
  if the hilite of button Save of this card is true
  then
 ask file Where would you like to save your data backup? with 
(theFileName  -Backup.csv)
 if it is not empty then put theData into url (file://  it)  
  end if

Regards,


Gregory
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Windows Standalone Will Not Save Data to File

2011-10-07 Thread Mark Schonewille
Hi Gregory,

(file://  it) should be (file:  it)

--
Best regards,

Mark Schonewille

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

See what you get with only a small contribution. All our LiveCode downloads are 
listed at http://qery.us/zr

On 8 okt 2011, at 01:47, Gregory Lypny wrote:

 Hello everyone,
 
 I built a small utility app for my students.  It was scripted on a Mac.  It 
 has the following handler to allow them to save their work to disk.  It works 
 on Mac stand-alones but not Windows.  My PC-using students have shown me how 
 it does not save.  Is the problem the two forward slashes in the argument to 
 the URL?
 
 
   put “My File” into theFileName
   put “1,2,3,4,5” into theData
 
  if the hilite of button Save of this card is true
  then
 ask file Where would you like to save your data backup? with 
 (theFileName  -Backup.csv)
 if it is not empty then put theData into url (file://  it) 
  end if
 
 Regards,
 
 
 Gregory


___
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


[UBUNTU] running LiveCode on 11.x

2011-10-07 Thread Andre Garzia
Folks,

This may apply to anyone running under linux but I've experienced this only
on Ubuntu 11.04 so far.

If you're experiencing a problem that everytime you launch LiveCode it asks
for authentication again, it is possible that your .runrev folder on your
home folder has the wrong permissions or owner. If you execute the installer
with root priviledges (so that it can write to /opt) then there is a chance
that the .runrev folder owner will also be root:root. You will need to
change that to the actual user and group running LiveCode or it will fail to
save your activation or your preferences.

:-D

Linux is Freedom

Andre The Oneiric Ocelot Garzia

-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: [UBUNTU] running LiveCode on 11.x

2011-10-07 Thread Mark Wieder
Andre-

I've had that problem with Fedora Core all along. The installer is
supposed to elevate its privileges to give the right permissions, but
it doesn't. So I change the permission bit on the installer to allow
execution, install from a terminal prompt as root for all users
*without launching the IDE after installation*:

su -
cd /home/user/Downloads
./LiveCodeInstaller-4_6_4_gm_1-Linux.x86
exit

Now I'm back to my local account and I run the IDE which was installed
to /opt, it boots with my license info in hand, and I'm off and
running.

-- 
-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: Object Naming Conventions

2011-10-07 Thread Mark Wieder
Jacque-

Friday, October 7, 2011, 10:39:26 AM, you wrote:

 for me it makes my scripts harder to read.

Well, that's the purpose of a scripting convention. If what you're
doing makes it easier for you to read your scripts then you're doing
things the right way.

 We're all different. I really doubt any two of us codes the same way. :)

I don't even code the same way twice. I'm always refactoring things as
I learn more or come across clever hacks to speed things up or make my
code more readable or something.

-- 
-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: [UBUNTU] running LiveCode on 11.x

2011-10-07 Thread Andre Garzia
Mark,

I did the same thing for Fedora 15 but doing that on my new Ubuntu
installation made the .runrev folder be owned by root for some weird reason,
I had to revert it back to my user and group. I did not launched the app
after installation.

Now it works but it is the little things that the IDE should check, like:
can I write my preferences file?

Cheers
andre

On Fri, Oct 7, 2011 at 9:59 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 Andre-

 I've had that problem with Fedora Core all along. The installer is
 supposed to elevate its privileges to give the right permissions, but
 it doesn't. So I change the permission bit on the installer to allow
 execution, install from a terminal prompt as root for all users
 *without launching the IDE after installation*:

 su -
 cd /home/user/Downloads
 ./LiveCodeInstaller-4_6_4_gm_1-Linux.x86
 exit

 Now I'm back to my local account and I run the IDE which was installed
 to /opt, it boots with my license info in hand, and I'm off and
 running.

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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: Object naming conventions

2011-10-07 Thread Mike Felker
That sounds like a great tool. I would love to help beta test it.

Mike

Sent from my iPad

On Oct 7, 2011, at 12:54 PM, Pete p...@mollysrevenge.com wrote:

 Thanks for the thoughts Bob.
 
 For those who have replied, here's the reason behind the question.
 
 I'm about to ask for beta testers for an LC tool that greatly speeds up the
 development of applications that use SQL databases.  Part of the tool is a
 palette of controls that you can drag and drop onto your cards, answer a
 couple of easy questions and the control will be linked to your database.
 Right now, I use a naming convention for controls so that the tool's
 runtime library can recognize controls that are significant to it.
 
 My concern is that I'm imposing my naming convention on anyone who wants to
 make use of the tool.  Whether you'd be willing to give up your naming
 conventions in exchange for the productivity gains you'll get from using the
 tool - that's the question.
 
 I'm considering providing an alternative by using a custom property of the
 control to store the info I need and let people name the controls according
 to their own conventions.  But that is a fair amount of coding and retesting
 to be done so I thought I would try to gauge the sentiment on naming
 conventions before starting down that path.  Hopefully, that doesn't break
 any forum rules.
 
 Pete
 Molly's Revenge http://www.mollysrevenge.com
 
 
 
 
 On Fri, Oct 7, 2011 at 9:15 AM, Bob Earp rje...@hotmail.com wrote:
 
 Pete,
 It's a great question, but the last time this was asked on the list I think
 the discussion went on for three lifetimes (in use-livecode list years) on
 what exactly should be the standard to use.  It seems there's more and
 different naming conventions in the world than Tim Hortons has served cups
 of coffee, so if you are trying to automate layout based on what others use
 you're likely to discover the meaning of life, the universe and everything
 before completing half of it ;-)
 
 Richard Gaskin's article is a great start, and I think that most of us that
 have coded for a number of years have done something similar.  Personally I
 think there are really only three things one needs to follow;
 
 1. Don't worry about what others do, just name everything in a format that
 really makes sense to you and your team today, and in the future.
 2. Keep the names as short and uncomplicated as possible.
 3. Write down what your naming convention standards are so that others can
 refer to it, and check those standards with your team on a regular basis to
 make sure it continues to work for them.
 
 Naming is only a way of better understanding what somebody was trying to do
 in their script, and that somebody is likely you in the future !!  So, don't
 forget comments which are as important but generally considered as
 kindergarden practice by self proclaimed expert scripters ;-)
 
 best, Bob...
 
 
 
 From: Pete p...@mollysrevenge.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Object Naming Conventions
 Message-ID:
  
 cabx6j9mopo_9zn3+5usefnp-wyt8w2xfzu1lavp1mdxhuyb...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1
 
 I vaguely remember a thread on this topic a while back.  I'm interested
 in
 what naming conventions people have for stacks/cards/controls, if any.
 
 This is in connection with a project I'm working on to automate laying
 out
 controls on a card.  I'm currently using a naming convention of my own
 but
 I'd like to provide a way for other conventions to be used, in particular
 the use of prefix or suffix characters in names of different types of
 objects.
 
 Any input is most welcome.
 
 Pete
 Molly's Revenge http://www.mollysrevenge.com
 
 
 
 Bob Earp
 White Rock, British Columbia.
 
 
 
 ___
 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: New iOS App in Store

2011-10-07 Thread Randy Hengst
That's a good question… I've always just left it at the default… whatever that 
is. I'll pay attention next time.

On Oct 7, 2011, at 3:14 PM, Colin Holgate wrote:

 What date did you select for when the app should be available? In my 
 experience it almost seems like they don't even start the review until the 
 day you set for availability. It would be interesting to set an available 
 date of tomorrow.
 
 
 On Oct 7, 2011, at 3:22 PM, Randy Hengst wrote:
 
 Waiting for Review …. Oct 1st. 
 In Review …. Oct 6 at 11:26 a.m.
 Processing for Sale ….  Oct 6 3:20 p.m.
 Ready for Sale …. Oct 6 4:30 p.m.
 
 ___
 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: New iOS App in Store

2011-10-07 Thread Randy Hengst
Tom,

I made this app using the iPod screen size simply because I already had the 
photos that size from another project… that way I needed less time to prepare 
the photos. I have some ideas for how I could expand the for the iPad. I'll 
need to re-do the photos for the bigger size.

The 2x option is automatic on iPad when displaying an iPod-sized app. So, no 
coding involved with that at all.

LiveCode won't automatically adjust for the iPad screen size, but you can 
create an app that checks the device and then adjusts through scaling that you 
include in the scipts or by using cards you set up for both the iPad or iPod 
sizes.

be well,
randy
-
On Oct 7, 2011, at 4:14 PM, tbodine wrote:

 Thanks for the info., Randy. Just bought a copy. Great job! Fun way to teach.
 Finger trace works great.  (My daughter teaches Kindergarten... she'll love
 it.)
 
 Curious: was it a design decision or a technical constraint that made you
 choose to design for smaller screen and add the 2X button versus designing
 for larger screen with a redux button? 
 
 I haven't finished an app yet myself, but was sort of expecting that
 LiveCode could adapt itself to the device screen on its own.
 
 Thanks again.
 Tom Bodine
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/New-iOS-App-in-Store-tp3882022p3883739.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


UIWebView control flash

2011-10-07 Thread J. Landman Gay
I'm setting up a browser control in a preopencard handler. Normally 
preopencard doesn't display anything while it runs, but even if I 
surround the handler with lock/unlock commands, the card itself is 
briefly visible before the control appears. That means the user sees the 
underlying card for a moment before the full-screen browser content appears.


Is there a trick to getting it to draw before the card is visible?

--
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: UIWebView control flash

2011-10-07 Thread Mark Schonewille
Hi Jacque,

You could try to create the browser object before navigating cards. I don't 
know if this will actually work, but i did notice that UI controls stay on 
screen if they are not deleted the propert way.

Another possibility is to show a card with a circular progress indicator in the 
middle and show the browser object on top of it.

--
Best regards,

Mark Schonewille

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

See what you get with only a small contribution. All our LiveCode downloads are 
listed at http://qery.us/zr

On 8 okt 2011, at 03:54, J. Landman Gay wrote:

 I'm setting up a browser control in a preopencard handler. Normally 
 preopencard doesn't display anything while it runs, but even if I surround 
 the handler with lock/unlock commands, the card itself is briefly visible 
 before the control appears. That means the user sees the underlying card for 
 a moment before the full-screen browser content appears.
 
 Is there a trick to getting it to draw before the card is visible?


___
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: [UBUNTU] running LiveCode on 11.x

2011-10-07 Thread Mark Wieder
Andre-

Friday, October 7, 2011, 6:06:26 PM, you wrote:

 I did the same thing for Fedora 15 but doing that on my new Ubuntu

BTW... I absolutely hate the new Gnome3 in FC15. I can't believe
anybody thought this was a good idea.

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


iOS and Mac mini and App Store

2011-10-07 Thread Jim Ault

I haev a buyer for one of my Mac mini computers running Leopard.
The buyer wants to build iPad apps with Livecode, but did not know  
about the developer requirements.


I told him I would get the answers to
How much is the Apple developer cost
How long does it take to become one (hours, days)?
Can you run the apps on your own iPad without the Apple Store approval?

Can you transfer your beta app to another users device ?

Can you transfer your beta app to another users simulator ?

His goal is to run a simple beta app on his bosses iPad next Wed.

Thanks for helping me outline the process.

Jim Ault




___
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: Reading PDFs in LC (again)

2011-10-07 Thread Chipp Walters
Graham,

I'm puzzled why you're using ImageMagick when even with ImageMagick you
still need to install GhostScript. Why not only install GhostScript and run
it from the command line (or process)? It can directly convert PDF's to PNG,
BMP, JPG, etc.. which can then be imported into LC.

On Fri, Oct 7, 2011 at 10:40 AM, Graham Samuel livf...@mac.com wrote:

 Folks, I have been reading all the responses I got on this issue that
 appeared under a number of different subject headings in the last couple of
 weeks. I thought people might be interested in my current position.

 First, my intention was to read PDFs as images (bitmaps) into an
 LC-authored app written to be run under Windows. This is clearly quite a
 restricted way of using PDFs, since they can contain readable text and much
 else which I don't currently care about. However, even with these
 restrictions it is not an easy thing to code a reader for PDFs entirely in
 LiveCode, so some third-party component appears to be needed.

 Second, I also had another need for input of bitmaps, which was to read
 TIFF files. In my original posts I didn't explain this as I thought it would
 complicate the discussion. Sadly this is another format that LC doesn't help
 us with.

 Third, I needed generous licensing terms, so that the additional
 component(s) to accomplish the input would be either free or else licensed
 on a pay-once basis, without per-user charges imposed on the end user, much
 like LC itself.

 Fourth (and last), I am writing an app for busy non-technical people which
 means among other things that any installation process should be simple, and
 certainly without any kind of extended interaction about options, licensing
 terms etc. demanded of the user.

 I have considered various approaches, with ImageMagick being the technical
 front runner (it's 'free' - kind of - and fulfils my technical
 requirements).

 I was scared of ImageMagick both because of the Windows-specific technical
 warnings on the download site and because of the license terms.

 The good news is that people on this list have persuaded me that I should
 not be scared. There is still some question over the license terms, since
 the one commercial supplier of the main underlying component, GhostScript
 (Artifex), insists that:

  If your application (including its source code) is not licensed to the
 public under the GNU GPL, you are not authorized to ship GPL Ghostscript or
 GPL MuPDF with your application under the terms of the GNU GPL if any one of
 the following is true:
 
  your application contains a copy of some or all of GPL Ghostscript or
 MuPDF;
  your application is derived from, is based on, or constitutes a revision
 of some or all of GPL Ghostscript or MuPDF;
  your application includes one or more functions that use some or all of
 GPL Ghostscript or MuPDF.
  These criteria apply to your application as a whole. Even if only one
 section of your application satisfies one of these criteria, you are not
 authorized to ship GPL Ghostscript or GPL MuPDF with your application unless
 your application, including all of its source code, is licensed to the
 public under the GNU GPL.
 
  If your application (including its source code) is NOT licensed to the
 public under the GNU GPL and you intend to distribute Ghostscript or MuPDF
 to a third party for use with and usable by your application, you MUST first
 obtain a commercial license from Artifex.

 Various people on the list have suggested that there are workarounds that
 render this statement untrue, and since there appear to be real-world
 examples of commercial products that do use GhostScript without a commercial
 license, I am going to adopt the approach suggested, hopefully maintaining
 the letter and spirit of the GPL.

 OK, the next thing is to try it - probably not using 'shell' (heeding Monte
 Goulding's warning and adopting his solution, which sadly I only half
 understand). I have command-line fear, but I guess I'll get over it (when I
 started programming computers, we didn't even have command lines - sounds
 like a Monty Python sketch, but true. The machines were not actually steam
 powered).

 I'll report back if I get to a point where my app (including its install
 process) appears viable.


 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




-- 
Chipp Walters
CEO, Shafer Walters Group, Inc.
___
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: Object naming conventions

2011-10-07 Thread Pete
Thanks Mike, I'll be in touch in the next couple of weeks.
Pete
Molly's Revenge http://www.mollysrevenge.com




On Fri, Oct 7, 2011 at 6:21 PM, Mike Felker ad...@mfelkerco.com wrote:

 That sounds like a great tool. I would love to help beta test it.

 Mike

 Sent from my iPad

 On Oct 7, 2011, at 12:54 PM, Pete p...@mollysrevenge.com wrote:

  Thanks for the thoughts Bob.
 
  For those who have replied, here's the reason behind the question.
 
  I'm about to ask for beta testers for an LC tool that greatly speeds up
 the
  development of applications that use SQL databases.  Part of the tool is
 a
  palette of controls that you can drag and drop onto your cards, answer a
  couple of easy questions and the control will be linked to your database.
  Right now, I use a naming convention for controls so that the tool's
  runtime library can recognize controls that are significant to it.
 
  My concern is that I'm imposing my naming convention on anyone who wants
 to
  make use of the tool.  Whether you'd be willing to give up your naming
  conventions in exchange for the productivity gains you'll get from using
 the
  tool - that's the question.
 
  I'm considering providing an alternative by using a custom property of
 the
  control to store the info I need and let people name the controls
 according
  to their own conventions.  But that is a fair amount of coding and
 retesting
  to be done so I thought I would try to gauge the sentiment on naming
  conventions before starting down that path.  Hopefully, that doesn't
 break
  any forum rules.
 
  Pete
  Molly's Revenge http://www.mollysrevenge.com
 
 
 
 
  On Fri, Oct 7, 2011 at 9:15 AM, Bob Earp rje...@hotmail.com wrote:
 
  Pete,
  It's a great question, but the last time this was asked on the list I
 think
  the discussion went on for three lifetimes (in use-livecode list years)
 on
  what exactly should be the standard to use.  It seems there's more and
  different naming conventions in the world than Tim Hortons has served
 cups
  of coffee, so if you are trying to automate layout based on what others
 use
  you're likely to discover the meaning of life, the universe and
 everything
  before completing half of it ;-)
 
  Richard Gaskin's article is a great start, and I think that most of us
 that
  have coded for a number of years have done something similar.
  Personally I
  think there are really only three things one needs to follow;
 
  1. Don't worry about what others do, just name everything in a format
 that
  really makes sense to you and your team today, and in the future.
  2. Keep the names as short and uncomplicated as possible.
  3. Write down what your naming convention standards are so that others
 can
  refer to it, and check those standards with your team on a regular basis
 to
  make sure it continues to work for them.
 
  Naming is only a way of better understanding what somebody was trying to
 do
  in their script, and that somebody is likely you in the future !!  So,
 don't
  forget comments which are as important but generally considered as
  kindergarden practice by self proclaimed expert scripters ;-)
 
  best, Bob...
 
 
 
  From: Pete p...@mollysrevenge.com
  To: How to use LiveCode use-livecode@lists.runrev.com
  Subject: Object Naming Conventions
  Message-ID:
   
  cabx6j9mopo_9zn3+5usefnp-wyt8w2xfzu1lavp1mdxhuyb...@mail.gmail.com
  Content-Type: text/plain; charset=ISO-8859-1
 
  I vaguely remember a thread on this topic a while back.  I'm interested
  in
  what naming conventions people have for stacks/cards/controls, if any.
 
  This is in connection with a project I'm working on to automate laying
  out
  controls on a card.  I'm currently using a naming convention of my own
  but
  I'd like to provide a way for other conventions to be used, in
 particular
  the use of prefix or suffix characters in names of different types of
  objects.
 
  Any input is most welcome.
 
  Pete
  Molly's Revenge http://www.mollysrevenge.com
 
 
 
  Bob Earp
  White Rock, British Columbia.
 
 
 
  ___
  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 

Re: iOS and Mac mini and App Store

2011-10-07 Thread Colin Holgate
What processor does the Mac mini have? It would want to be Intel, and you would 
need it to update to Snow Leopard.

It's $99 a year to be an iOS developer.

Don't know how long it takes these days, but there is a chance it could be done 
before Wednesday. When I signed up it took four months, but it's quicker now 
I'm sure.

Yes you can run apps you make, on up to 100 devices, whether those are yours or 
your boss's.

I don't think the app would work in someone else simulator, but I may be wrong.

He could always make a standalone application to show how it's progressing.



___
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: iOS and Mac mini and App Store

2011-10-07 Thread Jim Ault

On Oct 8, 2011, at 12:18 AM, Colin Holgate wrote:

What processor does the Mac mini have? It would want to be Intel,  
and you would need it to update to Snow Leopard.


It's $99 a year to be an iOS developer.

Don't know how long it takes these days, but there is a chance it  
could be done before Wednesday. When I signed up it took four  
months, but it's quicker now I'm sure.


Yes you can run apps you make, on up to 100 devices, whether those  
are yours or your boss's.


I don't think the app would work in someone else simulator, but I  
may be wrong.


He could always make a standalone application to show how it's  
progressing.


Thanks for the quick reply.
I can update the Intel to Snow ( although the Rev site says 10.5.8 or  
10.6 will work )
I did not realize that the standalone would run on the iPad before you  
got the Apple developer approval.  The gestures are part of the beta  
test this next week and would not work on a desktop, of course.


 He is a young guy who is tired of C+ and wants to try LC on a low- 
cost Mac.


Hope all is going well now that Autumn is on the way :-)
Thanks for the help.

Jim Ault
___
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