Re: A nasty experience with "the currentcard"

2015-02-20 Thread Phil Davis
Try "current card" instead. go to current card of stack "x" put the customProperties["myData"] of current card of stack "x" into tMyPropsA etc. It works. Phil Davis On 2/20/15 9:36 PM, Geoff Canyon wrote: It seems currentcard is undocumented. I don't even know where I came up wit

Re: A nasty experience with "the currentcard"

2015-02-20 Thread Richard Gaskin
Geoff Canyon wrote: > It seems currentcard is undocumented. I don't even know where I > came up with it. But it works in general: > > put the long id of the currentcard of the topstack > > works fine in the message box. It also works in the script of > a button -- generally. As it turns out,

A nasty experience with "the currentcard"

2015-02-20 Thread Geoff Canyon
It seems currentcard is undocumented. I don't even know where I came up with it. But it works in general: put the long id of the currentcard of the topstack works fine in the message box. It also works in the script of a button -- generally. As it turns out, the above will give an error *if*

Re: Vector export?

2015-02-20 Thread Terry Judd
Hi Graham - I think I’ve had that blank page problem before and the solution was to use ‘print break’ between each card that was printed - even if there was only one card. My print routine for a multi page A4 report goes something like this… set the printPaperSize to 595,842 # A4 size set the prin

Re: MySQL lite password

2015-02-20 Thread Peter Haworth
Hi Andrew, Turns out SQLite added a user authentication extension in 10/2014 that requires a password to access an SQLite database but it's not part of the SQLite library provided with Livecode. It has to be compiled into the source and a compile time flag set to enable it See http://www.sqlite.o

Re: MySQL lite password

2015-02-20 Thread JB
Maybe both but right now I was just going to encrypt the database. Is there a problem with that? The database will only be used with my program therefore compatibility is of no concern to me. John Balgenorth On Feb 20, 2015, at 2:18 PM, Skip Kimpel wrote: > Encrypt the entire database? Or en

Re: MySQL lite password

2015-02-20 Thread Skip Kimpel
Encrypt the entire database? Or encrypt the data inside of the database? > On Feb 20, 2015, at 5:05 PM, JB wrote: > > THANKS FOR THE INFO! > > I can encrypt the DB and use > a password from there. Your > info saves me a lot of time. > > thanks again, > John Balgenorth > > >> On Feb 20, 2015

Re: MySQL lite password

2015-02-20 Thread JB
THANKS FOR THE INFO! I can encrypt the DB and use a password from there. Your info saves me a lot of time. thanks again, John Balgenorth On Feb 20, 2015, at 1:39 PM, Andrew Kluthe wrote: > Unfortunately, for a SQLite file there isn't really any built in > authentication/permissions features.

Re: Because LC can't do two things at once.

2015-02-20 Thread Andrew Kluthe
I've been using many of the parallel features in .NET recently. I've been pretty impressed with how easy it is to get the hang of. https://msdn.microsoft.com/en-us/library/dd460713%28v=vs.110%29.aspx Node.js at its core uses an event loop to provide async (not quite real parallel processing, how

Re: MySQL lite password

2015-02-20 Thread Andrew Kluthe
Unfortunately, for a SQLite file there isn't really any built in authentication/permissions features. With using only live code your only real option is to encrypt the entire file either using built in encrypt/decrypt commands or shell out to something that can. Kind regards, Andrew On Feb 20, 2

Re: opening a stack without changing current stack order?

2015-02-20 Thread J. Landman Gay
On 2/20/2015 10:54 AM, Dr. Hawkins wrote: I've been meaning to reply for some time now. The dictionary says The object must be on the current card of an open stack. and If you specify an object in a group, the value reported is the formattedHeight that object requires for the current card,

MySQL lite password

2015-02-20 Thread JB
What is the proper way to add a password to a MySQL lite database? John Balgenorth ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev

Re: 7.0 Issues

2015-02-20 Thread Robert Brenstein
On 20.02.2015 at 0:09 Uhr + Peter Haworth apparently wrote: Done have any more time to waste on this so back to good old reliable 6.6. Wouldn't it be simpler to just create a separate preferences file for the LC7-based version of the program? It seems that each version works with its ow

Re: Because LC can't do two things at once.

2015-02-20 Thread Peter M. Brigham
Just out of curiosity, how *would* you do this via shell call or the equivalent on a Windows laptop? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Feb 20, 2015, at 11:19 AM, Martin Koob wrote: > Hi Richard > > I noticed in your bug report was for Mac so till th

Re: opening a stack without changing current stack order?

2015-02-20 Thread Dr. Hawkins
On Sat, Jan 10, 2015 at 11:18 AM, J. Landman Gay wrote: > Is the stack in RAM? You can get any property of anything if the stack is > in memory and you provide a full reference: > >get the formattedheight of fld x of cd y of stack z > > It doesn't even have to be the current card of that stac

Re: Because LC can't do two things at once.

2015-02-20 Thread Martin Koob
Hi Richard I noticed in your bug report was for Mac so till that enhancement gets implemented you could use this. function powerStatus put shell ("pmset -g batt") into tPowerStatus put matchtext(tPowerStatus, "'([^']*)",tPowerSource) into tSuccess return tPowerSource end powerStatus Not

Re: Because LC can't do two things at once.

2015-02-20 Thread Dr. Hawkins
On Fri, Feb 20, 2015 at 6:43 AM, Mike Kerner wrote: > So you're mostly focused on desktop development, correct? Primarily, and specifically the generation of pdf forms. I'll add an app version, but it would be for manipulating/viewing the data; in certainly wouldn't be a replacement. I'm also

Re: Because LC can't do two things at once.

2015-02-20 Thread Mike Kerner
So you're mostly focused on desktop development, correct? On Fri, Feb 20, 2015 at 9:31 AM, Dr. Hawkins wrote: > On Thu, Feb 19, 2015 at 7:36 PM, kee nethery wrote: > > > What is PDF/A? > > > > It’s a TLA I’m unfamiliar with. > > > > A PDF variant. http://en.wikipedia.org/?title=PDF/A > > I thi

Re: Because LC can't do two things at once.

2015-02-20 Thread Dr. Hawkins
On Thu, Feb 19, 2015 at 7:36 PM, kee nethery wrote: > What is PDF/A? > > It’s a TLA I’m unfamiliar with. > A PDF variant. http://en.wikipedia.org/?title=PDF/A I think the biggest thing is embedding fonts. This is for court use, so missing fonts or other pieces decades down the road is an issu

Re: Vector export?

2015-02-20 Thread Graham Samuel
I am keen to implement this, but I came up against a couple of little problems: 1. If I try to export a whole window (a card, really), after setting the printPaperSize to the window’s dimensions and printMargins to zero, I get two pages in my PDF, the first one blank. The print statement itself

Re: [ANN] R.I.P. Mac Mini

2015-02-20 Thread Bob Warren
OK, thanks a lot Richmond. Bob -- On 19/02/15 03:31, Richmond wrote: Well; I'll try them on my PPC G5 running both 10.4 and 10.5 as to "Real" Macs (by 'real' I assume to mean 'reasonably comtemporary) I will try them on my 'unreal