Re: [OT] More Apple Foolishness

2011-07-30 Thread Andy Henshaw
Yes, its sound great!!! I think it would take me slightly more than an hour Andy On 30 Jul 2011, at 01:47, J. Landman Gay wrote: On 7/29/11 7:25 PM, Mark Wieder wrote: Jacque- Friday, July 29, 2011, 1:58:48 PM, you wrote: It works with any server and with Dropbox, and you don't

Re: Where does survive the inventive user ?

2011-07-30 Thread Richard Gaskin
Kay C Lan wrote: I look in my wallet an there are a couple of notes and a couple of plastic cards. The notes represent about 0.01% of iMoney I have in my account. I can use those plastic cards to access the BankCloud and if the strangers at the Bank are willing, the machine will give me more

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Michael Kann
Bruce, Not sure about the path, but there is one other item to consider. If your web page is good_page.irev then the old 3.5 engine will be used, so you aren't going to connect to the stack no matter where it is. Try file: good_page.lc within that page you can use either ?lc put good stuff

Re: Where does survive the inventive user ?

2011-07-30 Thread Peter Brigham MD
On Jul 30, 2011, at 10:42 AM, Richard Gaskin wrote: Kay C Lan wrote: I look in my wallet an there are a couple of notes and a couple of plastic cards. The notes represent about 0.01% of iMoney I have in my account. I can use those plastic cards to access the BankCloud and if the strangers

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Michael Kann
A little mistake in the last post: ?irev  IS WRONG   --- change to ?rev --- On Sat, 7/30/11, Michael Kann mikek...@yahoo.com wrote: From: Michael Kann mikek...@yahoo.com Subject: Re: Path to start using a stack in On-Rev? To: How to use LiveCode use-livecode@lists.runrev.com Date: Saturday,

RE: Where does survive the inventive user ?

2011-07-30 Thread John Dixon
:-) I've always wondered why they're called brokers ... I think if I were in that line of work I'd find another way of describing it. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig

Re: Where does survive the inventive user ?

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 10:42 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Kay C Lan wrote: I look in my wallet an there are a couple of notes and a couple of plastic cards. The notes represent about 0.01% of iMoney I have in my account. I can use those plastic cards to access the

RE: LC Summer Academy

2011-07-30 Thread Mark Smith
The Summer Academy was incredibly useful (and hats off to Elanor for being such a great presenter). A ton of information was presented in the 7 weeks, so much so that I had trouble keeping track of it all and definitely wanted a way to be able to go back and review it later. So I created the

Re: [ANN] LiveCode.tv event #34

2011-07-30 Thread Björnke von Gierke
One hour to go... approximately. Remember that John Caig was so kind to step up as second presenter. see you in chatrev. On 29 Jul 2011, at 14:57, Björnke von Gierke wrote: Tomorrows event will be of reduced scope due to a lack of volunteers. All applicants welcome. I will introduce the

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Bruce Pokras
Mike, thanks very much. Changing the HTML file's extension from .irev to .lc worked. The web page is now displaying the result of the function that is in the stack script of my test stack file. I had not seen anything about the file extension being critical to functionality on On-Rev. However,

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Michael Kann
Bruce, I'm not sure why the on-rev app doesn't approve of .lc yet. There is probably a line in a preferences file somewhere that hasn't been changed yet. Mike --- On Sat, 7/30/11, Bruce Pokras bruc...@comcast.net wrote: From: Bruce Pokras bruc...@comcast.net Subject: Re: Path to start using a

User Interface Question

2011-07-30 Thread Pete
Wondering if anyone has any thoughts on a couple of user interface questions. I'm providing a popup contextual menu when the user right-clicks on a datagrid. I'm also providing the ability to re-order rows in a datagrid by dragging and dropping them. The common thread between these two

Re: User Interface Question

2011-07-30 Thread Jeff Massung
For dragging, I'd go with handles on the left side of the datagrid that have hand icon when you hover over them. They've become pretty ubiquitous on webpages. For an example of what I mean: http://jqueryui.com/demos/sortable/ As for a context menu, you be okay with just a tool-tip. People

Re: User Interface Question

2011-07-30 Thread Pete
Thanks Jeff. I'm trying to implement the cursor change and running into some weirdness. In the script of the datagrid, I have these two handlers: *on* mouseEnter *lock* cursor *set* the cursor to hand *end* mouseEnter *on* mouseLeave *unlock* cursor *end* mouseLeave This

Re: User Interface Question

2011-07-30 Thread William de Smet
Hi Pete, After unlock you have to set the cursor to arrow, Greetings, William - Verstuurd vanaf mijn iPhone! Op 30 jul. 2011 om 21:58 heeft Pete p...@mollysrevenge.com het volgende geschreven: Thanks Jeff. I'm trying to implement the cursor change and running into some weirdness.

Re: User Interface Question

2011-07-30 Thread Pete
I tried that - didn't make any difference. The cursor returns to arrow automatically with the code I have, except when I move the mouse above the datagrid. Pete Molly's Revenge http://www.mollysrevenge.com On Sat, Jul 30, 2011 at 1:05 PM, William de Smet williamdes...@gmail.comwrote: Hi

Re: User Interface Question

2011-07-30 Thread Mark Schonewille
Hi Pete, Never offer a popup menu as the only way to access a feature. Put your popup menu into the menubar and enable the menu items in those situations when the user might as well click on the objects to show the popup menu. Show the same menu, or the essential menu items of it, in the

Re: User Interface Question

2011-07-30 Thread Pete
Hi Mark, Yes, that sound like good advice. In fact, I just read the Apple HIG about contextual menus and they recommend the same approach, except they recommend the use of the standard Apple Action menu rather than a menubar entry. Pete Molly's Revenge http://www.mollysrevenge.com On Sat,

[ANN] Data Grid Helper 1.3.5 Update

2011-07-30 Thread zryip theSlug
Dear LC and DGH users, A new update for DGH is available. This new version has the following fix and changes: Fix: After opening the behaviors or the columns topics, some others properties values could appear locked and with an inappropriated tooltip. Changes: 1. All the DGH's substacks are

using stacks with on-rev

2011-07-30 Thread Martin Koob
Now that on-rev's engine is upgraded to 4.6.3 I thought I would try the 'start using stack' command. I created a simple stack with a couple of functions in it and I uploaded to the directory where my index.irev page is. I put the following command in my index.irev file start using stack

Re: Getting someone's age from dob and current year

2011-07-30 Thread Admin
Hello all, I need to figure out someone's age. I have their date of birth and I have today's date. How do I get the end result. My math skills SUCK. Here's my code (loaded in from the database with a SELECT statement): put item 7 of myLine into dobMonth put item 8 of myLine into dobDay

Re: carrying a global variable from stack to sub stack

2011-07-30 Thread Admin
Hello all, How do you carry a global variable from one stack to a substack? I have this set of commands on every page of every stack in my project: on opencard --Create a global variable for the db global dbID global curUserID global UN put numtochar(39) into SQ I then proceed to

RE: carrying a global variable from stack to sub stack

2011-07-30 Thread Slava Paperno
How do you carry a global variable from one stack to a substack? If you set a global variable in the main stack: on preOpenStack global gMyName put Mike into gMyName end preOpenStack then in any card in any substack you can retrieve the value like so: on openCard global gMyName

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread stephen barncard
I remember there was a setting in the client for that. Look in preferences (the gear icon upper right) sqb On 30 July 2011 11:34, Michael Kann mikek...@yahoo.com wrote: Bruce, I'm not sure why the on-rev app doesn't approve of .lc yet. There is probably a line in a preferences file

Re: using stacks with on-rev

2011-07-30 Thread Michael Kann
Martin, I couple posts after yours stephen barncard put the cherry on top of the Re: Path to start using a stack in On-Rev  thread. Check it out. Good luck. Mike --- On Sat, 7/30/11, Martin Koob mk...@rogers.com wrote: From: Martin Koob mk...@rogers.com Subject: using stacks with on-rev

Re: using stacks with on-rev

2011-07-30 Thread stephen barncard
stacks work, only with some limitations. These have been tested by me: Custom properties work. Create and name stacks works. Reading fields sometimes works. Can't write back to them, and no htmltext. Think of stacks for storage, not layout or graphics. I just tried out Mark Smith's excellent id3

Re: Getting someone's age from dob and current year

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 5:20 PM, Admin wrote: Hello all, I need to figure out someone's age. I have their date of birth and I have today's date. How do I get the end result. My math skills SUCK. Here's my code (loaded in from the database with a SELECT statement): put item 7 of

Re: User Interface Question

2011-07-30 Thread Jeff Massung
I never do mouse cursor changes in controls. I do all of them in the card. on mouseMove px,py if px,py is within the rect of ... then -- cursor A else if px,py is within the rect of ... then -- cursor B else -- put the cursor back to normal end if end mouseMove This makes it

Re: Getting someone's age from dob and current year

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 5:20 PM, Admin wrote: I figured I would subtract this year from the dobyear and get the age - am I right? How would I do this if I am? Mike I gotta start reading the whole message before I reply... If you already have two 4-digit year values in variables, you can

RE: carrying a global variable from stack to sub stack

2011-07-30 Thread Admin
Thank you. The only place I did not have it was in my stack's script with the openstack handler. Duh! Mike On Sat, 30 Jul 2011 17:34:58 -0400, Slava Paperno wrote: How do you carry a global variable from one stack to a substack? If you set a global variable in the main stack:

Re: Getting someone's age from dob and current year

2011-07-30 Thread Admin
Thank you. I am sure that will do it! Mike On Sat, 30 Jul 2011 20:16:44 -0400, Roger Eller wrote: On Sat, Jul 30, 2011 at 5:20 PM, Admin wrote: Hello all, I need to figure out someone's age. I have their date of birth and I have today's date. How do I get the end result. My math

Re: running an exe from a web server

2011-07-30 Thread Admin
Hi all, How to I run a .exe file or a mac executeable from a button - the file of which is on a web server (http://www.campstaffusa.com/newdb/upcc.exe)? I want to run a self-extracting zip file that opens up a live code program to allow the user to upload their picture to the database,

Re: Getting someone's age from dob and current year

2011-07-30 Thread Admin
Hi all - another one: I have a path stored in a MySQL database to an image file. I have a page with a image control I know how to SELECT the imagepath info and bring it into a variable, but how do I then load that image into the image control (with proper proportions)? I tried the

Re: Getting someone's age from dob and current year

2011-07-30 Thread Michael Kann
The following works: put http://fake.com/fake.jpg; into k set the filename of img 1 to k To get the correct dimensions I guess you would have to find the dimensions of the online jpg, then make you img the same dimensions. Just a thought. Mike --- On Sat, 7/30/11, Admin ad...@mfelkerco.com

Re: using stacks with on-rev

2011-07-30 Thread Martin Koob
Thanks Mike and Stephen So the answer is that the file has to have the .lc extension for the 4.6.3 engine to process it. Once I had the correct extension the line start using stack libstackmain.rev worked and I was able to call a function in the stack. That is interesting that .irev files

Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Martin Koob
Yes I found the setting to add lc as an irev type which allows me to edit it in the on-rev client but when I select a file with the .lc extension the 'View online' and 'Debug' buttons are disabled. It seems to treat the file as other plain text files except for the colourization. Is debugging

Re: Getting someone's age from dob and current year

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 8:38 PM, Admin wrote: Hi all - another one: I have a path stored in a MySQL database to an image file. I have a page with a image control I know how to SELECT the imagepath info and bring it into a variable, but how do I then load that image into the image

Re: using stacks with on-rev

2011-07-30 Thread stephen barncard
Those guys in the engine room are pretty darn clever. I wondered how they were going to handle two versions. sqb On 30 July 2011 18:18, Martin Koob mk...@rogers.com wrote: Thanks Mike and Stephen So the answer is that the file has to have the .lc extension for the 4.6.3 engine to process

lack of Mac OS X intuition: system menu

2011-07-30 Thread Slava Paperno
I've been learning LC in Windows, and have now switched to Mac OS X, where everything is just so intuitive and easy... can someone please tell me how to remove my application menu from the system menu bar and restore the LC menu so I can do some work? My intuition fails on this point. I know I've

revBrowser and Unicode on Mac OS X

2011-07-30 Thread Slava Paperno
Short version: revBrowser does not display Unicode characters in Mac OS X (PPC/Tiger and Intel/Snow Leopard). LC 4.6.2 and 4.6.3. Long version: I finished writing and testing my Russian dictionary application in Windows and started testing it in Mac OS X. My first surprise is that revBrowser

Re: Getting someone's age from dob and current year

2011-07-30 Thread Warren Samples
On Saturday, July 30, 2011 07:16:44 PM Roger Eller wrote: convert tToday to seconds convert tBorn to seconds It's been talked about before, but this calls for a reminder: attempting to convert a date prior to Jan 1, 1970 to seconds returns invalid date instead of a number in Windows.

revBrowserCallScript() not working in Mac OS X

2011-07-30 Thread Slava Paperno
My application (LC 4.6.3) does this: revBrowserSet(sBrowserID, htmltext, tMyHTML) tMyHTML is a fully-formed Web page that includes this function: function SetFontSize(FSizeStr) { document.body.style.fontSize = FSizeStr; } A button on the same card as the revBrowser instance does this:

Re: lack of Mac OS X intuition: system menu

2011-07-30 Thread Colin Holgate
What is the Application menu? What things are in the LC menu. On Jul 30, 2011, at 10:54 PM, Slava Paperno wrote: can someone please tell me how to remove my application menu from the system menu bar and restore the LC menu so I can do some work?

RE: lack of Mac OS X intuition: system menu

2011-07-30 Thread Slava Paperno
My stack has a menu bar built with the Menu Builder in the Tools menu. It is essentially a group of buttons use as a menu bar. When I open the stack in the IDE on Mac OS X, that menu replaces the standard LC IDE menu. No matter which mode I am in (Browse or Run), I cannot see the LC IDE menu in