cron jobs and LC server

2014-10-06 Thread jbv
Hi list
I need to run a cron job every 5 minutes to process
some data on a server and the job needs to stop when
all data are processed. The thing is : the data will be
posted only once or twice a month and it is impossible
to predict when.
So my idea is to set up a cron job automatically when
needed and remove it when all data are processed.

I found the following tutorial :
http://www.thesitewizard.com/general/set-cron-job.shtml
Before I make a big mistake I thought it would be wise to
ask specialists on this list if it would be safe to do that from
within a LC server script...
The idea is : a specific LC script would be used to set up and
remove the cron, which in turn would trigger another script
every 5 min to process data.

Thanks.
jbv


___
use-livecode mailing list
use-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: cron jobs and LC server

2014-10-06 Thread Simon Smith
Hi

It should be possible to that, my concern would be that for the LC script
to create remove the cron scripts, it would need sufficiant privlages to do
so, which is not great for security. Although there a few ways around this,
it can be more trouble than its worth. It would also depend on how
everything is being hosted. e.g. on shared hosting, this probably would not
be possible.

I would just set the cron script and leave it to every 5 minutes - it will
make your life much simpler. If there is no data to process, then the
script can exit and do nothing etc. Its affect on server load will be
negligible.

Simon

On Mon, Oct 6, 2014 at 10:12 AM, j...@souslelogo.com wrote:

 Hi list
 I need to run a cron job every 5 minutes to process
 some data on a server and the job needs to stop when
 all data are processed. The thing is : the data will be
 posted only once or twice a month and it is impossible
 to predict when.
 So my idea is to set up a cron job automatically when
 needed and remove it when all data are processed.

 I found the following tutorial :
 http://www.thesitewizard.com/general/set-cron-job.shtml
 Before I make a big mistake I thought it would be wise to
 ask specialists on this list if it would be safe to do that from
 within a LC server script...
 The idea is : a specific LC script would be used to set up and
 remove the cron, which in turn would trigger another script
 every 5 min to process data.

 Thanks.
 jbv


 ___
 use-livecode mailing list
 use-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: cron jobs and LC server

2014-10-06 Thread jbv
Hi Simon

Thanks for your reply.
Yes, security and server load are my main concerns.
It is a dedicated server, but there are already quite a few cron jobs
running on it. Therefore I thought it wasn't a good idea to add another
one that would simply exit most of the time...

jbv

 Hi

 It should be possible to that, my concern would be that for the LC script
 to create remove the cron scripts, it would need sufficiant privlages to
 do
 so, which is not great for security. Although there a few ways around
 this,
 it can be more trouble than its worth. It would also depend on how
 everything is being hosted. e.g. on shared hosting, this probably would
 not
 be possible.

 I would just set the cron script and leave it to every 5 minutes - it will
 make your life much simpler. If there is no data to process, then the
 script can exit and do nothing etc. Its affect on server load will be
 negligible.

 Simon

 On Mon, Oct 6, 2014 at 10:12 AM, j...@souslelogo.com wrote:

 Hi list
 I need to run a cron job every 5 minutes to process
 some data on a server and the job needs to stop when
 all data are processed. The thing is : the data will be
 posted only once or twice a month and it is impossible
 to predict when.
 So my idea is to set up a cron job automatically when
 needed and remove it when all data are processed.

 I found the following tutorial :
 http://www.thesitewizard.com/general/set-cron-job.shtml
 Before I make a big mistake I thought it would be wise to
 ask specialists on this list if it would be safe to do that from
 within a LC server script...
 The idea is : a specific LC script would be used to set up and
 remove the cron, which in turn would trigger another script
 every 5 min to process data.

 Thanks.
 jbv


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


Screen updating i version 7

2014-10-06 Thread Michael Kristensen
Hi there

Im finding that the screen updating in version 7 is WAY slower than in v6.6.
So slow that it is not usable.

Multiple things that update instantaneous in 6.6 becomes a visible one-by-one 
updating in v7

I even read that 7 should use multiple threads...

What am I missing?

Are you seeing the same?

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


Prevent Stack Resizing

2014-10-06 Thread JB
In the property inspector you can deselect the
LiveResizing option to prevent the user  from
being able to drag and resize a stack.

But this does not stop the stack from being resized
if a mac user clicks on the last button in the top left
corner of the window.  And the resizeStack message
is sent after the stack has been resized so you can’t
use it to prevent a stack from being resized.

Is it possible to prevent a stack from being resized it
a mac user clicks on the last button in the top left of
the stack window?

John Balgenorth
___
use-livecode mailing list
use-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: Prevent Stack Resizing

2014-10-06 Thread Richmond

On 06/10/14 22:32, JB wrote:

In the property inspector you can deselect the
LiveResizing option to prevent the user  from
being able to drag and resize a stack.

But this does not stop the stack from being resized
if a mac user clicks on the last button in the top left
corner of the window.  And the resizeStack message
is sent after the stack has been resized so you can’t
use it to prevent a stack from being resized.

Is it possible to prevent a stack from being resized it
a mac user clicks on the last button in the top left of
the stack window?

John Balgenorth
___



Check out the 'Controls' settings halfway down the
'Basic Properties' pane of the Preferences palette
for your stack.

Richmond.

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


Teaching LiveCode to Children

2014-10-06 Thread Terica Lynn Swangin
Good Afternoon,

I emailed Heather about this and she suggested that I post this request to you. 

My name is Terica Lynn Swangin and I am emailing to ask for your help. My 
business, PediNatural®, is in the running to receive a $150K grant from the 
Chase Small Business Mission Main Street competiton. If we are fortunate enough 
to win, one of the projects we hope to develop and fund is a pilot program that 
will teach LiveCode to local underprivileged inner-city middle school children 
as an after school enrichment program. To be eligible for round 2 of the grant 
process we need at least 250 people to vote for us. I would really appreciate 
it if you could please show your support and vote. We only have 11 days left to 
qualify.

To cast your vote, simply click the “Vote Now” Facebook button on our Mission 
Main Street Grant profile page. Here is the link to our voting page. 
https://www.missionmainstreetgrants.com/business/detail/63345 

Also, if you could share this with others and ask them to vote for PediNatural® 
too, that would be great.

PediNatural® is a well know leader in educational literacy focused products for 
children. We believe introducing many types of literacy at an early age will 
allow children to naturally master the developmental milestones that are 
essential to solid learning foundations. I wholeheartedly believe that teaching 
LiveCode to these children will creatively and effectively help them develop a 
new way to think and thrive. 250 votes could give us the chance to change lives 
and futures. We need the votes by 11:59:00 p.m. ET on October 17th, 2014.


Thank you for your consideration and any help that you can offer.

Kind Regards,

Terica Lynn Swangin
Owner/Founder
PediNatural 
KART Digital Broadcasting Network (KART-DBN)
KART Foundation
PO Box 310
Maple Shade, NJ 08052
website: http://www.kartdbn.com/
email: pedinatu...@comcast.net



PediNatural® is a NJ based children’s research  information services firm. We 
are literacy advocates who specialize in developing educational resources for a 
target audience up to 18yrs of age.  The company creates new  innovative 
solutions that strive to close the learning gap between schools, communities,  
families.
___
use-livecode mailing list
use-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: Prevent Stack Resizing

2014-10-06 Thread JB
Thank you, Richmond!

John Balgenorth


On Oct 6, 2014, at 12:41 PM, Richmond richmondmathew...@gmail.com wrote:

 On 06/10/14 22:32, JB wrote:
 In the property inspector you can deselect the
 LiveResizing option to prevent the user  from
 being able to drag and resize a stack.
 
 But this does not stop the stack from being resized
 if a mac user clicks on the last button in the top left
 corner of the window.  And the resizeStack message
 is sent after the stack has been resized so you can’t
 use it to prevent a stack from being resized.
 
 Is it possible to prevent a stack from being resized it
 a mac user clicks on the last button in the top left of
 the stack window?
 
 John Balgenorth
 ___
 
 
 Check out the 'Controls' settings halfway down the
 'Basic Properties' pane of the Preferences palette
 for your stack.
 
 Richmond.
 
 ___
 use-livecode mailing list
 use-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: Teaching LiveCode to Children

2014-10-06 Thread Marian Petrides, MD
Voted. Good luck!

Sent from my iPhone

 On Oct 6, 2014, at 3:48 PM, Terica Lynn Swangin pedinatu...@comcast.net 
 wrote:
 
 Good Afternoon,
 
 I emailed Heather about this and she suggested that I post this request to 
 you. 
 
 My name is Terica Lynn Swangin and I am emailing to ask for your help. My 
 business, PediNatural®, is in the running to receive a $150K grant from the 
 Chase Small Business Mission Main Street competiton. If we are fortunate 
 enough to win, one of the projects we hope to develop and fund is a pilot 
 program that will teach LiveCode to local underprivileged inner-city middle 
 school children as an after school enrichment program. To be eligible for 
 round 2 of the grant process we need at least 250 people to vote for us. I 
 would really appreciate it if you could please show your support and vote. We 
 only have 11 days left to qualify.
 
 To cast your vote, simply click the “Vote Now” Facebook button on our Mission 
 Main Street Grant profile page. Here is the link to our voting page. 
 https://www.missionmainstreetgrants.com/business/detail/63345 
 
 Also, if you could share this with others and ask them to vote for 
 PediNatural® too, that would be great.
 
 PediNatural® is a well know leader in educational literacy focused products 
 for children. We believe introducing many types of literacy at an early age 
 will allow children to naturally master the developmental milestones that are 
 essential to solid learning foundations. I wholeheartedly believe that 
 teaching LiveCode to these children will creatively and effectively help them 
 develop a new way to think and thrive. 250 votes could give us the chance to 
 change lives and futures. We need the votes by 11:59:00 p.m. ET on October 
 17th, 2014.
 
 
 Thank you for your consideration and any help that you can offer.
 
 Kind Regards,
 
 Terica Lynn Swangin
 Owner/Founder
 PediNatural 
 KART Digital Broadcasting Network (KART-DBN)
 KART Foundation
 PO Box 310
 Maple Shade, NJ 08052
 website: http://www.kartdbn.com/
 email: pedinatu...@comcast.net
 
 
 
 PediNatural® is a NJ based children’s research  information services firm. 
 We are literacy advocates who specialize in developing educational resources 
 for a target audience up to 18yrs of age.  The company creates new  
 innovative solutions that strive to close the learning gap between schools, 
 communities,  families.
 ___
 use-livecode mailing list
 use-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: RELEASE: LiveCode 6.6.4 RC1

2014-10-06 Thread Chris Sheffield
Dave,

Maybe you know this already, but I found with Xcode 6 it is now necessary to go 
in and set up the device simulators that you need for testing. Open Xcode, then 
open the Devices window from the Window menu. There might be some default ones, 
but you can click the + button to set up additional testing simulators. I found 
that once I did that, I was able to test in the simulator again. I still get an 
error message occasionally from LiveCode that says something about the 
simulator not booting properly, but if I’m patient for 20 or 30 seconds, it’ll 
eventually install and run the app.

Hopefully that’ll help.

Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

 On Oct 2, 2014, at 8:26 PM, Dave Kilroy d...@applicationinsight.com wrote:
 
 Running Mavericks and using 6.6.4 and Xcode 6.0.1 I can't get anything to run
 on the iOS 8 simulator (simulated device of any size) - even a 'hello world'
 stack made purely in 6.6.4 fails
 
 However my 'hello world' and my current app-in-development seem to run fine
 on an iPad4 running iOS 8.0.2 (but have not done exhaustive tests yet...)
 
 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/RELEASE-LiveCode-6-6-4-RC1-tp4684084p4684115.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: Prevent Stack Resizing

2014-10-06 Thread JB
I was wrong about the LiveResizing preventing the user
from dragging the window to change the size.  That is
handled in the controls options Richmond pointed out.

Thanks again. Richmond.

John Balgenorth


On Oct 6, 2014, at 12:41 PM, JB sund...@pacifier.com wrote:

 Thank you, Richmond!
 
 John Balgenorth
 
 
 On Oct 6, 2014, at 12:41 PM, Richmond richmondmathew...@gmail.com wrote:
 
 On 06/10/14 22:32, JB wrote:
 In the property inspector you can deselect the
 LiveResizing option to prevent the user  from
 being able to drag and resize a stack.
 
 But this does not stop the stack from being resized
 if a mac user clicks on the last button in the top left
 corner of the window.  And the resizeStack message
 is sent after the stack has been resized so you can’t
 use it to prevent a stack from being resized.
 
 Is it possible to prevent a stack from being resized it
 a mac user clicks on the last button in the top left of
 the stack window?
 
 John Balgenorth
 ___
 
 
 Check out the 'Controls' settings halfway down the
 'Basic Properties' pane of the Preferences palette
 for your stack.
 
 Richmond.
 
 ___
 use-livecode mailing list
 use-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


from here to there

2014-10-06 Thread larry
Hello,

Can someone please tell me the syntax for putting words x to y from one 
field/var to another?

I tried:
put words 1 to 40 of field fld1 into field fld2
but that doesn't work.

I don't even know how to look up the syntax!  Sorry.

Thanks
Larry
___
use-livecode mailing list
use-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: from here to there

2014-10-06 Thread Dave Kilroy
Larry, try word instead of words



-
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/from-here-to-there-tp4684223p4684224.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: from here to there

2014-10-06 Thread Klaus major-k
Hi Larry,

Am 07.10.2014 um 00:25 schrieb la...@significantplanet.org 
la...@significantplanet.org:

 Hello,
 
 Can someone please tell me the syntax for putting words x to y from one 
 field/var to another?
 
 I tried:
 put words 1 to 40 of field fld1 into field fld2
 but that doesn't work.
 I don't even know how to look up the syntax!  Sorry.

avoid the plural :-)

put word 1 to 40 of field fld1 into field fld2

 Thanks
 Larry

Best

Klaus

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


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


Re: from here to there

2014-10-06 Thread Terry Judd
Hi Larry - try word not wordsŠ

e.g. put word x to y of fld 1 into fld 2

Terry...

On 7/10/2014 9:25 am, la...@significantplanet.org
la...@significantplanet.org wrote:

Can someone please tell me the syntax for putting words x to y from one
field/var to another?

I tried:
put words 1 to 40 of field fld1 into field fld2
but that doesn't work.

I don't even know how to look up the syntax!  Sorry.

Thanks
Larry


___
use-livecode mailing list
use-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: from here to there

2014-10-06 Thread Michael Doub
Larry,

I keep a copy of the User Guide on my desktop for just this reason.  Look under 
the help menu.

put word 1 to 5 of field “in” into field “out”

-= Mike


On Oct 6, 2014, at 6:25 PM, la...@significantplanet.org wrote:

 Hello,
 
 Can someone please tell me the syntax for putting words x to y from one 
 field/var to another?
 
 I tried:
 put words 1 to 40 of field fld1 into field fld2
 but that doesn't work.
 
 I don't even know how to look up the syntax!  Sorry.
 
 Thanks
 Larry
 ___
 use-livecode mailing list
 use-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: from here to there

2014-10-06 Thread larry

Thanks Klaus and Dave,
It is sort of strange to me that I want more than 1 word and so I used 
words, but you guys are right of course.  Just use word

Larry

- Original Message - 
From: Klaus major-k kl...@major-k.de

To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Monday, October 06, 2014 4:34 PM
Subject: Re: from here to there



Hi Larry,

Am 07.10.2014 um 00:25 schrieb la...@significantplanet.org 
la...@significantplanet.org:



Hello,

Can someone please tell me the syntax for putting words x to y from one 
field/var to another?


I tried:
put words 1 to 40 of field fld1 into field fld2
but that doesn't work.
I don't even know how to look up the syntax!  Sorry.


avoid the plural :-)

put word 1 to 40 of field fld1 into field fld2


Thanks
Larry


Best

Klaus

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


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



___
use-livecode mailing list
use-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: from here to there

2014-10-06 Thread JB
Remember this because it will be the same with char.
I always mess it up too.  When it doesn’t work just
remember to change the spelling of words  chars.

John Balgenorth


On Oct 6, 2014, at 3:37 PM, la...@significantplanet.org 
la...@significantplanet.org wrote:

 Thanks Klaus and Dave,
 It is sort of strange to me that I want more than 1 word and so I used 
 words, but you guys are right of course.  Just use word
 Larry
 
 - Original Message - From: Klaus major-k kl...@major-k.de
 To: How to use LiveCode use-livecode@lists.runrev.com
 Sent: Monday, October 06, 2014 4:34 PM
 Subject: Re: from here to there
 
 
 Hi Larry,
 
 Am 07.10.2014 um 00:25 schrieb la...@significantplanet.org 
 la...@significantplanet.org:
 
 Hello,
 
 Can someone please tell me the syntax for putting words x to y from one 
 field/var to another?
 
 I tried:
 put words 1 to 40 of field fld1 into field fld2
 but that doesn't work.
 I don't even know how to look up the syntax!  Sorry.
 
 avoid the plural :-)
 
 put word 1 to 40 of field fld1 into field fld2
 
 Thanks
 Larry
 
 Best
 
 Klaus
 
 --
 Klaus Major
 http://www.major-k.de
 kl...@major-k.de
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode 
 
 
 ___
 use-livecode mailing list
 use-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: RELEASE: LiveCode 6.6.4 RC1

2014-10-06 Thread Gerry
And for me I had to manually download the iOS 7.1 simulator - it didn't install 
by default. Found it at xCode  Preferences...  Downloads.


g

 On 7 Oct 2014, at 6:52 am, Chris Sheffield cmsheffi...@icloud.com wrote:
 
 Maybe you know this already, but I found with Xcode 6 it is now necessary to 
 go in and set up the device simulators that you need for testing. 


___
use-livecode mailing list
use-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: from here to there

2014-10-06 Thread Kay C Lan
On Tue, Oct 7, 2014 at 6:37 AM,  la...@significantplanet.org wrote:

 It is sort of strange to me that I want more than 1 word and so I used
 words,

As to how grammatically correct it is I'm sure Richmond could tell us,
but I like to think of it this way, I'm not actually specifying plural
what I'm doing is specifying a start point and an end point and these
are always singular.

char 1 to char 21
word 5 to word -2

this is then conveniently shorthanded to:

item 2 to 22
token 34 to -9
byte -8 to -1

Also, if I ask myself, how do I get every word from a variable - note
I've used the singular, so the answer is, word 1 to -1  --again I use
the singular

And just in case it comes up, remember a word in LC includes any
punctuation that may follow what we typically think of as a word, in
the message box

put this is, a word into tStore
put word 1 to 2 of tStore into msg

if you don't want the punctuation you might find trueword is what you need

put this is, a word into tStore
put trueword 1 to 2 of tStore into msg

HTH

___
use-livecode mailing list
use-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: Screen updating i version 7

2014-10-06 Thread Kay C Lan
I'm on OS X 10.9.5, MBP with retina display and at a screen resolution
of 2048,1280 it all looks good to me. Even at 2880,1800 everything
seems OK. This is in the IDE 7.0 RC2.

This is with a basic stack that has a large field that has large
amounts of data changed. Also if I go to the Dictionary and select
various entries the Content field fills with the new data
instantaneously. Are you talking about visual effects when changing
from one card to another - dissolve, checkerboard etc?

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


MergMicrophone And Exporting .caf files?

2014-10-06 Thread JOHN PATTEN
Hi All,

I’ve been thinking up some nice uses for internal school apps that let younger 
students record audio into an iPad. It would be nice to be able to share what 
they record with other students and their teachers. 

I played around with Monte’s open source MergMicropphone example on an iPad 2 
and it seems to work well for certain formats. However, it saves the sound file 
in Apple’s newer .caf format.  It plays back easily enough on the iPad it was 
recorded on, but I’m wondering what my options are for sharing the audio files? 
 

Originally, I thought I would provide and easy upload of the audio file to an 
internal web server but I’m not sure how to convert the audio file into a 
format that will play in a web browser mp4 etc.? I have access to on-rev too. 
Maybe there is a utility that would run on the server and auto convert files 
uploaded to a specific folder?  Not sure how I’d go about that though…?

Any ideas are welcome...

Thanks in Advance!

John Patten
SUSD





___
use-livecode mailing list
use-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: MergMicrophone And Exporting .caf files?

2014-10-06 Thread Stephen MacLean
Hi John,

You can set the format you want to record in, it doesn't have to be a .caf.

Here is where I set the settings for recording in an app I have

if the environment is mobile then
  mergMicrophoneSetNumberOfChannels Stereo
  mergMicrophoneSetSampleRate 44100
  mergMicrophoneSetAudioFormat MP4-AAC
  mergMicrophoneSetTargetBitRate 65536
  mergMicrophoneSetAudioQuality High
end if

You can play with these settings, but these are the ones I've found work 
reliably for MP4's on iOS.

HTH,

Steve MacLean

On Oct 6, 2014, at 11:01 PM, JOHN PATTEN johnpat...@me.com wrote:

 Hi All,
 
 I’ve been thinking up some nice uses for internal school apps that let 
 younger students record audio into an iPad. It would be nice to be able to 
 share what they record with other students and their teachers. 
 
 I played around with Monte’s open source MergMicropphone example on an iPad 2 
 and it seems to work well for certain formats. However, it saves the sound 
 file in Apple’s newer .caf format.  It plays back easily enough on the iPad 
 it was recorded on, but I’m wondering what my options are for sharing the 
 audio files?  
 
 Originally, I thought I would provide and easy upload of the audio file to an 
 internal web server but I’m not sure how to convert the audio file into a 
 format that will play in a web browser mp4 etc.? I have access to on-rev too. 
 Maybe there is a utility that would run on the server and auto convert files 
 uploaded to a specific folder?  Not sure how I’d go about that though…?
 
 Any ideas are welcome...
 
 Thanks in Advance!
 
 John Patten
 SUSD
 
 
 
 
 
 ___
 use-livecode mailing list
 use-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: from here to there

2014-10-06 Thread JB
Thanks for the code examples and expllanations, Kay.
I learned a whole bunch of things I did not know.

John Balgenorth



On Oct 6, 2014, at 7:31 PM, Kay C Lan lan.kc.macm...@gmail.com wrote:

 On Tue, Oct 7, 2014 at 6:37 AM,  la...@significantplanet.org wrote:
 
 It is sort of strange to me that I want more than 1 word and so I used
 words,
 
 As to how grammatically correct it is I'm sure Richmond could tell us,
 but I like to think of it this way, I'm not actually specifying plural
 what I'm doing is specifying a start point and an end point and these
 are always singular.
 
 char 1 to char 21
 word 5 to word -2
 
 this is then conveniently shorthanded to:
 
 item 2 to 22
 token 34 to -9
 byte -8 to -1
 
 Also, if I ask myself, how do I get every word from a variable - note
 I've used the singular, so the answer is, word 1 to -1  --again I use
 the singular
 
 And just in case it comes up, remember a word in LC includes any
 punctuation that may follow what we typically think of as a word, in
 the message box
 
 put this is, a word into tStore
 put word 1 to 2 of tStore into msg
 
 if you don't want the punctuation you might find trueword is what you need
 
 put this is, a word into tStore
 put trueword 1 to 2 of tStore into msg
 
 HTH
 
 ___
 use-livecode mailing list
 use-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: from here to there

2014-10-06 Thread larry

I'm echoing John:
Thanks Kay for the detailed explanation.
That really helps us understand the LC syntax so much better!
Larry

- Original Message - 
From: Kay C Lan lan.kc.macm...@gmail.com

To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Monday, October 06, 2014 8:31 PM
Subject: Re: from here to there



On Tue, Oct 7, 2014 at 6:37 AM,  la...@significantplanet.org wrote:


It is sort of strange to me that I want more than 1 word and so I used
words,


As to how grammatically correct it is I'm sure Richmond could tell us,
but I like to think of it this way, I'm not actually specifying plural
what I'm doing is specifying a start point and an end point and these
are always singular.

char 1 to char 21
word 5 to word -2

this is then conveniently shorthanded to:

item 2 to 22
token 34 to -9
byte -8 to -1

Also, if I ask myself, how do I get every word from a variable - note
I've used the singular, so the answer is, word 1 to -1  --again I use
the singular

And just in case it comes up, remember a word in LC includes any
punctuation that may follow what we typically think of as a word, in
the message box

put this is, a word into tStore
put word 1 to 2 of tStore into msg

if you don't want the punctuation you might find trueword is what you need

put this is, a word into tStore
put trueword 1 to 2 of tStore into msg

HTH

___
use-livecode mailing list
use-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: from here to there

2014-10-06 Thread Simon
OK, then what is this?

   put this is a sentence into temp
   if the number of chars of temp = 1 then put the last char of temp

Simon



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/from-here-to-there-tp4684223p4684237.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: from here to there

2014-10-06 Thread Mark Wieder
Simon-

Monday, October 6, 2014, 10:03:18 PM, you wrote:

 OK, then what is this?

put this is a sentence into temp
if the number of chars of temp = 1 then put the last char of temp

If you're referring to the number of chars, it's an expression that
evaluates to a scalar value.

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

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.


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