Re: Layers, revNavigator, & DataGrids

2011-01-12 Thread Geoff Canyon Rev
Hi Paul -- I, too, have been limping along with a revNavigator that I can't stop using but which has fallen behind the dev environment in a few areas. I should really talk to the developer and convince him to update that thing... I'll try to find some time this weekend to have a look at the layer

Codesign Error

2011-01-12 Thread Marty Knapp
This isn't strictly a LiveCode question but maybe someone here can help . . . I'm trying to use the terminal to codesign an app for the Mac app store and I'm getting an "identity not found" error. I have downloaded and installed the WWDR intermediate certificate into KeyChain, created, downlo

Re: Import Snapshot Broken in 4.5.3?

2011-01-12 Thread Scott Rossi
A bit more on this problem... When I run an "import snapshot..." script from a button placed in a stack, the script works as expected. When I run the script from the message box, LC generates an error. Anybody else see this? LC 4.5.3, OS X 10.6.6, all 3rd party plugins removed. Regards, Scott

Re: Import Snapshot Broken in 4.5.3?

2011-01-12 Thread Marty Knapp
Yes - it fails from the message box here, but works if I put it into a button script. Marty Marty -- if you would, try running the script from the message box. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Marty Knapp wrote: Hey Scott - tried your first script

Re: Import Snapshot Broken in 4.5.3?

2011-01-12 Thread Scott Rossi
Marty -- if you would, try running the script from the message box. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Marty Knapp wrote: > Hey Scott - tried your first script and it works fine for me. (LC 4.5.3 > on OSX 10.6.6) > > Marty Knapp >> Houston, I think we

Dictionary Random Picks - now on RevOnline

2011-01-12 Thread Bob Cole
Thanks to Jacque's suggestions, I was able to construct a stack that lets you display a random page from the Dictionary. I just uploaded it to RevOnline as "Dictionary Random Picks." It is a simple stack but there is always room for improvement. Please let me have your thoughts for any changes.

Re: Vent!

2011-01-12 Thread Jeff Massung
I know it's a vent/rant, and while LC is completely awesome in -many- I have to completely agree with this... I don't know how many times I've been bitten switching to the pointer tool and think I'm typing something in a field only to change the name of the stack w/o realizing it and cause myself 1

Re: Layers, revNavigator, & DataGrids

2011-01-12 Thread Peter Brigham MD
On Jan 12, 2011, at 2:43 PM, Tereza Snyder wrote: On Jan 12, 2011, at 1:20 PM, Paul Looney wrote: So, two questions: 1. Can you recommend something for layering objects in LC 4.5.1 and later? Chipp’s AltLayerTools does it for me! Is this still available? I can't find it on the Altuit web

Vent!

2011-01-12 Thread Roger Guay
Hi Folks, The most annoying thing I experience with LiveCode is when stack properties get inadvertently changed after switching from the Pointer tool to the Browse tool and vice versa, whilst the Property Inspector is open. Can anyone suggest a way around this without locking or manually closin

Re: Import Snapshot Broken in 4.5.3?

2011-01-12 Thread Marty Knapp
Hey Scott - tried your first script and it works fine for me. (LC 4.5.3 on OSX 10.6.6) Marty Knapp Houston, I think we have a problem. This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: import snapshot from rect (rect of the selobj) of the selobj Message execution error:

Import Snapshot Broken in 4.5.3?

2011-01-12 Thread Scott Rossi
Houston, I think we have a problem. This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: import snapshot from rect (rect of the selobj) of the selobj Message execution error: Error description: value: error executing expression Hint: import snapshot from rect (rect of the selob

Re: Some thoughts on duck typing

2011-01-12 Thread Alejandro Tejada
Hi David, Recently, in other messages, you mentioned saving stacks as xml and using "git", the distributed revision control system. Now, this thread is about data type checking. Are you developing stacks as xml text files and using Livecode scripts to convert them in binary stacks? Alejandro --

Re: Accessing 'ntext' fields from SQL Server over ODBC (Windows)

2011-01-12 Thread G. Wolfgang Gaich
Hi Ben, try to convert nstring to varchar in your sql query: select convert(varchar, yourNStringColumn) from table ... HTH Wolfgang Am 12.01.2011 13:51, schrieb Ben Rubinstein: We've got a problem with reading data from an 'ntext' column in a MS SQL Server database. This has arisen in a

Re: Some thoughts on duck typing

2011-01-12 Thread Peter W A Wood
On 13 Jan 2011, at 01:55, Jeff Massung wrote: > - Next, determine text vs. binary. This is usually done by just grabbing the > first N (where N is ~1000) bytes and look for any that are < 10 or > 127. If > you find any, it's binary - or unicode. This is only true if the text is 7-bit encoded whi

Re: Layers, revNavigator, & DataGrids

2011-01-12 Thread Klaus on-rev
Hi Bob, Am 12.01.2011 um 21:03 schrieb Bob Sneidar: > Are we sure that Trevor is not a super intelligent albeit benevolent alien > species sent here to hasten mankind's progress to interstellar status? No! :-D > Or maybe they were sent here to make us mind-fat so they could feed off our > bra

Re: Layers, revNavigator, & DataGrids

2011-01-12 Thread zryip theSlug
On Wed, Jan 12, 2011 at 8:20 PM, Paul Looney wrote: Paul, > Having adjusted the object layers in an older version of Rev, the DataGrids > will not work on the stack when it is reopened in LC 4.0 or 4.5.1. All of > the grid objects are there but they have no "intelligence": Behave like the datag

Re: Layers, revNavigator, & DataGrids

2011-01-12 Thread Bob Sneidar
Are we sure that Trevor is not a super intelligent albeit benevolent alien species sent here to hasten mankind's progress to interstellar status? Or maybe they were sent here to make us mind-fat so they could feed off our brain energy. Bob > Trevor knows all. > > > t > > -- > Tereza Snyd

Re: Layers, revNavigator, & DataGrids

2011-01-12 Thread Tereza Snyder
On Jan 12, 2011, at 1:20 PM, Paul Looney wrote: > So, two questions: > 1. Can you recommend something for layering objects in LC 4.5.1 and later? Chipp’s AltLayerTools does it for me! > 2. Is there a way to fix the broken datagrid described above? Trevor knows all. t -- Tereza Snyder Calif

Layers, revNavigator, & DataGrids

2011-01-12 Thread Paul Looney
Fellow Programmers, For many years I've used the revNavigator plugin to layer objects - to move objects to any layer, into and out of groups, from one group to another, etc. Somewhere around Rev 3.5 the revNavigator broke. Dragging objects in the list would only put bookmarks at the top of

Re: Some thoughts on duck typing

2011-01-12 Thread David Bovill
On 12 January 2011 14:37, Richard Gaskin wrote: > If such metadata are needed for the variables, what would be the downside > of using an array? That way you could store/access the type metadata > quickly: > > put tData into gMyDucksA["label"]["data"] > put "rtfText" into gMyDucksA["label"]["t

Re: Some thoughts on duck typing

2011-01-12 Thread David Bovill
It does Jeff - thanks lots of detail there to translate into good 'ol code :) On 12 January 2011 17:55, Jeff Massung wrote: > On Wed, Jan 12, 2011 at 4:37 AM, David Bovill >wrote: > > > If it quacks like a duck it is a duck. > > > > So I have some data in a variable that I want to display. I ca

Re: Some thoughts on duck typing

2011-01-12 Thread Jerry J
On Jan 12, 2011, at 4:26 AM, Andre Garzia wrote: > I do extreme duck typing, which is: "Can I make it quack?", so what I do is > try exclusive > operations on the variable, if the operation succeeds, then it is a duck. "Quack, damn you!" --Jamie Hyneman, Mythbuster __

Re: Somewhat OT: Revolutionaries, Scotland and Texas

2011-01-12 Thread David Bovill
On 12 January 2011 15:24, Peter Brigham MD wrote: > On Jan 11, 2011, at 6:50 AM, David Bovill wrote: > > ... "penal policy", has nothing whatsoever to do with the "male member". >> The Latin routes are quite distinct with penal deriving from from the >> "poenalis" - that is pertaining to punish

Re: Some thoughts on duck typing

2011-01-12 Thread Jeff Massung
On Wed, Jan 12, 2011 at 4:37 AM, David Bovill wrote: > If it quacks like a duck it is a duck. > > So I have some data in a variable that I want to display. I can use is an > array/number/date - but for other types of data I'm wandering... xml should > be easy, but harder would be to distinguish lo

Re: Update screen during lengthy process

2011-01-12 Thread tkuyp...@telenet.be
Thanks all... I was getting desperate, but I think Richard's way will work... Will give it a try later this evening :-) But also Scott's solution, using a second app has some possibilities. Will take a look at that one, when the "Richard-trick" doesn't work! Met vriendelijke groeten, Ton Kuyper

Re: [OT] time to change your iTunes password?

2011-01-12 Thread Richmond
Lois, Le Corps Politique, et Fromage . . . :) C'est un fable ancien, mes vieux. On 01/12/2011 07:08 PM, Bob Sneidar wrote: Not ticket, no laundry. Bob On Jan 11, 2011, at 6:14 PM, Mark Wieder wrote: Heather- Tuesday, January 11, 2011, 11:44:36 AM, you wrote: You know the rules, no poli

Re: Some thoughts on duck typing

2011-01-12 Thread Bob Sneidar
That's what all the dead duck thought just before that "big bang". Bob On Jan 12, 2011, at 3:37 AM, David Bovill wrote: > If it quacks like a duck it is a duck. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: [OT] time to change your iTunes password?

2011-01-12 Thread Bob Sneidar
Not ticket, no laundry. Bob On Jan 11, 2011, at 6:14 PM, Mark Wieder wrote: > Heather- > > Tuesday, January 11, 2011, 11:44:36 AM, you wrote: > >> You know the rules, no politics, no cheese! > > No shirt, no service > > -- > -Mark Wieder > mwie...@ahsoftware.net > > > ___

Re: Update screen during lengthy process

2011-01-12 Thread Thierry
Le 12 janv. 2011 à 14:52, Richard Gaskin a écrit : > So I needed both a way to indicate progress, and a way to cancel the task, > just as you do. Hi Richard, I had the same problem with one of my external written in C. and that's exactly what I've done. ( different context, but same solution )

Re: Somewhat OT: Revolutionaries, Scotland and Texas

2011-01-12 Thread Peter Brigham MD
On Jan 11, 2011, at 6:50 AM, David Bovill wrote: ... "penal policy", has nothing whatsoever to do with the "male member". The Latin routes are quite distinct with penal deriving from from the "poenalis" - that is pertaining to punishment, and not "penis" (the male member or "tail") "poen

Re: Accessing 'ntext' fields from SQL Server over ODBC (Windows)

2011-01-12 Thread Ben Rubinstein
Hi Andre, Tried it, no success. Thanks, Ben On 12/01/2011 13:55, Andre Garzia wrote: Ben, have you tried the select with the substring? andre On Wed, Jan 12, 2011 at 11:41 AM, Ben Rubinstein wrote: Thanks Andre. However, the size of these fields is not that great - probably less than 1K

Re: Some thoughts on duck typing

2011-01-12 Thread Richard Gaskin
David Bovill wrote: If it quacks like a duck it is a duck. So I have some data in a variable that I want to display. I can use is an array/number/date - but for other types of data I'm wandering... xml should be easy, but harder would be to distinguish long text files from binary. Any ideas for

Re: Some thoughts on duck typing

2011-01-12 Thread David Bovill
Ducks - are my big thing this year. I think they are going to be big. On 12 January 2011 13:07, Andre Garzia wrote: > On Wed, Jan 12, 2011 at 10:57 AM, william humphrey < > b...@bluewatermaritime.com> wrote: > > > Except that "extreme duck typing" sounds like something you would need to > > dres

Re: Update screen during lengthy process

2011-01-12 Thread Andre Garzia
Richard, I like that! :-D > > My WebMerge product has a similar challenge: for most folks it runs in just > a few seconds, but it's sometimes used to process very large collections of > product lists (300,000 or more) which can take a few minutes. > > So I needed both a way to indicate progress,

Re: Accessing 'ntext' fields from SQL Server over ODBC (Windows)

2011-01-12 Thread Andre Garzia
Ben, have you tried the select with the substring? andre On Wed, Jan 12, 2011 at 11:41 AM, Ben Rubinstein wrote: > Thanks Andre.  However, the size of these fields is not that great - > probably less than 1K - and in our test database it's just a few bytes. > > Has anyone else experience with a

Re: Update screen during lengthy process

2011-01-12 Thread Richard Gaskin
tkuypers wrote: > I've created a hot-folder based app, that executes a few scripts when > a file if dropped into a specific folder. > But these scripts can take up to 4 minutes to end and during that > period LiveCode is locked. > > I'm using a send command to watch the folder every few seconds,

Re: Accessing 'ntext' fields from SQL Server over ODBC (Windows)

2011-01-12 Thread Ben Rubinstein
Thanks Andre. However, the size of these fields is not that great - probably less than 1K - and in our test database it's just a few bytes. Has anyone else experience with accessing ntext fields from SQL Server over ODBC - using Rev/LiveCode or anything else? TIA, Ben On 12/01/2011 13:17,

Re: sqLite in iOS??

2011-01-12 Thread Andre Garzia
On Tue, Jan 11, 2011 at 10:52 PM, James Hale wrote: > Hi Guys, > > A question for the iOS developers. > > Does iOS have sqLite available? > > In other words, if I have a desktop rev project that uses sqLite, will it > port over to iOS? > James, Right now the pre-release version of iOS deploymen

Re: Update screen during lengthy process

2011-01-12 Thread Andre Garzia
On Wed, Jan 12, 2011 at 7:22 AM, Scott Rossi wrote: > In addition to the other suggestions, another option is to hand off the > AppleScript launch to a separate LiveCode application.  This way your > hot-folder app remains independent of the launch app that gets locked up by > the AppleScript proc

Re: Accessing 'ntext' fields from SQL Server over ODBC (Windows)

2011-01-12 Thread Andre Garzia
Ben, I have no clue whatsoever what ntext fields are but you could try a combination of the following stuff: You can try executing this Transact-SQL piece on a query to the server: SET TEXTSIZE 64512 This will change the amount of text returned by a SELECT into a ntext or nvarchar field. If yo

Re: What does the DragData contain?

2011-01-12 Thread André Bisseret
Le 11 janv. 2011 à 18:21, Bob Sneidar a écrit : > Thanks Mark that clears a lot of things up. I found that by getting the short > name of the source and destination, I can tell what column in each I am > dragging from and to. > > One thing that would have been nice would have been to get a si

Re: Some thoughts on duck typing

2011-01-12 Thread Andre Garzia
On Wed, Jan 12, 2011 at 10:57 AM, william humphrey < b...@bluewatermaritime.com> wrote: > Except that "extreme duck typing" sounds like something you would need to > dress in camouflage clothing first and maybe build a blind. > camouflage is useless in extreme duck typing, it may not look like a

Re: Some thoughts on duck typing

2011-01-12 Thread william humphrey
Except that "extreme duck typing" sounds like something you would need to dress in camouflage clothing first and maybe build a blind. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage yo

Accessing 'ntext' fields from SQL Server over ODBC (Windows)

2011-01-12 Thread Ben Rubinstein
We've got a problem with reading data from an 'ntext' column in a MS SQL Server database. This has arisen in a client environment where they recently upgraded a third-party package. They use an app we wrote in Rev/LC which retrieves data from the backend database of this package; one of the f

Re: Some thoughts on duck typing

2011-01-12 Thread Andre Garzia
David, Be aware that this type inference will cost you cpu and degrade performance if used constantly in the code like thousand steps in a loop. If it is a variable which you control all the lifecycle, then you could attach metadata to it and thus be able to create a little type system which I thi

Some thoughts on duck typing

2011-01-12 Thread David Bovill
If it quacks like a duck it is a duck. So I have some data in a variable that I want to display. I can use is an array/number/date - but for other types of data I'm wandering... xml should be easy, but harder would be to distinguish long text files from binary. Any ideas for hacks to distinguish:

Re: Easy way to create Win .ico on Mac?

2011-01-12 Thread Richmond
GIMP http://www.gimp.org/ is FREE, totally cross-platform, and can export Windows Icons files. On 01/12/2011 12:00 PM, William de Smet wrote: Hi there, I use FastIcns (great!) to create Mac icons but for Win I start Windows and use IcoFX (free). Now I am looking for an easy way to create a Wi

Re: Easy way to create Win .ico on Mac?

2011-01-12 Thread Pierre Sahores
Graphic Converter is able to save images as ".ico" Best, P. Le 12 janv. 2011 à 11:00, William de Smet a écrit : > Hi there, > > I use FastIcns (great!) to create Mac icons but for Win I start > Windows and use IcoFX (free). > Now I am looking for an easy way to create a Win .ico files on a Mac

Easy way to create Win .ico on Mac?

2011-01-12 Thread William de Smet
Hi there, I use FastIcns (great!) to create Mac icons but for Win I start Windows and use IcoFX (free). Now I am looking for an easy way to create a Win .ico files on a Mac. Anyone now a free Mac app that creates LC compatibel .ico files? greetings, William

Re: Update screen during lengthy process

2011-01-12 Thread Scott Rossi
In addition to the other suggestions, another option is to hand off the AppleScript launch to a separate LiveCode application. This way your hot-folder app remains independent of the launch app that gets locked up by the AppleScript process. Depending on what tasks are being completed, you may no

Re: Update screen during lengthy process

2011-01-12 Thread Phil Davis
You might look at either (1) breaking your long process into a series of smaller handlers executed one after the other by "send to me in 6 ticks" at the end of each one; or (2) put some "wait 6 ticks with messages" statements at various places in your long handler. I usually do (1) instead of