[OT] cheap and easy batch resizing of images

2012-09-30 Thread Richmond
http://www.craiglotter.co.za/2010/01/04/ubuntu-batch-resize-your-images-using-gimp/ 



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


Images with colo(u)red borders?

2012-09-30 Thread Richmond

I cannot, for the life of me, get images to have a borderColor.

What very basic thing am I missing?

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


Colorizing XML (and maybe error checking)

2012-09-30 Thread Malte Brill
Hi all,

I have a couple of XML files I want to analyze using liveCode. What I want to 
do is some sort of colorization of the start and end tag (and maybe hilite the 
start tag if the end tag is missing). Also I'd like to do some validation of 
the XML stuff and point to the start line of the error. Now, before I re invent 
the wheel, has anyone already come up with something here? 

All the best,

Malte


___
use-livecode mailing list
use-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: Images with colo(u)red borders?

2012-09-30 Thread Klaus on-rev
Hi Richmond,

Am 30.09.2012 um 16:45 schrieb Richmond richmondmathew...@gmail.com:

 I cannot, for the life of me, get images to have a borderColor.
 What very basic thing am I missing?

Yes this is one of the most mysterious things in Livecode, which puzzles me 
everytime:
Images do NOT have a bodercolor property (hell knows why) but will heir the 
bordercolor of the card???

So set the bordercolor for your card and you have a nice border around your 
image :-)

 Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Images with colo(u)red borders?

2012-09-30 Thread Richmond

On 09/30/2012 06:23 PM, Klaus on-rev wrote:

Hi Richmond,

Am 30.09.2012 um 16:45 schrieb Richmond richmondmathew...@gmail.com:


I cannot, for the life of me, get images to have a borderColor.
What very basic thing am I missing?

Yes this is one of the most mysterious things in Livecode, which puzzles me 
everytime:
Images do NOT have a bodercolor property (hell knows why) but will heir the 
bordercolor of the card???

So set the bordercolor for your card and you have a nice border around your 
image :-)


Klaus Major: Good To The Last Drop!




Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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


Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Dr. Hawkins
I'm not ready to face the differences in where things go with mac 
windows, and dealing with the OS preferences settings.

Is there a way that I can store and change a string in a standalone
stack to find the preferences file, where I can then stuff the rest?

Should this, perhaps, be a custom property?

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

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


Re: More weirdness

2012-09-30 Thread Peter Haworth
Hi Jacque,
Thanks for the suggestion.  Initially, I thought this was occurring in the
plugin version of the stack (which runs modeless), but I can reproduce it
now in a regular toplevel stack.
Pete
lcSQL Software http://www.lcsql.com



On Sat, Sep 29, 2012 at 7:29 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 Maybe because you're opening a modal window from inside a non-toplevel
 stack? Just a guess.

 Since your stack is a plugin, you might have better luck if you use the
 IDE messages intended for those. It seems like your scripts get hung up
 mostly when they trap messages that the IDE also manipulates. If you can
 transfer your handlers to the plugin messages instead, you might avoid some
 of that. For example, you can set up your plugin to receive a revOpenStack
 message when a stack opens and run your handler from there instead of from
 openStack.

 There are tons of things going on in the IDE whenever a stack opens. All
 the pre- and open- messages bounce through a dozen libraries, frontscripts,
 backscripts, etc. and there's no telling which one will lock up debugging
 calls and cause breakpoints to abort. I think the rev plugin messages are
 sent after all the IDE stuff is over and done. By then you're safe.

 I vaguely recall this came up before and there was some reason you
 couldn't use those, but it might be worth re-exploring.

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

2012-09-30 Thread Peter Haworth
HI Mark,
I suspected front script problems too. The only message my front script
traps regarding the opening of stacks is openStack; all my front script
handlers have an initial check to ignore messages that originate from an
IDE stack by looking for stack names beginning with rev or, as you
pointed out, the answer dialog, plus the ask dialog, message box, and
Home.

However, I've also tried all this without the front script in place and
still get the same problem so the front script is eliminated from
consideration at this point.

Pete
lcSQL Software http://www.lcsql.com



On Sat, Sep 29, 2012 at 9:16 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 Are you trying to trap system messages in front/back scripts? It
 sounds like some message is getting issued (lockmessages disables it
 and so you're out of trouble), a frontscript is handling the message
 partially or possibly throwing an error, and then you're hosed.
 Remember that the answer stack is a stack if you're handling the
 (pre)open/stack/card messages. Same thing with the message box. Also
 remember that IDE stacks won't normally let you know that an error has
 occurred.

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


resizing datagrids on mobile

2012-09-30 Thread Andre Garzia
Hey Folks,

Have anyone here tried resizing a datagrid on mobile platforms? Resizing
the rect of the grid is easy but how do we resize cell size and textsize?
At this moment I am rolling my poor version of a datagrid like table
because I can't think of a way to resize the inner controls of the datagrid.

=/

-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: connecting to mysql

2012-09-30 Thread ha...@exformedia.se
Most web hosting companies have one or more MySQL-eneabled offerings, but only 
a few of them allow you to connect remotely to their database, and most doesn't 
allow you to add users. I.e. all users will run as the same user. What you need 
is, as suggested before, to have some CGI-script written in a server language 
(if you have MySQL that language is probable PHP.)

So you connect from you app to the server scripts which in turn connects with 
the database.

:-Håkan

PS in the lesson you have a comment before the setup that reads: 
 -- set up the connection parameters - edit these to suit your database

29 sep 2012 kl. 17:13 skrev Mark Smith:

 Mark Schonewille-3 wrote
 What made you think that you could use the RunRev server to test your own
 MySQL scripts? Have you got any documentation from RunRev about this?
 
 Hi Mark, I think the part that confused me was the line RunRev has set up a
 sample database which these scripts will use. Thinking about this, I think
 what they meant is that they setup a sample database to test these scripts
 but... to use them yourself you will need to setup your own server or
 something like that. I thought I could just copy and paste the scripts to
 test them.
 
 That being said, I've never setup my computer as a server on the internet.
 Is this something I can expect to fairly easily do through my web host?
 
 Thanks
 
 -- Mark
 
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/connecting-to-mysql-tp4655547p462.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: Images with colo(u)red borders?

2012-09-30 Thread ha...@exformedia.se
One solution to the mystery is to use the outerGlow effect instead of border. 
Set opacity to 255, filter to Box 1, spread to 255, width and color to what you 
want.

:-Håkan
30 sep 2012 kl. 17:23 skrev Klaus on-rev:

 Hi Richmond,
 
 Am 30.09.2012 um 16:45 schrieb Richmond richmondmathew...@gmail.com:
 
 I cannot, for the life of me, get images to have a borderColor.
 What very basic thing am I missing?
 
 Yes this is one of the most mysterious things in Livecode, which puzzles me 
 everytime:
 Images do NOT have a bodercolor property (hell knows why) but will heir the 
 bordercolor of the card???
 
 So set the bordercolor for your card and you have a nice border around your 
 image :-)
 
 Richmond.
 
 Best
 
 Klaus
 
 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.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: connecting to mysql

2012-09-30 Thread Dr. Hawkins
On Sun, Sep 30, 2012 at 9:41 AM, ha...@exformedia.se
ha...@exformedia.se wrote:
 . What you need is, as suggested before, to have some CGI-script written in a 
 server
language (if you have MySQL that language is probable PHP.)

And I really find it incomprehensible that this isn't built into
livecode with matching base scripts for the server side . . .


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

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


Re: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Dr. Hawkins
On Sun, Sep 30, 2012 at 9:27 AM, Dr. Hawkins doch...@gmail.com wrote:
 Is there a way that I can store and change a string in a standalone
 stack to find the preferences file, where I can then stuff the rest?

I think I've answered this diddling around; the executable file can't
be changed (which would turn it into slef-modifying code, anyway . . .

So I suppose I'll make a ~/.dhbk file, which will default to
~/.dhbk.sqlite, or some such . . .

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

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


Re: connecting to mysql

2012-09-30 Thread Mark Schonewille
Hi Richard,

RunRev Ltd. can't guess which language you're going to use for the server side. 
Therefore, they can't deliver those scripts. If they started delivering such 
scripts, then they would also have to deliver server-side scripts for web 
forms, e-mailing, uploading files, etc. Surely, it would be nice if RunRev were 
going to do all the work for us, but unfortunately we can't expect them to do 
so.

If you really need a server-side solution that works with LiveCode and MySQL, 
then I could make something like this http://qery.us/2l2 for you. Feel free to 
contact me off-list for a quote.

--
Best regards,

Mark Schonewille

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

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



On 30 sep 2012, at 19:17, Dr. Hawkins wrote:

 On Sun, Sep 30, 2012 at 9:41 AM, ha...@exformedia.se
 ha...@exformedia.se wrote:
 . What you need is, as suggested before, to have some CGI-script written in 
 a server
 language (if you have MySQL that language is probable PHP.)
 
 And I really find it incomprehensible that this isn't built into
 livecode with matching base scripts for the server side . . .
 


___
use-livecode mailing list
use-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: connecting to mysql

2012-09-30 Thread Dr. Hawkins
On Sun, Sep 30, 2012 at 10:27 AM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
 RunRev Ltd. can't guess which language you're going to use for the server 
 side.
Therefore, they can't deliver those scripts.

But they can.  I have the full developer pack and a runrev server
account.  At the *very* least, my stack should be able to query my
account on their own server runing livecode server.  Failing that,
there should be at least a sample script.

If they started delivering such scripts, then
they would also have to deliver server-side scripts for web forms, e-mailing,
uploading files, etc.

If they're selling a server language package, this should be part of
what comes with it!

Surely, it would be nice if RunRev were going to do all the work
for us, but unfortunately we can't expect them to do so.

We can, though, expect a developer package and webserver package to
include the basic tools that every database using application will
need.

 If you really need a server-side solution that works with LiveCode and MySQL, 
 then I
could make something like this http://qery.us/2l2 for you. Feel free to 
contact me
off-list for a quote.

Thank you, but I really need to be doing my own coding, and
understanding every line of it.  Only after that can I subcontract
anything in a commercial product (besides, I want postrgresql, not
mysql.  Now that Oracle owns mysql, it is unlikely to advace and get
basic hings like, say, real booleans . . .)


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

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


Re: Images with colo(u)red borders?

2012-09-30 Thread Klaus on-rev
Hej Håkan,

Am 30.09.2012 um 18:53 schrieb ha...@exformedia.se ha...@exformedia.se:

 One solution to the mystery is to use the outerGlow effect instead of border. 
 Set opacity to 255, filter to Box 1, spread to 255, width and color to what 
 you want.

OK, but that's exactly as intuitive as setting the cards bordercolor property 
:-D

 :-Håkan
 30 sep 2012 kl. 17:23 skrev Klaus on-rev:
 Hi Richmond,
 Am 30.09.2012 um 16:45 schrieb Richmond richmondmathew...@gmail.com:
 I cannot, for the life of me, get images to have a borderColor.
 What very basic thing am I missing?
 Yes this is one of the most mysterious things in Livecode, which puzzles me 
 everytime:
 Images do NOT have a bodercolor property (hell knows why) but will heir 
 the bordercolor of the card???
 So set the bordercolor for your card and you have a nice border around 
 your image :-)

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Andre Garzia
Richard,

Check out the specialFolderPath() function. It will give you a location to
write your preferences file.

On Sun, Sep 30, 2012 at 2:21 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Sun, Sep 30, 2012 at 9:27 AM, Dr. Hawkins doch...@gmail.com wrote:
  Is there a way that I can store and change a string in a standalone
  stack to find the preferences file, where I can then stuff the rest?

 I think I've answered this diddling around; the executable file can't
 be changed (which would turn it into slef-modifying code, anyway . . .

 So I suppose I'll make a ~/.dhbk file, which will default to
 ~/.dhbk.sqlite, or some such . . .

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

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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: connecting to mysql

2012-09-30 Thread Malte Brill
Hi Doc,

the server engine is perfectly capable to connect to the databases that are 
supported in the desktop engine. At least for postGres and mySQL I know for 
sure as I am using those two. :-)

What you can not do in most cases, is connect from a desktop app to some remote 
database, unless you govern the server yourself. This is for security reasons, 
so you need a middleman that broadcasts the data, which can be written in any 
language, liveCode server included. That is if your ISP allows you to install 
the engine.

 We can, though, expect a developer package and webserver package to
 include the basic tools that every database using application will
 need.
All the best,

Malte
___
use-livecode mailing list
use-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: Images with colo(u)red borders?

2012-09-30 Thread Richmond

On 09/30/2012 09:09 PM, Klaus on-rev wrote:

Hej Håkan,

Am 30.09.2012 um 18:53 schrieb ha...@exformedia.se ha...@exformedia.se:


One solution to the mystery is to use the outerGlow effect instead of border. 
Set opacity to 255, filter to Box 1, spread to 255, width and color to what you 
want.

OK, but that's exactly as intuitive as setting the cards bordercolor property 
:-D




This is NOT intuitive at all, and is, to my mind at least, a negative 
feature of Livecode that needs

to be 'twiddled' instanter.

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


[OT] What does Richmond do with Livecode?

2012-09-30 Thread Richmond

Possibly the best way to find out is to subscribe to the Facebook page:

http://www.facebook.com/devawriter

if you already have a Facebook account search for 'Devawriter' and send 
a friend request.


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


Re: Images with colo(u)red borders?

2012-09-30 Thread Roger Eller
On Sun, Sep 30, 2012 at 2:28 PM, Richmond wrote:

 On 09/30/2012 09:09 PM, Klaus on-rev wrote:

 Hej Håkan,

  Am 30.09.2012 um 18:53 schrieb ha...@exformedia.se:

  One solution to the mystery is to use the outerGlow effect instead of
 border. Set opacity to 255, filter to Box 1, spread to 255, width and color
 to what you want.

 OK, but that's exactly as intuitive as setting the cards bordercolor
 property :-D



 This is NOT intuitive at all, and is, to my mind at least, a negative
 feature of Livecode that needs
 to be 'twiddled' instanter.

 Richmond.



It could also be seen as a bug which has gone undiagnosed and unreported
for far too long.

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


Re: [OT] What does Richmond do with Livecode?

2012-09-30 Thread Roger Eller
On Sun, Sep 30, 2012 at 2:30 PM, Richmond wrote:

 Possibly the best way to find out is to subscribe to the Facebook page:

 http://www.facebook.com/devawriter

 if you already have a Facebook account search for 'Devawriter' and send a
 friend request.

 Richmond.


I saw your announcement.  CONGRATULATIONS Richmond!

~Roger
___
use-livecode mailing list
use-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: connecting to mysql

2012-09-30 Thread Mark Schonewille
Richard,

I agree that RevServer could come with some scripts. A collection of sample 
scripts to get you started with databases wouldn't go amiss.

--
Best regards,

Mark Schonewille

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

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


On 30 sep 2012, at 19:43, Dr. Hawkins wrote:

 On Sun, Sep 30, 2012 at 10:27 AM, Mark Schonewille
 m.schonewi...@economy-x-talk.com wrote:
 RunRev Ltd. can't guess which language you're going to use for the server 
 side.
 Therefore, they can't deliver those scripts.
 
 But they can.  I have the full developer pack and a runrev server
 account.  At the *very* least, my stack should be able to query my
 account on their own server runing livecode server.  Failing that,
 there should be at least a sample script.
 
 If they started delivering such scripts, then
 they would also have to deliver server-side scripts for web forms, e-mailing,
 uploading files, etc.
 
 If they're selling a server language package, this should be part of
 what comes with it!
 
 Surely, it would be nice if RunRev were going to do all the work
 for us, but unfortunately we can't expect them to do so.
 
 We can, though, expect a developer package and webserver package to
 include the basic tools that every database using application will
 need.
 
 If you really need a server-side solution that works with LiveCode and 
 MySQL, then I
 could make something like this http://qery.us/2l2 for you. Feel free to 
 contact me
 off-list for a quote.
 
 Thank you, but I really need to be doing my own coding, and
 understanding every line of it.  Only after that can I subcontract
 anything in a commercial product (besides, I want postrgresql, not
 mysql.  Now that Oracle owns mysql, it is unlikely to advace and get
 basic hings like, say, real booleans . . .)
 
 
 -- 
 Richard E. Hawkins, Esq.
 (702) 508-8462


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


Re: Images with colo(u)red borders?

2012-09-30 Thread Klaus on-rev

Am 30.09.2012 um 20:28 schrieb Richmond richmondmathew...@gmail.com:

 On 09/30/2012 09:09 PM, Klaus on-rev wrote:
 Hej Håkan,
 
 Am 30.09.2012 um 18:53 schrieb ha...@exformedia.se ha...@exformedia.se:
 
 One solution to the mystery is to use the outerGlow effect instead of 
 border. Set opacity to 255, filter to Box 1, spread to 255, width and color 
 to what you want.
 OK, but that's exactly as intuitive as setting the cards bordercolor 
 property :-D
 This is NOT intuitive at all, and is, to my mind at least, a negative feature 
 of Livecode that needs
 to be 'twiddled' instanter.

DAMN, I really forgot the IRONY tags ;-)

 Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread J. Landman Gay

On 9/30/12 11:27 AM, Dr. Hawkins wrote:

I'm not ready to face the differences in where things go with mac 
windows, and dealing with the OS preferences settings.

Is there a way that I can store and change a string in a standalone
stack to find the preferences file, where I can then stuff the rest?

Should this, perhaps, be a custom property?



You can do this:

if the platform = macos then
 put specialfolderpath(preferences) into tFolder
else
 put specialFolderPath(0x001a) into tFolder
end if

That gives a path to the OS-approved place to store prefs. You should 
probably create a folder there named for your app and then put your file 
into that.


There's been some discussion about whether Apple still wants prefs 
stored in Preferences in Mountain Lion (odd as that may seem.) To be 
safe on all versions of OS X, you may want to use this instead for Macs:


  put ~/Library/Application Support into tFolder

--
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: connecting to mysql

2012-09-30 Thread Dr. Hawkins
On Sun, Sep 30, 2012 at 11:26 AM, Malte Brill revolut...@derbrill.de wrote:
 the server engine is perfectly capable to connect to the databases that are
supported in the desktop engine. At least for postGres and mySQL I know for 
sure as
I am using those two. :-)

Yes, I've done it directly to one of my ISPs.


 What you can not do in most cases, is connect from a desktop app to some 
 remote
database, unless you govern the server yourself. This is for security reasons, 
so you need a middleman that broadcasts the data, which can be written in 
any language,
liveCode server included. That is if your ISP allows you to install the engine.

Yes, I understand--and samples *should* come in the developer bundle
for this, especially for livecode, but also for the most common web
languages.  *Especially* when your ISP is also livecode.


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

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


Re: [OT] What does Richmond do with Livecode?

2012-09-30 Thread J. Landman Gay

On 9/30/12 1:39 PM, Roger Eller wrote:

On Sun, Sep 30, 2012 at 2:30 PM, Richmond wrote:


Possibly the best way to find out is to subscribe to the Facebook page:

http://www.facebook.com/devawriter

if you already have a Facebook account search for 'Devawriter' and send a
friend request.

Richmond.



I saw your announcement.  CONGRATULATIONS Richmond!


Those of us who do not want to be involved with Facebook for any reason 
will never know what he did.


rant
I understand that everyone in the world is on FB except the handful of 
us who don't care to post their private life in public places. I have 
now seen several promotions by some companies that only give away free 
product or coupons if you like them on FB. I am annoyed. The US has a 
law that forbids sweepstakes from requiring a purchase, but there is no 
law that says you can't limit your giveaways to a particular social 
media outlet. I was eligible for some free items according to all the 
stated rules except for the fact that I refuse to use FB.

/rant

--
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: [OT] What does Richmond do with Livecode?

2012-09-30 Thread Richmond

On 09/30/2012 10:28 PM, J. Landman Gay wrote:

On 9/30/12 1:39 PM, Roger Eller wrote:

On Sun, Sep 30, 2012 at 2:30 PM, Richmond wrote:


Possibly the best way to find out is to subscribe to the Facebook page:

http://www.facebook.com/devawriter

if you already have a Facebook account search for 'Devawriter' and 
send a

friend request.

Richmond.



I saw your announcement.  CONGRATULATIONS Richmond!


Those of us who do not want to be involved with Facebook for any 
reason will never know what he did.


rant
I understand that everyone in the world is on FB except the handful of 
us who don't care to post their private life in public places. I have 
now seen several promotions by some companies that only give away free 
product or coupons if you like them on FB. I am annoyed. The US has 
a law that forbids sweepstakes from requiring a purchase, but there is 
no law that says you can't limit your giveaways to a particular social 
media outlet. I was eligible for some free items according to all the 
stated rules except for the fact that I refuse to use FB.

/rant



counter rant

I have a Facebook account where I post ONLY AS MUCH AS I CHOOSE about my 
private life. While
this may shock people like Ms Landman Gay, I have reached an age where I 
don't feel an urge to hang all my dirty laundry out in public, and, 
therefore, don't.


I also have 2 groups: both 'Secret: one for the pupils at my Language 
school, the other to communicate easily with my 2 boys, who are both 
studying outside Bulgaria. These are both extremely convenient; 
especially the former, as I can send out grammar handouts and so on 
ready for a class the following day.


My 'Devawriter' account is NOT about me, nor my dirty laundry (which I 
normally shove in the washing-machine . .  . LOL), but about my Software 
development.


Facebook is rather like Uranium; it can be used for good and bad alike, 
and it depends on how the end-user uses the thing, not the thing in 
itself. As a right-wing sort of chap, I advocate personal
responsibility rather than blaming Facebook, Twitter and so on for any 
of my personal ills.


/counter rant

Of course, anti-Facebook types can just troll over to my webpage and 
have a jolly time messing around with the Demo versions:


http://andregarzia.on-rev.com/richmond/dwriterpro.html

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


Re: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Klaus on-rev
Hi Jaqueline,

Am 30.09.2012 um 21:16 schrieb J. Landman Gay jac...@hyperactivesw.com:

 On 9/30/12 11:27 AM, Dr. Hawkins wrote:
 I'm not ready to face the differences in where things go with mac 
 windows, and dealing with the OS preferences settings.
 
 Is there a way that I can store and change a string in a standalone
 stack to find the preferences file, where I can then stuff the rest?
 Should this, perhaps, be a custom property?
 
 You can do this:
 
 if the platform = macos then
 put specialfolderpath(preferences) into tFolder
 else
 put specialFolderPath(0x001a) into tFolder
 end if
 
 That gives a path to the OS-approved place to store prefs. You should 
 probably create a folder there named for your app and then put your file into 
 that.
 
 There's been some discussion about whether Apple still wants prefs stored in 
 Preferences in Mountain Lion (odd as that may seem.) To be safe on all 
 versions of OS X, you may want to use this instead for Macs:
 
  put ~/Library/Application Support into tFolder

This works on the Mac:
specialfolderpath(asup) - ~/Library/Application Support

4 chars less to type ;-)

 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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


mysql question

2012-09-30 Thread Mark Smith
Hi, is there a command in LC equivalent to connecting to a server and not
necessarily to a database. The equivalent from the command line of:

mysql -h localhost -u username -ppassword

Thanks

-- Mark



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/mysql-question-tp4655596.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: mysql question

2012-09-30 Thread Mark Schonewille
Mark,

No, there is no such command. It is one of the reasons why you can't execute 
multiple MySQL commands from within LiveCode, while you can do this from within 
PHP.

--
Best regards,

Mark Schonewille

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

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



On 30 sep 2012, at 22:11, Mark Smith wrote:

 Hi, is there a command in LC equivalent to connecting to a server and not
 necessarily to a database. The equivalent from the command line of:
 
 mysql -h localhost -u username -ppassword
 
 Thanks
 
 -- Mark


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

2012-09-30 Thread Mark Smith
Thanks Mark. I am just beginning to realize the limitations of the
implementation of SQL supported by LC. So, I presume there is no way to
create a database from LC then? ie.

CREATE DATABASE database_name ??

Thanks



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/mysql-question-tp4655596p4655598.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: resizing datagrids on mobile

2012-09-30 Thread Monte Goulding
Hi Andre

It's not that complicated. Just resize everything on the template and reset the 
datagrid. Any use of pixels in your layout script needs to be altered to add a 
scaling factor but other than that your good. You also need to change the line 
height if you have a fixed height form. I haven't tested this with tables 
yet Not sure if I'd use a table on a mobile anyway.

I'm considering adding this to mergDataGridScroller. I recently added (haven't 
released yet) bouncing which is cool. 

Cheers

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 01/10/2012, at 2:39 AM, Andre Garzia an...@andregarzia.com wrote:

 Hey Folks,
 
 Have anyone here tried resizing a datagrid on mobile platforms? Resizing
 the rect of the grid is easy but how do we resize cell size and textsize?
 At this moment I am rolling my poor version of a datagrid like table
 because I can't think of a way to resize the inner controls of the datagrid.
 
 =/
 
 -- 
 http://www.andregarzia.com -- All We Do Is Code.
 http://fon.nu -- minimalist url shortening service.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-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: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Dr. Hawkins
On Sun, Sep 30, 2012 at 12:48 PM, Klaus on-rev kl...@major.on-rev.com wrote:
 This works on the Mac:
 specialfolderpath(asup) - ~/Library/Application Support

 4 chars less to type ;-)

I could have used that two hours ago . . .

But now I see a new headache coming . . . I need both per user *AND*
per firm preferences, with the per-firm likely to be across a couple
of computers . . .

As George of the Jungle said, This one is gonna hurt . . .




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

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


Re: mysql question

2012-09-30 Thread Dr. Hawkins
On Sun, Sep 30, 2012 at 1:39 PM, Mark Smith mark_sm...@cpe.umanitoba.ca wrote:
 Thanks Mark. I am just beginning to realize the limitations of the
 implementation of SQL supported by LC. So, I presume there is no way to
 create a database from LC then? ie.

 CREATE DATABASE database_name ??

revOpenDatabase()

will open the database if it doesn't already exist.

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

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


Re: mysql question

2012-09-30 Thread Mark Schonewille
Hi Mark,

You are correct, although you might be able to do this from the command line, 
e.g. using a shell script.

--
Best regards,

Mark Schonewille

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

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



On 30 sep 2012, at 22:39, Mark Smith wrote:

 Thanks Mark. I am just beginning to realize the limitations of the
 implementation of SQL supported by LC. So, I presume there is no way to
 create a database from LC then? ie.
 
 CREATE DATABASE database_name ??
 
 Thanks
 
 


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


launch iOS app with a personalised message

2012-09-30 Thread Dave Kilroy
Hello all LiveCode coders - can you help me with this? Can't think of how to do 
it…

I've got a prospective client that wants to be able to send their new customers 
a SMS which will contain a link to the AppStore, from where they can download 
the app they want me to make for them. And that's fine, I can understand how 
that will work.

The thing is they want their customer to get a personalised message on 
launching the app (or pretty quickly thereafter) saying something like Hello 
Mr/Mrs , thank you for downloading this new app. This is a reminder that 
your appointment is at time-time-date-date-date. Yours sincerely X Dental 
Practice (they're dentists).

Is this possible to do? I can think of various approaches that almost make it 
work, but nothing that will do it all.

Thank you for any light you can shed on this problem.

…Distracted of Devon...

Dave
___
use-livecode mailing list
use-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: resizing datagrids on mobile

2012-09-30 Thread Andre Garzia
Hi Monte,

I think we need real tables, not the datagrid. Even though the datagrid is
a really impressive proof of what can be done with LiveCode alone, it is
really hard to use some times.

The whole business of resizing everything, recalculating font sizes and
text heights is getting on my nerves. :-)


On Sun, Sep 30, 2012 at 5:52 PM, Monte Goulding mo...@sweattechnologies.com
 wrote:

 Hi Andre

 It's not that complicated. Just resize everything on the template and
 reset the datagrid. Any use of pixels in your layout script needs to be
 altered to add a scaling factor but other than that your good. You also
 need to change the line height if you have a fixed height form. I haven't
 tested this with tables yet Not sure if I'd use a table on a mobile
 anyway.

 I'm considering adding this to mergDataGridScroller. I recently added
 (haven't released yet) bouncing which is cool.

 Cheers

 --
 M E R Goulding
 Software development services

 mergExt - There's an external for that!

 On 01/10/2012, at 2:39 AM, Andre Garzia an...@andregarzia.com wrote:

  Hey Folks,
 
  Have anyone here tried resizing a datagrid on mobile platforms? Resizing
  the rect of the grid is easy but how do we resize cell size and textsize?
  At this moment I am rolling my poor version of a datagrid like table
  because I can't think of a way to resize the inner controls of the
 datagrid.
 
  =/
 
  --
  http://www.andregarzia.com -- All We Do Is Code.
  http://fon.nu -- minimalist url shortening service.
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode

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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: resizing datagrids on mobile

2012-09-30 Thread Monte Goulding
Hmm... A real table would have many more limitations and would be much harder 
to work around those than the datagrid.

Cheers

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 01/10/2012, at 7:54 AM, Andre Garzia an...@andregarzia.com wrote:

 Hi Monte,
 
 I think we need real tables, not the datagrid. Even though the datagrid is
 a really impressive proof of what can be done with LiveCode alone, it is
 really hard to use some times.
 
 The whole business of resizing everything, recalculating font sizes and
 text heights is getting on my nerves. :-)
 
 
 On Sun, Sep 30, 2012 at 5:52 PM, Monte Goulding mo...@sweattechnologies.com
 wrote:
 
 Hi Andre
 
 It's not that complicated. Just resize everything on the template and
 reset the datagrid. Any use of pixels in your layout script needs to be
 altered to add a scaling factor but other than that your good. You also
 need to change the line height if you have a fixed height form. I haven't
 tested this with tables yet Not sure if I'd use a table on a mobile
 anyway.
 
 I'm considering adding this to mergDataGridScroller. I recently added
 (haven't released yet) bouncing which is cool.
 
 Cheers
 
 --
 M E R Goulding
 Software development services
 
 mergExt - There's an external for that!
 
 On 01/10/2012, at 2:39 AM, Andre Garzia an...@andregarzia.com wrote:
 
 Hey Folks,
 
 Have anyone here tried resizing a datagrid on mobile platforms? Resizing
 the rect of the grid is easy but how do we resize cell size and textsize?
 At this moment I am rolling my poor version of a datagrid like table
 because I can't think of a way to resize the inner controls of the
 datagrid.
 
 =/
 
 --
 http://www.andregarzia.com -- All We Do Is Code.
 http://fon.nu -- minimalist url shortening service.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 -- 
 http://www.andregarzia.com -- All We Do Is Code.
 http://fon.nu -- minimalist url shortening service.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-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: launch iOS app with a personalised message

2012-09-30 Thread Monte Goulding
Hmm... Could you send a username and pass too? If not then maybe the SMS links 
to a script that associates their ip with their details then redirects them to 
the app store and then the app gets that from the script. I think you would 
want to have a backup username and password though incase their ip changes 
between download and use or some other issue messes it up.

Cheers

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 01/10/2012, at 7:53 AM, Dave Kilroy d...@businessplaninsight.com wrote:

 Hello all LiveCode coders - can you help me with this? Can't think of how to 
 do it…
 
 I've got a prospective client that wants to be able to send their new 
 customers a SMS which will contain a link to the AppStore, from where they 
 can download the app they want me to make for them. And that's fine, I can 
 understand how that will work.
 
 The thing is they want their customer to get a personalised message on 
 launching the app (or pretty quickly thereafter) saying something like Hello 
 Mr/Mrs , thank you for downloading this new app. This is a reminder that 
 your appointment is at time-time-date-date-date. Yours sincerely X Dental 
 Practice (they're dentists).
 
 Is this possible to do? I can think of various approaches that almost make it 
 work, but nothing that will do it all.
 
 Thank you for any light you can shed on this problem.
 
 …Distracted of Devon...
 
 Dave
 ___
 use-livecode mailing list
 use-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: resizing datagrids on mobile

2012-09-30 Thread Richard Gaskin

Andre Garzia wrote:


I think we need real tables, not the datagrid. Even though the datagrid is
a really impressive proof of what can be done with LiveCode alone, it is
really hard to use some times.


When you need a form layout for displays which may exceed 32k pixels, 
the DataGrid is a great solution.


But for simple lists, unless you're displaying financial data the native 
field object works great, better now in v5.5 than ever before since we 
now have zero-width columns so we can include things like record IDs 
without having to show those to the user.  Up to 4GB of data can be 
displayed easily in a single object that buffers and scolls more 
smoothly than Excel.


The only drawback to fields is with financial data, since you'll need 
independent column alignment to right-align numbers while left-aligning 
text.


With all the new stuff they added to fields for v5.5 I can't imagine how 
they overlooked the proposed tabAlign property:

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

Being able to specify distinct alignments for each column is essential 
for any app that displays numeric data.


With so many other long-awaited list essentials already implemented in 
v5.5, I'm hoping we'll see tabAlign in v5.5.3.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

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


Re: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Phil Jimmieson

On 30 Sep 2012, at 20:16, J. Landman Gay jac...@hyperactivesw.com wrote:
 There's been some discussion about whether Apple still wants prefs stored in 
 Preferences in Mountain Lion (odd as that may seem.) To be safe on all 
 versions of OS X, you may want to use this instead for Macs:
 
  put ~/Library/Application Support into tFolder
 

I'm not sure that this folder is named the same on localised systems so it 
would be better if we could get the OS to tell us. There is in LiveCode a 
SpecialFolderPath call to get the system-wide application support folder, but 
not one to get the user's local version. I've put in an enhancement request to 
extend SpecialFolderPath to provide one so I'm hopeful we will have this soon.


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

2012-09-30 Thread Richard Gaskin

Monte Goulding wrote:
 I think in this case where it's easy to show that its virtually
 impossible to design a satisfactory UI for both devices then it
 would be beneficial to have at least some screenshots. Just two
 screenshots of the same stack in different density screens of
 similar size should do the job. If I get a chance before they
 implement this ill add it.

I certainly don't mind if you or anyone else wants to add additional 
info to that request, but I'm hoping the necessity of this is as obvious 
to them as it is to the rest of the world.


Since the data structures needed to provide this are well documented and 
easy to find, I'd prefer to believe this omission is simply a matter of 
priorities to date and that it'll be in the next version.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

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


Re: mysql question

2012-09-30 Thread Mark Smith
Mark Schonewille-3 wrote
 You are correct, although you might be able to do this from the command
 line, e.g. using a shell script.
 
 --
 Best regards,
 
 Mark Schonewille

Neat suggestion Mark, thanks

-- M



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/mysql-question-tp4655596p4655610.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: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Richard Gaskin

Phil Jimmieson wrote:

 On 30 Sep 2012, at 20:16, J. Landman Gay wrote:
 There's been some discussion about whether Apple still wants
 prefs stored in Preferences in Mountain Lion (odd as that may seem.)
 To be safe on all versions of OS X, you may want to use this instead
 for Macs:

  put ~/Library/Application Support into tFolder


 I'm not sure that this folder is named the same on localised systems
 so it would be better if we could get the OS to tell us. There is in
 LiveCode a SpecialFolderPath call to get the system-wide application
 support folder, but not one to get the user's local version. I've put
 in an enhancement request to extend SpecialFolderPath to provide one
 so I'm hopeful we will have this soon.

A post in the forums a while back suggested that Apple's localization 
affects only the display of such folder names, while the actual 
addressable folder name remains constant.


I don't have enough experience with Apple's localization to say for 
sure, but it would be convenient if someone who knows can verify if this 
simple solution is indeed workable on localized OS X systems.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

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


Re: mysql question

2012-09-30 Thread Peter Haworth
I haven't looked at many ISP mySQL abilities but the ones I have seen all
supply some sort of gui tool for db admin commands such as CREATE TABLE.
Pete
lcSQL Software http://www.lcsql.com



On Sun, Sep 30, 2012 at 3:23 PM, Mark Smith mark_sm...@cpe.umanitoba.cawrote:

 Mark Schonewille-3 wrote
  You are correct, although you might be able to do this from the command
  line, e.g. using a shell script.
 
  --
  Best regards,
 
  Mark Schonewille

 Neat suggestion Mark, thanks

 -- M



 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/mysql-question-tp4655596p4655610.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


Bug or just something you can't do ?

2012-09-30 Thread Alex Tweedly

This very simple script doesn't work. Question is whether it should or not ?

command increment @p
   add 1 to p
end increment

on mouseUp
   local t, tA
   put 2 into t
   increment t
   put t CR after msg

   put 5 into tA[1]
   increment tA[1]
   put tA[1] CR after msg

end mouseUp
Intutively, to me, it should work. The element of the array can be 
treated just like a simple variable - use its value, assign to it, etc. 
-  but it cannot be used as the actual parameter to a pass-by-reference 
parameter.


I can't find anywhere in the documentation that says that - but I can't 
actually find anywhere that it would say that - the docs I've found are 
pretty quiet on the subject of what an array is, or what an element is.


Is this a deficiency you would expect ?
Or should I submit as a bug/request ?

Thanks
-- Alex.

___
use-livecode mailing list
use-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: resizing datagrids on mobile

2012-09-30 Thread Peter Haworth
I keep hearing legends of a plugin named ListMagic which provided many of
the features discussed in this thread but is no longer available?

Pete
lcSQL Software http://www.lcsql.com



On Sun, Sep 30, 2012 at 3:14 PM, Richard Gaskin
ambassa...@fourthworld.comwrote:

 Andre Garzia wrote:

  I think we need real tables, not the datagrid. Even though the datagrid is
 a really impressive proof of what can be done with LiveCode alone, it is
 really hard to use some times.


 When you need a form layout for displays which may exceed 32k pixels, the
 DataGrid is a great solution.

 But for simple lists, unless you're displaying financial data the native
 field object works great, better now in v5.5 than ever before since we now
 have zero-width columns so we can include things like record IDs without
 having to show those to the user.  Up to 4GB of data can be displayed
 easily in a single object that buffers and scolls more smoothly than Excel.

 The only drawback to fields is with financial data, since you'll need
 independent column alignment to right-align numbers while left-aligning
 text.

 With all the new stuff they added to fields for v5.5 I can't imagine how
 they overlooked the proposed tabAlign property:
 http://quality.runrev.com/**show_bug.cgi?id=2282http://quality.runrev.com/show_bug.cgi?id=2282
 

 Being able to specify distinct alignments for each column is essential for
 any app that displays numeric data.

 With so many other long-awaited list essentials already implemented in
 v5.5, I'm hoping we'll see tabAlign in v5.5.3.

 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  
 http://twitter.com/**FourthWorldSyshttp://twitter.com/FourthWorldSys


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

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


Re: mysql question

2012-09-30 Thread Mark Schonewille
Pete, I asked this before, but why do you still send your messages to both 
use-livecode@lists.runrev.com and use-livecode@lists.runrev.com? I receive all 
your messages twice.

--
Best regards,

Mark Schonewille

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

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



On 1 okt 2012, at 00:54, Peter Haworth wrote:

 I haven't looked at many ISP mySQL abilities but the ones I have seen all
 supply some sort of gui tool for db admin commands such as CREATE TABLE.
 Pete
 lcSQL Software http://www.lcsql.com
 
 


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


Re: Bug or just something you can't do ?

2012-09-30 Thread Richard Gaskin

Alex Tweedly wrote:

This very simple script doesn't work. Question is whether it should or not ?

command increment @p
   add 1 to p
end increment

on mouseUp
   local t, tA
   put 2 into t
   increment t
   put t CR after msg

   put 5 into tA[1]
   increment tA[1]
   put tA[1] CR after msg

end mouseUp

Intutively, to me, it should work. The element of the array can be
treated just like a simple variable - use its value, assign to it, etc.
-  but it cannot be used as the actual parameter to a pass-by-reference
parameter.

I can't find anywhere in the documentation that says that - but I can't
actually find anywhere that it would say that - the docs I've found are
pretty quiet on the subject of what an array is, or what an element is.

Is this a deficiency you would expect ?
Or should I submit as a bug/request ?


I would have expected it, but I can see value in allowing what you 
suggest.  I'm just not sure how to go about it.


Args are evaluated before being passed in, so:

   increment tA[1]

...becomes:

   increment (the value of element 1 in the array tA)

One option for passing the array would be to pass the whole thing with a 
specifier for the element to be affected as a separate argument:


  increment tA, 1

But you've probably already considered that.

So we have a question:  if enough folks find this sort of suggested 
syntax useful, by what syntactic means could we tell the interpreter not 
to evaluate the argument?


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

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


Re: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Andre Garzia

 A post in the forums a while back suggested that Apple's localization
 affects only the display of such folder names, while the actual addressable
 folder name remains constant.

 I don't have enough experience with Apple's localization to say for sure,
 but it would be convenient if someone who knows can verify if this simple
 solution is indeed workable on localized OS X systems.


Localization can't change the real name of the folder because it will break
everything once it renames /Library to something else. My mother uses a
localized Mac OS X, the fact that it doesn't break anything means that the
paths remain the same.




 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  
 http://twitter.com/**FourthWorldSyshttp://twitter.com/FourthWorldSys


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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: mysql question

2012-09-30 Thread Peter Haworth
Hi Mark,
I replied before too :-)  As far as I know, I don't send to both addresses,
I simply reply to the posts or send new ones to
use-livecode@lists.runrev.com.

Maybe there's something weird in my gMail account  - is anyone else getting
my messages twice?

Pete
lcSQL Software http://www.lcsql.com



On Sun, Sep 30, 2012 at 3:59 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Pete, I asked this before, but why do you still send your messages to both
 use-livecode@lists.runrev.com and use-livecode@lists.runrev.com? I
 receive all your messages twice.

 --
 Best regards,

 Mark Schonewille

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

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



 On 1 okt 2012, at 00:54, Peter Haworth wrote:

  I haven't looked at many ISP mySQL abilities but the ones I have seen all
  supply some sort of gui tool for db admin commands such as CREATE TABLE.
  Pete
  lcSQL Software http://www.lcsql.com
 
 


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

___
use-livecode mailing list
use-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: Bug or just something you can't do ?

2012-09-30 Thread Alex Tweedly

On 01/10/2012 00:15, Richard Gaskin wrote:


I would have expected it, but I can see value in allowing what you 
suggest.  I'm just not sure how to go about it.


Args are evaluated before being passed in, so:

   increment tA[1]

...becomes:

   increment (the value of element 1 in the array tA)


?
So doesn't
   increment t
become
  increment (the value of t)

?

If you look closely at the simple case

command increment @p
   add 1 to p
end increment

on mouseUp
   local t, tA
   put 2 into t
   increment t
   put t CR after msg
you see that *because the parameter specifies 'pass-by-ref',* a 
reference to the container is passed, without evaluating the actual 
parameter. So what I woudl expect (or at least, wht I want :-) is for

   increment tA[1]
to be evaluated as far as
   increment (the reference to the container tA[1])

One option for passing the array would be to pass the whole thing with 
a specifier for the element to be affected as a separate argument:


  increment tA, 1

But you've probably already considered that.

Yeah. My problem is that I have a whole set of functions that take in an 
array, passed by ref, and update that array; I've now realized that *in 
some cases* the calling handlers don't need just one (or two) array(s) - 
they need to handle a large number of arrays. So I changed all the code 
from something like


   (read the data into gArray)
   put myFn(gArray) into tResult

into something like
   repeat for each dataset D
  read data into gArray[D]
  put myFn(gArray[D]) into wherever
   end repeat

But of course, in other places, I still only have a single array to deal 
with.


For now I've inserted the ugly construct

   repeat for each dataset D
  read data into gArray[D]
  put gArray[D] into temparray
  put myFn(temparray) into wherever
  put temparray into Array[D]
end repeat

(ick !! - but it works)

So we have a question:  if enough folks find this sort of suggested 
syntax useful, by what syntactic means could we tell the interpreter 
not to evaluate the argument?


There's no need for any syntactic means - the use of by-ref in the 
handler specification is already there, and is already used to 
differentiate how to pass it in the simple case (unless I'm missing 
something).


-- Alex.
___
use-livecode mailing list
use-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: Bug or just something you can't do ?

2012-09-30 Thread Mark Schonewille
This:

on foo
 put 1 into x[1
 inc x[1] // use quotes instead of @
 put x[1]
end foo

on inc x
 put line -1 of the executionContexts into myContext
 set the debugContext to line -2 of the executionContexts
 debugDo (add 1 to  x)
 set the debugContext to myContext
end inc

--
Best regards,

Mark Schonewille

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

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


 
 So we have a question:  if enough folks find this sort of suggested syntax 
 useful, by what syntactic means could we tell the interpreter not to evaluate 
 the argument?
 
 --
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys


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


answer folder ignores ~/Library

2012-09-30 Thread Dr. Hawkins
As I'm playing with preferences, and letting the user specify some
things, I've noticed that ~/Library does not appear among the choices
of ~ in the dialog box.

The dictionary says nothing about this.

Is this behavior correct?


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

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


Re: mysql question

2012-09-30 Thread Mark Schonewille
Pete,

I must have missed your reply, the first time. Here's a screenshot of the 
headers: http://qery.us/2l3 I just noticed that this doesn't happen with every 
e-mail from you, but it happens very regularly and only with e-mails from you.

--
Best regards,

Mark Schonewille

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

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



On 1 okt 2012, at 01:29, Peter Haworth wrote:

 Hi Mark,
 I replied before too :-)  As far as I know, I don't send to both addresses,
 I simply reply to the posts or send new ones to
 use-livecode@lists.runrev.com.
 
 Maybe there's something weird in my gMail account  - is anyone else getting
 my messages twice?
 
 Pete
 lcSQL Software http://www.lcsql.com
 
 
 


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


Re: mysql question

2012-09-30 Thread -=JB=-
I received your last post twice.

-=JB=-


On Sep 30, 2012, at 4:29 PM, Peter Haworth wrote:

 Hi Mark,
 I replied before too :-)  As far as I know, I don't send to both addresses,
 I simply reply to the posts or send new ones to
 use-livecode@lists.runrev.com.
 
 Maybe there's something weird in my gMail account  - is anyone else getting
 my messages twice?
 
 Pete
 lcSQL Software http://www.lcsql.com
 
 
 
 On Sun, Sep 30, 2012 at 3:59 PM, Mark Schonewille 
 m.schonewi...@economy-x-talk.com wrote:
 
 Pete, I asked this before, but why do you still send your messages to both
 use-livecode@lists.runrev.com and use-livecode@lists.runrev.com? I
 receive all your messages twice.
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
 spaces. http://www.color-converter.com
 
 
 
 On 1 okt 2012, at 00:54, Peter Haworth wrote:
 
 I haven't looked at many ISP mySQL abilities but the ones I have seen all
 supply some sort of gui tool for db admin commands such as CREATE TABLE.
 Pete
 lcSQL Software http://www.lcsql.com
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-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: Bug or just something you can't do ?

2012-09-30 Thread Mark Schonewille
Hi,

Somehow, a bracket went missing (Pete...? ;) ). Probably it is obvious, but 
I'll correct is anyway: put 1 into x[1 should be put 1 into x[1].

--
Best regards,

Mark Schonewille

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

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



On 1 okt 2012, at 01:32, Mark Schonewille wrote:

 This:
 
 on foo
 put 1 into x[1
 inc x[1] // use quotes instead of @
 put x[1]
 end foo
 
 on inc x
 put line -1 of the executionContexts into myContext
 set the debugContext to line -2 of the executionContexts
 debugDo (add 1 to  x)
 set the debugContext to myContext
 end inc
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
 spaces. http://www.color-converter.com
 


___
use-livecode mailing list
use-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: Bug or just something you can't do ?

2012-09-30 Thread Peter Haworth
Hi Alex,
I entered bug# 10070 about this back in March.  Trevor DeVore added a
comment that it was a duplicate of bug#  which dates back to July 2008.
 Any bets on whether this will ever be fixed?

Pete
lcSQL Software http://www.lcsql.com



On Sun, Sep 30, 2012 at 4:31 PM, Alex Tweedly a...@tweedly.net wrote:

 On 01/10/2012 00:15, Richard Gaskin wrote:


 I would have expected it, but I can see value in allowing what you
 suggest.  I'm just not sure how to go about it.

 Args are evaluated before being passed in, so:

increment tA[1]

 ...becomes:

increment (the value of element 1 in the array tA)

  ?
 So doesn't
increment t
 become
   increment (the value of t)

 ?

 If you look closely at the simple case

 command increment @p
add 1 to p
 end increment

 on mouseUp
local t, tA
put 2 into t
increment t
put t CR after msg

 you see that *because the parameter specifies 'pass-by-ref',* a reference
 to the container is passed, without evaluating the actual parameter. So
 what I woudl expect (or at least, wht I want :-) is for
increment tA[1]
 to be evaluated as far as
increment (the reference to the container tA[1])

  One option for passing the array would be to pass the whole thing with a
 specifier for the element to be affected as a separate argument:

   increment tA, 1

 But you've probably already considered that.

  Yeah. My problem is that I have a whole set of functions that take in an
 array, passed by ref, and update that array; I've now realized that *in
 some cases* the calling handlers don't need just one (or two) array(s) -
 they need to handle a large number of arrays. So I changed all the code
 from something like

(read the data into gArray)
put myFn(gArray) into tResult

 into something like
repeat for each dataset D
   read data into gArray[D]
   put myFn(gArray[D]) into wherever
end repeat

 But of course, in other places, I still only have a single array to deal
 with.

 For now I've inserted the ugly construct

repeat for each dataset D
   read data into gArray[D]
   put gArray[D] into temparray
   put myFn(temparray) into wherever
   put temparray into Array[D]
 end repeat

 (ick !! - but it works)

  So we have a question:  if enough folks find this sort of suggested
 syntax useful, by what syntactic means could we tell the interpreter not to
 evaluate the argument?


 There's no need for any syntactic means - the use of by-ref in the
 handler specification is already there, and is already used to
 differentiate how to pass it in the simple case (unless I'm missing
 something).

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

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


Re: mysql question

2012-09-30 Thread Peter Haworth
Thanks Mark.  Looks like some of my messages have a copy sent to the old
email list for some reason.  I'll check round my gmail config to see what
might be causing that.
Pete
lcSQL Software http://www.lcsql.com



On Sun, Sep 30, 2012 at 4:42 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Pete,

 I must have missed your reply, the first time. Here's a screenshot of the
 headers: http://qery.us/2l3 I just noticed that this doesn't happen with
 every e-mail from you, but it happens very regularly and only with e-mails
 from you.

 --
 Best regards,

 Mark Schonewille

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

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



 On 1 okt 2012, at 01:29, Peter Haworth wrote:

  Hi Mark,
  I replied before too :-)  As far as I know, I don't send to both
 addresses,
  I simply reply to the posts or send new ones to
  use-livecode@lists.runrev.com.
 
  Maybe there's something weird in my gMail account  - is anyone else
 getting
  my messages twice?
 
  Pete
  lcSQL Software http://www.lcsql.com
 
 
 


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

___
use-livecode mailing list
use-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: Bug or just something you can't do ?

2012-09-30 Thread Peter Haworth
Nah, I would've added an extra one :-)
Pete
lcSQL Software http://www.lcsql.com



On Sun, Sep 30, 2012 at 4:54 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Somehow, a bracket went missing (Pete...? ;) )
___
use-livecode mailing list
use-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: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Dr. Hawkins
On Sun, Sep 30, 2012 at 12:48 PM, Klaus on-rev kl...@major.on-rev.com wrote:

 This works on the Mac:
 specialfolderpath(asup) - ~/Library/Application Support

However, running as a user, when trying to create a directory within
it, can't create that directory

Is there a way to trigger the password request to do this?  And then
to set the universal or group write access?

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

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


Re: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Andre Garzia
Folks,

Haven't you seen my email above?

If running as a non-admin user you need to use:

put ~  specialfolderpath(asup) into tPath.

The return value from specialFolderPath(asup) is the system wide support
folder which the normal user can't write to. You need the user folder which
you will get by prepending a tilde.

On Sun, Sep 30, 2012 at 9:15 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Sun, Sep 30, 2012 at 12:48 PM, Klaus on-rev kl...@major.on-rev.com
 wrote:
 
  This works on the Mac:
  specialfolderpath(asup) - ~/Library/Application Support

 However, running as a user, when trying to create a directory within
 it, can't create that directory

 Is there a way to trigger the password request to do this?  And then
 to set the universal or group write access?

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

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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Would anyone mind..

2012-09-30 Thread Mike Bonner
Would anyone mind checking over a stack for me?  I've come to the
conclusion that I just don't have the energy for a real project (plus with
my design skills its pretty much out of my reach) but I do think there are
some  useful aspects to the thing as it sits right now.  Unfortunately my
other efforts to extend it have.. er.. How to put this politely.  Ok
they've sucked.

As it sits, the stack will track the mainstacks that are open, filtered
based on a list of filters in a field. (to eliminate untitled mainstacks
and rev stacks from the list) The list should auto update when changes are
made (thanks to pete, thanks pete!)
It also maintains a list of all stacks currently backed up. The backups are
stored in an array in a property of the stack.

What its good for:
Want to take a snapshot of a mainstack and all of its substacks that are in
memory? (They don't have to be saved, and even if they are, the version is
memory is what will be backed up) select from the list and click backup.
 The stacks are added to the array of backed up stacks, and the plugin
stack saves itself.

If you took a snapshot of a stack hierarchy and then manage to break the
stack you're working on, you can then recover the snapshot and look at the
code of the recovered copy along side the main working stack. If a stack is
with an identical name is already in memory the recovered stacks are named
copy of thestackname so there is no worry about the that stack is
already in memory message.

Want to revert to the snapshot? Just close the stacks you wish to dump,
then either rename the copy of.. or close the misnamed stacks and then
recover them again. They'll pop back out with the correct name as long as a
stack name is not already in use. If the destroystack property is not set
for your stacks this means forcibly removing them from memory.

Thats about it.  Why am I blabbing all this here? Because someone (with a
better grasp of design and structure for this sort of thing, AKA not me)
could easily convert the method in to a cvs.  The sheer speed at which a
stack and its substacks can be grabbed this way is amazing, So, anyone and
everyone is welcome to look it over, incorporate any pieces and/or parts
into different projects, mangle it, whatever.

The current version of the stack can be found at
https://dl.dropbox.com/u/11957935/mdbRevisionPlugin.livecode The automagic
stack updates won't work unless the stack script is inserted into front.
The scripts are documented, and there is a test stack saved as a backup
in a property of the stack. the test stack has a field with another short
description of how things work.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] What does Richmond do with Livecode?

2012-09-30 Thread Jeff Reynolds
Jacquiline,

so glad to hear you are one of the unsocial out there, makes me feel in good 
company!

jeff



On Sep 30, 2012, at 6:14 PM, use-livecode-requ...@lists.runrev.com wrote:

 Those of us who do not want to be involved with Facebook for any reason 
 will never know what he did.

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

2012-09-30 Thread J. Landman Gay

On 9/30/12 6:29 PM, Peter Haworth wrote:


Maybe there's something weird in my gMail account  - is anyone else getting
my messages twice?


Yes, some of them, but not all. The one Mark just referred to came to me 
twice. On the other hand, the one I'm replying to now only came in once.


--
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: answer folder ignores ~/Library

2012-09-30 Thread J. Landman Gay

On 9/30/12 6:32 PM, Dr. Hawkins wrote:

As I'm playing with preferences, and letting the user specify some
things, I've noticed that ~/Library does not appear among the choices
of ~ in the dialog box.

The dictionary says nothing about this.

Is this behavior correct?


In OS X Lion and above, Apple has decided that mere mortals should not 
access the Library folder(s) and has hidden them away. They no longer 
appear in the Finder sidebar or menus. You need to know secret commands 
and actions to show the Library folders.


In Snow Leopard and below, your users will be able to see ~/Library in 
both Finder and standard file dialogs.


--
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: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Dr. Hawkins
On Sun, Sep 30, 2012 at 5:19 PM, Andre Garzia an...@andregarzia.com wrote:
 Haven't you seen my email above?

Yes, but . . .

 If running as a non-admin user you need to use:

 put ~  specialfolderpath(asup) into tPath.

But this puts it in ~.

I'm after getting the system to request an admin password and put it
in the central location.

Assistants entering data is quite common, and having the assistant and
the attorney using the same settings is kind of important . . . .


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

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


Re: [OT] What does Richmond do with Livecode?

2012-09-30 Thread J. Landman Gay

On 9/30/12 8:57 PM, Jeff Reynolds wrote:

Jacquiline,

so glad to hear you are one of the unsocial out there, makes me feel in good 
company!


Hey, we could start an online club...

:)



jeff



On Sep 30, 2012, at 6:14 PM, use-livecode-requ...@lists.runrev.com wrote:


Those of us who do not want to be involved with Facebook for any reason
will never know what he did.


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




--
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: [OT] What does Richmond do with Livecode?

2012-09-30 Thread Mike Bonner
Would need to rent an octagonal room so that more than 4 people could
locate corners to stand in.

On Sun, Sep 30, 2012 at 8:43 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 On 9/30/12 8:57 PM, Jeff Reynolds wrote:

 Jacquiline,

 so glad to hear you are one of the unsocial out there, makes me feel in
 good company!


 Hey, we could start an online club...

 :)


 jeff



 On Sep 30, 2012, at 6:14 PM, 
 use-livecode-request@lists.**runrev.comuse-livecode-requ...@lists.runrev.comwrote:

  Those of us who do not want to be involved with Facebook for any reason
 will never know what he did.


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



 --
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: [OT] What does Richmond do with Livecode?

2012-09-30 Thread Jerry Jensen
And another corner for me, to face into with a dunce cap on, for actually using 
the damn thing. I support a big piece of recording studio gear from a defunct 
company, and the only support available is there.

On Sep 30, 2012, at 7:50 PM, Mike Bonner wrote:

 Would need to rent an octagonal room so that more than 4 people could
 locate corners to stand in.
 
 On Sun, Sep 30, 2012 at 8:43 PM, J. Landman Gay 
 jac...@hyperactivesw.comwrote:
 
 On 9/30/12 8:57 PM, Jeff Reynolds wrote:
 
 Jacquiline,
 
 so glad to hear you are one of the unsocial out there, makes me feel in
 good company!
 
 
 Hey, we could start an online club...
 
 :)
 
 
 jeff
 
 
 
 On Sep 30, 2012, at 6:14 PM, 
 use-livecode-request@lists.**runrev.comuse-livecode-requ...@lists.runrev.comwrote:
 
 Those of us who do not want to be involved with Facebook for any reason
 will never know what he did.
 
 
 __**_
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 --
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Andre Garzia
If the assistant has its own user on the machine and that user has no
priviledge outside its home folder than you will not be able to write to a
system wide location no matter what you try.

Unless the person on the keyboard has an administrator level access or
password at hand, then you will not be able to write anywhere outside that
persons folder.Your unpriviledged user can't write to /Library or /System,
only the super user can.



On Sun, Sep 30, 2012 at 11:44 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Sun, Sep 30, 2012 at 5:19 PM, Andre Garzia an...@andregarzia.com
 wrote:
  Haven't you seen my email above?

 Yes, but . . .

  If running as a non-admin user you need to use:
 
  put ~  specialfolderpath(asup) into tPath.

 But this puts it in ~.

 I'm after getting the system to request an admin password and put it
 in the central location.

 Assistants entering data is quite common, and having the assistant and
 the attorney using the same settings is kind of important . . . .


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

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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] What does Richmond do with Livecode?

2012-09-30 Thread Roger Guay
I have this idea for people who hate Facebook . . . sort of like an 
anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working on it. 
Any ideas to contribute?

Cheers,
Roger


On Sep 30, 2012, at 7:48 PM, use-livecode-requ...@lists.runrev.com wrote:

 Message: 29
 Date: Sun, 30 Sep 2012 21:43:10 -0500
 From: J. Landman Gay jac...@hyperactivesw.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Re: [OT] What does Richmond do with Livecode?
 Message-ID: 5069033e.8000...@hyperactivesw.com
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 On 9/30/12 8:57 PM, Jeff Reynolds wrote:
 Jacquiline,
 
 so glad to hear you are one of the unsocial out there, makes me feel in good 
 company!
 
 Hey, we could start an online club...
 
 :)
 
 
 jeff
 
 
 
 On Sep 30, 2012, at 6:14 PM, use-livecode-requ...@lists.runrev.com wrote:
 
 Those of us who do not want to be involved with Facebook for any reason
 will never know what he did.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 -- 
 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: Storing location for a preferences file in a standalone stack?

2012-09-30 Thread Warren Samples

On 09/30/2012 10:35 PM, Andre Garzia wrote:

Unless the person on the keyboard has an administrator level access or
password at hand, then you will not be able to write anywhere outside that
persons folder.Your unpriviledged user can't write to /Library or /System,
only the super user can.



Does /Users/Shared still exist? Shouldn't that be usable for shared 
preferences? If this still exists and is useable as in the past, a 
single preferences stack in this location could be used to store 
individual personal preferences for multiple users if users are logging 
into the app, using a conditional, and global prefs if needed.


Warren

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


Re: [OT] What does Richmond do with Livecode?

2012-09-30 Thread J. Landman Gay

On 9/30/12 11:07 PM, Roger Guay wrote:

I have this idea for people who hate Facebook . . . sort of like an
anti-Facebook. I call it ButtBook . . . for the anti-social. I'm
working on it. Any ideas to contribute?


Buy a photo copier?

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