Re: iOS App Submission Error

2014-05-19 Thread Neil Roger

Hi All,

Its great to hear that you managed to submit your App with the 
workaround mentioned here-


http://forums.runrev.com/viewtopic.php?f=49t=20416

As there is a bug report on the issue, we will be investigating this 
further and implementing a fix within a future release of LC.


Kind Regards,?

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--


On 15/05/2014 20:50, Randy Hengst wrote:

Hi All,

I received this error message on my attempt to upload an app today.:

ERROR ITMS-9000: This bundle is invalid. New apps and app udates 
submitted to the App Store must be built with public (GM) versions of 
Xcode 5 and iOS 7 SDK. Do not submit apps built with beta software. 
at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)



I'm using:
LC 6.1.3
Xcode Version 5.0.2 (5A3005)
Application Loader Version 2.9.1 (441)

I'm not sure how to determine whether or not my 7.0 SDK is beta... but 
there is a 7.0 SDK in the contents of Xcode 5.0.2:
Developer- Platforms - iPhoneOS.platform - Developer - SDKs 
- iPhoneOS7.0.sdk


I have never downloaded Apple beta software

Any thoughts?

be well,
randy hengst


___
livecode-dev mailing list
livecode-...@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/livecode-dev


___
use-livecode mailing list
use-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: LockMoves

2014-05-19 Thread Nakia Brewer
Once I was home and could actually try this out on an actual device I was sadly 
not as impressed as I was on the desktop.

It all works like it should but it's just a little jittery whilst it's making 
the moves... This was on an iPhone 5 so it would probably suffer fairly bad on 
an even lower spec device.

I have the acceleratedRendering enabled.



Sent from my iPhone

 On 19 May 2014, at 2:52 pm, J. Landman Gay jac...@hyperactivesw.com wrote:
 
 On 5/18/14, 9:14 AM, Richmond wrote:
 Now I'm wondering what value that lockMoves has at all.
 
 The examples given may have explained it. But just in case, move commands 
 issued sequentially will move that way. Even if you use without waiting 
 there will still be some lag between the first and last moves. With only two 
 objects you may not notice, but with several they will appear to move in a 
 wave-like motion because the last objects will start their move a few 
 milliseconds after the earlier ones. If you lock moves, issue all the 
 commands, and then unlock moves, the objects all move together as a group.
 
 -- 
 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
 

COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.



___
use-livecode mailing list
use-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: LockMoves

2014-05-19 Thread Randy Hengst
It would be worth double-checking to make sure each item in the groups you are 
moving has its layer mode set to dynamic…. I confess to having forgotten that 
step on several occasions. 

On May 18, 2014, at 7:13 PM, Nakia Brewer nakia.bre...@westrac.com.au wrote:

 After playing with a test stack John Dixon sent me last night (Thanks John, 
 you are the man!) I think the key with moving objects simultaneously is 
 Making sure you include the 'without waiting' syntax.
 
 The following works fine:
   lock moves
   move grc 5 to the points of grc 1 without waiting
   move grc 6 to the points of grc 2 without waiting
   move grc 7 to the points of grc 3 without waiting
   move grc 8 to the points of grc 4 without waiting 
   unlock moves
 
 The following fails miserably:
   lock moves
   move grc 5 to the points of grc 1 
   move grc 6 to the points of grc 2 
   move grc 7 to the points of grc 3 
   move grc 8 to the points of grc 4 
   unlock moves
 
 
 Nakia Brewer | Technology  Solutions Manager | Equipment Management Solutions
 t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au
 
 
   ACN 009 342 572
 
 
 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
 Of Dar Scott
 Sent: Monday, 19 May 2014 7:44 AM
 To: How to use LiveCode
 Subject: Re: LockMoves
 
 This works for me on Mavericks and LC 6.6.1.
 
 on mouseUp
   set the location of graphic Rectangle to 100,100
   set the location of graphic Round Rectangle to 100,200
   set the location of graphic Oval to 100,300
   wait .7 seconds with messages
   set the lockMoves to true
   move graphic Rectangle rel 300,0 without waiting
   move graphic Round Rectangle rel 300,0 without waiting
   move graphic Oval rel 300,0 without waiting
   set the lockMoves to false
 end mouseUp
 
 What OS are you using?
 
 Dar
 
 On May 18, 2014, at 6:37 AM, Nakia Brewer nakia.bre...@westrac.com.au wrote:
 
 Hi,
 
 I have a need to move 2 groups at the same time (one menu drops in whilst 
 one drops out).
 
 I'm currently using the move command to achieve this but they are moving one 
 at a time (second doesn't start until first finishes).. This works okay, 
 objects move relatively smooth etc..
 
 However
 
 The dictionary states I can use the locksMoves property to force them to 
 both move at once by setting it true before issuing the moves then setting 
 it to false after they have both been issued. I have tried this solution but 
 it's not moving them, rather just one jump' to the final location...
 
 Any suggestions on what may be happening or suggestions on alternative 
 solutions?
 
 
 
 
 
 Sent from my iPhone
 COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
 contain confidential proprietary or privileged information. If you are not 
 the intended recipient, you are strictly prohibited from using, reproducing, 
 disclosing or distributing the information contained in this email without 
 authorisation from WesTrac. If you have received this message in error 
 please contact WesTrac on +61 8 9377 9444. We do not accept liability in 
 connection with computer virus, data corruption, delay, interruption, 
 unauthorised access or unauthorised amendment. We reserve the right to 
 monitor all e-mail communications.
 
 
 
 ___
 use-livecode mailing list
 use-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
 
 
 COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
 contain confidential proprietary or privileged information. If you are not 
 the intended recipient, you are strictly prohibited from using, reproducing, 
 disclosing or distributing the information contained in this email without 
 authorisation from WesTrac. If you have received this message in error please 
 contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
 with computer virus, data corruption, delay, interruption, unauthorised 
 access or unauthorised amendment. We reserve the right to monitor all e-mail 
 communications.
 
 
 
 ___
 use-livecode mailing list
 use-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


paid contract work - full text justification

2014-05-19 Thread Dave Kilroy
Dear all

A while ago I tried to create full text justification within LiveCode (that
is, having a block of text in a field with text aligned to the left and the
right margins) - I got it working 'kind-of' but not really properly - and
then I ran out of time.

One of my clients wants text in his app appearing fully justified and I have
my hands full coding the rest of the app in time for launch - so he and I
are interested in getting someone else to work on this (nicely separate)
piece of code.

If any of you are  interested please get in touch directly.

Kind regards

Dave



-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/paid-contract-work-full-text-justification-tp4679728.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


Nice news for builders of financial apps

2014-05-19 Thread Richard Gaskin
Check this out - looks like independent column alignment via a tabAlign 
property is coming in v7:

http://quality.runrev.com/show_bug.cgi?id=2282

At long last we'll be able to use the native field object for things like:

Name   | Salary| Title
---
Richard Gaskin |$44,000| Ambassador
Mark Wieder| $1,280,000| Software Genius
Kevin Miller   | $5,340,000| Coding Liberator


This is especially useful for financial apps, since of course users are 
accustomed to seeing financial figures right-aligned while textual data 
is commonly left-aligned.


But there are many other uses as well, since statistics and most other 
numeric data are commonly right-aligned.


I can't describe my glee!

I know what I'll be testing during the LiveCode Global Jam

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

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


Re: Nice news for builders of financial apps

2014-05-19 Thread Dave Kilroy
Fabulous :)



-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Nice-news-for-builders-of-financial-apps-tp4679729p4679730.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: Nice news for builders of financial apps

2014-05-19 Thread Mike Kerner
Help me out, please:  why not just use a table or a dg?  Is it just to make
it easier to build reports instead of using a report writer/builder?


On Mon, May 19, 2014 at 10:37 AM, Dave Kilroy
d...@applicationinsight.comwrote:

 Fabulous :)



 -
 Some are born coders, some achieve coding, and some have coding thrust
 upon them. - William Shakespeare  Hugh Senior

 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Nice-news-for-builders-of-financial-apps-tp4679729p4679730.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




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

2014-05-19 Thread J. Landman Gay
Did you also set the layermode of the moving objects to dynamic ? 

On May 19, 2014 5:16:59 AM CDT, Nakia Brewer nakia.bre...@westrac.com.au 
wrote:
Once I was home and could actually try this out on an actual device I
was sadly not as impressed as I was on the desktop.

It all works like it should but it's just a little jittery whilst it's
making the moves... This was on an iPhone 5 so it would probably suffer
fairly bad on an even lower spec device.

I have the acceleratedRendering enabled.

-- 
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: paid contract work - full text justification

2014-05-19 Thread Dar Scott
Dave,

I’d like to throw my hat into the ring, if I may.

I build custom controls, externals and libraries.  This looks like it fits into 
the custom control category.

I charge $100 per hour, bill weekly, and expect payment in 15 days.  For 
something like this, I am willing to quote a fixed price and delivery, if a 
first phase comes up with a good definition and analysis of the problem.  

I am concerned about any special gotchas in this, since you had trouble.  Or 
was that probably your not being able to the time to do it right?  

Dar


---
Dar Scott
dba 
Dar Scott Consulting
8637 Horacio Place NE
Albuquerque, NM 87111

Lab, home, office phone: +1 505 299 9497
For Skype and fax, please contact.
d...@swcp.com

Computer programming and tinkering,
usually in supporting those developing in 
LiveCode--typically by making LiveCode 
controls, libraries and externals, and
sometimes by writing associated
microcontroller firmware.  
---




On May 19, 2014, at 7:24 AM, Dave Kilroy d...@applicationinsight.com wrote:

 Dear all
 
 A while ago I tried to create full text justification within LiveCode (that
 is, having a block of text in a field with text aligned to the left and the
 right margins) - I got it working 'kind-of' but not really properly - and
 then I ran out of time.
 
 One of my clients wants text in his app appearing fully justified and I have
 my hands full coding the rest of the app in time for launch - so he and I
 are interested in getting someone else to work on this (nicely separate)
 piece of code.
 
 If any of you are  interested please get in touch directly.
 
 Kind regards
 
 Dave
 
 
 
 -
 Some are born coders, some achieve coding, and some have coding thrust upon 
 them. - William Shakespeare  Hugh Senior
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/paid-contract-work-full-text-justification-tp4679728.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: Nice news for builders of financial apps

2014-05-19 Thread Fraser Gordon
On 19 May 2014, at 15:25, Richard Gaskin ambassa...@fourthworld.com wrote:

 Check this out - looks like independent column alignment via a tabAlign 
 property is coming in v7:
 http://quality.runrev.com/show_bug.cgi?id=2282

I wondered when somebody would notice! It turned out that something similar was 
required to solve a bug with RTL text layout in the presence of tabs so it made 
sense to turn it into a feature. Any bug-finding you do will be greatly 
appreciated - in my tests, it cooperates properly with paragraph alignment and 
the like but I'm sure there are subtle combinations that I've missed!

Regards,
Fraser
___
use-livecode mailing list
use-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: paid contract work - full text justification

2014-05-19 Thread Dar Scott
Sorry about that, everybody.  I really know how to “get in touch directly” most 
mornings.

Dar


On May 19, 2014, at 9:10 AM, Dar Scott d...@swcp.com wrote:

 Dave,
 
 I’d like to throw my hat into the ring, if I may.
 
 I build custom controls, externals and libraries.  This looks like it fits 
 into the custom control category.
 
 I charge $100 per hour, bill weekly, and expect payment in 15 days.  For 
 something like this, I am willing to quote a fixed price and delivery, if a 
 first phase comes up with a good definition and analysis of the problem.  
 
 I am concerned about any special gotchas in this, since you had trouble.  Or 
 was that probably your not being able to the time to do it right?  
 
 Dar
 
 
 ---
 Dar Scott
 dba 
 Dar Scott Consulting
 8637 Horacio Place NE
 Albuquerque, NM 87111
 
 Lab, home, office phone: +1 505 299 9497
 For Skype and fax, please contact.
 d...@swcp.com
 
 Computer programming and tinkering,
 usually in supporting those developing in 
 LiveCode--typically by making LiveCode 
 controls, libraries and externals, and
 sometimes by writing associated
 microcontroller firmware.  
 ---
 
 
 
 
 On May 19, 2014, at 7:24 AM, Dave Kilroy d...@applicationinsight.com wrote:
 
 Dear all
 
 A while ago I tried to create full text justification within LiveCode (that
 is, having a block of text in a field with text aligned to the left and the
 right margins) - I got it working 'kind-of' but not really properly - and
 then I ran out of time.
 
 One of my clients wants text in his app appearing fully justified and I have
 my hands full coding the rest of the app in time for launch - so he and I
 are interested in getting someone else to work on this (nicely separate)
 piece of code.
 
 If any of you are  interested please get in touch directly.
 
 Kind regards
 
 Dave
 
 
 
 -
 Some are born coders, some achieve coding, and some have coding thrust upon 
 them. - William Shakespeare  Hugh Senior
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/paid-contract-work-full-text-justification-tp4679728.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Nice news for builders of financial apps

2014-05-19 Thread Mike Kerner
Dave, maybe this will help with your fill justify issue.


On Mon, May 19, 2014 at 11:47 AM, Fraser Gordon fraser.gor...@runrev.comwrote:

 On 19 May 2014, at 15:25, Richard Gaskin ambassa...@fourthworld.com
 wrote:

  Check this out - looks like independent column alignment via a tabAlign
 property is coming in v7:
  http://quality.runrev.com/show_bug.cgi?id=2282

 I wondered when somebody would notice! It turned out that something
 similar was required to solve a bug with RTL text layout in the presence of
 tabs so it made sense to turn it into a feature. Any bug-finding you do
 will be greatly appreciated - in my tests, it cooperates properly with
 paragraph alignment and the like but I'm sure there are subtle combinations
 that I've missed!

 Regards,
 Fraser
 ___
 use-livecode mailing list
 use-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: paid contract work - full text justification

2014-05-19 Thread Dave Kilroy
And I might as well post an answer to Dar's question here as well:

Firstly, this thread shows how far I got:
http://forums.runrev.com/viewtopic.php?f=6t=20228

And I gave up both because I had to get back to some 'real' work (I didn't
charge the client for my work), I had already spent about 8 hours
experimenting and the next route of enquiry I could see would mean taking a
completely different approach.

What I found tricky was how little control I had over a field and how
differently a field seemed to react depending on the OS as well as
differences between Mountain Lion, Mavericks etc. And what might work in a
relatively narrow field would fall over in a wide one

My next two lines of enquiry would have been:

Manually controlling the rect of each word to simulate justification - or if
that didn't work or was too unreliable in different OS's or came with a
too-high performance hit I might have tried...

Create a group of fields for each 'row' of text (maybe two or three fields
per 'row'?), set different alignments for each field to get a nice neat left
and right margin and perhaps use some of the faux justification techniques
I'd already got working for word spacing in between the left and right
margins

But basically I ran out of time on a tricky topic - maybe I would have
licked it or maybe not - and maybe LC 7 will come in with full justification
anyway!

Either way, my client is willing to invest some cash for coders who are
interested...

Kind regards

Dave



-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/paid-contract-work-full-text-justification-tp4679728p4679738.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: Nice news for builders of financial apps

2014-05-19 Thread Dave Kilroy
Hi Mike - yeah it hadn't occurred to me that maybe you could 'fake' full
justification with a multi-column LC7 table (DOH) - maybe it would do it, it
would need some finessing though. 

I'm not sure if LC7 will be stable enough for my client's timetable - but
will look out for any proposals that involve exclusive use of LC7!

Kind regards

Dave



-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Nice-news-for-builders-of-financial-apps-tp4679729p4679739.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: paid contract work - full text justification

2014-05-19 Thread Dave Kilroy
Hi Dar

Thank you very much for your enquiry - your hat is duly in the ring.

I think my client wants to wait a day or two to see how many come forward but 
you are certainly the first (and I'm sure would do a great job)

I'll be in touch soon

PS: I posted a reply to your posting on the UseList which answers your questions

Kind regards

 
Dave Kilroy


Application Insight

Web: www.applicationinsight.com
Email: d...@applicationinsight.com
Twitter: @App_Insight_
Tel: (0845) 337 2995

Application Insight Limited is a company registered in England (no: 05761203) 
Registered Office: 22 Hartley Park Gardens, Plymouth PL3 5HU 
http://www.applicationinsight.com The contents and any attachments of this 
electronic mail message are confidential and intended only for the named 
addressees. Dissemination, forwarding, publication or other use of the message 
or attachments by any unauthorised person is strictly prohibited. Unless stated 
to the contrary, any opinions expressed in this message are personal and may 
not be attributed to Application Insight Limited.

On 19 May 2014, at 16:10, Dar Scott d...@swcp.com wrote:

 Dave,
 
 I’d like to throw my hat into the ring, if I may.
 
 I build custom controls, externals and libraries.  This looks like it fits 
 into the custom control category.
 
 I charge $100 per hour, bill weekly, and expect payment in 15 days.  For 
 something like this, I am willing to quote a fixed price and delivery, if a 
 first phase comes up with a good definition and analysis of the problem.  
 
 I am concerned about any special gotchas in this, since you had trouble.  Or 
 was that probably your not being able to the time to do it right?  
 
 Dar
 
 
 ---
 Dar Scott
 dba 
 Dar Scott Consulting
 8637 Horacio Place NE
 Albuquerque, NM 87111
 
 Lab, home, office phone: +1 505 299 9497
 For Skype and fax, please contact.
 d...@swcp.com
 
 Computer programming and tinkering,
 usually in supporting those developing in 
 LiveCode--typically by making LiveCode 
 controls, libraries and externals, and
 sometimes by writing associated
 microcontroller firmware.  
 ---
 
 
 
 
 On May 19, 2014, at 7:24 AM, Dave Kilroy d...@applicationinsight.com wrote:
 
 Dear all
 
 A while ago I tried to create full text justification within LiveCode (that
 is, having a block of text in a field with text aligned to the left and the
 right margins) - I got it working 'kind-of' but not really properly - and
 then I ran out of time.
 
 One of my clients wants text in his app appearing fully justified and I have
 my hands full coding the rest of the app in time for launch - so he and I
 are interested in getting someone else to work on this (nicely separate)
 piece of code.
 
 If any of you are  interested please get in touch directly.
 
 Kind regards
 
 Dave
 
 
 
 -
 Some are born coders, some achieve coding, and some have coding thrust upon 
 them. - William Shakespeare  Hugh Senior
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/paid-contract-work-full-text-justification-tp4679728.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: paid contract work - full text justification

2014-05-19 Thread Dave Kilroy
Oh no! Now I'm replying to the use list rather than Dar directly - sorry
everyone!




-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/paid-contract-work-full-text-justification-tp4679728p4679741.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: paid contract work - full text justification

2014-05-19 Thread Colin Holgate
Sounds like the two of you will get on fine.


On May 19, 2014, at 1:40 PM, Dave Kilroy d...@applicationinsight.com wrote:

 Oh no! Now I'm replying to the use list rather than Dar directly - sorry
 everyone!
 
 


___
use-livecode mailing list
use-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: paid contract work - full text justification

2014-05-19 Thread Dar Scott
: )

On May 19, 2014, at 11:42 AM, Colin Holgate co...@verizon.net wrote:

 Sounds like the two of you will get on fine.
 
 
 On May 19, 2014, at 1:40 PM, Dave Kilroy d...@applicationinsight.com wrote:
 
 Oh no! Now I'm replying to the use list rather than Dar directly - sorry
 everyone!
 
 
 
 
 ___
 use-livecode mailing list
 use-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: paid contract work - full text justification

2014-05-19 Thread Alejandro Tejada
emails that ends up in the wrong recipient(s) mailbox
would be an interesting plot device for comedies. :D

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/paid-contract-work-full-text-justification-tp4679728p4679745.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: paid contract work - full text justification

2014-05-19 Thread Dave Kilroy
:D



-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/paid-contract-work-full-text-justification-tp4679728p4679744.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


Making tabs in a tab panel inactive

2014-05-19 Thread Magicgate Software - Skip Kimpel
Good afternoon,

Is there a way to make certain tabs in a tab panel inactive?

I would love to be able to control this, however, I can only seem to enable
/ disable the tab panel in it's entirety.

Any help would be greatly appreciated!

SKIP
___
use-livecode mailing list
use-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: Making tabs in a tab panel inactive

2014-05-19 Thread Colin Holgate
Might this help?:

http://lists.runrev.com/pipermail/use-livecode/2004-July/040343.html



___
use-livecode mailing list
use-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: Nice news for builders of financial apps

2014-05-19 Thread Richard Gaskin

Mike Kerner wrote:

 Help me out, please:  why not just use a table or a dg?

The table object is a LiveCode field with special cell-editing 
provided with an overlay field; in all other respects it has only the 
same features any multi-column LiveCode field has, which historically 
prevented independent column alignment.


The DataGrid is great, but ideally for forms. Beyond the convenient 
headers, the list mode is really just a very complex way to work around 
not having independent column alignment in native fields.


With the field object now supporting independent column alignment, we 
get attractive super-efficient, super-simple displays for columnar data 
that may include numeric values.


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

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


Re: Nice news for builders of financial apps

2014-05-19 Thread Alejandro Tejada
Hi Richard,


Richard Gaskin wrote
 [snip]
 With the field object now supporting independent column alignment, we 
 get attractive super-efficient, super-simple displays for columnar data 
 that may include numeric values.

Where could we download a demo stack? :)


Richard Gaskin wrote
 At long last we'll be able to use the native field object for things like: 
 Name   | Salary| Title 
 --- 
 Richard Gaskin |$44,000| Ambassador 
 Mark Wieder| $1,280,000| Software Genius 
 Kevin Miller   | $5,340,000| Coding Liberator 

Hopefully the IRS will understand a joke when they see it... :D

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Nice-news-for-builders-of-financial-apps-tp4679729p4679749.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


[Enhancement Request] Support of webM and webP

2014-05-19 Thread Alejandro Tejada
Just posted this enhancement request:
http://quality.runrev.com/show_bug.cgi?id=12448

Although I have posted this request in LiveCode's mail-list, 
the Quality Center is the place to discuss it.

Could you include in LiveCode, support for these modern 
and updated video, audio and animation formats: 
webM and webP?

http://www.webmproject.org/about/
https://developers.google.com/speed/webp/?csw=1

Notice that already, LiveCode displays webM within 
revBrowserCef (Chrome Embedded Framework dll).

This request ask for displaying and controling
webM and webP by LiveCode script within a card 
or as part of a group, not just within revBrowserCef 
via javaScript.

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Enhancement-Request-Support-of-webM-and-webP-tp4679750.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: Making tabs in a tab panel inactive

2014-05-19 Thread Alejandro Tejada
Interesting enough, using ( in the name of a tab
to disable it, does not appear either in these lessons:

http://lessons.runrev.com/s/lessons/m/4071/l/7574-using-tab-buttons
http://lessons.runrev.com/s/lessons/m/4603/l/44134-Text-in-the-Tab-Panel

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Making-tabs-in-a-tab-panel-inactive-tp4679746p4679751.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: [Enhancement Request] Support of webM and webP

2014-05-19 Thread Dar Scott
I guessing one could write a library (LiveCode) to get webP images, or use an 
external.  Those could be displayed.

But, I’m not sure what one would do with webM.  Save it to a file in some other 
format?  

Play it?  That looks like it would need an enhancement of player.  Is that what 
you were thinking of?

Dar


On May 19, 2014, at 2:13 PM, Alejandro Tejada capellan2...@gmail.com wrote:

 Just posted this enhancement request:
 http://quality.runrev.com/show_bug.cgi?id=12448
 
 Although I have posted this request in LiveCode's mail-list, 
 the Quality Center is the place to discuss it.
 
 Could you include in LiveCode, support for these modern 
 and updated video, audio and animation formats: 
 webM and webP?
 
 http://www.webmproject.org/about/
 https://developers.google.com/speed/webp/?csw=1
 
 Notice that already, LiveCode displays webM within 
 revBrowserCef (Chrome Embedded Framework dll).
 
 This request ask for displaying and controling
 webM and webP by LiveCode script within a card 
 or as part of a group, not just within revBrowserCef 
 via javaScript.
 
 Al
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/Enhancement-Request-Support-of-webM-and-webP-tp4679750.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: [Enhancement Request] Support of webM and webP

2014-05-19 Thread Alejandro Tejada
Hi Dar,


Dar Scott wrote
 I guessing one could write a library (LiveCode) to get webP images, 
 or use an external.  Those could be displayed.
 But, I’m not sure what one would do with webM.  Save it to a file 
 in some other format?  Play it?  That looks like it would need an
 enhancement of player.  Is that what you were thinking of?

The Roadmap already includes a new internal cross-platform
Multimedia player (replacing QuickTime, unsupported by Apple)
This change is not a trivial matter.

http://livecode.com/community/roadmap/

In this mail list and forums, the names of mPlayer, VLC and other
media players appears whenever there is a discussion of playing
Multimedia file formats. Then...

Why not use a modern and updated multimedia open source format
as basis for this new internal Multimedia player?

Now, webM looks plain and simple compared with all the
capabilities of Quicktime, but who knows if it evolves in the future
and could assume many of the QuickTime Multimedia features,
like Panoramas, Midi playing, script controlled sprites and navigation
and Transitions...

Hopefully, many Livecode users and developers will join the discussion
in the Quality Center. :D

http://quality.runrev.com/show_bug.cgi?id=12448

Al

 



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Enhancement-Request-Support-of-webM-and-webP-tp4679750p4679753.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: Nice news for builders of financial apps

2014-05-19 Thread Richard Gaskin

Alejandro Tejada wrote:


Richard Gaskin wrote

[snip]
With the field object now supporting independent column alignment, we
get attractive super-efficient, super-simple displays for columnar data
that may include numeric values.


Where could we download a demo stack? :)


As soon as you make one. :)

The feature hasn't been released yet, so none of us have had a chance to 
build anything with that yet.


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

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


Re: Nice news for builders of financial apps

2014-05-19 Thread Jerry Jensen
On May 19, 2014, at 2:55 PM, Richard Gaskin ambassa...@fourthworld.com wrote:

 Alejandro Tejada wrote:
 
 Richard Gaskin wrote
 [snip]
 With the field object now supporting independent column alignment, we
 get attractive super-efficient, super-simple displays for columnar data
 that may include numeric values.
 
 Where could we download a demo stack? :)
 
 As soon as you make one. :)
 
 The feature hasn't been released yet, so none of us have had a chance to 
 build anything with that yet.

Bernd Niggemann's very useful modTableField will get a lift from this feature.
.Jerry


___
use-livecode mailing list
use-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: LockMoves

2014-05-19 Thread Nakia Brewer
Mmmm, no I didn't.

The two moving objects are groups so I will give this a try tonight...

Thanks for the tip.



Nakia Brewer | Technology  Solutions Manager | Equipment Management Solutions
t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au


  ACN 009 342 572

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
J. Landman Gay
Sent: Tuesday, 20 May 2014 12:47 AM
To: How to use LiveCode
Subject: Re: LockMoves

Did you also set the layermode of the moving objects to dynamic ? 

On May 19, 2014 5:16:59 AM CDT, Nakia Brewer nakia.bre...@westrac.com.au 
wrote:
Once I was home and could actually try this out on an actual device I 
was sadly not as impressed as I was on the desktop.

It all works like it should but it's just a little jittery whilst it's 
making the moves... This was on an iPhone 5 so it would probably suffer 
fairly bad on an even lower spec device.

I have the acceleratedRendering enabled.

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


COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.



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


setProp handlers

2014-05-19 Thread Devin Asay
Shouldn't a setProp handler be triggered if you set the custom property in the 
property inspector rather than in a script? It doesn't seem to be doing that 
for me. LC 6.6.2 RC 3.

The dictionary doesn't have anything to say about this issue.

Devin


Devin Asay
Learn to code with LiveCode University
http://university.livecode.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: setProp handlers

2014-05-19 Thread Kay C Lan
The User Guide says:
--
7.10.1 Responding to changing a custom property

When you use the set command to change a custom property, LiveCode
sends a setProp trigger to the object whose property is being changed.
--

This implies that it works when 'you' use the set command in your own scripts.

I've only ever used setProp and getProp based on my scripts getting
and setting custom property values and find it extremely useful. I've
never thought about the Property Inspector and whether it should or
shouldn't also send a getProp or setProp message but given a full 1
sec of careful consideration I could see the value of sending a
setProp message when I change a Custom Property via the Property
Inspector but I think it would be cumbersome if every time I just
looked at my Custom Properties in the Property Inspector it triggered
getProp handlers.

And for those who don't know, the Message Watcher can be used to track
and view getProp and setProp triggers as they are sent to objects, so
you can confirm they are firing at the right time.

On Tue, May 20, 2014 at 6:16 AM, Devin Asay devin_a...@byu.edu wrote:
 Shouldn't a setProp handler be triggered if you set the custom property in 
 the property inspector rather than in a script? It doesn't seem to be doing 
 that for me. LC 6.6.2 RC 3.

 The dictionary doesn't have anything to say about this issue.

 Devin


 Devin Asay
 Learn to code with LiveCode University
 http://university.livecode.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


Warning - Silent Failure of Scripts

2014-05-19 Thread Kay C Lan
On Sat, May 17, 2014 at 7:32 AM, Richard Gaskin
ambassa...@fourthworld.com wrote:

 Whenever you find the engine will compile a script that contains syntax
 errors without complaining, please file a bug report.


As I happened to be skimming through the User Guide in search of
another answer I discovered this Caution (which may actually be a
Warning) that scripts may fail silently if the Variable Watcher is
open. It's on page 52 of the 6.6.1 GM version:

--

Variable Watcher: Opens the Variable Watcher window, which you use to
keep track of the value of variables during debugging. When the
debugger is not open, the variable watcher shows the value of global
variables.

Caution: Warning: this feature will cause your scripts to fail
silently instead of giving an error message in the event LiveCode
encounters an error.
--

So I just did a quick check, New Stack, added a button:

on mouseUp
  breakpoint
  put 0 into x
  put 2 into y
  put y/x into z
end mouseUp

With Script Debug Mode turned On and the Variables window Open, when I
step through the script and get to line 5, the Errors window is
automatically bought forward with the following:

button Button: execution error at line 8 (Operators /: divide by zero), char 8

With Script Debug Mode turned Off and the Variables window Open, when
I click the button I get the Errors dialog box pop up with:

TypeOperators /: divide by zero
Object  Button
Line put y/x into z
Hint mousUp

I've raised Bug #12450 which is about errors in the User Guide as the
Development Menu no longer has Variable Watcher as a menu item - so
this is reference to earlier days when the Variable Watcher was a
separate window (stack). The Bug Report also questions whether the
Caution (or Warning?) is still valid. Was the problem solved when the
Variable Watcher and Debugger where combined?

If anyone does notice scripts failing silently it may be worth noting
the combination of Script Debug Mode On or Off and which Tab (Errors,
Variables, Documentation, Breakpoints, Search Results) was selected at
the time and probably most importantly, what kind of error was being
ignored. That could then be included with #12450.

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


Fwd: CODA 2 and livecode.

2014-05-19 Thread stephen barncard
I love Coda 2 when working with livecode server, the features very
advanced. But I continually have problems with syntax coloring and
formatting when using with .lc .irev or .rev files.

I've downloaded the last formatting document, called a node, and installed
it but no results.

Has anyone made code formatting for livecode  work with Coda 2.0?


thanks

sqb
*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
use-livecode mailing list
use-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 Server - what am I doing woring

2014-05-19 Thread Nakia Brewer
Hi All,

I am currently trying to learn how to use LC Server scripts and as such am 
doing some experimenting.

I have the 2 below examples of which the first works and the second does not.
I know these are trivial and serve no real purpose but remember I have training 
wheels on!

I am using sublime text to edit my LC files (could it be an issue with line 
endings?)

This works:
?lc

put $_GET[A] into tAction
put $_GET[location] into thelocation
put $_GET[clock] into thetime
put This is an error message into theErrorMsg
put theErrorMsg into URL “file:error.txt”

put empty

?



This DOES NOT work:
?lc

put $_GET[A] into tAction

   put $_GET[location] into thelocation
   put $_GET[clock] into thetime

if tAction = track then
   put “localhost” into tDatabaseAddress
   put “ua835258_westec” into tDatabaseName
   put ua835258_westec into tDatabaseUser
   put “thisisafakepassword” into tDatabasePassword
   put “user_locations” into tTableName
   put “1” into tUserID
   put “10” into tSpeed
   put “user_id,date_time,lat,long,speed” into tFields
   put thetime  tab  thelocation into temp
   put tDatabaseAddress  tDatabaseName  tDatabaseUser  tDatabasePassword  
tTableName  tUserID  tSpeed  tFields  temp into URL file:test.txt
end if

put empty

?

COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.



___
use-livecode mailing list
use-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 Server - what am I doing woring

2014-05-19 Thread Peter W A Wood
Nakia

The problem with your second script appears to be here:

if tAction = track then

If I change that to if 1 = 1 then, the file is written to the folder containing 
the script.

What is the URL you are using to access this script?

Regards

Peter


On 20 May 2014, at 11:50, Nakia Brewer wrote:

 Hi All,
 
 I am currently trying to learn how to use LC Server scripts and as such am 
 doing some experimenting.
 
 I have the 2 below examples of which the first works and the second does not.
 I know these are trivial and serve no real purpose but remember I have 
 training wheels on!
 
 I am using sublime text to edit my LC files (could it be an issue with line 
 endings?)
 
 This works:
 ?lc
 
 put $_GET[A] into tAction
 put $_GET[location] into thelocation
 put $_GET[clock] into thetime
 put This is an error message into theErrorMsg
 put theErrorMsg into URL “file:error.txt”
 
 put empty
 
 ?
 
 
 
 This DOES NOT work:
 ?lc
 
 put $_GET[A] into tAction
 
   put $_GET[location] into thelocation
   put $_GET[clock] into thetime
 
 if tAction = track then
   put “localhost” into tDatabaseAddress
   put “ua835258_westec” into tDatabaseName
   put ua835258_westec into tDatabaseUser
   put “thisisafakepassword” into tDatabasePassword
   put “user_locations” into tTableName
   put “1” into tUserID
   put “10” into tSpeed
   put “user_id,date_time,lat,long,speed” into tFields
   put thetime  tab  thelocation into temp
   put tDatabaseAddress  tDatabaseName  tDatabaseUser  tDatabasePassword  
 tTableName  tUserID  tSpeed  tFields  temp into URL file:test.txt
 end if
 
 put empty
 
 ?
 
 COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
 contain confidential proprietary or privileged information. If you are not 
 the intended recipient, you are strictly prohibited from using, reproducing, 
 disclosing or distributing the information contained in this email without 
 authorisation from WesTrac. If you have received this message in error please 
 contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
 with computer virus, data corruption, delay, interruption, unauthorised 
 access or unauthorised amendment. We reserve the right to monitor all e-mail 
 communications.
 
 
 
 ___
 use-livecode mailing list
 use-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: LC Server - what am I doing woring

2014-05-19 Thread Nakia Brewer
Thanks Peter.

I think I stumbled upon the error and it was as you suggested, what boiled down 
to a simple typo.
Its now behaving and doing what it should.



From: use-livecode [use-livecode-boun...@lists.runrev.com] on behalf of Peter W 
A Wood [peterwaw...@gmail.com]
Sent: Tuesday, May 20, 2014 2:11 PM
To: How to use LiveCode
Subject: Re: LC Server - what am I doing woring

Nakia

The problem with your second script appears to be here:

if tAction = track then

If I change that to if 1 = 1 then, the file is written to the folder containing 
the script.

What is the URL you are using to access this script?

Regards

Peter


On 20 May 2014, at 11:50, Nakia Brewer wrote:

 Hi All,

 I am currently trying to learn how to use LC Server scripts and as such am 
 doing some experimenting.

 I have the 2 below examples of which the first works and the second does not.
 I know these are trivial and serve no real purpose but remember I have 
 training wheels on!

 I am using sublime text to edit my LC files (could it be an issue with line 
 endings?)

 This works:
 ?lc

 put $_GET[A] into tAction
 put $_GET[location] into thelocation
 put $_GET[clock] into thetime
 put This is an error message into theErrorMsg
 put theErrorMsg into URL “file:error.txt”

 put empty

 ?



 This DOES NOT work:
 ?lc

 put $_GET[A] into tAction

   put $_GET[location] into thelocation
   put $_GET[clock] into thetime

 if tAction = track then
   put “localhost” into tDatabaseAddress
   put “ua835258_westec” into tDatabaseName
   put ua835258_westec into tDatabaseUser
   put “thisisafakepassword” into tDatabasePassword
   put “user_locations” into tTableName
   put “1” into tUserID
   put “10” into tSpeed
   put “user_id,date_time,lat,long,speed” into tFields
   put thetime  tab  thelocation into temp
   put tDatabaseAddress  tDatabaseName  tDatabaseUser  tDatabasePassword  
 tTableName  tUserID  tSpeed  tFields  temp into URL file:test.txt
 end if

 put empty

 ?

 COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
 contain confidential proprietary or privileged information. If you are not 
 the intended recipient, you are strictly prohibited from using, reproducing, 
 disclosing or distributing the information contained in this email without 
 authorisation from WesTrac. If you have received this message in error please 
 contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
 with computer virus, data corruption, delay, interruption, unauthorised 
 access or unauthorised amendment. We reserve the right to monitor all e-mail 
 communications.



 ___
 use-livecode mailing list
 use-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


COPYRIGHT / DISCLAIMER: This message and/or including attached files may 
contain confidential proprietary or privileged information. If you are not the 
intended recipient, you are strictly prohibited from using, reproducing, 
disclosing or distributing the information contained in this email without 
authorisation from WesTrac. If you have received this message in error please 
contact WesTrac on +61 8 9377 9444. We do not accept liability in connection 
with computer virus, data corruption, delay, interruption, unauthorised access 
or unauthorised amendment. We reserve the right to monitor all e-mail 
communications.



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