Re: Standalone version information

2012-01-12 Thread Pete
Been prowling around a bit on this and I see that all those settings are in the plist file in the application bundle. I think I have an Applescript somewhere to pull data out of a plist file so I think I'll go that route. Not sure about WIndows though, presumably that stuff ends up in the registr

Re: SQL Date Formatting

2012-01-12 Thread Kay C Lan
On Fri, Jan 13, 2012 at 1:29 AM, Bob Sneidar wrote: When I need to work with the dates in Livecode, I run the dates through my > conversion functions first. It would just be nice to have an option in the > convert command. No big deal though. > > I appreciate you've already achieved a suitable so

Re: Menu Builder

2012-01-12 Thread Pete
Hi Jacque, Wanted to let you know that the issue of mouseDwon having to be at the group level is documented in the USer Guide so you remembered correctly! I also discovered today that 5.0.2 handles the moving of controls for system menu purposes differently than 4.6.4. Just upgraded to 5.0.2 and

Re: Standalone version information

2012-01-12 Thread J. Landman Gay
On 1/12/12 8:04 PM, Pete wrote: In the standalone settings, there's information about version (short long, Get info, etc). How do I get hold of this in the standalone to display it in the "About" screen? I usually just store the info as my own custom properties. LiveCode stores all the build

Re: Perishable Press

2012-01-12 Thread Pierre Sahores
Useful and perfect to help us to protect our CGI / LC Server apps. I use it since v 4G ;-) > Perishable Press > > 5G Blacklist 2012 > Posted: 11 Jan 2012 12:47 PM PST > The 5G Blacklist helps reduce the number of malicious URL requests that hit > your website. It’s one of many ways to improv

FaceBook lesson and images

2012-01-12 Thread Thomas McGrath III
Has anyone taken the FB lesson on run rev any further. I am not up on using the data grid with images and would love to inspect how that is accomplished. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net ___ use-livecode mail

Re: SQL Date Formatting

2012-01-12 Thread David Glass
It's an ISO standard format designed to be unambiguous. On 01/12/2012 9:34 AM, Bob Sneidar wrote: I think (I will be corrected if I am wrong) that it is a Canadian format. -- David Glass - Gray Matter Computing graymattercomputing.com Help Desk: http://www.graymattercomputing.com/helpdesk 559-

Standalone version information

2012-01-12 Thread Pete
In the standalone settings, there's information about version (short long, Get info, etc). How do I get hold of this in the standalone to display it in the "About" screen? -- Pete Molly's Revenge ___ use-livecode mailing

Re: Standalone Application Menu items

2012-01-12 Thread Bob Sneidar
Not sure you can. The OS may prevent it. Bob On Jan 12, 2012, at 3:36 PM, Pete wrote: > How do I get items other than Preferences into the OS X application menu? > > > -- > Pete > Molly's Revenge > ___ > use-livecod

Standalone Application Menu items

2012-01-12 Thread Pete
How do I get items other than Preferences into the OS X application menu? -- Pete Molly's Revenge ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage you

Re: Menu Builder

2012-01-12 Thread Pete
Thanks Jacque. I did try the short name of the target and it returned the name of the menu bar group, as did the short name of me. After looking at the logic of what I'm trying to do, I think there's another place I can do the adjust the menu contents and drop the whole mouseDown approach. Feels

Re: Using Unix FIFO files

2012-01-12 Thread Pete
Thanks Mike. I think you're right about the blocking aspect of this. I did try using "open file" instead of get and put URL but got the same problem. I was hoping to avoid continually starting and stopping the process each time I need it but I typically only use it a few times in any run of the

Re: Menu Builder

2012-01-12 Thread Bob Sneidar
Ooooh good tip on locking menus! Bob On Jan 12, 2012, at 11:43 AM, J. Landman Gay wrote: > On 1/12/12 1:01 PM, Pete wrote: > >> There's more than one menu I have to dynamically adjust so I need to figure >> out in the group's mouseDown handler which menu was clicked. I tried using >> the sho

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 1:01 PM, Pete wrote: There's more than one menu I have to dynamically adjust so I need to figure out in the group's mouseDown handler which menu was clicked. I tried using the short name of me, the short name of the target, and the mouseControl but none of them tell me which button w

Re: Mac/Windows deployment module for 4.6.4

2012-01-12 Thread Pete
Thanks, not sure how I missed that! On Thu, Jan 12, 2012 at 11:21 AM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > I think there is a pulldown menu for version in your account > > On 12 January 2012 09:45, Pete wrote: > > > When I got 4.6.4 I somehow never upgraded the Mac/Window

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 12:49 PM, Pete wrote: Hi Jacque, The way this app works is that everything happens within the scope of one stack. I have groups that get hidden or shown depending on what function the user selects so I adjust the height of the stack depending on which function/group is active by refer

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 12:40 PM, Peter M. Brigham, MD wrote: I assume this is true if and only if the menubutton is part a a group. On my system menubuttons that are not part of any group receive and respond to mousedowns just fine. The part about grouped buttons being treated differently is a good nugget t

Re: Using Unix FIFO files

2012-01-12 Thread Mike Bonner
Just did a small amount of reading on fifo (new stuff for me) looks like theres a blocking mode and a non-blocking mode. http://linux.die.net/man/7/fifo has a little bit of info on this, no real answer, but I wonder if thats part of the issue. If your process opens them in blocking mode, that migh

Re: Mac/Windows deployment module for 4.6.4

2012-01-12 Thread stephen barncard
I think there is a pulldown menu for version in your account On 12 January 2012 09:45, Pete wrote: > When I got 4.6.4 I somehow never upgraded the Mac/Windows deployment > module. On the STore, everything is now 5.0. IS there some way to get the > 4.6.4 deployment modules ro do I have to upgra

Re: Menu Builder

2012-01-12 Thread Pete
Yes, I believe the distinction is that these buttons are part of the mechanism to put menus in the OS X system menu bar, not regular buttons. Indeed, this is worth filing away. I have also entered a User Comment for the mouseDown event in the dictionary. Pete On Thu, Jan 12, 2012 at 10:40 AM, Pe

Re: Menu Builder

2012-01-12 Thread Pete
Yes, that fixed it, thank you! I searched the obvious places in the dictionary but couldn't find any reference to this, maybe I'll add a user comment to the mouseDown entry. I guess there are still a couple of issues I'll have to deal with. There's more than one menu I have to dynamically adjust

Re: Menu Builder

2012-01-12 Thread Pete
Hi Jacque, The way this app works is that everything happens within the scope of one stack. I have groups that get hidden or shown depending on what function the user selects so I adjust the height of the stack depending on which function/group is active by reference to the bottom of the group tha

Using Unix FIFO files

2012-01-12 Thread Pete
Anyone tried to use FIFO files from within LC? I'd like to use them to communicate with a Unix process from LC but not having any luck I create two fifo files using the Unix mkfifo command. That works fine. The plan is to start the Unix process with the shell command, redirecting it's stdin to on

Re: Menu Builder

2012-01-12 Thread Peter M. Brigham, MD
On Jan 12, 2012, at 1:16 PM, J. Landman Gay wrote: > On 1/12/12 11:33 AM, Pete wrote: >> Hi Peter, >> Yep, it should work, that's what's so frustrating. Even weirder still is >> that if I send a mouseDown message to the File button from the message box, >> everything works just fine, just not whe

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 12:24 AM, Pete wrote: I have one remaining issue to deal with and that has to do with some window resizing I do which now will have to take account of the menu group, probably differently on Windows than on OS X. Fortunately, the code to do the resizing is all in one handler so once

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 11:33 AM, Pete wrote: Hi Peter, Yep, it should work, that's what's so frustrating. Even weirder still is that if I send a mouseDown message to the File button from the message box, everything works just fine, just not when I click on the File menu! I'm pretty sure this is in the

Re: Menu Builder

2012-01-12 Thread Bob Sneidar
Just to check for the ridiculous, is it disabled? Bob On Jan 12, 2012, at 9:33 AM, Pete wrote: > Hi Peter, > Yep, it should work, that's what's so frustrating. Even weirder still is > that if I send a mouseDown message to the File button from the message box, > everything works just fine, just

Mac/Windows deployment module for 4.6.4

2012-01-12 Thread Pete
When I got 4.6.4 I somehow never upgraded the Mac/Windows deployment module. On the STore, everything is now 5.0. IS there some way to get the 4.6.4 deployment modules ro do I have to upgrade evereything to 5.0? -- Pete Molly's Revenge ___

Re: Menu Builder

2012-01-12 Thread Bob Sneidar
That is a great idea! Go, ye empowered of Livecode, and prosper! ;-) Bob On Jan 12, 2012, at 7:56 AM, Geoff Canyon Rev wrote: > One thing that I've often thought would make a lot of sense is to have an > array of starter projects, from "Single window with menubar" to "splash > screen with multi

Re: SQL Date Formatting

2012-01-12 Thread Bob Sneidar
I think (I will be corrected if I am wrong) that it is a Canadian format. I don't think it is a mac specific problem. I went through all the date formats on the Mac OS and found that Canada is the only country listed that formats the dates this way. I also think it makes a lot more sense. Bob

Re: Menu Builder

2012-01-12 Thread Pete
Hi Peter, Yep, it should work, that's what's so frustrating. Even weirder still is that if I send a mouseDown message to the File button from the message box, everything works just fine, just not when I click on the File menu! The ironic thing about all this is that I really don't care if I h

Re: SQL Date Formatting

2012-01-12 Thread Bob Sneidar
On Jan 11, 2012, at 6:53 PM, Pete wrote: > Hi Bob, > I guess it depends on what you mean by "real dates" SQL date fields are > pretty specific as to their format, that's why you give them a type of DATE > or DATETIME. It's just a case of adjusting your SELECT statement to use > the functions th

Re: Date intersection revisited

2012-01-12 Thread Bob Sneidar
Oh cool! Well then of course I would have to conditionally switch the query depending on the type of database I was using. The technique I am employing however precludes that to some degree. I am storing queries in properties using placeholder delimiters. Anything that comes between two percenta

Re: OT Password protection of RR server?

2012-01-12 Thread Jim Hurley
Hi Mike, Thank you so much to taking the time to go into the details. This is an area which I am missing even the rudiments. I have just upgraded Fetch (my ftp client) and that gives me easy access to the directory files and what's in them. For example I did find the .htaccess file. So, you hav

Crop Command

2012-01-12 Thread Michael Doub
Is it true the crop command is not supported in the mobile environment or is there a documentation error. I am hoping for documentation error. ;-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscr

Re: Menu Builder

2012-01-12 Thread Geoff Canyon Rev
One thing that I've often thought would make a lot of sense is to have an array of starter projects, from "Single window with menubar" to "splash screen with multiple document windows" etc. It seems like a small handful of these would save a lot of beginners (and the rest of us!) a lot of time. ___

Re: Menu Builder

2012-01-12 Thread Peter M. Brigham, MD
That approach should work fine -- I just tested it again on my system, and I use this kind of thing all the time to build menus on the fly. Maybe you could post your scripts so we could see what's going on? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jan 12,

Re: SQL Date Formatting

2012-01-12 Thread william humphrey
I have to say something here. I struggled with date formats trying to make them all -MM-DD and you are trying to do something different. I think of the -mm-dd as "real" date. It is easily readable (as seconds aren't) and sorts perfectly. It is not one of the defaults for system date on the