Re: loading a https page on OS X
Thank you Trevor. Using Rev 3.5 Mac IDE, I was able to load a page and make a Post from/to an https server just downloading the certificate cacert.pem and inserting this command: *set* the sslCertificates to cacert.pem However, I was not able to accomplish the same tasks using the Linux cgi engine 3.5. It looks like I was not able to upload the certificate. I tryed: *set* itemdelimiter to / *put* the filename of this stack into ADDRESS1 *put* cacert.pem into last item of ADDRESS1 *set* the sslCertificates to ADDRESS1 and also *set* itemdelimiter to / *put* the filename of this stack into ADDRESS1 *put* cacert.pem into last item of ADDRESS1 *put* file: ADDRESS1 into ADDRESS1 *set* the sslCertificates to URL ADDRESS1 Using both of these scripts, I got an error form the Https server, and I guess that's because the Certificate issue. How can I fix this? All the best Paolo Mazza On Mon, Oct 4, 2010 at 3:47 PM, Trevor DeVore li...@mangomultimedia.comwrote: On Sun, Oct 3, 2010 at 1:25 PM, Klaus on-rev kl...@major.on-rev.com wrote: I tried to load a page from an https server and got of course an error because the user certicitate was not found. No username or password required for the site! the result was: error -Error with certificate at depth: 0 issuer ... ... ... err 20:unable to get local issuer certificate So since any internt browser can do this, my question is how can I do? Are there any generic certificates in some folder on the users hd that I can set the sslcerificates to? Yes, grab the cert.pem file that curl publishes: http://curl.haxx.se/ca/cacert.pem Include it with your app and point the sslcerificates to it. Also, 4.5 has experimental support for loading SSL certs installed on the system. I haven't tested this yet but that may be a solution for you as well if you aren't using 4.5 yet. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: loading a https page on OS X
Yes I tryed it. The address of the file is correct and if I send the command put URL ADDRESS1 into VAR1 i get the file uploaded to the variable VAR1. But, for some reasons, the command *set* the sslCertificates to URL ADDRESS1 does not work and when I post to the https server I get an error. Thank you Paolo On Tue, Nov 16, 2010 at 9:29 AM, Shao Sean shaos...@wehostmacs.com wrote: did you try? put file:// ADDRESS1 into ADDRESS1 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Functions in the on-rev - LC server script
How can I place a function in a on-rev - CGI server script ? I have to port a stack script (with commands and functions) to a .irev text file for the on-rev server . I expected something similar to the following script... ?rev put MyFunction() into tVAR1 put tVAR1 function MyFunction put 1 + 1 into VAR2 return VAR2 end MyFunction ? ... but obviously it does not work !!! Any idea? Many thanks Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: loading a https page on OS X
I did exacly what you wrote here. I got ADDRESS1 = file:///home/neol/public_html/cgi-bin/(...)/stacks/cacert.pem Then, in order to check the script, I uploaded the content of this file into the variable VAR1 with the command: put URL ADDRESS1 into VAR1.. and it worked fine!!! However, even if I set the sslCertificates to URL ADDRESS1 the incoming https server does not accept my POST form. I wonder if the sslCertificates variable accept URL addresses. Thanks Paolo On Tue, Nov 16, 2010 at 3:06 PM, Shao Sean shaos...@wehostmacs.com wrote: set itemdelimiter to / put the filename of this stack into ADDRESS1 -- gives /usr/moo/web/stack.rev put cacert.pem into last item of ADDRESS1 -- gives /usr/moo/web/cacert.pem #put file: ADDRESS1 into ADDRESS1 -- gives file:/usr/moo/web/cacert.pem put file:// ADDRESS1 into ADDRESS1 -- gives file:///usr/moo/web/cacert.pem set the sslCertificates to URL ADDRESS1 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Functions in the on-rev - LC server script
Thank you Devin, that's interesting. So, if I move all the functions and all the commands (transformed in functions) of my script before the main command the script of my stack should work also in the on-rev server. I will give it a try. Thanks a lot Paolo On Tue, Nov 16, 2010 at 5:59 PM, Devin Asay devin_a...@byu.edu wrote: On Nov 16, 2010, at 9:40 AM, paolo mazza wrote: How can I place a function in a on-rev - CGI server script ? I have to port a stack script (with commands and functions) to a .irev text file for the on-rev server . I expected something similar to the following script... ?rev put MyFunction() into tVAR1 put tVAR1 function MyFunction put 1 + 1 into VAR2 return VAR2 end MyFunction ? ... but obviously it does not work !!! Any idea? Paolo, In irev scripts you have to declare the function before you call it, so just put the function handler at the top: ?rev function MyFunction put 1 + 1 into VAR2 return VAR2 end MyFunction put MyFunction() into tVAR1 put tVAR1 ? Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Stack dimension for mobile application
Thank you Terry. You are right, so the stack size for the 3 devices will be: iPhone 4 is 920 x 640 iPhone3 - iPod Touch is 460 x 320 iPad is 1004 x 768 This is if you have a portrait application. What happen if you turn the device to the landscape orientation? I guess you have to resize the stack/application to iPhone 4 is 960 x 600 iPhone3 - iPod Touch is 480 x 300 iPad is 1024 x 748 Am I right? So, if I have to deploy an application for the 3 devices, I need to set 6 different sizes of the stack. Right? I guess we need a geometry manager taking care of this automatically would be great! All the best to all the rev developers. Ciao Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Stack dimension for mobile application
As far as I know, the resolution of the screen of iPhone 4 is 960 x 640 iPhone3 - iPod Touch is 480 x 320 iPad is 1024 x 768 So, if I want to deploy my application for iphone and ipad, what's the size of the stack (width and height) that I am supposed to set in order to have a full screen application in the iPhone and in the iPad? Thanks a lot Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rép : [ANN] Data Grid Helper - What is it? - Text rewrote
The DGH is a plugin, right? Can we use it also to deploy application for the web (revlet) and for mobile ? Thanks Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: iphoneRotateInterface command in mobile apps
I have to'inform you that opening a mobile application in the iPad the platform is iPhone so In our Rev_mobile applications we have to' write if the environment is iPhone then iphoneRotateInterface landscape left end if On Thursday, September 16, 2010, Kevin Miller ke...@runrev.com wrote: We'll be performing an update to fix this before the shipping version. But in the mean time you can do this: if the environment is mobile then iphoneRotateInterface landscape left end if Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
LiveCode 4.5 personal licences
Referring to the last version of the LIveCode store ( http://www.runrev.com/store/ ) , I do not understand the difference between the LiveCode 4.5 Desktop Mac/Win (99 $ ) licence and LiveCode 4.5 Desktop Personal (275 $ ) licence . * The difference between the 2 personal licences is that the second licence allows you to deploy also to the Linux platform? * Referring to the first they say: * * * LiveCode 4.5 Desktop Mac/Win Windows and Mac desktop development unlocked This package includes LiveCode development tools and the Windows and Mac desktop deployment addon. while, referring to the second licence they say: LiveCode 4.5 Desktop Personal Complete desktop development for the personal user This bundle gives you LiveCode Development Tools plus personal deployment to all desktop platforms saving you $49. Develop applications using a fast and easy compile-free workflow. Achieve project goals in a fraction of the time with the ability to change the interface or code while the application is running. So quick to learn even non-programmers can use it. Write code that makes sense using expressive, memorable syntax and reuse the same code across multiple devices. Customize your Personal license with more deployment options, pick from Mobile, Web and Server. This license is for educational and non-commercial use, all standalone executable applications will display a splash screen on launch stating non-commercial use only. All the best Paolo Mazza * ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: using datagrid with revmobile
Terry, exept the scrolling, all the other feautures of the datagrid library work in the mobile applications? I tryed and seems to work. Thanks a lot, Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
iphoneRotateInterface command in mobile apps
Building a mobile applicantion, I place in the openStack handler the command iphoneRotateInterface landscape left in order to rotate the application accordingly. Any time I open the stack from the Revolution IDE, i get an error message because Rev does not accept this command. How can I avoid this? Still, once the application is compiled, it works fine. All the best Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
using datagrid with revmobile
I have few questions about using datagrid in mobile applications... In an application for iPhone, can I place a datagrid object ? Datagrid objects work fine in mobile applications created by the present RevMobile plugin? What about next release of the RevMobile plugin? Thanks a lot Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] Rodeo IDE preview video
I look forward to use your new application Rodeo. Then, I would love to have a list of the commands that are going to be included in your application in order to evaluate the possibility of developing a couple of applications I have in mind for the iPad. Thanks a lot Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: VLC and Rev
I'd love to use the VLC video feutures (playback, recording, streaming and so on) from Revolution. However I do not know how to do it. In the year 2007 there was a thread about this (OT: Quicktime Bundling ) in this list with many messages. Many people have been asking Runrev to use to the VLC engine for video playback. However, AFAIK, at the moment, we can rely on QT only. Using VLC form Revolution would be great, but I have not expereince on this. regards Paolo Mazza On Fri, May 28, 2010 at 6:04 AM, Glen Bojsza gboj...@gmail.com wrote: I was wondering if anyone has done any work with VLC and Rev? If so, can you share your experiences! regards, Glen ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revmobile and posting to the internet
Peter, going through the Documentation I found this: At present, there is only limited support for non-file URL access. You can fetch urls by using the url chunk, just as you do in the Desktop engine, but post url, delete url and load url will not work. However the get command works fine. I wonder if we can access a MySQL database from revmobile too. Nothing is said about this in the documentation ( but is says externals cannot currently be loaded ). All the best Paolo On Fri, May 7, 2010 at 1:29 PM, pbo...@soundmedicine.com wrote: Is there a way to get data to and from a remote server via a post command or some other method that will work once the revmobile plug-in deploys the app to an iPhone/iPad? thanks Peter J. Bower, M.D. 630 Peter Jefferson Pky. Suite # 230 Charlottesville, VA 22911 (434) 964-0159 f(434) 978-1667 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
MySQL driver in Windows standalones
Why from a stack using the MySQL commands i get a single file application for the MACOS platform and a file with the Externals folder (with dirvers + .dll file) if I build the standalone for the windows platform? Can I have a windows application with the MySQL drivers embedded in a single file (like for the mac?) ? Thanks Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: No-asci chars from the on-rev CGI
Thank you. You are right. Now I realize that from the on-rev CGI (using the put command) i receive a Mac OS character-set string, So, when I am in windows I have to use a macToISO() to translate it into the ISO 8859-1character set. On Mon, May 3, 2010 at 6:21 PM, J. Landman Gay I'm not sure if it will help, but it sounds like you are affected by the different character sets that Windows and Mac use. Accented characters are at different locations in the font tables on each OS. You could try using macToISO() or isoToMac() to convert the characters before sending to the CGI. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: No-asci chars from the on-rev CGI
I am still fighting with the NO-ASCI chars. Even if I encodeBase64 the data, if I connect to the CGI from a web-plugin using Windows platform , I get stange chars. From exactly the same CGI, and using the same revlet, from MAC i get the correct chars with accent (i.e. è à ù ) and from windows i get some strange chars (i.e. ^ати) . Any clue for a solution? On Thu, Apr 15, 2010 at 3:51 PM, Richard Gaskin ambassa...@fourthworld.comwrote: paolo mazza wrote: I am facing a problem sending NO-ASCI chars with the rev CGI ( i. e. put щати ) to a Rev application. When I receive a string containing chars with accent (i.e. щати) from the Revolution CGI , I get strange chars. Example: put щати I receive: ^:' How can I fix this? Try running the data through base64Encode when sending, and base64Decode on the receiving end. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: On-Rev Directory Configuration
I get my index.html file . Or, if it is available, the index.irev file, However, if I remove these 2 pages, I get the list of directories. I did not change any preferences in the on-rev server. All the best, Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
No-asci chars from the on-rev CGI
I am facing a problem sending NO-ASCI chars with the rev CGI ( i. e. put ùàòè ) to a Rev application. When I receive a string containing chars with accent (i.e. ùàòè) from the Revolution CGI , I get strange chars. Example: put ùàòè I receive: ^:' How can I fix this? Thanks a lot Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: No-asci chars from the on-rev CGI
Thank you Richard. I fixed everythingh and now my first application in the iPhone is running. Thanks a lot to everybody in this great list !!! All the best Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Regular expression
Thank you all. Talking about Regular Expressions, one more question. If I have more than one string matching the Regex I expect the command matchChunk returns more than a couple of numbers, Consider this script: on mouseUp local mySource,myStart,myEnd,TESTO,myStart2,myEnd2 put xx src='HTTPWEB' width='3845' height='334' src='HTTPWEB' x into TESTO put empty into mySource put empty into myStart put empty into myEnd put matchChunk(TESTO,src='([^']*)',myStart,myEnd,myStart2,myEnd2) put myStart comma myEnd comma myStart2 comma myEnd2 end mouseUp This script returns 13,19,, . I exprected something like 13,19,57,63 , because now I have two strings matching src='([^']*)' . All the best Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Open HTML code with Revbrowser
Thank you Sarah really helpfull. On Tue, Mar 9, 2010 at 9:02 AM, Sarah Reichelt sarah.reich...@gmail.comwrote: On Tue, Mar 9, 2010 at 5:37 PM, paolo mazza mazzapaoloit...@gmail.com wrote: How can I open the Html code with revRrowser ? I mean, I have the Html Using... revBrowserOpen(tWinID,http://www.google.com;) I can open a Web page using an URL. What about opening a web page providing the Html code from the program? Open a browser with no URL. Then use revBrowserSet to fill it in with your html, e.g. revBrowserSet tBrowserID, htmlText, MYHTMLCODE Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Regular expression
To me regular expressions are tricky! I need to extract the string HTTPWEB from the string xx src='HTTPWEB' width='3845' height='334' x If I use the regular expression (src='.*') and the matchChunk command, I get this string : src='HTTPWEB' width='3845' height='334'(see the following RevTalk script) Which is the regular expression to get just the argument of the src variable ( HTTPWEB in this example)? Thanks a lot Paolo Mazza SAMPLE CODE on mouseUp local TESTO,STRINGA,VAR1,VAR2 put xx src='HTTPWEB' width='3845' height='334' x into TESTO put (src='.*') into STRINGA put matchText(TESTO,STRINGA) return into message if matchChunk(TESTO,STRINGA,VAR1,VAR2) then PUT char VAR1 to VAR2 of TESTO into message else put not found! into message end if end mouseUp ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Regular expression
Thank you Mark That's perfect! On Wed, Mar 10, 2010 at 12:42 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Paolo, This works: put empty into mySource put empty into myStart put empty into myEnd put matchText(xx src='HTTPWEB' width='3845' height='334' x,src='([a-zA-Z0-9 ]+)',mySource) put matchChunk(xx src='HTTPWEB' width='3845' height='334' x,src='([a-zA-Z0-9 ]+)',myStart,myEnd) put mySource cr myStart comma myEnd Best, Mark -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 10 mrt 2010, om 12:30 heeft paolo mazza het volgende geschreven: To me regular expressions are tricky! I need to extract the string HTTPWEB from the string xx src='HTTPWEB' width='3845' height='334' x If I use the regular expression (src='.*') and the matchChunk command, I get this string : src='HTTPWEB' width='3845' height='334'(see the following RevTalk script) Which is the regular expression to get just the argument of the src variable ( HTTPWEB in this example)? Thanks a lot Paolo Mazza SAMPLE CODE on mouseUp local TESTO,STRINGA,VAR1,VAR2 put xx src='HTTPWEB' width='3845' height='334' x into TESTO put (src='.*') into STRINGA put matchText(TESTO,STRINGA) return into message if matchChunk(TESTO,STRINGA,VAR1,VAR2) then PUT char VAR1 to VAR2 of TESTO into message else put not found! into message end if end mouseUp ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Open HTML code with Revbrowser
How can I open the Html code with revRrowser ? I mean, I have the Html Using... revBrowserOpen(tWinID,http://www.google.com;) I can open a Web page using an URL. What about opening a web page providing the Html code from the program? Kind of (but unfortunately it does not work this way) put htmlbodyHello people/body/html into MYHTMLCODE revBrowserOpen(tWinID,MYHTMLCODE) Thanks a lot Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
ExplicitVariables
I just installed Rev 4.5 in macosx 10.5.8 Trying to use this piece of code on mouseUp set the explicitVariables to false put 1 into UNO answer UNO end mouseUp I get this error: button Button: compilation error at line 4 (Chunk: can't create a variable with that name (explicitVariables?)) near UNO, char 10 How can I fix this? Any idea? Thanks a lot. Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: From XML to array
Yes, you are right. Here it is the right XML file: ?xml version=1.0? records record IDnum=1 firstNameSteve/firstName lastNameJobs/lastName roomNums roomNum1001/roomNum1 roomNum2054/roomNum2 roomNum3545/roomNum1 /roomNums phoneExt345/phoneExt parkingSlot100/parkingSlot /record record IDnum=2 firstNameBill/firstName lastNameGates/lastName roomNums roomNum1454/roomNum1 roomNum2656/roomNum2 /roomNums phoneExt666/phoneExt parkingSlot987/parkingSlot /record record IDnum=3 firstNameLinus/firstName lastNameTorvald/lastName roomNums roomNum1001/roomNum1 roomNum2054/roomNum2 roomNum3545/roomNum3 roomNum4545/roomNum4 /roomNums phoneExt479/phoneExt parkingSlot123/parkingSlot /record record IDnum=4 firstNameKevin/firstName lastNameMiller/lastName roomNum100/roomNum phoneExt421/phoneExt parkingSlot987/parkingSlot /record /records On Wed, Feb 24, 2010 at 5:21 PM, Jim Ault jimaultw...@yahoo.com wrote: I am assuming your data set contains an error and will ignore this tag. There is no opening tag employee On Feb 24, 2010, at 5:44 AM, mazza paolo wrote: /employee Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: matchChunk works?
Thanks a lot. -- View this message in context: http://n4.nabble.com/matchChunk-works-tp620097p622046.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Print stack as PDF
Jan, Rob, your messages have been very helpfull. in MacOSX command printerOutput does a good job, printing a stack in PDF from revolution. Still, I wuold like to find solution for the windows platform without any external software. I wonder, if Quartam PDF Library, combined with command import shapshot, can produce a PDF file similar to the one you get from the printer output. Thanks a lot. Paolo Hi Paulo, If your app runs on MacOSX, you can set the 'printerOutput' to a filepath, and that will churn out a PDF file. However, this doesn't work on Windows or Linux: the Windows engine produces XPS files [Microsoft's PDF rival format], and the Linux engine produces postscript files. Quartam PDF Library is not capable of turning just about any stack into a PDF file - there are a lot of Revolution properties that make it hard to interpret what to do (for instance, should I go for the literal interpretation of certain property combinations or try and mimick the way Rev renders it on each platform and OS version?) And admittedly, a few more items need to be put in place (blending, clipping, arbitrary fonts, htmlText support, etc.) before I can even start on that generic PDF conversion. Hope this clarified it, Jan Schenkel Hi Paolo, how can I print a stack as PDF from revolution 3.0? For Windows systems, you can download and install CutePDFWriter free from http://www.cutepdf.com/Products/CutePDF/writer.asp. Once installed, any printer output can be saved as a pdf file. Rob Cozens, Director Resighini Rancheria Environmental Protection Authority Klamath, California ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Fill up a form using revbrowser
Using a script from Revolution, I wuold like to: - open a web page with a form (RevBrowser ) - put some text into a field of a form - click the button to send the form. Is it possible? Any idea? ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Print stack as PDF
Dear friends, how can I print a stack as PDF from revolution 3.0? Am I supposed to use the Quartam PDF Library? and how? Thanks Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Rev browser exporting pdf
How can I export a web page as PDF using the internal browser of Revolution? I tryed with Quartam PDF Library for Revolution but I could not find a solution. Have you a clue? Thanks Paolo ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev quicktime problem
Since I updated quicktime to the new version 7.4.5 in windows XP I can not see the movies from the movie-player in Rev With QuickTime 7.1 everything was OK. Any clue? How can I find the installer for quicktime 7.1 for windows XM ? Thanks Paolo Mazza How to use Revolution use-revolution@lists.runrev.com writes: Every other part of my Rev program runs fine for him. The problem only occurs when he tries to view a video. He's using XP and has every recent Windows update. Any suggestions? Thanks. Richard Miller ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: why XHTML cannot be parsed with RevXML ?
Thank you Andre and Ken for your comments about XHTML. I have been using stsXML library for a while and it works great. I expereinced some problems using revXMLText in Rev 2.9-dp-5. Please have a look at the: http://quality.runrev.com/qacenter/show_bug.cgi?id=6061 Thanks, Paolo ** Paolo Mazza NEOL SRL ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: why XHTML cannot be parsed with RevXML ?
I find very difficult to manage the XHTML code with the RevXML tools if these tools do not manage consistently some special chars like . Consider this: I want to change some words in this XHTML page (field FieldXML) ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml;head title XHTML page /title /head bodyh1Welcome/h1pTEXT/p/body /html I use this script: on mouseUp revDeleteAllXMLTrees put RevCreateXMLTree(field FieldXML,true,true,false) into NUMERO revPutIntoXMLNode NUMERO,html//body/p[1],Char egrave; put revXMLText(NUMERO) into CODICE put CODICE into message set the HtmlText of field browser to CODICE end mouseUp The text in field browser will be: Welcome Char egrave; What's wrong with my script? How can I get the correct XHTML code? I thought it was a bug ( http://quality.runrev.com/qacenter/show_bug.cgi?id=6061 ) . But they told me I was wrong (see the following message from Mark). I can not find a solution to thi problem. Hi Paolo, Thanks for the report. This change in behaviour is due to the fix to Bug 5283 - the behaviour of revPutIntoXMLNode, revAppendXMLNode and revXMLText is now correct and consistent. Both PutIntoXMLNode and AppendXMLNode assume that you are given them a string of text encoded in the native encoding of the XML file (the attribute in the ?xml header). In particular, they will escape the uses of '', '' and ''. Unless you attach a DTD to you XML document, the only entities defined are lt, gt, quot, and amp. In particular, if you wish to use entities from HTML you need to add explicit !ENTITY ... definitions to your XML tree. (egrave is one such entity). Therefore, if you want to read an XML document which uses entities, you need to ensure it either has a DTD attached, or the !ENTITY ... declarations at the start. After such a document has been read into memory, however, you can use things such as XMLNodeContents and PutIntoXMLNode to manipulate the text content *without* using entities. Warmest Regards, Mark. How to use Revolution use-revolution@lists.runrev.com writes: On Fri, 14 Mar 2008 14:54:05 +0100, David Bovill wrote: Paolo - from memory the issue is not that you cannot parse valid XHTML with Revs XML externals, rather that Revs native htmltext is not valid XML and therefore cannot be parsed using Revs XML externals! Strange but true. However from memory the problem is caused by html entities not being escaped in htmltext and breaking the XML parsing. You can get around this by replacing the htmltext enitities with XML compliant ones. You should not have any problems with valid XHTML though. Right, that's my understanding as well... the main issue for XML parsers is that a lot of HTML is not compliant - for example using a single P instead of P/P. This leaves an open tag without a closing tag. Now if it is *valid* XHTML, you *should* be able to parse the tags with XML parsing tools (Rev's included). Can you provide an example of compliant XHTML syntax that doesn't parse? Just curious... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
why XHTML cannot be parsed with RevXML ?
Dear Revs, as far as I know XHTML cannot be parsed with the XML tools in Rev. Why? Don't you think It would be great manage the XHTML code with the RevXML tools? I found these the following messages on the list dated 23-12-2006. Anything has changed then? Paolo Mazza MESSAGES: Unfortunately my experience with the different protocols is very limited. The world wide conferences try to accommodate all the interested parties when they publish their standards, but I don't study the rationale they use. I know part of the rationale is driven by the big companies. Someone like Ken Ray can give a good answer. There are so many flavors of text markup languages (TML) that have been promulgated for different purposes, I am not sure there can ever be a standard way of parsing them. I think that in the beginning a markup language was only for the display of elements in a 'browser', not an organized data system. One key part of a browser program is that if it does not know what to do with a tag, it silently ignores it rather than producing an error message. In other words, errors do not break the page, they result in something displayed poorly or not at all. Hopefully someone with real knowledge in this area will chime in. Jim Ault Las Vegas On 12/23/06 8:48 AM, David Bovill [EMAIL PROTECTED] wrote: Jim _ thought that was the whole point of xHTML? That is that xHTML is HTML that works with XML parsers - that is why you can view xHTML outlines in tools such as GoLive. I assumed htmltext from it's look was xHTML compliant - ans so always assumd that it would be straightforward to parse with the XML tools The question is where the logic breaks - is it that xMHTML cannot be parsed with the XML tools in Rev - or is it that for some crazy reason htmltext is not XHTML compliant (ie a subset of xHTML) and therefore alid XML. If the latter which I suspect? - what would I need to do to htmltext to make it valid XML? On 23/12/06, Jim Ault [EMAIL PROTECTED] wrote: HTML text is a system of tags that signal what item is start /end whereas XML is much more of an 'outliner' with inheritance defining children and nodes. They both have the / look, but HTML is not regimented the same way except for Tables, Frames, and a few other constructs. Now if you add in javascript and css, HTML is even less like XML, so the parent.child relationship is even more remote. It is hard to imagine a single parser that would work for both. Perhaps in special cases that you generate to stay within rules. Jim Ault Las Vegas On 12/22/06 10:17 PM, David Bovill [EMAIL PROTECTED] wrote: I am using the script to parse the htmltext of Revs text fields - so it is a nice fixed target. Here is the script I have at the moment modified slightly from your suggestions to work with anchors: function html_ExtractAnchors someHtml put someHtml into htmlPage replace CR with empty in htmlPage --text is now one line replace name= with name= CR in htmlPage replace /a with /a CR in htmlPage -- filter htmlPage with *http://*; -- set the itemdel to filter htmlPage with (quote */a) set the itemdel to quote put empty into newLinkList repeat for each line LNN in htmlPage put item 2 of LNN cr after newLinkList -- put item 1 of LNN cr after newLinkList end repeat delete last char of newLinkList return newLinkList end html_ExtractAnchors NB - anyone managed to use the XML libraries on htmltext - this is the sort of thing I mean - which fais with html entities: function html_AttributeValues someHtml, attributeName, childName, depth -- does not work with htmlEntities! put revCreateXMLTree(someHtml, true, true, false) into treeID if char 1 to 6 of treeID is xmlerr then put someHtml opn_Notify treeID, true exit to top end if if depth is empty then put -1 into depth put revXMLRootNode(treeID) into startNode put revXMLAttributeValues(treeID, startNode, childName, attributeName, CR, depth) into attributeValues revDeleteXMLTree treeID return word 1 to -1 of attributeValues end html_AttributeValues Would be nice... ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
shell sudo from CGI - MACOSX
Following Sarah and Ken advices, I run this script from Revolution 2.6 .1 application, and it works fine. put XXX into tPassword put YYY into COMMAND1 put pw=tPassword cr into tScript put echo $pw | sudo -S COMMAND1 cr after tScript get shell(tScript) I tryed the same script, in the same machine, from the CGI . Unfortunately I got this answer: WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type man sudo for more information. To proceed, enter your password, or type Ctrl-C to abort. Password: Sorry, try again. Password: sudo: 1 incorrect password attempt How can I use Sudo commands from the CGI in MACOSX ? Thanks, Paolo Mazza ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev cgi vs. php
Hi JB, you wrote: But I've recently heard that the upcoming new Rev cgi engine would be less dependent of environment libs... What do you mean exactly? Shall we have an updated CGI engine also for MACOSX server? AFAIK last CGI engine for MAC is version 2.6 and it is quite old. I think the Revolution does a great job as a CGI, and I have used if for several web application. That's why I look forward to have a new CGI engine for MACOSX Server Paolo ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X cgi error
Hi Richard, I am glad to know some more people are using Rev as CGI in OSX. It is a great tool combined to MAcOSX server! How to use Revolution use-revolution@lists.runrev.com writes: I'm doing more reading through the archives and getting even more confused. Will the Darwin engine run on an Intel Mac? This is interesting. I am curious too. It should work but I am not sure about it. Is ANYTHING else needed in the CGI folder besides the Darwin engine and the hello.cgi script? I see references to other Apache libraries that MAY be needed, but that's not clear to me. I already asked the question about the license.rev stack (is it needed?). Should the hello.cgi script use CR or CRLF? You can use both provided you save the file as text. On the contrary you have to pay attention to the stack format. The old Darwin engine do not read the stacks saved in the latest format so, anytime you have to make a change on these stacks you have to use an old version of revolution. This is a mess.I hope we will find a brand new Darwin engine under the Christmas tree. I've tried every possible permission setting and it still does not work. As far as I know you just need to put the Darwin engine int the cgi-bin folder and set permission accordingly. Here it is some documentation about Revolution as CGI . I hope it helps. The last Darwin engine available is 2.1.2. This version still works fine. You can get it here: http://www.runrev.com/downloads/engines/2.1.2/cgi/osx.zip A great tutorial: http://www.hyperactivesw.com/cgitutorial/ ... and a message from Andre Garzia and references to his valuable RevHTTP : Hi Folks, I did this announcement on the use-rev mailing list but I guess some people just use the forum so I am posting it here too. I'll also expand my text a little since we have no 18k limit here and I feel like writting. It is with imense happyness that I make available what I came to call RevOnRockets package. This package is a bundle of a web server, libraries and demos, everyting in 100% transcript. The objective is to help the aspiring web developer (and the seasoned one) to create their web applications, the RevHTTP server runs inside the Revolution IDE and is able to run text file based cgis as well as serve files, this alone enables everyone to develop for the web from inside rev, using the debugger!!! Develop and Test your CGIs from inside revolution! This is of course freeware with source. All code is commented, specially the webserver code. I give this to this wonderful community as a token of gratitude for all the years that everyone and his dog helped me! What is included: * RevHTTP - 100% transcript web server with new features and cleaner code. * EasyCGI Core library - a simple library for building text file cgis. * EasySessions - a simple library for session management. * EasyDebug - a error report tool for CGIs. * libCGI compatibilty functions - RevHTTP has a compatible API that allows libCGI based apps to run inside it. * Demos for all libraries and even AJAX demos!!! More documentation is expected as time goes. The demos and the libraries will also have updates. Right now they are very bare but I do like them and use them everyday. Have I mentioned that I commented my code yet? ALL FREE license is: cannot-blame-the-brazilian-guy-if-it-explodes-public-license 1.0 Have fun! file is here http://andregarzia.com/RevHTTP.zip Launch http.rev and click start! This is the foundations of what I discussed on this post This post. From here now, I'll build plugins and higher level libraries. Anyone in the mood to discuss anything? Cheers, Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X cgi error
How to use Revolution use-revolution@lists.runrev.com writes: For the heck of it... since there's no documentation I can find on the subject, but the error logs are referencing license.rev... I stuck a license.rev stack Hi Richard, I am not sure you are in the right track. You do not need to place any license.rev stack in the cgi-bin folder. Just place the the Darwin engine and refer to it as: #!revolution -ui on startup put htmlbodyHello/body/html end startup I hope it helps. Ciao Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X cgi error
Hello Richard, I still get the same error when I try to access the cgi script through my browser: can't load stack or script license.rev premature end of script headers I have never seen this message before. Actually, I do not understand it. Are you using Darwin engine 2.1.2 ? As far as I know this is the last Darwin engine available. You can download it from: http://www.runrev.com/downloads/engines/2.1.2/cgi/osx.zip I guess there is a problem with you engine. Some months ago Mark wrote in this list: I mean can we use the engine of the standalone as CGI? The -ui option works on all platforms and prevents the engine from doing anything GUI related. Specifically this means that the engine will not attempt to connect to a window server and will not create windows for stacks. This makes it possible to use the standalone engine as a command-script processor from a terminal/shell-script. However, your mileage will vary when attempting to use standard standalone engines as CGIs depending on your system setup. In particular, the OS X engine requires a 'desktop context' to function - this is not generally available when it is run as a CGI engine from a web-server installed on OS X. The reason the Linux standalone engine (will) work as a perfectly good CGI engine in -ui mode is that it's only direct 'desktop' related dependency is the Xlib, which is usually installed regardless of whether a machine is a server or desktop box. Warmest Regards, Mark. How to use Revolution use-revolution@lists.runrev.com writes: Paolo, I've done exactly as you say. Nothing in the cgi-bin except for the Darwin engine and the hello.cgi script. The hello.cgi script is definitely saved as a text file. All permissions in the cgi-bin are set to 755. The owner of the cgi-executables folder is my login id. The group is www Any other ideas? I don't know what to try next. Thanks. Richard ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Setting paths to Externals in revolution
Dear Revs, as you know if I select new externals from the Rev Inspector, Revolution gets the absolute path... so if I move the application to another computer it will not work . The standalone application needs a relative path for the externals. Referring to the solution presented by Trevor Devore and Ken Ray at the page: http://www.sonsothunder.com/devres/revolution/tips/ext003.htm I tryed a simpler solution. The following script (ONLY FOR MACOSX) will upload all the externals placed in the Externals folder of the bundle standalone application. As far as I know it works fine . Why I have to create a stack myExternals ? Am I going to face some problems using this simple script at sturtUp of the application? Best regards, Paolo Mazza local NAMEAPP,LISTEXTERNALS on startup put empty into LISTEXTERNALS if the environment is not development then put the effective filename of this stack into INDIRIZZO set itemdelimiter to / put last item of INDIRIZZO into NAMEAPP --- get the names of the external placed in the externafolder of the standalone put the defaultfolder into FOLDER1 put the defaultfolder / NAMEAPP .app/Contents/MacOS/Externals/ into NOMECARTELLA put NOMECARTELLA into field cartella set the defaultfolder to NOMECARTELLA put the folders into LISTAFILES filter LISTAFILES without [.]* set the defaultfolder to FOLDER1 repeat for each line NAMEXTERNAL in LISTAFILES UPLOADEXT NAMEXTERNAL end repeat set the externals of this stack to LISTEXTERNALS end if end startup on UPLOADEXT NAMEXTERNAL put NAMEAPP .app/Contents/MacOS/Externals/ NAMEXTERNAL return after LISTEXTERNALS end UPLOADEXT ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setting paths to Externals
How to use Revolution use-revolution@lists.runrev.com writes: Sivakatirswami wrote: b) I tried everything under the sun to load an external by script. but I'm doing something wrong IN MACOSX 10.4.10 Intel I tryed everything under the sun to load the libkiosk.bundle external too. ...and at the end I found out that my stand alone application load the external only if I put the external in the folder where is placed the application ( the defaultfolder of the standalone application). Isn't strange this? ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Revolution stack always on top
Dear friends, how can I keep a revolution stack always on top and at the same time have an application working in background in MACOSX? In my application, using windowshape I can see the background application. But, if the user clicks on this application, the finder put on top this application and it show its menu. How can I prevent this? I tryed using the systemWindow property but it is not clear to me how it works on macosx. I want the revolution stack always on top, even if the user clicks on an other application. Any idea? Thanks Paolo ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution stack always on top
Thanks Eric, actually setting the systemWindow to true and the hide menubar I experience some problems: 1 - when I click on the desktop or on another application I get the menu of the finder or the menubar of the other application. 1 - when I click on another application I get the menu of the other application even . 2- even if I click on the rev application I can not activate the rev application and I am stucked. I can only click on buttons of the rev application. 3 - I do not see the dialog windows (eg command answer jhjh ) Best regards from Padova (30 chilometers far from Venice) Paolo How to use Revolution use-revolution@lists.runrev.com writes: Hi Paolo, Setting the systemWindow property to true should work as you expect it: The window is always on top of any other window (rev window or any other app window). I encourage you to check, uncheck and check again the box in the property palette: it does not seem to respond every time... Note that when a window is a system window, its style stays 'toplevel' even if the title bar becomes a palette title bar and the dock box is of course disabled. In addition, you can set the windowshape of such a window without affecting its systemwindow property but changing its decorations will set systemWindow to false... Le 16 nov. 07 à 09:48, paolo mazza a écrit : Dear friends, how can I keep a revolution stack always on top and at the same time have an application working in background in MACOSX? In my application, using windowshape I can see the background application. But, if the user clicks on this application, the finder put on top this application and it show its menu. How can I prevent this? I tryed using the systemWindow property but it is not clear to me how it works on macosx. I want the revolution stack always on top, even if the user clicks on an other application. Any idea? Thanks Paolo Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revdb_execute problem
Hi Mark, you wrote: With my experience using MS SQL, you define one statement (such as your UPDATE), then on the next line type in go (without the double quotes), then on the next line your next statement, then the go on the next line, etc. The program throws that to SQL and executes all the statements, sequentially. I haven't tried this from Rev, but we use this in our product whenever we deliver a patch for a customer to update/fix data - no problem. I tryed this. It does not work with the revExecuteSQL command. I got this error message from the MySQL server: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'go ... Ciao Paolo ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
syncronize MySQL to LDAP
Dear friends, I want both Mysql database and MACOSX server to use the same login information to authenticate users. How can I syncronize the information in the MySQL database to the LDAP database of MACOSX server? Can I use revolution to accomplish this task? Any idea? Thanks Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
close the answer dialog from script
Dear Friends, how can I close the answer dialog from script? I wrote this script to force the user to answer after X time. But I can not close the andswe dialog. Thanks Paolo global TempoIniziale,gTEMPOCONTROL on mouseUp put the seconds into TempoIniziale ControlloTempo answer You are great with OK end mouseUp on ControlloTempo put the seconds into TEMPO2 -- put TEMPO2 TempoIniziale return after message if (TEMPO2 - TempoIniziale) 4 then HOW CAN I CLOSE THE ANSWER DIALOG ?? exit to top else send ControlloTempo to me in 2 seconds put the result into gTEMPOCONTROL end if end ControlloTempo ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: close the answer dialog from script
Thanks for your help. I tryed to use the command close stack Answer Dialog Actually it closes the answer dialog but unfortunately the exit to top command in the following line does not work and the it does not stop. See this sample. This script put 2 into message even if I did not press any button. Have a good day. Paolo global TempoIniziale,gTEMPOCONTROL on mouseUp put the seconds into TempoIniziale ControlloTempo answer You are great with OK and Annulla if it is OK then put 1 into message else put 2 into message end if end mouseUp on ControlloTempo put the seconds into TEMPO2 -- put TEMPO2 TempoIniziale return after message if (TEMPO2 - TempoIniziale) 4 then close stack Answer Dialog exit to top else send ControlloTempo to me in 2 seconds put the result into gTEMPOCONTROL end if end ControlloTempo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: SQLite
Hi Liam, I can not find any specific tutorial for SQLite. In the video tutorial section of revolution site if found Thumbnail Kiosk - Simple MySQL Front End. which is about MySQL. Is there anything else? Thanks Paolo How to use Revolution use-revolution@lists.runrev.com writes: There is a tutorial look in Resources/Examples it is very good and easy to use good luck Liam IRELAND [EMAIL PROTECTED] ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: SQLite
Thank you all. It is very helpfull. Revolution Studio/2.8.1-gm-2/Resources/Examples/SQLite Sampler.rev ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
SQLite
I was told Rev 2.8.1. has Integrate Database Capabilities. (SQLite database engine). How can I use SQLite from Revolution? Is there a tutorial somewhere? Thanks Paolo ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
revolution in background catchig arrow keys
Dear revs, How can I have revolution in background catching arrow keys? I need this feauture for a small application that import a scrennshot any time the user press the arrow keys in Acrobat Reader program. I mean ...this is what I want to do: I open a Revolution stack. Then I open a pdf document (with a full screen presentation) using the program Acrobat Reader . I wuold like my revolution stack to import a scrennshot any time the user press the arrow key (and move to another slide). How can I do this in Macintosh? Any idea? Thanks Paolo Mazza ** Paolo Mazza NEOL SRL Società partecipata da Università di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Re:importing/exporting images with a transparent background
Thanks Jean-Paul . I think you are right. This has to be a bug and it is quite annoying one. I tryed this: I set the paintcompression to PNG I imported an image (png) I made a transparent hole with the eraser tool. I moved to another cardand come back IN MACOSX - the image is opaque and the hole is white IN WINDOWS - the image is opaque and the hole is black If I set the paintcompression to rle it works fine ... and Rev keeps the transparency. However, if I export this image to file as png I get the same problem. Thansparency has gone and the image is opaque with a white (MAC) of black (WINDOWS) hole! Any workaround for this? Thanks Paolo Mazza Le 9 déc. 06, à 19:00, Paolo Mazza a écrit : Dear Friends... I got a problem importing images with a transparent background... can you help me on this? 1-I imported a picture (png file made by another program) into revolution 2-I modifyed the image with the eraser tool and I got an area with a trasparent backgroung (as expected) 3- I exported this image as png 4- I imported this emage again, and in MACOS the trasparent background is white and the in WINDOWS the transparent backgound is black. I have got similar problems with PNG images and transparency. You can try this short experiment, , check if you get the same symptoms 1 (the paintcompression is set to PNG) 2 create any colored object 3 import a snapshot (of anything except the previous colored object ) and place it in front of the colored object 4 make a hole in the image, with the rubber for instance. Through the hole, a part of the previous object can be seen, (up to this point, no problem). 5 go to another card 6 come back to the card which contained the picture and its hole. Here a problem may arise if the image is larger than approximately one square centimeter On my mac computer , the image is completely opaque, the hole is closed, the rubbed out part of the image is now white. Strangely if the image is small enough, the transparency is still there ! this inconsistent behavior leads me to believe it is caused by a bug. If the compression is set to RLE, no problem. This is why I temporarily use only RLE compression, which is sufficient for my needs, as long as I don't use translucency and don't have to print the images. Cordialement, Jean-Paul. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
importing/exporting images with a transparent background
Dear Friends... I got a problem importing images with a transparent background... can you help me on this? 1-I imported a picture (png file made by another program) into revolution 2-I modifyed the image with the eraser tool and I got an area with a trasparent backgroung (as expected) 3- I exported this image as png 4- I imported this emage again, and in MACOS the trasparent background is white and the in WINDOWS the transparent backgound is black. How can I fix this? In addition : - when I import images with trasnparent background made by other programs i get a white backgound - when I draw a picture in revolution with a transparent backgorund, export it and import it again It works fine ... I get a transparent background Thanks Paolo Mazza ** Paolo Mazza NEOL SRL Società partecipata dall'Università di Padova via N. Tommaseo 84 35131 - Padova Tel 049- 2050147 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: v2.7 engine?
I need the CGI engine for MACOSX too Sarah Reichelt wrote: What engine should I be using for CGI stuff on OS X? At the moment I'm using the 2.1.2 Darwin engine as specified in Jacque's wonderful CGI tutorial, but I would love to change to 2.7 since I would not have to remember to save stacks in the old format all the time :-) That's the last Darwin engine. I asked for a new one quite a while ago, but so far, no go. Hardly anyone needs it, so I bet they've forgotten I mentioned it. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ** Paolo Mazza NEOL SRL Società partecipata dall'Università di Padova via N. Tommaseo 84 35131 - Padova Tel 049- 2050147 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
remove element from array
How can I delete (or remove) an element from an array so that it does not appear anymore in the keys of the array? Thanks Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: remove element from array
Thank you guys ... it is so simple! delete variable tArray[5] It was very kind of you. Bye Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevVideoGrabber
Using - iMAC intel - MACOSX 10.4.8 - QuickTime Player 7.1.3 videograbber does not load settings (compession). How can we fix this? Hmmm, I downloaded Malte Brill's uGrabIt (Videograbber) shareware, and that did not load settings either on all of my testing machines: G4, MacBook(Intel) and 17 Powebook G4, all with OS X 10.4.8 and QT 7.1.3. But this worked in earlier versions, I know! (Otherwise wouldn't have sold a single unit of his nice shareware ;-) So since I have QT 7.1.3, maybe Apple changed something here? Richard Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Paolo Mazza NEOL SRL Società partecipata dall'Università di Padova via N. Tommaseo 84 35131 - Padova Tel 049- 2050147 www.neol.it ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Externals in a standalone MacOSX
Where I am supposed to place the external in the standalone on OSX ? I am really confused I tryed to build a standalone with the EnhancedQT external in MACOSX In windows it works fine ... but in MACOSX it is a mess. I placed the enhancedQT.bundle inside the standalone package ... next to the application file and into the External folder ... it does not work. I set the external property to a relative path and to an absolute path... and in both cases it does not work. Where I am supposed to place the file? Will externals work both in Universal binary and PowerPc applications? Thanks Paolo Mazza Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Saving externals in a standalone on OSX?
Where I am supposed to place the external in the standalone on OSX ? I am really confused I tryed to build a standalone with the EnhancedQT external in MACOSX In windows it works fine ... but in MACOSX it is a mess. I placed the enhancedQT.bundle inside the standalone package ... next to the application file and into the External folder ... it does not work. Where I am supposed to place the damn file? Will externals work both in Universal binary and PowerPc applications? Thanks Paolo Mazza Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
remove html tags from text
just a simple task for Revolution! How can I remove html tags from text? i.e. from: try b solveb this httpk.hhkjhlkjlljkl= hkjh quiz /a to: try solve this quiz I should use a wildcard but filter TEXT with * does not work. It is only for a list. I do not want to put the Text in a field and use the HtmlText. Ciao Paolo Mazza Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: remove html tags from text
You are great ... so many solutions. I wuold go for ... (I did not know replaceText command could use wildcard) ... it is fantastic. I have to say documentation does not mention this. function stsStripHTML what put replaceText(what,.*?,) into noHTML return noHTML end stsStripHTML I did not know replaceText command could use wildcard as an argument ... it is fantastic. I have to say documentation does not mention this. I am really impressed by your smartness. Thanks Paolo Mazza Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: encode text to image
Thank you Dar . I have to store an image in a MySQL database and I was told I could store the text... it is not gonna work ... I thought it was like that but I wanted be sure that there was not a way to recover the imagedata from the text. So, I have to encode and decode the image data ... I tryed this way, but unfortunately , when I decode image data and upload it in in the database, some chars get lost. Ciao Paolo I imported an image as text (URL file:xxx) I wonder if I can convert the text file to binary and set the imagedata of an image to it If the image file format is inherently binary, such as PNG or JPEG, then you should read it as a binary file (URL binfile:). Reading a binary file as a text file will corrupt it. If it is really text, then it probably has some header information that includes the size, and then a bunch of numerals in decimal or hex. You need to know what its format is. From that, you can build imageData. If the file has an alpha channel (transparency) you can also build alphaData. After you have the image data, set the text of the image to empty then set the height and width of the image, then set the imageData (and alphaData). (I'm going by memory; there might be a flaw in that.) If the image file is really JPEG or PNG then simply set the text of the image to the value. Dar Scott Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Cgi function
JB, I am Just trying this in MACOSX As far as I know the last Rev engine for MacOSX is 2.5 If I send revSetDatabaseDriverPath to Rev 2.5 i get an error. Are you sure the mySQL Library is included in the 2.5 engine? How can I check this? Thanks Paolo How to use Revolution use-revolution@lists.runrev.com writes: On 8/30/06 5:18 PM, jbv [EMAIL PROTECTED] wrote: put /usr/local/bin/ into path revSetDatabaseDriverPath path Hi, doesn't work, Internal error. Tanks, Hershel Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
encode text to image
I imported an image as text (URL file:xxx) I wonder if I can convert the text file to binary and set the imagedata of an image to it Ciao Paolo Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
From CGI to MySQL database
Some months ago I tryed to read/write from a CGI -revolution to a MySQL database in the web server. For some reasons it did not work and I gave up. Now I reconsidering this opportunity... but i wonder if is possible.. Any of you have never experienced this? Where am I supposed to place the database drivers? Ciao Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Runtime Revolution Newsletter Issue 6
Dear friends i really apreciated the last issue of Runtime Revolution Newsletter . For some reasons I have not received Runtime Revolution Newsletter Issue 5. In the home page (runrev.com) the last newsletter published is number 4. Where can I get the Runtime Revolution Newsletter Issue 5? Best regards, Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: video/audio capture and more
Hi Sivakatirswami, I was looking for a solution to record screen action to a mov file and I went through your message in the lista. Were you able to import screen action into Revolution at the end? Ciao Paolo Mazza (Italy) How to use Revolution use-revolution@lists.runrev.com writes: I was checking out video grabber. Am I correct that video grabber can only work with an external video input? i.e. we are not able to grab the current screen action as video and save it to a foo.mov file, along with the internal, USB mic feed at the same time SnapZPro is giving me trouble on attempts to save 1024 X 728 over 20 minutes... I guess the file is just so enormous as to be impossible. And that was on a G5 with a dual processor. I wrote Ambrozia software with a query about that but did not get a response. If anyone has solutions for the Mac to capture a full screen rect + live audio feed -- QT movie (20 minute presentations) let me know... goal is to send this to DVD format for final output via DVD players. Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: video/audio capture and more
Talking about video/audio capture ... How can I set audio recording from revolution? As far as I know I have two commands to set video recording revVideoGrabDialog revVideoGrabSettings but I have none to set audio recording? (in rev 2.7.2) Thanks Paolo Mazza How to use Revolution use-revolution@lists.runrev.com writes: Hi Sivakatirswami, I was looking for a solution to record screen action to a mov file and I went through your message in the lista. Were you able to import screen action into Revolution at the end? Ciao Paolo Mazza (Italy) How to use Revolution use-revolution@lists.runrev.com writes: I was checking out video grabber. Am I correct that video grabber can only work with an external video input? i.e. we are not able to grab the current screen action as video and save it to a foo.mov file, along with the internal, USB mic feed at the same time SnapZPro is giving me trouble on attempts to save 1024 X 728 over 20 minutes... I guess the file is just so enormous as to be impossible. And that was on a G5 with a dual processor. I wrote Ambrozia software with a query about that but did not get a response. If anyone has solutions for the Mac to capture a full screen rect + live audio feed -- QT movie (20 minute presentations) let me know... goal is to send this to DVD format for final output via DVD players. Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: video/audio capture and more
Talking about video/audio capture... I tryed to set audio using command: RevSetVideoGrabAudio true, 1, 8, 11025 Unfortunately, it does not work in MACOSX and Rev 2.7.2 What I get, regardless of any setting, is a big file with audio set to: 16-bit Intero (Endian grande), Mono, 48,000 kHz ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: videograbber sound encoding preferences
Hi Richard and Trevor I tryed RevSetVideoGrabAudio on MACOSX ... it looks like it does not work. It is a pity because all other feautures of the video capture stack (from tutorials) work grate but unfortunately the size of the files are very big (i guess because of the uncompressed Audio track) How to use Revolution use-revolution@lists.runrev.com su domenica 16 aprile 2006 alle 12.37 +0100 ha scritto: RevSetVideoGrabAudio true, audiochannels, audiobits, audiofrequeny audiochannels = 1 or 2 audiobits = 8 or 16 audiofrequency = 11025, 22050 or 44100 I tend to use: RevSetVideoGrabAudio true, 1, 8, 11025 Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
videograbber sound encoding preferences
Hi Pierre, some months ago you wrote in the list: Under the Tiger platform and in using QT7 and an iSight cam as video input, are they some ones, here, whose went successifull with setting up the videograbber sound encoding preferences ? I just could set the video encoding prefs to 3ivxD4 in using the revVideoGrabDialog format command but could'nt find the (undocumented ?) one to use to avoid to have to record the sound in the default uncompressed format (16-bit Entier (Gros Boutien), Mono, 48,000 Khz). Did you find a solution for recording sound? Ciao Paolo Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problem with Videograbber on Intel iMac
Hi Tohm I have not an IntelMac .. so I do not know how can I help you. I just started to write an application for recording video using Revolution Videograbber commands. Where did you find documentation about Videograbber commands in Revolution. Where can I find a stack as a sample of these procedures? I just got Video input.rev... but it is basic . Ciao Paolo How to use Revolution use-revolution@lists.runrev.com su lunedì 10 aprile 2006 alle 7.49 +0100 ha scritto: Hi, I can't get videograbber to preview or record video on an Intel iMac running Revolution 2.6. It does grab stills. Any ideas? Everything works fine on my Powerbook G4. Thanks, Tohm Paolo Mazza NEOL SRL Via Calatafimi, 16 - 35137 PADOVA www.neol.it [EMAIL PROTECTED] Tel 049-7386590 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Stack for use-revolution list archive
I wonder if someone has developed a stack to browse/search the messages downloaded from the use-revolution list archive . I think it would be very useful for Revolutionaries. Ciao Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Stack for use-revolution list archive
I wonder if someone has developed a stack to browse/search the messages downloaded from the use-revolution list archive . I think it would be very useful for Revolutionaries. Ciao Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
selectedChunk in MAC and Windows
Referring to the selectedChunk property, I noticed there is a different behaviour in Mac and Windows. Try this: After selecting a word in a text field if I press a button with put the selectedChunk in MAC it returs char 1 to 9 of field 1 in windows it returns empty The poin is that in MAC it keeps the selection after pressing the button, in windows no. Is it a bug or what? I transferd exactly the same stack. Best regards Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
broadcaster
I know revolution can do almost everythingbut I wonder if I can develope a broadcaster using revolution+Quicktime. I mean .. I need my application to broadcast a video streaming to a quicktime file . Best regards, Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
CGI MYSQL MACOSX
Why I can not connect to database from the CGI of revolution in MAC OSX ? I got Internal Server Error from Apache anytime I try to connect to database. I have - MACOSX 10.4 - Darwin Engine 2.5 that I got from ftp://ftp.runrev.com/pub/revolution/downloads/engines/2.1.2/Darwin.gz and people said it is the last version of the Darwin engine that had the database drivers included - Apache web server - Mysql database running on the same machine That's the script I placed in the cgi-bin folder #!revolution -ui on startup put revdb_connect(MySQL,192.168.0.43,database,user,psw) into buffer put Content-Type: text/plain cr put Content-Length: the length of buffer cr cr put buffer end startup If I open Revolution and I place put revdb_connect(MySQL,192.168.0.43,database,user,psw) into message I always get an integer... MySQL works and the command is correct. Thank you Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Most Recent Darwin Engine
You wrote: I think that is the last one that was officially released. where can I download the last darwin engine from? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
CGI Revolution MACOSX
I am looking for a darwin engine of Revolution (version 2.6) for MacOSX I tryed to copy the program from the application folder but .. it does not work. I need to connect to a Mysql database ... how can I do it? The present version of the Revolution engine in my CGI is 2.5 and does not work with Mysql ... I guess because it has not the correc drivers. I have been looking for a while to solve this problem. I need your help. Thank you Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
CGI and MSQL in MAC OSX
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 . Than you all Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Darwin engine and AppleScript in CGI's?
Hi Mark, how can I copy the engine from the Rev app bundle 2.6? How can I have the CGI/REV connect to a Mysql database? Do I need to copy any driver? Thank you Paolo Mazza YOU WROTE: Just a small word of warning to those copying the engine from the Revolution app bundle ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: CGI and MSQL in MAC OSX
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 connect to the DB. So.. I do not know why. Ciao Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Darwin engine and AppleScript in CGI's?
Thank You Klaus I did as you said .. I set permissions but still my cgi does not work. With the engine of Rev 2.6 I get Internal Service Errore With the engine 2.5 the cgi works. Do not know why. Ciao Paolo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: CGI and MSQL in MAC OSX
Dave, may I ask you where did you find the package? Thank you anyway. Ciao Paolo OK. I found the source. It was included with the Darwin engine package that I originally downloaded. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Darwin engine and AppleScript in CGI's?
Hi Andre, you wrote try pulling the executable out of MacOS X bundle and using it as the CGI engine . What do you mean exactly? Where is the executable in the MACOSX bundle? I tryed to move the Revolution file but I got an internal Server Error. You wrote : use it with the -ui parameter . What does it mean exactly this parameter? Thank you Paolo Mazza How to use Revolution use-revolution@lists.runrev.com on Mercoledì, 31 agosto 2005 at 19:08 +0100 wrote: On Aug 31, 2005, at 2:31 PM, Mark Smith wrote: Ah...that explains a few things. Thanks for the info. Cheers, Mark Mark, I am betting here okay, but try pulling the executable out of MacOS X bundle and using it as the CGI engine, use it with the -ui parameter. It works fine. I just pulled mine, put it on /Library/ WebSever/CGI-Executables and created this test.cgi script: #!Revolution -ui on startup put Engine Version: version() cr put Languages: the alternateLanguages get format(tell application \Finder\\ndisplay dialog \Hello World! \\nend tell\n) do it as applescript put it the result end startup The result is fine: Engine Version: 2.6.5 Languages: applescript tell application Finder display dialog Hello World! end tell {button returned:OK} Decided not to include the shot of the dialog box but it appeared nice!!! Happy AppleScripting and Transcript coding. Cheers andre On 31 Aug 2005, at 17:21, Mark Waddingham wrote: The Darwin engines are just like they say on the tin - compiled for Darwin :o) Darwin is the BSD-derived UNIX base for MacOS X and due to this none of the MacOS X specific APIs are available to compile against (in this mode). Indeed, the engine itself is compiled using the internal POSIX porting layer inline with the other UNIX engines. Therefore, when looking for what is available in the Darwin engine, look in the documentation for what is supported by UNIX/Linux, rather than OS X. Warmest Regards, Mark. -- Mark Waddingham ~ [EMAIL PROTECTED] ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: CGI MAC OSX
[EMAIL PROTECTED] on Venerdì, 22 luglio 2005 at 19:19 +0100 wrote: The last Darwin engine available is 2.1.2. This version still works fine. You can get it here: http://www.runrev.com/downloads/engines/2.1.2/cgi/osx.zip Why only the engines for windows and Linux are available? I would like to connect to a My-sql database from the CGI and I think I am going to face some problems using 2.1.2 version of Rev. Best regards ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: CGI MAC OSX
Hi Eric thank you for your advice. However, I do not think the actual program would work as a CGI. I am looking for the a recent engine of Revolution to place in the cgi-bin of a MAC OSX server. ciao Paolo How to use Revolution use-revolution@lists.runrev.com on Venerdì, 22 luglio 2005 at 14:36 +0100 wrote: Benvenuto Paolo, http://downloads.runrev.com/revolution/ Le 22 juil. 05 à 15:36, paolo mazza a écrit : Hi revs, I am looking for a MAC OSX engine of Revolution. I need to install it in a MAC OSX server as CGI. In the ftp.runrev.com I found the REV 2.5 engines for WINDOWS and LINUX. Where can I find the engine for the MAC OS X ? Best regards Riguardi migliori da Parigi, Eric Chatonet. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
CGI MAC OSX
Hi revs, I am looking for a MAC OSX engine of Revolution. I need to install it in a MAC OSX server as CGI. In the ftp.runrev.com I found the REV 2.5 engines for WINDOWS and LINUX. Where can I find the engine for the MAC OS X ? Best regards Paolo Mazza ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
I want my rev-application to collect data from a barcode scanner in background . In other words, I want to use my PC (WIN-XP) with other programs and at the same time I want my application to collect and save data from the barcode scanner. Is it possible? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Thanks to everybody. I really appreciated your suggestions on the barcode issue. I will buy a barcode scanner tomorrow, I will test your script and let you know. I am supposed to set up a Personnel control System using a win-PC and Revolution. Best regards, Paolo Mazza Venerdì, 26 Nov 2004, alle 00:45 Europe/Rome, Sarah Reichelt ha scritto: Hi Paolo, As Roger pointed out, I have a Barcode Tester stack that will help, as well as a stack that creates Code 128 barcodes if that is any use. As others have said, the barcode scanner is exactly the same as a keyboard, all you have to do is work out what rawKey code your barcode scanner sends to indicate the end of a scan. Mine uses 65293 so here are the scripts I need: -- Any keyDown on the listed cards is taken as being a barcode character. -- on keyDown theKey put Front,Packing,Storing into codeCards if the short name of this card is in codeCards then put theKey after fld Barcode else pass keyDown end if end keyDown -- When the end character is received, process the characters -- that have already arrived. -- Don't forget to clear the Barcode field afterwards. -- on rawKeyDown theKey if theKey = 65293 then put the short name of this card into cardName send mouseUp to btn Process Barcode of cd cardName else pass rawKeyDown end if end rawKeyDown Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/ Check out Sarah's Barcode Tester stack at http://www.troz.net/Rev/ I think it will provide exactly what you are looking for. Kind Regards, Roger Eller [EMAIL PROTECTED] On 11/25/2004 at 6:06 AM, Paolo Mazza wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Hi, thak you for offering your Mac Apple Desktop Bus bar code scanners. However I think l I need a USB code scanner too. Any suggestion for a reliable and not expensive USB code scanner? ciao Paolo Mazza Giovedì, 25 Nov 2004, alle 15:20 Europe/Rome, kee nethery ha scritto: bar code scanners act just like a keyboard. You select the field that you want the scanner to type into, scan the bar code, and assuming you configured your bar code scanner to end transmission with a return, the return in field command will tell the field that it is time to process what just got typed into it. To summarize, bar code scanner = keyboard Kee Nethery BTW, I have two Mac Apple Desktop Bus bar code scanners that anyone on this list can have for free if they pay shipping. We switched to USB and these work fine but we no longer need them. On Nov 25, 2004, at 5:06 AM, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to store read/write files on multi-user systems
Thanks Trevor, it is fine - I can use shell command. But given the fact that both MAC OS X and WINDOWS XP are multi-user systems, I think Revolution should take into consideration this point and set an option on the Build standalone panel for multi-user application. I think it would be a very useful feature for the next release of Revolution. Your suggestions would be a good start, and I think they are consistent with standard procedures both for MAC OS X and for WINDOWS XP. I do not know for the other systems. Windows XP/2000 * User specific preference files (4 in my list above)- C:/Documents and Settings/USERNAME/Application Data/MYAPP specialFolderPath(26) * Shared files writable by everyone (2 and 3)- C:/Documents and Settings/All Users/Application Data/MYAPP specialFolderPath(35) Mac OS X * User specific preference files (4)- /Users/USERNAME/Library/Preferences/MYAPP specialFolderPath(pref) * Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP specialFolderPath(sdat) SET PERMISSIONS get shell(chmod 666 quote MY_FILE_PATH quote) Ciao Paolo Mazza Venerdì, 4 Giu 2004, alle 19:47 Europe/Rome, Trevor DeVore ha scritto: On Jun 4, 2004, at 11:31 AM, paolo wrote: Referring to MAC OS X I think this is fine: Mac OS X * User specific preference files (4)- /Users/USERNAME/Library/Preferences/MYAPP specialFolderPath(pref) * Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP specialFolderPath(sdat) However, you have to set permission accordingly. As far as I know there is not a way to set permissions from Revolution when you create a file (right?) .. so you can have problems to read/write files created by an other user. You can use the shell command to change the permissions. I think you would want to chmod 666 the file to make it read/writable by everyone. -- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Forward on LibCGI 1.0
I have been using LibCGI 1.0 [ANN] for a while. It is great. However my server refuse the Forward command to redirect remote users libCGI_Forward http://www.X; does not work ... any suggestion? All the other handlers work. Best regards, Paolo ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Unix linebreaks and permissions
I have to put a field of my stack into a text file posted on a remote Linux server. I can use put field XXX into URL http://myserver; . But how can I set Unix linebreaks? how can i set perpissions? Ciao Paolo ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Linux Engine: Problems on Red Hat server with CGI
I wonder if you solved the problem. I would like to use the Linux Engine on a Red Hat server but it looks like it is not going to work. I installed an old Linux Engine of Revolution 1.1 into my CGI folder of MAC OS X and it works. On the contrary I tried to instal the Darwin engine of Revolution on the CGI folder of MAC OS X ... and I got the 500 Error from Apache. Best regards, Paolo Mazza Sabato, 29 Nov 2003, alle 08:44 Europe/Rome, Sannyasin Sivakatirswami ha scritto: OK, Alex, good call... we dug up an old (I mean *really* old -- built for Linux RH 6.2) MC linux engine, and it works! No missing libraries on execute cgi. But that certainly doesn't help with present day attempts, as you rightly point out. Tuviah... good luck on our work. ..keep us posted. On Nov 27, 2003, at 9:14 AM, Alex Rice wrote: On Nov 27, 2003, at 11:58 AM, Sannyasin Sivakatirswami wrote: Thanks for everyone's helpful responses. But our linux man couldn't make a go of it... he writes: You simply need to find a Rev or MC engine that does not dynamically link with all of those X libraries. Tuviah said he was working on one. But that doesn't help you now. I would look for old Rev and MC engines and see if they do not have this problem too. I suspect it was not always this way because obviously it makes it impossible for a lot of people to deploy CGIs with all of these library dependencies. Alex Rice [EMAIL PROTECTED] | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Determining which menu button was clicked on Mac
I would set script of the menubutton to : on menuPick pWhich put the text of me into TESTO switch pWhich case (line 1 of TESTO) if line 1 of TESTO is play then -- do something put stop into line 1 of TESTO else put play into line 1 of TESTO -- do something end if set the text of me to TESTO break case (line 2 of TESTO) beep 1 break end switch end menuPick However it would be very useful to have a MenuPickNumber returned by Revolution any time a menu item (or a sub-menu item) has been clicked, So, we could easily change the text of the button and let the script unchanged (for example when we have a menu issued in different languages). Best regards Paolo Mazza Giovedì, 8 Gen 2004, alle 06:40 Europe/Rome, Trevor DeVore ha scritto: On Jan 7, 2004, at 6:26 PM, Björnke von Gierke wrote: I had a similar problem like you, where I wanted to check/unckeck a menu item before the menu is shown. And indeed I was unable to do this anywhere else then the menubar group's script on OS X. I worked around this by using a if the target = view then script. It might be time for a feature request? Where would you put the 'if the target = view then' script? I tried checking 'the target' in the menubar group script but it returned the name of the menubar group rather than the name of the menu that was selected. -- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution