Re: send "mouseUp" & real click

2006-02-17 Thread Dave Cragg
On 17 Feb 2006, at 11:48, sims wrote: At 12:46 PM +0100 2/17/06, Klaus Major wrote: I have an OS X app which uses an external, it collects data and all runs fine. If that computer is set to 'sleep', upon wakeup the external is not collecting that data. If I then physically use the mouse t

Re: send "mouseUp" & real click

2006-02-17 Thread Dave Cragg
On 17 Feb 2006, at 11:36, sims wrote: I have an OS X app which uses an external, it collects data and all runs fine. If that computer is set to 'sleep', upon wakeup the external is not collecting that data. If I then physically use the mouse to click a btn to stop & restart that extern

Re: Speed Bump

2006-02-09 Thread Dave Cragg
On 10 Feb 2006, at 07:06, Scott Rossi wrote: function compareData set1,set2 repeat for each item V in set1 put max(V,item 1 of set2) after tData delete item 1 of set2 end repeat return tData end compareData Here's one way. function compareData set1,set2 split set2 by comma

Re: Setting a tabbed button

2006-02-09 Thread Dave Cragg
On 9 Feb 2006, at 21:17, Dave Cragg wrote: Both of these will act as though the tab had been clicked. If you want to stop that happening, use "lock message" before setting the label/menuHistory. Oops. Should be "lock messages" Dave ___

Re: Setting a tabbed button

2006-02-09 Thread Dave Cragg
On 9 Feb 2006, at 19:12, Dar Scott wrote: I forgot how to set a tabbed button. In my app the first card comes up at the start but the button is in some leftover state. Hi, Dar. We've not seen you for a while. To get the tabbed button to correspond to the initial state, you can do either o

Re: How does a stack know it's been opened from a cgi?

2006-02-08 Thread Dave Cragg
On 8 Feb 2006, at 17:06, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a "normal" stack. What can a stack do to test whether it's being loaded from a

Re: liburl cgi linux

2006-02-08 Thread Dave Cragg
On 7 Feb 2006, at 23:37, Thomas McCarthy wrote: I just did the latter, and I can post from the cgi script on a Linux server. I forgot to ask, how did you test it? The hard way. :-) I checked the Apache error log on the server which gives the line in the CGI script where the error occurr

Re: Write File From Cache Really Slow?

2006-02-08 Thread Dave Cragg
On 8 Feb 2006, at 08:47, Ken Ray wrote: Hi, I'm downloading files via HTTP with 'load URL' and then I'm writing them to disk with "put url... into binfile". Everything works fine, but it takes a really long time to write the data to disk. For example, if I download a 12MB file into the ca

Re: FTP via "put" opens files but fails to write data?

2006-02-08 Thread Dave Cragg
On 8 Feb 2006, at 04:38, Sivakatirswami wrote: This FTP script below frequently fails I get three files on the server with the correct name, but no data is written to them Typically, that's a symptom of a problem with the data source part of the "put". repeat for each item x in

Re: liburl cgi linux

2006-02-07 Thread Dave Cragg
On 7 Feb 2006, at 14:14, Thomas McCarthy wrote: I'm assuming you want to post *from* the cgi (and not to it). Yes In that case, you'll need to have the libUrl library loaded somehow. That's how I got it working before (Unix host, bsd rev engine). Now with a Linux server, it doesn't ap

Re: liburl cgi linux

2006-02-07 Thread Dave Cragg
On 7 Feb 2006, at 04:13, Thomas McCarthy wrote: I'm running rev's Linux engine on my ISP. Is there a problem with the POST command? I'm assuming you want to post *from* the cgi (and not to it). In that case, you'll need to have the libUrl library loaded somehow. From the archives: Create

Re: How to save data from standalone?

2006-02-06 Thread Dave Cragg
On 6 Feb 2006, at 21:54, Marielle Lange wrote: Using pathToUsersDocumentsFolder would therefore be a better approach, but I don't really want to create a file within this folder as the file is in a completely adhoc format that would puzzle anybody who come across it. It's not uncommon t

Re: nested ifs

2006-01-25 Thread Dave Cragg
On 25 Jan 2006, at 18:14, [EMAIL PROTECTED] wrote: if (long statement) then (long response) It's this form I was referring to. To me it lacks clarity and is easily lost amongst the other statements in a handler. I find the notion of one "thing" per line to be clear and simple. But wh

Re: nested ifs

2006-01-25 Thread Dave Cragg
On 25 Jan 2006, at 10:32, Chipp Walters wrote: I like to do the following: if tResult is "Error" then answer "Go Ahead anyway" with "Cancel" or "OK" if it is "Cancel" then exit to top end if Most of the time it compiles, but sometimes the single line if statement in the middle throws an

Re: Use of keyword "https"

2006-01-23 Thread Dave Cragg
On 23 Jan 2006, at 19:17, Timothy Bleiler wrote: Thanks for the reply, I think I have the SSL & Encryption library that comes with Rev. Is there something else I need? --Tim Bleiler You'll need to set the sslCertificates property to a suitable file. Or, if you don't mind not verifying t

Re: revMail, OSX 10.4.4 and Umlaute

2006-01-17 Thread Dave Cragg
On 17 Jan 2006, at 07:21, Dave Cragg wrote: put uniDecode(uniEncode("Hier Ausfüllen"),utf8) into tSubject revmail "[EMAIL PROTECTED]", tSubject,"Text of Mail" Sorry, I repeated the original syntax error. It needs an extra comma. put uniDecode(uniEncod

Re: revMail, OSX 10.4.4 and Umlaute

2006-01-16 Thread Dave Cragg
On 17 Jan 2006, at 06:53, Sarah Reichelt wrote: revmail "[EMAIL PROTECTED]","Hier Ausfüllen","Text of Mail" doesn´t work, but I had a look at the script in the revCommon library and it contains the following lines: put urlEncode(pSubject) into pSubject put urlEncode(pBody) into pBo

Re: More Newby Questions

2006-01-16 Thread Dave Cragg
On 16 Jan 2006, at 23:02, Ben Bock wrote: I have a timed quiz spread across several cards, each card has a "Next Page" button. The quiz starts with a button. To start the quiz, a button has: on mouseUp startTimer go next end mouseUp The card script has: on startTimer send timesUp to

Re: The formatted mouseline?

2006-01-12 Thread Dave Cragg
On 12 Jan 2006, at 16:16, Mark Swindell wrote: I'm looking for the location of the formatted line, or its coordinates relative the field, so that I can place a graphic (an underline or somesuch) under the text of that formatted line. This has to be derived from the mouse position relative

Re: url GET https requests --> "walking" thru certificate issues

2006-01-09 Thread Dave Cragg
On 10 Jan 2006, at 01:59, Sivakatirswami wrote: Does anyone know a way to get libURL to "walk thru" these server responses, just like a user would in a browser? Did you try this? libUrlSetSSLVerification false It won't let you "walk thru", but may let you skip them altogether. Dave __

Re: SSL Certificates on OSX (Dar :)

2006-01-09 Thread Dave Cragg
On 6 Jan 2006, at 14:57, David Bovill wrote: Has anyone used SSL certificates on OSX with Rev? A little. So this is definitely not expert advice. I have created and downloaded a certificate from www.cacert.org but I am not sure if this is what is required. The file is [EMAIL PROTECTED

Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Dave Cragg
On 3 Jan 2006, at 20:38, Chipp Walters wrote: I'm just not a fan of securemode, especially if one is trying to create a real application which runs from the web. I agree with you there. It's limitations are pretty crushing. Your idea is interesting. But I'm not comfortable with the idea o

Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Dave Cragg
On 3 Jan 2006, at 06:57, Richard Gaskin wrote: Andre Garzia wrote: On Jan 3, 2006, at 3:43 AM, Ken Ray wrote: That's so cool, Andre! Nicely done... any idea on how to do it on Windows? ;-) I bet it's a registry hack, might even be easier than Macs... I'll find out and tell you! ;-) the

Re: SQLite Issue

2005-12-27 Thread Dave Cragg
On 27 Dec 2005, at 04:52, Scott Kane wrote: I'm getting the result "It" rather than the value of the field (in the example below the field is called "edName"). --> COLLECT name AND email put "name,email" into tColumnItems repeat for each item I in tColumnItems --ask question "New valu

Re: revOpendatabase: 10061 can't connect error

2005-12-21 Thread Dave Cragg
On 21 Dec 2005, at 04:15, N Cueto wrote: Hello All, Just this morning, I installed mysql (5.0, Win) and then used revOpendatabase to connect. On the machine where mysql is actually running (localhost), RunRev can connect to the database. But from the other networked machines, a "can't co

Re: Getting a URL form a "logged in" site

2005-12-21 Thread Dave Cragg
On 21 Dec 2005, at 02:38, Brian Yennie wrote: Dave & Dennis, Those headers you report are a redirect which probably needs to be followed. What happens if you follow the URL indicated in the "Location" field? That URL seems to indicate from it's name that is has something to do with settin

Re: Getting a URL form a "logged in" site

2005-12-19 Thread Dave Cragg
On 19 Dec 2005, at 20:30, Björnke von Gierke wrote: I am not sure but it seems you want to set a cookie? In that case read the cookie page from netscape: http://wp.netscape.com/newsref/std/cookie_spec.html what you need to do in rev is to get the libURLLastHTTPHeaders() it should contain a l

Re: Sockets

2005-12-12 Thread Dave Cragg
On 13 Dec 2005, at 01:40, Jim Hurley wrote: Like Graham, I too would like to thank Alex and Dave for their detailed discussion of sockets. I tried Dave's small handler and it worked well, but only once. I went into the script to insert a break point so that I could step through it to se

Re: Sockets

2005-12-11 Thread Dave Cragg
This time I'll try to be more helpful. On 11 Dec 2005, at 21:34, Graham Samuel wrote: Sockets, do we need them If you just need to connect to internet URLs, you can use the get URL, load URL, etc, calls, and not have to know anything about sockets. But if you want to do something more fan

Re: Christmas e-cards as learning tools

2005-12-11 Thread Dave Cragg
On 11 Dec 2005, at 19:25, Mark Swindell wrote: Here's a card done with Flash which my wife thought darling. Could it be accomplished in Rev? How close could you get? Easy. Create a Player object and set it's filename to the following: http://ak.jacquielawson.com/cardswf/XS01EN3.swf Or i

Re: Sockets

2005-12-11 Thread Dave Cragg
On 11 Dec 2005, at 16:49, Björnke von Gierke wrote: Of course there is a secret Socket society! But it's easy to join: Our required readings are: Open Socket command Close Socket command Accept command If these don't help you, then you need to ask either on the use list or in chatrev :)

Re: How do i check for an internet connection?

2005-12-11 Thread Dave Cragg
On 11 Dec 2005, at 19:16, Alex Tweedly wrote: Sorry - was I sounding like a broken record ? And a negative one at that :-( Not at all. I really appreciate it. I think many of us are now having to or wanting to deliver things that have to work in various networked settings, and we can ge

Re: How do i check for an internet connection?

2005-12-11 Thread Dave Cragg
On 11 Dec 2005, at 00:50, Alex Tweedly wrote: Jerry Daniels wrote: Kurt, I've been using this one since you posted it and i really like it. VERY fast. Thanks! Just remember - it often gets the wrong answer on some systems (e.g. mine). It believes I am always connected, even though ab

Re: Put something into URL returns no error

2005-12-08 Thread Dave Cragg
On 8 Dec 2005, at 08:29, Alex Tweedly wrote: Dave Cragg wrote: On 8 Dec 2005, at 07:20, Thomas McCarthy wrote: I'm updating a file on the web using a formula like this: put x into url ftp://name:[EMAIL PROTECTED]/folder/the_file.txt It's working great. But when I tried i

Re: Rev performance: help! (solved)

2005-12-08 Thread Dave Cragg
On 7 Dec 2005, at 15:23, Jon Seymour wrote: Thanks again to Dave for insisting that I must have had a libURL call in there somewhere :) Although we solved Jon's immediate problem (wrong url), I think there must have been something else going on to produce the results he originally report

Re: Put something into URL returns no error

2005-12-07 Thread Dave Cragg
On 8 Dec 2005, at 07:20, Thomas McCarthy wrote: I'm updating a file on the web using a formula like this: put x into url ftp://name:[EMAIL PROTECTED]/folder/the_file.txt It's working great. But when I tried it see what would happen if there was no internet connection--hoping there would be

Re: Rev performance: help!

2005-12-06 Thread Dave Cragg
I may have missed part of this thread. On 6 Dec 2005, at 19:57, Judy Perry wrote: I forgot to mention that I'm seeing alot of ulTickleMe's in the message watcher... The ulTickleMe message is sent by liburl. If you are seeing it once a second, that's normal while you have a socket open. T

Re: Rev performance: help! (more info)

2005-12-05 Thread Dave Cragg
On 5 Dec 2005, at 21:03, Jon Seymour wrote: Hi all, I fear I have a "corrupted stack." The program is giving me a "previous request not completed" message and frankly it seems as if it's busy doing something else! The message watcher is not showing anything, though. After a while the pro

Re: OT - MySQL, PHP, and Japanese text

2005-12-01 Thread Dave Cragg
On 30 Nov 2005, at 23:45, N Cueto wrote: Good questions about Japanese and mySQL for which I hoped someone would pipe in with some good answers. In the meantime, here's the little I know. 2) at MySQL admin-level, does Japanese text require a special data type or data setting? It's varcha

Re: Load URL returns error 10049

2005-11-29 Thread Dave Cragg
Hi Dave No answers I'm afraid. Just more questions. On 29 Nov 2005, at 05:02, Dave Beck wrote: I'm afraid they are quite puzzling to me and seem to point towards a bug in the Rev internet lib or the engine itself, but maybe somebody with more experience could chime in on that. That can't

Re: Scope Problem on Standalones

2005-11-28 Thread Dave Cragg
On 28 Nov 2005, at 12:51, David Burgun wrote: Bu according to the documentation, the path returned should be the path to the real application, e.g. MacOSX/myApp.app/Contents/MacOS/Runtime/Stacks/StackA.rev Or perhaps: MacOSX/myApp.app/Contents/MacOS/MyApp (real applicaiton) Have I got th

Re: Messages in setprop...

2005-11-24 Thread Dave Cragg
On 24 Nov 2005, at 22:27, Gilberto Cuba wrote: Hi, I'm working in a "setprop" of the "property set", that is to say, group of property, and detect that I modified or set a value of a property of the same group or "property set", the message dont triggered. How I can do this message occur

Re: Downloading mystery

2005-11-18 Thread Dave Cragg
On 18 Nov 2005, at 01:53, Bruce A. Pokras wrote: Thanks, Dave, for the mauling. It was well deserved. However, I have been trying to get this to work over a period of several weeks. This was not a "try once and cry for help." This has been a long, drawn out bit of frustration. A couple of

Re: Downloading mystery

2005-11-17 Thread Dave Cragg
On 17 Nov 2005, at 01:42, Bruce A. Pokras wrote: I am trying to script the downloading of European patents from the European Patent Office's server. They provide a sample URL to use for that purpose, but instead of the patent, I instantly get a zero size file. I've tried it with and withou

Re: Load URL returns error 10049

2005-11-15 Thread Dave Cragg
On 15 Nov 2005, at 05:59, Dave Beck wrote: Erin, I had the user ping the web site that the script is trying to access through Load URL and the ping returned: Ping statistics for 66.160.133.98 Packets: Sent 4, Received 4, lost 0 Approximate round trip minimum =72ms, maximum 78 ms, averag

Re: frappr map

2005-11-12 Thread Dave Cragg
On 12 Nov 2005, at 16:43, Mark Wieder wrote: Marty- Friday, November 11, 2005, 6:49:14 PM, you wrote: Oddly enough, this is the second time in 24 hours frappr has come to my attention and I've been invited to add myself -- I had never heard of frappr before this. Is it new? (I notice it's

Re: The Disappearing Desktop - It's Real This Time

2005-11-12 Thread Dave Cragg
On 13 Nov 2005, at 00:19, Dan Shafer wrote: From which experience i conclude: (a) AJAX and RIAs are not a panacea (b) $2 billion acconting firms IT shops probably don't embrace new technologies in the first place (having seen *that* up close and personal) (c) Moving information from one We

Re: The Disappearing Desktop - It's Real This Time

2005-11-10 Thread Dave Cragg
On 10 Nov 2005, at 06:36, Mark Wieder wrote: Dan- Wednesday, November 9, 2005, 4:16:42 PM, you wrote: There is no necessary connection between where data is and where the app is. That's just today's temporary model. That may be true, but according to UNESCO's 3 November report on Knowledge

Re: Load URL returns error 10049

2005-11-08 Thread Dave Cragg
On 8 Nov 2005, at 01:52, Dave Beck wrote: Hi, I have a rev standalone that has been distributed to a number of users. The standalone uses the "load URL" command to get a web page from my server. The command works as expected for every user to which I've distributed the stack except f

Re: Dumb question about RunRev Documentation

2005-10-30 Thread Dave Cragg
On 30 Oct 2005, at 16:37, Roger Guay wrote: Alex, AudioClip doesn't offer to expand to messages on my copy of 2.6.1. What version are you using? If I'm correct, is there yet another way to get to the messages in version 2.6.1?? Cheers, Roger Be sure you don't have anything typed in

Re: Darwin cgi engine and sendmail

2005-10-30 Thread Dave Cragg
On 30 Oct 2005, at 11:13, Alex Tweedly wrote: Dave Cragg wrote: Thanks for this. Very promising. I got it working from my normal machine (OS X 10.4.2) from both a regular stack and a cgi. But I can't get it to run on the machine I want to use (OS X 10.3.9). I get this

Re: tiny mystery

2005-10-30 Thread Dave Cragg
On 30 Oct 2005, at 12:56, Charles Hartman wrote: I've got a dialog substack that includes two fields with listBehavior set to true. I fill them up from scripts -- a preOpenStack handler for one, and for the other an "on selectionChanged" handler called when something from the first list

Re: Darwin cgi engine and sendmail

2005-10-30 Thread Dave Cragg
On 30 Oct 2005, at 10:42, Dave Cragg wrote: Sivakatirswami wrote: Here you go Dave.. .from the application here that generates our Daily Hindu Press international.. This is running from a rev desktop stack in the GUI, but I'm pretty sure it will work from a CGI... Thanks for

Re: Darwin cgi engine and sendmail

2005-10-30 Thread Dave Cragg
On 28 Oct 2005, at 22:46, Andre Garzia wrote: there was some snipet code by sivakatirswami showing that some time ago on the list, I'll search the list and get back to you. Thanks. Andre. I found a snippet on the Metacard list from some time ago. This used "open process". Unfortunately

Darwin cgi engine and sendmail

2005-10-28 Thread Dave Cragg
Hi good people Does anyone have any experience of using sendmail from the Darwin cgi engine? (OS X 10.4.2) If so, could you let me know how it's done? Or if you know it's not possible, could put me out of my misery and let me know. Cheers Dave _

Re: Changing Font Style of Text Already in a Field

2005-10-28 Thread Dave Cragg
On 28 Oct 2005, at 20:48, Chipp Walters wrote: Both Klaus and Signe Marie Sanne have good suggestions for doing this: set the textfont of char 1 to -1 of fld "X" to to "Lucida Grande" Both of their solutions involve explicitly set the font of the characters. Another way is to do as you do:

Re: Runtime Engine

2005-10-26 Thread Dave Cragg
On 26 Oct 2005, at 19:32, J. Landman Gay wrote: Stewart Lynch wrote: Sorry. I forgot the subject in my previous message. I have just purchased the e-Book on "Using Revolution's Engine for Internet CGI's and the following link does not work. I am looking for the engine that will run on m

Re: AW: AW: How trim: Bug in RegExp engine

2005-10-25 Thread Dave Cragg
On 25 Oct 2005, at 22:39, Thomas Fischer wrote: 2. I didn't want to sound too harsh, sorry. And if my reply sounded harsh, sorry too. 3. It seems that regular expressions are to be avoided in time sensitive parts of the script anyway. Playing around a little bit I found that the RegExp

Re: AW: How trim: Bug in RegExp engine + docWiki

2005-10-25 Thread Dave Cragg
On 25 Oct 2005, at 20:19, Mark Wieder wrote: Ken- Tuesday, October 25, 2005, 10:28:36 AM, you wrote: Actually, it *should* support the full form of PCRE, since that is the library that was used when the put it into the engine. The bugs you identify above are all enhancement requests, so t

Re: mk_libsmil1

2005-10-25 Thread Dave Cragg
On 25 Oct 2005, at 12:06, Klaus Major wrote: Hi friends, i just uploaded a little stack to Rev-Online that will generate a SMIL file on the fly that you can use in a player-object. SMIL = Synchronized Multimedia Integration Language Please use GOOGLE to learn more about SMIL. User: klausim

Re: AW: How trim: Bug in RegExp engine

2005-10-23 Thread Dave Cragg
On 23 Oct 2005, at 11:23, Dave Cragg wrote: I assumed that Revolution would do what it promised and didn't check this. Try answer replaceText("A C","^ *","") I get "C", which obviously is not correct. If I remove the "*", I get "A

Re: AW: How trim: Bug in RegExp engine

2005-10-23 Thread Dave Cragg
On 23 Oct 2005, at 11:03, Thomas Fischer wrote: Hi, Wouter is right: It is indeed elegant, but a condition check is necessary here as it will remove the first word + the space(s) if there is no space at the start of the line. "The cat sat on the mat. " But if no spac

Re: Best Update Standalone Scenario

2005-10-23 Thread Dave Cragg
On 22 Oct 2005, at 20:44, Sivakatirswami wrote: Aside query about Windows systems... why are two different ones for C:\Documents and Settings\username\Application Data and C:\Documents and Settings\username\Local Settings\Application Data\) The first one, specialFolderPath(26), may be stor

Re: How trim?

2005-10-23 Thread Dave Cragg
Is there a requirement for the solutions to be one liners? I think the following 2 are faster than any solutions using replaceText, and more readable too. function trimL pString put " " & tab & return into x repeat while char 1 of pString in in x delete char 1 of pString end repeat

Re: background grps and preOpenCard

2005-10-19 Thread Dave Cragg
On 19 Oct 2005, at 21:22, Chipp Walters wrote: I'm working on a multi-card wizard and came across this and wanted to mention a peculiar behavior and see if people thing it's correct. I create a shared background group over a few cards. I put in it: on preOpenCard beep end preOpenCard It

Re: QT version on Windows

2005-10-11 Thread Dave Cragg
On 11 Oct 2005, at 17:56, Mark Wieder wrote: put queryregistry("HKEY_LOCAL_MACHINE\software\apple Computer, Inc. \quicktime\version","text") into data local t1,t2,t3,t4 get binaryDecode("H2H2H2H2",data,t1,t2,t3,t4) put t4&t3&t2&t1 Interesting. What are you trying to do with that "text" in

Re: QT version on Windows

2005-10-11 Thread Dave Cragg
On 11 Oct 2005, at 09:52, [EMAIL PROTECTED] wrote: put queryregistry("HKEY_LOCAL_MACHINE\software\apple Computer, Inc.\quicktime\version","text") into data get binarydecode("h*", data, x) you get x = "00080360" if you reverse that string you get what i saw correctly in the registry.. This

Re: Regex help, please

2005-10-10 Thread Dave Cragg
On 11 Oct 2005, at 00:04, Harvey Toyama wrote: Hi, I have a log file to parse. The data looks like this: Chip_Test: 2 1075.7 R120<-7000h0002 mov HifRegs 2 1088.1 R14<-7000h 0002

Re: another beginning SQL/Rev question

2005-10-09 Thread Dave Cragg
On 9 Oct 2005, at 19:26, Charles Hartman wrote: Something I don't understand about the revExecuteSQL command. I open my MySQL database and get an id. Now, to make later steps more general purposes, I'd like to ask the database for the structure of one of its tables (number of columns, colu

Re: PHP and Rev cgi

2005-10-06 Thread Dave Cragg
On 6 Oct 2005, at 10:40, jbv wrote: Hi list, I'm trying to launch a Rev cgi script from a PHP script. I'm using the following line : exec("/home/httpd/html/cgi-bin/./myScript.cgi 0 $caddie"); and it works. But the problem is that I need to pass 2 parameters to the Rev cgi scrip

Re: Stack Switching Question

2005-10-05 Thread Dave Cragg
On 5 Oct 2005, at 21:04, Richard Gaskin wrote: J. Landman Gay wrote: Richard Gaskin wrote: I used the file name form to illustrate another difference between HC and Rev: while you would indeed need to open a stack in HC in order to get stuff out of it, in Rev you can get property valu

Re: Setting Custom Property to an Array

2005-10-05 Thread Dave Cragg
On 5 Oct 2005, at 19:16, David Burgun wrote: Hi, How can I set the Customer Property of a Stack to an array? The following does not seem to work: local myArray set the cpArray of this stack to myArray set the customProperties["cpArray"] of this stack to myArray Cheers Dave

Re: Field printing blank page? (I'm so stupid!)

2005-09-29 Thread Dave Cragg
On 29 Sep 2005, at 18:49, [EMAIL PROTECTED] wrote: OMG I can't believe how retarded I am! I forgot to take of the tape on the ink cartridge. The smile your mail brought is worth a fortune. Cheers Dave ___ use-revolution mailing list use-revoluti

Re: Export/Import Stacks as XML

2005-09-28 Thread Dave Cragg
On 28 Sep 2005, at 13:57, David Burgun wrote: Hi, Well I still haven't found what I'm looking for (isn't that a line in a song???!!!). ! The stacks that people have directed me to, don't do XML, they do HTML and various other formats, but not XML! With the Rev 2.5 release, there was an "

Re: FTP Upload QUIT ???

2005-09-26 Thread Dave Cragg
On 26 Sep 2005, at 09:19, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Well, I've now tried my script using a different webhost and the same thing happens. The first image goes up successfully, then everything fails with the same problem as before. It's still woking here on both Wi

Re: Sound formats

2005-09-24 Thread Dave Cragg
Alex Tweedly wrote: Dan Shafer wrote: Microsoft claims ( http://www.microsoft.com/windows/ windowsmedia/ knowledgecenter/mediaadvice/0071.aspx#417) that Windows Media Player (Version 9 and later) supports the .mp3 format as well, but my audio consultant tells me that's just a lie as fa

Re: FTP Upload QUIT ???

2005-09-24 Thread Dave Cragg
On 24 Sep 2005, at 08:21, <[EMAIL PROTECTED]> wrote: Thankyou to everyone who has helped me get this far - I see the following QUIT message when uploading an image file to my webserver. The script works fine for text files but when it's an image, the QUIT Message appears in my log, the file

Re: FTP gotcha - how do you ignore a socket error?

2005-09-21 Thread Dave Cragg
On 21 Sep 2005, at 20:44, Jim Ault wrote: I am working on two trusted computers, getting a successful file transfer, but then the following error on the Windows client (Mac OSX Jaguar ftp host) about 8 seconds later --- 226 Transfer complete. QUIT 221- Data traffic for this

Re: More stupid Multipart form questions :)

2005-09-18 Thread Dave Cragg
On 18 Sep 2005, at 21:56, david bovill wrote: More help appreciated with simple form stuff: method='post'> maxlength='50' accesskey='f'> Add non comparable fields to field notes I guess "tEnc" would be the mime-type "text/plain" In your previous example, tType would be "text

Re: Multipart forms?

2005-09-18 Thread Dave Cragg
On 18 Sep 2005, at 19:58, david bovill wrote: Hi Dave, On 18 Sep 2005, at 18:54, Dave Cragg wrote: put "" & someFile into tFile Tried it - but no joy :( if libUrlMultipartFormAddPart(tForm,"file", tFile, tType, tEnc) is empty then Th

Re: Multipart forms?

2005-09-18 Thread Dave Cragg
On 18 Sep 2005, at 13:04, david bovill wrote: Is the libUrlMultipartFormAddPart handler broken in Rev 2.6.5? I copied the script in the documentation and I get an error - can't track it down I think the documentation is the problem. An important part of the syntax is mistaken for xml

Re: show hidden fields

2005-09-17 Thread Dave Cragg
On 17 Sep 2005, at 14:01, [EMAIL PROTECTED] wrote: Hi All I have managed to hide a field dependant on its background colour (background colour set by a differnt script) but I'd like to show all the fields that I have hidden. I used this script on mouseUp repeat for x=1 to the number of

Re: [OT] Any PDF Experts Out There in RevLand?

2005-09-15 Thread Dave Cragg
On 15 Sep 2005, at 17:21, Dan Shafer wrote: I am stuck for an OS X solution that will auto-generate interactive Tables of Contents and bookmarks for PDFs. It's got me in a bit of a box vis a vis upgrading my Rev SmartEBooks. I posted an entry about it on my blog today (http://www.eclectici

Re: Posting formdata to URL

2005-09-12 Thread Dave Cragg
On 12 Sep 2005, at 13:27, Ton Kuypers wrote: Hi, I have a problem posting a file to a website using RR I need to supply some parameters and the file, just like a normal webform would post, but I keep on getting errors... Uploading the file doesn't work, if I try to retrieve information in

Re: More drawing tool woes: no mouseDown or mouseUp sent?

2005-09-10 Thread Dave Cragg
On 10 Sep 2005, at 08:37, Richard Gaskin wrote: I'm making a specialized drawing tool, and I need to know when the mouse is clicked outside of any control while the pointer tool is active -- here's my setup: The card has a group which is used as the drawing region. I also have another g

Re: Start, Stop, Continue

2005-09-10 Thread Dave Cragg
On 9 Sep 2005, at 13:10, Glen Bojsza wrote: Hi everyone, Friday's question is about how to allow a user to start,stop and continue a multimedia demonstration. Ther are three buttons. The Start button on a mouseUp starts to cycle through a list of commands that move graphics, shows and

Re: libURLFormData and PHP (and MySQL)

2005-09-04 Thread Dave Cragg
On 3 Sep 2005, at 14:50, Nicolas Cueto wrote: The problem is, I don't see how to use Rev to send form variables to a PHP script which usually relies on the info being typed into the input fields of the HTML form. (The problem, too, is that I've only a hazy understanding of PHP and HTML forms.)

Re: CGI and MSQL in MAC OSX

2005-09-02 Thread Dave Cragg
On 2 Sep 2005, at 15:24, paolo mazza wrote: Dave, may I ask you where did you find the package? Thank you anyway. Ciao Paolo Sorry. The URL I used no longer works. I think someone may have posted a url recently. Cheers Dave ___ use-revolution

Re: CGI and MSQL in MAC OSX

2005-09-02 Thread Dave Cragg
On 2 Sep 2005, at 13:49, Dave Cragg wrote: On 2 Sep 2005, at 13:16, paolo mazza wrote: Thanks Dave, Actually it is MySQL . You wrote: MySQL drivers are included with Rev. The drivers are included in the engine? I am supposed to connect to MySQL from the CGI/revolution .. and I am

Re: CGI and MSQL in MAC OSX

2005-09-02 Thread Dave Cragg
On 2 Sep 2005, at 13:16, paolo mazza wrote: Thanks Dave, Actually it is MySQL . You wrote: MySQL drivers are included with Rev. The drivers are included in the engine? I am supposed to connect to MySQL from the CGI/revolution .. and I am getting "Internal Server Error" when I try to con

Re: CGI and MSQL in MAC OSX

2005-09-02 Thread Dave Cragg
On 2 Sep 2005, at 10:55, paolo mazza wrote: Where can I get a Mysql driver for the Revolution engine (version 2.5)? How can I connect the driver to the engine ? I wuold like to have the CGI/revolution get the data from a MySQL server using MAC OSX 10.4 . Paolo Can you confirm, is thi

Re: how to download a folder from a ftp server ?

2005-09-01 Thread Dave Cragg
On 2 Sep 2005, at 00:21, Mark Smith wrote: put the path to the directory you want into a variable: put URL ("ftp:" & pathToYourRemoteDirectory) into fList --this puts a list of the files into variable fList -- each line in fList will look something like: --09-01-05 03:55PM 29869

Re: problem waiting - spellchecker

2005-09-01 Thread Dave Cragg
On 1 Sep 2005, at 17:20, MisterX wrote: repeat... ... put "wait" into xosdictionary["current"] --put the waitdepth -- always 1 --if the waitdepth < 2 then wait until xosdictionary["current"] = "continue" with messages -- else skip... poor idea... --end if ... end repeat then,

Re: problem waiting - spellchecker

2005-08-30 Thread Dave Cragg
On 30 Aug 2005, at 08:18, [EMAIL PROTECTED] wrote: Superb!!! Thanks all for your great help!!! We got a spellchecker almost working... The revDocs need help here!!! It sure wasn't clear at all... wait [for] number [seconds | ticks | milliseconds] [with messages] doesn't imply that you can

Re: CGI permissions

2005-08-27 Thread Dave Cragg
On 28 Aug 2005, at 00:19, Mark Smith wrote: No, this is still all on one machine (Mac Powerbook with 10.3.9). The files are in a folder on the desktop and the CGI is in the / Library/WebServer/CGI-Executables folder. I'm just pointing my browser at localhost. I've tried (whilst in the IDE

Re: database : insert/update/delete

2005-08-27 Thread Dave Cragg
On 27 Aug 2005, at 14:59, Revolution wrote: Saturday, August 27, 2005 4:57:04 PM (GMT +02:00) Hi, want to add to the database what's in a text field. event from the button mouseup : -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-= put fld "MyEdit" into MyEditV

Re: CGI permissions

2005-08-27 Thread Dave Cragg
On 27 Aug 2005, at 16:58, Mark Smith wrote: I have a Rev CGI stack that collects data from some text files, builds some html and returns it to the browser. The html stuff is all working fine, but the stack is unable to read the necessary files to get the data... Could some kind soul tell m

Re: libURLftpUpload returns "invalid host address" error

2005-08-20 Thread Dave Cragg
On 20 Aug 2005, at 02:53, David Beck wrote: Hello, I'm having a problem with using libURLftpUpload returning a "invalid host address" error. I am using libURLftpUpload to upload a small file, and then check the result in a loop with the URLStatus function. Eventually, and this only happ

Re: I give up: how do you continue a line in Rev?

2005-08-19 Thread Dave Cragg
On 19 Aug 2005, at 09:10, Mark Wieder wrote: Jeanne- Friday, August 19, 2005, 12:00:05 AM, you wrote: The entry for "\" is also the first item returned when you search the dictionary for "continue". OTOH, filtering on "continu" shows absolutely nothing. But searching (not filtering) fo

Re: "working" a web site from Rev

2005-08-19 Thread Dave Cragg
On 18 Aug 2005, at 20:24, Jon wrote: Dave: Excellent help. Question: how would one indicate that a check box field is checked (or not)? Thanks! Jon I've never done this, but this is what I have read: -- If the checkbox is unchecked, don't send anything. -- If the checkbox is checked

<    1   2   3   4   5   6   7   8   9   >