Re: Need your help! Plans on promotion Plug In
Is it hard to code sending emails from within Rev? Hi Malte, No, it isn't hard to send emails using Rev. You need to open a socket to the POP server, send receive the various commands, then send your email, before logging off closing the socket. I have been working (on off) on a POP library which is not yet ready for public consumption, but if you want me to send you a POP example stack, just contact me off-list. Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Finding the disk name
In the newer version of Revolution, running under OS X, when I get a file name (say from answer file), I get something like this: /Users/sarah/Documents/FolderName/Filename.txt This is fine and Rev reads such a file perfectly. The problem arises when I want to pass a filename to an AppleScript, which requires a full path including the disk name, in this form: Sarah HD:Users:sarah:Documents:FolderName:Filename.txt Perhaps using POSIX file in your AppleScript what you need. An example: set myPath to /Users/trevordevore/desktop/ set myPath to POSIX file myPath display dialog newPath This would display Macintosh HD:Users:trevordevore:Desktop: Would this solve your problem? Thanks Trevor, That nearly worked :-) Here is the function I came up with to translate a Rev file path to an AppleScript path: function filePathToAppleScript pFile put set tFilePath to *file* cr set tAS to POSIX file tFilePath \ cr return tAS cr into tScript replace *file* with quote pFile quote in tScript do tScript as Applescript put the result into tASfile delete word 1 of tASfile -- file delete char 1 of tASfile -- quote delete char -1 of tASfile -- quote return tASfile end filePathToAppleScript Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X: Can launch app but not file
At 4:55 pm -0600 31/8/03, Dar Scott wrote: [...] A literal string in the context of a format parameter may use \. That helps a lot. :-) Besides, once you make a small handler to go into your bag of tricks, you can forget about how it was done. Sure. I just realized that having AppleScripts all over the place would get in the way of cross platform use! -- Kaveh ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
window decorations system,empty
I am using the system decoration for a splash screen stack. Seems like a good way to keep the splash screen in front of other stacks that that are subsequently opened during startup. decorations system,empty is invalid though. I'm really using the system decoration for it's window Z-ordering, not for the window decorations. How can I get a float-on-top window with no decorations? Just curious if it's possible. 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
Re: OS X: Can launch app but not file
On Sunday, August 31, 2003, at 05:05 PM, Kaveh Bazargan wrote: Besides, once you make a small handler to go into your bag of tricks, you can forget about how it was done. Sure. I just realized that having AppleScripts all over the place would get in the way of cross platform use! Yikes! Right! Forget about how it was done after you make it cross platform. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
how to deselect text in a listfield
I was trying to deselect text in a listfield by script , but i was unable to do it. What command does that? ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: how to deselect text in a listfield
Recently, Björnke von Gierke wrote: I was trying to deselect text in a listfield by script , but i was unable to do it. What command does that? Is this what you want? set the hilitedLines of fld myField to 0 Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design Email: [EMAIL PROTECTED] Web: www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: how to deselect text in a listfield
Exactly! I tried so long and never stumbled over this, thank you for your help. On Montag, Sept 1, 2003, at 01:52 Europe/Zurich, Scott Rossi wrote: set the hilitedLines of fld myField to 0 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Background Color BleedThrough -- Fairly Easy Fix
On Saturday, August 30, 2003, at 06:51 PM, Geoff Canyon wrote: Now I see it. It does seem to be the same one I saw back when I was starting with Navigator. Oddly, I couldn't replicate in 2.0.1, but I can in 2.1rc1 Setting the borderWidth to 0 fixes the problem. regards, Geoff Canyon [EMAIL PROTECTED] Geoff, Thanks for the workaround. A border of 0 doesn't look as professional though. I sure wish they'd fix this one quick! Rick Harrison ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Formatted printing
I am trying to do something seemingly very simple and I would have thought quite generic ... can I ask if I really am coming up against what seem to me to be pretty obvious shortcomings in the present implementations of table fields and the printing library? (as a new user, I've had a bit of a look on the archives, and the thread on revPrintText is so long there clearly are many requests for extension of its feature set, no doubt including the following...) I want to be able to print the contents of a formatted field, with column data, above which is a header which is longer than one cell of the column data. The header itself uses styled text and I'd like it to have columns too, tho' I can probably simulate that since its text won't vary much. The data is constructed dynamically from other information in the stack. The printout fills out a whole page, larger than a card size, so print card won't suffice. I'd prefer not to have vertical lines separating the columns of data, but I can live with that. I could do this if any of the following things worked, each of which should IMO be possible 1. I could do it all with revPrintField using a Table field, putting the header stuff into the first few lines, IF I could suppress printing of the vGrid lines, which overprint the header. Because vGrid is overloaded (it flags that the field is a table AND draws the grid lines), and borderFill is also overloaded (controls the field border AND the grid lines BUT does not respond to width 0 for the grid lines!) this won't work. Ideally of course the display style of each cell ought to controllable as in a real spreadsheet, but I can wait for that (Rev version 3?). 2. I could do it with revPrintField if only it supported a header parameter a la revPrintText (why doesn't it?) 3. I could do it with revPrintText using html styling if only more mark-up tags were supported (tabs) 4. I could do it if multiple revPrintField and revPrintText could be used on a single page, ie they conformed to to an open printing/close printing protocol. Am I missing something? The only work-around I can think of is to use monospaced type for the column data. This is really ugly. [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Neville Smythe [EMAIL PROTECTED] Mathematical Sciences InstituteTel: 61-2-6125-2709 Australian National University Fax: 61-2-6125-4984 Canberra ACT 0200 AUSTRALIAMob: 0414517719 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to I get clickItem?
On Sunday, August 31, 2003, at 12:18 PM, Mark Brownell wrote: array clean up script: put 1 into itemArray2[1] repeat with xy = 1 to tElementNum put itemArray[xy] into get1 put itemArray[xy + 1] into get2 put char get1 to (get2 - 1) of tZap into holdItemWithTags put the htmlText of holdItemWithTags into zip put the number of chars in zip into holdNumZip put holdNumZip into itemArray2[xy + 1] end repeat -- with the already created global itemArray2 -- put this in myField script: another oops: array clean up script: -- put 1 into itemArray2[1] - fixed this -- -- make sure item comes up first if you want to count char 1 in the field put 0 into holdNumZip - fixed this -- repeat with xy = 1 to tElementNum put itemArray[xy] into get1 put itemArray[xy + 1] into get2 put char get1 to (get2 - 1) of tZap into holdItemWithTags put the htmlText of holdItemWithTags into zip put the number of chars in zip into zap put zap + holdNumZip into holdNumZip - fixed this -- put holdNumZip into itemArray2[xy + 1] end repeat ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Fast method of setting textStyle
I have a field on every card of a stack. The text in that field is different on each card. Some words I want to have a textStyle of link. There is no programmatic method of doing this as the text in each card's field is so different. However, I found a method of doing this quickly (more quickly than using the menus). I know I can't be the first to discover this but it's so easy that I felt I should post it for others. Type the following into the message box: set the textStyle of the mouseChunk to link Don't press Enter or Return yet. With the cursor active in the msg box, move your mouse over the word (in the field) that needs to be a link, then press the Enter key. Keep clicking your mouse in the msg box, moving your mouse over the next word, and pressing Enter. Each time the word under the pointer will be transformed to a link The mouseChunk returns the char or chars that make up the word sitting under the mouse pointer and leaves off the spaces or punctuation surrounding the word. BTW - You can combine the textStyle params. In my case, I used: set the textStyle of the mouseChunk to link, bold Every day I am more impressed with how cool Rev is and how much power it gives me. Bwah-hah-hah-hah-hah! Barry Barry Jay Levine The Mac Guy Macintosh Troubleshooting, System Engineering, Training, AppleShare/OSX Server Setup, System Upgrades and Enhancements, Custom Programming for Mac/Windows/Linux/Solaris On-Site service for K20, Business, Consumer Phone/VoiceMail: 915-581-1105 Fax: 915-581-8167 eMail: [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: window decorations system,empty
On 8/31/03 6:13 PM, Alex Rice wrote: I'm really using the system decoration for it's window Z-ordering, not for the window decorations. How can I get a float-on-top window with no decorations? Just curious if it's possible. set the raisepalettes to true set the decorations of stack floater to empty palette floater -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Background Color BleedThrough -- Fairly Easy Fix
On Sunday, August 31, 2003, at 05:38 PM, Rick Harrison wrote: Thanks for the workaround. A border of 0 doesn't look as professional though. I sure wish they'd fix this one quick! You can put a rect graphic in and put it around the field. I believe it can be positioned to stand in perfectly for the field border, and yet not leave a mark. regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
numbers only field
I came across in Rev. 2.1 a recipe for a numbers only field but it only allows numerals up to nine. How can I include decimals, e.g. such as .65 and 10.5 as numbers? Charles ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Background Color BleedThrough -- Fairly Easy Fix
On Sunday, August 31, 2003, at 11:50 PM, Geoff Canyon wrote: On Sunday, August 31, 2003, at 05:38 PM, Rick Harrison wrote: Thanks for the workaround. A border of 0 doesn't look as professional though. I sure wish they'd fix this one quick! You can put a rect graphic in and put it around the field. I believe it can be positioned to stand in perfectly for the field border, and yet not leave a mark. regards, Geoff Canyon Geoff, I thought of that one too. It's still a minor pain in the you know what. Thanks again, Rick Harrison ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Background Color BleedThrough -- Fairly Easy Fix
On 8/31/03 10:50 PM, Geoff Canyon wrote: You can put a rect graphic in and put it around the field. I believe it can be positioned to stand in perfectly for the field border, and yet not leave a mark. Good for a temporary work-around, but in the long run they need to fix it. On the bright side, I see the bug has been assigned and it is under review. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: numbers only field
--- Charles Szasz [EMAIL PROTECTED] wrote: I came across in Rev. 2.1 a recipe for a numbers only field but it only allows numerals up to nine. How can I include decimals, e.g. such as .65 and 10.5 as numbers? Charles Hi Charles, Have a look at the following script I posted last year for this purpose : http://lists.runrev.com/pipermail/use-revolution/2002-October/008389.html However, I wrote it before version 2 came along with drag-and-drop support so you'll have to add a dragDrop handler as well to cover all bases : -- on dragDrop put the text of me into sBeforePaste send checkAfterPaste to me in 5 milliseconds pass dragDrop end dragDrop -- Hope this helped, Jan Schenkel. = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to I get clickItem?
I got so tired of guessing at the code that I created a stack to show this. paste this into the message window and press return: go URL http://www.gizmotron.org/itemTest.rev; 1. Start the browse tool 2. click step 1 3. click step 2 4. click step 3 5. Now click different paragraphs to see what item they belong to. I haven't solved the click on a blank spot problem with this either. All I did was escape the mouseUp if the char was empty. Mark ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Encryption problem?
I have a stack with a handler in a field's script as follows: on mouseDown put the clickChunk into whatWasClicked put the value of whatWasClicked into theWord if there is an image theWord then set the lockScreen to true put the loc of image theWord into myLoc -- for brevity later in this script copy image theWord to this stack put word 3 of it into myNewImageID -- that should be the ID# of the newly created image set the loc of image ID myNewImageID to myLoc show image ID myNewImageID set the lockScreen to false wait 1.25 seconds -- or do whatever delete image ID myNewImageID select empty end if end mouseDown It all works just fine until I encrypt it with a password at Distribution. I suspect that the name of the image is scrambled somehow as the image I'm copying never appears and the wait 1.25 seconds is not occurring. If I open that stack with the IDE, the problem persists. However, if I provide the password when I open a script in that stack, everything begins working until I close ( remove from memory) the stack. I do not have to change anything in the stack for it to begin working; just providing the password makes it work fine. My images are named mail or letter or post office, etc.. All paths to the jpegs are properly referenced (myresources/mail.jpeg). I've used this technique (referring to a referenced image by its object name) before and within encrypted stacks. I don't understand what I may have changed to bring on this behavior. Any suggestions will be appreciated. Thanks, Barry ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: numbers only field
Hi Charles I came across in Rev. 2.1 a recipe for a numbers only field but it only allows numerals up to nine. How can I include decimals, e.g. such as .65 and 10.5 as numbers? Put this into the field script: on keydown lekey if lekey is in 0123456789. then pass keydown end if end keydown Hope that helps... Charles Regards Klaus Major [EMAIL PROTECTED] www.major-k.de ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revNumberOfRecords ruturns -1 in ODBC
Andre, Yes, I think you are correct. I used a quick workaround instead for a list field containing the records; put the number of lines of the field Surveys into NumSurveys This worked of, a bit of a fudge, but hey. Took me a while to work out as I'm new to Revolution and still thinking in old money. Kind Regards, On 29 Aug 2003 at 8:05, Andre Rombauts wrote: I had the same problem. I guess this means that function is not supported. The doc states that all SQL functions are not available on all platform/db environment. André - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 28, 2003 4:48 PM Subject: revNumberOfRecords ruturns -1 in ODBC I've just started using Revolution for a project. I'm using the revNumberOfRecords( RecordSetID) function but this only returns -1 with an ODBC data source. It's ok with MySQL. Am I stuck with this behavior or is there something I'm missing? ___ 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: HyperCard and Revolution stacks
WHOA, dude, it's just his signature, not unlike many others on this list...such as yours!! sqb Dale, Perhaps you can find a justification for blatant commercial advertising on the list, but I don't see it. If you insist on continuing, at least mark the subject line with an obvious identifier (e.g. [ADV] ) so I can readily skip such entries. DJ http://Game.37.com/ Hi, Updated the SVP HyperCard and Revolution download pages. Much more to come in the future as we have time to convert and update. [snip] Dale Pond Sympathetic Vibratory Physics == ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Are there no help sites?
I have asked this question before but no-one replied. As I am fairly new to programming I need more help with using revolution than the manual provides. Has anyone made or know of a tutorial site for new revolution users? Martin Pilkington ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
The Directory Walker revisited
Hi, Upon examining the nice (recursive) directory walking script: file007 at http://www.sonsothunder.com/index2.htm?http://www.sonsothunder.com/ devres/revolution/revolution.htm But I watched it bump into the recursion-limit wall. Following is a non recursive version of this script. Although it is non recursive be careful not to unleash it (without filters) on for example the complete Mac OS X volume or you will be tied up for quite a while seen the amount of files and directories there. First is a bare bones script. Next some additions. on mouseUp put into fld Result answer folder Pick a folder you want to walk: if it = then exit mouseUp put it / into tMainFolder put the directory into tOrigDir directoryWalk tMainFolder set the directory to tOrigDir end mouseUp on directoryWalk tDir set the itemDel to / put into tDirlist repeat if tDir = empty then exit repeat set the directory to tDir put tDir cr after tHierList if the hilite of btn theFiles then put the files into temp repeat for each line x in temp put tDir x cr after tHierList end repeat end if put line 2 to -1 of the folders into tTempDirList repeat for each line x in tTempDirList put tDir x / cr after tDirList end repeat put line 1 of tDirList into tDir delete line 1 of tDirlist put into tTempDirList end repeat sort tHierlist put tHierlist into fld result end directoryWalk Now for some condiment. Adapt to your own taste and circumstances: on mouseUp put into fld Result answer folder Pick a folder you want to walk: if it = then exit mouseUp put it / into tMainFolder put the directory into tOrigDir directoryWalk tMainFolder set the directory to tOrigDir end mouseUp on directoryWalk tDir set the itemDel to / put into tDirlist to constrain the examination depth of directories if needed get the label of btn depth ### option styled btn with none,1,2.xx as content if it is not a number or it = empty then put empty into tMaxDepth else put it + the number of items in tDir into tMaxDepth repeat if tDir = empty then exit repeat set the directory to tDir put tDir cr after tHierList directories with or without the files if the hilite of btn theFiles then put the files into temp repeat for each line x in temp put tDir x cr after tHierList end repeat end if put line 2 to -1 of the folders into tTempDirList repeat for each line x in tTempDirList put tDir x / cr after tDirList end repeat put line 1 of tDirList into tDir check part for constraining the depth of directories to be examined if tMaxDepth empty and the number of items in tDir = tMaxDepth then exit repeat delete line 1 of tDirlist put into tTempDirList end repeat sort tHierlist if the hilite of btn ShowHierarchy then ShowHierarchy tHierlist else put tHierlist into fld result end directoryWalk on ShowHierarchy @x if the hilite of btn theTabs then # tabs or spaces put tab into tIndentContainer put tab into tExtraIndent put 1 into tFactor else put space into tIndentContainer putinto tExtraIndent put 3 into tFactor end if make a string of 128 chars repeat 7 put tIndentContainer after tIndentContainer end repeat choose the char you like as indicator if the hilite of btn dirMarker then put into tdirMarker else put into tdirMarker set the itemdelimiter to / put the number of items in line 1 of x into tDepth put tDepth into tPrevDepth repeat for each line i in x get the number of items in i if last char of i = / or it = tPrevDepth then put it into tPrevDepth put into tIndent put char 1 to (( it - tDepth) * tFactor) of tIndentContainer into tIndent if last char of i = / then put tIndent item -1 of i tdirMarker cr after tList else put tIndent item -1 of i cr after tList else put tIndent tExtraIndent item -1 of i cr after tList end repeat put tList into fld result if tab delimited it can be used in menu buttons if tExtraIndent = tab then put tList into btn theMenu end ShowHierarchy Have a nice day, WA ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 2.1 beta doesn't open
on 26/8/03 18:17:28 -0500 curry wrote: I bugged it (number 450) and from what Tuviah said it sounds like it's fixable. (Which is great!) I am reluctant to trouble the folks at RR about this and distract them from the task of fixing, so I wondered if anyone on the list could say how we know when a bug has been fixed. Do we just keep checking bugzilla? This is a very bad bug for me. I have RR 2.1 and can't run it at all. I have a 30 day trial licence ticking away (or at least as far as I know it is ticking away) and now an unusable Studio licence as well. Can they be used on earlier versions of Rev which can be opened, or will they only work on this latest release. Sorry if this is a stupid question, but on a 56k modem, downloading versions of Rev is not trivial. Nor are OS upgrades at nearly twice the cost of my Studio licence. Regards James -- James J Richards [EMAIL PROTECTED] Tel. +44 (0)15394 43063 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Rev as CGI - regular lackings...
Hi List, Scott, In learning how to setup a Rev's sockets listener CGI engine, i get reccurent errors (one for each six calls to the CGI engine). The intereting point is that my test client-side script did'nt get the expected answer from the CGI with a swiss made regularity ??! This script send in a repeat loop a sequence of 20 POST method calls to the CGI. For five to six times, all works fine : the client-side script get its answer from the CGI script but, the next forcoming time, he only get 19 of the 20 expected answers... Each call lacking in the sequence of 20 calls is : sequence 6 : the call number 2 sequence 12 : the call number 4 sequence 18 : the call number 6 sequence 24 : the call number 8 sequence 30 : the call number 10 sequence 36 : the call number 12 sequence 42 : the call number 14 sequence 48 : the call number 16 sequence 54 : the call number 18 sequence 60 : the call number 20 and then, again sequence 66 : the call number 2 sequence 72 : the call number 4 ... and soo on... Here is the client side script, running from inside an active stack : on mouseUp if the shiftkey is down then edit script of me else testconn end mouseUp on testconn put the seconds into time1 set cursor to watch set the thumbposition of sb jauge to 0 put 10 into aa put ee946=941TTF=azertyytreza into ttest repeat with ltr = 1 to 20 if the seconds - time1 10 then exit repeat set httpheaders to Content-type: application/x-www-form-urlencoded return # post ttest to url (fld csrecents) post ttest to url (http://localhost/cgi-bin/wmc.rev;) if it contains ee946=941TTF=azertyytreza then add 1 to qconnect else put ltrafter tconnect set the thumbposition of sb jauge to aa add 10 to aa end repeat if qconnect = 20 then answer La connexion avec le serveur distant est OK return \ (succs des tests de (qconnect div 20)*100 % en the seconds - time1 secondes). else if qconnect 0 then set the thumbposition of sb jauge to 0 answer La connexion avec le serveur distant est instable. return return \ Vrifiez votre configuration d'accs l'internet return avant de poursuivre. return return \ (succs des tests de qconnect /20 ( char 1 to -2 of tconnect ) en the seconds - time1 secondes) else if qconnect = then set the thumbposition of sb jauge to 0 answer La connexion avec le serveur distant est rompue. return return \ Vrifiez votre configuration d'accs l'internet return avant de poursuivre. return return \ (succs des tests de (qconnect div 20)*100 % en the seconds - time1 secondes) end if end testconn and here the cgi script : #!mc on startup start using stack liburl -- idem with/without starting it if $REQUEST_METHOD is POST then repeat while the length of buffer $CONTENT_LENGTH read from stdin until empty put it after buffer end repeat else put HTMLHEADTITLEERROR: File Not Found/TITLE/HEAD \ BODY background='/gif/fond-maison.gif'H1File Not Found/H1P \ H3The file you have requested does not exist on this server./H3 \ /BODY/HTML into buffer end if put Content-Type: text/html return Content-Length: \ the length of buffer return return buffer end startup Both the client and cgi are running under the MC 2.5 issue of the engine under Suse-Linux 8.2 Pro. Any idea about solving this (get always 20 replies for each sequence of 20 calls) would be really helpfull. Thanks to All, Best Regards, Pierre -- Bien cordialement, Pierre Sahores Inspection acadmique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire delta de rentabilit ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X: Can launch app but not file
On 8/31/03 Kaveh Bazargan wrote At 10:20 pm +0200 31/8/03, [EMAIL PROTECTED] wrote: Put tell program quote Finder quote to open quote drive:folder:application.app quote into vScript Do vScript as applescript This should do the job ;-) Hey thanks. Is there no easier way? :-( If you want to be able to type scripts in and have them executed you could create a custom property to hold the applescript to run. Create a custom prop called uAppleScript in the stack. Paste the following into it: display dialog hi Create a button with the following script: on mouseUp do the uAppleScript of this stack as applescript end mouseUp You should see a dialog box with 'Hi' displayed in it. -- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OS X: Can launch app but not file
At 5:45 am -0600 1/9/03, Trevor DeVore wrote: [...] If you want to be able to type scripts in and have them executed you could create a custom property to hold the applescript to run. Create a custom prop called uAppleScript in the stack. Paste the following into it: display dialog hi Create a button with the following script: on mouseUp do the uAppleScript of this stack as applescript end mouseUp You should see a dialog box with 'Hi' displayed in it. Wow. I hadn't got to custom properties yet. But that is excellent. I just thought I had been very clever, and put a script in a field, and then said do field script as applescript but this one's better! Thanks. -- Kaveh ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Background Color BleedThrough -- Fairly Easy Fix
On Montag, Sep 1, 2003, at 06:56 Europe/Vienna, J. Landman Gay wrote: You can put a rect graphic in and put it around the field. I believe it can be positioned to stand in perfectly for the field border, and yet not leave a mark. Good for a temporary work-around, but in the long run they need to fix it. On the bright side, I see the bug has been assigned and it is under review. Thanks Jaquelin, you are completly right. It must be fixed urgently. IMnHO Why this is not a real workaround Geoff... 1) I have hundreds of fields, which must move on click with effect. A work around in this way is impossible or would be worse than a chinese torture. So I had to find another work around in the past. As I said the bug is very old and I have reportet it before bugzilla about 5 or 6 times. And I remmber others, which have reported it too... Why it is not in bugzilla...? I would be really interested why this was not fixed in the last 1,5 years..? My workaround was: change all (bigger) text-controls to the size that you dont need scrolling... (for some of them it was not possible, because the text content are to big, so the ugly lines are still there...) Not an elegant english style,:) A similar problem was that with the double-arrow buttons. I could not move/change any controls with the nudge buttons. Pls RR team imagine that once.!? Not moving a single control, a group of controls, no change in size of a single control, etc... Now I know, thanks to Barry, that the reason is Cocktails double-arrow buttons. But I had this Cocktail Effekt *only* in rev. So I thought thats a rev problem... Therefore finally I think: 1) anybody from RR should still read the list to see what problems are discussed here and actualize/check the db. RR should also listen a bit more to these non scripters (like me). Not all of them are idiots, and they have to pay the same money like the others... regards Wolfgang M. Bereuter Learn easy with trainingsmaps© INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ... http://www.internettrainer.com, [EMAIL PROTECTED] ... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Are there no help sites?
One place to start is www.revjournal.com
Newby questions
1) Is there any convenient way to search the archives of this list other than downloading the entire mess and doing a text search? 2) What I was really looking for: is Menu Builder a one-time only tool. I.e. can you use Menu Builder to edit a menu bar that you have previously created or once you quit Menu Builder do you have to work through the inspector? I can't seem to find a way to get Menu Builder to recognize menus that I've already put in my stack. Spence James P. Spencer Rochester, MN [EMAIL PROTECTED] Badges?? We don't need no stinkin badges! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newby questions
--- James Spencer [EMAIL PROTECTED] wrote: 1) Is there any convenient way to search the archives of this list other than downloading the entire mess and doing a text search? 2) What I was really looking for: is Menu Builder a one-time only tool. I.e. can you use Menu Builder to edit a menu bar that you have previously created or once you quit Menu Builder do you have to work through the inspector? I can't seem to find a way to get Menu Builder to recognize menus that I've already put in my stack. Spence Hi Spence, Welcome to the Revolution, good to see new people joining every day. To ansdwer your questions : 1) Yes, and you have two options : - either via an advanced Google search http://www.google.com/advanced_search?q=site:lists.runrev.com - or via this search page, courtesy of Mindlube http://mindlube.com/cgi-bin/search-use-rev.cgi 2) You should be able to edit previouslyh created menubars in your stack : while in the Menu Builder, click the Edit... button, and select one you made earlier in the same (or another) stack. Hope this helped, Jan Schenkel. = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Bravo the OSX textborder-bug is fixed!
Hi I cant believe it: The good old OSX textborder-bug is fixed in 2.1!!! Heureka!!! regards Wolfgang M. Bereuter Learn easy with trainingsmaps© INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ... http://www.internettrainer.com, [EMAIL PROTECTED] ... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Acrobat Reader is present?
Ken, and other people interested in the topic: The solution I found to see if Acrobat is in the user machine use the SpecialFoderPath functionalong withone of the Microsoft Windows CSDIL numbers. The solution works in a CP box, but I'm affraid it may not work with all the Windows installations , I would have to check. In the other hand the solution Ken provides query the registry directly and maybe is a better solution. Thanks Ken! Saludos, Javier ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newby questions
On Monday, September 1, 2003, at 09:09 AM, Jan Schenkel wrote: 1) Yes, and you have two options : - either via an advanced Google search http://www.google.com/advanced_search?q=site:lists.runrev.com - or via this search page, courtesy of Mindlube http://mindlube.com/cgi-bin/search-use-rev.cgi 2) You should be able to edit previouslyh created menubars in your stack : while in the Menu Builder, click the Edit... button, and select one you made earlier in the same (or another) stack. Hope this helped, Very much; thank you! I have no idea why I didn't figure out the menu editing question but that certainly does work. (Duh!!!) Spence James P. Spencer Rochester, MN [EMAIL PROTECTED] Badges?? We don't need no stinkin badges! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Are there no help sites?
Martin -- We're just getting started, but the revSchool tutorials at www.revjournal.com are designed to teach programming from the ground up using Revolution. The site also includes articles about, and links to, items of interest to Revolution users of all levels. You might explore some of the links on the revJournal home page to find example stacks, tips, and tricks. I also recommend that you work through the six tutorials that come with Revolution -- they provide an excellent overview. To get them, open the documentation window (Help-Documentation, or click the Documentation icon on the main toolbar), and click Tutorials under the Learning Revolution heading. Dan Shafer is also working on a 3-volume e-book about Revolution, the first volume of which is scheduled to launch within the next few weeks. You can read excerpts that have been posted at the revJournal site. Perhaps the best advice I can give is to think of an app you want to build, then go to it. When you get stuck, ask for help on the user list. The folks here are a friendly bunch, willing and able to provide helpful responses to just about any question you have. Best of luck! Alan S. Golub Publisher, revJournal On Monday, September 1, 2003, at 06:00 AM, gpvisual wrote: I have asked this question before but no-one replied. As I am fairly new to programming I need more help with using revolution than the manual provides. Has anyone made or know of a tutorial site for new revolution users? Martin Pilkington ___ 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: The Directory Walker revisited
On Monday, September 1, 2003, at 04:45 AM, wouter wrote: But I watched it bump into the recursion-limit wall. Following is a non recursive version of this script. I thought we could set the recursion limit in Rev 2.x? 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
Re: Are there no help sites?
Martin Pilkington wrote: As I am fairly new to programming I need more help with using revolution than the manual provides. Has anyone made or know of a tutorial site for new revolution users? I presume you've gone through the online tutorials. If not, do so. They're pretty darned good. You can particularly learn a lot by going through and then analyzing the Independent Study tutorial. There are quite a few resources available. Here are a few. Alan Golub's ezine, RevJournal (http://www.revjournal.com) has an ongoing RevSchool series of tutorials that are quite good. Chipp Walters has a great meta-resource listing other resources at http://www.fourthworld.com/rev/ I'm building a Revolution Pros site that will be unveiled very soon now, along with the first of three volumes of my eBook, Programming at the Speed of Thought. The books will tie to the Web site where discussions, examples, shortened tutorials on specific topics extracted from the book and other goodies will be available. Send private email to [EMAIL PROTECTED] with the subject line Let Me Know When and I'll...er...let you know when. There's not a huge amount of stuff out yet that's Rev-specific but there is a gathering of momentum. Meanwhile, a lot of what exists for HyperCard and HyperTalk, including the old books by me, Danny Goodman, Jeanne DeVoto (who runs docs for Rev) and others have been suggested by some people to be useful in the early going. Mostly, just ask questions here! ~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, Revolution: Programming at the Speed of Thought http://www.revolutionpros.com for More Info ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 2.1 beta doesn't open
On 9/1/03 5:38 AM, James Richards wrote: I am reluctant to trouble the folks at RR about this and distract them from the task of fixing, so I wondered if anyone on the list could say how we know when a bug has been fixed. Do we just keep checking bugzilla? Yes, pretty much. This is a very bad bug for me. I have RR 2.1 and can't run it at all. I have a 30 day trial licence ticking away (or at least as far as I know it is ticking away) and now an unusable Studio licence as well. This is something you really should bother the RR people about. Heather is very helpful and willing to work with you. You have a right to a working license, and her job is to make sure you get one. So, bother her. Don't be shy. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Are there no help sites?
Hi Martin, Date: Mon, 01 Sep 2003 11:00:42 +0100 Subject: Are there no help sites? From: gpvisual [EMAIL PROTECTED] I have asked this question before but no-one replied. As I am fairly new to programming I need more help with using revolution than the manual provides. Has anyone made or know of a tutorial site for new revolution users? -- Ask and ye shall receive...the Rev online magazine: http://www.revjournal.com/ Have fun. There is an online school there...just click on School in the features bar below the header. Other than that, don't be afraid to just ask anything here. That's what this list is for. Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
How many people use Single-Handler Mode in Script Editor?
How many people use Single-Handler Mode in the Script Editor? How many people ever used it (maybe when getting started? How many people think it is useful for getting started with Revolution? regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newby questions
Hi James, Date: Mon, 1 Sep 2003 08:59:05 -0500 Subject: Newby questions From: James Spencer [EMAIL PROTECTED] 1) Is there any convenient way to search the archives of this list other than downloading the entire mess and doing a text search? -- If you're using the digest option, look in the top section before the list of emails. You should see these lines: and search them using this link: http://www.google.com/advanced_search?q=site:lists.runrev.com HTH, Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: How many people use Single-Handler Mode in Script Editor?
i switch between single and multiple handler views pretty much all the time.. there are a few things i'd like to change about the single-handler view, but on the whole it's not bad.. never used it when starting with rrev as i didn't even know it was there.. -Sean ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to I get clickItem?
Perfect. That is exactly what I wanted. And it is very simple too. Thanks to the others for their suggestions too. Bill Vlahos On Sunday, August 31, 2003, at 01:33 PM, J. Landman Gay wrote: I have a field in which the itemDelimiter is numToChar(255) instead of return. This allows me to have items with multiple paragraphs in the same item. Items can always have paragraphs in them. Items don't end until either the next item delimiter is encountered or the text runs out. If the itemDelimiter isn't a return character, then many paragraphs can be part of the same item. How can I get the item number when a user clicks on the field? The clickLine correctly returns the line number but that doesn't tell me what item it is. What I want is a clickItem function which doesn't exist (or at least I can't find it). Like this: get the clickChunk set the itemdelimiter to numToChar(255) put the number of items in char 1 to (word 2 of it) of fld fldName Note that the clickChunk will return 0 if the user clicks in the empty space after the text. -- Jacqueline Landman Gay ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How many people use Single-Handler Mode in Script Editor?
Huh? What's that? -- Dar ;-) ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
command-line/CGI Revolution engine questions
I just downloaded the 2.0 revolution engine for Darwin (OS X) from ftp.runrev.com. 1) It requires installation of nonstandard shared libraries X11 and libdl. The darwin engine mc available from metacard.com does not have this problem. Why the difference? I already had X11 installed and compiling libdl right now. I am just surprised I have to compile something to get the revolution engine to work. 2) I tried the following as an experiment. sudo cp revolution /usr/local/bin/mc create mainstack in Rev IDE, save as filename fu.rev write a handler in the stack on startup put hello world put linefeed end startup # chmod +x fu.rev # ./fu.rev external startup mc: Can't open display mc: Can't load stack or script ./fu.rev Anyone know why the shell script front end that appears in each MC stack does not work on OS X? Does it work on Linux? Maybe I am not understanding the intent of this mini shell script that appears at the beginning of every Rev stack. Here it is. #!/bin/sh # MetaCard 2.4 stack # The following is not ASCII text, # so now would be a good time to q out of more^L exec mc $0 $@ This, however, does work ok: #!/usr/local/bin/mc on startup put hello world put linefeed end startup Now I understand why the previous poster (I'm bad with names) was doing like this #!/usr/local/bin/mc start using stack some.rev 3) The 2.1 command-line/CGI engines are not available? 4) Is there an Emacs mode for metacard and/or xtalk languages languages? My version of emacs thinks a .mc script is for M4 macro mode :-/ 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
Applescript, slightly off-topic...
Could anyone tell me how to search for 3 returns in a textfile and replace them by 2 returns... I am using Revolution, to do some automated layout in Adobe InDesign, but can¹t seem to find how to use special characters in a search and replace string using AppleScript... When using the following script, InDesign unexpectedly quits... tell application InDesign 2.0.2 set find preferences to nothing set change preferences to nothing tell active document set vSearch to return return return set vReplace to return return search for vSearch in active document replacing with vReplace end tell end tell Any other search replace works fine, but how do I get rid of those returns? Any help is welcome, I¹m afraid the guys on the Adobe list are sleeping, no reply there at all :-(( Many thanks in advance, Ton Kuypers ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Wilhelm Sanke's Drawers; IMPRESSIVE
Mathewson wrote: Wilhelm Sanke has developed DRAWERS without the RR2.1 'drawer' command; but announced this only on the Metacard use-list. ftp.hrz.uni-kassel.de/pub/uni-kassel/Zentraler.Medienbereich/Sanke/Metacard/Me tacardPractice/ this might be a justification for merging the RR and MC use-lists Wilhelm's post notwithstanding, there is already a natural migration in progress toward using the Rev list for general discussion while the MC list becomes more and more just a place to discuss the IDE and other MC-specific issues. Since the MC list is needed as a venue for discussing the open source MC IDE development, merging them would be problematic for both. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Are there no help sites?
On 9/1/03 5:00 AM, gpvisual wrote: I have asked this question before but no-one replied. As I am fairly new to programming I need more help with using revolution than the manual provides. Has anyone made or know of a tutorial site for new revolution users? You have access to dozens of examples and tools in RevNet, included with your RunRev installation. Just select Go_RevNet from the Development-Plugins menu -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Are there no help sites?
Dan Shafer wrote: Chipp Walters has a great meta-resource listing other resources at http://www.fourthworld.com/rev/ Actually that one's mine. :) The contents on that page are also available in RevNet. Chipp's excellent collection is available at: http://www.altuit.com/webs/altuit2/RunRev/default.htm -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newby questions
James Spencer wrote: 1) Is there any convenient way to search the archives of this list other than downloading the entire mess and doing a text search? There's a Google trick that few can recall readily (myself included), so a search form is available at my RunRev page to do that for you: http://www.fourthworld.com/rev/ -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Applescript, slightly off-topic...
try this ... i'm pretty sure it will work. tell application InDesign 2.0.2 set find preferences to nothing set change preferences to nothing tell active document set vSearch to ^p^p^p set vReplace to ^p^p search for vSearch in active document replacing with vReplace end tell end tell -- *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ David M. Cole[EMAIL PROTECTED] Editor Publisher: The Cole Papers; NEWSINC.V: (650) 557-9595 Consultant: The Cole Group http://colegroup.com/ F: (650) 557-9696 *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Applescript, slightly off-topic...
Don't know about AppleScript but here is a Rev script that works: -- find and delete eol returns repeat get offset(RETURN, cd fld Text1) if it = 0 then exit repeat put into char it of cd fld Text1 end repeat [EMAIL PROTECTED] wrote: Could anyone tell me how to search for 3 returns in a textfile and replace them by 2 returns... I am using Revolution, to do some automated layout in Adobe InDesign, but can¹t seem to find how to use special characters in a search and replace string using AppleScript... When using the following script, InDesign unexpectedly quits... tell application InDesign 2.0.2 set find preferences to nothing set change preferences to nothing tell active document set vSearch to return return return set vReplace to return return search for vSearch in active document replacing with vReplace end tell end tell Any other search replace works fine, but how do I get rid of those returns? Any help is welcome, I¹m afraid the guys on the Adobe list are sleeping, no reply there at all :-(( Many thanks in advance, Ton Kuypers -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Applescript, slightly off-topic...
RG I was so afraid someone would come up with this... It crashes InDesign :-(( Ton Kuypers From: David M. Cole [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 29 Aug 2003 09:52:53 -0700 To: [EMAIL PROTECTED] Subject: Re: Applescript, slightly off-topic... try this ... i'm pretty sure it will work. tell application InDesign 2.0.2 set find preferences to nothing set change preferences to nothing tell active document set vSearch to ^p^p^p set vReplace to ^p^p search for vSearch in active document replacing with vReplace end tell end tell -- *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ David M. Cole[EMAIL PROTECTED] Editor Publisher: The Cole Papers; NEWSINC.V: (650) 557-9595 Consultant: The Cole Group http://colegroup.com/ F: (650) 557-9696 *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ ___ 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: command-line/CGI Revolution engine questions
Alex Rice wrote: # chmod +x fu.rev # ./fu.rev external startup mc: Can't open display mc: Can't load stack or script ./fu.rev I've never tried it on linux. Check echo $DISPLAY and see if the display is set. It can usually be solved by: # export DISPLAY=:0.0 The shell may not like this, so you can also use: # DISPLAY=:0.0; export DISPLAY The full form is DISPLAY=systemname:0.0 but it will default to the local system if the system name is left out. Nothing will work after the error about not being able to open the display. (This is the way it is done on Linux, I assume OS X is running X-Windows but maybe not!). -Steve ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Applescript, slightly off-topic...
It is the replace part that crashes InDesign... When replacing with it works fine, when using the paragraph code it goes wrong... I now will start working on getting the text into InDesign and do the search and replace in there... H... Thank you Adobe :-(( From: David M. Cole [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 29 Aug 2003 09:52:53 -0700 To: [EMAIL PROTECTED] Subject: Re: Applescript, slightly off-topic... try this ... i'm pretty sure it will work. tell application InDesign 2.0.2 set find preferences to nothing set change preferences to nothing tell active document set vSearch to ^p^p^p set vReplace to ^p^p search for vSearch in active document replacing with vReplace end tell end tell -- *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ David M. Cole[EMAIL PROTECTED] Editor Publisher: The Cole Papers; NEWSINC.V: (650) 557-9595 Consultant: The Cole Group http://colegroup.com/ F: (650) 557-9696 *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ ___ 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: command-line/CGI Revolution engine questions
On Monday, September 1, 2003, at 11:56 AM, Alex Rice wrote: This, however, does work ok: #!/usr/local/bin/mc on startup put hello world put linefeed end startup Now I understand why the previous poster (I'm bad with names) was doing like this #!/usr/local/bin/mc start using stack some.rev That is the direction I would explore. I have noticed that 'send' does work. The engine does not quit until there is no handler running and there are no messages in pending messages. This could be handy for those things that cannot be done in startup. And for allowing library messages to execute. I would expect 'open' to have trouble, but I have not run the experiment. Also on my list of experiments is 'start using' a stack with an external. The above example is outside a script. Does that really work? I think Bill Vlahos talked many months ago about the problems with using a Revolution stack as a deamon; perhaps this would mitigate those problems. 3) The 2.1 command-line/CGI engines are not available? Perhaps these are under policy review. There was also a question earlier about unix engines which I assume double as command-line/CGI engines. I hope RunRev does not become too concerned about these. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
what kind of new game is that in 2.1?
On Montag, Sep 1, 2003, at 16:31 Europe/Vienna, Javier Miranda V. wrote: Hi list, OSX 10.2.6 G4 1 Gig Ram starting 2.1 the flash screen hangs up with on loading paterns behind the flash screen the rev errorDisplay is flashing like crazy about 6-7 times per second.. and the old mac black and whit time disk is running like crazy too helped only: force quit... if this is not a new game, than it must be a starting problem, is`n it? (the old 2.0.1 starts correct) I do not know whats that, but ll try to install now rev 2.1 again, because I have to work sometimes... regards Wolfgang M. Bereuter Learn easy with trainingsmaps© INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ... http://www.internettrainer.com, [EMAIL PROTECTED] ... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How many people use Single-Handler Mode in Script Editor?
I do not use it and never thought it was a valuable feature. -Dan ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Encrypted stack doesn't behave properly - oops; yes it does.
Turns out my problem is the encryption of the stack. I was referring to the names of image objects which, of course, are encrypted with you set the password property to anything other than empty. The encryption yields a host of problems. I was copying an image (already in the stack) to the stack. Nope; can't do this as the stack has become non-modifiable. All of my code works fine as long as I don't have a password set -or- set the passkey when I open the stack. All I want to do is protect my code from view if someone tries to examine my stacks with Rev or with TextEdit. How can I do this? Obviously, this is not the application but a secondary stack (not sub-) whose data gets altered and saved during runtime. I can't ask the user to provide the password as I want to keep it a secret. Suggestions? Thanks, Barry Barry Jay Levine The Mac Guy Macintosh Troubleshooting, System Engineering, Training, AppleShare/OSX Server Setup, System Upgrades and Enhancements, Custom Programming for Mac/Windows/Linux/Solaris On-Site service for K20, Business, Consumer Phone/VoiceMail: 915-581-1105 Fax: 915-581-8167 eMail: [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Numeric field
Thanks to everybody who responded to my plea for help! Being new to Revolution, I really appreciate everyone being so helpful! I am a former REALbasic user who struggle with its complex programing language. Revolution is certainly easier but there is a lot to learn! I also have another question. In my RB project, I used a container to serve as a lookup table for correlations between intelligence and achievement tests. Is there similar procedure for Revolution that you can used for a lookup table? Charles ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution