Using the GetDataOfLine function out of the message path?

2011-12-07 Thread Keith (Gulf Breeze Ortho Lab)
Hi All, The LiveCode_Data_Grid.pdf manual states: “You need to keep in mind that GetDataOfLine (and GetDataOfIndex) is a function defined for a Data Grid. That means that the Data Grid group MUST be in the message path. If the Data Grid group is not in the message path you would need to use t

Re: LiveCodeServer: redirecting with 'put header'

2011-12-07 Thread Jim Ault
This is a version of the 'get' command that I use it requires less characters does not require a function call it is easier to read for me Note: in HTML the single and double quotes work the same way, and space runs count as only one space. get " rrr" & \ " rrr rrr" & \

Re: Creating an Undo palette

2011-12-07 Thread Alejandro Tejada
Hi dunbarx, The Undo palette should, in theory, record all the changes made by user in the properties of a control, from the most recent change to the very beginning of his creation. Many Thanks for your interest! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.c

Re: LiveCodeServer: redirecting with 'put header'

2011-12-07 Thread Pierre Sahores
Hi, get "" & return & \ "" & return & "http://www.w3.org/1999/xhtml";) & ">" & return & \ "" & return & "" & return & \ "http://www.exemple.com/";) && "/>" & return & \ "widestep" & return & "" & return & \ "" & return & " " put it OK wi

Re: Datagrid - GetDataForLine

2011-12-07 Thread Pete
Hi Marty, I believe pline is sent along with GetDataForLine and is the line number that the datagrid is requesting information for. So assuming that the data in your custom property is in the same line sequence as the datagrid you would just use line pline of your custom property to populate the p

Re: Datagrid - GetDataForLine

2011-12-07 Thread Marty Knapp
Hi all, Just got back to this after being away for a few days (celebrating my anniversary! For some weird reason "GetDataForLine" just wasn't on my mind . . .) And thanks to everyone who has chipped in on this. So how is pLine derived when using GetDataForLine? Do I supply that or does the da

Re: Confirming an FTP Upload

2011-12-07 Thread Gregory Lypny
Hi Stephen, Thanks for the tip. I was aware that LiveCode does not do SFTP. I had to get my Mac to start running regular FTP to work with it. I am using a separate account. Regards, Gregory On Wed, Dec 7, 2011, at 8:50 AM, use-livecode-requ...@lists.runrev.com wrote: > You should know th

LiveCodeServer: redirecting with 'put header'

2011-12-07 Thread Matthias Rebbe
Hi, i am trying to redirect to another URL with http://www.google.com"; into tURL put header "Status: 301" put header "Location:" && tURL ?> I tried it with 'put new header' also. I always get an Internal Server error. Does anyone know, how i can redirect with 'put header'?

Re: connecting to MySQL database thru SSH tunnel

2011-12-07 Thread Bob Sneidar
Help says: Syntax: revOpenDatabase("mysql",host[:port], databaseName, [userName],[password],[useSSL], [socket], [timeout], [autoReconnect]) Notice the new useSSL argument? All you have to do now is determine if the host accepts SSL connections, and if so, on what port. I am not

connecting to MySQL database thru SSH tunnel

2011-12-07 Thread Sieg Lindstrom
I have an app for managing data in a MySQL database on a remote server. It¹s worked fine for years but now I would like to route the connection thru an SSH tunnel. It uses a port number other than 3306 (PortNumberHere in the function example below). So I¹ve changed the relevant function from this..

Re: Creating an Undo palette

2011-12-07 Thread dunbarx
More than what the "undo" menuItem in the "edit" menu does? Is this undo mainly for typing in fields? Or for restoring other properties of objects (loc works with the native "undo")? Or (gulp) for undoing the actions of scripts? Craig Newman -Original Message- From: Alejandro Tejad

Creating an Undo palette

2011-12-07 Thread Alejandro Tejada
Hi All, I am trying to create an Undo function for one of my stacks. Not sucessful at all. Everything seems so simple, but it failed everytime. The model that I am using for this task is the "History palette" used in Photoshop: http://livedocs.adobe.com/en_US/Photoshop/10.0/help.html?content=WSf

Re: Mobile devices and barcodes

2011-12-07 Thread stephen barncard
The code you want would be like a OCR application, and would require a bit of special processing to work. Hi contrast, sharpening, THEN the character recognition, which should work at different angles. My point is this is not trivial code. After I made these statements, I did a web search

Re: Are iOS push notifications needed for this use case?

2011-12-07 Thread Keith Clarke
I've raised the question on the dev list but my experience there over the last year suggests that the logic RunRev applies is something like... If 'when' is among the words of question, if feature is not among the items in released, set the visible of the question to false and exit to top ...an

[TIP] Multiple screen management

2011-12-07 Thread FlexibleLearning
A useful handler when working with multiple monitors... on mouseUp --| Which monitor is this stack on? put activeScreen() end mouseUp function activeScreen --| Return the number of the monitor for the loc of the stack if num of lines of the screenRects = 1 then return 1 put item 1 of th

Re: Are iOS push notifications needed for this use case?

2011-12-07 Thread Thomas McGrath III
I agree, I have been requesting Push Notification since the beginning of LC's transition to mobile. Maybe they will implement something soon. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Dec 7, 2011, at 4:17 AM, Keith Clarke wrote: > ...thanks for the link, Tom. Intere

Re: Preventing multiple instances of a Windows app - still a problem

2011-12-07 Thread Graham Samuel
Just to say that with a bit of work off-list, this issue was nailed for me by Mike Bonner (and thanks also to others who give info and suggestions). Basically in Windows XP Home (and I hope in Windows 7 etc), tskill will kill a task, and qprocess will give a list of running tasks (thanks, Phil D

Re: Answer dialog not showing in Windows 7 ???

2011-12-07 Thread Keith (Gulf Breeze Ortho Lab)
Thanks for the information, Nicolas! Sincerely, Keith "Boo" L. -Original Message- From: Nicolas Cueto Sent: Wednesday, December 07, 2011 4:07 AM To: How to use LiveCode Subject: Re: Answer dialog not showing in Windows 7 ??? Hello Boo (?), In the "General" tab of the "Standalone App

Re: Answer dialog not showing in Windows 7 ???

2011-12-07 Thread Nicolas Cueto
Hello Boo (?), In the "General" tab of the "Standalone Application Settings" for your standalone ("Launcher.exe"), click the radio button "Select inclusions for the standalone application" and then check "Answer Dialog". I think what's happening is that, because there is no "answer" command anywh

Re: Are iOS push notifications needed for this use case?

2011-12-07 Thread Keith Clarke
...thanks for the link, Tom. Interesting concept but I'm not sure if a per-user, service-based model could work for the app I have in mind (it introduces pricing issues for me and security concerns for my target market). Native support for push notifications would be so much easier! :-( Best, Ke

Answer dialog not showing in Windows 7 ???

2011-12-07 Thread Keith (Gulf Breeze Ortho Lab)
Hello All, I am running Windows 7 Home Premium and LiveCode 5.0. I just noticed something and am at a loss... I created two simple stacks; one is a Launcher, and the other is the Main Application. See the following tutorial to see an example: http://lessons.runrev.com/s/lessons/m/4071/l/1737