When my relatives moved to Linux
I made a jolly little stack (on a Mac computer), Family.rev, to test my kids' knowledge of word such as aunt, uncle, cousin and so on. It is available on RevOnline: Family Words So, took it downstairs and popped it on my Linux boxes and . . . dull thud! an important part of the functionality would not work. Card 2 features a family tree with 14 text boxes for end-users to fill in with kinship terms [doesn't it sound all pompous and pseudo-academic when I use words like 'end-users' and 'kinship terms' instead of 'kids' and 'family words'? - jargonised nonsense really] and by each textbox there is a 'tick' image - when the kid clicks on it, it checks the content of the textbox and how many other textboxes have had text entered correctly into them; if that total is 14 it send a 'go next' signal. Worked on Mac, Nothing doing on Linux. Help gratefully received, Richmond Mathewson Its time to do Philosophy and stop worrying about what dead men said. Mathewson 2006 ___ Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html ___ 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: When my relatives moved to Linux
FWIW, it seems to work as intended on Windows. Now, what exactly happens on Linux? And which flavor of Linux? I looked at the script of your stack... you really like the brute force approach to programming, it seems! I can't quite figure out what it all does or how... maybe you could run the debugger and at least indicate where it seems to go south in the code? Richmond Mathewson reported: I made a jolly little stack (on a Mac computer), [...] Worked on Mac, Nothing doing on Linux. ___ 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: When my relatives moved to Linux
Followup: Are you running this on Linux as a standalone? I bet you are, because the stack doesn't work on Windows or Mac as a standalone, either. You're running into the 10-statement runtime limitation with that do field 'fSum' business. Easy way to fix that: put 0 into fld SSS repeat with i = 1 to 14 if the vis of img(Y i) = true then add 1 to fld SSS end repeat put fld SSS into SSUM if SSum = 14 then doSuccess else put empty into fld SSS end if Then in the card or stack script, on doSuccess wait 50 ticks visual effect venetian blinds go next end doSuccess The loop condenses your brute force script considerably. Or, just put the whole thing into an object that is static. Bill Marriott [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] FWIW, it seems to work as intended on Windows. Now, what exactly happens on Linux? And which flavor of Linux? I looked at the script of your stack... you really like the brute force approach to programming, it seems! I can't quite figure out what it all does or how... maybe you could run the debugger and at least indicate where it seems to go south in the code? Richmond Mathewson reported: I made a jolly little stack (on a Mac computer), [...] Worked on Mac, Nothing doing on Linux. ___ 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: When my relatives moved to Linux
Works fine on Suse Linux 10 and Rev 2.6.1 - after I reread your mail and actually played it properly and clicked the check marks! You're a lot younger than I imagined you - that picture IS up to date, isn't it?? JC Richmond Mathewson wrote: I made a jolly little stack (on a Mac computer), Family.rev, to test my kids' knowledge of word such as aunt, uncle, cousin and so on. It is available on RevOnline: Family Words So, took it downstairs and popped it on my Linux boxes and . . . dull thud! an important part of the functionality would not work. Card 2 features a family tree with 14 text boxes for end-users to fill in with kinship terms [doesn't it sound all pompous and pseudo-academic when I use words like 'end-users' and 'kinship terms' instead of 'kids' and 'family words'? - jargonised nonsense really] and by each textbox there is a 'tick' image - when the kid clicks on it, it checks the content of the textbox and how many other textboxes have had text entered correctly into them; if that total is 14 it send a 'go next' signal. Worked on Mac, Nothing doing on Linux. Help gratefully received, Richmond Mathewson Its time to do Philosophy and stop worrying about what dead men said. Mathewson 2006 ___ Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html ___ 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: When my relatives moved to Linux
OK - so I had to read your email one more time - ignore picture remark! John Craig wrote: Works fine on Suse Linux 10 and Rev 2.6.1 - after I reread your mail and actually played it properly and clicked the check marks! You're a lot younger than I imagined you - that picture IS up to date, isn't it?? JC Richmond Mathewson wrote: I made a jolly little stack (on a Mac computer), Family.rev, to test my kids' knowledge of word such as aunt, uncle, cousin and so on. It is available on RevOnline: Family Words So, took it downstairs and popped it on my Linux boxes and . . . dull thud! an important part of the functionality would not work. Card 2 features a family tree with 14 text boxes for end-users to fill in with kinship terms [doesn't it sound all pompous and pseudo-academic when I use words like 'end-users' and 'kinship terms' instead of 'kids' and 'family words'? - jargonised nonsense really] and by each textbox there is a 'tick' image - when the kid clicks on it, it checks the content of the textbox and how many other textboxes have had text entered correctly into them; if that total is 14 it send a 'go next' signal. Worked on Mac, Nothing doing on Linux. Help gratefully received, Richmond Mathewson Its time to do Philosophy and stop worrying about what dead men said. Mathewson 2006 ___ Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html ___ 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: When my relatives moved to Linux
Didn't work as standalone on Suse either. Bill Marriott wrote: Followup: Are you running this on Linux as a standalone? I bet you are, because the stack doesn't work on Windows or Mac as a standalone, either. You're running into the 10-statement runtime limitation with that do field 'fSum' business. Easy way to fix that: put 0 into fld SSS repeat with i = 1 to 14 if the vis of img(Y i) = true then add 1 to fld SSS end repeat put fld SSS into SSUM if SSum = 14 then doSuccess else put empty into fld SSS end if Then in the card or stack script, on doSuccess wait 50 ticks visual effect venetian blinds go next end doSuccess The loop condenses your brute force script considerably. Or, just put the whole thing into an object that is static. Bill Marriott [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] FWIW, it seems to work as intended on Windows. Now, what exactly happens on Linux? And which flavor of Linux? I looked at the script of your stack... you really like the brute force approach to programming, it seems! I can't quite figure out what it all does or how... maybe you could run the debugger and at least indicate where it seems to go south in the code? Richmond Mathewson reported: I made a jolly little stack (on a Mac computer), [...] Worked on Mac, Nothing doing on Linux. ___ 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
libURLSetStatusCallback
Dave, Thanks that works great. I'm still not understanding how the libUrlSetStatusCallback works. I've been reading the docs and I keep getting an error with the following test code: libURLSetStatusCallback myProgress,the long ID of me go stack URL http://www.x12help.com/mystack.rev; in a new window put myProgress into fld tester I have a button that is executing the code above and an empty field called tester. From what I've read I think the messages is going into MyProgress which I think I should be able to put out to a field or progress bar. I keep getting the error below. I'd appreciate any help I could get. Jeff executing at 9:45:37 AM Type Chunk: no such object Object Monitor Line put myProgress into fld tester Hint tester On 8 Nov 2006, at 22:04, jhonken wrote: How would you catch an error with the Go Stack URL if the URL was non existant would you use the URLStatus? Also can you combine the Go Stack URL with the URLStatus and feed it to a progrress bar? You won't be able to use urlStatus, but you can use libUrlSetStatusCallback to track the progress. As for checking errors, it is probably easier to check the result. go stack url myUrl put the result into tRes if tRes is not empty then answer tRes end if 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
cscreen shell command
Hi, Would somebody be kind enough to send me a copy of cscreen. Apparently, the authors site is down for an indefinite period of time. Thanks in advance, Jon -- ___ 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: libURLSetStatusCallback
On 9 Nov 2006, at 14:55, jhonken wrote: Dave, Thanks that works great. I'm still not understanding how the libUrlSetStatusCallback works. I've been reading the docs and I keep getting an error with the following test code: libURLSetStatusCallback myProgress,the long ID of me go stack URL http://www.x12help.com/mystack.rev; in a new window put myProgress into fld tester I have a button that is executing the code above and an empty field called tester. myProgress is the name of a handler (message). Try something like this: on mouseUp libURLSetStatusCallback myProgress,the long ID of me go stack URL http://www.x12help.com/mystack.rev; end mouseUp on myProgress pUrl, pStatusString put pStatusString into field tester end myProgress 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: Clipboard Anomally [BUG]?
Kay, Isn't there a simpler recipe...like open up BBEdit, select text, copy, then paste into fld text? Frankly, I'm not sure I even understand where the bug lies, the failure to copy the text by Rev, or the failure of Automator to put the text on the clipboard in a timely matter? If I were you, I might want to try and distill this into a simpler form, where anyone can recreate the bug in the minimal number of steps, w/out introducing so many different outside variables. Oh, and I might try: wait 10 seconds with messages Good luck! -Chipp ___ 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 CGI, Linux, MySQL, invalid database type
Hi I'm getting the often mentioned invalid database type when connecting to a MySQL server from a Rev CGI on Linux. I've done this successfully before, but not on this server. So I'm wondering what I've forgotten or overlooked. The CGI setup is fine. Non-database CGIs work. The Rev engine I'm using is version 2.6.1 (that's the engine version). I'm using revdb_setdriverpath to set the driver path. The MySQL version is 3.23.58. Is it possible the driver from Rev 2.1.2 (equivalent revVersion package) doesn't work with that version? (I used it before with MySQL 4.x. The revdb_connect line is like this: put revdb_connect(mysql,sDBHost,sDBName,sDBUser,sDBPass) into sDBID I've tried mysql in various case combinations, but with no luck. (It worked in lower case before.) Any help appreciated. 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: cscreen shell command
Assuming there are no copyright issues... http://economy-x-talk.com/software/cscreen.zip Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 9-nov-2006, om 17:36 heeft Jon Adams het volgende geschreven: Hi, Would somebody be kind enough to send me a copy of cscreen. Apparently, the authors site is down for an indefinite period of time. Thanks in advance, Jon ___ 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, Linux, MySQL, invalid database type
Hi Dave, try executing in mySQL admin before connecting to the database: SET PASSWORD FOR 'user'@'host'=OLD_PASSWORD('password'); hint source: http://www.sonsothunder.com/devres/revolution/tips/data004.htm Viktoras ---Original Message--- From: Dave Cragg Date: 11/09/06 18:06:40 To: How to use Revolution Subject: Rev CGI, Linux, MySQL, invalid database type Hi I'm getting the often mentioned invalid database type when connecting to a MySQL server from a Rev CGI on Linux. I've done this successfully before, but not on this server. So I'm wondering what I've forgotten or overlooked. The CGI setup is fine. Non-database CGIs work. The Rev engine I'm using is version 2.6.1 (that's the engine version). I'm using revdb_setdriverpath to set the driver path. The MySQL version is 3.23.58. Is it possible the driver from Rev 2.1.2 (equivalent revVersion package) doesn't work with that version? (I used it before with MySQL 4.x. The revdb_connect line is like this: put revdb_connect(mysql,sDBHost,sDBName,sDBUser,sDBPass) into sDBID I've tried mysql in various case combinations, but with no luck. (It worked in lower case before.) Any help appreciated. 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 ___ 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, Linux, MySQL, invalid database type
Hi Dave, You might try: chmod 774 dbmysql.so and failing that chown apache:apache dbmysql.so (assuming your cgis run as apache) and then tweak back to the appropriate level of security for your instance. -- cb On 11/9/06, Viktoras Didziulis [EMAIL PROTECTED] wrote: Hi Dave, try executing in mySQL admin before connecting to the database: SET PASSWORD FOR 'user'@'host'=OLD_PASSWORD('password'); hint source: http://www.sonsothunder.com/devres/revolution/tips/data004.htm Viktoras ---Original Message--- From: Dave Cragg Date: 11/09/06 18:06:40 To: How to use Revolution Subject: Rev CGI, Linux, MySQL, invalid database type Hi I'm getting the often mentioned invalid database type when connecting to a MySQL server from a Rev CGI on Linux. I've done this successfully before, but not on this server. So I'm wondering what I've forgotten or overlooked. The CGI setup is fine. Non-database CGIs work. The Rev engine I'm using is version 2.6.1 (that's the engine version). I'm using revdb_setdriverpath to set the driver path. The MySQL version is 3.23.58. Is it possible the driver from Rev 2.1.2 (equivalent revVersion package) doesn't work with that version? (I used it before with MySQL 4.x. The revdb_connect line is like this: put revdb_connect(mysql,sDBHost,sDBName,sDBUser,sDBPass) into sDBID I've tried mysql in various case combinations, but with no luck. (It worked in lower case before.) Any help appreciated. 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 ___ 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: libURLSetStatusCallback
Dave, Again that worked great. I'm going to try to feed it into a progress bar next. Jeff -Original Message- From: Dave Cragg [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 10:53 AM To: How to use Revolution Subject: Re: libURLSetStatusCallback On 9 Nov 2006, at 14:55, jhonken wrote: Dave, Thanks that works great. I'm still not understanding how the libUrlSetStatusCallback works. I've been reading the docs and I keep getting an error with the following test code: libURLSetStatusCallback myProgress,the long ID of me go stack URL http://www.x12help.com/mystack.rev; in a new window put myProgress into fld tester I have a button that is executing the code above and an empty field called tester. myProgress is the name of a handler (message). Try something like this: on mouseUp libURLSetStatusCallback myProgress,the long ID of me go stack URL http://www.x12help.com/mystack.rev; end mouseUp on myProgress pUrl, pStatusString put pStatusString into field tester end myProgress 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 ___ 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: Newbie information and list attitude
Welcome, Francis! Old hand newbies, newbie old hands, old hand old hands and newbie newbies are all welcome with their contributions that enrich everyone's experience. No one knows everything, we all have our own areas of uncertainty, and every question, every answer, every comment is a potential goldmine for someone. /H .../... I have benefitted enormously from this forum because you guys know so much (and yet I have 30 years of experience in programming). I have not often given to this forum because I'm reticent to offer my limited knowledge (and also very slow on the draw !), but I hope to remedy this situation ... .../... ___ 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
Thanks to all the non-native English speakers
It occured to me that credit should be given to all those whose mother tongue is not English for writing here. It is hard enough to write in a foreign language, but all you guys and gals have to do it in a 'technical' way as well. The time needed to transfer your thoughts into English should not be under-estimated, especially when 'we' take it all for granted. /H ___ 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 Letter to Rev: Quality Is Job #1
On 7 Nov 2006, at 18:39, Marielle Lange wrote: Luis wrote in response to Jacque: And, when elaborating a point for which you have no control is an especially telling consequence of an inability to be forthcoming with the facts. Just a thought. The above is a weak and wordy way of calling Jacque a liar. Can you please stop this!? My own understanding is that you put in Luis' mouth words he never had. Take the facts: I had *exactly* the same problems as Luis. I sent 3 emails to support, spaced by a week, I only got an answer only on the third email. Take his perspective. He is a new guy, he tries to send emails to support, they don't get answered what is he supposed to think? Ok, I see this, but isn't there an auto-responder assigning a ticket number to the problem? If this was received, obviously the RunRev servers got the message. If you'd didn't then the message was never logged on the system, therefore the reason it got dropped needs to be figured out. Conclusion: Don't reply to an old ticket if you want to be sure that your request is treated promptly See above, if there is not a new ticket number supplied then it didn't get through. 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
When my relatives moved to Linux
Thank all of you for the help. Although, I have to say that my favourite bit was the picture comment :) That photograph was a random kiddo I pulled off the net - most of my pupils are aged between 6 and 10 years old and don't want a photo of the 44 year-old goat spoiling their learning experience. I thought the 10 statement limitation was confined to the old Free 2.0.1 version. I built standalones on Linux using the Free Novell Linux 2.2 version. I haven't tried building a standalone on Mac as had no need to. Am I to take it that standalones - however they are built (!!!) - have constraints placed upon them that are not placed, for example, on stacks running with a stack runner variant? sincerely, Richmond Mathewson Its time to do Philosophy and stop worrying about what dead men said. Mathewson 2006 ___ Yahoo! Messenger - with free PC-PC calling and photo sharing. http://uk.messenger.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
re: When my relatives moved to Linux
Am I to take it that standalones - however they are built (!!!) - have constraints placed upon them that are not placed, for example, on stacks running with a stack runner variant? You can test it for yourself by just having a standalone/player execute this: answer the scriptLimits Whilst the items are all 0,0,0,0 in the IDE, they will have non-zero values when executed in the standalone. I don't have any player here, but it is my belief that a player is just another standalone. Bernard ___ 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: Thanks to all the non-native English speakers
If one looks at the frappr map, it looks like about half of the users might be non-native English speakers (I know the map is only the tip of the ice-berg - I'm not even on it myself): http://www.frappr.com/runtimerevolution (to get the map to display in Firefox I find I have to go and look at some of the photos, then go back to the map page to get it load the actual map) Since a large proportion of the most knowledgeable rev users seem to be non-native English speakers, it makes one wonder if the English- like nature of Transcript is of much benefit. Maybe it is just the 'natural language' like nature of Transcript that makes it appealing and useful :-) I think we should also be aware of the extra difficulty in reading the documentation that is only in English (not that I expect runrev to translate it into multiple languages). There are times myself when I mis-read the nuance of something that is actually quite clearly documented, and in my own native tongue. The scary thought is that sometimes I only realise after some months of reading comments by some users on the list, that English is not that person's first language. Good programmers, and good linguists... They put me to shame on both counts! Bernard It occured to me that credit should be given to all those whose mother tongue is not English for writing here. It is hard enough to write in a foreign language, but all you guys and gals have to do it in a 'technical' way as well. The time needed to transfer your thoughts into English should not be under-estimated, especially when 'we' take it all for granted. ___ 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: Clipboard Anomally [BUG]?
On 11/8/06 11:47 PM, Kay C Lan [EMAIL PROTECTED] wrote: The occasional failure of the IDE to paste the contents of the clipboard. This has been discussed before on this list, probably about a year ago. Don't know if there is a Bugzilla or not. Yes, the clipboardData is not 100% reliable. I did create one solution for AppleScript, moving text by copy in Excel, paste into BBEdit, copy, then paste into Rev in order to bring some table data from Excel. This produced cleaner formatting(tabs), but still was not 100% reliable. Without the BBEdit step, less than 50% reliable. My end solution was to parse the returned 'result' for the quote/comma list format of AppleScript. Works fine for limited needs. If the simple Applescript return does not work for you, I would suggest you save as a tempFile.txt to the desktop from AppleScript, then put url (file:pathfilenameUsed.txt) into theVarYouWant delete file pathfilenameUsed.txt I can post the script I use to pass variables directly to Excel, then use the returned values in Rev. This does not involve triggering Excel VBA macros, although you could. Jim Ault Las Vegas On 11/8/06 11:47 PM, Kay C Lan [EMAIL PROTECTED] wrote: Well folks with the opportunity to spend all yesterday scripting, what did I do. I went bug hunting. I've never submitted a bug into Bugzilla but I felt it was time I stepped up and gave it a shot so I went after the 'IDE anomaly' that irks me most. The occasional failure of the IDE to paste the contents of the clipboard. Here is my recipe. Sorry this is Mac specific as it uses Automator - I guess there is some Windows equivalent of Automator which might produce a similar result. Basically when you run this script nothing ends up in field Text, nothing in the msg box, but if you select any other application that handles text and select 'Paste' or the keyboard shortcut, the contents of your file will be pasted. Going back to Rev and using either the keyboard or the menu will NOT paste anything into field Text. TextEdit Test Step 1: Start TextEdit, create a new document and enter some text. From the 'Format' menu select Make Plain Text and save to your desktop with a useful name like 'Input.txt' I left the Encoding as 'Western (Mac OS Roman)' Step 2: If you are familiar with Automator: i) Finder action to Ask For Finder Items ii) Finder action to Open Finder Item Open with TextEdit iii) TextEdit action to Get Contents of TextEdit Document iv) System action to Copy to Clipboard v) TextEdit action to New Text File Save as Output.txt to 'Desktop' If you are not familiar with Automator: a) Select 'New' from the 'File' menu. b) Choose 'Finder' in Library column, Applications folder. c) Select from the 'Action' Column: Ask for Finder Items The defaults should be: Type: Files, Start at: Desktop, Allow Multiple: No d) Select from the 'Action' Column: Open Finder Items Change Open with: from the Default Application to TextEdit e) Choose 'TextEdit' in the Library column f) Drag Get Contents of TextEdit Document from the Action column to the Automator window. g) Drag Copy to Clipboard from the Action column to the Automator window. h) Choose 'TextEdit' from the Library column. i) Drag New Text File from the Action column to the Automator window. Set 'Save as' to Output.txt and 'Where' to Desktop Step 3: Save as... Text to CB TextEdit as an application. The name must be the same as used in the Rev script. Step 4: Click the Automator 'Run' button to confirm that it operates as expected (delete the Output.txt file created on your desktop) Step 5: In Rev create a new stack with one button Start and one field Text Step 6: In the button place the following script: Be careful of line breaks, line numbers are commented at the end. on mouseUP --1 set the clipboardData[text] to empty --2 do tell application quote Text to CB TextEdit quote return run return end tell return tell application quote Revolution quote return activate return end tell as AppleScript --3 --do tell application quote Text to CB BBEdit quote return run return end tell return tell application quote Revolution quote return activate return end tell as AppleScript --4 wait 10 seconds --gives Automator time to do it's thing --5 select text of field Text --6 paste --7 --the breakpoint is here so that you can use the Variable Watcher to see that tMyStore initially contains empty then it is empty. --8 breakpoint --9 put the clipboard into tMyStore --10 put the clipboardData[Text] into tMyStore --11 put tMyStore into msg --12 end mouseUp --13 You'll notice in the script above a 'do' statement at line 4 which has been commented out. Because TextEdit isn't the most powerful text editor around I thought I'd give it another go using BBEdit, and one further step, converting the file contents to ASCII. I imagine this might be
Re: Rev CGI, Linux, MySQL, invalid database type
Thanks Viktoras, Chris It seems I had the wrong Linux engine and driver combination. I re- uploaded the CGI engine for Rev 2.5 and the driver from the Rev 2.5 regular package and it runs now. On 9 Nov 2006, at 16:24, Viktoras Didziulis wrote: try executing in mySQL admin before connecting to the database: SET PASSWORD FOR 'user'@'host'=OLD_PASSWORD('password'); I think this issue only affects versions of MySQL 4.1 and later. That's when the new password formats were introduced. Sorry to bother you. 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: When my relatives moved to Linux
Am I to take it that standalones - however they are built (!!!) - have constraints placed upon them that are not placed, for example, on stacks running with a stack runner variant? sincerely, Richmond Mathewson Yes, any standalone including running under player or stackrunner. ___ 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
Group margin
Is there a way to adjust the group? I have some grouped controls and I made the width of the group smaller than the width of the items and added a horizontal scroll bar. The problem is that there is a several pixels margin on the left and right, so that the scroll bar is wider than it needs to be and when I scroll all the way to the left, the objects are several pixels too far to the right. I tried adjusting the leftmargin, but that doesn't seem to have any effect. I set it to 0, and I still have the blank space on the left. Although if I set the leftmargin to -4 then it has no space on the left. I guess I found a work-around. But is this the way groups are supposed to work? I did another test with just some boxes (no check boxes) and setting leftmargin to 0 accomplished the same thing. I'm just wondering why I need 0 in one case and -4 in another. Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 ___ 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: Clipboard Anomally [BUG]?
On 11/9/06, Chipp Walters [EMAIL PROTECTED] wrote: Isn't there a simpler recipe...like open up BBEdit, select text, copy, then paste into fld text? Yes, that works perfectly well, and I've long since discovered my own workarounds, but I guess I failed to express my point clearly. Not the first time:-) Frankly, I'm not sure I even understand where the bug lies, the failure to copy the text by Rev, or the failure of Automator to put the text on the clipboard in a timely matter? The 'possible' bug is that the keyboard shortcut for pasting text in Rev occasionally doesn't work. I experience this several times a Rev session BUT can not reproduce it reliably. I know that others on the list have experienced the same anomaly. Jim, in his solution mentions a 'not 100% reliable', which again means hard to actually pin down, even harder to troubleshoot. Through other scripting I've been doing I came across this situation where Automator puts text into the clipboard and EVERY other application can paste that text EXCEPT Rev. This happens, for me anyway, EVERY TIME. Yes, it could be a problem with TextEdit, BBEdit or Automator. But I feel that if others were to try this and got a 100% FAILURE, then that will help Rev quickly locate if the problem is with Rev or one of the other Apps. If it is with Rev I fell that this might go a long way in solving the random failure of Rev to paste the clipboard. Yes I do applogise, my recipe does look as though it is long and tedious to work through, but actually, if you've done any work with Automator, the whole process of creating a small text file, the Autmator app and the Rev Stack should not be more than 10min. Thanks to those who can spare the time:-) ___ 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: Clipboard Anomally [BUG]?
On 11/9/06, Chipp Walters [EMAIL PROTECTED] wrote: Isn't there a simpler recipe...like open up BBEdit, select text, copy, then paste into fld text? Sorry, I didn't even make that clear:-( As a recipe for showing the bug, no, what you propose does not do it. Or doesn't do it frequently. I do have a firm belief that the 'trigger' for the bug is switching between apps. I typically have several apps open and copy and paste code snippets from them. This includes Preview and/or Acrobat, BBEdit and CopyPaste. But it's never predictable. As a recipe for getting BBEdit text into a Rev field, what you suggest works 99.9% of the time, and I acknowledge that my process isn't a logical way to get a text file into Rev, but I'm more focused on a 100% repeatable situation where the clipboard contains text, but Rev won't paste it. Now I hope I've expressed myself clearly:-) ___ 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
Unselect
Hi all, How do I unselect a hilitedLine in a list fld (lock text = true focusable= false) ? TIA Hershel ___ 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: Unselect
On 11/10/06, Hershel Fisch [EMAIL PROTECTED] wrote: Hi all, How do I unselect a hilitedLine in a list fld (lock text = true focusable= false) ? set the hilitedLines of fld Whatever to empty HTH, 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
Re: Clipboard Anomally [BUG]?
Kay C Lan wrote: On 11/9/06, Chipp Walters [EMAIL PROTECTED] wrote: Isn't there a simpler recipe...like open up BBEdit, select text, copy, then paste into fld text? Sorry, I didn't even make that clear:-( As a recipe for showing the bug, no, what you propose does not do it. Or doesn't do it frequently. I do have a firm belief that the 'trigger' for the bug is switching between apps. I typically have several apps open and copy and paste code snippets from them. This includes Preview and/or Acrobat, BBEdit and CopyPaste. But it's never predictable. As a recipe for getting BBEdit text into a Rev field, what you suggest works 99.9% of the time, and I acknowledge that my process isn't a logical way to get a text file into Rev, but I'm more focused on a 100% repeatable situation where the clipboard contains text, but Rev won't paste it. Now I hope I've expressed myself clearly:-) Do you have an openfield script in the field that won't accept a paste? Someone recently notified me of a problem with that, but I haven't had time to verify it yet. I don't think all openfield scripts cause a problem, but some particular ones might. Maybe we can narrow it down. -- Jacqueline Landman Gay | [EMAIL PROTECTED] 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
Re: Group margin
Peter T. Evensen wrote: Is there a way to adjust the group? I have some grouped controls and I made the width of the group smaller than the width of the items and added a horizontal scroll bar. The problem is that there is a several pixels margin on the left and right, so that the scroll bar is wider than it needs to be and when I scroll all the way to the left, the objects are several pixels too far to the right. I tried adjusting the leftmargin, but that doesn't seem to have any effect. I set it to 0, and I still have the blank space on the left. Although if I set the leftmargin to -4 then it has no space on the left. Make sure the group's boundingrect is set to empty. Then open the group for editing (you don't have to change anything, but you might want to jiggle an object or two) and then stop editing it. It sounds like the group's boundaries may be off, and doing this might force a reset of the edges. I seem to remember having this same problem a few years ago and that's how I fixed it. -- Jacqueline Landman Gay | [EMAIL PROTECTED] 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
Re: Group margin
I was under the impression that groups had a 4 pixel 'moat' and there was little one could do about it..but use of the margins property, now thats an idea ___ 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: Clipboard Anomally [BUG]?
Kay, Can you paste via the menu? If so, then I imagine there is a problem with the key shortcut, which would be an IDE bug and you could create a frontscript plugin to override (if you really had to have this functionality now). If you cannot paste via the menu, then perhaps you can put in the msg box: put the clipboarddata[text] (I think that's the correct syntax) and see if the data is even on the clipboard at all. If it's not on the clipboard, then you can switch to another program (other than BBedit or TeachText) and see if you can paste it there. If you cannot, then perhaps there's a problem with Automator. If you can paste it there, and it never shows in Rev, you have an engine bug. best, Chipp ___ 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: Clipboard Anomally [BUG]?
Chipp Walters wrote: If you cannot paste via the menu, then perhaps you can put in the msg box: put the clipboarddata[text] (I think that's the correct syntax) and see if the data is even on the clipboard at all. Speaking of clipboards, I'm having some trouble in Windows. I found that if I have something on the clipboard and then I do some other action in the OS -- like launching an application -- the clipboard gets emptied. For example, I had some text on the clipboard, then I launched Rev, opened a stack, and tried to paste and the clipboard was gone. I thought it was a Rev bug, but when I repeated the experiment and opened Notepad instead, the same thing happened. But if both apps were already running, then the clipboard transfered over as long as I didn't do anything else in between. What makes that happen, and is there a workaround? -- Jacqueline Landman Gay | [EMAIL PROTECTED] 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
Re: Clipboard Anomally [BUG]?
On 11/9/06 9:32 PM, Chipp Walters [EMAIL PROTECTED] wrote: Kay, Can you paste via the menu? If so, then I imagine there is a problem with the key shortcut, which would be an IDE bug and you could create a frontscript plugin to override (if you really had to have this functionality now). If you cannot paste via the menu, then perhaps you can put in the msg box: The keyboard shortcut not working for cut, copy, paste on Mac OSX and Rev 2.6.1 and for 2.7.2 has been discussed before (not sure about WinXP). I experience it every week and just start using the menu when it occurs. Restarting Rev will fix it, but when developing, it is not worth the restart just for this. This is not limited to text between apps, but also copy object, paste object, duplicate object within Rev. From my days of programming with Excel intensively on Win and Mac, the clipboard has many definitions (bit maps, charts, cell ranges, spinners, etc) that I got used to clipboard data not being 'transportable' between apps. I just assumed that Rev was managing the clipboard in its own way and the compatibility with the system clipboard environment was not perfect. I could be wrong and it is a bug. My opinion is not to trust the Rev clipboard, just like the Excel variations I found. 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
RE: Clipboard Anomally [BUG]?
on windows, you just cannot rely on menu shortcuts, anywhere... On Metacard they work though! Though the clipboard has it's issues too in MC (like text between backslashed being stripped out! MC v2.5.1) Launching new apps to paste into them certainly works (however, you will loose your rev stack's selection for which another frontscript is needed)... Lots of bugzillas since 2.1.2 have been posted but these features don't seem to be tested for long because they go through every PC release unchecked... I made a plugin 2 years ago to address this issue but it was ignored at large as I remember - but it works great here! Trying to fix the html problems of pasting out of rev also didn't work as I posted a week or 2 ago - but that post too was ignored at large... Regards, Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Ault Sent: Friday, 10 November, 2006 07:26 To: How to use Revolution Subject: Re: Clipboard Anomally [BUG]? On 11/9/06 9:32 PM, Chipp Walters [EMAIL PROTECTED] wrote: Kay, Can you paste via the menu? If so, then I imagine there is a problem with the key shortcut, which would be an IDE bug and you could create a frontscript plugin to override (if you really had to have this functionality now). If you cannot paste via the menu, then perhaps you can put in the msg box: The keyboard shortcut not working for cut, copy, paste on Mac OSX and Rev 2.6.1 and for 2.7.2 has been discussed before (not sure about WinXP). I experience it every week and just start using the menu when it occurs. Restarting Rev will fix it, but when developing, it is not worth the restart just for this. This is not limited to text between apps, but also copy object, paste object, duplicate object within Rev. From my days of programming with Excel intensively on Win and Mac, the clipboard has many definitions (bit maps, charts, cell ranges, spinners, etc) that I got used to clipboard data not being 'transportable' between apps. I just assumed that Rev was managing the clipboard in its own way and the compatibility with the system clipboard environment was not perfect. I could be wrong and it is a bug. My opinion is not to trust the Rev clipboard, just like the Excel variations I found. 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
[REM] Scripter's Scrapbook half price offer
To give yourself a weekend of evaluation time, a reminder that the special half price offer to Revolution users will expire on Monday. This was the announcement in case you missed it... -- The Scripter's Scrapbook - Half Price - (This is a Revolution Users Only special price, valid until 13 November 2006) Download the starter-kit of your choice with over 200 code snippets at www.FlexibleLearning.com/ssbk.htm, then... 1. To pay the FULL price use the link in the software or on the website. 2. To pay HALF price use this special link that is only being sent to this list... http://www.flexiblelearning.com/ssbk/halfpriceoffer.htm The link will disappear after this date so you have 10 days to make the right decision! Why the special offer? Well, it's the author's 50th birthday on that date and he wants to celebrate the occasion :-)) What is The Scripter's Scrapbook? For Windows and Mac OSX, The Scripter's Scrapbook from Flexible Learning is a fully-featured cross-platform personal reference library, source code repository and information organizer that integrates the convenience of the desktop with the resources of the web. Suitable for all programmers, web authors and software writers, from novice to professional, and especially for those who use more than one software language. It is truly flexible in its options to define and display the platforms, categories and languages for any snippet or library of code, web hyperlink, article, tutorial, local or networked document, or embedded file so you can acquire, structure, link, present and access your information as best suits you. Records can be searched, selected and displayed either full page or with any of three index types (alphabetical, history and hierarchical tree). It includes customizable code colorization, import and export options, compressed backups, presentation toolkit with images and annotations, as well as an API for extensions, add-ons, plugins and IAC for inter-application communications. Includes integrated Online updater. Free to try for 30 days. Hugh Senior The Flexible Learning Company Home of The Scripter's Scrapbook ___ 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: Clipboard Anomally [BUG]?
On 11/9/06, J. Landman Gay [EMAIL PROTECTED] wrote: Speaking of clipboards, I'm having some trouble in Windows. I found that if I have something on the clipboard and then I do some other action in the OS -- like launching an application -- the clipboard gets emptied. For example, I had some text on the clipboard, then I launched Rev, opened a stack, and tried to paste and the clipboard was gone. I thought it was a Rev bug, but when I repeated the experiment and opened Notepad instead, the same thing happened. But if both apps were already running, then the clipboard transfered over as long as I didn't do anything else in between. What makes that happen, and is there a workaround? Hi Jacque, Actually, I find copy/paste clipboard issues always occur when launching Rev. Rev seems to always start with a clear clipboard on XP. I don't have the same problem with copy/paste text in other apps. I do have problems copy/paste images to Photoshop on occassion, but there is a registry hack for it. best, Chipp ___ 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