The advantages derive from the fact that LiveCode isn't doing the actual
copying with revCopyFile -- the Finder is. For completeness, the same
advantage applies to using a shell command. You don't get a progress dialog
though.
Okay, I just did a quick one-off test with interface sounds off. For
On 21/03/2012 22:01, Glen Bojsza wrote:
I have a stack where I generate a series of images.
I then set the script of each image to a script that is stored in a custom
property.
I'm *very* new to all of this but...isn't this when the 'behavior' field
would come in handy?
Put the script into
It is not just the arrays. It omits things like the foregroundcolor and
backgroundcolor.
I get a rough count of 34 properties using the properties of for a scrollbar
and Richard shows 57.
Jim
Message: 19
Date: Wed, 21 Mar 2012 18:02:35 -0700
From: Mark Wieder mwie...@ahsoftware.net
To:
This is correct except it is a key value pair:
http://kweto.com/receiveData.irev?date=Jan2012,sender=Nicolas%20Cuelo
that kind of thing. Also, the data you pass should be URL encoded (as in above
replacing the space between your names with the URL encoded version of that
character).
Kee
You pass the parameter in the URL using a name=value pair, like
http://kweto.com/receiveData.irev?month=Jan2012
or
http://kweto.com/receiveData.irev?day=12month=Jan2012
Note that if you are passing this from a script, you should URLencode the value
before passing it
put URLencode(mydata)
On 22 Mar 2012, at 08:54, Alex Tweedly wrote:
put URLdecode( $_GET[keyname] ) into tData
Alex, just a question for future reference. Is it necessary to URLDecode the
$_GET values? I'm going on php experience here where $_GET values are already
decoded. I was assuming it would be the same
No idea - I've just always done it :-)
Yep - a quick check says you're right, they are already urlDecoded
In fact, the release notes say:
$_GET
Available when running in CGI mode.
It is an array variable, translated from the QUERY_STRING. It assumes
the query string is encoded as
On 22 Mar 2012, at 10:47, Alex Tweedly wrote:
No idea - I've just always done it :-)
Yep - a quick check says you're right, they are already urlDecoded
Thanks for checking.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please
I know someone who would like to add Flash video playback to a LiveCode
project that already supports QuickTime and DirectShow. It must be possible
to query the duration and current time of the video, set the current time,
and play/pause the video via script.
I'm looking for anyone who has done
In case you missed it, the rumor on the iPhone 5's new display:
http://www.reuters.com/article/2012/03/22/us-apple-iphone-idUSBRE82L01G20120322
I think it's time to discuss a better way to do geometry design for iOS in
LC.
--
On the first day, God created the heavens and the Earth
On the second
I've always downloaded the plugin at:
http://revweb.runrev.com/
This gives me version (R9) which does not run standalones built for Web in
Livecode 5.5. Is there another site to get the LiveCode player which will run
standalones built in 5.5?
Thanks,
Ray Horsley
LinkIt! Software
Ray, no.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za
On 22 mrt 2012, at 17:18, Ray
The dictionary needs an example of how the try command is used to catch an
error.
Anyone have an illustration?
For example, suppose one wanted to catch an error in the statement:
put the {some built-in property of an object] of button soAndso into tProp
Where the built in property may not
Could you share the shell script that does the copy? That would be useful to
many I think.
Bob
On Mar 21, 2012, at 11:25 PM, Geoff Canyon wrote:
The advantages derive from the fact that LiveCode isn't doing the actual
copying with revCopyFile -- the Finder is. For completeness, the same
Hi all,
did you read the copyright notice on the download page:
Copyright RunRev Ltd 2009 All rights reserved.
That's the year when the plug-in was updated the last time!
Well...
Am 22.03.2012 um 16:27 schrieb Mark Schonewille:
Ray, no.
--
Best regards,
Mark Schonewille
On 22 mrt 2012,
So building standalones for Web has been discontinued for quite some time now
in LiveCode?
On Mar 22, 2012, at 10:36 AM, Klaus on-rev wrote:
Hi all,
did you read the copyright notice on the download page:
Copyright RunRev Ltd 2009 All rights reserved.
That's the year when the plug-in
I don't see anything in that article that suggests there are new resolutions.
If the new phone used the same dpi as the new iPad, instead of the dpi of the
iPhone 4, then you would get a 4.3 inch screen that is still 640x960.
___
use-livecode mailing
try
put foo into myVar
put the value of myVarr
catch theError, theNum
-- breakpoint
answer theNum cr line1 of theError as sheet
exit to top
end try
Is that what you mean?
Bob
On Mar 22, 2012, at 8:33 AM, Jim Hurley wrote:
The dictionary needs an example of how the try command is
Ray,
We know as much as you do.
Also, I would consider it a waste of money if RunRev were to invest in the
plugin again. I'd rather expect them to invest in HTML5 export.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote:
The dictionary needs an example of how the try command is used to catch an
error.
Anyone have an illustration?
For example, suppose one wanted to catch an error in the statement:
put the {some built-in property of an object] of button
Bob,
Yes that would be fine, except that I get a compilation error at the line:
catch theError, theNum
RR says: (try: not a command), char 7
Jim
Bob Sneidar wrote:
try
put foo into myVar
put the value of myVarr
catch theError, theNum
-- breakpoint
answer theNum cr line1
Greetings,
I am experiencing an issue on my iPad with my LiveCode project that is puzzling
me. It appears that my iOS app is caching data from a server. Once I read a
file from my server in my app, that's the only version of the file that I get.
For example, I read the file and I get the
On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote:
For example, suppose one wanted to catch an error in the statement:
put the {some built-in property of an object] of button soAndso into tProp
Where the built in property may not exist.How would one catch the error and
perhaps proceed on
I guess I didn't think about them using the new iPad's pixel density
instead of the iPhone 4's density. I guess we'll find out...
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
I like the idea of HTML5 export, too. But regarding building standalones for
Web, why do you think that option is still in the Standalone Application
Settings window?
On Mar 22, 2012, at 10:53 AM, Mark Schonewille wrote:
Ray,
We know as much as you do.
Also, I would consider it a
On Mar 22, 2012, at 12:22 PM, Jim Hurley wrote:
Bob,
Yes that would be fine, except that I get a compilation error at the line:
catch theError, theNum
RR says: (try: not a command), char 7
The syntax for the try construction is
try
command here
catch tError
other commands
Hi Dan,
Although the internet library is no included in the iOS version of LiveCode as
far as I know, you could try to unload the url before loading it again. If that
doesn't work, you could try to use a different url every time, e.g.
put decompress(url myFilePath ?= the millisecs) into
OK, this is weird - I can't seem to get rid of the iOS KB, even after the
field that was being edited loses the focus by changing cards. This works
in one project but not another.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit
Ray,
I think it is just in case someone wants to use that feature and is willing to
pay for it.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Download the
Hi Geoff,
Thanks for the speed test info. I'm not very familiar with shell commands
so maybe you could let me know the command to use? What I need to do is
copy a file to a different folder with a different file name.
The lack of a progress bar might be a problem, but if the speed differences
You're getting an error because the catch part of try takes only 1
parameter - the variable that holds the error - not two as in the script.
Also, as noted by Peter, the try statement doesn't help you with the
specific example you used since getting a non-existant custom property
doesn't cause an
Whoops maybe the second argument is not valid.
On Mar 22, 2012, at 9:22 AM, Jim Hurley wrote:
Bob,
Yes that would be fine, except that I get a compilation error at the line:
catch theError, theNum
RR says: (try: not a command), char 7
Jim
Bob Sneidar wrote:
try
put foo
Also I forgot the finally part
try
-- some statements
catch theError
-- do some stuff if there is an error
finally
-- do some other stuff no matter what
end try
On Mar 22, 2012, at 9:22 AM, Jim Hurley wrote:
Bob,
Yes that would be fine, except that I get a compilation error at
There was some discussion about this in the past, and a lot of people seemed to
think that making people install a plugin to run a web app was very undesirable
these days. I think Runrev at that point put it on the back burner. I mean the
stove in the shed on the north 40.
Bob
On Mar 22,
It does give an error here. I get the error message:
button Button: execution error at line n/a (Object: object does not have
this property)
Jim
Message: 2
Date: Thu, 22 Mar 2012 09:55:20 -0700
From: Pete p...@mollysrevenge.com
To: How to use LiveCode use-livecode@lists.runrev.com
Thanks Peter.
The problem now is what do these bloody error numbers translate into.
Is the a list somewhere?
When I try:
on mouseUP
try
put the cantdelete of me into temp
catch tErr
--- if tErr is ??
end try
end mouseUP
I get an error of 348,0,0
Jim
Peter Brigham wrote:
The
On 3/22/12 12:21 PM, Jim Hurley wrote:
Thanks Peter.
The problem now is what do these bloody error numbers translate into.
Is the a list somewhere?
The list is explained in the errordialog entry in the dictionary. You
can retrieve the list with the line of script the dictionary provides.
On Mar 22, 2012, at 1:11 PM, Jim Hurley wrote:
It does give an error here. I get the error message:
button Button: execution error at line n/a (Object: object does not have
this property)
Sounds as if you're trying to get a built-in property that doesn't apply to
that type of object. If
Does anyone have any guidelines as to when you should use the try and catch
structure? I don't really know when or when not to use it.
-= Mike
On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote:
Thanks Peter.
The problem now is what do these bloody error numbers translate into.
Is the a
On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote:
Thanks Peter.
The problem now is what do these bloody error numbers translate into.
Is the a list somewhere?
Jacque posted this two days ago:
On 3/20/12 12:37 PM, Ralph DiMola wrote:
OK, I give up. How do you translate error number
I'm in the K-12 education field. Teachers are quickly moving away from
downloading anything and their IT guys are even worse, sometimes setting up
systems which disallow downloading a desktop app. I hadn't looked at building
for Web in a while but this is very discouraging to find it's gone.
I second this!
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Also, as noted by Peter, the try statement doesn't help you with the
specific example you used since getting a non-existant custom property
doesn't cause an error. I've sometimes wished there was a
On Mar 22, 2012, at 1:32 PM, J. Landman Gay wrote:
On 3/22/12 12:21 PM, Jim Hurley wrote:
Thanks Peter.
The problem now is what do these bloody error numbers translate into.
Is the a list somewhere?
The list is explained in the errordialog entry in the dictionary. You can
retrieve the
I use it to determine if there has been an error executing a sequel query for
example. All my database calls go inside a try catch statement. If you put it
into a repeat loop, you can test to see if perhaps you have been disconnected,
or if a runtime error occurred due to a bad query, and then
Interesting, never thought of that. Is there an advantage to doing that
over just issuing the database call and checking for an error right after?
I've mostly thought of try/catch for as a debugging tool. I also use it
any place where I put together a command in a variable and execute the
Hi friends,
could you please translate this into french and spanish for me?
...
Copy XXX to your Applications folder.
...
Vielen Dank!
Thanks a lot!
Merci beaucoup!
Muchas gracias!
:-)
Best
Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com
We've already got them, so here you go:
Francais: Copiez le fichier mon_fichier à votre dossier
Applications
Espanol:Copie thefile a su carpeta Aplicaciones
If others could vet these JUST TO BE SURE :-).
Tim
On Mar 22, 2012, at 12:04 PM, Klaus on-rev wrote:
Hi
On Mar 22, 2012, at 12:15 PM, Tim Jones wrote:
We've already got them, so here you go:
Francais: Copiez le fichier mon_fichier à votre dossier
Applications
Also may be:
Copiez le fichier mon_fichier sur votre dossier Applications
Tim
Le 22 mars 2012 à 20:04, Klaus on-rev a écrit :
Hi friends,
could you please translate this into french and spanish for me?
...
Copy XXX to your Applications folder.
Copiez XXX dans votre dossier Applications.
___
use-livecode mailing list
or :
Copiez le fichier mon_fichier dans votre dossier Applications
--
Pierre Sahores
mobile : 06 03 95 77 70
www.spimsco.net : la première solution saas open source et commerciale de
développement sémantique préprogrammé
Le 22 mars 2012 à 20:18, Tim Jones a écrit :
On Mar 22, 2012, at 12:15
Pierre, would you mind explaining the tense differences between the three
options:
à votre
sur votre
dans votre
It turns out that one of our products has the first two as the text for this
exact message. Your option is a third variant and I'm now completely confused
Okay, so I decided to devote myself to a little toy project: download a
list, display it to the user, and filter according to tags. Precisely
the sort of thing I'd want a high-level language for, and LiveCode
should be ideal, as I want it on Android devices as well!
Okay, so I dig around and
I have successfully used form data grids on IOS with no problem. Can you be
more clear on the symptoms of your problem?
Are you setting the layer mode of the grid to scrolling and
AcceleratedRendering of the stack to true?
http://livecodejournal.com/forum/viewtopic.php?f=23t=54
-= Mike
On Mar 22, 2012, at 10:33 AM, Michael Doub wrote:
Does anyone have any guidelines as to when you should use the try and catch
structure? I don't really know
when or when not to use it.
Here's another use (and apropos a different thread here)
In order to recreate a control you'd want to
Hi All,
Recently, I have been struggling in Windows XP with
sound recording in LiveCode using QuickTime 7.7.1
When I start recording, I see that hard disk is writing
but when I click the button Stop recording, there is
no file written.
This is the code that I am using, copied from a forum
post.
Hi Tim,
No big semantical differences but the use is to say dans votre
à votre -- to your
sur votre -- on your
dans votre -- in your
Best,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.spimsco.net : la première solution saas open source et commerciale de
développement sémantique préprogrammé
No advantage per se, but I use sqlYoga and the only way to determine what went
wrong is in a try catch statement as the libSQLYoga stack is locked.
Bob
On Mar 22, 2012, at 11:49 AM, Pete wrote:
Interesting, never thought of that. Is there an advantage to doing that
over just issuing the
RunRev was thinking of calling the try construct,
TryAndDontStopDeadInYourTracksUponAnError but they opted for the shorter
version. ;-)
Bob
On Mar 22, 2012, at 1:08 PM, Mark Wieder wrote:
On Mar 22, 2012, at 10:33 AM, Michael Doub wrote:
Does anyone have any guidelines as to when you
I agree with Pierre answer.
Examples :
mettez le fichier sur votre bureau
put the file on your desktop
copiez le fichier dans votre dossier
copy the file to (into) your folder
mettez la montre à votre poignet
put the watch on your wrist
Hope this help
Jacques Clavel
2012/3/22 Tim Jones
Make's perfect sense. dans votre is the proper direction and I've changed
the strings in our lang files.
Thanks to you and Pierre for the clarification.
Tim
On Mar 22, 2012, at 1:30 PM, jacques CLAVEL wrote:
I agree with Pierre answer.
Examples :
mettez le fichier sur votre bureau
put
Ray Horsley wrote:
I like the idea of HTML5 export, too.
Me too, but although translating layout isn't hard, given the vast
differences between LiveCode and its object model and JavaScript/DOM, I
wouldn't bet on it.
--
Richard Gaskin
Fourth World Systems
Software Design and Development
Ray Horsley wrote:
I'm in the K-12 education field. Teachers are quickly moving away
from downloading anything and their IT guys are even worse, sometimes
setting up systems which disallow downloading a desktop app. I
hadn't looked at building for Web in a while but this is very
Peter M. Brigham, MD pmbrig@... writes:
Yes. When I use -1 instead of the lengthier form, it won't compile, and
the long form compiles but doesn't
do anything when I execute it. No error, no action. MacBook, OSX 10.6.8, Rev
Studio 4.5.3, build 1210,
operating on an ordinary text field. I was
I have been using the try/catch idiom for years. I like the structure
it gives my code - visually it makes it very clear where I am
expecting problematic sections to be. I rarely use 'finally'.
However the problem has always been with interpreting the error codes
that arise. For years I got
On 22/03/2012 20:02, Michael Doub wrote:
I have successfully used form data grids on IOS with no problem. Can you be
more clear on the symptoms of your problem?
Are you setting the layer mode of the grid to scrolling and
AcceleratedRendering of the stack to true?
The following script will provide a start in finding all the property values of
a given object, in this case the button button
It starts with the propertynames which is a list of ALL built-in property
names in LC.
It then attempts to put the value of each of these properties for the given
Hi,
Better... Copiar XXX a su carpeta Aplicaciones
Salut,
Josep M
El 22/03/2012, a las 21:30, use-livecode-requ...@lists.runrev.com escribió:
Espanol:Copie thefile a su carpeta Aplicaciones
___
use-livecode mailing list
Josep -
As with my French, would you mind clarifying the difference between Copie and
Copiar?
Thanks,
Tim
On Mar 22, 2012, at 3:31 PM, Josep M Yepes wrote:
Hi,
Better... Copiar XXX a su carpeta Aplicaciones
Salut,
Josep M
El 22/03/2012, a las 21:30,
When you are in a standalone, a runtime error that would halt execution might
be fatal. Try/Catch allows you to handle the error gracefully without
presenting the user with an ugly dialog and a QTD afterwards. You can politely
inform the user that something has gone wrong and you have to exit
I scripted this using the read as binary etc. using 16KB buffers some time
ago in pure LC. Much faster, and cross-platform. Idon'thave the code here
at hand, but it is really straightforward:
Open the source file for read binary
Open the destination file for write binary
Read 16KB or whatever is
Ohhh... good idea. And a perfect case for try/catch too! ;-)
Bob
On Mar 22, 2012, at 4:11 PM, Maarten Koopmans wrote:
I scripted this using the read as binary etc. using 16KB buffers some time
ago in pure LC. Much faster, and cross-platform. Idon'thave the code here
at hand, but it is
Hi Jacque,
I should point out that we need control over the way we encode our URL's. The
default still is MacRoman on Mac and Latin-1 on Windows. If urlEncode converted
all text to UTF8 by default, we'd have a lot of trouble getting MacRoman and
Latin-1 encoded URL's. So, no, you don't want
Or - this can be applied to a night out clubbing -
try
put myBestPickupLine into myMouth
catch theResponse
If theResponse is not negative
-- Oh yeah!
set luckynight to true
else
put wittingComback into myMouth
move body to new location
finally
if not
On 3/22/12 6:24 PM, Mark Schonewille wrote:
Hi Jacque,
I should point out that we need control over the way we encode our
URL's. The default still is MacRoman on Mac and Latin-1 on Windows.
If urlEncode converted all text to UTF8 by default, we'd have a lot
of trouble getting MacRoman and
Hi Jacque,
Do you mean that the syntax I posted produced different results on OSX and iOS?
That could be a bug.
What happens if you just try to open the UTF-8 encoded URL on iOS (without
urlEncoding it).
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Hi Maarten,
That's a nice solution. Fast and doing it in chunks allows me to show a
progress bar. I think I'll settle on that method. Is there a way to get
the size of a file in LC? With that, I could decide if it's even worth
displaying a progress bar.
Pete
On Thu, Mar 22, 2012 at 4:11 PM,
On 3/22/12 7:25 PM, Pete wrote:
Hi Maarten,
That's a nice solution. Fast and doing it in chunks allows me to show a
progress bar. I think I'll settle on that method. Is there a way to get
the size of a file in LC? With that, I could decide if it's even worth
displaying a progress bar.
The
Hi Jacque,
Yes, I saw that in the dictionary. I don't think there's any metadata in
the files I will be copying (straight .txt files) but I'll have to check
that before going down this path.
I found the files function in the dictionary and it includes the file size
in one of it's formats but it
Peter-
Thursday, March 22, 2012, 6:48:15 PM, you wrote:
Works like a charm! Fantastic!!! I am in awe!!! How did you discover this?
Can't claim much ingenuity involved. Just poking about in the script
editor stack and then just trial and (lots of) error. I was really
hoping I could get it down
On 3/22/12 9:26 PM, Pete wrote:
Hi Jacque,
Yes, I saw that in the dictionary. I don't think there's any metadata in
the files I will be copying (straight .txt files) but I'll have to check
that before going down this path.
It should be fine with text files.
--
Jacqueline Landman Gay
Hello All,
I want to identify mobile users who visit my webpage. By looking at
the HTTP header info.
By way of experimentation/curiosity, I figured out a PHP way of doing
this. For example, here's the PHP-retrieved header data from my
browser:
-
[Accept] =
Jacque,
Thanks.
LC is an English muffin. So many nooks and crannies.
Jim
P.S. There really ought to be an illustration of the try-catch syntax in the
dictionary.
Message: 5
Date: Thu, 22 Mar 2012 12:32:01 -0500
From: J. Landman Gay jac...@hyperactivesw.com
To: How to use LiveCode
Bill-
Thursday, March 22, 2012, 8:56:14 PM, you wrote:
I'm trying to suppress openStack messages being sent. Lock messages doesn't
prevent it.
This script generates an openStack message. How can I prevent
that for the duration of the answer command?
on mouseUp
lock messages
On 3/22/12 11:59 PM, Jim Hurley wrote:
LC is an English muffin. So many nooks and crannies.
I like that. :)
P.S. There really ought to be an illustration of the try-catch syntax
in the dictionary.
I just looked, and I'm amazed there isn't. Myabe you could add a user note.
--
Jacqueline
Jacque-
Thursday, March 22, 2012, 10:19:59 PM, you wrote:
P.S. There really ought to be an illustration of the try-catch syntax
in the dictionary.
I just looked, and I'm amazed there isn't. Myabe you could add a user note.
Yeah - the throw command should be mentioned there as well.
--
Mark,
I want the dialog box to open but not send an openStack message.
I'm writing a plugin for the LiveCode IDE that triggers when a stack is opened.
In the case of my own stack I don't want to trigger it when all I'm doing is
opening up a dialog box in my own plugin.
Bill Vlahos
Bill-
Thursday, March 22, 2012, 10:36:03 PM, you wrote:
I'm writing a plugin for the LiveCode IDE that triggers when a
stack is opened. In the case of my own stack I don't want to trigger
it when all I'm doing is opening up a dialog box in my own plugin.
Hmmm... can you catch openStack in a
87 matches
Mail list logo