From scott at tactilemedia.com Sun Feb 1 01:12:34 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 31 Jan 2009 22:12:34 -0800 Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090131213959.VTXW15001.atlmtaow02.cingularme.com@Inbox> Message-ID: Recently, Randall Reetz wrote: > This is a big problem with xtalk environments... they have not in general kept > pace with the modernization of graphics capabilities. This is true, but then again, how many xtalk environments are flourishing these days? If one wants to do do slick graphics, an xtalk is not the first place they'll turn. It's Flash or something similar. Revolution only recently got antialiasing, and even that doesn't work quite right. But it's a step. > For those of us using xtak to do prototypes, this is especially catistrophic. > How is one to design for the future if our tools pull us so far into the past. > Ever try, for instance to mock up a modern iphone app in xtalk... Good luck. > And what of things beyond the iphone? IMO, the key features you need to create the above are 1) alpha transparency, and 2) gradient support, both of which are now available in Rev. Ignoring those, PNG support has been strong in Rev for a while now -- the image object is your friend. Create PNG images in the image editor of your choice and import. In my case, if it wasn't for PNG support, I doubt there would much reason for me to use Rev at all. But to your point, better graphic support will be key, and soon, given the promises of Microsoft and Apple to move toward resolution independence and scalable vector driven graphics systems. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From randall at randallreetz.com Sun Feb 1 01:43:43 2009 From: randall at randallreetz.com (Randall Reetz) Date: Sat, 31 Jan 2009 22:43:43 -0800 Subject: Drawing a curved shape - 2nd attempt Message-ID: <20090201064718.QYS16725.atlmtaow03.cingularme.com@Inbox> Yes. I do use alpha mask images to fake it. But real live interaction is problematic. I need 3D control (at least of flat images). I need real curves under dynamic code control. I need object hinging and linking inheritance. I need the y axis. I need speed! I need threading! And yes i have rolled my own in all of these cases. But my god things slow to a crawl! How about edge detection (as an official property? How about gravity? Acceleration? Compression? Spring? Viscosity? Lighting? Surface effects? Built in versioning? Built in history? Topography? I know, i know, i am asking for tooooooooo much. But a guy can dream. What we have as a starting point is a great language. Object code and an event driven message triggered behavior model. That is a very good place to start. Randall. -----Original Message----- From: "Scott Rossi" To: "Revolution Mail List" Sent: 1/31/2009 10:12 PM Subject: Re: Drawing a curved shape - 2nd attempt Recently, Randall Reetz wrote: > This is a big problem with xtalk environments... they have not in general kept > pace with the modernization of graphics capabilities. This is true, but then again, how many xtalk environments are flourishing these days? If one wants to do do slick graphics, an xtalk is not the first place they'll turn. It's Flash or something similar. Revolution only recently got antialiasing, and even that doesn't work quite right. But it's a step. > For those of us using xtak to do prototypes, this is especially catistrophic. > How is one to design for the future if our tools pull us so far into the past. > Ever try, for instance to mock up a modern iphone app in xtalk... Good luck. > And what of things beyond the iphone? IMO, the key features you need to create the above are 1) alpha transparency, and 2) gradient support, both of which are now available in Rev. Ignoring those, PNG support has been strong in Rev for a while now -- the image object is your friend. Create PNG images in the image editor of your choice and import. In my case, if it wasn't for PNG support, I doubt there would much reason for me to use Rev at all. But to your point, better graphic support will be key, and soon, given the promises of Microsoft and Apple to move toward resolution independence and scalable vector driven graphics systems. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Sun Feb 1 02:58:08 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 31 Jan 2009 23:58:08 -0800 Subject: Recover from Temp? Message-ID: Hi List: Anyone know if it's possible to recover a stack from a (what I think is a) temp file? On OS X, doing a search for a file that has the name of a stack I'm currently working on yields several files named myFile.rev~ which I assume are temp files created during each save of the stack. Unfortunately, the Find dialog doesn't let me access these files, or show where they are stored. Is there any way to recover one of these files? (Some objects were deleted by accident in my stack which I didn't notice until recently -- backup version is not recent enough.) Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From geradamas at yahoo.com Sun Feb 1 03:08:35 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 1 Feb 2009 00:08:35 -0800 (PST) Subject: Button Basher Message-ID: <617607.46900.qm@web37501.mail.mud.yahoo.com> Thanks to Mark Swindell I have uploaded a new version of "BUTTON BASHER.rev" to revOnline that allows (on Macintosh systems) end-users to set their own colour gradients, [ Think addMax ] give it a go! sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From sarah.reichelt at gmail.com Sun Feb 1 04:24:33 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 1 Feb 2009 19:24:33 +1000 Subject: Recover from Temp? In-Reply-To: References: Message-ID: > Anyone know if it's possible to recover a stack from a (what I think is a) > temp file? > > On OS X, doing a search for a file that has the name of a stack I'm > currently working on yields several files named myFile.rev~ which I assume > are temp files created during each save of the stack. Unfortunately, the > Find dialog doesn't let me access these files, or show where they are > stored. Is there any way to recover one of these files? I presume you have searched & found the stack using Spotlight. Select "Show All" in the Spotlight menu to show the found items in a Finder window. Then selecting any of the found files will show the full path at the bottom of the Finder window. You can also right-click on any item and choose "Copy...." and then paste it somewhere visible. HTH, Sarah From geradamas at yahoo.com Sun Feb 1 05:08:40 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 1 Feb 2009 02:08:40 -0800 (PST) Subject: Recover from Temp? Message-ID: <354601.46885.qm@web37505.mail.mud.yahoo.com> 1. Command-F brings up a find application. 2. Use the first drop-down menu to select "Name". 3. Use the second drop-down menu to select "ends with". 4. Enter ".rev~" (without the quotes) into the text field. 5. All the RR temp files littering your hard drives will now be listed. 6. Single-clicking on them should show their path at the bottom of the window. 7. The all show up as visible in my Finder. 8. Dock the ~ from the end of the file and they might open in RR. However, experience teaches me that recovery is normally a long, miserable procedure involving a text-editor (I like TextWrangler). sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From viktoras at ekoinf.net Sun Feb 1 05:36:31 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Sun, 01 Feb 2009 12:36:31 +0200 Subject: [ot] fractal graphic filter In-Reply-To: References: <87F6DF6C-EC84-485D-B5B0-C883AD5DD0B2@sc.edu> <5231B603-3800-4649-919D-D4B2BC6283B9@byu.edu> Message-ID: <49857B2F.4010708@ekoinf.net> received this link from yet another list (chaos theory, fractals, etc...). Fractalius plugin for photoshop extracts hidden fractal texture of an image. The effect is really cooool! http://www.redfieldplugins.com/filterFractalius.htm Now I wonder what is the algorithm behind this... Any ideas ;-)? Best wishes Viktoras From geradamas at yahoo.com Sun Feb 1 06:21:44 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 1 Feb 2009 03:21:44 -0800 (PST) Subject: Button Basher Message-ID: <997769.26849.qm@web37503.mail.mud.yahoo.com> Thanks to Mark Swindell I have uploaded a new version of "BUTTON BASHER.rev" to revOnline that allows (on Macintosh systems) end-users to set their own colour gradients, [ Think addMax ] give it a go! AND NOW with PRESETS! sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From drdada at gmail.com Sun Feb 1 06:53:08 2009 From: drdada at gmail.com (Jonathan Cooper) Date: Sun, 1 Feb 2009 22:53:08 +1100 Subject: [OT] Google goes mad?.. In-Reply-To: <49846AA9.9080703@ekoinf.net> References: <4983A47F.4020801@fourthworld.com> <49845F97.5000801@ekoinf.net> <49846AA9.9080703@ekoinf.net> Message-ID: Here's the NY Times' report on the cause of and background to the problem: http://www.nytimes.com/2009/02/01/technology/01google.html?partner=permalink&exprod=permalink On Sun, Feb 1, 2009 at 2:13 AM, viktoras d. wrote: > a few minutes ago I searched for runtime revolution, birds, webcam hints, > climate change in google and each of these searches now is marked "This site > may harm your computer". So if I click the link it redirects to > www.google.com/insterstitial page "Warning- visiting this web site may > harm your computer". Do you experience the same or is it any sort of "local" > phenomenon ?.. > eferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at dvglasgow.wanadoo.co.uk Sun Feb 1 07:31:51 2009 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Sun, 1 Feb 2009 12:31:51 +0000 Subject: Rev timeline stack? In-Reply-To: <20090122005604.0C05148A7D8@mail.runrev.com> References: <20090122005604.0C05148A7D8@mail.runrev.com> Message-ID: Has anyone written a timeline stack/group? I have looked at the software about, which looks luscious (especially Bee docs timeline) but it doesn't allow notes etc to be added, or vertical timelines with information attached to left and right 'branches' of an event. I can't find my veteran HC 'CaseLiner stack anymore, which over 15 years ago did what I want, albeit not lusciously at all. (When I say 'timeline', I don't mean a Gantt chart, but the line with stalks and information flags, type of thing) Best David Glasgow From sbrami at noos.fr Sun Feb 1 08:18:21 2009 From: sbrami at noos.fr (Serge Brami) Date: Sun, 1 Feb 2009 14:18:21 +0100 Subject: chat and socket Message-ID: I want to create une simple Chat application between 2 users in a LOCAL NETWORK For that I create 2 stacks one for each user I create fields to store the messages to be sent and to be received I create controls to Open and close socketsocket I can create control to write to socket (for sending messages) But How to receive the messages ? Yes i can create a button for reading from socket , but I want to receive automatically the messages that have been sent It would be possible using an Idle handler ( on idle ,read from socket -end idle) but this would slow down my application Is there another way Thanks for help Serge BRAMI From williamdesmet at gmail.com Sun Feb 1 08:51:44 2009 From: williamdesmet at gmail.com (William de Smet) Date: Sun, 1 Feb 2009 14:51:44 +0100 Subject: Strange cursor behavior on several fields Message-ID: Hi there all, I got some 'strange behavior' of the cursor after 'on mouseup': the cursor keeps jumping from field to field but not all fields. I tried to cope with it by setting the focus on one field but no result either. I don't see why this happens. Anyone knows? *on* mouseUp *if* the icon of me = 1217 *then* *set* the icon of me to 1223 *else* *set* the icon of me to 1217 *repeat* with x = 1 to 50 *put* tPrefix & x into tVarName *if* the lockText of fld tVarName = true *then* *set* the lockText of fld tVarName to false *then* *set* the listBehavior of fld tVarName to false *then* *set* the showborder of fld tVarName to true *then* *set* the autohilite of fld tVarName to true *--focus on fld "b1"* *else* *set* the lockText of fld tVarName to true *set* the showborder of fld tVarName to false *set* the listBehavior of fld tVarName to true *set* the autohilite of fld tVarName to false *end* *if* *end* *repeat* *end* mouseUp Greetings, William From m.schonewille at economy-x-talk.com Sun Feb 1 09:02:35 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 1 Feb 2009 15:02:35 +0100 Subject: chat and socket In-Reply-To: References: Message-ID: <4566D3EB-AA3B-41F1-A772-D7A2E62BFFF1@economy-x-talk.com> Hi Serge, No, you don't do this with the idle handler. You could create a button, which which accepts connections on a partular port. As soon as data is detected, a message is sent to the button, which triggers a handler. For example: on mouseUp accept connections on port 1234 with message "foo" end mouseUp on foo theIP,theMsg beep put "You recieved the message:" && quote & theMsg & quote && "from:" && theIP && "at" && the long time into fld "Received Messages" close socket theIP end foo On the client machine, you could create a stack with a button, containing the following script: constant kSock = "192.168.0.1:1234" on mouseUp open socket to kSock write "hello" to socket kSock close socket kSock end mouseUp This is a good way to start experimenting. Once this works, you could modify your scripts to keep the connection alive. You do this by reading from socket theIP with message "foo" again, instead of closing the socket. However, you need to make sure that the socket is closed if the client gives a signal to do so. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 1 feb 2009, at 14:18, Serge Brami wrote: > I want to create une simple Chat application between 2 users in a > LOCAL NETWORK > > For that I create 2 stacks one for each user > > > I create fields to store the messages to be sent and to be received > I create controls to Open and close socketsocket > > I can create control to write to socket (for sending messages) > > But How to receive the messages ? > Yes i can create a button for reading from socket , but I want to > receive automatically the messages that have been sent > > It would be possible using an Idle handler ( on idle ,read from > socket -end idle) but this would slow down my application > > Is there another way > > Thanks for help > > > Serge BRAMI From geradamas at yahoo.com Sun Feb 1 10:09:18 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 1 Feb 2009 07:09:18 -0800 (PST) Subject: Button Basher Message-ID: <906730.59965.qm@web37507.mail.mud.yahoo.com> New version at revOnline with Metallic Buttons, and, Thanks to a suggestion by Bernd Niggemann, more responsive sliders for the User-Controlled Gradients and the Metallic Buttons. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From gbrackett at luceatlux.com Sun Feb 1 11:27:33 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Sun, 01 Feb 2009 11:27:33 -0500 Subject: Strange cursor behavior on several fields In-Reply-To: References: Message-ID: <865B09ED-F36B-4850-8168-2C4F77FF105E@luceatlux.com> One tiny thought: tPrefix isn't initialized unless it's a script local variable. George On Feb 1, 2009, at 8:51 AM, William de Smet wrote: Hi there all, I got some 'strange behavior' of the cursor after 'on mouseup': the cursor keeps jumping from field to field but not all fields. I tried to cope with it by setting the focus on one field but no result either. I don't see why this happens. Anyone knows? *on* mouseUp *if* the icon of me = 1217 *then* *set* the icon of me to 1223 *else* *set* the icon of me to 1217 *repeat* with x = 1 to 50 *put* tPrefix & x into tVarName *if* the lockText of fld tVarName = true *then* *set* the lockText of fld tVarName to false *then* *set* the listBehavior of fld tVarName to false *then* *set* the showborder of fld tVarName to true *then* *set* the autohilite of fld tVarName to true *--focus on fld "b1"* *else* *set* the lockText of fld tVarName to true *set* the showborder of fld tVarName to false *set* the listBehavior of fld tVarName to true *set* the autohilite of fld tVarName to false *end* *if* *end* *repeat* *end* mouseUp Greetings, William _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From williamdesmet at gmail.com Sun Feb 1 12:05:38 2009 From: williamdesmet at gmail.com (William de Smet) Date: Sun, 1 Feb 2009 18:05:38 +0100 Subject: Strange cursor behavior on several fields In-Reply-To: <865B09ED-F36B-4850-8168-2C4F77FF105E@luceatlux.com> References: <865B09ED-F36B-4850-8168-2C4F77FF105E@luceatlux.com> Message-ID: Thanks George, but yes the tPrefix is a local variable! William 2009/2/1 George C Brackett > One tiny thought: tPrefix isn't initialized unless it's a script local > variable. > > George > > > On Feb 1, 2009, at 8:51 AM, William de Smet wrote: > > Hi there all, > I got some 'strange behavior' of the cursor after 'on mouseup': > the cursor keeps jumping from field to field but not all fields. > I tried to cope with it by setting the focus on one field but no result > either. > I don't see why this happens. Anyone knows? > > *on* mouseUp > > *if* the icon of me = 1217 > > *then* *set* the icon of me to 1223 > > *else* *set* the icon of me to 1217 > > *repeat* with x = 1 to 50 > > *put* tPrefix & x into tVarName > > *if* the lockText of fld tVarName = true > > *then* *set* the lockText of fld tVarName to false > > *then* *set* the listBehavior of fld tVarName to false > > *then* *set* the showborder of fld tVarName to true > > *then* *set* the autohilite of fld tVarName to true > > *--focus on fld "b1"* > > *else* > > *set* the lockText of fld tVarName to true > > *set* the showborder of fld tVarName to false > > *set* the listBehavior of fld tVarName to true > > *set* the autohilite of fld tVarName to false > > *end* *if* > > *end* *repeat* > > *end* mouseUp > > > Greetings, > > > William > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Sun Feb 1 13:23:24 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 01 Feb 2009 10:23:24 -0800 Subject: Recover from Temp? In-Reply-To: Message-ID: Recently, Sarah Reichelt wrote: >> Anyone know if it's possible to recover a stack from a (what I think is a) >> temp file? >> >> On OS X, doing a search for a file that has the name of a stack I'm >> currently working on yields several files named myFile.rev~ which I assume >> are temp files created during each save of the stack. Unfortunately, the >> Find dialog doesn't let me access these files, or show where they are >> stored. Is there any way to recover one of these files? > > I presume you have searched & found the stack using Spotlight. > Select "Show All" in the Spotlight menu to show the found items in a > Finder window. > Then selecting any of the found files will show the full path at the > bottom of the Finder window. > You can also right-click on any item and choose "Copy...." and then > paste it somewhere visible. That's the problem. The filenames show up, but their icons are displayed as a dotted outline (no icon), no file path is displayed at the bottom of the Search window, and essentially there is no way I can find to access the files. When something goes wrong while saving a stack, Rev creates a backup file with the hope being one can recover work from the backup. I think these are the same files files, but when a save executes successfully, something is done to them so they don't show up normally in the Finder. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From randall at randallreetz.com Sun Feb 1 13:32:00 2009 From: randall at randallreetz.com (Randall Lee Reetz) Date: Sun, 1 Feb 2009 10:32:00 -0800 Subject: Recover from Temp? In-Reply-To: References: Message-ID: <11F86DBD-E621-498D-BB1D-4B358FE396D5@randallreetz.com> In SuperCard you can open the file in a text editor or extract the text with a read from file command. It will be garbled, but you can reverse engineer it cause the object names and scripts are all there. Or does Rev protect the file contents better (are they in byte code? Randall On Feb 1, 2009, at 10:23 AM, Scott Rossi wrote: > Recently, Sarah Reichelt wrote: > >>> Anyone know if it's possible to recover a stack from a (what I >>> think is a) >>> temp file? >>> >>> On OS X, doing a search for a file that has the name of a stack I'm >>> currently working on yields several files named myFile.rev~ which >>> I assume >>> are temp files created during each save of the stack. >>> Unfortunately, the >>> Find dialog doesn't let me access these files, or show where they >>> are >>> stored. Is there any way to recover one of these files? >> >> I presume you have searched & found the stack using Spotlight. >> Select "Show All" in the Spotlight menu to show the found items in a >> Finder window. >> Then selecting any of the found files will show the full path at the >> bottom of the Finder window. >> You can also right-click on any item and choose "Copy...." and then >> paste it somewhere visible. > > That's the problem. The filenames show up, but their icons are > displayed as > a dotted outline (no icon), no file path is displayed at the bottom > of the > Search window, and essentially there is no way I can find to access > the > files. > > When something goes wrong while saving a stack, Rev creates a > backup file > with the hope being one can recover work from the backup. I think > these are > the same files files, but when a save executes successfully, > something is > done to them so they don't show up normally in the Finder. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Sun Feb 1 13:47:50 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 01 Feb 2009 10:47:50 -0800 Subject: Recover from Temp? In-Reply-To: <11F86DBD-E621-498D-BB1D-4B358FE396D5@randallreetz.com> Message-ID: Recently, Randall Lee Reetz wrote: > In SuperCard you can open the file in a text editor or extract the > text with a read from file command. It will be garbled, but you can > reverse engineer it cause the object names and scripts are all > there. Or does Rev protect the file contents better (are they in > byte code? Well, I would be happy to poke around in a file, but again, there are no visible files in the Finder and no file path presented in the Search window so there's no way I find to access the files. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From meitnik at bellsouth.net Sun Feb 1 13:55:14 2009 From: meitnik at bellsouth.net (Andrew Meit) Date: Sun, 1 Feb 2009 13:55:14 -0500 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090201180005.AC98B48A358@mail.runrev.com> References: <20090201180005.AC98B48A358@mail.runrev.com> Message-ID: <43EDDF26-3634-46E0-99D8-331AD2D8AEEB@bellsouth.net> For over 20 years I have been waiting and wanting an xtalk supporting PS like graphics objects. I sent some years ago a classic curve drawing stack to Rev I created. I have seen others do it within xtalk but not smoothly however well done. Teasing me all the more of the rich, cool possibilities. There is much code for doing curve drawing on web, in textbooks, all in public domain. Yes, there are knotty tech issues to work out for an xtalk; yes, it must be done at the engine level. But it can be done I would hope so. I can only guess why (I have theories but I need to leave that unsaid), but frankly it is a painful mystery to me why Rev is not "getting it". Please, prove me wrong Rev. Please. Shalom, Andrew {Choose Life, Create Hope, Nurture Love, Wrestle Faith...} From jacque at hyperactivesw.com Sun Feb 1 14:21:16 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Feb 2009 13:21:16 -0600 Subject: Recover from Temp? In-Reply-To: References: Message-ID: <4985F62C.6000609@hyperactivesw.com> Scott Rossi wrote: > When something goes wrong while saving a stack, Rev creates a backup file > with the hope being one can recover work from the backup. I think these are > the same files files, but when a save executes successfully, something is > done to them so they don't show up normally in the Finder. You're right, these are temporary backup stacks. They are created in the same directory as the original stack, and when a save is successful they are supposed to be deleted from the hard drive. I've never seen dimmed icons like you describe so I'm not sure what's going on. But on a guess, maybe you could just ask Rev to open the file. If you see a dimmed icon in the Finder called "test.rev~" you should be able to determine the file path either by checking the directory drop-down menu in the Finder window, or by assuming it is in the same folder as the original "test.rev" stack. Then in the message box: put there is a file "/folder/folder/test.rev~" If that's true, then you should be able to open the file directly: go stack "/folder/folder/test.rev~" And then you can do a Save As to a known location. If the result of the existence check is false, then the Finder is trying to display a file that no longer exists, and I'm not sure how that could happen. The backup file isn't supposed to exist, assuming the original save went smoothly, so that part's right. I wonder if the Finder directory has somehow become confused. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sun Feb 1 14:42:59 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 1 Feb 2009 11:42:59 -0800 Subject: [ot] fractal graphic filter In-Reply-To: <49857B2F.4010708@ekoinf.net> References: <87F6DF6C-EC84-485D-B5B0-C883AD5DD0B2@sc.edu> <5231B603-3800-4649-919D-D4B2BC6283B9@byu.edu> <49857B2F.4010708@ekoinf.net> Message-ID: I wonder if they're cross platform. If they didn't say, probably not. PC only? 2009/2/1 viktoras d. > received this link from yet another list (chaos theory, fractals, etc...). > Fractalius plugin for photoshop extracts hidden fractal texture of an image. > The effect is really cooool! > > http://www.redfieldplugins.com/filterFractalius.htm > > Now I wonder what is the algorithm behind this... Any ideas ;-)? > > Best wishes > Viktoras > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard ------------------------- San Francisco From coiin at rcn.com Sun Feb 1 14:56:55 2009 From: coiin at rcn.com (Colin Holgate) Date: Sun, 1 Feb 2009 14:56:55 -0500 Subject: [ot] fractal graphic filter In-Reply-To: References: <87F6DF6C-EC84-485D-B5B0-C883AD5DD0B2@sc.edu> <5231B603-3800-4649-919D-D4B2BC6283B9@byu.edu> <49857B2F.4010708@ekoinf.net> Message-ID: <161E7CF4-518B-476D-8D79-6F141F3F41A4@rcn.com> On Feb 1, 2009, at 2:42 PM, stephen barncard wrote: > I wonder if they're cross platform. If they didn't say, probably > not. PC > only? Yes, it's in their FAQ page, there are no plans to make Mac versions. From randall at randallreetz.com Sun Feb 1 15:40:58 2009 From: randall at randallreetz.com (Randall Reetz) Date: Sun, 1 Feb 2009 12:40:58 -0800 Subject: [ot] fractal graphic filter Message-ID: <20090201204433.QFHL16725.atlmtaow03.cingularme.com@Inbox> The problem with fractal compression is that it like all compression schemes is usually applied indiscriminately to a whole file. A scheme that works best for some data doesnt always work best for others. The real breakthrough will involve an entropy metric that can be used to self optimize a scheme to regions and others other other regions... Setting up a topograhic mapping of compressions as directed by the morphology of that data. Do that and you can selectively and accurately reduce an image (or any other data set) to more general terms. For instance, if a filter were able to extract obects (humans, plants, buildings, furnature, infrastructure, land use, animals, equipment) into semantic primitives, it sould describe and store reality the way our brains do while we sleep. Achieving million-to-one compression ratios. -----Original Message----- From: "stephen barncard" To: "How to use Revolution" Sent: 2/1/2009 11:42 AM Subject: Re: [ot] fractal graphic filter I wonder if they're cross platform. If they didn't say, probably not. PC only? 2009/2/1 viktoras d. > received this link from yet another list (chaos theory, fractals, etc...) From scott at tactilemedia.com Sun Feb 1 16:52:57 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 01 Feb 2009 13:52:57 -0800 Subject: Recover from Temp? In-Reply-To: <4985F62C.6000609@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: > If you see a dimmed icon in the Finder called "test.rev~" you should be > able to determine the file path either by checking the directory > drop-down menu in the Finder window, or by assuming it is in the same > folder as the original "test.rev" stack. Then in the message box: > > put there is a file "/folder/folder/test.rev~" > > If that's true, then you should be able to open the file directly: > > go stack "/folder/folder/test.rev~" > > And then you can do a Save As to a known location. > > If the result of the existence check is false, then the Finder is trying > to display a file that no longer exists, and I'm not sure how that could > happen. The backup file isn't supposed to exist, assuming the original > save went smoothly, so that part's right. I wonder if the Finder > directory has somehow become confused. Thanks Jacque. Once again, there are NO files visible in the Finder. The way I can find the temp files is by using the Finder's search facility. In the results of the Search window, the file names are shown, along with the dotted-line icons, and NO file path at the bottom of the Window. It may not have come across in my posts, but I am quite familiar searching for files on a system. :-) I will try using Rev to recover a Rev file -- ironic, but appropriate. [ BTW, the only reason I even know about the temp files is years ago before there even was Revolution and OS X, I was able to recover a MetaCard project that mysteriously disappeared from my drive at 2AM, the morning before the project was due. I used Norton Utilities to search for any related files to my project, found the temp files (which are the result of every save of the file), and figured out I had an unintentional backup of several iterations of my file. Those temp files saved my butt. ] Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From sarah.reichelt at gmail.com Sun Feb 1 17:09:48 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 2 Feb 2009 08:09:48 +1000 Subject: Strange cursor behavior on several fields In-Reply-To: References: Message-ID: On Sun, Feb 1, 2009 at 11:51 PM, William de Smet wrote: > Hi there all, > I got some 'strange behavior' of the cursor after 'on mouseup': > the cursor keeps jumping from field to field but not all fields. > I tried to cope with it by setting the focus on one field but no result > either. > I don't see why this happens. Anyone knows? Is it just me (or Gmail) or does everyone get William's scripts with keywords surrounded by "*"? It makes it difficult to copy & paste them for testing... Anyway, I am actually surprised that the script compiles & runs, since I had no idea you could use multiple then's the way you do. It doesn't indent correctly int the script editor, but it does compile & run and once I had un-commented the "focus" line, it seemed to work exactly as you wanted. Could it be that you have additional handlers (closeField, openField, exitField) that might be altering the focus? One suggestion would be to lock messages and lock screen at the start of the handler or loop. And if "focus" isn't working for you, try: select the text of fld "b1" HTH, Sarah From mwieder at ahsoftware.net Sun Feb 1 18:02:20 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Feb 2009 15:02:20 -0800 Subject: [ot] fractal graphic filter In-Reply-To: <20090201204433.QFHL16725.atlmtaow03.cingularme.com@Inbox> References: <20090201204433.QFHL16725.atlmtaow03.cingularme.com@Inbox> Message-ID: <163487512656.20090201150220@ahsoftware.net> Randall- Sunday, February 1, 2009, 12:40:58 PM, you wrote: > The problem with fractal compression is that it like all > compression schemes is usually applied indiscriminately to a whole > file. A scheme that works best for some data doesnt always work > best for others. The real breakthrough will involve an entropy > metric that can be used to self optimize a scheme to regions and > others other other regions... Setting up a topograhic mapping of > compressions as directed by the morphology of that data. Do that > and you can selectively and accurately reduce an image (or any other > data set) to more general terms. For instance, if a filter were > able to extract obects (humans, plants, buildings, furnature, > infrastructure, land use, animals, equipment) into semantic > primitives, it sould describe and store reality the way our brains > do while we sleep. Achieving million-to-one compression ratios. Sounds like you may be interested in what Numenta's up to... www.numenta.com -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Feb 1 18:22:51 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Feb 2009 17:22:51 -0600 Subject: Strange cursor behavior on several fields In-Reply-To: References: Message-ID: <49862ECB.6040307@hyperactivesw.com> Sarah Reichelt wrote: > Is it just me (or Gmail) or does everyone get William's scripts with > keywords surrounded by "*"? > It makes it difficult to copy & paste them for testing... I see it too. If I remember right, the asterisks are the ASCII way of indicating bold text, and my email client does show those keywords in bold. Since the list strips everything down to plain ASCII, maybe William is posting HTML text with bolded keywords? > > Anyway, I am actually surprised that the script compiles & runs, since > I had no idea you could use multiple then's the way you do. Me too, I noticed it right off. I was going to suggest removing those to see it it matters but I didn't get around to testing the script. I'm very surprised it works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tereza at califex.com Sun Feb 1 18:42:38 2009 From: tereza at califex.com (Tereza Snyder) Date: Sun, 1 Feb 2009 17:42:38 -0600 Subject: Recover from Temp? In-Reply-To: References: Message-ID: On Feb 1, 2009, at 3:52 PM, Scott Rossi wrote: > Thanks Jacque. Once again, there are NO files visible in the > Finder. The > way I can find the temp files is by using the Finder's search > facility. In > the results of the Search window, the file names are shown, along > with the > dotted-line icons, and NO file path at the bottom of the Window. It > may not > have come across in my posts, but I am quite familiar searching for > files on > a system. :-) I tried searching for .rev~ files on my system and found none, so I'm not able to pilot my suggestion below, but if I saw what you describe, I'd ask myself why the system wasn't showing me everything I wanted to know? and I'd be reminded that it's a Unix system under the covers and the root of all evil in Unix (IMO) is permissions. So the first thing I'd do is enable the root user (http://docs.info.apple.com/article.html?path=Mac/10.5/en/11778.html ) and log in as root, do the same file search and see if the Finder is more forthcoming (be sure to disable the root user when you're done). I'd search for articles in MacFixit and similar places for ways to show invisible files. If you have BBedit or TextWrangler, use its "edit invisible files" capability to explore the directories where you think the files might be hiding (including the trash). Last time I upgraded my system, I got an extra hard drive so I could use TimeMachine for just these kinds of circumstances. It has saved my butt several times already! good luck, ]t From luis at anachreon.co.uk Sun Feb 1 19:25:27 2009 From: luis at anachreon.co.uk (Luis) Date: Mon, 02 Feb 2009 00:25:27 +0000 Subject: [ot] fractal graphic filter In-Reply-To: <20090201204433.QFHL16725.atlmtaow03.cingularme.com@Inbox> References: <20090201204433.QFHL16725.atlmtaow03.cingularme.com@Inbox> Message-ID: <49863D77.4050805@anachreon.co.uk> No wonder I wake up with a headache. Cheers, Luis. Randall Reetz wrote: > The problem with fractal compression is that it like all compression schemes is usually applied indiscriminately to a whole file. A scheme that works best for some data doesnt always work best for others. The real breakthrough will involve an entropy metric that can be used to self optimize a scheme to regions and others other other regions... Setting up a topograhic mapping of compressions as directed by the morphology of that data. Do that and you can selectively and accurately reduce an image (or any other data set) to more general terms. For instance, if a filter were able to extract obects (humans, plants, buildings, furnature, infrastructure, land use, animals, equipment) into semantic primitives, it sould describe and store reality the way our brains do while we sleep. Achieving million-to-one compression ratios. > > > -----Original Message----- > From: "stephen barncard" > To: "How to use Revolution" > Sent: 2/1/2009 11:42 AM > Subject: Re: [ot] fractal graphic filter > > I wonder if they're cross platform. If they didn't say, probably not. PC > only? > > 2009/2/1 viktoras d. > >> received this link from yet another list (chaos theory, fractals, etc...)_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From randall at randallreetz.com Sun Feb 1 20:03:03 2009 From: randall at randallreetz.com (Randall Reetz) Date: Sun, 1 Feb 2009 17:03:03 -0800 Subject: [ot] fractal graphic filter Message-ID: <20090202010637.NEKI15001.atlmtaow02.cingularme.com@Inbox> Sorry. I love this stuff. Do you remember the indiana jones scene where the ninja guy is comming at him with swinging knives... And he just pulls out a gun and shoots him? That is what great ideas do. -----Original Message----- From: "Luis" To: "How to use Revolution" Sent: 2/1/2009 4:25 PM Subject: Re: [ot] fractal graphic filter No wonder I wake up with a headache. Cheers, Luis. Randall Reetz wrote: > The problem with fractal compression is that it like all compression schemes is usually applied indiscriminately to a whole file. A scheme that works best for some data doesnt always work best for others. The real breakthrough will involve an entropy metric that can be used to self optimize a scheme to regions and others other other regions... Setting up a topograhic mapping of compressions as directed by the morphology of that data. Do that and you can selectively and accurately reduce an image (or any other data set) to more general terms. For instance, if a filter were able to extract obects (humans, plants, buildings, furnature, infrastructure, land use, animals, equipment) into semantic primitives, it sould describe and store reality the way our brains do while we sleep. Achieving million-to-one compression ratios. > > > -----Original Message----- > From: "stephen barncard" > To: "How to use Revolution" > Sent: 2/1/2009 11:42 AM > Subject: Re: [ot] fractal graphic filter > > I wonder if they're cross platform. If they didn't say, probably not. PC > only? > > 2009/2/1 viktoras d. > >> received this link from yet another list (chaos theory, fractals, etc...)_______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mark.hausmann at jessenlenz.com Sun Feb 1 22:01:41 2009 From: mark.hausmann at jessenlenz.com (mark.hausmann at jessenlenz.com) Date: Mon, 2 Feb 2009 04:01:41 +0100 Subject: Mark Hausmann/jl1 ist =?iso-8859-1?q?au=DFer_Haus=2E?= Message-ID: Ich werde ab 02.02.2009 nicht im B?ro sein. Ich kehre zur?ck am 02.03.2009. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. In dringenden F?llen wenden Sie sich bitte an meinen Kollegen Horst Strohkirch, email: horst.strohkirch at pdap.de From ambassador at fourthworld.com Sun Feb 1 23:17:25 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Feb 2009 20:17:25 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <498673D5.2010405@fourthworld.com> Andrew Meit wrote: > For over 20 years I have been waiting and wanting an xtalk supporting > PS like graphics objects. Why must it be an xTalk specifically? I wouldn't write an OS in an xTalk, and for graphic-intensive work I'd be quick to consider Flex: There's a world of options available. Enjoy them all... -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From mcgrath3 at mac.com Sun Feb 1 23:43:56 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 01 Feb 2009 23:43:56 -0500 Subject: OT: Congratulations Pittsburgh Steelers Win the Superbowl Message-ID: OT: Just had to express my joy in seeing my home team The Steelers win the Superbowl. It was a tough year for us and wow what a great game. Steelers win Superbowl 43.... Six time Superbowl champions..... Tom McGrath III Lazy River Software 220 Drake Road Pittsburgh, PA 15102 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html From sims at ezpzapps.com Sun Feb 1 23:52:38 2009 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 2 Feb 2009 05:52:38 +0100 Subject: Recover from Temp? In-Reply-To: References: Message-ID: On Feb 1, 2009, at 10:52 PM, Scott Rossi wrote: > The > way I can find the temp files is by using the Finder's search > facility. > [ BTW, the only reason I even know about the temp files is years ago > before > there even was Revolution and OS X, I was able to recover a MetaCard > project > that mysteriously disappeared from my drive at 2AM, the morning > before the > project was due. I used Norton Utilities to search for any related > files to > my project, found the temp files (which are the result of every save > of the > file), and figured out I had an unintentional backup of several > iterations > of my file. Those temp files saved my butt. ] If I use: put specialFolderPath("Temporary") I get the following: /Users/jimsims/Library/Caches/TemporaryItems Maybe the file might be found in there? If you cannot actually see it or access it PERHAPS you might be able to copy it or read/write the file? Also, if I request a Temp file name by using: put the tempName I will get: /private/var/folders/-N/-NvTgUlu2RqtP++BYqw1d++++TI/ TemporaryItems/tmp3 Maybe I would be able to add the filename to that path and either copy or read/write the file? Clearly my suggestions are a shot in the dark - but that happens to be where you unfortunately are ;-) sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From katir at hindu.org Mon Feb 2 00:01:03 2009 From: katir at hindu.org (Sivakatirswami) Date: Sun, 01 Feb 2009 19:01:03 -1000 Subject: How to I fix the color picker palette? In-Reply-To: <021F4BDF-5595-429A-9136-65A69E11B98E@inria.fr> References: <021F4BDF-5595-429A-9136-65A69E11B98E@inria.fr> Message-ID: <49867E0F.9060500@hindu.org> Aloha, Jim: Yep, you hit on that bug very nicely, you have exactly reproduced the problem we had for some time. I'm not sure when it went away... no one had any solutions...I just lived with it. finally, I can't remember which it was... either an upgrade to a new version of Rev And/Or and upgrade to the OS. I think it was a combination of both, because when I upgraded to 3.0 the problem did not go away, but when I upgraded to Leopard the problem *did* go away. But if you reverted back to 2.9, it recurred. But don't quote me on that, I'm terrible about doing a proper QA analysis when hitting these bugs in Rev. They are rarely show stoppers. I just closed the inspector each time I wanted to do another color setting. Sivakatirswami Andre.Bisseret wrote: > Hi Jim, > Seems similar to the problem I had last year. > (see the thread "Colors and patterns" works once then freezes Rev in > the april 2008 archives); Sivakatirswami had had the same problem. > Following Sivakatirswami, I thought it was a problem in my system > (Leopard), but found no idea on what it could be ! > The problem disappeared some weeks later; I think it was when > upgrading a new version of Leopard (not sure). > > Sorry, that not help you a lot ;-(( remains a mystery for me > > Best regards from Grenoble > Andr? > > > Le 30 janv. 09 ? 21:13, Jim Ault a ?crit : > >> All seemed to be well before yesterday. >> Rev 2.9/ OSX Leopard >> >> I was using Eric?s new trial stack, changed the row color once, success, >> then tried to change it again and got the following: >> >> >> Rev 2.9/ OSX Leopard behaved the same way as if the palette were >> open, >> but none was visible. I was able to hit escape and get back >> control. Today >> I tried to change the bg color of a field and got the same freeze, >> only now >> there is no way to get control back. >> >> Quick testing shows that >> launch Rev >> new mainstack, 1 new field, >> use property inspector to change fill color = works >> color picker is visible center screen. >> >> property inspector still open, >> dbl-clk to change again = freeze, menus disabled(gray) and requires >> force >> quit >> >> The same for text fill color. >> >> revcolorchooser.rev shows the mod date July 2008 20K >> >> What should I be looking for? >> >> Jim Ault >> Las Vegas >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From randall at randallreetz.com Mon Feb 2 00:51:14 2009 From: randall at randallreetz.com (Randall Reetz) Date: Sun, 1 Feb 2009 21:51:14 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <20090202055449.DROO15001.atlmtaow02.cingularme.com@Inbox> Oh yes, here come the attack dogs. Richard, everyone is welcome to their openion. Andrew has a deep and distinguished career in post script and xtalk and large scale software projects. Stop with the (very predictable) defensive attack everytime anyone cares enough about xtalk to offer a wish list or a considdered and deeply experienced openion. Why would somone want a curves in rev or some other xtalk IDE they work in? Why wouldnt they??? Going out to another media editor and bringing caned constructions into xtalk will never give you the kind of live user interaction (under dynamic code control in real time) that you would have if it was a native function. So if you really want to protect the image of rev do so as a big person who is big enough to accept criticism... Maybe even freely and openly invite it! Rev is certainly good enough to live within an active and critical market and user community. Your attacks are pompus and hurtful and have a tendancy to quiet anyone who might not be so bold and self assured as andrew. And there is no reason. You are a smart man richard. Use it to break down the walls. Lets bring everyone and all their opinions along on this wonderful journey. There is room for change... Especially when it is 20 years past due. randall -----Original Message----- From: "Richard Gaskin" To: "How to use Revolution" Sent: 2/1/2009 8:17 PM Subject: Re: Subject: Drawing a curved shape - 2nd attempt Andrew Meit wrote: > For over 20 years I have been waiting and wanting an xtalk supporting > PS like graphics objects. Why must it be an xTalk specifically? I wouldn't write an OS in an xTalk, and for graphic-intensive work I'd be quick to consider Flex: There's a world of options available. Enjoy them all... -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Feb 2 01:40:09 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Feb 2009 22:40:09 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <49869549.5010101@fourthworld.com> Randall Reetz wrote: >> Andrew Meit wrote: >>> For over 20 years I have been waiting and wanting an xtalk >>> supporting PS like graphics objects. >> >> Why must it be an xTalk specifically? >> >> I wouldn't write an OS in an xTalk, and for graphic-intensive work >> I'd be quick to consider Flex: >> >> >> >> There's a world of options available. Enjoy them all... > > Oh yes, here come the attack dogs. Richard, everyone is welcome > to their openion. Andrew has a deep and distinguished career in > post script and xtalk and large scale software projects. Stop with > the (very predictable) defensive attack everytime anyone cares enough > about xtalk to offer a wish list or a considdered and deeply > experienced openion. Whiskey Tango Foxtrot? "attack dog"? Please. I'll bet Andrew's laughing as hard reading your post as I am. I know Andrew rather well, spanning decades; I've had many a conversation with him on the phone and in email, and have even hired him to help me with a project. I trust Andrew knows me well enough to know that my question was in earnest. Andrew has some significant accomplishments under his belt over the years, and as much as he shares the love of xTalks that brings us all to this list, he's also quite capable of learning anything else he puts his mind to. So my question was as simple as I'd written it. And if you don't mind letting Andrew answer his own questions, I'm still interested to hear what he has to say on this. > Why would somone want a curves in rev or some other xtalk IDE they > work in? Why wouldnt they??? Of course they would. Me too. In fact, I'm the only one who's voted for Andrew's request for that feature: I also had an email exchange with Kevin about this very feature just last week. Even without your supporting votes for Andrew's request, I'll bet you wouldn't mind seeing it in Rev too. But where you and I part ways is the expectation that Kevin will -- or even can -- deliver everything everyone wants exactly when they want it. Sure, I'll keep my votes in place and would love to see it in Rev. But while I wait for Kevin to get around to that and a number of other things I'm looking for, I owe it to myself to see what other tools may give me what I'm looking for. For vector graphics (and table objects and quite a number of other things people have been asking for), Flex offers some good solutions right now for those who need to ship. Like any tool, it's not without its warts. But it's proven itself to be more than an interesting experiment, and worthy of consideration for a person as astute as Andrew, esp. given his strong background in vector op codes (he's done some amazing work with fonts and Fontographer). > Lets bring everyone and all their opinions along on this > wonderful journey. Could that include me too? Randall, you're relatively new to this list, yet have already had a surprising number of social complexities here. Please, feel free to slow down and relax, presume good intentions from your colleagues here and enjoy the friendly camaraderie that characterizes the exchanges on list. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From stephenREVOLUTION2 at barncard.com Mon Feb 2 01:43:24 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 1 Feb 2009 22:43:24 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202055449.DROO15001.atlmtaow02.cingularme.com@Inbox> References: <20090202055449.DROO15001.atlmtaow02.cingularme.com@Inbox> Message-ID: Where in blazes did this come from? Did I miss a post? Attack dogs? The only confrontational words in this thread seem to be yours. sqb 2009/2/1 Randall Reetz > Oh yes, here come the attack dogs. Richard, everyone is welcome to > their openion. Andrew has a deep and distinguished career in post script > and xtalk and large scale software projects. Stop with the (very > predictable) defensive attack everytime anyone cares enough about xtalk to > offer a wish list or a considdered and deeply experienced openion. Why > would somone want a curves in rev or some other xtalk IDE they work in? Why > wouldnt they??? Going out to another media editor and bringing caned > constructions into xtalk will never give you the kind of live user > interaction (under dynamic code control in real time) that you would have if > it was a native function. So if you really want to protect the image of rev > do so as a big person who is big enough to accept criticism... Maybe even > freely and openly invite it! Rev is certainly good enough to live within an > active and critical market and user community. Your attacks are pompus and > hurtful and have a tendancy to quiet anyone who might not be so bold and > self assured as andrew. And there is no reason. You are a smart man > richard. Use it to break down the walls. Lets bring everyone and all their > opinions along on this wonderful journey. There is room for change... > Especially when it is 20 years past due. > > randall > -----Original Message----- > From: "Richard Gaskin" > To: "How to use Revolution" > Sent: 2/1/2009 8:17 PM > Subject: Re: Subject: Drawing a curved shape - 2nd attempt > > Andrew Meit wrote: > > For over 20 years I have been waiting and wanting an xtalk supporting > > PS like graphics objects. > > Why must it be an xTalk specifically? > > I wouldn't write an OS in an xTalk, and for graphic-intensive work I'd > be quick to consider Flex: > > < > http://livedocs.adobe.com/flex/3/html/help.html?content=Drawing_Vector_Graphics_2.html > > > > There's a world of options available. Enjoy them all... > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard ------------------------- San Francisco From ambassador at fourthworld.com Mon Feb 2 01:57:45 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Feb 2009 22:57:45 -0800 Subject: Redirect strategies for coping with IE7 Message-ID: <49869969.7030603@fourthworld.com> Many thanks to Brian, Viktoras, and the others who chimed in on this. Yes, the more I look into this the more it looks like mod_rewrite is the answer. In fact, it looks like Rewrite is the answer to a great many things, even some questions I'd never asked before. :) Deep subject, much reading to do, but with your helpful pointers it looks like I'll be able to do what I need and more.... -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From briany at qldlearning.com Mon Feb 2 02:36:18 2009 From: briany at qldlearning.com (Brian Yennie) Date: Sun, 1 Feb 2009 23:36:18 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202055449.DROO15001.atlmtaow02.cingularme.com@Inbox> References: <20090202055449.DROO15001.atlmtaow02.cingularme.com@Inbox> Message-ID: Randall, There's nothing wrong with presenting a wish list. The problem is, it seems like every few weeks you have an extensive set of "must-haves" to share and don't want to hear that you might have to do more work than ranting about how they should all be native xTalk commands. First you wanted a game server - but apparently didn't want to deal with sockets (even though Rev has a very nice socket API). Then you wanted file system events built in to Rev. Now you seem to want Flex / Flash feature sets embedded into Rev. Rev is a great tool, but it's not for everything and it will not be able to encompass every project you dream up with high level commands. Adding a curve object, a good idea. But then you put something out that looked more like a list of demands, filled with every buzz word you could think of around the subject. That's not constructive, and it's not insightful. Slowwww down my friend (and yes, we are ALL friends here including "us" =)). Discuss things. Keep the name calling for some other list. I would suggest looking into "constructive critism" if you want people to accept it. Curve object. Good idea. Let's focus there. I believe Richard just pointed out that it's a good idea to consider multiple tools. Right now I am having a blast becoming proficient in Flash / ActionScript 3. There are many things I can do in Flash that I don't believe there is any chance whatsoever of ever doing in Rev, and vice versa. They are completely different paradigms. Likewise, I'm glad I know MySQL well, because if I was trying to run a large scale website with Rev as my database I'd be out of business. I'm also running ElectroServer, which is a high performance gaming server written in Java. If I had to code it from scratch in Rev, it could be a nightmare and I would probably never catch up with what is already out there. You see, every project you've been wishing to do on this list, I could start tomorrow because I have many tools at my disposal. So I would say Richard's suggestion was pretty good advice. And yes, I'm actively using Rev as part of my projects as well =). > Oh yes, here come the attack dogs. Richard, everyone is welcome > to their openion. Andrew has a deep and distinguished career in > post script and xtalk and large scale software projects. Stop with > the (very predictable) defensive attack everytime anyone cares > enough about xtalk to offer a wish list or a considdered and deeply > experienced openion. Why would somone want a curves in rev or some > other xtalk IDE they work in? Why wouldnt they??? Going out to > another media editor and bringing caned constructions into xtalk > will never give you the kind of live user interaction (under dynamic > code control in real time) that you would have if it was a native > function. So if you really want to protect the image of rev do so > as a big person who is big enough to accept criticism... Maybe even > freely and openly invite it! Rev is certainly good enough to live > within an active and critical market and user community. Your > attacks are pompus and hurtful and have a tendancy to quiet anyone > who might not be so bold and self assured as andrew. And there is > no reason. You are a smart man richard. Use it to break down the > walls. Lets bring everyone and all their opinions along on this > wonderful journey. There is room for change... Especially when it > is 20 years past due. > > randall From viktoras at ekoinf.net Mon Feb 2 04:15:12 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Mon, 02 Feb 2009 11:15:12 +0200 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <49869549.5010101@fourthworld.com> References: <49869549.5010101@fourthworld.com> Message-ID: <4986B9A0.1070700@ekoinf.net> now you have my vote for this feature too. Viktoras Richard Gaskin wrote: > In fact, I'm the only one who's voted for Andrew's request for that > feature: > > > I also had an email exchange with Kevin about this very feature just > last week. > From lan.kc.macmail at gmail.com Mon Feb 2 05:03:52 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 2 Feb 2009 18:03:52 +0800 Subject: Recover from Temp? In-Reply-To: References: Message-ID: On Mon, Feb 2, 2009 at 7:42 AM, Tereza Snyder wrote: > Last time I upgraded my system, I got an extra hard drive so I could use > TimeMachine for just these kinds of circumstances. It has saved my butt > several times already! > Whilst I wouldn't argue against the use of TimeMachine, for those who have it, I find GLX2's Archive feature a swifter solution for such Rev specific problems. From barry_barber at yahoo.it Mon Feb 2 06:47:22 2009 From: barry_barber at yahoo.it (Barry Barber) Date: Mon, 2 Feb 2009 11:47:22 +0000 (GMT) Subject: Button Basher Message-ID: <498092.46153.qm@web26108.mail.ukl.yahoo.com> Hi Richmond You wrote >Thanks to Mark Swindell I have uploaded a new version of "BUTTON BASHER.rev" >to revOnline that allows (on Macintosh systems) end-users to set their own >colour gradients, >give it a go! >sincerely, Richmond Mathewson. ----------------- Thanks to you for another useful tool. Now I will not have to fiddle with The Gimp in the middle of a GUI build! Just one note though. The label "These buttons will only work with Macintosh systems" in card MORE GRADIENTS seems redundant; they all work excellently on XP-HE (except Condensed, Box and Expanded in TEXT STYLE)! Glad someone has realised we do not have to remain restricted to the card size limits of HC and MacSE. My eyes are blessing you! All the best Barry From randall at randallreetz.com Mon Feb 2 08:26:25 2009 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 2 Feb 2009 05:26:25 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <20090202133001.SHRC16725.atlmtaow03.cingularme.com@Inbox> I have never asked for a game server. I dont build games... Have never even played one. Secondly, yes i do keep hoping and praying and asking for features that would extend the original user-level programming ethos of allan kay and bill atkenson to the modern world we live in. Sockets are to xtalk what a machine shop is to an erector set. All of you should be agreeing with me, not fighting me. These things i ask for are obvious ways for xtalk to do for today's computing world what smalltalk and hypertalk did for the mid 1980's. Namely, to wrap deep functionality into a pedestrian common english syntax. To un-socket sockets as it were. I am writing deep pattern engine and symantic engine in xtalk, so dont dare say i am unwilling to go the coding distance. I have written self optimized multithreading into xtalk. I wrote a symantic indexing system into xtalk. I have written a full resolution independent 3D engine in xtalk. But what i find it dificult to do is write the same code everyone else is writing just to limp xtalk into the present. That goes so counter to the original intent of xtalk. How is the rev product threatened by deep thinking people wondering aloud what features would make xtalk that much more powerful and contemporary? -----Original Message----- From: "Brian Yennie" To: "How to use Revolution" Sent: 2/1/2009 11:36 PM Subject: Re: Subject: Drawing a curved shape - 2nd attempt Randall, There's nothing wrong with presenting a wish list. The problem is, it seems like every few weeks you have an extensive set of "must-haves" to share and don't want to hear that you might have to do more work than ranting about how they should all be native xTalk commands. First you wanted a game server - but apparently didn't want to deal with sockets (even though Rev has a very nice socket API). Then you wanted file system events built in to Rev. Now you seem to want Flex / Flash feature sets embedded into Rev. Rev is a great tool, but it's not for everything and it will not be able to encompass every project you dream up with high level commands. Adding a curve object, a good idea. But then you put something out that looked more like a list of demands, filled with every buzz word you could think of around the subject. That's not constructive, and it's not insightful. Slowwww down my friend (and yes, we are ALL friends here including "us" =)). Discuss things. Keep the name calling for some other list. I would suggest looking into "constructive critism" if you want people to accept it. Curve object. Good idea. Let's focus there. I believe Richard just pointed out that it's a good idea to consider multiple tools. Right now I am having a blast becoming proficient in Flash / ActionScript 3. There are many things I can do in Flash that I don't believe there is any chance whatsoever of ever doing in Rev, and vice versa. They are completely different paradigms. Likewise, I'm glad I know MySQL well, because if I was trying to run a large scale website with Rev as my database I'd be out of business. I'm also running ElectroServer, which is a high performance gaming server written in Java. If I had to code it from scratch in Rev, it could be a nightmare and I would probably never catch up with what is already out there. You see, every project you've been wishing to do on this list, I could start tomorrow because I have many tools at my disposal. So I would say Richard's suggestion was pretty good advice. And yes, I'm actively using Rev as part of my projects as well =). > Oh yes, here come the attack dogs. Richard, everyone is welcome > to their openion. Andrew has a deep and distinguished career in > post script and xtalk and large scale software projects. Stop with > the (very predictable) defensive attack everytime anyone cares > enough about xtalk to offer a wish list or a considdered and deeply > experienced openion. Why would somone want a curves in rev or some > other xtalk IDE they work in? Why wouldnt they??? Going out to > another media editor and bringing caned constructions into xtalk > will never give you the kind of live user interaction (under dynamic > code control in real time) that you would have if it was a native > function. So if you really want to protect the image of rev do so > as a big person who is big enough to accept criticism... Maybe even > freely and openly invite it! Rev is certainly good enough to live > within an active and critical market and user community. Your > attacks are pompus and hurtful and have a tendancy to quiet anyone > who might not be so bold and self assured as andrew. And there is > no reason. You are a smart man richard. Use it to break down the > walls. Lets bring everyone and all their opinions along on this > wonderful journey. There is room for change... Especially when it > is 20 years past due. > > randall _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution [truncated by sender] From luis at anachreon.co.uk Mon Feb 2 08:36:49 2009 From: luis at anachreon.co.uk (Luis) Date: Mon, 2 Feb 2009 13:36:49 +0000 Subject: [ot] fractal graphic filter In-Reply-To: <20090202010637.NEKI15001.atlmtaow02.cingularme.com@Inbox> References: <20090202010637.NEKI15001.atlmtaow02.cingularme.com@Inbox> Message-ID: <78C36821-2FD8-4C31-BBBF-1B1FA6A8637C@anachreon.co.uk> Gotta love reframes! Cheers, Luis. On 2 Feb 2009, at 01:03, Randall Reetz wrote: > Sorry. I love this stuff. Do you remember the indiana jones scene > where the ninja guy is comming at him with swinging knives... And > he just pulls out a gun and shoots him? That is what great ideas do. > > -----Original Message----- > From: "Luis" > To: "How to use Revolution" > Sent: 2/1/2009 4:25 PM > Subject: Re: [ot] fractal graphic filter > > No wonder I wake up with a headache. > > Cheers, > > Luis. > > > Randall Reetz wrote: >> The problem with fractal compression is that it like all >> compression schemes is usually applied indiscriminately to a whole >> file. A scheme that works best for some data doesnt always work >> best for others. The real breakthrough will involve an entropy >> metric that can be used to self optimize a scheme to regions and >> others other other regions... Setting up a topograhic mapping of >> compressions as directed by the morphology of that data. Do that >> and you can selectively and accurately reduce an image (or any >> other data set) to more general terms. For instance, if a filter >> were able to extract obects (humans, plants, buildings, furnature, >> infrastructure, land use, animals, equipment) into semantic >> primitives, it sould describe and store reality the way our brains >> do while we sleep. Achieving million-to-one compression ratios. >> >> >> -----Original Message----- >> From: "stephen barncard" >> To: "How to use Revolution" >> Sent: 2/1/2009 11:42 AM >> Subject: Re: [ot] fractal graphic filter >> >> I wonder if they're cross platform. If they didn't say, probably >> not. PC >> only? >> >> 2009/2/1 viktoras d. >> >>> received this link from yet another list (chaos theory, fractals, >>> etc...)_______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at futilism.com Mon Feb 2 09:08:04 2009 From: lists at futilism.com (Mark Smith) Date: Mon, 2 Feb 2009 14:08:04 +0000 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202133001.SHRC16725.atlmtaow03.cingularme.com@Inbox> References: <20090202133001.SHRC16725.atlmtaow03.cingularme.com@Inbox> Message-ID: Randall, wondering aloud about features is welcome (at least as far as I'm concerned, and I'm sure to most of us), it's just that phrases like "limp xtalk into the present' come off as kind of confrontational. The general style on this list is very much non- confrontational - you wouldn't be the first person to get a raised- eyebrow response to that kind of talk, just please don't take it the wrong way! It seems to me that some of the things you talk about would be better addressed on the improve list, rather than the how-to list, but you need an enterprise licence to join that list. BTW, self-optimizing multi-threading sounds very interesting - was it in Revolution? If so, anything you can share? Best, Mark On 2 Feb 2009, at 13:26, Randall Reetz wrote: > I have never asked for a game server. I dont build games... Have > never even played one. Secondly, yes i do keep hoping and praying > and asking for features that would extend the original user-level > programming ethos of allan kay and bill atkenson to the modern > world we live in. Sockets are to xtalk what a machine shop is to > an erector set. > All of you should be agreeing with me, not fighting me. These > things i ask for are obvious ways for xtalk to do for today's > computing world what smalltalk and hypertalk did for the mid > 1980's. Namely, to wrap deep functionality into a pedestrian > common english syntax. To un-socket sockets as it were. I am > writing deep pattern engine and symantic engine in xtalk, so dont > dare say i am unwilling to go the coding distance. I have written > self optimized multithreading into xtalk. I wrote a symantic > indexing system into xtalk. I have written a full resolution > independent 3D engine in xtalk. But what i find it dificult to do > is write the same code everyone else is writing just to limp xtalk > into the present. That goes so counter to the original intent of > xtalk. How is the rev product threatened by deep thinking people > wondering aloud what features would make xtalk that much more > powerful and contemporary? > > From lists at futilism.com Mon Feb 2 09:23:57 2009 From: lists at futilism.com (Mark Smith) Date: Mon, 2 Feb 2009 14:23:57 +0000 Subject: drag-resize stack Message-ID: Has anyone any experience with adding the bottom-right-corner drag-to- resize functionality to a custom window (no decorations) style stack? I've been playing around and can't seem to come up with anything that works smoothly - any thoughts? Thanks, Mark From DunbarX at aol.com Mon Feb 2 09:56:03 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 2 Feb 2009 09:56:03 EST Subject: drag-resize stack Message-ID: Couldn't you, on a mouseStillDown handler, check to see if the screenMouseLoc is within a few pixels of the botRight of the card window, and track the botRight of the card window? ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://www.dell.com/co ntent/products/features.aspx/laptops_great_deals& #63;c=us%26cs=19%26l=en%26s=dhs%26&#126;ck=anavml) From jhurley0305 at sbcglobal.net Mon Feb 2 10:02:43 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 2 Feb 2009 07:02:43 -0800 Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090201180005.AC98B48A358@mail.runrev.com> References: <20090201180005.AC98B48A358@mail.runrev.com> Message-ID: <1F26C78B-7DCC-4F2D-9B09-FB851F1B1DC5@sbcglobal.net> > > Message: 4 > Date: Sat, 31 Jan 2009 22:23:56 +0100 > From: Graham Samuel > Subject: Drawing a curved shape - 2nd attempt > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > Dear list > > I sent this mail a few days ago, and unless I missed it, (always > possible if you get the digest, as do) I got no replies at all. This > is the first time this has happened to me, so I thought it might be > worth a second try to see if I get anyone's attention. > > TIA > > Graham > > It seems funny that after all these years I've never tried this, but I > realise I don't know how to draw a curved shape by script. I see from > the Rev documentation that the style of a graphic can be 'curve' and > that the shape of the graphic can be defined by its points, but that > doesn't tell me how to produce a smooth curve which will still look > curved at any degree of enlargement or resolution. Graham, Until Run Rev comes up with a true bezier graphic you may find that a simulation is adequate for your purposes. Go to: http://home.infostations.net/jhurley/ There you will find the following discussion of a bezier plug-in. "Bezier Line (New and improved) This is a plug-in allowing you to paste a bezier line onto any card of any stack. It is the normal bezier curve you are probably familiar with, line and tangent controls. The line controls may be either corner points or continuous tangent points. The control points are made invisible by double clicking on the bezier line. (This gives you a single line with any shape compatible with the cubic parametric expansion of curve's function.) Double clicking again brings the control points back. It is self-contained. All handlers are in the control points and the bezier line itself. I have added the ability to remove all the bezier control and their scipts, thus reducing the overhead. It might reduce the size of your stack by 100 K or more. (In the compact version, you will have a choice of saving the bezier curve as an open line graphic or a closed polygon graphic.) A more compact version (40 K verser 180 K) of this plug in also available." Jim Hurley From livfoss at mac.com Mon Feb 2 10:15:11 2009 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Feb 2009 16:15:11 +0100 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202133006.3771748A35F@mail.runrev.com> References: <20090202133006.3771748A35F@mail.runrev.com> Message-ID: <06D3C4D5-C2BE-4A08-8F07-15D41DE9BA0E@mac.com> Yes, but as the originator of this thread, what I'm after is drawing a curve from within a Rev-based standalone based on data which the program is handling, either generated by the program or input by the user, and then let the user print it out at full resolution. I would not want to licence Flash to get this functionality. It does seem a perfectly reasonable idea - even a simplified system which restricts the kind of curves you can draw would be better than nothing. I had assumed that Rev had the ability to draw vector-based curves via script but I couldn't find out how to do it, therefore I started this thread. I didn't expect the answer to be "you can't". Incidentally, what is the graphic style 'curve' actually for? I can't work out from the docs what visible properties it bestows on the graphic. Graham On Sun, 01 Feb 2009 20:17:25 -0800, Richard Gaskin wrote: > > Andrew Meit wrote: >> For over 20 years I have been waiting and wanting an xtalk supporting >> PS like graphics objects. > > Why must it be an xTalk specifically? > > I wouldn't write an OS in an xTalk, and for graphic-intensive work I'd > be quick to consider Flex: > > > > > There's a world of options available. Enjoy them all... From bdrunrev at gmail.com Mon Feb 2 10:38:45 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 2 Feb 2009 15:38:45 +0000 Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <1F26C78B-7DCC-4F2D-9B09-FB851F1B1DC5@sbcglobal.net> References: <20090201180005.AC98B48A358@mail.runrev.com> <1F26C78B-7DCC-4F2D-9B09-FB851F1B1DC5@sbcglobal.net> Message-ID: Hi Jim I was interested to look at your solution, but only the 'compact' version is available (the link behind the 'Bezier Line' returns a 404). Regards, Bernard On Mon, Feb 2, 2009 at 3:02 PM, James Hurley wrote: > > Until Run Rev comes up with a true bezier graphic you may find that a > simulation is adequate for your purposes. > > Go to: http://home.infostations.net/jhurley/ > > There you will find the following discussion of a bezier plug-in. > > From jhurley0305 at sbcglobal.net Mon Feb 2 10:51:25 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 2 Feb 2009 07:51:25 -0800 Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202133006.28B4748A35E@mail.runrev.com> References: <20090202133006.28B4748A35E@mail.runrev.com> Message-ID: <6042DCD9-2075-4F71-8DB8-3806B8E67739@sbcglobal.net> > Drawing a curved shape - 2nd attempt > > Bernard Devlin bdrunrev at gmail.com > Mon Feb 2 09:38:45 CST 2009 > Previous message: Drawing a curved shape - 2nd attempt > Next message: Subject: Drawing a curved shape - 2nd attempt > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > > Hi Jim > > I was interested to look at your solution, but only the 'compact' > version is > available (the link behind the 'Bezier Line' returns a 404). > > Regards, > > Bernard Bernard, Sorry about that. I should have checked the link. Been a while since I have updated that page. Until I fix the web page you can use this in the message box go url "http://home.infostations.net/jhurley/BezierLine.rev" Jim Hurley From livfoss at mac.com Mon Feb 2 11:04:57 2009 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Feb 2009 17:04:57 +0100 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202133006.3771748A35F@mail.runrev.com> References: <20090202133006.3771748A35F@mail.runrev.com> Message-ID: Me too. As a digest reader, I missed the recent eruptions on this topic, and I prefer to stick to a low level discussion which I hope may lead to short-term practical solutions (for example, could I import a vector graphic as a template and reshape it by script?). However I have voted for Bezier Curves (1511) as noted by Richard - to me this is just one way dealing with vector-based graphics. It's a good way, but the api might be a bit of a brute, no? Incidentally I think I have the spelling of Bezier right (well, it should be B?zier really) and not as shown in the QC entry. Graham On 2 Feb 2009, at 14:30, "viktoras d." wrote: > > now you have my vote for this feature too. > > Viktoras > > Richard Gaskin wrote: >> In fact, I'm the only one who's voted for Andrew's request for that >> feature: >> >> >> I also had an email exchange with Kevin about this very feature just >> last week. >> > From ambassador at fourthworld.com Mon Feb 2 11:08:25 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Feb 2009 08:08:25 -0800 Subject: Drawing a curved shape - 2nd attempt Message-ID: <49871A79.8040309@fourthworld.com> Graham Samuel wrote: > Yes, but as the originator of this thread, what I'm after is drawing a > curve from within a Rev-based standalone based on data which the > program is handling, either generated by the program or input by the > user, and then let the user print it out at full resolution. I would > not want to licence Flash to get this functionality. Understood. Jim Hurley replied to your post; my reply was to Andrew's. Jim's Bezier control is an amazing piece of work, worth considering for some applications. Being limited to Rev's graphic object primitives, it won't print with the smoothness of a true Bezier, but may be helpful for other some apps needing only screen display. To clarify, I didn't mention Flex as the sole answer to this question (and didn't mention Flash at all; don't much care for Flash myself). I brought it up because it serves two purposes which may be useful here: 1. Those needing to ship vector-intensive apps right now may find Flex a satisfying solution for the moment. 2. Driven by a very-high-level scripting language, the properties and methods governing the Bezier objects in Flex may provide helpful guidance for crafting a similar object in Rev. Flex is quite rich. There may be much there worth borrowing from as we consider ways to enhance Rev. > It does seem a perfectly reasonable idea - even a simplified system > which restricts the kind of curves you can draw would be better > than nothing. I had assumed that Rev had the ability to draw > vector-based curves via script but I couldn't find out how to do > it, therefore I started this thread. I didn't expect the answer > to be "you can't". One of the challenges with any sole-source proprietary technology is what to do when you hit a wall, when you find yourself with a need that's neither addressed in the engine nor can be worked around gracefully using combinations of existing engine-based primitives. Beziers are such a case. In such cases, the options are: - Submit a request and wait for its implementation. You could add your votes for this one here: - Accept a compromise in your app's design and use a workaround, such as the nifty scripting Jim Hurley contributed. - Use another tool. If there's a fourth option I've overlooked please help me out. > Incidentally, what is the graphic style 'curve' actually for? I can't > work out from the docs what visible properties it bestows on the > graphic. The "curve" style in Rev is misnomer held over from the HyperCard nomenclature. In HC, curve meant simply "freehand", meaning that you can move the mouse wherever you like to make a line and it'll draw your points accordingly. Since Rev also supports vector graphics, this was translated to its graphic object styles without enhancement, so that it draws a polygon with multiple points reflecting the path of the mouse. But each point is just like any other polygon point, lacking the metadata and UI to make the vertices behave like what might be a true "curve" in other drawing programs, a Bezier. For some uses the "arc" graphic style may be helpful, and they print quite nicely. But without rotation even grouping sets of arcs together will be a limited solution. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From bdrunrev at gmail.com Mon Feb 2 11:23:18 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 2 Feb 2009 16:23:18 +0000 Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <6042DCD9-2075-4F71-8DB8-3806B8E67739@sbcglobal.net> References: <20090202133006.28B4748A35E@mail.runrev.com> <6042DCD9-2075-4F71-8DB8-3806B8E67739@sbcglobal.net> Message-ID: Thanks Jim, it's a very interesting stack. I think I may have a need for similar functionality in a future application. Hopefully it is of some use to Graham too. Bernard On Mon, Feb 2, 2009 at 3:51 PM, James Hurley wrote: > > Bernard, > > Sorry about that. I should have checked the link. Been a while since I have > updated that page. > > Until I fix the web page you can use this in the message box > > > go url "http://home.infostations.net/jhurley/BezierLine.rev" > > > Jim Hurley > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From randall at randallreetz.com Mon Feb 2 12:13:10 2009 From: randall at randallreetz.com (Randall Lee Reetz) Date: Mon, 2 Feb 2009 09:13:10 -0800 Subject: =?windows-1252?q?xTalk-ing_curves=85?= In-Reply-To: <4986B9A0.1070700@ekoinf.net> References: <49869549.5010101@fourthworld.com> <4986B9A0.1070700@ekoinf.net> Message-ID: Hello all, I haven't read all of the posts on this topic (this morning) but one approach to xTalk-ing spline curves is to use the standard polygon points list syntax but with a twist. Instead of an unstructured comma delineated list of numbers (later to be parsed into x,y coordinate pairs) incorporate a meta-data model (not unlike the time/ date model) which could be "convert"ed into various protocols that would variously hide or reveal more or less data. The polyPath [sic] metadata would be a structured into tab "point" delineated coordinate pairs (or 3D triplets): 1,2 4,5 7,10 ... which would contain comma delineated coordinates along followed by a series of (optionally stated) attribute values describing things like relative rigidity, inside/outside rendering, rel pensize, opacity, color (HSV) etc?: 1,2,rel .95,+,rel .02,.45,23 45 100 4,5,rel .4,+,abs 3,.80,33 45 100 7,10,rel .95,+,rel .02,.45,43 45 100 This data would be stored with every polygon. A property of each polygon "curved" would when true cause the engine to render it according to the metadata. A curve set to false would be the default and would render a common polygon from the data. The "pointDel" would contain the char to be used to seporate data for each point (shown here as CR) which would default to tab at startup. One could "convert" the polyPath data to either of "polypathpoints" or the standard "points" (the polypath meta data would inform both). Both forms could be further modified by a "showNumber" property which would put an ordinal number (and space char) before each point set. This numbering would be display only and would be ignored by the interpreter and any processing. 1 1,2,rel .95,+,rel .02,.45,23 45 100 2 4,5,rel .4,+,abs 3,.80,33 45 100 3 7,10,rel .95,+,rel .02,.45,43 45 100 Another polygon property would be polyD or polyDimension which would hold an counting number (usually 2 or 3) to indicate the number of coordinate planes to be described as numerical coordinates (2D or 3D). Randall On Feb 2, 2009, at 1:15 AM, viktoras d. wrote: > now you have my vote for this feature too. > > Viktoras > > Richard Gaskin wrote: >> In fact, I'm the only one who's voted for Andrew's request for >> that feature: >> >> >> I also had an email exchange with Kevin about this very feature >> just last week. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rmicout at online.fr Mon Feb 2 12:43:52 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 2 Feb 2009 18:43:52 +0100 Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <6042DCD9-2075-4F71-8DB8-3806B8E67739@sbcglobal.net> References: <20090202133006.28B4748A35E@mail.runrev.com> <6042DCD9-2075-4F71-8DB8-3806B8E67739@sbcglobal.net> Message-ID: <17CABA89-8886-4252-9170-63FF26F55FA2@online.fr> Hello Jim http://home.infostations.net/jhurley/BezierLine.rev = error !? Ren? from Paris Le 2 f?vr. 09 ? 16:51, James Hurley a ?crit : >> Drawing a curved shape - 2nd attempt >> >> Bernard Devlin bdrunrev at gmail.com >> Mon Feb 2 09:38:45 CST 2009 > > >> Previous message: Drawing a curved shape - 2nd attempt >> Next message: Subject: Drawing a curved shape - 2nd attempt >> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >> >> >> Hi Jim >> >> I was interested to look at your solution, but only the 'compact' >> version is >> available (the link behind the 'Bezier Line' returns a 404). >> >> Regards, >> >> Bernard > > > Bernard, > > Sorry about that. I should have checked the link. Been a while > since I have updated that page. > > Until I fix the web page you can use this in the message box > > > go url "http://home.infostations.net/jhurley/BezierLine.rev" > > Jim Hurley > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bobs at twft.com Mon Feb 2 12:53:09 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Feb 2009 09:53:09 -0800 Subject: Another SQL question In-Reply-To: <49845EAA.4070405@crcom.net> References: <49845EAA.4070405@crcom.net> Message-ID: <3AA0428C-C05B-4F7F-BEF3-6F17E9C3E3DC@twft.com> I will definitely give that a try. The odd thing is, the MySQL 5 reference manual makes absolutely NO mention of the IN clause. It would be AWESOME to have in my hot little hand a comprehensive syntax for MySQL. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Jan 31, 2009, at 6:22 AM, Len Morgan wrote: > Why not: > > SELECT * FROM myTable WHERE myColumn IN ('this','that',.....) > > It's standard SQL (I'm pretty sure - I've been using that form for 10+ > years with Postgres. > > Len Morgan > > > Bob Sneidar wrote: >>
Hi all. >> >> I am trying to find a way to query a table whose column is in a list >> of values. There is nothing in any SQL book or manual that says how >> to >> do this. It looks like they want you to build a complex SQL statement >> like: >> >> SELECT * FROM myTable WHERE myColumn = 'this' OR myColumn = 'that' or >> mycolumn... >> >> That would work for a few items but what about for a HUGE list of >> several hundred items? I know Revolution has the syntax "is in" or >> "contains". Does SQL have a similar function? >> >> I tried "LIKE" as in: >> >> SELECT * FROM myTable WHERE myColumn LIKE 'this,that,the other thing' >> >> That returns empty cursors even though those values are in the table >> plain as day. >> >> Bob Sneidar >> IT Manager >> Logos Management >> Calvary Chapel CM >> >> >>
>> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From randall at randallreetz.com Mon Feb 2 12:53:58 2009 From: randall at randallreetz.com (Randall Lee Reetz) Date: Mon, 2 Feb 2009 09:53:58 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: References: <20090202133001.SHRC16725.atlmtaow03.cingularme.com@Inbox> Message-ID: <382231FB-ABE0-40E5-A8A4-E7231C4AADE7@randallreetz.com> Mark, I wrote it (self-optimizing multi-threading) in SuperTalk... but the script is standard. Will look for it and post it when I find it. Requires a rather extensive use of the "on idle" handler and some rethinking of how one goes about writing looped control structures. As for raised eyebrows, if you take the time to look closely at the way these discussions of new features escalate, you will see that the original suggestion posts are not provocative at all... but they are always followed by some form of social jamming that is intended to make the suggester seem daft, stupid, greedy, and out of place. It is only then that I gather my courage and post an argument pointed squarely at the provincialism of the secondary criticism of posts that suggest or plead for new features. The order of events matters. Surely I am not being held retroactively responsible for a tertiary rebuttal? Causal chain and all... Randall On Feb 2, 2009, at 6:08 AM, Mark Smith wrote: > Randall, wondering aloud about features is welcome (at least as far > as I'm concerned, and I'm sure to most of us), it's just that > phrases like "limp xtalk into the present' come off as kind of > confrontational. The general style on this list is very much non- > confrontational - you wouldn't be the first person to get a raised- > eyebrow response to that kind of talk, just please don't take it > the wrong way! > > It seems to me that some of the things you talk about would be > better addressed on the improve list, rather than the how-to list, > but you need an enterprise licence to join that list. > > BTW, self-optimizing multi-threading sounds very interesting - was > it in Revolution? If so, anything you can share? > > Best, > > Mark > > > On 2 Feb 2009, at 13:26, Randall Reetz wrote: > >> I have never asked for a game server. I dont build games... Have >> never even played one. Secondly, yes i do keep hoping and praying >> and asking for features that would extend the original user-level >> programming ethos of allan kay and bill atkenson to the modern >> world we live in. Sockets are to xtalk what a machine shop is to >> an erector set. >> All of you should be agreeing with me, not fighting me. These >> things i ask for are obvious ways for xtalk to do for today's >> computing world what smalltalk and hypertalk did for the mid >> 1980's. Namely, to wrap deep functionality into a pedestrian >> common english syntax. To un-socket sockets as it were. I am >> writing deep pattern engine and symantic engine in xtalk, so dont >> dare say i am unwilling to go the coding distance. I have written >> self optimized multithreading into xtalk. I wrote a symantic >> indexing system into xtalk. I have written a full resolution >> independent 3D engine in xtalk. But what i find it dificult to do >> is write the same code everyone else is writing just to limp xtalk >> into the present. That goes so counter to the original intent of >> xtalk. How is the rev product threatened by deep thinking people >> wondering aloud what features would make xtalk that much more >> powerful and contemporary? >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From devin_asay at byu.edu Mon Feb 2 12:56:28 2009 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 2 Feb 2009 10:56:28 -0700 Subject: Another SQL question In-Reply-To: <3AA0428C-C05B-4F7F-BEF3-6F17E9C3E3DC@twft.com> References: <49845EAA.4070405@crcom.net> <3AA0428C-C05B-4F7F-BEF3-6F17E9C3E3DC@twft.com> Message-ID: On Feb 2, 2009, at 10:53 AM, Bob Sneidar wrote: > I will definitely give that a try. The odd thing is, the MySQL 5 > reference manual makes absolutely NO mention of the IN clause. It > would be AWESOME to have in my hot little hand a comprehensive syntax Bob, I rely heavily on O'Reilly's MySQL pocket Reference. Short and concise with few examples, but all of the various functions and permutations of commands are there--a great memory jogger. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From randall at randallreetz.com Mon Feb 2 13:00:44 2009 From: randall at randallreetz.com (Randall Lee Reetz) Date: Mon, 2 Feb 2009 10:00:44 -0800 Subject: [ot] fractal graphic filter In-Reply-To: <163487512656.20090201150220@ahsoftware.net> References: <20090201204433.QFHL16725.atlmtaow03.cingularme.com@Inbox> <163487512656.20090201150220@ahsoftware.net> Message-ID: <4EA197AB-7C41-4CC0-AD29-B1E60D33F3ED@randallreetz.com> This is the AI stuff from the Palm guy... correct? I have looked at this. And yes, Jff Hawkins (co-author of On Intelligence) gets it! Compression in this context means the reduction towards general or prototypical forms that are then stored with modifiers that enumerate the delta between a specific incarnation and that prototype. Randall On Feb 1, 2009, at 3:02 PM, Mark Wieder wrote: > Randall- > > Sunday, February 1, 2009, 12:40:58 PM, you wrote: > >> The problem with fractal compression is that it like all >> compression schemes is usually applied indiscriminately to a whole >> file. A scheme that works best for some data doesnt always work >> best for others. The real breakthrough will involve an entropy >> metric that can be used to self optimize a scheme to regions and >> others other other regions... Setting up a topograhic mapping of >> compressions as directed by the morphology of that data. Do that >> and you can selectively and accurately reduce an image (or any other >> data set) to more general terms. For instance, if a filter were >> able to extract obects (humans, plants, buildings, furnature, >> infrastructure, land use, animals, equipment) into semantic >> primitives, it sould describe and store reality the way our brains >> do while we sleep. Achieving million-to-one compression ratios. > > Sounds like you may be interested in what Numenta's up to... > > www.numenta.com > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sanke at hrz.uni-kassel.de Mon Feb 2 13:10:36 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 02 Feb 2009 19:10:36 +0100 Subject: Drawing a curved shape - 2nd attempt Message-ID: <4987371C.8020705@hrz.uni-kassel.de> *Ren? Micout rmicout at online.fr wrote: */ / ------------------------------------------------------------------------ > Hello Jim > http://home.infostations.net/jhurley/BezierLine.rev = error !? > Ren? from Paris Some months ago I had encountered similar difficulties when trying to access Jim's website via DSL, but it worked for me using an ISDN modem. Regards, Wilhelm Sanke From sadhu at castandcrew.com Mon Feb 2 13:11:21 2009 From: sadhu at castandcrew.com (Sadhunathan Nadesan) Date: Mon, 2 Feb 2009 10:11:21 -0800 Subject: using open office to open CSV files (was launch document problems) Message-ID: <200902021811.n12IBL9D015903@sddev.castandcrew.com> Hi OpenOffice works great on CSV. You have to use the CSV file choice though or it doesn't bring up the wizard. I will send a screen shot direct (this mailing list doesn't support that) so you can see what I mean. I just scroll down until I see the SLK which is easy to spot amidst the huge plethora of types, then it's under that. Sadhu From mwieder at ahsoftware.net Mon Feb 2 13:39:21 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Feb 2009 10:39:21 -0800 Subject: [ot] fractal graphic filter In-Reply-To: <4EA197AB-7C41-4CC0-AD29-B1E60D33F3ED@randallreetz.com> References: <20090201204433.QFHL16725.atlmtaow03.cingularme.com@Inbox> <163487512656.20090201150220@ahsoftware.net> <4EA197AB-7C41-4CC0-AD29-B1E60D33F3ED@randallreetz.com> Message-ID: <32558133437.20090202103921@ahsoftware.net> Randall- Monday, February 2, 2009, 10:00:44 AM, you wrote: > This is the AI stuff from the Palm guy... correct? I have looked at > this. And yes, Jff Hawkins (co-author of On Intelligence) gets it! A lot of cognitive science at work here. And Bill Atkinson is on board as well. He bent my ear about Numenta for half an hour straight a while back. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Mon Feb 2 13:54:07 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 2 Feb 2009 10:54:07 -0800 Subject: Another SQL question In-Reply-To: <3AA0428C-C05B-4F7F-BEF3-6F17E9C3E3DC@twft.com> References: <49845EAA.4070405@crcom.net> <3AA0428C-C05B-4F7F-BEF3-6F17E9C3E3DC@twft.com> Message-ID: Ha. That's right. It's in the MySQL online manual, buried in "11.2.3. Comparison Functions and Operators": IN() Check whether a value is within a set of values 2009/2/2 Bob Sneidar > > I will definitely give that a try. The odd thing is, the MySQL 5 reference manual makes absolutely NO mention of the IN clause. It would be AWESOME to have in my hot little hand a comprehensive syntax for MySQL. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Jan 31, 2009, at 6:22 AM, Len Morgan wrote: > >> Why not: >> >> SELECT * FROM myTable WHERE myColumn IN ('this','that',.....) >> >> It's standard SQL (I'm pretty sure - I've been using that form for 10+ >> years with Postgres. >> >> Len Morgan >> >> >> Bob Sneidar wrote: >>> >>>
Hi all. >>> >>> I am trying to find a way to query a table whose column is in a list >>> of values. There is nothing in any SQL book or manual that says how to >>> do this. It looks like they want you to build a complex SQL statement >>> like: >>> >>> SELECT * FROM myTable WHERE myColumn = 'this' OR myColumn = 'that' or >>> mycolumn... >>> >>> That would work for a few items but what about for a HUGE list of >>> several hundred items? I know Revolution has the syntax "is in" or >>> "contains". Does SQL have a similar function? >>> >>> I tried "LIKE" as in: >>> >>> SELECT * FROM myTable WHERE myColumn LIKE 'this,that,the other thing' >>> >>> That returns empty cursors even though those values are in the table >>> plain as day. >>> >>> Bob Sneidar >>> IT Manager >>> Logos Management >>> Calvary Chapel CM >>> >>> >>>
>>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Stephen Barncard ------------------------- San Francisco From livfoss at mac.com Mon Feb 2 14:37:44 2009 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Feb 2009 20:37:44 +0100 Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202180005.0BE8648A347@mail.runrev.com> References: <20090202180005.0BE8648A347@mail.runrev.com> Message-ID: <50807212-038A-4583-BFD4-6179C163C8A0@mac.com> Jim - thanks so much. I will be looking hard at this (I see later in the Digest that there is some issue with links, but I'm sure it will be sorted out - anyway I have to do a few other things before I can get back to this issue). Thanks also to Richard for the 'historical' explanation of graphic type 'curve' - and I should also say that Randall's idea of a graphic containing metadata that could be used to tailor the object's rendering according to the desired resolution is fascinating (I hope I understand it correctly), although I won't be pursuing it myself just now. Graham On 2 Mon, 2 Feb 2009 07:02:43 -0800, James Hurley wrote: > > Graham, > > Until Run Rev comes up with a true bezier graphic you may find that a > simulation is adequate for your purposes. > > Go to: http://home.infostations.net/jhurley/ > > There you will find the following discussion of a bezier plug-in. > > "Bezier Line (New and improved) This is a plug-in allowing you to > paste a bezier line onto any card of any stack. It is the normal > bezier curve you are probably familiar with, line and tangent > controls. The line controls may be either corner points or continuous > tangent points. The control points are made invisible by double > clicking on the bezier line. (This gives you a single line with any > shape compatible with the cubic parametric expansion of curve's > function.) Double clicking again brings the control points back. It > is self-contained. All handlers are in the control points and the > bezier line itself. I have added the ability to remove all the bezier > control and their scipts, thus reducing the overhead. It might reduce > the size of your stack by 100 K or more. (In the compact version, you > will have a choice of saving the bezier curve as an open line graphic > or a closed polygon graphic.) A more compact version (40 K verser 180 > K) of this plug in also available." > > > Jim Hurley From briany at qldlearning.com Mon Feb 2 14:57:54 2009 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 2 Feb 2009 11:57:54 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202133001.SHRC16725.atlmtaow03.cingularme.com@Inbox> References: <20090202133001.SHRC16725.atlmtaow03.cingularme.com@Inbox> Message-ID: Randall, > I have never asked for a game server. I dont build games... Have > never even played one. On December 26th you started a thread asking how to build "real time multi-player interaction" using a "central server". That's generally called a game server. I was one of the people who spend a fair amount of time trying to show you how to do it with sockets. You weren't interested because the sockets API was too messy for you. If you are going to ask how to do something, don't come back with a discussion on the inadequacies of the solution if you expect people to keep helping you out. > All of you should be agreeing with me, not fighting me. These > things i ask for are obvious ways for xtalk to do for today's > computing world what smalltalk and hypertalk did for the mid 1980's. Perhaps that's the problem. We don't all agree with you, and I'm not so sure we should. Apparently we are missing how you have the obvious solutions to revolutionize programming. I disagree. Mostly I just hear a lot of buzz words and a desire to have Rev do everything you dream up, automatically. > I am writing deep pattern engine and symantic engine in xtalk, so > dont dare say i am unwilling to go the coding distance. I have > written self optimized multithreading into xtalk. I wrote a > symantic indexing system into xtalk. I have written a full > resolution independent 3D engine in xtalk. I don't know anything about your projects, but I do know your behavior on the list. You raise threads about game servers, file system monitors and vector graphic engines, and then a week later you are on to something else, disgruntled that there wasn't a Rev command for what you wanted to do. And please, be credible about what you claim to have done. A "full resolution independent 3D engine"? "Self optimized multitreading"? Or experiments with idle handlers and drawing tools? Your own tone is the difference between me taking interest in what you've done and being completely put off. You don't have to prove yourself with big words - if you've done something interesting in xTalk this list is full of people who will fully appreciate it. Myself included... I discovered Hypercard in 4th grade and it still seems like I learn something new on this list every couple days from all corners of the community. > How is the rev product threatened by deep thinking people wondering > aloud what features would make xtalk that much more powerful and > contemporary? It's not. Please stop anointing your "deep" thoughts as something everyone should agree with. You are entitled to your visions for computing but you'll have to get used to the fact that we don't all agree with you or bow to your visions. Anyway, this isn't my list any more than yours, so I'll quit taking up so much bandwidth. Randall, I simply think that you *could* be a productive contributor with interesting ideas, and I think I (among others) could help you quite a bit in channeling them. But right now, it seems like a waste of time as you mostly appear interested in everyone agreeing what amazing ideas you have. From randall at randallreetz.com Mon Feb 2 15:48:57 2009 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 2 Feb 2009 12:48:57 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <20090202205232.WRDG12796.atlmtaow01.cingularme.com@Inbox> No, there is a difference between what i have to do to get by right now, and the broader picture of user level programming. What hypertalk did for data base programming needs to be done now in current xtalk environs for the web. That is what i mean by limping into the present. How long has the web been here? -----Original Message----- From: "Brian Yennie" To: "How to use Revolution" Sent: 2/2/2009 11:57 AM Subject: Re: Subject: Drawing a curved shape - 2nd attempt Randall, > I have never asked for a game server. I dont build games... Have > never even played one. On December 26th you started a thread asking how to build "real time multi-player interaction" using a "central server". That's generally called a game server. I was one of the people who spend a fair amount of time trying to show you how to do it with sockets. You weren't interested because the sockets API was too messy for you. If you are going to ask how to do something, don't come back with a discussion on the inadequacies of the solution if you expect people to keep helping you out. > All of you should be agreeing with me, not fighting me. These > things i ask for are obvious ways for xtalk to do for today's > computing world what smalltalk and hypertalk did for the mid 1980's. Perhaps that's the problem. We don't all agree with you, and I'm not so sure we should. Apparently we are missing how you have the obvious solutions to revolutionize programming. I disagree. Mostly I just hear a lot of buzz words and a desire to have Rev do everything you dream up, automatically. > I am writing deep pattern engine and symantic engine in xtalk, so > dont dare say i am unwilling to go the coding distance. I have > written self optimized multithreading into xtalk. I wrote a > symantic indexing system into xtalk. I have written a full > resolution independent 3D engine in xtalk. I don't know anything about your projects, but I do know your behavior on the list. You raise threads about game servers, file system monitors and vector graphic engines, and then a week later you are on to something else, disgruntled that there wasn't a Rev command for what you wanted to do. And please, be credible about what you claim to have done. A "full resolution independent 3D engine"? "Self optimized multitreading"? Or experiments with idle handlers and drawing tools? Your own tone is the difference between me taking interest in what you've done and being completely put off. You don't have to prove yourself with big words - if you've done something interesting in xTalk this list is full of people who will fully appreciate it. Myself included... I discovered Hypercard in 4th grade and it still seems like I learn something new on this list every couple days from all corners of the community. > How is the rev product threatened by deep thinking people wondering > aloud what features would make xtalk that much more powerful and > contemporary? It's not. Please stop anointing your "deep" thoughts as something everyone should agree with. You are entitled to your visions for computing but you'll have to get used to the fact that we don't all agree with you or bow to your visions. Anyway, this isn't my list any more than yours, so I'll quit taking up so much bandwidth. Randall, I simply think that you *could* be a productive contributor with interesting ideas, and I think I (among others) could help you quite a bit in channeling them. But right now, it seems like a waste of time as you mostly appear interested in everyone agreeing what amazing ideas you have. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: [truncated by sender] From chipp at chipp.com Mon Feb 2 16:30:07 2009 From: chipp at chipp.com (Chipp Walters) Date: Mon, 2 Feb 2009 15:30:07 -0600 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202205232.WRDG12796.atlmtaow01.cingularme.com@Inbox> References: <20090202205232.WRDG12796.atlmtaow01.cingularme.com@Inbox> Message-ID: <665591460902021330lc81c4d5m24a54bfd63986f63@mail.gmail.com> Randall, Both Richard and Brian are longtime *contributing* community members. But it wasn't always so. At one time, both of them and many of us were like you-- new to Rev. Of course there were frustrations, but many people on this (and it's previous incarnation) list stopped what they were doing to help out in a constructive manner. That is what is meant by contributing. Richard has hosted RevJournal.com on his nickel for as long as I can remember. His articles on the message path and scripting style guide have helped many here-- including myself (thanks Richard!). Brian has written numerous externals and is a 'go to' expert who gladly provides free and accurate advice to others. It's was clear to me upon reading Richard's first reply to Andrew's question, he was only helping. Furthermore, having been here awhile, I also know Andrew and Richard have had a relationship, and in no way was Richard being an 'Attack Dog' towards him. Of course, you being rather new would not know that. Sometimes, it's better to observe than insert oneself into the middle of a process when you don't understand the dynamics. It's clear to me Randall, you need to have the last word here. You might ask Dave how it worked out for him last week. I recommend you quit calling people names and try and behave like a *contributing* community member. From jacque at hyperactivesw.com Mon Feb 2 16:44:22 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Feb 2009 15:44:22 -0600 Subject: When should cmd-period work? Message-ID: <49876936.9070901@hyperactivesw.com> I accidentally wrote a handler that called another handler that called the first one, which called the second one, which called the first one, which...you know, like that. It wasn't really recursion because each handler did a finite set of actions and didn't depend on the other. At any rate, there was no recursion warning. What it looked like from the outside was that Rev had become unresponsive, though the cursor moved. No spinning beach ball, no colored pizza, just the regular arrow, but clicking on anything failed and the OS X dock had "Force Quit" in its menu. It took me several force-quits before I figured out the problem was ID10T error. The allowInterrupts was true, but command-period didn't intercept it. Should it have? I wonder if that's even possible, since from the script's point of view there was nothing wrong. It was doing exactly what I told it to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Feb 2 16:46:37 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Feb 2009 13:46:37 -0800 Subject: Another SQL question In-Reply-To: References: <49845EAA.4070405@crcom.net> <3AA0428C-C05B-4F7F-BEF3-6F17E9C3E3DC@twft.com> Message-ID: <9F8C473C-AB43-4EE6-9081-A7F6CA2EBBA7@twft.com> Wow! Not in my reference manual it's not. 11.2 is "Numeric Types". But then I downloaded the PDF manual. Seems that it is either out of date or not "exactly" correct. I also searched for IN() in the manual and came up with squadouch. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 2, 2009, at 10:54 AM, stephen barncard wrote: > Ha. That's right. It's in the MySQL online manual, buried in "11.2.3. > Comparison Functions and Operators": > > IN() Check whether a value is within a set of values > > 2009/2/2 Bob Sneidar >> >> I will definitely give that a try. The odd thing is, the MySQL 5 >> reference manual makes absolutely NO mention of the IN clause. It >> would be AWESOME to have in my hot little hand a comprehensive >> syntax for MySQL. >> >> Bob Sneidar >> IT Manager >> Logos Management >> Calvary Chapel CM >> >> On Jan 31, 2009, at 6:22 AM, Len Morgan wrote: >> >>> Why not: >>> >>> SELECT * FROM myTable WHERE myColumn IN ('this','that',.....) >>> >>> It's standard SQL (I'm pretty sure - I've been using that form for >>> 10+ >>> years with Postgres. >>> >>> Len Morgan >>> >>> >>> Bob Sneidar wrote: >>>> >>>>
Hi all. >>>> >>>> I am trying to find a way to query a table whose column is in a >>>> list >>>> of values. There is nothing in any SQL book or manual that says >>>> how to >>>> do this. It looks like they want you to build a complex SQL >>>> statement >>>> like: >>>> >>>> SELECT * FROM myTable WHERE myColumn = 'this' OR myColumn = >>>> 'that' or >>>> mycolumn... >>>> >>>> That would work for a few items but what about for a HUGE list of >>>> several hundred items? I know Revolution has the syntax "is in" or >>>> "contains". Does SQL have a similar function? >>>> >>>> I tried "LIKE" as in: >>>> >>>> SELECT * FROM myTable WHERE myColumn LIKE 'this,that,the other >>>> thing' >>>> >>>> That returns empty cursors even though those values are in the >>>> table >>>> plain as day. >>>> >>>> Bob Sneidar >>>> IT Manager >>>> Logos Management >>>> Calvary Chapel CM >>>> >>>> >>>>
>>>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > -- > Stephen Barncard > ------------------------- > San Francisco > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From randall at randallreetz.com Mon Feb 2 16:50:17 2009 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 2 Feb 2009 13:50:17 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <20090202215353.GJLQ12792.atlmtaow02.cingularme.com@Inbox> By the way, i can see why i have confused you. I used the word "players" when i should have said "users". I was trying to emphasize the simultaneity of multiple user interaction on the same data across a network. If a game engine brings a programming for the rest of us interface to simple client server and client client communication and shared data edits, then yes i want a game engine. But to me, the phrase game engine evokes a much more complex hunk of code. I too learn all day long from this and other lists. There is so much knoledge and experience represented in everyone's own path. I get frustrated when a major pradigm is ignored by this and other xtalk tools (and for a decade!). And when the original vission of allan kay and big bill are so poorly championed in the present. So i present my wish lists. But the sharp rebuttles of whichh you refer are in responces to scolding and belittleing responces to simple and obvious feature requests. Offering sockets as an interface to xtalk users is like offering bit blitters instead of graphic shape tools. Notice what hypercard choose. I am not demanding immediate action on my wish lists. But ten years with no xtalked web functions? Twenty with no xtalked curves, or live masks? By the way, are you a stake holder in the runtime rev product or company? Is there a way to tell who on this list is and who isnt? Any agreement regarding the honest disclosure of conflict of interest? As for my multithreading code. I am on the road right now and will be uploading it to this list as soon as i am home at my backup discs. It is less than ten pages of source. The 3D engine is coordinate only (verticies and flat polys) in 3space. I only mentioned these things in rebuttles to those of you who respond to my requests with attacks on my programmer's street creed... Saying i wont go to the trenches and do the dificult day to day make it work without easy tools programming. Again, it is instructive to look at the order of these posts. I present a wish. The anti-new feature heavies weigh in to kill the very notion of suggesting that rev isnt complete and perfect... And doing so by attacking me as a person. And finally... I step up to defend my ideas and my self as a person and a legitimate developer. The causal order of events matter. -----Original Message----- From: "Brian Yennie" To: "How to use Revolution" Sent: 2/2/2009 11:57 AM Subject: Re: Subject: Drawing a curved shape - 2nd attempt Randall, > I have never asked for a game server. I dont build games... Have > never even played one. On December 26th you started a thread asking how to build "real time multi-player interaction" using a "central server". That's generally called a game server. I was one of the people who spend a fair amount of time trying to show you how to do it with sockets. You weren't interested because the sockets API was too messy for you. If you are going to ask how to do something, don't come back with a discussion on the inadequacies of the solution if you expect people to keep helping you out. > All of you should be agreeing with me, not fighting me. These > things i ask for are obvious ways for xtalk to do for today's > computing world what smalltalk and hypertalk did for the mid 1980's. Perhaps that's the problem. We don't all agree with you, and I'm not so sure we should. Apparently we are missing how you have the obvious solutions to revolutionize programming. I disagree. Mostly I just hear a lot of buzz words and a desire to have Rev do everything you dream up, automatically. > I am writing deep pattern engine and symantic engine in xtalk, so > dont dare say i am unwilling to go the coding distance. I have > written self optimized multithreading into xtalk. I wrote a > symantic indexing system into xtalk. I have written a full > resolution independent 3D engine in xtalk. I don't know anything about your projects, but I do know your behavior on the list. You raise threads about game servers, file system monitors and vector graphic engines, and then a week later you are on to something else, disgruntled that there wasn't a Rev command for what you wanted to do. And please, be credible about what you claim to have done. A "full resolution independent 3D engine"? "Self optimized multitreading"? Or experiments with idle handlers and drawing tools? Your own tone is the difference between me taking interest in what you've done and being completely put off. You don't have to prove yourself with big words - if you've done something interesting in xTalk this list is full of people who will fully appreciate it. Myself included... I discovered Hypercard in 4th grade and it still seems like I learn something new on this list every couple days from all corners of the community. > How is the rev product threatened by deep thinking people wondering > aloud what features would make xtalk that much more powerful and > contemporary? It's not. Please stop anointing your "deep" thoughts as something everyone should agree with. You are entitled to your visions for computing but you'll have to get used to the fact that we don't all agree with you or bow to your visions. Anyway, this isn't my list any more than yours, so I'll quit taking up so much bandwidth. Randall, I simply think that you *could* be a productive contributor with interesting ideas, and I think I (among others) could help you quite a bit in channeling them. But right now, it seems like a waste of time as you mostly appear intested in everyone agreeing what amazing ideas you have. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: [truncated by sender] From randall at randallreetz.com Mon Feb 2 17:06:20 2009 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 2 Feb 2009 14:06:20 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <20090202220955.IJIT12792.atlmtaow02.cingularme.com@Inbox> Well that is interesting because andrew Contacted me emediately and without request off list and shared his frustration and fear of the attacks on any suggestions for new features. This has happened several times with other users afraid of the backlash. I am contributing as a user. I answer questions when my own personal experience gives me something to help another xtalk user solve a problem. I conribute by trying to understand the will and intent that drove the genesis of xtalk in the beginning. If you are saying that only the insiders are welcome to request a feature or criticise the product well i have a little red book for you to read. I care and i will continue to care. Do you guys work for Putin? -----Original Message----- From: "Chipp Walters" To: "How to use Revolution" Sent: 2/2/2009 1:30 PM Subject: Re: Subject: Drawing a curved shape - 2nd attempt Randall, Both Richard and Brian are longtime *contributing* community members. But it wasn't always so. At one time, both of them and many of us were like you-- new to Rev. Of course there were frustrations, but many people on this (and it's previous incarnation) list stopped what they were doing to help out in a constructive manner. That is what is meant by contributing. Richard has hosted RevJournal.com on his nickel for as long as I can remember. His articles on the message path and scripting style guide have helped many here-- including myself (thanks Richard!). Brian has written numerous externals and is a 'go to' expert who gladly provides free and accurate advice to others. It's was clear to me upon reading Richard's first reply to Andrew's question, he was only helping. Furthermore, having been here awhile, I also know Andrew and Richard have had a relationship, and in no way was Richard being an 'Attack Dog' towards him. Of course, you being rather new would not know that. Sometimes, it's better to observe than insert oneself into the middle of a process when you don't understand the dynamics. It's clear to me Randall, you need to have the last word here. You might ask Dave how it worked out for him last week. I recommend you quit calling people names and try and behave like a *contributing* community member. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Mon Feb 2 17:19:00 2009 From: revolution at derbrill.de (Malte Brill) Date: Mon, 2 Feb 2009 23:19:00 +0100 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202180005.53ACA48A35C@mail.runrev.com> References: <20090202180005.53ACA48A35C@mail.runrev.com> Message-ID: Mr. Reetz wrote: > Do you guys work for Putin? Forgot to take your Prozac today? I don?t get it... From chipp at chipp.com Mon Feb 2 17:25:42 2009 From: chipp at chipp.com (Chipp Walters) Date: Mon, 2 Feb 2009 16:25:42 -0600 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090202220955.IJIT12792.atlmtaow02.cingularme.com@Inbox> References: <20090202220955.IJIT12792.atlmtaow02.cingularme.com@Inbox> Message-ID: <665591460902021425t381d6e70s7f6af568d50c9b2e@mail.gmail.com> Randall, I can tell you that, yes, I am a stakeholder in the success of Rev. I have invested no dollars, but have thousands of hours and many commercial projects, for clients and our own company at stake. So, I am *MOST INTERESTED* to see it succeed. Dan Shafer and myself have hosted 3 annual conferences on the west coast devoted to Rev. I've built my own set of tools in Rev and shared them with the community. Many are still in use today. Recreating those tools in another RAD tool would be most time-consuming and tedious. Yes, I am a stakeholder in the success of Rev. I've worked with Malte's excellent Animation Engine to create a free .obj (Wavefront 3d) loader and wireframe viewer which I use in a commercial product today. If Rev goes away, so does a big part of my livelihood. So, yes, I am a stakeholder in Rev. From ambassador at fourthworld.com Mon Feb 2 17:39:33 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Feb 2009 14:39:33 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <49877625.4010701@fourthworld.com> > Do you guys work for Putin? So we're already up to the random Commie name-calling, eh? Man, that didn't take long. Jeanne, have you started a betting pool as to when the first "Nazi" reference will be tossed in? Put me down for "Within 5 posts" for $20. ;) -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From contact at kipmedia.com Mon Feb 2 17:59:19 2009 From: contact at kipmedia.com (chris livermore) Date: Tue, 3 Feb 2009 09:59:19 +1100 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <49877625.4010701@fourthworld.com> References: <49877625.4010701@fourthworld.com> Message-ID: <423719DD-D8B3-4591-B755-2F720A68DC74@kipmedia.com> I just finished watching the 'Six Feet Under' series and am in need of a new drama. But, Hey, can someone get married or have a baby or something? To much of the dark-side happening! Or maybe we should just end this series too! cheers chris On 03/02/2009, at 9:39 AM, Richard Gaskin wrote: > > Do you guys work for Putin? > > So we're already up to the random Commie name-calling, eh? Man, > that didn't take long. > > Jeanne, have you started a betting pool as to when the first "Nazi" > reference will be tossed in? > > Put me down for "Within 5 posts" for $20. ;) > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Mon Feb 2 18:11:23 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 2 Feb 2009 18:11:23 EST Subject: Big issue with Rev Message-ID: I am having a problem. I made a utility stack. Just like in my HC environment. Its stack script is in use. In this stack I have an openCard handler that is intended to display information about other stacks on the fly, a list of card objects, for example. I have a two card test stack with a field and a button on it. As a start, I put the command "beep" in an openCard handler in the utility stack script, just to make sure the messages are going along. All well and good as I navigate the test stack. If I put another line below "beep", like "put the target", or a call to another handler to do some actual work, all hell breaks loose. My test stack gets the text "/REVEXCLUDED02" placed in its field. If I navigate to the next card, the test stack window reduces to a thin line, about one pixel wide and 30 tall. If I go back to the first card, the stack window is normally sized, but the text remains. Back and forth, and I can duplicate it. Only quitting rev restores the test stack to its normal condition. A new session follows exactly the same path. I don't suppose "/REVEXCLUDED02" means anything to anyone? I all of a sudden have a terrible feeling that "HC on steroids" notwithstanding, I am going to have issues getting this going. I am depressed. ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad.doubleclick. net/clk;211531132;33070124;e) From mwieder at ahsoftware.net Mon Feb 2 18:28:00 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Feb 2009 15:28:00 -0800 Subject: Big issue with Rev In-Reply-To: References: Message-ID: <182575452328.20090202152800@ahsoftware.net> DunbarX- Monday, February 2, 2009, 3:11:23 PM, you wrote: > I am having a problem. > I made a utility stack. Just like in my HC environment. Its stack script is > in use. In this stack I have an openCard handler that is intended to display > information about other stacks on the fly, a list of card objects, for example. By "its stack script is in use" do you mean you're using it as a library stack, frontscript or backscript? In that case you're probably getting duelling openCard handlers. -- -Mark Wieder mwieder at ahsoftware.net From devin_asay at byu.edu Mon Feb 2 19:01:08 2009 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 2 Feb 2009 17:01:08 -0700 Subject: When should cmd-period work? In-Reply-To: <49876936.9070901@hyperactivesw.com> References: <49876936.9070901@hyperactivesw.com> Message-ID: On Feb 2, 2009, at 2:44 PM, J. Landman Gay wrote: > I accidentally wrote a handler that called another handler that called > the first one, which called the second one, which called the first > one, > which...you know, like that. It wasn't really recursion because each > handler did a finite set of actions and didn't depend on the other. At > any rate, there was no recursion warning. > > What it looked like from the outside was that Rev had become > unresponsive, though the cursor moved. No spinning beach ball, no > colored pizza, just the regular arrow, but clicking on anything failed > and the OS X dock had "Force Quit" in its menu. It took me several > force-quits before I figured out the problem was ID10T error. > > The allowInterrupts was true, but command-period didn't intercept it. > Should it have? I wonder if that's even possible, since from the > script's point of view there was nothing wrong. It was doing exactly > what I told it to. Hi Jacque, This has happened to me several times in Rev 3.0, but I've never been able to pin it down to a recipe. It's almost like what happens when a running script throws an error and kicks you into debug mode, and you try to do things with the interface, but nothing works. Then you notice the error message and slap yourself in the forehead and say to yourself "What a dork!", then click the stop button in the script editor to get out of debug mode, and everything's fine. But when this happens you can't find anything to click, and you want to slap your computer instead. Cmd-period doesn't work because the script is already interrupted. It's almost like you really are in debug mode but the interface hasn't been updated to reflect that. Like you, I seem to notice it happen when handlers are calling handlers are calling handlers, in different objects. It's very frustrating; maybe if we compare notes we can come up with a reliable recipe for reproducing it. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From bdrunrev at gmail.com Mon Feb 2 19:14:57 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 3 Feb 2009 00:14:57 +0000 Subject: Launch document problems In-Reply-To: <49839D53.8030406@byu.net> References: <497F5980.1070107@byu.net> <497F6328.4060205@hyperactivesw.com> <49839D53.8030406@byu.net> Message-ID: Hi Scott, I've got a few suggestions (I've experienced a few peculiarities with 'launch document' at various times). The problem with my suggestions is that they are not as simply cross-platform as the basic 'launch' command. If you are only dealing with Windows, then this should not be a problem. 1) There is another version of that command: 'launch [documentPath with] applicationPath' (see dictionary). It could be that OpenOffice is not being launched with files of .csv. 2) There is also the 'shell' command in Revolution, and you can build a command line string then use that to launch a program. OpenOffice can be launched from the command line and told to start with a particular sub-application (e.g. the spreadsheet) by calling it from the command line. I've only skimmed OOo, but if you google "openoffice.org" "command line" the first few hits should point you to the kinds of command options available. I didn't see that one could pass along a document path when starting from the command line, but it would be unusual for that to NOT be the case. Hope one of those suggesions gets you a little further... Bernard On Sat, Jan 31, 2009 at 12:37 AM, Scott Pepperdine wrote: > J. Landman Gay wrote: > >> Scott Pepperdine wrote: >> >>> Hi all, >>> >>> I'm trying to use 'launch document' to open a .csv file in a spreadsheet. >>> I keep getting the result of "can't open file", which tells me the file >>> could not be found, or is not accessible. >>> >> Since you've tried checking for existence, the file is probably found. >> More likely is that it is inaccessible to Rev, which could be a permissions >> issue. Have you tried moving the file to a folder that is accessible to the >> current user, like the desktop? >> >> Hi Jacque, > > Thanks for the response. I'm signed on as Administrator on this box, so I > didn't think permissions would be the problem, and it was not. When I > changed the associated program for .csv files from OpenOffice to Lotus 123 > it worked just great. When I use "launch document" to open .rtf and .doc > and .xls files with OpenOffice it works just fine also. It is only when I > try to open .csv files with OpenOffice that it does not work. Either a > problem with OpenOffice or the association I have set up with .csv files. > > In any case the problem was not with Rev, and thanks again for the > response. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From randall at randallreetz.com Mon Feb 2 19:13:32 2009 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 2 Feb 2009 16:13:32 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <20090203001707.VONK12792.atlmtaow02.cingularme.com@Inbox> Ok, why then is asking for code addressable and rev native curves responded to as a threatening request? -----Original Message----- From: "Chipp Walters" To: "How to use Revolution" Sent: 2/2/2009 2:25 PM Subject: Re: Subject: Drawing a curved shape - 2nd attempt Randall, I can tell you that, yes, I am a stakeholder in the success of Rev. I have invested no dollars, but have thousands of hours and many commercial projects, for clients and our own company at stake. So, I am *MOST INTERESTED* to see it succeed. Dan Shafer and myself have hosted 3 annual conferences on the west coast devoted to Rev. I've built my own set of tools in Rev and shared them with the community. Many are still in use today. Recreating those tools in another RAD tool would be most time-consuming and tedious. Yes, I am a stakeholder in the success of Rev. I've worked with Malte's excellent Animation Engine to create a free .obj (Wavefront 3d) loader and wireframe viewer which I use in a commercial product today. If Rev goes away, so does a big part of my livelihood. So, yes, I am a stakeholder in Rev. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From randall at randallreetz.com Mon Feb 2 19:31:10 2009 From: randall at randallreetz.com (Randall Lee Reetz) Date: Mon, 2 Feb 2009 16:31:10 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <665591460902021425t381d6e70s7f6af568d50c9b2e@mail.gmail.com> References: <20090202220955.IJIT12792.atlmtaow02.cingularme.com@Inbox> <665591460902021425t381d6e70s7f6af568d50c9b2e@mail.gmail.com> Message-ID: <3FB6FF88-D3C2-4269-BF1E-FE9CB56187DC@randallreetz.com> Me too! In the same way, I have invested a career using xtalk. This is why I so often weigh in on modernizing xtalk and bringing it into the now. Look at the market share for Flex, Flash, Java, even Director... and compare this to the xtalk market share. Now, do you think this has something to do with these other IDE's and languages paying attention to the web centered world? To the graphics and media rich world? This is why I beg and beg for attention to the evolution of computing... my hope that the wonder that is xTalk natural language like programming will survive into the deep future and will have a greater effect on a larger percentage of that future. To do so it would seem obvious to anyone that much more emphasis will have to be devoted to making xtalk environments web-facing and web native and that they have much more modern graphics and media tools and objects and attributes and functions... no? I already feel like I am either walking with dinosaurs (or am one?). Saying these things makes me no less loyal to xtalk than those who somehow think honesty will kill xtalk. Over here in America we have a law against burning the flag.... but we know in our hearts that the freedom to burn our own flag is actually what makes America so strong. We can make fun of ourselves (or at least we hope to again!). Randall On Feb 2, 2009, at 2:25 PM, Chipp Walters wrote: > Randall, > I can tell you that, yes, I am a stakeholder in the success of Rev. > I have > invested no dollars, but have thousands of hours and many commercial > projects, for clients and our own company at stake. So, I am *MOST > INTERESTED* to see it succeed. > > Dan Shafer and myself have hosted 3 annual conferences on the west > coast > devoted to Rev. I've built my own set of tools in Rev and shared > them with > the community. Many are still in use today. Recreating those tools in > another RAD tool would be most time-consuming and tedious. Yes, I am a > stakeholder in the success of Rev. > > I've worked with Malte's excellent Animation Engine to create a > free .obj > (Wavefront 3d) loader and wireframe viewer which I use in a commercial > product today. If Rev goes away, so does a big part of my > livelihood. So, > yes, I am a stakeholder in Rev. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Mon Feb 2 19:34:41 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 02 Feb 2009 16:34:41 -0800 Subject: When should cmd-period work? In-Reply-To: Message-ID: If there is an error window displayed when you start a script, and that window is hidden behind another, then it stays behind. On the Mac (Panther or later I believe) you can use Expos? to show the windows the app or all windows of all apps. In this case, clicking on the error dialog thumnail will let you see the buttons and click them. Try this with any script that runs long enough to use cmd-. to see if this works in your case. Hope this helps Jim Ault Las Vegas On 2/2/09 4:01 PM, "Devin Asay" wrote: > > On Feb 2, 2009, at 2:44 PM, J. Landman Gay wrote: > >> I accidentally wrote a handler that called another handler that called >> the first one, which called the second one, which called the first >> one, >> which...you know, like that. It wasn't really recursion because each >> handler did a finite set of actions and didn't depend on the other. At >> any rate, there was no recursion warning. >> >> What it looked like from the outside was that Rev had become >> unresponsive, though the cursor moved. No spinning beach ball, no >> colored pizza, just the regular arrow, but clicking on anything failed >> and the OS X dock had "Force Quit" in its menu. It took me several >> force-quits before I figured out the problem was ID10T error. >> >> The allowInterrupts was true, but command-period didn't intercept it. >> Should it have? I wonder if that's even possible, since from the >> script's point of view there was nothing wrong. It was doing exactly >> what I told it to. > > Hi Jacque, > > This has happened to me several times in Rev 3.0, but I've never been > able to pin it down to a recipe. It's almost like what happens when a > running script throws an error and kicks you into debug mode, and you > try to do things with the interface, but nothing works. Then you > notice the error message and slap yourself in the forehead and say to > yourself "What a dork!", then click the stop button in the script > editor to get out of debug mode, and everything's fine. But when this > happens you can't find anything to click, and you want to slap your > computer instead. Cmd-period doesn't work because the script is > already interrupted. It's almost like you really are in debug mode but > the interface hasn't been updated to reflect that. Like you, I seem to > notice it happen when handlers are calling handlers are calling > handlers, in different objects. > > It's very frustrating; maybe if we compare notes we can come up with a > reliable recipe for reproducing it. > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Feb 2 19:34:56 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Feb 2009 18:34:56 -0600 Subject: Big issue with Rev In-Reply-To: References: Message-ID: <49879130.4030201@hyperactivesw.com> DunbarX at aol.com wrote: > I don't suppose "/REVEXCLUDED02" means anything to anyone? I all of a sudden > have a terrible feeling that "HC on steroids" notwithstanding, I am going to > have issues getting this going. I am depressed. No, never heard of it. But what is the name of your utility stack? If it starts with the chars "rev" then the IDE thinks it's an IDE stack, will treat it as such, and who knows what it'll do. Never name any stack with the first 3 letters "rev". If your utility stack is named "fred" then never mind. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Mon Feb 2 19:37:58 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 3 Feb 2009 10:37:58 +1000 Subject: Another SQL question In-Reply-To: <9F8C473C-AB43-4EE6-9081-A7F6CA2EBBA7@twft.com> References: <49845EAA.4070405@crcom.net> <3AA0428C-C05B-4F7F-BEF3-6F17E9C3E3DC@twft.com> <9F8C473C-AB43-4EE6-9081-A7F6CA2EBBA7@twft.com> Message-ID: I highly recommend the various cheat sheets from Visibone . I have their Browser book which covers HTML, CSS & JavaScript and I find it invaluable when you just need to check a tag or function. They have PHP & MySQL cards & posters too, so if you are after a quick reference, it would be a great solution. Cheers, Sarah On Tue, Feb 3, 2009 at 7:46 AM, Bob Sneidar wrote: > Wow! Not in my reference manual it's not. 11.2 is "Numeric Types". But then > I downloaded the PDF manual. Seems that it is either out of date or not > "exactly" correct. I also searched for IN() in the manual and came up with > squadouch. From jacque at hyperactivesw.com Mon Feb 2 19:46:35 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Feb 2009 18:46:35 -0600 Subject: When should cmd-period work? In-Reply-To: References: <49876936.9070901@hyperactivesw.com> Message-ID: <498793EB.6060007@hyperactivesw.com> Devin Asay wrote: > > On Feb 2, 2009, at 2:44 PM, J. Landman Gay wrote: > >> I accidentally wrote a handler that called another handler that called >> the first one, which called the second one, which called the first one, >> which...you know, like that. It wasn't really recursion because each >> handler did a finite set of actions and didn't depend on the other. At >> any rate, there was no recursion warning. >> >> What it looked like from the outside was that Rev had become >> unresponsive, though the cursor moved. No spinning beach ball, no >> colored pizza, just the regular arrow, but clicking on anything failed >> and the OS X dock had "Force Quit" in its menu. It took me several >> force-quits before I figured out the problem was ID10T error. >> >> The allowInterrupts was true, but command-period didn't intercept it. >> Should it have? I wonder if that's even possible, since from the >> script's point of view there was nothing wrong. It was doing exactly >> what I told it to. > > Hi Jacque, > > This has happened to me several times in Rev 3.0, but I've never been > able to pin it down to a recipe. It's almost like what happens when a > running script throws an error and kicks you into debug mode, and you > try to do things with the interface, but nothing works. Then you notice > the error message and slap yourself in the forehead and say to yourself > "What a dork!", then click the stop button in the script editor to get > out of debug mode, and everything's fine. But when this happens you > can't find anything to click, and you want to slap your computer > instead. Cmd-period doesn't work because the script is already > interrupted. It's almost like you really are in debug mode but the > interface hasn't been updated to reflect that. Like you, I seem to > notice it happen when handlers are calling handlers are calling > handlers, in different objects. > > It's very frustrating; maybe if we compare notes we can come up with a > reliable recipe for reproducing it. I'll see if I can make a simpler stack that reproduces it. The one I'm working on isn't fit for pubic consumption. :) I never thought about it acting like it's in debug mode, but now that you mention it, yeah, that's what it seems like. Only I never got any error messages that I could see. I figured out real quick to save before testing... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Feb 2 19:53:38 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Feb 2009 18:53:38 -0600 Subject: When should cmd-period work? In-Reply-To: References: Message-ID: <49879592.9040100@hyperactivesw.com> Jim Ault wrote: > If there is an error window displayed when you start a script, and that > window is hidden behind another, then it stays behind. On the Mac (Panther > or later I believe) you can use Expos? to show the windows the app or all > windows of all apps. > > In this case, clicking on the error dialog thumnail will let you see the > buttons and click them. > > Try this with any script that runs long enough to use cmd-. to see if this > works in your case. I'm pretty sure there was no error window open when I started. My work flow (after the first freeze-up) was: restart Rev, open the stack, edit a script (leaving the window open in the background,) click a button, freeze, force-quit. I'll check again though. Good idea about Expose. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From briany at qldlearning.com Mon Feb 2 19:54:20 2009 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 2 Feb 2009 16:54:20 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090203001707.VONK12792.atlmtaow02.cingularme.com@Inbox> References: <20090203001707.VONK12792.atlmtaow02.cingularme.com@Inbox> Message-ID: <27EE6EC4-C41E-447A-AD32-61E07DC2E926@qldlearning.com> > Ok, why then is asking for code addressable and rev native curves > responded to as a threatening request? It wasn't. I've re-read the thread about 3 times just to make sure I didn't miss anything. Richard suggested Flex as an alternative. Scott gave some thoughtful input including his own frustrations on Rev's graphic capabilities versus thankfulness for good PNG support. I've chimed in multiple times when you've gone out and started insulting people. Several people have agreed with you that a native curve object is an excellent request. You on the other hand went off the handle calling people attack dogs, pompous and Putin-like. Mixed in, you constantly belittle Revolution itself. Do you know the difference between constructive criticism and outright condescension? Here's my suggestion. Try making some humble suggestions instead of pushing your grandiose vision on everyone. Because you don't seem to be able to do it without being offensive. You lament how Rev is "limping into the present" and "poorly champions" the vision of Hypercard's creators. You once asked where the "xtalked web functions" are... and yet many of us are shipping web-enabled products right now based on the literally dozens of powerful extensions Rev has brought to xTalk in this area. You stomp all over the idea of sockets being an acceptable xTalk layer, and yet I ask you... have you tried using sockets in other language? The power of simply bringing chunk expressions and xTalk syntax is enormous. And yet you dismiss something out-of-hand that you clearly know nothing about. That's not the way to get people to buy into your vision. You are absolutely free to "burn the flag" and still love your country, as the analogy goes. But if you're gonna burn a flag among a bunch of war veterans, you better have some tact in how you go about it. And don't go ranting about peace and love to them if you can't be bothered to learn about the wars they fought in. I for one welcome EVERYONE to share their vision for Rev. Just have a little humility and patience when you do it. Some people will agree with you, some will disagree. Some will offer alternative solutions. In the end, it will surely enrich the topic. I would quite like to actually discuss some of these features. How about this. Clearly the two of us specifically clash, and I don't think we're going to suddenly agree. However, I for one would welcome a specific wish list of new graphic capabilities including a curve object. Perhaps one at a time, you could suggest some and we all could start discussing them, since everyone is probably sick of reading us "fight" =). - Brian From jacque at hyperactivesw.com Mon Feb 2 20:20:21 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Feb 2009 19:20:21 -0600 Subject: When should cmd-period work? In-Reply-To: References: <49876936.9070901@hyperactivesw.com> Message-ID: <49879BD5.1040109@hyperactivesw.com> Devin Asay wrote: > This has happened to me several times in Rev 3.0, but I've never been > able to pin it down to a recipe. It's almost like what happens when a > running script throws an error and kicks you into debug mode, and you > try to do things with the interface, but nothing works. ... > It's very frustrating; maybe if we compare notes we can come up with a > reliable recipe for reproducing it. Easy peasy. Be prepared to force-quit, and don't have any other real work open when you try this. Make a stack with 2 fields, and name them "fldOne" and "fldTwo". Put this into the card script: on closeField formatFld the short name of the target end closeField on formatFld pFldName set the numberformat to "0.0#####" get fld pFldName put (it + 0) into fld pFldName update -- here's where you say goodbye for the session end formatFld on update formatFld "fldOne" formatFld "fldTwo" -- other code here, but you never get past the first line end update Then enter a number into the first field and hit the tab key or click out of it. I checked using Expose for error dialogs, etc. Nada. See if you can Cmd-period out of it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Feb 2 20:26:30 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Feb 2009 17:26:30 -0800 Subject: When should cmd-period work? In-Reply-To: <498793EB.6060007@hyperactivesw.com> References: <49876936.9070901@hyperactivesw.com> <498793EB.6060007@hyperactivesw.com> Message-ID: <94582562515.20090202172630@ahsoftware.net> Jacque, Devin- Monday, February 2, 2009, 4:46:35 PM, you wrote: >> interrupted. It's almost like you really are in debug mode but the >> interface hasn't been updated to reflect that. Like you, I seem to >> notice it happen when handlers are calling handlers are calling >> handlers, in different objects. I ran into this when writing the glx2 debugger as well. It seems like the engine and the IDE get off-sync about whether you're in debug mode or not. The menubar indicator isn't always right. If you check the state of the tracereturn in the messagebox when you're in that limbo state you'll probably find that it's false. I never have figured out what sets it into that state, but setting it true from the messagebox most of the time gets things back running. YMMV. > I figured out real quick to save before testing... Yep. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Feb 2 20:40:58 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Feb 2009 19:40:58 -0600 Subject: When should cmd-period work? In-Reply-To: <94582562515.20090202172630@ahsoftware.net> References: <49876936.9070901@hyperactivesw.com> <498793EB.6060007@hyperactivesw.com> <94582562515.20090202172630@ahsoftware.net> Message-ID: <4987A0AA.2090709@hyperactivesw.com> Mark Wieder wrote: > Jacque, Devin- > > Monday, February 2, 2009, 4:46:35 PM, you wrote: > >>> interrupted. It's almost like you really are in debug mode but the >>> interface hasn't been updated to reflect that. Like you, I seem to >>> notice it happen when handlers are calling handlers are calling >>> handlers, in different objects. > > I ran into this when writing the glx2 debugger as well. It seems like > the engine and the IDE get off-sync about whether you're in debug mode > or not. The menubar indicator isn't always right. If you check the > state of the tracereturn in the messagebox when you're in that limbo > state you'll probably find that it's false. I never have figured out > what sets it into that state, but setting it true from the messagebox > most of the time gets things back running. YMMV. I wish. Nothing is active or clickable, and I can't type into the message box. The IDE is also unresponsive, so none of the toolbar icons or menus work either. :( "It's dead, Jim." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Feb 2 20:42:33 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Feb 2009 17:42:33 -0800 Subject: When should cmd-period work? In-Reply-To: <49879BD5.1040109@hyperactivesw.com> References: <49876936.9070901@hyperactivesw.com> <49879BD5.1040109@hyperactivesw.com> Message-ID: <60583525062.20090202174233@ahsoftware.net> Jacque- Monday, February 2, 2009, 5:20:21 PM, you wrote: > Easy peasy. Be prepared to force-quit, and don't have any other real > work open when you try this. Make a stack with 2 fields, and name them > "fldOne" and "fldTwo". Put this into the card script: Interesting. It pegged *both* my cpus at about 85% for about two minutes, then the cpu load dropped back down to about 2% (normal). No memory leaks, it was holding constant the whole time. I would have thought this would run into recursion limits, but apparently not. Had to force-quit to get out, of course. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Feb 2 20:51:14 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Feb 2009 17:51:14 -0800 Subject: When should cmd-period work? In-Reply-To: <4987A0AA.2090709@hyperactivesw.com> References: <49876936.9070901@hyperactivesw.com> <498793EB.6060007@hyperactivesw.com> <94582562515.20090202172630@ahsoftware.net> <4987A0AA.2090709@hyperactivesw.com> Message-ID: <167584046140.20090202175114@ahsoftware.net> Jacque- Monday, February 2, 2009, 5:40:58 PM, you wrote: > I wish. Nothing is active or clickable, and I can't type into the > message box. The IDE is also unresponsive, so none of the toolbar icons > or menus work either. :( > "It's dead, Jim." Yeah. I found that after trying your example. But that one's a tight recursive loop without yielding any time for system tasks. I wish we had a real interrupt trapped by the engine, but I fear it's just being handled (or not) by a frontscript, and that's never getting called because you used all the cpu's power. I'm actually not that surprised by command-period not working in this case, but I am surprised by the lack of recursion control and I'm still scratching my head about the cpu usage... -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Feb 2 20:53:34 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Feb 2009 19:53:34 -0600 Subject: When should cmd-period work? In-Reply-To: <60583525062.20090202174233@ahsoftware.net> References: <49876936.9070901@hyperactivesw.com> <49879BD5.1040109@hyperactivesw.com> <60583525062.20090202174233@ahsoftware.net> Message-ID: <4987A39E.2020707@hyperactivesw.com> Mark Wieder wrote: > Jacque- > > Monday, February 2, 2009, 5:20:21 PM, you wrote: > >> Easy peasy. Be prepared to force-quit, and don't have any other real >> work open when you try this. Make a stack with 2 fields, and name them >> "fldOne" and "fldTwo". Put this into the card script: > > Interesting. It pegged *both* my cpus at about 85% for about two > minutes, then the cpu load dropped back down to about 2% (normal). No > memory leaks, it was holding constant the whole time. I would have > thought this would run into recursion limits, but apparently not. Had > to force-quit to get out, of course. > Yeah. So, bug report time. I'll write it up. Seems like if you lean on Cmd-period like I did though, one of those handlers should have been interrupted so you could get out. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From randall at randallreetz.com Mon Feb 2 21:16:35 2009 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 2 Feb 2009 18:16:35 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <20090203022011.ELGK12796.atlmtaow01.cingularme.com@Inbox> I made humble suggestions. For things like curved graphics and web integration. Two things that are hardly radical in 2009!. Then the Skinarian conditioning begins. Again, i have just concluded a phone call with another person who said they have long ago learned to be scared and quiet on these lists. Beat up and raged, well conditioned but no less convinced. But the pain seems to have worked. Silent. As ordered. If you think pointing out the holes in the hull is critical to the ship than you had better know how to swim. -----Original Message----- From: "Brian Yennie" To: "How to use Revolution" Sent: 2/2/2009 4:54 PM Subject: Re: Subject: Drawing a curved shape - 2nd attempt > Ok, why then is asking for code addressable and rev native curves > responded to as a threatening request? It wasn't. I've re-read the thread about 3 times just to make sure I didn't miss anything. Richard suggested Flex as an alternative. Scott gave some thoughtful input including his own frustrations on Rev's graphic capabilities versus thankfulness for good PNG support. I've chimed in multiple times when you've gone out and started insulting people. Several people have agreed with you that a native curve object is an excellent request. You on the other hand went off the handle calling people attack dogs, pompous and Putin-like. Mixed in, you constantly belittle Revolution itself. Do you know the difference between constructive criticism and outright condescension? Here's my suggestion. Try making some humble suggestions instead of pushing your grandiose vision on everyone. Because you don't seem to be able to do it without being offensive. You lament how Rev is "limping into the present" and "poorly champions" the vision of Hypercard's creators. You once asked where the "xtalked web functions" are... and yet many of us are shipping web-enabled products right now based on the literally dozens of powerful extensions Rev has brought to xTalk in this area. You stomp all over the idea of sockets being an acceptable xTalk layer, and yet I ask you... have you tried using sockets in other language? The power of simply bringing chunk expressions and xTalk syntax is enormous. And yet you dismiss something out-of-hand that you clearly know nothing about. That's not the way to get people to buy into your vision. You are absolutely free to "burn the flag" and still love your country, as the analogy goes. But if you're gonna burn a flag among a bunch of war veterans, you better have some tact in how you go about it. And don't go ranting about peace and love to them if you can't be bothered to learn about the wars they fought in. I for one welcome EVERYONE to share their vision for Rev. Just have a little humility and patience when you do it. Some people will agree with you, some will disagree. Some will offer alternative solutions. In the end, it will surely enrich the topic. I would quite like to actually discuss some of these features. How about this. Clearly the two of us specifically clash, and I don't think we're going to suddenly agree. However, I for one would welcome a specific wish list of new graphic capabilities including a curve object. Perhaps one at a time, you could suggest some and we all could start discussing them, since everyone is probably sick of reading us "fight" =). - Brian _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From briany at qldlearning.com Mon Feb 2 21:41:07 2009 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 2 Feb 2009 18:41:07 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090203022011.ELGK12796.atlmtaow01.cingularme.com@Inbox> References: <20090203022011.ELGK12796.atlmtaow01.cingularme.com@Inbox> Message-ID: <394F4788-80F0-4E6A-81E5-7FF348BC6A15@qldlearning.com> Randall, This is one of the most accepting, helpful lists I've ever been on (and I've been on many). If anyone other than Randall really feels silenced, I would love for them to speak up. I hope you will accept my invitation to get back to the features you'd like to discuss. I for one would still be interesting in discussing them if we can wrap up the insults. I wonder if you will consider a slightly different approach or assume oppression and react accordingly. > I made humble suggestions. For things like curved graphics and web > integration. Two things that are hardly radical in 2009!. Then the > Skinarian conditioning begins. Again, i have just concluded a phone > call with another person who said they have long ago learned to be > scared and quiet on these lists. Beat up and raged, well > conditioned but no less convinced. But the pain seems to have > worked. Silent. As ordered. If you think pointing out the holes > in the hull is critical to the ship than you had better know how to > swim. From katheryn.swynford at gmail.com Mon Feb 2 23:03:57 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Mon, 2 Feb 2009 20:03:57 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <20090203022011.ELGK12796.atlmtaow01.cingularme.com@Inbox> References: <20090203022011.ELGK12796.atlmtaow01.cingularme.com@Inbox> Message-ID: <4be051070902022003t1a79a45fw2179469dbae0b43d@mail.gmail.com> Randall, Ask the active people on the list who they might consider to be a troll/person with a big mouth/etc., and MY NAME will ALMOST CERTAINLY come up. Really. OTOH, when I have a problem/question, many of these same people will drop what they are doing to answer an honest request for assistance. For instance, every time the issue of how to play multiple simultaneous sounds comes up, you WILL find me lamenting the lack of HC's sound channels in Rev. Guaranteed. I believe that it is a much better solution than using player objects. But I respect that Richard Gaskin likes player objects. It's almost an old married person's discussion by now: somebody asks, I complain about lack of sound channels, Richard points out you can use player objects... So, what's the difference? Neither one of us particularly feels the need to call the other names. I am (I hope!) on reasonably good terms with both Richard AND Andrew. I am happy about the fact that we can respect one another and yet disagree without necessarily wanting/needing the same things OR resorting to name-calling. I remember once when Andrew wasn't very happy with a priority given to graphics handling that had Scott Rossi and I both doing the Snoopy Dance. So it is. There are things I wish Rev would handle differently. OTOH, I can also tell you that the company has been most reasonable to deal with me personally as well as with the varyingly weird and always differing needs of my students. They've a most generous education package. When educators have noted price concerns, etc., I feel the company has listened. It can't listen all the time to all its users. You want web deployment; me, not so much. That's okay, isn't it? I'd love real bezier curves... but its not being there isn't a deal-killer. I cannot begin to fathom people who are "afraid" on this list. This is one of the nicest and most helpful groups of people you will find online. Judy http://revined.blogspot.com From ambassador at fourthworld.com Mon Feb 2 23:20:12 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Feb 2009 20:20:12 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt Message-ID: <4987C5FC.8030501@fourthworld.com> Judy Perry wrote: > For instance, every time the issue of how to play multiple simultaneous > sounds comes up, you WILL find me lamenting the lack of HC's sound channels > in Rev. Guaranteed. I believe that it is a much better solution than using > player objects. > > But I respect that Richard Gaskin likes player objects. It's almost an old > married person's discussion by now: somebody asks, I complain about lack of > sound channels, Richard points out you can use player objects... > > So, what's the difference? Neither one of us particularly feels the need to > call the other names. I will start: Judy, you're unmutual! :) Actually, for the record this last go-round on the sound channel thang brought up some valuable points about the responsiveness of sound resources over sound files. So I'm now a convert: I now understand that there's actually quite a wide range of circumstances that would benefit from having multi-channel playback for embedded audio clips. But I still think you're unmutual. Be seeing you - -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From toolbook at kestner.de Tue Feb 3 03:52:33 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 3 Feb 2009 09:52:33 +0100 Subject: OT: How to recognize a double layer drive? Message-ID: Hello, I am to publish an app on a double layer DVD-ROM. Now I came to the question of the system requirements. Does anybody know how to recognize, if my DVD-drive can play DL discs? Or can all DVD-drives play DL discs since the "beginning". I really don't know, but would like to tell my customers if not and how they can check, if they have a compatible drive. Any experiences with this? Win/Mac Thanks for any idea Tiemo From klaus at major-k.de Tue Feb 3 04:05:58 2009 From: klaus at major-k.de (Klaus Major) Date: Tue, 3 Feb 2009 10:05:58 +0100 Subject: OT: How to recognize a double layer drive? In-Reply-To: References: Message-ID: <5DFF466B-C10F-4125-A896-8A9431DFA301@major-k.de> Hi Tiemo, > Hello, > > I am to publish an app on a double layer DVD-ROM. Now I came to the > question > of the system requirements. Does anybody know how to recognize, if my > DVD-drive can play DL discs? Or can all DVD-drives play DL discs > since the > "beginning". I really don't know, but would like to tell my > customers if not > and how they can check, if they have a compatible drive. > > Any experiences with this? Win/Mac I'm not an expert, but I guess all DVD drives can do this since the "beginning". All of the DVD drives I have met (Mac and Win) in the last 5 years were able to playback Video DVDs and these are in fact double-layer disc without exception :-) > Thanks for any idea > > Tiemo Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Tue Feb 3 04:07:45 2009 From: klaus at major-k.de (Klaus Major) Date: Tue, 3 Feb 2009 10:07:45 +0100 Subject: OT: How to recognize a double layer drive? In-Reply-To: <5DFF466B-C10F-4125-A896-8A9431DFA301@major-k.de> References: <5DFF466B-C10F-4125-A896-8A9431DFA301@major-k.de> Message-ID: <420F1A57-761A-45EE-80A1-DCBE98ED768F@major-k.de> Hi Tiemo, >> ... > I'm not an expert, but I guess all DVD drives can do this since the > "beginning". > > All of the DVD drives I have met (Mac and Win) in the last 5 years > were able to > playback Video DVDs and these are in fact double-layer disc without > exception :-) I forgot the important conclusion: If the drive can playback Video DVDs then its a DL drive! Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From phil at liverpool.ac.uk Tue Feb 3 04:07:47 2009 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Tue, 3 Feb 2009 09:07:47 +0000 Subject: OT: How to recognize a double layer drive? In-Reply-To: References: Message-ID: Hi Tiemo, as far as I know, DL disks have been in the DVD specification since almost the start, so all players should play plant-pressed ones (just like the movie DVD's you can buy). I know that some early DVD players/ writers cannot play DL disks that were produced directly from a DL DVD writer though. That bit of the specification came along later I think. On 3 Feb 2009, at 08:52, Tiemo Hollmann TB wrote: > Hello, > > I am to publish an app on a double layer DVD-ROM. Now I came to the > question > of the system requirements. Does anybody know how to recognize, if my > DVD-drive can play DL discs? Or can all DVD-drives play DL discs > since the > "beginning". I really don't know, but would like to tell my > customers if not > and how they can check, if they have a compatible drive. > > Any experiences with this? Win/Mac > > Thanks for any idea > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From revolution at derbrill.de Tue Feb 3 04:10:28 2009 From: revolution at derbrill.de (Malte Brill) Date: Tue, 3 Feb 2009 10:10:28 +0100 Subject: When should cmd-period work? In-Reply-To: <20090203004641.246B848A3E7@mail.runrev.com> References: <20090203004641.246B848A3E7@mail.runrev.com> Message-ID: <4680081B-FB9A-439C-81E0-099ED1DFA71A@derbrill.de> > "It's dead, Jim." Jupp. For what it?s worth. I added a wait 10 millisecs with messages after your formatFld calls in the update handler. On first run I was able to command period out of it and rather surprised to see the script of stack revDebugger popping up pointing to (ebug mode is switched off here, so revDebugger might as well leave me alone): function revDebuggerEnabled return debuggerEnabled() end revDebuggerEnabled Not sure if that helps anyone tracking this down. In second run btw, it would just go into Jim mode again. All the best, Malte From toolbook at kestner.de Tue Feb 3 04:17:33 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 3 Feb 2009 10:17:33 +0100 Subject: AW: OT: How to recognize a double layer drive? In-Reply-To: Message-ID: Thanks for verifying Klaus and Phil, I was just a little unsure, because one of my older DVD writers can't read my self burned DL, but that's obviously the +/- specs of self burned DVDs... Thank you Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Phil Jimmieson > Gesendet: Dienstag, 3. Februar 2009 10:08 > An: How to use Revolution > Betreff: Re: OT: How to recognize a double layer drive? > > Hi Tiemo, > as far as I know, DL disks have been in the DVD specification since > almost the start, so all players should play plant-pressed ones (just > like the movie DVD's you can buy). I know that some early DVD players/ > writers cannot play DL disks that were produced directly from a DL DVD > writer though. That bit of the specification came along later I think. > > On 3 Feb 2009, at 08:52, Tiemo Hollmann TB wrote: > > > Hello, > > > > I am to publish an app on a double layer DVD-ROM. Now I came to the > > question > > of the system requirements. Does anybody know how to recognize, if my > > DVD-drive can play DL discs? Or can all DVD-drives play DL discs > > since the > > "beginning". I really don't know, but would like to tell my > > customers if not > > and how they can check, if they have a compatible drive. > > > > Any experiences with this? Win/Mac > > > > Thanks for any idea > > > > Tiemo > > From benr at cogapp.com Tue Feb 3 04:43:42 2009 From: benr at cogapp.com (Ben Rubinstein) Date: Tue, 03 Feb 2009 09:43:42 +0000 Subject: Recover from Temp? In-Reply-To: References: Message-ID: <498811CE.8050200@cogapp.com> Kay C Lan wrote: > Whilst I wouldn't argue against the use of TimeMachine, for those who have > it, I find GLX2's Archive feature a swifter solution for such Rev specific > problems. And (not that this helps Scott now) I have a button on my personal toolbar that I use to save instead of the standard Rev save; it locates the filename of the stack, ensures that there is a subfolder of that folder named "(bups)", and moves the existing file into that folder with a version number, before invoking the Rev save. So "test.rev" builds up a trail of "test;1.rev", "test;2.rev" etc. (One of my stacks is up around ;1900 now.) I made this in the early years of beta-testing the original Revolution, before 1.0, after several times losing everything in a corrupt save; and I've been using it ever since. It saves my bacon regularly, not so much now from RunRev's errors but from my own... I generally just let all the copies pile up, since most of my stacks are tiny; very occasionally I purge if I'm feeling tidy. The script is simple but if anyone would like a copy I'd be happy to share. (I think Altuit also offer a plugin with a similar effect, which is probably more polished and has more features.) More directly relevant to Scott's problem; I don't know what it means when Spotlight displays a dotted line icon either. An hypothesis, since Spotlight (even when just searching for filenames not content) searches in its database rather than in the file system, would be that if it finds a matching record in its database, but then couldn't the file actually on disk, Spotlight might choose to display that in this way. It could be that Spotlight happened to index in the interval between Rev creating the backup file and deleting it. The other thing I'd try would be to open the terminal and use "locate", eg "locate myFile.rev". I have a feeling that on current versions of OS X, locate uses the Spotlight database; but I'd at least expect it to give you a more unambiguous report. But to be honest, I think it's unlikely that the file you seek will be found. I think it's more likely that Spotlight is reporting a ghost, than has found the file but refuses to tell you where it is. DETH, - Ben From benr at cogapp.com Tue Feb 3 06:23:01 2009 From: benr at cogapp.com (Ben Rubinstein) Date: Tue, 03 Feb 2009 11:23:01 +0000 Subject: Recover from Temp? In-Reply-To: <498811CE.8050200@cogapp.com> References: <498811CE.8050200@cogapp.com> Message-ID: <49882915.1010108@cogapp.com> Ben Rubinstein wrote: > More directly relevant to Scott's problem; I don't know what it means > when Spotlight displays a dotted line icon either. An hypothesis, since > Spotlight (even when just searching for filenames not content) searches > in its database rather than in the file system, would be that if it > finds a matching record in its database, but then couldn't the file > actually on disk, Spotlight might choose to display that in this way. > It could be that Spotlight happened to index in the interval between Rev > creating the backup file and deleting it. > > The other thing I'd try would be to open the terminal and use "locate", > eg "locate myFile.rev". I have a feeling that on current versions of OS > X, locate uses the Spotlight database; but I'd at least expect it to > give you a more unambiguous report. I've just looked at the man page for 'locate', and it says: The locate program may fail to list some files that are present, or may list files that have been removed from the system. This is because locate only reports files that are present in the database, which is typ- ically only regenerated once a week by the /etc/periodic/weekly/310.locate script. Use find(1) to locate files that are of a more transitory nature. - Ben From sims at ezpzapps.com Tue Feb 3 06:56:46 2009 From: sims at ezpzapps.com (Jim Sims) Date: Tue, 3 Feb 2009 12:56:46 +0100 Subject: Recover from Temp? In-Reply-To: <49882915.1010108@cogapp.com> References: <498811CE.8050200@cogapp.com> <49882915.1010108@cogapp.com> Message-ID: <2B384444-0CD1-43A9-BD90-1B7472B7BC29@ezpzapps.com> On Feb 3, 2009, at 12:23 PM, Ben Rubinstein wrote: > I've just looked at the man page for 'locate', and it says: Another terminal 'thang' is mdfind, such as (mdfind ".rev~"): Macintosh:~ jimsims$ mdfind ".rev~" /Users/jimsims/Library/Mail/POP-sims at mail.ezpzapps.com/INBOX.mbox/ Messages/404711.emlx /Users/jimsims/Documents/RM/_TC_Planners/planner.rev~ copy /Users/jimsims/Documents/RM/_TC_Planners/planner.rev~ copy 2 /Users/jimsims/Library/Mail/POP-valletta at mail226.pair.com/Sent Messages.mbox/Messages/490589.emlx /Users/jimsims/Library/Mail/POP-sims at mail.ezpzapps.com/Deleted Messages.mbox/Messages/490938.emlx Macintosh:~ jimsims$ sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From toolbook at kestner.de Tue Feb 3 07:59:25 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 3 Feb 2009 13:59:25 +0100 Subject: OT: what are the components of a standard Mac install? Message-ID: Hello, coming from the windows world, I am not really aware, what a "standard" setup on a Mac has to do. I know, there are tools like PackageMaker, but I would like to know, what a Mac User usually expects, when he inserts a CD - and what of that PackerMacker would provide and what not. What does a installer like PackageMaker do anything else, than just copying the whole CD on HD? How does a Mac User deinstalls his progs, I havn't seen yet a deinstall of any prog? Perhaps someone could point me to a link to the necessaries of a Mac install /deinstall. Thanks for any hint Tiemo From mazzapaolo at libero.it Tue Feb 3 08:41:41 2009 From: mazzapaolo at libero.it (paolo) Date: Tue, 3 Feb 2009 14:41:41 +0100 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: Dear friends, I had this crazy idea: I would like to create a Rev application to control the temperature of my room. So, I need my application to import the temperature from a thermometer and switch on/off the heater. I found documentation for an affordable external device in internet : http://www.audon.co.uk/io8g.html It says "Compatible with Profilab DAQ Software. " and "Can Utilize a Simple Terminal Emulator to Control All Functions" It says also: "Virtual COM port (VCP) drivers cause the USB device to appear as an additional COM port available to the PC. Application software can access the USB device in the same way as it would access a standard COM port. " Now, I have some questions: Can we access the USB device using a standard COM ports from Revolution? Can we have Revolution to behave as a terminal Emulator to control all Functions? To summarize, do you think I can menage to control this external device from Revolution? Thanks a lot. From mcgrath3 at mac.com Tue Feb 3 08:53:21 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 03 Feb 2009 08:53:21 -0500 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: Paolo, I'm not familiar with this device but the answer to 2 is yes for sure, I do it here all the time. I also control my telescope, TV, Cable, Robosapien Robot, lights, etc. If the device can handle serial commands then that is the easiest way. I am looking into that device now... more later... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 3, 2009, at 8:41 AM, paolo wrote: > Now, I have some questions: > > Can we access the USB device using a standard COM ports from > Revolution? > > Can we have Revolution to behave as a terminal Emulator to control > all Functions? > > To summarize, do you think I can menage to control this external > device from Revolution? From klaus at major-k.de Tue Feb 3 08:56:58 2009 From: klaus at major-k.de (Klaus Major) Date: Tue, 3 Feb 2009 14:56:58 +0100 Subject: OT: what are the components of a standard Mac install? In-Reply-To: References: Message-ID: <199F24E0-C81B-470A-9F15-A2C04849C52F@major-k.de> Hi Tiemo, > Hello, > > coming from the windows world, I am not really aware, what a > "standard" > setup on a Mac has to do. I know, there are tools like PackageMaker, > but I > would like to know, what a Mac User usually expects, when he inserts > a CD - > and what of that PackerMacker would provide and what not. What does a > installer like PackageMaker do anything else, than just copying the > whole CD > on HD? How does a Mac User deinstalls his progs, I havn't seen yet a > deinstall of any prog? > > Perhaps someone could point me to a link to the necessaries of a Mac > install > /deinstall. > > Thanks for any hint the average Mac user exspects a ZIP file or a DMG file with just the application bundle in it, then she/he will copy this app into the "Applications" folder all by himself :-) That's the meaning of an application bundle, which is indeed a folder: Everything that is necessary for the app to run, like images, videos, audio files etc. resides INSIDE of this folder, so it appears just like one (big) file to the user. Same for "de-installing", she/he will just put the application bundle to the trash, that's it. If you really have to install lots of files somewhere on the users hard-disk or even into the system folder, then a dedicated "installer" application might be necessary. In that case you should take a look at the Apple Developer tools, that also include an installer: http://developer.apple.com/mac/ You will have to create a free account and then you can load the free developer tools there. Watch out, that's about 1 GB ;-) > Tiemo Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From toolbook at kestner.de Tue Feb 3 09:14:17 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 3 Feb 2009 15:14:17 +0100 Subject: AW: OT: what are the components of a standard Mac install? In-Reply-To: <199F24E0-C81B-470A-9F15-A2C04849C52F@major-k.de> Message-ID: <8B43B72714C04DB2A76F9E32E3A1B161@Kestner.local> Thank for the insight, Klaus Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Klaus Major > Gesendet: Dienstag, 3. Februar 2009 14:57 > An: How to use Revolution > Betreff: Re: OT: what are the components of a standard Mac install? > > Hi Tiemo, > > > Hello, > > > > coming from the windows world, I am not really aware, what a > > "standard" > > setup on a Mac has to do. I know, there are tools like PackageMaker, > > but I > > would like to know, what a Mac User usually expects, when he inserts > > a CD - > > and what of that PackerMacker would provide and what not. What does a > > installer like PackageMaker do anything else, than just copying the > > whole CD > > on HD? How does a Mac User deinstalls his progs, I havn't seen yet a > > deinstall of any prog? > > > > Perhaps someone could point me to a link to the necessaries of a Mac > > install > > /deinstall. > > > > Thanks for any hint > > the average Mac user exspects a ZIP file or a DMG file with just the > application bundle in it, > then she/he will copy this app into the "Applications" folder all by > himself :-) > > That's the meaning of an application bundle, which is indeed a folder: > Everything that is necessary for the app to run, like images, videos, > audio files etc. > resides INSIDE of this folder, so it appears just like one (big) file > to the user. > > Same for "de-installing", she/he will just put the application bundle > to the trash, that's it. > > If you really have to install lots of files somewhere on the users > hard-disk or even into the system folder, > then a dedicated "installer" application might be necessary. > > In that case you should take a look at the Apple Developer tools, that > also include an installer: > http://developer.apple.com/mac/ > > You will have to create a free account and then you can load the free > developer tools there. > Watch out, that's about 1 GB ;-) > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Tue Feb 3 09:13:14 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 03 Feb 2009 09:13:14 -0500 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: Paolo, The Macintosh drivers for this device are the standard FTDIUSB Serial Drivers which emulate a serial device over USB so the good news is that you should be able to connect to the virtual port from Revolution on the mac. I am not familiar with the drivers being used for windows though. The thing to look for is the serial emulation since Revolution can not handle the USB directly. AH software has an X10 home automation controller in Revolution: Code for controlling the Firecracker CM-11 x10 controller There are other serial examples as well. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 3, 2009, at 8:53 AM, Thomas McGrath III wrote: > Paolo, I'm not familiar with this device but the answer to 2 is yes > for sure, I do it here all the time. I also control my telescope, > TV, Cable, Robosapien Robot, lights, etc. > > If the device can handle serial commands then that is the easiest way. > > I am looking into that device now... more later... > > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > On Feb 3, 2009, at 8:41 AM, paolo wrote: > >> Now, I have some questions: >> >> Can we access the USB device using a standard COM ports from >> Revolution? >> >> Can we have Revolution to behave as a terminal Emulator to >> control all Functions? >> >> To summarize, do you think I can menage to control this external >> device from Revolution? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Tue Feb 3 09:14:55 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 3 Feb 2009 09:14:55 EST Subject: Big issue with Rev Message-ID: In a message dated 2/2/09 6:32:57 PM, mwieder at ahsoftware.net writes: > > By "its stack script is in use" do you mean you're using it as a > library stack, frontscript or backscript? In that case you're probably > getting duelling openCard handlers. > I have not put any scripts "into back". Or front. I only start using the utility stack, so I guess that makes it a library. My Rev world is not very big; I have only four stacks. But before I become more conversant with these, why would they conflict? Can you not send messages all over the hierarchy at will? And what is writing that cryptic message to a field, the same each session? Thanks Jacque, but my stacks are named "home" and "wizard", just like in HC. I thought I would learn rev by reproducing my HC development tools. I am stopped dead at the very earliest stages... Craig newman ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad. doubleclick.net/clk;211531132;33070124;e) From Andre.Bisseret at inria.fr Tue Feb 3 09:18:21 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 3 Feb 2009 15:18:21 +0100 Subject: How to test if a field does not contain anything else than returns or tab ? Message-ID: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> Bonjour, I need to test if a given list field in a stack contains some values or if it is empty. Well, by "empty" I mean that the field contains not any word or number. But it happens that it may include carriage returns and/or tabs. In such cases : field "thisField" is empty return false. If there were only carriage returns, I could test if each line of the field is empty; indeed : line x of fld "thisField" is empty returns true if the only character in the line is cr but returns false if there is at least one tab in the line. I just tried : if last char of fld "thisField" is empty ;-)) that seems working well ! but a bit strange and might be not reliable ? Is there a better trick ? Thanks for any idea Best regards from Grenoble Andr? From klaus at major-k.de Tue Feb 3 09:18:58 2009 From: klaus at major-k.de (Klaus Major) Date: Tue, 3 Feb 2009 15:18:58 +0100 Subject: Big issue with Rev In-Reply-To: References: Message-ID: <935971BE-14D3-448F-9BB3-1C11458E3B22@major-k.de> Hi Craig, > In a message dated 2/2/09 6:32:57 PM, mwieder at ahsoftware.net writes: > >> By "its stack script is in use" do you mean you're using it as a >> library stack, frontscript or backscript? In that case you're >> probably >> getting duelling openCard handlers. >> > > I have not put any scripts "into back". Or front. I only start using > the > utility stack, so I guess that makes it a library. My Rev world is > not very big; I > have only four stacks. > > But before I become more conversant with these, why would they > conflict? Can > you not send messages all over the hierarchy at will? And what is > writing that > cryptic message to a field, the same each session? > > Thanks Jacque, but my stacks are named "home" and "wizard", just > like in HC. > I thought I would learn rev by reproducing my HC development tools. > I am > stopped dead at the very earliest stages... Sorry, missed your original post, but "home" is already used by Rev for the stack that keeps you registration serial number etc.! You should rename your stack to avoid any possible conflicts. > Craig newman Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Tue Feb 3 09:22:43 2009 From: klaus at major-k.de (Klaus Major) Date: Tue, 3 Feb 2009 15:22:43 +0100 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> References: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> Message-ID: <9CD4B44D-985A-4384-9855-187C2E20E875@major-k.de> Bonjour Andre, > Bonjour, > > I need to test if a given list field in a stack contains some values > or if it is empty. > Well, by "empty" I mean that the field contains not any word or > number. But it happens that it may include carriage returns and/or > tabs. > In such cases : > field "thisField" is empty > return false. > > If there were only carriage returns, I could test if each line of > the field is empty; > indeed : > line x of fld "thisField" is empty > returns true if the only character in the line is cr > but returns false if there is at least one tab in the line. > > I just tried : > if last char of fld "thisField" is empty ;-)) > > that seems working well ! but a bit strange and might be not > reliable ? > > Is there a better trick ? I would go like this: ... put fld "Your field here" into Field_content replace CR with "" in Field_content replace TAB with "" in Field_content ## replace anything else that might be necessary if Field_content = empty then ## do your stuff... end if ... Hope that helps. > Thanks for any idea > > Best regards from Grenoble > Andr? Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From m.schonewille at economy-x-talk.com Tue Feb 3 09:24:25 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 3 Feb 2009 15:24:25 +0100 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> References: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> Message-ID: <4C86F1A3-E9C8-4439-BDF4-1BB237CCB309@economy-x-talk.com> Hi Andr?, if number of words of fld "This Field" is 0 and (fld "This Field" contains cr or fld "This Field" contains tab) then... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 3 feb 2009, at 15:18, Andre.Bisseret wrote: > Bonjour, > > I need to test if a given list field in a stack contains some values > or if it is empty. > Well, by "empty" I mean that the field contains not any word or > number. But it happens that it may include carriage returns and/or > tabs. > In such cases : > field "thisField" is empty > return false. > > If there were only carriage returns, I could test if each line of > the field is empty; > indeed : > line x of fld "thisField" is empty > returns true if the only character in the line is cr > but returns false if there is at least one tab in the line. > > I just tried : > if last char of fld "thisField" is empty ;-)) > > that seems working well ! but a bit strange and might be not > reliable ? > > Is there a better trick ? > > Thanks for any idea > > Best regards from Grenoble > Andr? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Tue Feb 3 09:36:13 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 03 Feb 2009 09:36:13 -0500 Subject: selectedObject() Message-ID: Is there a way that I am missing to get a selected object from one stack in another stack 'without' having to palette the window of the second stack? I want to act on a user selected object in stack one while in stack two. Thanks Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html From camm29 at tesco.net Tue Feb 3 09:53:41 2009 From: camm29 at tesco.net (camm29 at tesco.net) Date: Tue, 3 Feb 2009 14:53:41 +0000 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: Message-ID: <20090203145341.UICIA.228812.root@web09-winn.ispmail.private.ntl.com> Paolo , Should work ! If you do not have a RS232 Port then use a serial Port/Usb emulator driver. If you have a RS232 Port then use a USB to RS232 cable convertor. Rev will send / read from Serial Com Ports only , the above is the solution. Rev 3.00 is better as you can use Com Ports > 9 Regards Camm ---- paolo wrote: > Dear friends, I had this crazy idea: > > I would like to create a Rev application to control the temperature of > my room. So, I need my application to import the temperature from a > thermometer and switch on/off the heater. > > I found documentation for an affordable external device in internet : http://www.audon.co.uk/io8g.html > > It says "Compatible with Profilab DAQ Software. " and "Can Utilize a > Simple Terminal Emulator to Control All Functions" > > It says also: "Virtual COM port (VCP) drivers cause the USB device to > appear as an additional COM port available to the PC. Application > software can access the USB device in the same way as it would access > a standard COM port. " > > Now, I have some questions: > > Can we access the USB device using a standard COM ports from > Revolution? > > Can we have Revolution to behave as a terminal Emulator to control > all Functions? > > To summarize, do you think I can menage to control this external > device from Revolution? > > Thanks a lot. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Tue Feb 3 10:05:54 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 3 Feb 2009 10:05:54 EST Subject: Little issue with Rev Message-ID: Thanks all. Changing the names of the innocent seems to have stopped the bleeding. Craig newman ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad. doubleclick.net/clk;211531132;33070124;e) From Andre.Bisseret at inria.fr Tue Feb 3 10:46:14 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 3 Feb 2009 16:46:14 +0100 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: <9CD4B44D-985A-4384-9855-187C2E20E875@major-k.de> References: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> <9CD4B44D-985A-4384-9855-187C2E20E875@major-k.de> Message-ID: <27F2B11E-38A4-404A-BE43-FD1CBA4A2589@inria.fr> Le 3 f?vr. 09 ? 15:22, Klaus Major a ?crit : > Bonjour Andre, > >> Bonjour, >> >> I need to test if a given list field in a stack contains some >> values or if it is empty. >> Well, by "empty" I mean that the field contains not any word or >> number. But it happens that it may include carriage returns and/or >> tabs. >> In such cases : >> field "thisField" is empty >> return false. >> >> If there were only carriage returns, I could test if each line of >> the field is empty; >> indeed : >> line x of fld "thisField" is empty >> returns true if the only character in the line is cr >> but returns false if there is at least one tab in the line. >> >> I just tried : >> if last char of fld "thisField" is empty ;-)) >> >> that seems working well ! but a bit strange and might be not >> reliable ? >> >> Is there a better trick ? > > I would go like this: > .... > put fld "Your field here" into Field_content > replace CR with "" in Field_content > replace TAB with "" in Field_content > ## replace anything else that might be necessary > > if Field_content = empty then > ## do your stuff... > end if > .... > > Hope that helps. Ouuups, of course, your are right I feel a bit ridiculous ;-) Danke sehr Klaus, Andr? From devin_asay at byu.edu Tue Feb 3 10:56:40 2009 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 3 Feb 2009 08:56:40 -0700 Subject: When should cmd-period work? In-Reply-To: <49879BD5.1040109@hyperactivesw.com> References: <49876936.9070901@hyperactivesw.com> <49879BD5.1040109@hyperactivesw.com> Message-ID: <1D53E43A-B906-4DAD-B78A-6CAB32BADB56@byu.edu> On Feb 2, 2009, at 6:20 PM, J. Landman Gay wrote: > Devin Asay wrote: > >> This has happened to me several times in Rev 3.0, but I've never been >> able to pin it down to a recipe. It's almost like what happens when a >> running script throws an error and kicks you into debug mode, and you >> try to do things with the interface, but nothing works. > ... >> It's very frustrating; maybe if we compare notes we can come up >> with a >> reliable recipe for reproducing it. > > Easy peasy. Be prepared to force-quit, and don't have any other real > work open when you try this. Make a stack with 2 fields, and name them > "fldOne" and "fldTwo". Put this into the card script: ... Confirmed here. That's exactly the behavior I've experienced in the past. Let us know when you write up a bug report. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From Andre.Bisseret at inria.fr Tue Feb 3 11:01:38 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 3 Feb 2009 17:01:38 +0100 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: <4C86F1A3-E9C8-4439-BDF4-1BB237CCB309@economy-x-talk.com> References: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> <4C86F1A3-E9C8-4439-BDF4-1BB237CCB309@economy-x-talk.com> Message-ID: Le 3 f?vr. 09 ? 15:24, Mark Schonewille a ?crit : > Hi Andr?, > > if number of words of fld "This Field" is 0 and (fld "This Field" > contains cr or fld "This Field" contains tab) then... > > -- > Best regards, > > Mark Schonewille Bonjour Mark Excellent :-) Same answer as I made to Klaus : I feel ridiculous (so twice). I seems really brain tired to day ;-) Anyway, thanks a lot for this idea Best regards from Grenoble Andr? > > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > Dutch forum: http://runrev.info/rrforum > > We are always looking for new projects! Feel free to contact us to > discuss your custom software project! > > On 3 feb 2009, at 15:18, Andre.Bisseret wrote: > >> Bonjour, >> >> I need to test if a given list field in a stack contains some >> values or if it is empty. >> Well, by "empty" I mean that the field contains not any word or >> number. But it happens that it may include carriage returns and/or >> tabs. >> In such cases : >> field "thisField" is empty >> return false. >> >> If there were only carriage returns, I could test if each line of >> the field is empty; >> indeed : >> line x of fld "thisField" is empty >> returns true if the only character in the line is cr >> but returns false if there is at least one tab in the line. >> >> I just tried : >> if last char of fld "thisField" is empty ;-)) >> >> that seems working well ! but a bit strange and might be not >> reliable ? >> >> Is there a better trick ? >> >> Thanks for any idea >> >> Best regards from Grenoble >> Andr? >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From h at FlexibleLearning.com Tue Feb 3 11:09:37 2009 From: h at FlexibleLearning.com (Hugh Senior) Date: Tue, 3 Feb 2009 16:09:37 -0000 Subject: How to test if a field does not contain anything else than returns or tab? In-Reply-To: <20090203141905.2190548A624@mail.runrev.com> Message-ID: This assumes what you need is whether text is in the field... function isEmpty pFld return (num of words of fld pFld = 0) end isEmpty HTH /H Bonjour, I need to test if a given list field in a stack contains some values or if it is empty. Well, by "empty" I mean that the field contains not any word or number. But it happens that it may include carriage returns and/or tabs. In such cases : field "thisField" is empty return false. If there were only carriage returns, I could test if each line of the field is empty; indeed : line x of fld "thisField" is empty returns true if the only character in the line is cr but returns false if there is at least one tab in the line. I just tried : if last char of fld "thisField" is empty ;-)) that seems working well ! but a bit strange and might be not reliable ? Is there a better trick ? Thanks for any idea Best regards from Grenoble Andri From jacque at hyperactivesw.com Tue Feb 3 11:33:25 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Feb 2009 10:33:25 -0600 Subject: When should cmd-period work? In-Reply-To: <4680081B-FB9A-439C-81E0-099ED1DFA71A@derbrill.de> References: <20090203004641.246B848A3E7@mail.runrev.com> <4680081B-FB9A-439C-81E0-099ED1DFA71A@derbrill.de> Message-ID: <498871D5.6040003@hyperactivesw.com> Malte Brill wrote: > > "It's dead, Jim." > > Jupp. For what it?s worth. I added a wait 10 millisecs with messages > after your formatFld calls in the update handler. On first run I was > able to command period out of it and rather surprised to see the script > of stack revDebugger popping up pointing to (ebug mode is switched off > here, so revDebugger might as well leave me alone): > > function revDebuggerEnabled > return debuggerEnabled() > end revDebuggerEnabled > > Not sure if that helps anyone tracking this down. In second run btw, it > would just go into Jim mode again. Cool. :) Could you add it to the report? Might help. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Feb 3 11:42:35 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Feb 2009 10:42:35 -0600 Subject: Little issue with Rev In-Reply-To: References: Message-ID: <498873FB.1060808@hyperactivesw.com> DunbarX at aol.com wrote: > Thanks all. > > Changing the names of the innocent seems to have stopped the bleeding. Good, figured it was an IDE conflict. BTW, "go home" still works as in HC. In the IDE you won't be able to get in, it's locked, and it will just flash the splash screen. In a standalone, "home" becomes a synonym for your mainstack and is a quick way to get back there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Feb 3 11:44:58 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Feb 2009 08:44:58 -0800 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> References: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> Message-ID: <151637670265.20090203084458@ahsoftware.net> Andre.Bisseret- Yet another variation: if word 1 to -1 of field "thisField" is empty -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Feb 3 11:51:47 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Feb 2009 08:51:47 -0800 Subject: Big issue with Rev In-Reply-To: References: Message-ID: <6638079171.20090203085147@ahsoftware.net> Craig- Tuesday, February 3, 2009, 6:14:55 AM, you wrote: Glad changing the names did the trick. > I have not put any scripts "into back". Or front. I only start using the > utility stack, so I guess that makes it a library. My Rev world is not very big; I > have only four stacks. > But before I become more conversant with these, why would they conflict? Can > you not send messages all over the hierarchy at will? And what is writing that > cryptic message to a field, the same each session? If you haven't put the script into the front and you aren't passing the openCard message in your card handler, then there's no conflict. And you're right that "start using" the utility stack does use it as a library. For most purposes that's the same as using it as a backscript, although there are subtle differences. Richard Gaskin has the canonical article on the message path here: http://www.fourthworld.com/embassy/articles/revolution_message_path.html ...and I don't have a clue about the cryptic message. The home stack is locked, since that's where the family jewels are, so its contents will remain a mystery. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Tue Feb 3 12:06:32 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 3 Feb 2009 09:06:32 -0800 Subject: OT: what are the components of a standard Mac install? In-Reply-To: References: Message-ID: Most Mac "deinstallers" I have seen are actually just shell scripts that delete everything from where the installer put them. If you know how to write shell scripts then it shouldn't be all that hard to write a "deinstaller". The real trick is getting it to run as an admin. Not sure how to do that. I would also pay attention to removing things like preference files that you create in the process of running the app that may have become corrupted (hence the need to deinstall). I guess the real question is, how much of the users preferences do you want to retain if any? If a "factory reset" condition is what you are after, then just delete everything, otherwise you have to think about what to retain. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 3, 2009, at 4:59 AM, Tiemo Hollmann TB wrote: > Hello, > > coming from the windows world, I am not really aware, what a > "standard" > setup on a Mac has to do. I know, there are tools like PackageMaker, > but I > would like to know, what a Mac User usually expects, when he inserts > a CD - > and what of that PackerMacker would provide and what not. What does a > installer like PackageMaker do anything else, than just copying the > whole CD > on HD? How does a Mac User deinstalls his progs, I havn't seen yet a > deinstall of any prog? > > Perhaps someone could point me to a link to the necessaries of a Mac > install > /deinstall. > > Thanks for any hint > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Tue Feb 3 12:11:21 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 3 Feb 2009 09:11:21 -0800 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> References: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> Message-ID: I wonder, isn't there a way to use regular expressions to check for white space? Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 3, 2009, at 6:18 AM, Andre.Bisseret wrote: > Bonjour, > > I need to test if a given list field in a stack contains some values > or if it is empty. > Well, by "empty" I mean that the field contains not any word or > number. But it happens that it may include carriage returns and/or > tabs. > In such cases : > field "thisField" is empty > return false. > > If there were only carriage returns, I could test if each line of the > field is empty; > indeed : > line x of fld "thisField" is empty > returns true if the only character in the line is cr > but returns false if there is at least one tab in the line. > > I just tried : > if last char of fld "thisField" is empty ;-)) > > that seems working well ! but a bit strange and might be not > reliable ? > > Is there a better trick ? > > Thanks for any idea > > Best regards from Grenoble > Andr? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From luis at anachreon.co.uk Tue Feb 3 12:12:48 2009 From: luis at anachreon.co.uk (Luis) Date: Tue, 3 Feb 2009 17:12:48 +0000 Subject: OT: what are the components of a standard Mac install? In-Reply-To: References: Message-ID: Hiya, You might get more search hits with 'uninstaller'. Cheers, Luis. On 3 Feb 2009, at 12:59, Tiemo Hollmann TB wrote: > Hello, > > coming from the windows world, I am not really aware, what a > "standard" > setup on a Mac has to do. I know, there are tools like > PackageMaker, but I > would like to know, what a Mac User usually expects, when he > inserts a CD - > and what of that PackerMacker would provide and what not. What does a > installer like PackageMaker do anything else, than just copying the > whole CD > on HD? How does a Mac User deinstalls his progs, I havn't seen yet a > deinstall of any prog? > > Perhaps someone could point me to a link to the necessaries of a > Mac install > /deinstall. > > Thanks for any hint > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From geradamas at yahoo.com Tue Feb 3 12:39:59 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 3 Feb 2009 09:39:59 -0800 (PST) Subject: OT: what are the components of a standard Mac install? Message-ID: <49198.1937.qm@web37507.mail.mud.yahoo.com> This might help: http://guides.macrumors.com/Uninstalling_Applications_in_Mac_OS_X and, just to get your digestive juices flowing, here's a quote from the introductory paragraph: "Uninstalling applications in Mac OS X is very different than uninstalling in a Microsoft Windows environment because Mac OS X has nothing like the Windows Registry." sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From JimAultWins at yahoo.com Tue Feb 3 12:56:41 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 03 Feb 2009 09:56:41 -0800 Subject: How to I fix the color picker palette? In-Reply-To: <021F4BDF-5595-429A-9136-65A69E11B98E@inria.fr> Message-ID: I have updated all of the OSX software and still get the 'freeze', but there is an easy workaround. I can use either Eric Chatonet's Color Picker or Scott Rossi's tmColor (the 'tm' stands for Tactile Media) with no difficulties. They are both installed in my plugins menu in the Rev IDE Thanks for the help. Jim Ault Las Vegas On 1/31/09 2:59 AM, "Andre.Bisseret" wrote: > Hi Jim, > Seems similar to the problem I had last year. > (see the thread "Colors and patterns" works once then freezes Rev in > the april 2008 archives); Sivakatirswami had had the same problem. > Following Sivakatirswami, I thought it was a problem in my system > (Leopard), but found no idea on what it could be ! > The problem disappeared some weeks later; I think it was when > upgrading a new version of Leopard (not sure). > > Sorry, that not help you a lot ;-(( remains a mystery for me > > Best regards from Grenoble > Andr? > > > Le 30 janv. 09 ? 21:13, Jim Ault a ?crit : > >> All seemed to be well before yesterday. >> Rev 2.9/ OSX Leopard >> >> I was using Eric?s new trial stack, changed the row color once, >> success, >> then tried to change it again and got the following: >> >> >> Rev 2.9/ OSX Leopard behaved the same way as if the palette were >> open, >> but none was visible. I was able to hit escape and get back >> control. Today >> I tried to change the bg color of a field and got the same freeze, >> only now >> there is no way to get control back. >> >> Quick testing shows that >> launch Rev >> new mainstack, 1 new field, >> use property inspector to change fill color = works >> color picker is visible center screen. >> >> property inspector still open, >> dbl-clk to change again = freeze, menus disabled(gray) and requires >> force >> quit >> >> The same for text fill color. >> >> revcolorchooser.rev shows the mod date July 2008 20K >> >> What should I be looking for? >> >> Jim Ault >> Las Vegas >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Tue Feb 3 13:03:32 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 3 Feb 2009 13:03:32 EST Subject: How to test if a field does not contain anything else than returns or tab ? Message-ID: This was a big thread on the HC list a few years back. Spaces are odd, in that they are not word delimiters. Although they are. One space between two word is two words, as is ten spaces between them. In HC: get the number of words of "a b c" --two spaces between the chars, returns 3 And this.... set the itemDelimiter to space get the number of items of "a b c" --returns 1 Space is just a special kind of character, and it is hard to get the white, er, space. Does Rev have more powerful tools? Craig Newman ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad. doubleclick.net/clk;211531132;33070124;e) From stephenREVOLUTION2 at barncard.com Tue Feb 3 13:25:38 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 3 Feb 2009 10:25:38 -0800 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: References: Message-ID: I've found that using a non-breaking space instead of a space solves a lot of problems with parsing text. For instance links clicked in a field with two words connected with a NBS will act as one word-pair. This is perfect for headers. Perhaps filtering and searching with a NBS might work better in some instances. nbs = option-space ascii 202 hex 0xCA 2009/2/3 > This was a big thread on the HC list a few years back. Spaces are odd, in > that they are not word delimiters. Although they are. One space between two > word > is two words, as is ten spaces between them. In HC: > > get the number of words of "a b c" --two spaces between the chars, > returns 3 > > And this.... > > set the itemDelimiter to space > > get the number of items of "a b c" --returns 1 > > Space is just a special kind of character, and it is hard to get the white, > er, space. > > Does Rev have more powerful tools? > > Craig Newman > > > ************** > Great Deals on Dell Laptops. Starting at $499. > ( > http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad > . > doubleclick.net/clk;211531132;33070124;e) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard ------------------------- San Francisco From revdev at pdslabs.net Tue Feb 3 13:27:38 2009 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 03 Feb 2009 10:27:38 -0800 Subject: selectedObject() In-Reply-To: References: Message-ID: <49888C9A.1010206@pdslabs.net> How about setting the defaultStack to stack1 before referencing the selectedObject? (This is a guess, but seems plausible) Phil Davis Thomas McGrath III wrote: > Is there a way that I am missing to get a selected object from one > stack in another stack 'without' having to palette the window of the > second stack? > > I want to act on a user selected object in stack one while in stack two. > > Thanks > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From jacque at hyperactivesw.com Tue Feb 3 14:49:25 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Feb 2009 13:49:25 -0600 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: References: Message-ID: <49889FC5.4010808@hyperactivesw.com> DunbarX at aol.com wrote: > This was a big thread on the HC list a few years back. Spaces are odd, in > that they are not word delimiters. Although they are. One space between two word > is two words, as is ten spaces between them. In HC: > > get the number of words of "a b c" --two spaces between the chars, > returns 3 > > And this.... > > set the itemDelimiter to space > > get the number of items of "a b c" --returns 1 > > Space is just a special kind of character, and it is hard to get the white, > er, space. > > Does Rev have more powerful tools? In Rev, using space as an itemdelimiter works as you'd expect: set the itemDel to space put the number of items in "a b c" -> 3 put the number of items in "a b c" -> 5 However, the "word" function will still only return the actual number of words: put the number of words in "a b c" -> 3 which is generally what we want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geradamas at yahoo.com Tue Feb 3 14:51:48 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 3 Feb 2009 11:51:48 -0800 (PST) Subject: Button Basher Message-ID: <575881.55684.qm@web37503.mail.mud.yahoo.com> Just uploaded an improved version: 1. Sorted out the 'wonky' red button on the METAL BUTTONS page [stupid Richmond forgot to lock a resized image - and let that be a lesson to you all !] 2. Code contributions by Bernd Niggemann. You had better believe it: Bigger, Better and Twice as Butch. And the lesson is: collaborative code improvements + user-feedback works a treat. Love, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From jacque at hyperactivesw.com Tue Feb 3 14:55:07 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Feb 2009 13:55:07 -0600 Subject: selectedObject() In-Reply-To: References: Message-ID: <4988A11B.90900@hyperactivesw.com> Thomas McGrath III wrote: > Is there a way that I am missing to get a selected object from one stack > in another stack 'without' having to palette the window of the second > stack? > > I want to act on a user selected object in stack one while in stack two. I'm not seeing any problem with just using "the selectedObject". It returns the long name of the object that's selected with the pointer tool regardless of what stack it's in. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geradamas at yahoo.com Tue Feb 3 15:08:27 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 3 Feb 2009 12:08:27 -0800 (PST) Subject: selectedObject() Message-ID: <521421.32142.qm@web37504.mail.mud.yahoo.com> Humpf: probably have to set the DEFAULTSTACK to the stack which you are wishing to act on, select the object, manipulate, and then set DEFAULTSTACK back to the stack from which the manipulation command is coming. Probably best to set the LOCKSCREEN to true while you do this so as to avoid problems with an end-user with the crazy-click-click condition! IMAGINE: 2 single-card stacks; "ONE" and "TWO"; stack "ONE" contains an image "STUPID PICTURE", A button on stack "TWO" containing this script: on mouseUp set the lockScreen to true set the defaultStack to stack "ONE" select img "STUPID PICTURE" set the angle of img "STUPID PICTURE" to 25 set the defaultStack to stack "TWO" set the lockScreen to true end mouseUp --------------------------------------------- Mind you, I don't know why you bother:- on mouseUp select img "STUPID PICTURE" of card "FIRST" of stack "ONE" set the angle of img "STUPID PICTURE" of card "FIRST" of stack "ONE" to 25 end mouseUp sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From jim at visitrieve.com Tue Feb 3 15:22:12 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 3 Feb 2009 10:22:12 -1000 Subject: Re-4: List Magic testimony In-Reply-To: <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> References: <00034521.49822EC7@the-office.us> <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> Message-ID: <005901c9863d$19764c40$4c62e4c0$@com> Hi Bob, ListMagic will not remain in demo mode indefinitely. We are working out details for the sales, maintenance and growth of ListMagic and all those who purchased already will probably receive unlock codes within the week, for the latest 1.1 version. Apologies to you and any who have purchased already for any inconvenience. Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Bob Sneidar > Sent: Friday, January 30, 2009 7:33 AM > To: How to use Revolution > Subject: Re: Re-4: List Magic testimony > > Out of curiosity, will this stack continue to work in demo mode > indefinitely? If Eric's family decide to continue to market it, I will > certainly pay for it as it is quite a nice bit of Revolution > programming. Just what I needed in fact. But if not, then I cannot > risk using it in a production project if it is going to fail at a > later point. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Jan 29, 2009, at 1:33 PM, runrev260805 at m-r-d.de wrote: > > > No problem. Do you have the latest version from 10th January? > > > > If not, i put the stack online. As it is a demo, i think it?s okay > > for Erics heirs. > > > > You can get it at http://www.revolutionatwork.com/ListMagic.rev > > > > Regards, > > > > Matthias > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Tue Feb 3 15:24:33 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 3 Feb 2009 15:24:33 EST Subject: How to test if a field does not contain anything else than returns or tab ? Message-ID: Jacque: Score one for modernity. That spaces in Rev can be itemdelimiters is clean and logical, and obviates the whole issue. I have replaced spaces now and then in HC with both visible and invisible chars to emulate a space/word delimiter. I was among the camp in the HC thread that considered it a demi-bug. And I do see the logic behind having the number of words be spaces independent. Craig Newman In Rev, using space as an itemdelimiter works as you'd expect: set the itemDel to space put the number of items in "a b c" -> 3 put the number of items in "a?? b c" -> 5 However, the "word" function will still only return the actual number of words: put the number of words in "a? ?? b c" -> 3 which is generally what we want. ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad.doubleclick.net/clk;211531132;33070124;e) From niconiko at gmail.com Tue Feb 3 16:52:23 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 4 Feb 2009 06:52:23 +0900 Subject: He's a GENIUS! In-Reply-To: References: Message-ID: <1e91b2b70902031352vfda684bm1c4b1d7beb79fc53@mail.gmail.com> > ANDRE! Your a freaking genius! Great job on the RevDOCS! I will use that one > for sure. I must've missed a message or two, cause I don't know what Bob Sneidar's referring to here. The only docs I know of are the ones that come with Rev and the paper-bound one. Anyone? Thanks. -- Nicolas Cueto From runrev260805 at m-r-d.de Tue Feb 3 17:33:43 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 3 Feb 2009 22:33:43 +0000 Subject: Re-2: He's a GENIUS! Message-ID: <00034718.4988D456@the-office.us> Hi Nicolas, that was an article in the Runrev Newsletter #64. Here is the link to the article: http://www.runrev.com/newsletter/january/issue64/newsletter1.php?id=NW064S46431 Regards, Matthias -------- Original Message -------- Subject: Re: He's a GENIUS! (03-Feb-2009 22:54) From: Nicolas Cueto To: runrev260805 at m-r-d.de > > ANDRE! Your a freaking genius! Great job on the RevDOCS! I will use that > > one > > for sure. > > I must've missed a message or two, cause I don't know > what Bob Sneidar's referring to here. The only docs I > know of are the ones that come with Rev and the > paper-bound one. > > Anyone? > > Thanks. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From mcgrath3 at mac.com Tue Feb 3 17:36:13 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 03 Feb 2009 17:36:13 -0500 Subject: selectedObject() In-Reply-To: <49888C9A.1010206@pdslabs.net> References: <49888C9A.1010206@pdslabs.net> Message-ID: Phil, I will try this.. Experiments to follow. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 3, 2009, at 1:27 PM, Phil Davis wrote: > How about setting the defaultStack to stack1 before referencing the > selectedObject? (This is a guess, but seems plausible) > Phil Davis > > > Thomas McGrath III wrote: >> Is there a way that I am missing to get a selected object from one >> stack in another stack 'without' having to palette the window of >> the second stack? >> >> I want to act on a user selected object in stack one while in stack >> two. >> >> Thanks >> >> Tom McGrath III >> Lazy River Software >> 3mcgrath at comcast.net >> >> iTunes Library Suite - libITS >> Information and download can be found on this page: >> http://www.lazyriversoftware.com/RevOne.html >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Tue Feb 3 17:37:41 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 03 Feb 2009 17:37:41 -0500 Subject: selectedObject() In-Reply-To: <4988A11B.90900@hyperactivesw.com> References: <4988A11B.90900@hyperactivesw.com> Message-ID: <70E72B37-AE1F-4D48-9727-D700A38135AC@mac.com> Jac, but once you get to the second stack with the pointer tool the selection is lost? No? I have to play some more. I was just hoping for experience. T Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 3, 2009, at 2:55 PM, J. Landman Gay wrote: > Thomas McGrath III wrote: >> Is there a way that I am missing to get a selected object from one >> stack in another stack 'without' having to palette the window of >> the second stack? >> I want to act on a user selected object in stack one while in stack >> two. > > I'm not seeing any problem with just using "the selectedObject". It > returns the long name of the object that's selected with the pointer > tool regardless of what stack it's in. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rjearp at hotmail.com Tue Feb 3 17:50:20 2009 From: rjearp at hotmail.com (Bob Earp) Date: Tue, 3 Feb 2009 14:50:20 -0800 Subject: Import temperature and switch on/off the heater with Rev Message-ID: Paolo, to my knowledge there is no capability within Rev of communicating with a USB port, although I think Chuck had been working on something along time ago.I've been wanting to use a Rev project as an interface to the aircraft simulators we build and have been working on getting Rev on OS X to talk to a PLC for some time now, unfortunately with limited success. As mentioned in other posts, Rev communicates quite well with serial ports, but alas they don't come on Apple platforms. I've been using an IOGear USB to Serial adapter, but for some reason the system seems unstable. The last time I tried it I kept getting what appeared to be a bit shifting on the response from the PLC and got so frustrated I gave up.I've been using an EZ-PLC which is very economical, but the support for low level serial port communication is almost non existent. I've recently discovered the Arduino (which was invented in your part of the world) and am now considering communicating with that via ethernet.If anybody has more to add on this subject I'd be extremely happy to hear about it !!best, Bob... _________________________________________________________________ The new Windows Live Messenger. You don?t want to miss this. http://www.microsoft.com/windows/windowslive/messenger.aspx From jacque at hyperactivesw.com Tue Feb 3 18:45:26 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Feb 2009 17:45:26 -0600 Subject: selectedObject() In-Reply-To: <70E72B37-AE1F-4D48-9727-D700A38135AC@mac.com> References: <4988A11B.90900@hyperactivesw.com> <70E72B37-AE1F-4D48-9727-D700A38135AC@mac.com> Message-ID: <4988D716.5060306@hyperactivesw.com> Thomas McGrath III wrote: > Jac, but once you get to the second stack with the pointer tool the > selection is lost? No? I have to play some more. I was just hoping for > experience. I tried a quick experiment before I answered and the selection stays until you select something else or click in a neutral area like the card. But I had to use a "mouseEnter" to trigger a report to the message box because button clicks aren't possible with the selection tool in the IDE (in a standalone I belive they are, it's the IDE that traps the click.) It worked fine across stacks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Tue Feb 3 18:57:38 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 3 Feb 2009 15:57:38 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: I'm pretty sure the KEYSPAN interface and software works with rev the last time I tried it. Just checked. They're now owned by Tripp-Lite. sqb 2009/2/3 Bob Earp > > Paolo, to my knowledge there is no capability within Rev of communicating > with a USB port, although I think Chuck had been working on something along > time ago.I've been wanting to use a Rev project as an interface to the > aircraft simulators we build and have been working on getting Rev on OS X to > talk to a PLC for some time now, unfortunately with limited success. As > mentioned in other posts, Rev communicates quite well with serial ports, but > alas they don't come on Apple platforms. I've been using an IOGear USB to > Serial adapter, but for some reason the system seems unstable. The last > time I tried it I kept getting what appeared to be a bit shifting on the > response from the PLC and got so frustrated I gave up.I've been using an > EZ-PLC which is very economical, but the support for low level serial port > communication is almost non existent. I've recently discovered the Arduino > (which was invented in your part of the world) and am now considering > communicating with that via ethernet.If anybody has more to add on this > subject I'd be extremely happy to hear about it !!best, Bob... > _________________________________________________________________ > The new Windows Live Messenger. You don't want to miss this. > > http://www.microsoft.com/windows/windowslive/messenger.aspx_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard ------------------------- San Francisco From chipp at chipp.com Tue Feb 3 19:06:41 2009 From: chipp at chipp.com (Chipp Walters) Date: Tue, 3 Feb 2009 18:06:41 -0600 Subject: Re-2: He's a GENIUS! In-Reply-To: <00034718.4988D456@the-office.us> References: <00034718.4988D456@the-office.us> Message-ID: <665591460902031606t9e5e1bds21679fcbe9e3f0a2@mail.gmail.com> Yes, a great idea and product! Kudos to Andre :-) Andre, how hard would it be to add an option to output the whole thing as txt? It would be good for adding to printout documentation. -C From mwieder at ahsoftware.net Tue Feb 3 19:43:04 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Feb 2009 16:43:04 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: <71666356250.20090203164304@ahsoftware.net> Bob- The Arduino works well with rev. If you're using Windows and need to do some usb protocol troubleshooting, there's a great tool available at http://www.aggsoft.com/usb-port-monitor.htm Unfortunately they don't have an osx version, and I haven't found anything else that does this sort of packet-level analysis for the mac. -- -Mark Wieder mwieder at ahsoftware.net From mcgrath3 at mac.com Tue Feb 3 22:08:59 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 03 Feb 2009 22:08:59 -0500 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: <774A68BF-83F8-4100-A786-A58979112C27@mac.com> Yes the HIGH SPEED serial adapter will work. I use it here all the time. The other serial adapters were not high speed and caused problems. I use the 19HS model that Stephen listed. I have also used straight USB devices that make use of the standard FTDIUSB Serial Drivers with great success. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 3, 2009, at 6:57 PM, stephen barncard wrote: > I'm pretty sure the KEYSPAN interface and software works with rev > the last > time I tried it. > Just checked. They're now owned by > Tripp-Lite. > > > > > sqb > > 2009/2/3 Bob Earp > >> >> Paolo, to my knowledge there is no capability within Rev of >> communicating >> with a USB port, although I think Chuck had been working on >> something along >> time ago.I've been wanting to use a Rev project as an interface to >> the >> aircraft simulators we build and have been working on getting Rev >> on OS X to >> talk to a PLC for some time now, unfortunately with limited >> success. As >> mentioned in other posts, Rev communicates quite well with serial >> ports, but >> alas they don't come on Apple platforms. I've been using an IOGear >> USB to >> Serial adapter, but for some reason the system seems unstable. The >> last >> time I tried it I kept getting what appeared to be a bit shifting >> on the >> response from the PLC and got so frustrated I gave up.I've been >> using an >> EZ-PLC which is very economical, but the support for low level >> serial port >> communication is almost non existent. I've recently discovered the >> Arduino >> (which was invented in your part of the world) and am now considering >> communicating with that via ethernet.If anybody has more to add on >> this >> subject I'd be extremely happy to hear about it !!best, Bob... >> _________________________________________________________________ >> The new Windows Live Messenger. You don't want to miss this. >> >> http://www.microsoft.com/windows/windowslive/messenger.aspx_______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > Stephen Barncard > ------------------------- > San Francisco > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From katheryn.swynford at gmail.com Tue Feb 3 22:55:08 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Tue, 3 Feb 2009 19:55:08 -0800 Subject: Subject: Drawing a curved shape - 2nd attempt In-Reply-To: <4987C5FC.8030501@fourthworld.com> References: <4987C5FC.8030501@fourthworld.com> Message-ID: <4be051070902031955n61abed4bta91554580436756e@mail.gmail.com> On Mon, Feb 2, 2009 at 8:20 PM, Richard Gaskin wrote: > Judy Perry wrote: > >> So, what's the difference? Neither one of us particularly feels the need >> to >> call the other names. >> > > I will start: Judy, you're unmutual! > > :) > --Ahh, but, Richard, you and I both know that the unmutual tag is not an insult but a mark of distinction! Unless you're No. 2, in which case it's a sign you're about to be replaced. ;-) > > Actually, for the record this last go-round on the sound channel thang > brought up some valuable points about the responsiveness of sound resources > over sound files. > > So I'm now a convert: I now understand that there's actually quite a wide > range of circumstances that would benefit from having multi-channel playback > for embedded audio clips. --Go directly to the podium to make your confession. Don't worry: WE will tell you what to say. ;-) > > But I still think you're unmutual. --UNmutual! UNmutual! UNmutual! Be seeing you - > --And you ;-) Judy http://revined.blogspot.com From katheryn.swynford at gmail.com Tue Feb 3 23:01:17 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Tue, 3 Feb 2009 20:01:17 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: <4be051070902032001t6701737ek8be81bdee2b1c958@mail.gmail.com> Wasn't there an old HC serial (ADB) adapter thingy that allowed you to control external electronics? Made by Beehive maybe? Used to control the lighting of the world's tallest towers? (Jacque would remember). Is there a USB version of it now? I thought that people used to do this sort of thing in HC all the time... Sorry; that's all I remember. Judy http://revined.blogspot.com On Tue, Feb 3, 2009 at 5:41 AM, paolo wrote: > Dear friends, I had this crazy idea: > > I would like to create a Rev application to control the temperature of my > room. So, I need my application to import the temperature from a > thermometer and switch on/off the heater. > > I found documentation for an affordable external device in internet : > http://www.audon.co.uk/io8g.html > > It says "Compatible with Profilab DAQ Software. " and "Can Utilize a > Simple Terminal Emulator to Control All Functions" > > It says also: "Virtual COM port (VCP) drivers cause the USB device to > appear as an additional COM port available to the PC. Application software > can access the USB device in the same way as it would access a standard COM > port. " > > Now, I have some questions: > > Can we access the USB device using a standard COM ports from Revolution? > > Can we have Revolution to behave as a terminal Emulator to control all > Functions? > > To summarize, do you think I can menage to control this external device > from Revolution? > > Thanks a lot. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dunbarx at aol.com Tue Feb 3 23:20:39 2009 From: dunbarx at aol.com (dunbarx) Date: Tue, 03 Feb 2009 23:20:39 -0500 Subject: Import temperature and anything else you can think of In-Reply-To: <4be051070902032001t6701737ek8be81bdee2b1c958@mail.gmail.com> Message-ID: <0D612E98.225F.4713.9A86.4776DE0E7B08@aol.com> I use the Beehive ADB/IO gadgets to this day. Four are in my shop working as I speak on two 266 MHz grey boxes. I have sold commercial HC driven products using them, and when they went out of business, they offered a couple dozen to me at cost. I took them all. Still have some. There were two earlier, similar devices, made by Ansan and someone else. I have these also. But the Beehive gadgets are the best.?They wrote an XCMD to write to and an XFCN to read from the device, and it can do anything, analog or digital, especially if you can add some simple circuitry like data distributors and the like.?They only work on the ADB bus though. If anyone wants to go back to you know what on an ADB Mac (the blue and white is the last model to support it), let me know. Craig Newman On Feb 3, 2009, at 11:01:17 PM, "Judy Perry" wrote: From: "Judy Perry" Subject: Re: Import temperature and switch on/off the heater with Rev Date: February 3, 2009 11:01:17 PM EST To: "How to use Revolution" Wasn't there an old HC serial (ADB) adapter thingy that allowed you to control external electronics? Made by Beehive maybe? Used to control the lighting of the world's tallest towers? (Jacque would remember). Is there a USB version of it now? I thought that people used to do this sort of thing in HC all the time... Sorry; that's all I remember. Judy http://revined.blogspot.com On Tue, Feb 3, 2009 at 5:41 AM, paolo wrote: > Dear friends, I had this crazy idea: > > I would like to create a Rev application to control the temperature of my > room. So, I need my application to import the temperature from a > thermometer and switch on/off the heater. > > I found documentation for an affordable external device in internet : > http://www.audon.co.uk/io8g.html > > It says "Compatible with Profilab DAQ Software. " and "Can Utilize a > Simple Terminal Emulator to Control All Functions" > > It says also: "Virtual COM port (VCP) drivers cause the USB device to > appear as an additional COM port available to the PC. Application software > can access the USB device in the same way as it would access a standard COM > port. " > > Now, I have some questions: > > Can we access the USB device using a standard COM ports from Revolution? > > Can we have Revolution to behave as a terminal Emulator to control all > Functions? > > To summarize, do you think I can menage to control this external device > from Revolution? > > Thanks a lot. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dunbarx at aol.com Tue Feb 3 23:23:14 2009 From: dunbarx at aol.com (dunbarx) Date: Tue, 03 Feb 2009 23:23:14 -0500 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: <4be051070902032001t6701737ek8be81bdee2b1c958@mail.gmail.com> Message-ID: I did those towers. 1998. Still working... Craig newman On Feb 3, 2009, at 11:01:17 PM, "Judy Perry" wrote: From: "Judy Perry" Subject: Re: Import temperature and switch on/off the heater with Rev Date: February 3, 2009 11:01:17 PM EST To: "How to use Revolution" Wasn't there an old HC serial (ADB) adapter thingy that allowed you to control external electronics? Made by Beehive maybe? Used to control the lighting of the world's tallest towers? (Jacque would remember). Is there a USB version of it now? I thought that people used to do this sort of thing in HC all the time... Sorry; that's all I remember. Judy http://revined.blogspot.com On Tue, Feb 3, 2009 at 5:41 AM, paolo wrote: > Dear friends, I had this crazy idea: > > I would like to create a Rev application to control the temperature > of my > room. So, I need my application to import the temperature from a > thermometer and switch on/off the heater. > > I found documentation for an affordable external device in internet : > http://www.audon.co.uk/io8g.html > > It says "Compatible with Profilab DAQ Software. " and "Can Utilize a > Simple Terminal Emulator to Control All Functions" > > It says also: "Virtual COM port (VCP) drivers cause the USB device to > appear as an additional COM port available to the PC. Application > software > can access the USB device in the same way as it would access a > standard COM > port. " > > Now, I have some questions: > > Can we access the USB device using a standard COM ports from > Revolution? > > Can we have Revolution to behave as a terminal Emulator to control all > Functions? > > To summarize, do you think I can menage to control this external > device > from Revolution? > > Thanks a lot. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From katheryn.swynford at gmail.com Wed Feb 4 00:32:54 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Tue, 3 Feb 2009 21:32:54 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: <4be051070902032001t6701737ek8be81bdee2b1c958@mail.gmail.com> Message-ID: <4be051070902032132i5b304106u5d5a83193bea4b87@mail.gmail.com> Dunbar, That is soooo awesome! So, does the serial adapter thingy still exist as far as you know? Was it Beehive? Judy who REMEMBERS! http://revined.blogspot.com On Tue, Feb 3, 2009 at 8:23 PM, dunbarx wrote: > I did those towers. 1998. Still working... > > Craig newman > > On Feb 3, 2009, at 11:01:17 PM, "Judy Perry" > wrote: > From: "Judy Perry" > Subject: Re: Import temperature and switch on/off the heater with Rev > Date: February 3, 2009 11:01:17 PM EST > To: "How to use Revolution" > > Wasn't there an old HC serial (ADB) adapter thingy that allowed you to > control external electronics? Made by Beehive maybe? Used to control the > lighting of the world's tallest towers? (Jacque would remember). > Is there a USB version of it now? I thought that people used to do this > sort of thing in HC all the time... > > Sorry; that's all I remember. > > Judy > http://revined.blogspot.com > > > On Tue, Feb 3, 2009 at 5:41 AM, paolo wrote: > > Dear friends, I had this crazy idea: >> >> I would like to create a Rev application to control the temperature of my >> room. So, I need my application to import the temperature from a >> thermometer and switch on/off the heater. >> >> I found documentation for an affordable external device in internet : >> http://www.audon.co.uk/io8g.html >> >> It says "Compatible with Profilab DAQ Software. " and "Can Utilize a >> Simple Terminal Emulator to Control All Functions" >> >> It says also: "Virtual COM port (VCP) drivers cause the USB device to >> appear as an additional COM port available to the PC. Application software >> can access the USB device in the same way as it would access a standard >> COM >> port. " >> >> Now, I have some questions: >> >> Can we access the USB device using a standard COM ports from Revolution? >> >> Can we have Revolution to behave as a terminal Emulator to control all >> Functions? >> >> To summarize, do you think I can menage to control this external device >> from Revolution? >> >> Thanks a lot. >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dunbarx at aol.com Wed Feb 4 00:43:07 2009 From: dunbarx at aol.com (dunbarx) Date: Wed, 04 Feb 2009 00:43:07 -0500 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: <4be051070902032132i5b304106u5d5a83193bea4b87@mail.gmail.com> Message-ID: <90448951.05DF.4E3B.B156.5F2F938AE762@aol.com> Judy. Makes you one of the oldsters, you know. The serial gadget was by someone else. ?I can check when I get to my office.??Beehive was the ADB guys All three developers are out of the business. ?There should be someone willing to take up the calling with Rev and USB, though. Someone smart and young. Free consulting to anyone who cares to. All you need is a PIC (programmable integrated circuit, $5) and the nerve. Craig On Feb 4, 2009, at 12:32:54 AM, "Judy Perry" wrote: Dunbar, That is soooo awesome! So, does the serial adapter thingy still exist as far as you know? Was it Beehive? Judy who REMEMBERS! From stephenREVOLUTION2 at barncard.com Wed Feb 4 00:55:53 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 3 Feb 2009 21:55:53 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: <90448951.05DF.4E3B.B156.5F2F938AE762@aol.com> References: <4be051070902032132i5b304106u5d5a83193bea4b87@mail.gmail.com> <90448951.05DF.4E3B.B156.5F2F938AE762@aol.com> Message-ID: This company mentions apple drivers and Runtime Rev. They make USB I/O Boxes -- and even some stuff that works with fischertechnik kits.They've been around for a while. http://www.bkohg.com/serviceusbplus_e.html The CD-ROM contains the Service-USB driver for Macintosh MacOS X, QuickTime > films and screen shots as well as extensive software for AppleScript, > Runtime Revolution, RealBasic, Xcode, FileMaker, 4th Dimension, Macromedia > Director MX, Java, Scratch, Ragtime and original programs for various > fischertechnik(R) construction kits. > > The Service USB Driver is universal binary and supports both Power PC- and > Intel-based Macintosh computers. > 2009/2/3 dunbarx > Judy. > > Makes you one of the oldsters, you know. > > The serial gadget was by someone else. I can check when I get to my > office. Beehive was the ADB guys > > All three developers are out of the business. There should be someone > willing to take up the calling with Rev and USB, though. Someone smart and > young. Free consulting to anyone who cares to. All you need is a PIC > (programmable integrated circuit, $5) and the nerve. > > Craig > > > On Feb 4, 2009, at 12:32:54 AM, "Judy Perry" > wrote: > Dunbar, > That is soooo awesome! > So, does the serial adapter thingy still exist as far as you know? Was it > Beehive? > > Judy > who REMEMBERS! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard ------------------------- San Francisco From sundown at pacifier.com Wed Feb 4 01:29:00 2009 From: sundown at pacifier.com (-= JB =-) Date: Tue, 3 Feb 2009 22:29:00 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: <8A1A6A80-4C01-49E9-BA11-FA033C64E98C@pacifier.com> You could probably do it with X10 devices. I used to control X10 devices with OS 8.6. They were controlled from the serial port but the new device is USB. I am writing a stack that will control the serial and USB ports but haven't been working on it for a few months. I was able to configure the ports and do some serial port stuff with the modem but haven't done much with the usb port yet. The older X10 took commands in a binary format if I remember and I haven't done enough to see how the new X10 devices are controlled but they've changed the format. I have written some code for Revolution to convert between binary, ascii, hex & numeric that I posted in the Scripters Scrapbook online section. I did find a program that is for the Mac that controls X10 devices so I know it can be done but it may need a driver to be written so you can do it with Revolution. Until I figure out what type of info needs to be sent to the USB device I won't be able to test it without a driver to be sure if it needs one to be written or not. If you can figure out how to control an external serial device from Rev the old device could be used instead of the new USB one. -=>JB<=- On Feb 3, 2009, at 5:41 AM, paolo wrote: > Dear friends, I had this crazy idea: > > I would like to create a Rev application to control the temperature > of my room. So, I need my application to import the temperature > from a thermometer and switch on/off the heater. > > I found documentation for an affordable external device in > internet : http://www.audon.co.uk/io8g.html > > It says "Compatible with Profilab DAQ Software. " and "Can Utilize > a Simple Terminal Emulator to Control All Functions" > > It says also: "Virtual COM port (VCP) drivers cause the USB device > to appear as an additional COM port available to the PC. > Application software can access the USB device in the same way as > it would access a standard COM port. " > > Now, I have some questions: > > Can we access the USB device using a standard COM ports from > Revolution? > > Can we have Revolution to behave as a terminal Emulator to > control all Functions? > > To summarize, do you think I can menage to control this external > device from Revolution? > > Thanks a lot. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From toolbook at kestner.de Wed Feb 4 02:46:38 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 4 Feb 2009 08:46:38 +0100 Subject: AW: what are the components of a standard Mac install? In-Reply-To: <49198.1937.qm@web37507.mail.mud.yahoo.com> Message-ID: <5452BE2372A248608BE1A4CC5C2F7B66@Kestner.local> Thanks Bob, Luis and Richmond, For shedding some more light on this Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Richmond Mathewson > Gesendet: Dienstag, 3. Februar 2009 18:40 > An: use-revolution at lists.runrev.com > Betreff: OT: what are the components of a standard Mac install? > > This might help: > > http://guides.macrumors.com/Uninstalling_Applications_in_Mac_OS_X > > and, just to get your digestive juices flowing, here's a quote from the > introductory paragraph: > > "Uninstalling applications in Mac OS X is very different than uninstalling > in a Microsoft Windows environment because Mac OS X has nothing like the > Windows Registry." > > sincerely, Richmond Mathewson. > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development Life > Cycle. > ____________________________________________________________ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From niconiko at gmail.com Wed Feb 4 04:05:28 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 4 Feb 2009 18:05:28 +0900 Subject: renaming files Message-ID: <1e91b2b70902040105n6dbc134bl498f171274f1d20d@mail.gmail.com> Hello All, Being somewhat lazy here. What Rev commands would I use for finding a specific local file and then renaming that file? For example, Rev finds file: C:/FolderName/dog.jpg and then renames it as: C:/FolderName/001.jpg Thanks. -- Nicolas Cueto From rmicout at online.fr Wed Feb 4 04:09:02 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 4 Feb 2009 10:09:02 +0100 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: <8A1A6A80-4C01-49E9-BA11-FA033C64E98C@pacifier.com> References: <8A1A6A80-4C01-49E9-BA11-FA033C64E98C@pacifier.com> Message-ID: Hello JB, Is that work with USB musical keyboard ? Ren? from Paris Le 4 f?vr. 09 ? 07:29, -= JB =- a ?crit : > You could probably do it with X10 devices. I used to control X10 > devices with OS 8.6. They > were controlled from the serial port but the new device is USB. I > am writing a stack that will > control the serial and USB ports but haven't been working on it for > a few months. I was able > to configure the ports and do some serial port stuff with the modem > but haven't done much > with the usb port yet. The older X10 took commands in a binary > format if I remember and I > haven't done enough to see how the new X10 devices are controlled > but they've changed > the format. I have written some code for Revolution to convert > between binary, ascii, hex & > numeric that I posted in the Scripters Scrapbook online section. I > did find a program that is > for the Mac that controls X10 devices so I know it can be done but > it may need a driver to > be written so you can do it with Revolution. Until I figure out > what type of info needs to be > sent to the USB device I won't be able to test it without a driver > to be sure if it needs one to > be written or not. If you can figure out how to control an > external serial device from Rev the > old device could be used instead of the new USB one. > > -=>JB<=- > > > > On Feb 3, 2009, at 5:41 AM, paolo wrote: > >> Dear friends, I had this crazy idea: >> >> I would like to create a Rev application to control the >> temperature of my room. So, I need my application to import the >> temperature from a thermometer and switch on/off the heater. >> >> I found documentation for an affordable external device in >> internet : http://www.audon.co.uk/io8g.html >> >> It says "Compatible with Profilab DAQ Software. " and "Can >> Utilize a Simple Terminal Emulator to Control All Functions" >> >> It says also: "Virtual COM port (VCP) drivers cause the USB device >> to appear as an additional COM port available to the PC. >> Application software can access the USB device in the same way as >> it would access a standard COM port. " >> >> Now, I have some questions: >> >> Can we access the USB device using a standard COM ports from >> Revolution? >> >> Can we have Revolution to behave as a terminal Emulator to >> control all Functions? >> >> To summarize, do you think I can menage to control this external >> device from Revolution? >> >> Thanks a lot. >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sundown at pacifier.com Wed Feb 4 04:31:25 2009 From: sundown at pacifier.com (-= JB =-) Date: Wed, 4 Feb 2009 01:31:25 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: <8A1A6A80-4C01-49E9-BA11-FA033C64E98C@pacifier.com> Message-ID: I really haven't done any usb stuff yet except configure the port. I have done some testing with an internal modem using the serial port. The only thing I have done with usb is list the devices. It is possible the only way to access most usb devices is to write a driver for Rev to access the port. -=>JB<=- On Feb 4, 2009, at 1:09 AM, Ren? Micout wrote: > Hello JB, > Is that work with USB musical keyboard ? > Ren? from Paris > > Le 4 f?vr. 09 ? 07:29, -= JB =- a ?crit : > >> You could probably do it with X10 devices. I used to control X10 >> devices with OS 8.6. They >> were controlled from the serial port but the new device is USB. I >> am writing a stack that will >> control the serial and USB ports but haven't been working on it >> for a few months. I was able >> to configure the ports and do some serial port stuff with the >> modem but haven't done much >> with the usb port yet. The older X10 took commands in a binary >> format if I remember and I >> haven't done enough to see how the new X10 devices are controlled >> but they've changed >> the format. I have written some code for Revolution to convert >> between binary, ascii, hex & >> numeric that I posted in the Scripters Scrapbook online section. >> I did find a program that is >> for the Mac that controls X10 devices so I know it can be done but >> it may need a driver to >> be written so you can do it with Revolution. Until I figure out >> what type of info needs to be >> sent to the USB device I won't be able to test it without a driver >> to be sure if it needs one to >> be written or not. If you can figure out how to control an >> external serial device from Rev the >> old device could be used instead of the new USB one. >> >> -=>JB<=- >> >> >> >> On Feb 3, 2009, at 5:41 AM, paolo wrote: >> >>> Dear friends, I had this crazy idea: >>> >>> I would like to create a Rev application to control the >>> temperature of my room. So, I need my application to import the >>> temperature from a thermometer and switch on/off the heater. >>> >>> I found documentation for an affordable external device in >>> internet : http://www.audon.co.uk/io8g.html >>> >>> It says "Compatible with Profilab DAQ Software. " and "Can >>> Utilize a Simple Terminal Emulator to Control All Functions" >>> >>> It says also: "Virtual COM port (VCP) drivers cause the USB >>> device to appear as an additional COM port available to the PC. >>> Application software can access the USB device in the same way as >>> it would access a standard COM port. " >>> >>> Now, I have some questions: >>> >>> Can we access the USB device using a standard COM ports from >>> Revolution? >>> >>> Can we have Revolution to behave as a terminal Emulator to >>> control all Functions? >>> >>> To summarize, do you think I can menage to control this external >>> device from Revolution? >>> >>> Thanks a lot. >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Wed Feb 4 04:51:42 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 4 Feb 2009 10:51:42 +0100 Subject: renaming files In-Reply-To: <1e91b2b70902040105n6dbc134bl498f171274f1d20d@mail.gmail.com> References: <1e91b2b70902040105n6dbc134bl498f171274f1d20d@mail.gmail.com> Message-ID: Hi Nicolas, What about the rename command? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 4 feb 2009, at 10:05, Nicolas Cueto wrote: > Hello All, > > Being somewhat lazy here. > > What Rev commands would I use for > finding a specific local file and then > renaming that file? > > For example, Rev finds file: > > C:/FolderName/dog.jpg > > and then renames it as: > > C:/FolderName/001.jpg > > > Thanks. > > -- > Nicolas Cueto From camm29 at tesco.net Wed Feb 4 05:46:02 2009 From: camm29 at tesco.net (camm29 at tesco.net) Date: Wed, 4 Feb 2009 10:46:02 +0000 Subject: Can anybody HELP !! In-Reply-To: <4981F44A.2060909@hyperactivesw.com> Message-ID: <20090204104602.T8XN0.247785.root@web09-winn.ispmail.private.ntl.com> Dave , Jac and all involved. Well some progress .....just why ? Made no difference using revAnswerDailog from 2.8.1 but I used revStandalonesettings.rev from 2.8.1 and BINGO !!!! Standalone built on Rev 3.0 ....... Regards Camm ---- "J. Landman Gay" wrote: > Dave wrote: > > Hi, > > > > I've been looking at the problem reported by Camm and others and I > > *think* I have found at least part of the problem. The inability to save > > a stack with a password set and the answer dialog enabled. > > > > In my application, I have a "Dummy" Splash Screen Stack (call it > > "StartUp.rev") that servers as a place holder (as well as other things) > > to build a Standalone from, e.g. when I build a Standalone, I (at least > > initially and subsequently if I want to change settings), open the > > Standalone settings dialog which causes an array containing the settings > > to be written to custom props in StartUp.rev. When I look at this stack > > in the Application Browser, I see that there are now two Sub-Stacks in > > the StartUp.rev file: > > > > answer dialog > > ask dialog > > > > Also in the main stack of "StartUp.rev" I find that I have a group > > called "revLibraries", this contains a number of "buttons" that have > > code in them, such as "revXMLRPC, revPrintBack, etc. > > Yes, that's exactly the problem. > > > > > Is this normal? If not then I think the Standalone builder is somehow > > storing these items in the wrong file. > > Right. It isn't normal, and we'd determined that the files were being > written to the wrong stack. The problem is, we can't make it happen and > no one is sure why it's only happening to Camm (and now to you.) When we > reviewed his example stack, and tested on several machines, the files > were written correctly and the standalone built fine. Those on the list > who also tested it had no issues either. It's encouraging that you may > be able to reproduce it, that would be very helpful. > > > > > If you add password protection to this, it *might* be the problem people > > have been reporting. > > > > Any comments on this greatly appreciated. > > I'm sure you are correct. If you can figure out what is different about > your stack, and if it corresponds to something in Camm's stack, then we > may be able to figure it out. > > It would be interesting to see if you can build his sample stack. > Perhaps you could get a copy from him (or ping me privately and I'll > send it to you.) > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Wed Feb 4 06:19:33 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 4 Feb 2009 19:19:33 +0800 Subject: Another SQL question In-Reply-To: <9F8C473C-AB43-4EE6-9081-A7F6CA2EBBA7@twft.com> References: <49845EAA.4070405@crcom.net> <3AA0428C-C05B-4F7F-BEF3-6F17E9C3E3DC@twft.com> <9F8C473C-AB43-4EE6-9081-A7F6CA2EBBA7@twft.com> Message-ID: On Tue, Feb 3, 2009 at 5:46 AM, Bob Sneidar wrote: > Wow! Not in my reference manual it's not. 11.2 is "Numeric Types". But then > I downloaded the PDF manual. Seems that it is either out of date or not > "exactly" correct. I also searched for IN() in the manual and came up with > squadouch. In my 5.0.4 pdf version it appears on page 591 under Chap 12 Functions and Operators, 12.1.3 Comparison Functions. The entry is: expr IN (value,...) If you are using Preview on OSX you need to type the above in quotes into the search field and uncheck the box "Group by Section", otherwise, without quotes you'll get a bunch of useless hits, and if you leave the Group by section box ticked, it will take you to page one of Section 12.1.3 which is not where the info you're looking for is at. Also typing " in()" into the search field, noting the space before the i, quoting the selection and unchecking Group by section, yields half a dozen results of which the first 3 are useful and the last 3 are just references to bug fixes to IN() HTH From geradamas at yahoo.com Wed Feb 4 07:18:10 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 04:18:10 -0800 (PST) Subject: Button Basher Message-ID: <907031.1404.qm@web37504.mail.mud.yahoo.com> Bernd Niggemann has "been at it again"; with wonderful results: Just uploaded the latest version. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From geradamas at yahoo.com Wed Feb 4 07:24:17 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 04:24:17 -0800 (PST) Subject: Card Size Limits and middle-aged eyes. Message-ID: <14449.29329.qm@web37508.mail.mud.yahoo.com> Barry Barber wrote: "Glad someone has realised we do not have to remain restricted to the card size limits of HC and MacSE. My eyes are blessing you!" I will be 47 on Saturday, and while I am lucky enough not to have to wear specs (yet), I am also lucky enough to have a VDU that has a 1400 x 1050 display capacity. In my school all the Ubuntu boxes are set to display at 1024 x 768 - and I design all my teaching software for that standard. I also believe it is reasonable to expect 99% of computer uses to have access to at least that screen resolution. Certainly, a lot of 'widgets' that RunRev Use-List people have produced have "made my eyes go funny"; therefore I tend to favour overly big objects rather than the other way round. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From williamdesmet at gmail.com Wed Feb 4 07:33:09 2009 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 4 Feb 2009 13:33:09 +0100 Subject: Button Basher In-Reply-To: <907031.1404.qm@web37504.mail.mud.yahoo.com> References: <907031.1404.qm@web37504.mail.mud.yahoo.com> Message-ID: Hi Richmond, I checked out the latest version but on several cards the button doesn't resize and the preset colors don't work either. Just to let you know :-). greetings, William 2009/2/4 Richmond Mathewson > Bernd Niggemann has "been at it again"; with wonderful results: > > Just uploaded the latest version. > > sincerely, Richmond Mathewson. > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development Life > Cycle. > ____________________________________________________________ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From geradamas at yahoo.com Wed Feb 4 08:19:15 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 05:19:15 -0800 (PST) Subject: Button Basher Message-ID: <80262.56885.qm@web37503.mail.mud.yahoo.com> William de Smet scrieved: "on several cards the button doesn't resize and the preset colors don't work either." As soon as I saw your posting I opened up the latest version, i.e. the one I uploaded about 40 minutes ago, just before I went out to buy some bread - despite my semi-divine status I still have to eat :) 1. on the G4 Mac: it worked; no problems with either resize or preset colours (DreamCard 2.6.1), 1 and a half. on the G4 Mac: it worked; no problems with either resize or preset colours (Metacard 2.6.6), 2. on the Ubuntu Pentium 4; it worked; no problems with either resize or preset colours (Runtime Revolution 2.2.1), 3. on Windows XP inside VPC; it worked; no problems with either resize or preset colours (Runtime Revolution 2.0.1), Mind you, RR 2.0.1 didn't go for some of the other code in a big way; but let's hope I'm the last person on the planet using a version that ancient. So, I would be extremely grateful if you could download the latest version/build and try it out; should there still be problems I would be very grateful if you could let me know the following: 1. Your Operating System, 2. The version of RR and/or Metacard you tried the stack with. Bernd has now set the gradient sliders to a default of 75 (i.e. 75% transparent); this means that on some displays the colours may be a bit hard to see (c.f. my recent posting about middle-aged eyes). sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From williamdesmet at gmail.com Wed Feb 4 08:31:01 2009 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 4 Feb 2009 14:31:01 +0100 Subject: Button Basher In-Reply-To: <80262.56885.qm@web37503.mail.mud.yahoo.com> References: <80262.56885.qm@web37503.mail.mud.yahoo.com> Message-ID: Hi Richmond, Tried it again and it works perfectly!!!! Sorry for the inconvenience but I was scripting all morning and I had 'Show invisible objects' active on RR 2.7.4 on Mac OSX 10.4.11 when I opened your stack. greetings, William 2009/2/4 Richmond Mathewson > William de Smet scrieved: > > "on several cards the button doesn't > resize and the preset colors don't work either." > > As soon as I saw your posting I opened up the latest version, > i.e. the one I uploaded about 40 minutes ago, just before I went out > to buy some bread - despite my semi-divine status I still have to eat :) > > 1. on the G4 Mac: it worked; no problems with either > resize or preset colours (DreamCard 2.6.1), > > 1 and a half. on the G4 Mac: it worked; no problems with either > resize or preset colours (Metacard 2.6.6), > > 2. on the Ubuntu Pentium 4; it worked; no problems with either > resize or preset colours (Runtime Revolution 2.2.1), > > 3. on Windows XP inside VPC; it worked; no problems with either > resize or preset colours (Runtime Revolution 2.0.1), > Mind you, RR 2.0.1 didn't go for some of the other code in a big > way; but let's hope I'm the last person on the planet using a > version that ancient. > > So, I would be extremely grateful if you could download the latest > version/build and try it out; should there still be problems I would > be very grateful if you could let me know the following: > > 1. Your Operating System, > > 2. The version of RR and/or Metacard you tried the stack with. > > Bernd has now set the gradient sliders to a default of 75 (i.e. 75% > transparent); this means that on some displays the colours may be > a bit hard to see (c.f. my recent posting about middle-aged eyes). > > sincerely, Richmond Mathewson. > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development Life > Cycle. > ____________________________________________________________ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mazzapaolo at libero.it Wed Feb 4 08:33:08 2009 From: mazzapaolo at libero.it (mazzapaolo at libero.it) Date: Wed, 4 Feb 2009 14:33:08 +0100 (CET) Subject: Import temperature and switch on/off the heater with Rev Message-ID: <6972061.448161233754388808.JavaMail.defaultUser@defaultHost> Thank you all of you for the insights about serial interfaces. I will make some test and I will let you know. Now I am more confident to carry on my project. Best regards, Paolo From katheryn.swynford at gmail.com Wed Feb 4 08:35:54 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Wed, 4 Feb 2009 05:35:54 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: <90448951.05DF.4E3B.B156.5F2F938AE762@aol.com> References: <4be051070902032132i5b304106u5d5a83193bea4b87@mail.gmail.com> <90448951.05DF.4E3B.B156.5F2F938AE762@aol.com> Message-ID: <4be051070902040535g38d8342bv4528e4cd5b8dc54d@mail.gmail.com> Yeah, so I hear ;-) I was just on ChatRev with BvG the other day and referenced something else, and he immediately wrote back and said, "Now I know how old you are!" :-/ I'm not certain but I don't think it was a compliment! @;-) Regards, Judy http://revined.blogspot.com On Tue, Feb 3, 2009 at 9:43 PM, dunbarx wrote: > Judy. > > Makes you one of the oldsters, you know. > From geradamas at yahoo.com Wed Feb 4 08:38:26 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 05:38:26 -0800 (PST) Subject: Will only work with Macintosh systems Message-ID: <823931.78244.qm@web37508.mail.mud.yahoo.com> I like Barry Barber a lot; he resembles a Wittgensteinian philosopher; asking more questions than he answers - and I do not mean this in a facetious way, as development in any field can only come about with constant stimulus! Barry wrote: "The label "These buttons will only work with Macintosh systems" in card MORE GRADIENTS seems redundant; they all work excellently on XP-HE" I based that note on the Runtime Revolution 2.6.1 INK listing that places BLEND below a heading "Mac OS only". Poking around in version 3.0 I see that the term INK has been replaced with BLENDING and that all the possibilities now seem to be supported an all 3 dominant platforms. Therefore, I have uploaded "BUTTON BASHER.rev" again with the redundant notice removed: Thank you very much Barry. However, I have to admit it took me quite some time to work out what "XP-HE" meant; not being a very Windows-centric sort of chap. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From geradamas at yahoo.com Wed Feb 4 08:42:22 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 05:42:22 -0800 (PST) Subject: Button Basher Message-ID: <986848.25159.qm@web37506.mail.mud.yahoo.com> Dear William, glad to hear it was nothing particularly worrying. The whole of "Button Basher" relies heavily on invisible objects, so, one of the ways to understand what is going on inside it is to have 'Show invisible objects' active. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From geradamas at yahoo.com Wed Feb 4 09:07:13 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 06:07:13 -0800 (PST) Subject: Odd-shaped buttons . . . Message-ID: <714315.97828.qm@web37508.mail.mud.yahoo.com> One criticism that has been levelled against Runtime Revolution is that it seems to provide no way of making non-rectangular buttons. Of course one can make PGN and GIF images with transparent areas; but this doesn't really help if one wants to make (for instance) an interactive piece with adjacent, odd-shaped objects. Many years ago my boys had a Dorling-Kindersly CD with a map of the world, and, infantile chap that I am, I spent hours clicking extremely near to the boundaries of the respective borders of countries on the map: and, guess what, they were country-shaped buttons. That was in 1996 (!!!!!!), and the CD had been built with MacroMedia Authorware. Now, 12 years later, it might not be a bad idea if we could catch up with MacroMedia (well, at least in this respect) and find a way to produce odd-shaped buttons . . . Thoughts, Solutions (um?), Ideas . . . sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From geradamas at yahoo.com Wed Feb 4 09:18:23 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 06:18:23 -0800 (PST) Subject: Odd-shaped buttons . . . Message-ID: <406625.84842.qm@web37504.mail.mud.yahoo.com> Erm, thinking on my feet . . . This gets me wondering: http://www.mcli.dist.maricopa.edu/director/faq/sect/5_9.html Oh, well, going down the road to buy a dishwasher . . . and then start cutting holes in the plasterboard for the pipes: using, oddly enough, a machine that makes round holes (i.e. non-rectangular ones). sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From Andre.Bisseret at inria.fr Wed Feb 4 09:41:35 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 4 Feb 2009 15:41:35 +0100 Subject: How to test if a field does not contain anything else than returns or tab? In-Reply-To: References: Message-ID: <48E4BBD0-FCF5-4E3C-83A3-6AE10CD1F930@inria.fr> Hello Thanks to all who paid attention to my question Quite a nice number of ways (mainly variations around counting the number of words) best regards from Grenoble Andr? P.S. Once again I did not receive a couple of messages; those from Craig ; I saw they were sent thanks to the answers, and on the archives One more mystery of e-mail ? Le 3 f?vr. 09 ? 17:09, Hugh Senior a ?crit : > This assumes what you need is whether text is in the field... > > function isEmpty pFld > return (num of words of fld pFld = 0) > end isEmpty > > HTH > > /H > > > Bonjour, > > I need to test if a given list field in a stack contains some values > or if it is empty. > Well, by "empty" I mean that the field contains not any word or > number. But it happens that it may include carriage returns and/or > tabs. > In such cases : > field "thisField" is empty > return false. > > If there were only carriage returns, I could test if each line of the > field is empty; > indeed : > line x of fld "thisField" is empty > returns true if the only character in the line is cr > but returns false if there is at least one tab in the line. > > I just tried : > if last char of fld "thisField" is empty ;-)) > > that seems working well ! but a bit strange and might be not > reliable ? > > Is there a better trick ? > > Thanks for any idea > > Best regards from Grenoble > Andri > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From DunbarX at aol.com Wed Feb 4 10:10:06 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 4 Feb 2009 10:10:06 EST Subject: Import temperature and switch on/off the heater with Rev Message-ID: In a message dated 2/4/09 8:36:07 AM, katheryn.swynford at gmail.com writes: > I'm not certain but I don't think it was a compliment! > Of course it was a compliment. We have to stick together, you know. It is always possible to connect wires to a computer.The trick is to have fun doing so. The older gadgets had Applescript, Director, 4th Dimension and C support. But it was the HC XCMD's that everyone used. A Rev interface would be like old times. Judy, you aren't really upset? :-( Craig Newman ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad. doubleclick.net/clk;211531132;33070124;e) From DunbarX at aol.com Wed Feb 4 10:20:31 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 4 Feb 2009 10:20:31 EST Subject: Import temperature and switch on/off the heater with Rev Message-ID: In a message dated 2/4/09 12:56:19 AM, stephenREVOLUTION2 at barncard.com writes: > This company mentions apple drivers and Runtime Rev. They make USB I/O > Boxes > -- and even some stuff that works with fischertechnik kits.They've been > around for a while. > > http://www.bkohg.com/serviceusbplus_e.html > This gadget looks like the right stuff. Works basically like the others, and Rev is the front end. Have to try one. Thanks for the info. Craig Newman ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad. doubleclick.net/clk;211531132;33070124;e) From JimAultWins at yahoo.com Wed Feb 4 10:45:16 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 04 Feb 2009 07:45:16 -0800 Subject: renaming files In-Reply-To: <1e91b2b70902040105n6dbc134bl498f171274f1d20d@mail.gmail.com> Message-ID: Use the rename command, but you need to be careful. You should do a few checks as you go, such as if there is a file (tFullPathName) then rename tFullPathName to tNewFullPathName wait 20 milliseconds --for the hard drive task to finish if there is not a file (tNewFullPathName) then get "Ooops, the renaming could not be done as normal." get it & cr & "Check permissions or naming rules, or other" get it & cr & "original = " & tFullPathName get it & cr & "new name = " & tNewFullPathName answer it end if end if If you are using a networked drive that has longer latency, increase the 20 milliseconds to 50 or more, and keep testing to find the most successful timing. Finding a file usually involves recursion (such as WalkFolders) with a specific starting point rather than the entire hard drive. On a Mac you could use Applescript to tell the Finder to run a Spotlight search and then deal with the resulting list of found files and folders. You need to be specific about the find operation you want to do. Hope this helps. Jim Ault Las Vegas On 2/4/09 1:05 AM, "Nicolas Cueto" wrote: > Hello All, > > Being somewhat lazy here. > > What Rev commands would I use for > finding a specific local file and then > renaming that file? > > For example, Rev finds file: > > C:/FolderName/dog.jpg > > and then renames it as: > > C:/FolderName/001.jpg > > > Thanks. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Wed Feb 4 11:12:28 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 04 Feb 2009 08:12:28 -0800 Subject: SFTP and FTP and Mac OSX Leopard Message-ID: I am trying to outline the feasibility and drawbacks to using a Mac mini with a static IP located in a DMZ as an FTP server and/or an SFTP server. (The Mac mini is running both OSX 10.5 and Win XP Pro, but the XP Pro is not reachable from the outside) The main idea is to use SFTP with Rev as a client. The simplest would seem to be to use the built-in server software that is part of the Darwin install. I would like to spend a little time figuring out the details then publish something to the list that would be an over-view and a step-by-step. (perhaps a couple YouTube videos showing the process and Rev scripts) Is there good info I could study for doing this using Mac OSX 10.5 ? One issue would be which ephemeral ports to open to the DMZ. Jim Ault Las Vegas From devin_asay at byu.edu Wed Feb 4 11:40:40 2009 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 4 Feb 2009 09:40:40 -0700 Subject: Odd-shaped buttons . . . In-Reply-To: <714315.97828.qm@web37508.mail.mud.yahoo.com> References: <714315.97828.qm@web37508.mail.mud.yahoo.com> Message-ID: On Feb 4, 2009, at 7:07 AM, Richmond Mathewson wrote: > One criticism that has been levelled against Runtime Revolution > is that it seems to provide no way of making non-rectangular buttons. > > Of course one can make PGN and GIF images with transparent areas; > but this doesn't really help if one wants to make (for instance) an > interactive piece with adjacent, odd-shaped objects. > > Many years ago my boys had a Dorling-Kindersly CD with a map > of the world, and, infantile chap that I am, I spent hours > clicking extremely near to the boundaries of the respective > borders of countries on the map: and, guess what, they were > country-shaped buttons. That was in 1996 (!!!!!!), and the CD > had been built with MacroMedia Authorware. > > Now, 12 years later, it might not be a bad idea if we could catch > up with MacroMedia (well, at least in this respect) and find a way to > produce odd-shaped buttons . . . > > Thoughts, Solutions (um?), Ideas . . . Richmond, I had the same issue (exactly the same as it turns out) a couple of years back. I was making a demo matching exercise for my students in which they were to drag country names onto a map with the country outlines. It turns out that Rev can handle this beautifully! The key, I found after some searching, is to use the within() function, rather than the 'is within' operator, to do the boundary checking. As it turns out, 'is within' only considers the rectangle of the object, while within(), when applied to image objects, only returns true if the location you're checking is within a non-transparent area of the image. To see how my demo turned out, run the following in the message box: go stack URL "http://asay.byu.edu/MatchingExKey.rev" Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From geradamas at yahoo.com Wed Feb 4 11:42:40 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 08:42:40 -0800 (PST) Subject: Odd-shaped buttons . . . Message-ID: <134283.56430.qm@web37506.mail.mud.yahoo.com> Possibly this message should be subtitled "Richmond Eats Crow." Alternatively, I might be pointing out something that should have been pointed out a long time ago . . . Just put a stack together: "ODD BUTTONS.rev" - revOnline under 'Richmond' that shows that when either PNG or GIF images with areas of transparency are used, the transparent portion of them do not respond to mouse-clicks (and, presumably mouseEnter, mouseLeave, and so forth). That shows that it is perfectly possible to make the sort of maps I described in my earlier posting; as well as provide maps with multiple "hot spots" that aren't contiguous. So, is it me who is a fool, or is it that the documentation doesn't bother to point this out? Perhaps a bit of both. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From kray at sonsothunder.com Wed Feb 4 12:02:19 2009 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 04 Feb 2009 11:02:19 -0600 Subject: Another SQL question In-Reply-To: <9F8C473C-AB43-4EE6-9081-A7F6CA2EBBA7@twft.com> Message-ID: On 2/2/09 3:46 PM, "Bob Sneidar" wrote: > Wow! Not in my reference manual it's not. 11.2 is "Numeric Types". But > then I downloaded the PDF manual. Seems that it is either out of date > or not "exactly" correct. I also searched for IN() in the manual and > came up with squadouch. That's why I always use the online manual... http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html The other thing to note is that "IN" can be used both for checking for matching value in field(s) in another table with a "subselect", or even for a simple string comparison. For example, you can do this (this is admittedly a bad example because you don't need to do the subselect, but it's more FYI): SELECT * FROM People WHERE PhoneLink IN (SELECT RecID FROM Phones WHERE PhoneType='Fax') And you can also do this: SELECT * FROM Phones WHERE PhoneType IN ('Fax','Work','Home') etc. The reason I mention this, is that when I first went to look for this a while ago, I thought it would be under SELECT, but now I know better. :-) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From andre at andregarzia.com Wed Feb 4 12:11:40 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 15:11:40 -0200 Subject: He's a GENIUS! In-Reply-To: References: Message-ID: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> Bob, Thank you very much for the compliments. We've been in need of such tool for a long time, now we have it but there's still a lot of room for improvement. I've set up a page at http://andregarzia.com/revdoc where you can get the stack and keep updated with the news. I do want to save the world but I am not a millionaire, even though VISA tries to make me fell (and spend) like one. In the page there's a PayPal donation button, any amount is greatly appreciated (with this crisis the dollar sky rocketed here). :D Thanks for the kind words! andre On Fri, Jan 30, 2009 at 3:38 PM, Bob Sneidar wrote: > ANDRE! Your a freaking genius! Great job on the RevDOCS! I will use that one > for sure. Is there a way to send money for it or are you an eccentric > millionaire who just wants to save the world? > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Feb 4 12:13:44 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 15:13:44 -0200 Subject: Re-2: He's a GENIUS! In-Reply-To: <665591460902031606t9e5e1bds21679fcbe9e3f0a2@mail.gmail.com> References: <00034718.4988D456@the-office.us> <665591460902031606t9e5e1bds21679fcbe9e3f0a2@mail.gmail.com> Message-ID: <7c87a2a10902040913t46c66cbbi5531ca0e580fdb75@mail.gmail.com> Hello Chipp, Thanks for the kind words! I am working on a scheme to enable the use of exporters, this way, we'll be able to do plain text, html and whichever we may think about. cheers Andre On Tue, Feb 3, 2009 at 10:06 PM, Chipp Walters wrote: > Yes, a great idea and product! Kudos to Andre :-) > Andre, how hard would it be to add an option to output the whole thing as > txt? It would be good for adding to printout documentation. > > -C > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Feb 4 12:16:44 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 15:16:44 -0200 Subject: [ANN] RevDoc home page launched Message-ID: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> Hello Friends, For those that missed the last newsletter (you should not!), I've just released a handy tool to auto generate HTML documentation from stack comments. It is called RevDoc and it's freeware with source. Now, I'll begin polishing it and working on it so it becomes a reliable, solid product (which will always be free). Right now the code is a little messy for I built this for my own use but it works well. You can check the page at http://andregarzia.com/revdoc (RapidWeaver is so nice for building simple pages...) Cheers andre -- http://www.andregarzia.com All We Do Is Code. From janschenkel at yahoo.com Wed Feb 4 12:26:02 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 4 Feb 2009 09:26:02 -0800 (PST) Subject: He's a GENIUS! In-Reply-To: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> Message-ID: <730131.74600.qm@web65404.mail.ac4.yahoo.com> --- On Wed, 2/4/09, Andre Garzia wrote: > From: Andre Garzia > Subject: Re: He's a GENIUS! > To: "How to use Revolution" > Date: Wednesday, February 4, 2009, 9:11 AM > Bob, > > Thank you very much for the compliments. We've been in > need of such > tool for a long time, now we have it but there's still > a lot of room > for improvement. > > I've set up a page at http://andregarzia.com/revdoc > where you can get > the stack and keep updated with the news. > > I do want to save the world but I am not a millionaire, > even though > VISA tries to make me fell (and spend) like one. In the > page there's a > PayPal donation button, any amount is greatly appreciated > (with this > crisis the dollar sky rocketed here). > > :D > > Thanks for the kind words! > andre > Actually, this tool already existed; Monte Goulding made it back in 2003 and it can be downloaded from the aging Revolution developer section of his Sweat Technologies website: The problem in IT is that time seems to go in loops, and old ideas get reinvented every couple of years and rebranded as the Next Big Thing. Sometimes funny to see (remember the Network Computer as a Return of the Terminals?) but often a lot of duplicated effort. Mind you, I haven't had a chance yet to check out Andre's take on this - and his idea of multiple formatters to generate several types of documentation from the same source, is definitely something to look forward to - maybe even include an exporter for the Rev Interoperability Project? Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From chipp at chipp.com Wed Feb 4 12:30:47 2009 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Feb 2009 11:30:47 -0600 Subject: [ANN] RevDoc home page launched In-Reply-To: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> Message-ID: <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> Andre, http://andregarzia.com/RevDoc.rev gives me a corrupt file??? From chipp at chipp.com Wed Feb 4 12:32:36 2009 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Feb 2009 11:32:36 -0600 Subject: [ANN] RevDoc home page launched In-Reply-To: <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> Message-ID: <665591460902040932n27047765o10ec01f86d645f03@mail.gmail.com> Oh, I'm using Rev 3.0 released version. On Wed, Feb 4, 2009 at 11:30 AM, Chipp Walters wrote: > Andre, > http://andregarzia.com/RevDoc.rev > > gives me a corrupt file??? > > > From andre at andregarzia.com Wed Feb 4 12:35:29 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 15:35:29 -0200 Subject: He's a GENIUS! In-Reply-To: <730131.74600.qm@web65404.mail.ac4.yahoo.com> References: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> <730131.74600.qm@web65404.mail.ac4.yahoo.com> Message-ID: <7c87a2a10902040935sd6899bduc119af29ff12630e@mail.gmail.com> Jan, I missed that tool too... Just checked it, rather nice! Monte stacks are always fantastic. He uses javadoc constructs, I plan to use wikicreole. Anyway, the more tools the better. Although I think that to view the documentation, you need his tool, you can't generate something and ship with your library right? A graphical browser is a nice idea... Cheers and thanks for showing me that. andre On Wed, Feb 4, 2009 at 3:26 PM, Jan Schenkel wrote: > > --- On Wed, 2/4/09, Andre Garzia wrote: > >> From: Andre Garzia >> Subject: Re: He's a GENIUS! >> To: "How to use Revolution" >> Date: Wednesday, February 4, 2009, 9:11 AM >> Bob, >> >> Thank you very much for the compliments. We've been in >> need of such >> tool for a long time, now we have it but there's still >> a lot of room >> for improvement. >> >> I've set up a page at http://andregarzia.com/revdoc >> where you can get >> the stack and keep updated with the news. >> >> I do want to save the world but I am not a millionaire, >> even though >> VISA tries to make me fell (and spend) like one. In the >> page there's a >> PayPal donation button, any amount is greatly appreciated >> (with this >> crisis the dollar sky rocketed here). >> >> :D >> >> Thanks for the kind words! >> andre >> > > Actually, this tool already existed; Monte Goulding made it back in 2003 > > and it can be downloaded from the aging Revolution developer section of his Sweat Technologies website: > > > The problem in IT is that time seems to go in loops, and old ideas get reinvented every couple of years and rebranded as the Next Big Thing. Sometimes funny to see (remember the Network Computer as a Return of the Terminals?) but often a lot of duplicated effort. > > Mind you, I haven't had a chance yet to check out Andre's take on this - and his idea of multiple formatters to generate several types of documentation from the same source, is definitely something to look forward to - maybe even include an exporter for the Rev Interoperability Project? > > Jan Schenkel. > > > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Feb 4 12:37:07 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 15:37:07 -0200 Subject: [ANN] RevDoc home page launched In-Reply-To: <665591460902040932n27047765o10ec01f86d645f03@mail.gmail.com> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> <665591460902040932n27047765o10ec01f86d645f03@mail.gmail.com> Message-ID: <7c87a2a10902040937q76f0d20dsf32d4048c961abb1@mail.gmail.com> It is in the new stack file format. I use new constructs that I don't know if are available in 2.8.x... is this a problem, should I use old constructs and ship legacy? Any clue? andre On Wed, Feb 4, 2009 at 3:32 PM, Chipp Walters wrote: > Oh, I'm using Rev 3.0 released version. > > On Wed, Feb 4, 2009 at 11:30 AM, Chipp Walters wrote: > >> Andre, >> http://andregarzia.com/RevDoc.rev >> >> gives me a corrupt file??? >> >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From chipp at chipp.com Wed Feb 4 12:45:48 2009 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Feb 2009 11:45:48 -0600 Subject: [ANN] RevDoc home page launched In-Reply-To: <7c87a2a10902040937q76f0d20dsf32d4048c961abb1@mail.gmail.com> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> <665591460902040932n27047765o10ec01f86d645f03@mail.gmail.com> <7c87a2a10902040937q76f0d20dsf32d4048c961abb1@mail.gmail.com> Message-ID: <665591460902040945u7f2920b4m144a1c73a7821a1d@mail.gmail.com> Andre, as I said, I'm using Rev 3.0. Shouldn't have new constructs, should it? From andre at andregarzia.com Wed Feb 4 12:51:09 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 15:51:09 -0200 Subject: [ANN] RevDoc home page launched In-Reply-To: <665591460902040945u7f2920b4m144a1c73a7821a1d@mail.gmail.com> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> <665591460902040932n27047765o10ec01f86d645f03@mail.gmail.com> <7c87a2a10902040937q76f0d20dsf32d4048c961abb1@mail.gmail.com> <665591460902040945u7f2920b4m144a1c73a7821a1d@mail.gmail.com> Message-ID: <7c87a2a10902040951v7401688dq9daf86d356005613@mail.gmail.com> the ones I am using it should. My FTP is breaking the file on upload, I am trying to upload a new copy. damn. On Wed, Feb 4, 2009 at 3:45 PM, Chipp Walters wrote: > Andre, as I said, I'm using Rev 3.0. Shouldn't have new constructs, should > it? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From stephenREVOLUTION2 at barncard.com Wed Feb 4 12:51:10 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 4 Feb 2009 09:51:10 -0800 Subject: Odd-shaped buttons . . . In-Reply-To: References: <714315.97828.qm@web37508.mail.mud.yahoo.com> Message-ID: One can do the 'map thing' with rev, and it's not to hard. The 'Freehand polygon" can do this, and create an "state shaped" object that can be clicked on. It can be an invisible 'region' like a web click map, if you set the opaque to true and turn the blending to 100. 2009/2/4 Devin Asay > > On Feb 4, 2009, at 7:07 AM, Richmond Mathewson wrote: > > One criticism that has been levelled against Runtime Revolution >> is that it seems to provide no way of making non-rectangular buttons. >> >> Of course one can make PGN and GIF images with transparent areas; >> but this doesn't really help if one wants to make (for instance) an >> interactive piece with adjacent, odd-shaped objects. >> >> Many years ago my boys had a Dorling-Kindersly CD with a map >> of the world, and, infantile chap that I am, I spent hours >> clicking extremely near to the boundaries of the respective >> borders of countries on the map: and, guess what, they were >> country-shaped buttons. That was in 1996 (!!!!!!), and the CD >> had been built with MacroMedia Authorware. >> >> Now, 12 years later, it might not be a bad idea if we could catch >> up with MacroMedia (well, at least in this respect) and find a way to >> produce odd-shaped buttons . . . >> >> Thoughts, Solutions (um?), Ideas . . . >> > > Richmond, > > I had the same issue (exactly the same as it turns out) a couple of years > back. I was making a demo matching exercise for my students in which they > were to drag country names onto a map with the country outlines. It turns > out that Rev can handle this beautifully! The key, I found after some > searching, is to use the within() function, rather than the 'is within' > operator, to do the boundary checking. As it turns out, 'is within' only > considers the rectangle of the object, while within(), when applied to image > objects, only returns true if the location you're checking is within a > non-transparent area of the image. > > To see how my demo turned out, run the following in the message box: > > go stack URL "http://asay.byu.edu/MatchingExKey.rev" > > Regards, > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard ------------------------- San Francisco From klaus at major-k.de Wed Feb 4 12:51:29 2009 From: klaus at major-k.de (Klaus Major) Date: Wed, 4 Feb 2009 18:51:29 +0100 Subject: [ANN] RevDoc home page launched In-Reply-To: <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> Message-ID: <79B7DB38-D553-4212-A6FA-F8F9A7FE48A9@major-k.de> Hi Chipp and all, > Andre, > http://andregarzia.com/RevDoc.rev > > gives me a corrupt file??? guys, you are spoiled! Believe it or not, this is infact a REAL website URL and no online stack :-D Point your browser to: http://andregarzia.com/revdoc/ Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Wed Feb 4 12:54:29 2009 From: klaus at major-k.de (Klaus Major) Date: Wed, 4 Feb 2009 18:54:29 +0100 Subject: [ANN] RevDoc home page launched In-Reply-To: <79B7DB38-D553-4212-A6FA-F8F9A7FE48A9@major-k.de> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> <79B7DB38-D553-4212-A6FA-F8F9A7FE48A9@major-k.de> Message-ID: <8FC0DD07-E43A-4C20-8191-F4F1C0A9293B@major-k.de> Hi all, > Hi Chipp and all, > >> Andre, >> http://andregarzia.com/RevDoc.rev >> >> >> gives me a corrupt file??? > > guys, you are spoiled! > > Believe it or not, this is infact a REAL website URL and no online > stack :-D > > Point your browser to: > http://andregarzia.com/revdoc/ DAMN! So embarrassing! Sorry, I mixed this up somehow... Of course that is an online stack: http://andregarzia.com/RevDoc.rev And this is the website: http://andregarzia.com/revdoc/ Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From kray at sonsothunder.com Wed Feb 4 13:00:30 2009 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 04 Feb 2009 12:00:30 -0600 Subject: How to test if a field does not contain anything else than returns or tab? In-Reply-To: <48E4BBD0-FCF5-4E3C-83A3-6AE10CD1F930@inria.fr> Message-ID: On 2/4/09 8:41 AM, "Andre.Bisseret" wrote: > Hello > Thanks to all who paid attention to my question > Quite a nice number of ways (mainly variations around counting the > number of words) BTW, just for 100% clairty, none of these "word-based" approaches work if there is a non-breaking space (  or  ) in the field. Admittedly, the possibility of this happening is extremely low, but to be on the safe side, this is "trim" function I use: function trim what if the platform is "MacOS" then replace numToChar(202) with " " in what else replace numToChar(160) with " " in what end if return (word 1 to -1 of what) end trim So for testing an empty field, it would be: if trim(fld 1) = "" then HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From andre at andregarzia.com Wed Feb 4 13:07:17 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 16:07:17 -0200 Subject: [ANN] RevDoc home page launched In-Reply-To: <8FC0DD07-E43A-4C20-8191-F4F1C0A9293B@major-k.de> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> <79B7DB38-D553-4212-A6FA-F8F9A7FE48A9@major-k.de> <8FC0DD07-E43A-4C20-8191-F4F1C0A9293B@major-k.de> Message-ID: <7c87a2a10902041007t2042e650gf1ab5e5d184e578@mail.gmail.com> does anyone here knows what corrupts a stack? I tried opening from disk here using all versions of Rev, it always open, as soon as I transfer it to the server it breaks!!! ARRRGGHHHHH still trying, will try a compressed stack. On Wed, Feb 4, 2009 at 3:54 PM, Klaus Major wrote: > Hi all, > >> Hi Chipp and all, >> >>> Andre, >>> http://andregarzia.com/RevDoc.rev >>> >>> >>> gives me a corrupt file??? >> >> guys, you are spoiled! >> >> Believe it or not, this is infact a REAL website URL and no online stack >> :-D >> >> Point your browser to: >> http://andregarzia.com/revdoc/ > > DAMN! So embarrassing! > Sorry, I mixed this up somehow... > > Of course that is an online stack: > http://andregarzia.com/RevDoc.rev > > And this is the website: > http://andregarzia.com/revdoc/ > > > Best > > Klaus > > -- > Klaus Major > klaus at major-k.de > http://www.major-k.de > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From kray at sonsothunder.com Wed Feb 4 13:09:45 2009 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 04 Feb 2009 12:09:45 -0600 Subject: renaming files In-Reply-To: Message-ID: On 2/4/09 9:45 AM, "Jim Ault" wrote: > Use the rename command, but you need to be careful. > > You should do a few checks as you go, such as > > > if there is a file (tFullPathName) then > rename tFullPathName to tNewFullPathName > wait 20 milliseconds --for the hard drive task to finish > if there is not a file (tNewFullPathName) then Doesn't the rename command return an error in the result if it can't do the renaming? Or am I misremembering this... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From andre at andregarzia.com Wed Feb 4 13:11:58 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 16:11:58 -0200 Subject: workaround for corrupt stack was (Re: [ANN] RevDoc home page launched) Message-ID: <7c87a2a10902041011m6d212cc8t745290b592f33726@mail.gmail.com> Friends, sorry for the corrupt stack. Somehow something is corrupting the stack in the server. Compressed stack appears to be working. Can anybody try that on the message box: go stack the decompress of url "http://andregarzia.com/RevDoc.rev.gz" and give me feedback? Thanks in advance andre On Wed, Feb 4, 2009 at 4:07 PM, Andre Garzia wrote: > does anyone here knows what corrupts a stack? I tried opening from > disk here using all versions of Rev, it always open, as soon as I > transfer it to the server it breaks!!! ARRRGGHHHHH > > still trying, will try a compressed stack. > > On Wed, Feb 4, 2009 at 3:54 PM, Klaus Major wrote: >> Hi all, >> >>> Hi Chipp and all, >>> >>>> Andre, >>>> http://andregarzia.com/RevDoc.rev >>>> >>>> >>>> gives me a corrupt file??? >>> >>> guys, you are spoiled! >>> >>> Believe it or not, this is infact a REAL website URL and no online stack >>> :-D >>> >>> Point your browser to: >>> http://andregarzia.com/revdoc/ >> >> DAMN! So embarrassing! >> Sorry, I mixed this up somehow... >> >> Of course that is an online stack: >> http://andregarzia.com/RevDoc.rev >> >> And this is the website: >> http://andregarzia.com/revdoc/ >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> klaus at major-k.de >> http://www.major-k.de >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Wed Feb 4 13:15:29 2009 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Feb 2009 10:15:29 -0800 Subject: Another SQL question In-Reply-To: References: <49845EAA.4070405@crcom.net> <3AA0428C-C05B-4F7F-BEF3-6F17E9C3E3DC@twft.com> <9F8C473C-AB43-4EE6-9081-A7F6CA2EBBA7@twft.com> Message-ID: <48A087A6-1E87-43DB-B3A4-8546DC16B77C@twft.com> Oh ic. Thanks for that insight. I was wondering how to get rid of the "useless hits" I get all the time. That will help alot. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 4, 2009, at 3:19 AM, Kay C Lan wrote: > On Tue, Feb 3, 2009 at 5:46 AM, Bob Sneidar wrote: > >> Wow! Not in my reference manual it's not. 11.2 is "Numeric Types". >> But then >> I downloaded the PDF manual. Seems that it is either out of date or >> not >> "exactly" correct. I also searched for IN() in the manual and came >> up with >> squadouch. > > > In my 5.0.4 pdf version it appears on page 591 under Chap 12 > Functions and > Operators, 12.1.3 Comparison Functions. > > The entry is: > > expr IN (value,...) > > If you are using Preview on OSX you need to type the above in quotes > into > the search field and uncheck the box "Group by Section", otherwise, > without > quotes you'll get a bunch of useless hits, and if you leave the > Group by > section box ticked, it will take you to page one of Section 12.1.3 > which is > not where the info you're looking for is at. > > Also typing " in()" into the search field, noting the space before > the i, > quoting the selection and unchecking Group by section, yields half a > dozen > results of which the first 3 are useful and the last 3 are just > references > to bug fixes to IN() > > HTH > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From devin_asay at byu.edu Wed Feb 4 13:24:43 2009 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 4 Feb 2009 11:24:43 -0700 Subject: workaround for corrupt stack was (Re: [ANN] RevDoc home page launched) In-Reply-To: <7c87a2a10902041011m6d212cc8t745290b592f33726@mail.gmail.com> References: <7c87a2a10902041011m6d212cc8t745290b592f33726@mail.gmail.com> Message-ID: <5ED60832-A11B-46FE-BB1A-A696AD51CE36@byu.edu> On Feb 4, 2009, at 11:11 AM, Andre Garzia wrote: > Friends, > > sorry for the corrupt stack. Somehow something is corrupting the stack > in the server. Compressed stack appears to be working. Can anybody try > that on the message box: > > go stack the decompress of url "http://andregarzia.com/RevDoc.rev.gz" > > and give me feedback? Works perfectly here on Rev 3.X, Intel iMac 10.5.6. Devin Asay Humanities Technology and Research Support Center Brigham Young University From andre at andregarzia.com Wed Feb 4 13:25:38 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 16:25:38 -0200 Subject: very interesting bug about serving stacks... Re: [ANN] RevDoc home page launched Message-ID: <7c87a2a10902041025y2945dacax5161954c4d4a34fc@mail.gmail.com> Friends, I've fixed this. For those that are not following this thread, there was a trouble serving RevDoc.rev that started today and was very hard to trace. The stack was in perfect shape on disk but when transfered thru the web server, it would corrupt. At a time, no solid explanation was obvious and I was bordering despair and blaming Revolution Engine for it. Well, it was not revolution fault. I did what I always do when servers play tricks on me, I launched telnet and tried to see what the server was actually sending. RevDoc uses HTML templates that are inside custom properties, I noticed that inside those HTML there was new code added during the apache transfer!!!! I use a google analytics module that is supposed to add the analytics code to all html transfered automatically, well the stupid thing is adding the google code to my custom props on the fly and breaking things. I sees the body tag flying around and overwrites it. I've disabled the module and now things are loading fine. Sorry for this disturbance, I never thought something could see inside my custom props while they are being transfered (and try to modify them)... ARGH!!!!! Problem resolved, sorry for the inconvenience. Andre On Wed, Feb 4, 2009 at 4:07 PM, Andre Garzia wrote: > does anyone here knows what corrupts a stack? I tried opening from > disk here using all versions of Rev, it always open, as soon as I > transfer it to the server it breaks!!! ARRRGGHHHHH > > still trying, will try a compressed stack. > > On Wed, Feb 4, 2009 at 3:54 PM, Klaus Major wrote: >> Hi all, >> >>> Hi Chipp and all, >>> >>>> Andre, >>>> http://andregarzia.com/RevDoc.rev >>>> >>>> >>>> gives me a corrupt file??? >>> >>> guys, you are spoiled! >>> >>> Believe it or not, this is infact a REAL website URL and no online stack >>> :-D >>> >>> Point your browser to: >>> http://andregarzia.com/revdoc/ >> >> DAMN! So embarrassing! >> Sorry, I mixed this up somehow... >> >> Of course that is an online stack: >> http://andregarzia.com/RevDoc.rev >> >> And this is the website: >> http://andregarzia.com/revdoc/ >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> klaus at major-k.de >> http://www.major-k.de >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Feb 4 13:26:33 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 16:26:33 -0200 Subject: workaround for corrupt stack was (Re: [ANN] RevDoc home page launched) In-Reply-To: <5ED60832-A11B-46FE-BB1A-A696AD51CE36@byu.edu> References: <7c87a2a10902041011m6d212cc8t745290b592f33726@mail.gmail.com> <5ED60832-A11B-46FE-BB1A-A696AD51CE36@byu.edu> Message-ID: <7c87a2a10902041026s6f5affe1j48a22ab68291f898@mail.gmail.com> Dave, I found the error, apache is changing the stack on the fly, inserting google analytics code to the body tag inside the custom prop while the thing is transfered. Argh andre On Wed, Feb 4, 2009 at 4:24 PM, Devin Asay wrote: > > On Feb 4, 2009, at 11:11 AM, Andre Garzia wrote: > >> Friends, >> >> sorry for the corrupt stack. Somehow something is corrupting the stack >> in the server. Compressed stack appears to be working. Can anybody try >> that on the message box: >> >> go stack the decompress of url "http://andregarzia.com/RevDoc.rev.gz" >> >> and give me feedback? > > Works perfectly here on Rev 3.X, Intel iMac 10.5.6. > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From stephenREVOLUTION2 at barncard.com Wed Feb 4 13:29:16 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 4 Feb 2009 10:29:16 -0800 Subject: workaround for corrupt stack was (Re: [ANN] RevDoc home page launched) In-Reply-To: <7c87a2a10902041011m6d212cc8t745290b592f33726@mail.gmail.com> References: <7c87a2a10902041011m6d212cc8t745290b592f33726@mail.gmail.com> Message-ID: Hi Andre, Got the stack this time. Obviously your server isn't making the TEXT/binary switch. should the aag in front of the name be there? Also I started to use, but it apparently looks at the TITLE of the topstack, not it's NAME. I don't think one can address a stack by its title. Can't get it to work yet. sqb 2009/2/4 Andre Garzia > Friends, > > sorry for the corrupt stack. Somehow something is corrupting the stack > in the server. Compressed stack appears to be working. Can anybody try > that on the message box: > > go stack the decompress of url "http://andregarzia.com/RevDoc.rev.gz" > > and give me feedback? > > Thanks in advance > andre > > On Wed, Feb 4, 2009 at 4:07 PM, Andre Garzia > wrote: > > does anyone here knows what corrupts a stack? I tried opening from > > disk here using all versions of Rev, it always open, as soon as I > > transfer it to the server it breaks!!! ARRRGGHHHHH > > > > still trying, will try a compressed stack. > > > > On Wed, Feb 4, 2009 at 3:54 PM, Klaus Major wrote: > >> Hi all, > >> > >>> Hi Chipp and all, > >>> > >>>> Andre, > >>>> http://andregarzia.com/RevDoc.rev > >>>> > >>>> > >>>> gives me a corrupt file??? > >>> > >>> guys, you are spoiled! > >>> > >>> Believe it or not, this is infact a REAL website URL and no online > stack > >>> :-D > >>> > >>> Point your browser to: > >>> http://andregarzia.com/revdoc/ > >> > >> DAMN! So embarrassing! > >> Sorry, I mixed this up somehow... > >> > >> Of course that is an online stack: > >> http://andregarzia.com/RevDoc.rev > >> > >> And this is the website: > >> http://andregarzia.com/revdoc/ > >> > >> > >> Best > >> > >> Klaus > >> > >> -- > >> Klaus Major > >> klaus at major-k.de > >> http://www.major-k.de > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard ------------------------- San Francisco From andre at andregarzia.com Wed Feb 4 13:31:31 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 16:31:31 -0200 Subject: workaround for corrupt stack was (Re: [ANN] RevDoc home page launched) In-Reply-To: References: <7c87a2a10902041011m6d212cc8t745290b592f33726@mail.gmail.com> Message-ID: <7c87a2a10902041031x50b4c5f9ra32fd88d939a8eb6@mail.gmail.com> stephen, the aag should be there or the Rev IDE will think it is an IDE stack and all hell will break loose. I don't understand this bit about the title or name, I coded it to use the long id if I remembered it correctly. I'll check it here and get back to you soon. andre On Wed, Feb 4, 2009 at 4:29 PM, stephen barncard wrote: > Hi Andre, > > Got the stack this time. Obviously your server isn't making the TEXT/binary > switch. > > should the aag in front of the name be there? > Also I started to use, but it apparently looks at the TITLE of the topstack, > not it's NAME. I don't think one can address a stack by its title. > > Can't get it to work yet. > > sqb > > 2009/2/4 Andre Garzia > >> Friends, >> >> sorry for the corrupt stack. Somehow something is corrupting the stack >> in the server. Compressed stack appears to be working. Can anybody try >> that on the message box: >> >> go stack the decompress of url "http://andregarzia.com/RevDoc.rev.gz" >> >> and give me feedback? >> >> Thanks in advance >> andre >> >> On Wed, Feb 4, 2009 at 4:07 PM, Andre Garzia >> wrote: >> > does anyone here knows what corrupts a stack? I tried opening from >> > disk here using all versions of Rev, it always open, as soon as I >> > transfer it to the server it breaks!!! ARRRGGHHHHH >> > >> > still trying, will try a compressed stack. >> > >> > On Wed, Feb 4, 2009 at 3:54 PM, Klaus Major wrote: >> >> Hi all, >> >> >> >>> Hi Chipp and all, >> >>> >> >>>> Andre, >> >>>> http://andregarzia.com/RevDoc.rev >> >>>> >> >>>> >> >>>> gives me a corrupt file??? >> >>> >> >>> guys, you are spoiled! >> >>> >> >>> Believe it or not, this is infact a REAL website URL and no online >> stack >> >>> :-D >> >>> >> >>> Point your browser to: >> >>> http://andregarzia.com/revdoc/ >> >> >> >> DAMN! So embarrassing! >> >> Sorry, I mixed this up somehow... >> >> >> >> Of course that is an online stack: >> >> http://andregarzia.com/RevDoc.rev >> >> >> >> And this is the website: >> >> http://andregarzia.com/revdoc/ >> >> >> >> >> >> Best >> >> >> >> Klaus >> >> >> >> -- >> >> Klaus Major >> >> klaus at major-k.de >> >> http://www.major-k.de >> >> _______________________________________________ >> >> use-revolution mailing list >> >> use-revolution at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> >> preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > >> > >> > >> > -- >> > http://www.andregarzia.com All We Do Is Code. >> > >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > Stephen Barncard > ------------------------- > San Francisco > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jacque at hyperactivesw.com Wed Feb 4 13:39:58 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Feb 2009 12:39:58 -0600 Subject: Odd-shaped buttons . . . In-Reply-To: <714315.97828.qm@web37508.mail.mud.yahoo.com> References: <714315.97828.qm@web37508.mail.mud.yahoo.com> Message-ID: <4989E0FE.1040809@hyperactivesw.com> Richmond Mathewson wrote: > One criticism that has been levelled against Runtime Revolution > is that it seems to provide no way of making non-rectangular buttons. "Buttons" don't have to be buttons; any object can act like a button and have a script. In Rev, if you want non-rectangular buttons, just use an opaque graphic object with the appropriate points set. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Feb 4 14:33:23 2009 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Feb 2009 11:33:23 -0800 Subject: Another SQL question In-Reply-To: References: Message-ID: Ken this is exactly what I am looking for. I was parsing the lookup key for departments from the employee cursor into a text string, and then using that as a lookup for my department records, so that I ended up with a cursor of department records that had matching values in the employee cursor. That way I can get the department description and the manager etc. right from the department table without replicating data. The idea is to be able to page through large data sets by setting a limit on the number of records I return in the parent cursor, and then only return records in the "relational" cursors whose keys match the parent. I don't want to use the SQL relational system, because frankly writing rev code to build highly complex queries to return data from multiple tables into one cursor on the fly is more trouble than I want to deal with. I wish there was a way in SQL to set up linked cursors for relations, but alas it is what it is. So I am building into my application a more "traditional" approach to relations, where I return separate cursors for every child table, and then have a navigation function that looks up the records in the child tables each time I navigate to a new record in the parent table. It may seem a more complex way to do things, but the advantage is the queries for each table are quite simple, and the mechanics for what data gets returned are mostly under Rev code and not a long and highly complex SQL statement. Think of what this would mean for an invoicing app that would only return invoice detail for the current invoice in a separate table that could be presented to the user as a list. So using your method, my queries for a table of 25 employees with the associated departments data would look something like this: -- employee data put "SELECT employees.deptid FROM employees LIMIT 25" into mEmployeeQuery -- department data put "SELECT * FROM departments WHERE departments.deptid IN (" & mEmployeeQuery & ")" into mDepartmentQuery -- color added just because I can :-) In this example I use as my subselection the exact same query I used for the parent table. That would ensure that the children ALWAYS contained the records in the parent cursor no matter how I paged my data. When I am done with this, I will have more than just an employee database or an inventory system. I will have a Revolution database app builder. Every card represents a table in the SQL database you connect to. I have a "Field Dropper" stack that will read the SQL database and present the user with columns for each table. It will then create a field on a card for any selected columns with everything it needs to work with the database app. If you drop a field from a table other than the one for the card you are working with, it allows you to select a column from the parent. It then sets up the relation in a custom card property, and configures the field as a related table field. Whenever I enter a card or navigate to another record I call a function that reads the relations and queries (or requeries as necessary) all the tables in the relations property for the card. I have record and table locking and update checks already built in so I never overwrite another user's updates if they got to the record first. I have it reading and writing to the database now. I just need to add search functions and field validation functions and away I go. Thanks a bunch to everyone for their help. I will post a version as soon as it becomes functional enough to use without any major bugs. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 4, 2009, at 9:02 AM, Ken Ray wrote: > The other thing to note is that "IN" can be used both for checking for > matching value in field(s) in another table with a "subselect", or > even for > a simple string comparison. > > For example, you can do this (this is admittedly a bad example > because you > don't need to do the subselect, but it's more FYI): > > SELECT * FROM People WHERE PhoneLink IN > (SELECT RecID FROM Phones WHERE PhoneType='Fax') > > And you can also do this: > > SELECT * FROM Phones WHERE PhoneType IN ('Fax','Work','Home') > > etc. > > The reason I mention this, is that when I first went to look for > this a > while ago, I thought it would be under SELECT, but now I know better. > > :-) > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ From geradamas at yahoo.com Wed Feb 4 14:33:36 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 11:33:36 -0800 (PST) Subject: Odd-shaped buttons . . . Message-ID: <792335.61580.qm@web37501.mail.mud.yahoo.com> J. Landman Gay wrote: "just use an opaque graphic object with the appropriate points set." Can you explain what you mean by "with the appropriate points set" ? sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From bobs at twft.com Wed Feb 4 14:34:27 2009 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Feb 2009 11:34:27 -0800 Subject: He's a GENIUS! In-Reply-To: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> References: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> Message-ID: <727547D3-C2BF-455E-A51E-EB537EBDDB25@twft.com> Will do Andre! Off to paypal now. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 4, 2009, at 9:11 AM, Andre Garzia wrote: > Bob, > > Thank you very much for the compliments. We've been in need of such > tool for a long time, now we have it but there's still a lot of room > for improvement. > > I've set up a page at http://andregarzia.com/revdoc where you can get > the stack and keep updated with the news. > > I do want to save the world but I am not a millionaire, even though > VISA tries to make me fell (and spend) like one. In the page there's a > PayPal donation button, any amount is greatly appreciated (with this > crisis the dollar sky rocketed here). > > :D > > Thanks for the kind words! > andre > > On Fri, Jan 30, 2009 at 3:38 PM, Bob Sneidar > wrote: >> ANDRE! Your a freaking genius! Great job on the RevDOCS! I will use >> that one >> for sure. Is there a way to send money for it or are you an eccentric >> millionaire who just wants to save the world? >> >> Bob Sneidar >> IT Manager >> Logos Management >> Calvary Chapel CM >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Wed Feb 4 14:37:37 2009 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Feb 2009 11:37:37 -0800 Subject: He's a GENIUS! In-Reply-To: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> References: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> Message-ID: <9FAACC15-1C35-4906-B81D-4271145D705A@twft.com> Andre, The DONATE TO REVDOC link is just text! There is no link there to paypal anywhere on the page that I saw. That might explain why no one has donated anything yet! DOH! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 4, 2009, at 9:11 AM, Andre Garzia wrote: > Bob, > > Thank you very much for the compliments. We've been in need of such > tool for a long time, now we have it but there's still a lot of room > for improvement. > > I've set up a page at http://andregarzia.com/revdoc where you can get > the stack and keep updated with the news. > > I do want to save the world but I am not a millionaire, even though > VISA tries to make me fell (and spend) like one. In the page there's a > PayPal donation button, any amount is greatly appreciated (with this > crisis the dollar sky rocketed here). > > :D > > Thanks for the kind words! > andre > > On Fri, Jan 30, 2009 at 3:38 PM, Bob Sneidar > wrote: >> ANDRE! Your a freaking genius! Great job on the RevDOCS! I will use >> that one >> for sure. Is there a way to send money for it or are you an eccentric >> millionaire who just wants to save the world? >> >> Bob Sneidar >> IT Manager >> Logos Management >> Calvary Chapel CM >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Feb 4 14:45:43 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Feb 2009 13:45:43 -0600 Subject: Odd-shaped buttons . . . In-Reply-To: <792335.61580.qm@web37501.mail.mud.yahoo.com> References: <792335.61580.qm@web37501.mail.mud.yahoo.com> Message-ID: <4989F067.6020905@hyperactivesw.com> Richmond Mathewson wrote: > J. Landman Gay wrote: > > "just use an opaque graphic object with the appropriate points set." > > Can you explain what you mean by "with the appropriate points set" ? I just meant that the graphic needs to be the correct shape for what it should represent (the "points" of a graphic determine its shape.) If you use the polygon tool, the points will be set for you automatically. Just draw the shape you want with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Wed Feb 4 14:51:11 2009 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Feb 2009 13:51:11 -0600 Subject: Odd-shaped buttons . . . In-Reply-To: <4989E0FE.1040809@hyperactivesw.com> References: <714315.97828.qm@web37508.mail.mud.yahoo.com> <4989E0FE.1040809@hyperactivesw.com> Message-ID: <665591460902041151i2511e1a8hbd9585e1aba4c2@mail.gmail.com> ButtonGadget has been making different shaped buttons for Rev for years. www.buttongadget.com From geradamas at yahoo.com Wed Feb 4 15:18:01 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 12:18:01 -0800 (PST) Subject: Odd-shaped buttons . . . Message-ID: <396209.75749.qm@web37503.mail.mud.yahoo.com> Chipp Walters wrote: "ButtonGadget has been making different shaped buttons for Rev for years." Yes, I know; but I have no money! And, I am on a never-ending quest for a cheap (preferably FREE) solution to what I regard as everyday problems in Runtime Revolution. I also suppose, the good folks who make ButtonGadget would not be overly pleased if I took their stuff apart (i.e. reverse engineering) and ripped them off - quite apart from an awkward feeling that I have that may not be terribly moral. J. Landman Gay wrote: "Just draw the shape you want with it." Um, I've never been a great fan of the graphic tools contained within Runtime Revolution. However, as I have just found out: "ODD BUTTONS.rev" at revOnline, any old GIF or PNG with transparent bits behaves perfectly well as an odd-shaped button - I made mine in GIMP. What "threw me off balance" was what you said about 'points', nothing else. What i should like to do is make a stack rather like my recent "BUTTON BASHER.rev" that can do the same sort of work for rather predictable buttons that are non-rectangular: such as circles, ellipses, and polygons. However, Button Basher relies on EXPORT SNAPSHOT which has two disadvantages: 1. A snapshot is always rectangular. 2. It never contains transparent areas. Now I am well aware I can set up scaleable circles, ellipses and so on: but the main problem is how to combine those with button texts (that are also adjustable) and then export the end-result as a GIF or PNG image. I had a look at an early version of ButtonGadget and admire it greatly, and do not really wish to compete with it in terms of all those delicious glassy buttons and so on. What I do think is fantastic is how the developers seem to manage to get around the problem I have just described. Hey-Ho: lots of coffee and not enough sleep for me :) sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From ambassador at fourthworld.com Wed Feb 4 15:28:02 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Feb 2009 12:28:02 -0800 Subject: SFTP and FTP and Mac OSX Leopard Message-ID: <4989FA52.9080709@fourthworld.com> Jim Ault wrote: > I am trying to outline the feasibility and drawbacks to using a Mac mini > with a static IP located in a DMZ as an FTP server and/or an SFTP server. > (The Mac mini is running both OSX 10.5 and Win XP Pro, but the XP Pro is > not reachable from the outside) > > The main idea is to use SFTP with Rev as a client. > > The simplest would seem to be to use the built-in server software that is > part of the Darwin install. > > I would like to spend a little time figuring out the details then publish > something to the list that would be an over-view and a step-by-step. > (perhaps a couple YouTube videos showing the process and Rev scripts) Please do share what you find. With 110 votes for Secure FTP at the RQCC the info would be quite valuable here. Request for Secure FTP -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From monte at sweattechnologies.com Wed Feb 4 16:11:38 2009 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 5 Feb 2009 08:11:38 +1100 Subject: He's a GENIUS! In-Reply-To: <7c87a2a10902040935sd6899bduc119af29ff12630e@mail.gmail.com> References: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> <730131.74600.qm@web65404.mail.ac4.yahoo.com> <7c87a2a10902040935sd6899bduc119af29ff12630e@mail.gmail.com> Message-ID: <5513E4F7-AB01-4F59-9D5A-C60E0DF1790D@sweattechnologies.com> > Hi Andre Luckily I just happened to be skim reading the list today and saw my name ;-) > I missed that tool too... Just checked it, rather nice! Monte stacks > are always fantastic. He uses javadoc constructs, I plan to use > wikicreole. Anyway, the more tools the better. Although I think that > to view the documentation, you need his tool, you can't generate > something and ship with your library right? A graphical browser is a > nice idea... I couldn't even remember the stack and had to go look at my own site! If that or any other stack on my site can be of help to you then please pull it apart and use whatever you need. That site is very old. Unfortunately to develop things like that you need spare time and I haven't had any since Georgia was born! Now we've got the crazy idea to build a strawbale house in southern Tasmania. So even less spare time. Our blog is at fangornfarm.com for anyone interested. Cheers Monte From userevolution at dreamscapesoftware.com Wed Feb 4 16:26:35 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Wed, 04 Feb 2009 15:26:35 -0600 Subject: Fixing XCode Errors while building rnaEffect External Message-ID: <498A080B.4090902@dreamscapesoftware.com> I've been trying to move over to the Mac side with my externals and I'm starting from the ground up. I began by building the example externals that Mark Waddingham had put together for the tutorials via the newsletter. The problem is that I am running XCode 3.1.2 on Mac OS X 10.5.6, and I can't seem to get the Universal version of the rnaEffect external to compile. I keep getting 3 compiler errors originating from the variable.cpp file, and it only happens when I compile in Debug, Release or Release x86-32. The error is the same and affects 3 lines. An example of the error is... /rnaeffect/variable.cpp:159: error: invalid conversion from 'const char*' to 'char*' The code in question is: void Variable::SetStringElement(const char *p_key, const std::string& p_string) { ExternalString t_ex_string; t_ex_string . buffer = p_string . data(); // Error t_ex_string . length = p_string . length(); SetRawStringElement(p_key, t_ex_string); } void Variable::SetCStringElement(const char *p_key, const char *p_cstring) { ExternalString t_ex_string; t_ex_string . buffer = p_cstring; // Error t_ex_string . length = strlen(p_cstring); SetRawStringElement(p_key, t_ex_string); } void Variable::SetRawBufferElement(const char *p_key, const void *p_buffer, unsigned int p_length) { ExternalString t_raw_string; t_raw_string . buffer = (const char *)p_buffer; // Error t_raw_string . length = p_length; SetRawStringElement(p_key, t_raw_string); } Does anyone have any idea on how to resolve these errors? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ From viktoras at ekoinf.net Wed Feb 4 16:26:54 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Wed, 04 Feb 2009 23:26:54 +0200 Subject: Another SQL question In-Reply-To: References: Message-ID: <498A081E.8010506@ekoinf.net> Hi Bob, no need to write complex queries in rev, create view and then write simple query for the view :-) all the best Viktoras Bob Sneidar wrote: > The idea is to be able to page through large data sets by setting a > limit on the number of records I return in the parent cursor, and then > only return records in the "relational" cursors whose keys match the > parent. I don't want to use the SQL relational system, because frankly > writing rev code to build highly complex queries to return data from > multiple tables into one cursor on the fly is more trouble than I want > to deal with. I wish there was a way in SQL to set up linked cursors > for relations, but alas it is what it is. > From sanke at hrz.uni-kassel.de Wed Feb 4 16:29:07 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 04 Feb 2009 22:29:07 +0100 Subject: Odd-shaped buttons . . . Message-ID: <498A08A3.8010208@hrz.uni-kassel.de> On Wed Feb 4, 2009, Richmond Mathewson geradamas at yahoo.com wrote: > J. Landman Gay wrote: > >> "Just draw the shape you want with it." > > Um, I've never been a great fan of the graphic tools contained within > Runtime Revolution. It is really not too difficult to use the polygon tool to place irregular graphics on maps or images. See my vintage stack from 2004 produced for the most parts by students in a Metacard-workshop. > However, Button Basher > relies on EXPORT SNAPSHOT which has two disadvantages: > > 1. A snapshot is always rectangular. > > 2. It never contains transparent areas. Richmond, this simply is not the case. There are possibilities to produce snapshots with transparent areas. Several members of this list have shown that. See also the relevant examples in stack and > Now I am well aware I can set up scaleable circles, ellipses > and so on: but the main problem is how to combine those with > button texts (that are also adjustable) and then export the end-result > as a GIF or PNG image. As I see, Bernd Niggemann is presently cooperating with you in improving "Button Basher". He can show how you can integrate masked images (such with transparent areas) into Button Basher that are scalable in the same way as the images you use at present. Recently I have added the feature to produce *beveled* and *framed* (roundrects and ovals) images that you could use in your stack and elsewhere, but I have not yet put together a sample stack for that. Best regards and support for your work, Wilhelm Sanke From geradamas at yahoo.com Wed Feb 4 16:30:45 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 4 Feb 2009 13:30:45 -0800 (PST) Subject: Transparent Message-ID: <956427.26680.qm@web37503.mail.mud.yahoo.com> I made an image via IMPORT SNAPSHOT on a card, set its INK to TRANSPARENT: But when I exported the image as both PNG and GIF the transparency was lost. Does this mean that transparency is only local? sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From chipp at chipp.com Wed Feb 4 16:46:22 2009 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Feb 2009 15:46:22 -0600 Subject: workaround for corrupt stack was (Re: [ANN] RevDoc home page launched) In-Reply-To: <7c87a2a10902041011m6d212cc8t745290b592f33726@mail.gmail.com> References: <7c87a2a10902041011m6d212cc8t745290b592f33726@mail.gmail.com> Message-ID: <665591460902041346y42a70932y858dcd4fbfa90271@mail.gmail.com> go stack the decompress of url "http://andregarzia.com/RevDoc.rev.gz" works for me. From rjearp at hotmail.com Wed Feb 4 16:56:15 2009 From: rjearp at hotmail.com (Bob Earp) Date: Wed, 4 Feb 2009 13:56:15 -0800 Subject: Import temperature and switch on/off the heater with Rev Message-ID: Mark,Thanks for the feedback. The Arduino looks a very cool device and as soon as I can escape form other tasks I'll lock myself away and play with it. Yep, I know, I have to get a life :-)I've been using the free PortMon utility from Microsoft (http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx) with good success to monitor port activity, but unfortunately it's only Windoze based.best, Bob...Message: 19Date: Tue, 3 Feb 2009 16:43:04 -0800From: Mark Wieder Subject: Re: Import temperature and switch on/off the heater with RevTo: How to use Revolution Message-ID: <71666356250.20090203164304 at ahsoftware.net>Content-Type: text/plain; charset=us-asciiBob-The Arduino works well with rev.If you're using Windows and need to do some usb protocoltroubleshooting, there's a great tool available athttp://www.aggsoft.com/usb-port-monitor.htmUnfortunately they don't have an osx version, and I haven't foundanything else that does this sort of packet-level analysis for themac.-- -Mark Wiedermwieder at ahsoftware.net _________________________________________________________________ Windows Live Messenger. Multitasking at its finest. http://www.microsoft.com/windows/windowslive/messenger.aspx From chipp at chipp.com Wed Feb 4 16:58:16 2009 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Feb 2009 15:58:16 -0600 Subject: convert to lower ascii 128? Message-ID: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> Anyone know of a quick way to convert a string to only lower ascii 128? (Deletes anything above). I'm hoping for something other than a repeat for each char loop. From chipp at chipp.com Wed Feb 4 17:01:03 2009 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Feb 2009 16:01:03 -0600 Subject: Odd-shaped buttons . . . In-Reply-To: <396209.75749.qm@web37503.mail.mud.yahoo.com> References: <396209.75749.qm@web37503.mail.mud.yahoo.com> Message-ID: <665591460902041401h40f78f24l4840644d19ca9eba@mail.gmail.com> On Wed, Feb 4, 2009 at 2:18 PM, Richmond Mathewson wrote: > I also suppose, the good folks > who make ButtonGadget would not be overly pleased if I took their > stuff apart (i.e. reverse engineering) and ripped them off - quite apart > from an awkward feeling that I have that may not be terribly moral. Yes, you are correct, I would not be too happy if you ripped BG apart and used it to create a free version. That said, there is some very labored compositing code in BG2, which AFAICT cannot be reproduced using the new group composite tools in later versions. From bobs at twft.com Wed Feb 4 17:22:21 2009 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Feb 2009 14:22:21 -0800 Subject: Another SQL question In-Reply-To: <498A081E.8010506@ekoinf.net> References: <498A081E.8010506@ekoinf.net> Message-ID: <858552FB-3B24-4FB8-B5BC-B57E0A3A8153@twft.com> Hi Viktor. Aye that will work, but simple is the keyword here. Yes it will pull down a record and allow you to edit/save. But what it will not do is allow me to create a form where I have nested relational lookups. It will also not allow me to page through cursors in a table view. It will also not account for conditions where a value in one field changes causing a lookup and new information to appear in another. There are interface reasons for why I am designing things the way I am. The app is going to be something more than a simple database browser. Heck I have that in Filemaker now! What I need is complete control over data entry and validation, and that is something I cannot do with Rev's built in form queries. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 4, 2009, at 1:26 PM, viktoras d. wrote: > Hi Bob, > > no need to write complex queries in rev, create view and then write > simple query for the view :-) > > all the best > Viktoras > > Bob Sneidar wrote: >> The idea is to be able to page through large data sets by setting a >> limit on the number of records I return in the parent cursor, and >> then >> only return records in the "relational" cursors whose keys match the >> parent. I don't want to use the SQL relational system, because >> frankly >> writing rev code to build highly complex queries to return data from >> multiple tables into one cursor on the fly is more trouble than I >> want >> to deal with. I wish there was a way in SQL to set up linked cursors >> for relations, but alas it is what it is. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Wed Feb 4 17:24:12 2009 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Feb 2009 14:24:12 -0800 Subject: convert to lower ascii 128? In-Reply-To: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> Message-ID: <0C120B75-8E41-4B0B-8351-75F10255CB28@twft.com> Isn't there a lower function? Or are you saying you want to exclude special characters? Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 4, 2009, at 1:58 PM, Chipp Walters wrote: > Anyone know of a quick way to convert a string to only lower ascii > 128? > (Deletes anything above). > I'm hoping for something other than a repeat for each char loop. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Wed Feb 4 17:26:14 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 4 Feb 2009 23:26:14 +0100 Subject: convert to lower ascii 128? In-Reply-To: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> Message-ID: <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> Hi Chipp, Are you sure that you simply want to delete all characters above ASCII 128? put "Th?s ?s s?m? t?xt" into myString put replacetext(myString,"[" & numToChar(129) & "-" & numToChar(255) & "]","") --> Ths s sm txt -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 4 feb 2009, at 22:58, Chipp Walters wrote: > Anyone know of a quick way to convert a string to only lower ascii > 128? > (Deletes anything above). > I'm hoping for something other than a repeat for each char loop. From jacque at hyperactivesw.com Wed Feb 4 17:27:47 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Feb 2009 16:27:47 -0600 Subject: convert to lower ascii 128? In-Reply-To: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> Message-ID: <498A1663.4060500@hyperactivesw.com> Chipp Walters wrote: > Anyone know of a quick way to convert a string to only lower ascii 128? > (Deletes anything above). > I'm hoping for something other than a repeat for each char loop. Yes and no. I know what I'd do, but don't know the regular expression off the top of my head. I think what you want is a replaceText() function that passes the correct hex numbers for ascii 0-128 and replaces anything not in that range with empty. Maybe Ken Ray will see this and jump in, he's the pro with regular expressions. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Feb 4 17:37:40 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 4 Feb 2009 14:37:40 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: <146745232640.20090204143740@ahsoftware.net> Bob- Interesting - I didn't think portmon worked with usb ports. -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Wed Feb 4 17:52:54 2009 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 04 Feb 2009 22:52:54 +0000 Subject: convert to lower ascii 128? In-Reply-To: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> Message-ID: <498A1C46.1070900@tweedly.net> Chipp Walters wrote: > Anyone know of a quick way to convert a string to only lower ascii 128? > (Deletes anything above). > I'm hoping for something other than a repeat for each char loop. > No, I don't. But I feel there *should* be a way to do it using imagedata and one of the transfer modes of the ink property. Unfortunately, I've never used these within Rev (or indeed, anywhere for over 25 years) - but back in the dim, distant past I remember using the graphics accelerator chips to perform something like this very quickly. -- Alex. From pmbrig at gmail.com Wed Feb 4 18:00:55 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 4 Feb 2009 18:00:55 -0500 Subject: Odd-shaped buttons . . . In-Reply-To: <20090204173242.533A3488F4A@mail.runrev.com> References: <20090204173242.533A3488F4A@mail.runrev.com> Message-ID: <3671C4D7-EA66-4AAD-85C4-76C8CEBA975D@gmail.com> On Feb 4, 2009, Richmond Mathewson wrote: > Possibly this message should be subtitled "Richmond Eats Crow." > > Alternatively, I might be pointing out something that should have > been pointed out a long time ago . . . > > Just put a stack together: > > "ODD BUTTONS.rev" - revOnline under 'Richmond' > > that shows that when either PNG or GIF images with areas of > transparency > are used, the transparent portion of them do not respond to mouse- > clicks > (and, presumably mouseEnter, mouseLeave, and so forth). > > That shows that it is perfectly possible to make the sort > of maps I described in my earlier posting; as well as provide maps > with multiple "hot spots" that aren't contiguous. I like what you're doing here. I tried to expand the repertoire of ButtonBasher to include making standard and default button images, which is what I mostly use in my stacks. (I tried to send the revised stack to you, Richard, but you couldn't open it.) Unfortunately I don't get enough about PNG and alpha channels to be able to export the result as a PNG with transparent areas outside the curved ends of the buttons, so my kludge-y workaround was to have the user match the background color of the context the button will be placed in and export a rectangular jpeg image. However, this doesn't work for patterned or textured backgrounds (which I also use in many of my stacks). Any hope of your extending the stack to allow standard and default buttons with PNG image export? Or can someone else chime in here? I would love this feature, and I would use it much more often than the gradients and colors (which, don't get me wrong, are quite lovely)! Peter M. Brigham pmbrig at gmail.com From sarah.reichelt at gmail.com Wed Feb 4 18:07:41 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 5 Feb 2009 09:07:41 +1000 Subject: [ANN] RevDoc home page launched In-Reply-To: <7c87a2a10902041007t2042e650gf1ab5e5d184e578@mail.gmail.com> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> <79B7DB38-D553-4212-A6FA-F8F9A7FE48A9@major-k.de> <8FC0DD07-E43A-4C20-8191-F4F1C0A9293B@major-k.de> <7c87a2a10902041007t2042e650gf1ab5e5d184e578@mail.gmail.com> Message-ID: On Thu, Feb 5, 2009 at 4:07 AM, Andre Garzia wrote: > does anyone here knows what corrupts a stack? I tried opening from > disk here using all versions of Rev, it always open, as soon as I > transfer it to the server it breaks!!! ARRRGGHHHHH Are you sure you are not using text file transfers in your FTP - it would need to be binary. BTW, I had a quick look at the earlier version from the link on the newsletter. I was very impressed and I can really see the use for documenting my stacks. One minor quibble: the files it created wanted to open in TextEdit rather than in my browser. If you set the filetype to empty before saving the fails, OS X will open it in the app dictated by the file extension. And I got the auto-opening of the completed docs html file to work using the now preferred "launch url" command instead of revGoURL. Cheers, Sarah From devin_asay at byu.edu Wed Feb 4 18:29:31 2009 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 4 Feb 2009 16:29:31 -0700 Subject: convert to lower ascii 128? In-Reply-To: <498A1C46.1070900@tweedly.net> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <498A1C46.1070900@tweedly.net> Message-ID: <36B860D5-FA51-459D-A5C1-EDA8CE928F35@byu.edu> Chipp Walters wrote: > Anyone know of a quick way to convert a string to only lower ascii > 128? > (Deletes anything above). > I'm hoping for something other than a repeat for each char loop. > Why don't you take the opposite approach--loop through 128 to 255? That way you have a reasonably short loop: repeat with tCode = 128 to 255 replace numToChar(tCode) with "" in myText end repeat Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From DunbarX at aol.com Wed Feb 4 18:29:55 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 4 Feb 2009 18:29:55 EST Subject: convert to lower ascii 128? Message-ID: In a message dated 2/4/09 5:26:29 PM, m.schonewille at economy-x-talk.com writes: > Are you sure that you simply want to delete all characters above ASCII? > 128? > > ? ? put "Th?s ?s s?m? t?xt" into myString > ? ? put replacetext(myString,"[" & numToChar(129) & "-" &? > numToChar(255) & "]","") > Mark. Sort of pseudo wild cards. Whew. Where do the docs say this? And how do it know? Is it ASCII ordered? In other words, would: ..."[" & "a-z" & "]"... replace every char in that range? ReplaceText is better than Rinaldi's fullReplace with all that stuff. Craig ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad.double click.net/clk;211531132;33070124;e) From m.schonewille at economy-x-talk.com Wed Feb 4 18:39:02 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 5 Feb 2009 00:39:02 +0100 Subject: convert to lower ascii 128? In-Reply-To: References: Message-ID: hi Craig, Revolution uses its own subset of regular expressions. Just read the docs for replaceText and click on the regular expressions link (if you have a version where this link works). You don't need the additional ampersands in your example. "[a-z]" will do (or "[a-zA-Z0-9"]). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 5 feb 2009, at 00:29, DunbarX at aol.com wrote: > > Mark. > > Sort of pseudo wild cards. Whew. Where do the docs say this? > > And how do it know? Is it ASCII ordered? In other words, would: > > ..."[" & "a-z" & "]"... replace every char in that range? > > ReplaceText is better than Rinaldi's fullReplace with all that stuff. > > Craig From DunbarX at aol.com Wed Feb 4 18:39:33 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 4 Feb 2009 18:39:33 EST Subject: Import temperature and switch on/off the heater with Rev Message-ID: In a message dated 2/4/09 4:56:24 PM, rjearp at hotmail.com writes: > Mark,Thanks for the feedback.? The Arduino looks a very cool device and as > soon as I can escape form other tasks I'll lock myself away and play with it. > The Service USP Plus looks much easier to use (Rev support) and has onboard connectors for digital and analog I/O. It is very like the BeeHive gadget, and that was a wonderful product. You can do things right away. Craig Newman ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad. doubleclick.net/clk;211531132;33070124;e) From andre at andregarzia.com Wed Feb 4 18:43:38 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 21:43:38 -0200 Subject: [ANN] RevDoc home page launched In-Reply-To: References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> <665591460902040930h4c97466cl7f4a139ddbf14cfe@mail.gmail.com> <79B7DB38-D553-4212-A6FA-F8F9A7FE48A9@major-k.de> <8FC0DD07-E43A-4C20-8191-F4F1C0A9293B@major-k.de> <7c87a2a10902041007t2042e650gf1ab5e5d184e578@mail.gmail.com> Message-ID: <7c87a2a10902041543j1207dd39h1ddf2a4c2b7f20ba@mail.gmail.com> Sarah, It was not the FTP breaking things, it was Apache google analytics module that insisted in overwritting the content on the fly to add the analytics snippet. It saw the body tag inside the custom prop and fiddled with it. I disabled the module on my vps and things are back to normal. Though bug to find! I'll set the filetype correctly now, I am building a new patched version right now. Mark sent me some code using launch document that works very well. Cheers andre On Wed, Feb 4, 2009 at 9:07 PM, Sarah Reichelt wrote: > On Thu, Feb 5, 2009 at 4:07 AM, Andre Garzia wrote: >> does anyone here knows what corrupts a stack? I tried opening from >> disk here using all versions of Rev, it always open, as soon as I >> transfer it to the server it breaks!!! ARRRGGHHHHH > > Are you sure you are not using text file transfers in your FTP - it > would need to be binary. > > BTW, I had a quick look at the earlier version from the link on the > newsletter. I was very impressed and I can really see the use for > documenting my stacks. One minor quibble: the files it created wanted > to open in TextEdit rather than in my browser. If you set the filetype > to empty before saving the fails, OS X will open it in the app > dictated by the file extension. > > And I got the auto-opening of the completed docs html file to work > using the now preferred "launch url" command instead of revGoURL. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Feb 4 18:44:48 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Feb 2009 21:44:48 -0200 Subject: He's a GENIUS! In-Reply-To: <9FAACC15-1C35-4906-B81D-4271145D705A@twft.com> References: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> <9FAACC15-1C35-4906-B81D-4271145D705A@twft.com> Message-ID: <7c87a2a10902041544o1449090fqed91cfae62f4d3e4@mail.gmail.com> Bob, I put a button on the side bar that should link to paypal, just below the "Donate" text. I hope it is visible... :D I am doing a new version right now. andre On Wed, Feb 4, 2009 at 5:37 PM, Bob Sneidar wrote: > Andre, > > The DONATE TO REVDOC link is just text! There is no link there to paypal > anywhere on the page that I saw. That might explain why no one has donated > anything yet! DOH! > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 4, 2009, at 9:11 AM, Andre Garzia wrote: > >> Bob, >> >> Thank you very much for the compliments. We've been in need of such >> tool for a long time, now we have it but there's still a lot of room >> for improvement. >> >> I've set up a page at http://andregarzia.com/revdoc where you can get >> the stack and keep updated with the news. >> >> I do want to save the world but I am not a millionaire, even though >> VISA tries to make me fell (and spend) like one. In the page there's a >> PayPal donation button, any amount is greatly appreciated (with this >> crisis the dollar sky rocketed here). >> >> :D >> >> Thanks for the kind words! >> andre >> >> On Fri, Jan 30, 2009 at 3:38 PM, Bob Sneidar >> wrote: >>> >>> ANDRE! Your a freaking genius! Great job on the RevDOCS! I will use that >>> one >>> for sure. Is there a way to send money for it or are you an eccentric >>> millionaire who just wants to save the world? >>> >>> Bob Sneidar >>> IT Manager >>> Logos Management >>> Calvary Chapel CM >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From DunbarX at aol.com Wed Feb 4 18:49:31 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 4 Feb 2009 18:49:31 EST Subject: convert to lower ascii 128? Message-ID: In a message dated 2/4/09 6:39:11 PM, m.schonewille at economy-x-talk.com writes: > and click on the regular expressions link (if you? > have a version where this link works). You don't need the additional? > ampersands in your example. "[a-z]" will do (or "[a-zA-Z0-9"]). > Mark. All I get with that link is a list of synonyms and a definition. I have worked with the "Filter" command (very cool) and its "special characters", as they are called in the docs. Same deal? Thanks, Craig ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad.doublec lick.net/clk;211531132;33070124;e) From m.schonewille at economy-x-talk.com Wed Feb 4 18:52:37 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 5 Feb 2009 00:52:37 +0100 Subject: convert to lower ascii 128? In-Reply-To: References: Message-ID: <44793F10-98FB-4FD3-9A1F-50E45414DF8E@economy-x-talk.com> Hi Craig, Did you click the link under "see also"? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 5 feb 2009, at 00:49, DunbarX at aol.com wrote: > > Mark. > > All I get with that link is a list of synonyms and a definition. I > have > worked with the "Filter" command (very cool) and its "special > characters", as they > are called in the docs. Same deal? > > Thanks, > > Craig From JimAultWins at yahoo.com Wed Feb 4 19:11:55 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 04 Feb 2009 16:11:55 -0800 Subject: convert to lower ascii 128? In-Reply-To: Message-ID: Craig wrote: >I have > worked with the "Filter" command (very cool) and its "special characters", as > they > are called in the docs. Same deal? [with RegEx] > Wild cards used in the Filter command are not the same thing as RegEx. Basically, the RegEx engine in Rev is the same as the industry standard PCRE ( Perl Compatible Regular Expressions http://en.wikipedia.org/wiki/Pcre) that is used by BBEdit, and documented on many websites, such as http://www.regular-expressions.info/tutorial.html It can get pretty intricate and complicated, but it is fun to solve the puzzles. Hope this helps. Jim Ault Las Vegas On 2/4/09 3:49 PM, "DunbarX at aol.com" wrote: > > In a message dated 2/4/09 6:39:11 PM, m.schonewille at economy-x-talk.com > writes: > > >> and click on the regular expressions link (if you? >> have a version where this link works). You don't need the additional? >> ampersands in your example. "[a-z]" will do (or "[a-zA-Z0-9"]). >> > > Mark. > > All I get with that link is a list of synonyms and a definition. I have > worked with the "Filter" command (very cool) and its "special characters", as > they > are called in the docs. Same deal? > > Thanks, > > Craig > > > ************** > Great Deals on Dell Laptops. Starting at $499. > (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http: > //ad.doublec > lick.net/clk;211531132;33070124;e) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Wed Feb 4 19:12:26 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 4 Feb 2009 19:12:26 EST Subject: convert to lower ascii 128? Message-ID: In a message dated 2/4/09 6:52:55 PM, m.schonewille at economy-x-talk.com writes: > Hi Craig, > > Did you click the link under "see also"? > Mark, Yow! Thank you. Should be in the main text though, as syntax options, like the "filter" command. Craig ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad.doublec lick.net/clk;211531132;33070124;e) From DunbarX at aol.com Wed Feb 4 19:15:11 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 4 Feb 2009 19:15:11 EST Subject: convert to lower ascii 128? Message-ID: In a message dated 2/4/09 7:12:19 PM, JimAultWins at yahoo.com writes: > It can get pretty intricate and complicated, but it is fun to solve the > puzzles. > > Hope this helps. > Thanks, Jim. I get it now, I just coudn't find it. IMHO, the docs should list all that in the text, a la the "filter" command, not as a link. Craig ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad.doublec lick.net/clk;211531132;33070124;e) From mwieder at ahsoftware.net Wed Feb 4 19:32:55 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 4 Feb 2009 16:32:55 -0800 Subject: convert to lower ascii 128? In-Reply-To: References: Message-ID: <132752147640.20090204163255@ahsoftware.net> Jim- Wednesday, February 4, 2009, 4:11:55 PM, you wrote: > Wild cards used in the Filter command are not the same thing as RegEx. ...although there's a long-standing (April 2005) request for this: BZ #2805 -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Wed Feb 4 20:20:01 2009 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Feb 2009 19:20:01 -0600 Subject: convert to lower ascii 128? In-Reply-To: <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> Message-ID: <665591460902041720m67c9aa8ds98891a7de3dc81d1@mail.gmail.com> Mark, That should do nicely. Thanks! On Wed, Feb 4, 2009 at 4:26 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Chipp, > > Are you sure that you simply want to delete all characters above ASCII 128? > > put "Th?s ?s s?m? t?xt" into myString > put replacetext(myString,"[" & numToChar(129) & "-" & numToChar(255) & > "]","") > --> Ths s sm txt > From chipp at chipp.com Wed Feb 4 20:45:37 2009 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Feb 2009 19:45:37 -0600 Subject: convert to lower ascii 128? In-Reply-To: <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> Message-ID: <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> Interesting note: I found the following results: function altAsciiScrub2 pText put replacetext(pText,"[" & numToChar(129) & "-" & numToChar(255) & "]","") into pText put replacetext(pText,"[" & numToChar(1) & "-" & numToChar(31) & "]","") into pText return pText end altAsciiScrub2 executed in 19 ticks on my QuadCore Vista 64 machine function altAsciiScrub1 pText repeat for each char c in pText get charToNum(c) if it > 128 or it < 32 then next repeat end if put c after t end repeat return t end altAsciiScrub1 executed in 17 ticks on my QuadCore Vista 64 machine repeat for each is really fast. That said, executing one replaceText versus a single "if it >128 (Devin, yours was much slower: 49 ticks) From bobs at twft.com Wed Feb 4 21:41:37 2009 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Feb 2009 18:41:37 -0800 Subject: He's a GENIUS! In-Reply-To: <7c87a2a10902041544o1449090fqed91cfae62f4d3e4@mail.gmail.com> References: <7c87a2a10902040911h10f34e1atafaed69301dd7386@mail.gmail.com> <9FAACC15-1C35-4906-B81D-4271145D705A@twft.com> <7c87a2a10902041544o1449090fqed91cfae62f4d3e4@mail.gmail.com> Message-ID: Hi Andre. I sent you a bit just now. I had to go to your main page I guess. The text on the revDoc page is, as I said before just text. On the main page the link is black text on dark blue background, at least it is to me. Might be a browser issue. Also the thanks page returns a page not found error. The url I go to is http://andregarzia.com/donations/thanks.html Thought you would like to know. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 4, 2009, at 3:44 PM, Andre Garzia wrote: > Bob, > > I put a button on the side bar that should link to paypal, just below > the "Donate" text. I hope it is visible... :D > > I am doing a new version right now. > > andre > > On Wed, Feb 4, 2009 at 5:37 PM, Bob Sneidar wrote: >> Andre, >> >> The DONATE TO REVDOC link is just text! There is no link there to >> paypal >> anywhere on the page that I saw. That might explain why no one has >> donated >> anything yet! DOH! >> >> Bob Sneidar >> IT Manager >> Logos Management >> Calvary Chapel CM >> >> On Feb 4, 2009, at 9:11 AM, Andre Garzia wrote: >> >>> Bob, >>> >>> Thank you very much for the compliments. We've been in need of such >>> tool for a long time, now we have it but there's still a lot of room >>> for improvement. >>> >>> I've set up a page at http://andregarzia.com/revdoc where you can >>> get >>> the stack and keep updated with the news. >>> >>> I do want to save the world but I am not a millionaire, even though >>> VISA tries to make me fell (and spend) like one. In the page >>> there's a >>> PayPal donation button, any amount is greatly appreciated (with this >>> crisis the dollar sky rocketed here). >>> >>> :D >>> >>> Thanks for the kind words! >>> andre >>> >>> On Fri, Jan 30, 2009 at 3:38 PM, Bob Sneidar >>> wrote: >>>> >>>> ANDRE! Your a freaking genius! Great job on the RevDOCS! I will >>>> use that >>>> one >>>> for sure. Is there a way to send money for it or are you an >>>> eccentric >>>> millionaire who just wants to save the world? >>>> >>>> Bob Sneidar >>>> IT Manager >>>> Logos Management >>>> Calvary Chapel CM >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Wed Feb 4 23:37:29 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 5 Feb 2009 12:37:29 +0800 Subject: renaming files In-Reply-To: References: <1e91b2b70902040105n6dbc134bl498f171274f1d20d@mail.gmail.com> Message-ID: On Wed, Feb 4, 2009 at 11:45 PM, Jim Ault wrote: > > If you are using a networked drive that has longer latency, increase the 20 > milliseconds to 50 or more, and keep testing to find the most successful > timing. > > One limitation with rename seems to be, from the Doc's: The rename command can be used to change a file's or folder's location only if the old and new locations are both on the same volume. So if you are thinking for moving a file off your internal HD to an External/Network one, rename might not do it for you. As ever, it's worth testing, the Doc's are occasionally misleading. HTH From JimAultWins at yahoo.com Thu Feb 5 00:37:38 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 04 Feb 2009 21:37:38 -0800 Subject: renaming files In-Reply-To: Message-ID: There is always the option of using shell commands. On Mac OSX you should consider 'ditto' if you want to retain the resource fork, otherwise, use 'mv'. I am definitely not well-versed in command line, so there could be better advice coming in the next day or so. Jim Ault Las Vegas On 2/4/09 8:37 PM, "Kay C Lan" wrote: > On Wed, Feb 4, 2009 at 11:45 PM, Jim Ault wrote: > >> >> If you are using a networked drive that has longer latency, increase the 20 >> milliseconds to 50 or more, and keep testing to find the most successful >> timing. >> >> One limitation with rename seems to be, from the Doc's: > > The rename command can be used to change a file's or folder's location only > if the old and new locations are both on the same volume. > > So if you are thinking for moving a file off your internal HD to an > External/Network one, rename might not do it for you. As ever, it's worth > testing, the Doc's are occasionally misleading. > > HTH From Andre.Bisseret at inria.fr Thu Feb 5 04:00:49 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Thu, 5 Feb 2009 10:00:49 +0100 Subject: How to test if a field does not contain anything else than returns or tab? In-Reply-To: References: Message-ID: Very helpful indeed ! Always learning :-) I did not know that a non-breaking space was considered as a word ! Like St Thomas, I tried it and ? you are right (of course ;-)) Yes, as you say, it is unlikely (mainly due to the fact that one use two keys to type a non-breaking space) but sure your function trim is a prudent precaution. Thanks a lot Ken Andr? Le 4 f?vr. 09 ? 19:00, Ken Ray a ?crit : > > > > On 2/4/09 8:41 AM, "Andre.Bisseret" wrote: > >> Hello >> Thanks to all who paid attention to my question >> Quite a nice number of ways (mainly variations around counting the >> number of words) > > BTW, just for 100% clairty, none of these "word-based" approaches > work if > there is a non-breaking space (  or  ) in the field. > Admittedly, > the possibility of this happening is extremely low, but to be on the > safe > side, this is "trim" function I use: > > function trim what > if the platform is "MacOS" then > replace numToChar(202) with " " in what > else > replace numToChar(160) with " " in what > end if > return (word 1 to -1 of what) > end trim > > So for testing an empty field, it would be: > > if trim(fld 1) = "" then > > HTH, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Feb 5 04:18:10 2009 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 05 Feb 2009 03:18:10 -0600 Subject: Another SQL question In-Reply-To: Message-ID: On 2/4/09 1:33 PM, "Bob Sneidar" wrote: > So using your method, my queries for a table of 25 employees with the > associated departments data would look something like this: > > -- employee data > put "SELECT employees.deptid FROM employees LIMIT 25" into > mEmployeeQuery > > -- department data > put "SELECT * FROM departments WHERE departments.deptid IN (" & > mEmployeeQuery & ")" into mDepartmentQuery Actually, Bob, you don't need to do two queries... you can do it in one... also, you don't need to use LIMIT unless you specifically want less records than what would normally be returned: SELECT * FROM departments WHERE departments.deptid IN (SELECT employees.deptid FROM employees) HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From briany at qldlearning.com Thu Feb 5 04:26:04 2009 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 5 Feb 2009 01:26:04 -0800 Subject: Another SQL question In-Reply-To: References: Message-ID: <1E5AC2CD-226A-4D07-9F82-013A22630EF0@qldlearning.com> A simple join would work for this as well: SELECT * FROM employees, departments WHERE employees.deptid = departments.deptid As a bonus, this way you could easily pick what fields you wanted from each table. For example: SELECT employees.id,employees.name,departments.name FROM employees, departments WHERE employees.deptid = departments.deptid > >> So using your method, my queries for a table of 25 employees with the >> associated departments data would look something like this: >> >> -- employee data >> put "SELECT employees.deptid FROM employees LIMIT 25" into >> mEmployeeQuery >> >> -- department data >> put "SELECT * FROM departments WHERE departments.deptid IN (" & >> mEmployeeQuery & ")" into mDepartmentQuery > > Actually, Bob, you don't need to do two queries... you can do it in > one... > also, you don't need to use LIMIT unless you specifically want less > records > than what would normally be returned: > > SELECT * FROM departments WHERE departments.deptid IN (SELECT > employees.deptid FROM employees) > > HTH, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ From viktoras at ekoinf.net Thu Feb 5 04:32:40 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 05 Feb 2009 11:32:40 +0200 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: References: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> Message-ID: <498AB238.6080501@ekoinf.net> there is: if matchText(fld "fText", "\S") is false then answer "no text in field" end if This one checks for any symbols that are not "whitespace" of any kind (\S is same as [ \t\f\r\n]). Viktoras Bob Sneidar wrote: > I wonder, isn't there a way to use regular expressions to check for > white space? > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 3, 2009, at 6:18 AM, Andre.Bisseret wrote: > >> Bonjour, >> >> I need to test if a given list field in a stack contains some values >> or if it is empty. >> Well, by "empty" I mean that the field contains not any word or >> number. But it happens that it may include carriage returns and/or tabs. >> In such cases : >> field "thisField" is empty >> return false. >> >> If there were only carriage returns, I could test if each line of the >> field is empty; >> indeed : >> line x of fld "thisField" is empty >> returns true if the only character in the line is cr >> but returns false if there is at least one tab in the line. >> >> I just tried : >> if last char of fld "thisField" is empty ;-)) >> >> that seems working well ! but a bit strange and might be not reliable ? >> >> Is there a better trick ? >> >> Thanks for any idea >> >> Best regards from Grenoble >> Andr? >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From viktoras at ekoinf.net Thu Feb 5 04:41:31 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 05 Feb 2009 11:41:31 +0200 Subject: How to test if a field does not contain anything else than returns or tab ? In-Reply-To: <498AB238.6080501@ekoinf.net> References: <112A6E61-5F34-47DF-910C-77FE71D493C2@inria.fr> <498AB238.6080501@ekoinf.net> Message-ID: <498AB44B.9040204@ekoinf.net> small correction: \s is same as [ \t\f\r\n], and \S is opposite to \s. viktoras d. wrote: > there is: > > if matchText(fld "fText", "\S") is false then > answer "no text in field" > end if > > This one checks for any symbols that are not "whitespace" of any kind > (\S is same as [ \t\f\r\n]). > > Viktoras > > Bob Sneidar wrote: >> I wonder, isn't there a way to use regular expressions to check for >> white space? >> >> Bob Sneidar >> IT Manager >> Logos Management >> Calvary Chapel CM >> >> On Feb 3, 2009, at 6:18 AM, Andre.Bisseret wrote: >> >>> Bonjour, >>> >>> I need to test if a given list field in a stack contains some values >>> or if it is empty. >>> Well, by "empty" I mean that the field contains not any word or >>> number. But it happens that it may include carriage returns and/or >>> tabs. >>> In such cases : >>> field "thisField" is empty >>> return false. >>> >>> If there were only carriage returns, I could test if each line of the >>> field is empty; >>> indeed : >>> line x of fld "thisField" is empty >>> returns true if the only character in the line is cr >>> but returns false if there is at least one tab in the line. >>> >>> I just tried : >>> if last char of fld "thisField" is empty ;-)) >>> >>> that seems working well ! but a bit strange and might be not reliable ? >>> >>> Is there a better trick ? >>> >>> Thanks for any idea >>> >>> Best regards from Grenoble >>> Andr? >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From toolbook at kestner.de Thu Feb 5 05:26:21 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 5 Feb 2009 11:26:21 +0100 Subject: Printer driver crash on Win Message-ID: <8B4B45C13A2B4B14B77E9D6FAA1E6406@Kestner.local> Hello, I've posted this already a couple of month ago, but wanted to ask, if anybody else has experienced same problems with Rev 3.0 on Win XP. Some (rare) customers of mine complain that my prog crashes, when they call the print dialog. I am just using: Answer printer Print card There is a crash report in the QCC, concerning a not existing default printer, but I couldn't verify, if that's the same situation at my customers. I tell my customers, they should look for an update of their printer driver, but they tell me, their other progs can print without crash. Has anybody experienced this behaviour and knows of any workaround? Thanks Tiemo From williamdesmet at gmail.com Thu Feb 5 05:33:07 2009 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 5 Feb 2009 11:33:07 +0100 Subject: How to put the text of several TXT files in just one text field with a single mouseclick? Message-ID: Hi there, Say I have several .TXT files in a directory and I want the contents of them all to be shown in just one text field with just one mouseclick. I know how to do this with one .TXT file but not with say 30 files. And all these files have different names. Any idea's or scripts are welcome! Greetings, William From lists at futilism.com Thu Feb 5 05:39:50 2009 From: lists at futilism.com (Mark Smith) Date: Thu, 5 Feb 2009 10:39:50 +0000 Subject: How to put the text of several TXT files in just one text field with a single mouseclick? In-Reply-To: References: Message-ID: William, assuming you have the path for the folder in a variable "tFo" on mouseUp put the defaultFolder into tOldFo -- so we can set the default back when we've finished set the defaultFolder to tFo put the files into tFileList filter tFileList with "*.txt" repeat for each line L in tFileList put url ("file:" & L) & cr after fld "theField" end repeat set the defaultFolder to tOldFo end mouseUp best, Mark On 5 Feb 2009, at 10:33, William de Smet wrote: > Hi there, > Say I have several .TXT files in a directory and I want the > contents of them > all to be shown in just one text field with just one mouseclick. > I know how to do this with one .TXT file but not with say 30 files. > And all these files have different names. > > Any idea's or scripts are welcome! > > Greetings, > > William > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Thu Feb 5 05:50:15 2009 From: klaus at major-k.de (Klaus Major) Date: Thu, 5 Feb 2009 11:50:15 +0100 Subject: regex/matchtext question Message-ID: Hi all, I have a nice matchtext script that extract "placeholders" from a text. Like everything between "<<" and ">>" or "::" or "{" and "}" This is the function I use, it#s a little script of Ken Ray (thanks Ken!) that I could understand, at least a bit to modify it:-) ## extract placeholder tText,tdelimiter,delimiter2 ## tdelimiter = the delimiter of the returned list of placeholders ## derdelimiter2 = the actual "borders" of the placeholders to extract function platzhalterextrahieren dertext,derdelimiter,derdelimiter2 if derdelimiter = empty then put TAB into derdelimiter end if if derdelimiter2 = empty then put "::" into derdelimiter2 end if switch derdelimiter2 case "::" put "::" into derdelimiter3 break case "<<" put ">>" into derdelimiter3 break case "{" put "}" into derdelimiter3 break end switch repeat get matchText(dertext,"(?s)" & derdelimiter2 & "(.*?)" & derdelimiter3,wert) if it = false then exit repeat end if put derdelimiter2 & wert & derdelimiter3 into neu put neu & derdelimiter after neueliste replace neu with empty in dertext end repeat delete char -1 of neueliste return neueliste end platzhalterextrahieren This results in a list like: ::Anrede_90001:: ::Titel_90001:: ::Nachname_90001:: Or: <> <> Or: {Anrede_90001} {Titel_90001} You get the picture. Works fine so far, but now I also wanted to use "[" and "]" and even "[[" and "]]" but I cannot get the script to work. I tried to escape these characters like: ... case "[" put "\[" into derdelimiter2 put "\]" into derdelimiter3 break ... I need to replace the german decimal delimiter COMMA with a dot before I can finally MERGE the content of the text, and replace it with a COMMA after the MERGE. Know what I mean? But then I get stuck in an endless repeat loop?! Is this possible at all with matchtext? Any hints are highly appreciated! Thanks a lot in advance! Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Thu Feb 5 06:12:55 2009 From: klaus at major-k.de (Klaus Major) Date: Thu, 5 Feb 2009 12:12:55 +0100 Subject: regex/matchtext question SOLVED In-Reply-To: References: Message-ID: Hi all, after carefully reading my own post, I found the answer :-) Now it works with "[" and "[["! See below for the solution. > Hi all, > > I have a nice matchtext script that extract "placeholders" from a > text. > Like everything between "<<" and ">>" or "::" or "{" and "}" > > This is the function I use, it#s a little script of Ken Ray (thanks > Ken!) > that I could understand, at least a bit to modify it:-) > > ## extract placeholder tText,tdelimiter,delimiter2 > ## tdelimiter = the delimiter of the returned list of placeholders > ## derdelimiter2 = the actual "borders" of the placeholders to extract > function platzhalterextrahieren dertext,derdelimiter,derdelimiter2 > > if derdelimiter = empty then > put TAB into derdelimiter > end if > if derdelimiter2 = empty then > put "::" into derdelimiter2 > end if > > switch derdelimiter2 > case "::" > put "::" into derdelimiter3 > break > case "<<" > put ">>" into derdelimiter3 > break > case "{" > put "}" into derdelimiter3 > break > case "[" > put "\[" into derdelimiter2 > put "\]" into derdelimiter3 > break > end switch > > end switch > > repeat > get matchText(dertext,"(?s)" & derdelimiter2 & "(.*?)" & > derdelimiter3,wert) > if it = false then > exit repeat > end if > put derdelimiter2 & wert & derdelimiter3 into neu ## !!! replace "\" with "" in neu > put neu & derdelimiter after neueliste ## Otherwise there was no matching text to replace which ended in an eternal repeat loop! > > replace neu with empty in dertext > end repeat > > delete char -1 of neueliste > return neueliste > end platzhalterextrahieren Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From JimAultWins at yahoo.com Thu Feb 5 07:25:02 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 05 Feb 2009 04:25:02 -0800 Subject: regex/matchtext question In-Reply-To: Message-ID: Difficulty one is that '[' is a special character in regular expressions and escaping can make using them even more confusing. This is also true of the filter command. --this function seems to work --the catch is that the "[" and "]" are special chars --recall the merge("") function function getList dertext, derdelimiter, derdelimiter2 put "<<,>>,{,},[,],{{,}},[[,]]" into oppositeDelm if not(derdelimiter is among the items of oppositeDelm) then put "::" into derdelimiter if not(derdelimiter2 is among the items of oppositeDelm) then put "::" into derdelimiter2 replace cr with numtochar(3) in dertext --all on one line now if ( derdelimiter <> derdelimiter2 ) is true then replace derdelimiter with (cr & derdelimiter) in dertext replace derdelimiter2 with ( derdelimiter2 & cr ) in dertext if "]" is in dertext then -- we are using brackets replace ( derdelimiter2 & cr ) with ("^^" & cr) in dertext filter dertext with ( "*^^" ) replace "^^" with ( derdelimiter2 ) in dertext --we are done else filter dertext with ( "*" & derdelimiter 2 ) --we are done end if else --using "::" symetrical double-delimiters replace ":" with (":" & cr & ":") in dertext replace "::" with empty in dertext filter dertext with (":*:") replace ":" with "::" in dertext --we are done end if return dertext end getList Hope this helps. Jim Ault Las Vegas On 2/5/09 2:50 AM, "Klaus Major" wrote: > Hi all, > > I have a nice matchtext script that extract "placeholders" from a text. > Like everything between "<<" and ">>" or "::" or "{" and "}" > > This is the function I use, it#s a little script of Ken Ray (thanks > Ken!) > that I could understand, at least a bit to modify it:-) > > ## extract placeholder tText,tdelimiter,delimiter2 > ## tdelimiter = the delimiter of the returned list of placeholders > ## derdelimiter2 = the actual "borders" of the placeholders to extract > function platzhalterextrahieren dertext,derdelimiter,derdelimiter2 > > if derdelimiter = empty then > put TAB into derdelimiter > end if > if derdelimiter2 = empty then > put "::" into derdelimiter2 > end if > > switch derdelimiter2 > case "::" > put "::" into derdelimiter3 > break > case "<<" > put ">>" into derdelimiter3 > break > case "{" > put "}" into derdelimiter3 > break > end switch > > repeat > get matchText(dertext,"(?s)" & derdelimiter2 & "(.*?)" & > derdelimiter3,wert) > if it = false then > exit repeat > end if > put derdelimiter2 & wert & derdelimiter3 into neu > put neu & derdelimiter after neueliste > replace neu with empty in dertext > end repeat > > delete char -1 of neueliste > return neueliste > end platzhalterextrahieren > > This results in a list like: > ::Anrede_90001:: > ::Titel_90001:: > ::Nachname_90001:: > > Or: > <> > <> > > Or: > {Anrede_90001} > {Titel_90001} > > You get the picture. > > Works fine so far, but now I also wanted to use "[" and "]" and even > "[[" and "]]" > but I cannot get the script to work. I tried to escape these > characters like: > ... > case "[" > put "\[" into derdelimiter2 > put "\]" into derdelimiter3 > break > ... > > I need to replace the german decimal delimiter COMMA with a dot before > I can > finally MERGE the content of the text, and replace it with a COMMA > after the MERGE. > Know what I mean? > > But then I get stuck in an endless repeat loop?! > > Is this possible at all with matchtext? > Any hints are highly appreciated! > > Thanks a lot in advance! this is the sample for the test ::variable1:: and it should extract the ::real strings like this:: and jettison the rest with only ::keepers:: left in a listing From david at dvglasgow.wanadoo.co.uk Thu Feb 5 07:30:15 2009 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Thu, 5 Feb 2009 12:30:15 +0000 Subject: Re Rev timeline stack? References: <20090201180005.886B448A352@mail.runrev.com> Message-ID: <0ACF4311-76DA-4DAE-9817-A451C413C3D5@dvglasgow.wanadoo.co.uk> On 1 Feb 2009, at 12:31 pm, David Glasgow wrote: > Subject: Rev timeline stack? > Reply-To: How to use Revolution > > Has anyone written a timeline stack/group? > > I have looked at the software about, which looks luscious > (especially Bee docs timeline) but it doesn't allow notes etc to be > added, or vertical timelines with information attached to left and > right 'branches' of an event. I can't find my veteran HC > 'CaseLiner stack anymore, which over 15 years ago did what I want, > albeit not lusciously at all. > > (When I say 'timeline', I don't mean a Gantt chart, but the line > with stalks and information flags, type of thing) > > Best > > David Glasgow Just a quick repost in the slight hope that the 'draw-a-curve-spat' distracted attention from the above, and that really timeline Rev stacks are two a penny. More likely not, I suspect - so any thoughts on how to approach the graphic side? David Glasgow From klaus at major-k.de Thu Feb 5 08:21:06 2009 From: klaus at major-k.de (Klaus Major) Date: Thu, 5 Feb 2009 14:21:06 +0100 Subject: regex/matchtext question In-Reply-To: References: Message-ID: <09471664-F6B3-4AEF-B38D-7A1964439158@major-k.de> Hi Jim, looks like you missed my second post, I already found the solution to my problem. > Difficulty one is that '[' is a special character in regular > expressions and > escaping can make using them even more confusing. This is also true > of the > filter command. Anyway, thanks for you post, will take a deeper look in a quiet moment ;-) > --this function seems to work > --the catch is that the "[" and "]" are special chars > --recall the merge("") function > > function getList dertext, derdelimiter, derdelimiter2 > put "<<,>>,{,},[,],{{,}},[[,]]" into oppositeDelm > if not(derdelimiter is among the items of oppositeDelm) > then put "::" into derdelimiter > if not(derdelimiter2 is among the items of oppositeDelm) > then put "::" into derdelimiter2 > replace cr with numtochar(3) in dertext --all on one line now > > if ( derdelimiter <> derdelimiter2 ) is true then > replace derdelimiter with (cr & derdelimiter) in dertext > replace derdelimiter2 with ( derdelimiter2 & cr ) in dertext > if "]" is in dertext then -- we are using brackets > replace ( derdelimiter2 & cr ) with ("^^" & cr) in dertext > filter dertext with ( "*^^" ) > replace "^^" with ( derdelimiter2 ) in dertext --we are done > else > filter dertext with ( "*" & derdelimiter 2 ) --we are done > end if > else --using "::" symetrical double-delimiters > replace ":" with (":" & cr & ":") in dertext > replace "::" with empty in dertext > filter dertext with (":*:") > replace ":" with "::" in dertext --we are done > end if > return dertext > end getList > > Hope this helps. > > Jim Ault > Las Vegas Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From devin_asay at byu.edu Thu Feb 5 10:15:18 2009 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 5 Feb 2009 08:15:18 -0700 Subject: convert to lower ascii 128? In-Reply-To: <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> Message-ID: <1CCCC8B9-19DB-40C3-A175-643A78A4A932@byu.edu> On Feb 4, 2009, at 6:45 PM, Chipp Walters wrote: > Interesting note: I found the following results: > function altAsciiScrub2 pText > put replacetext(pText,"[" & numToChar(129) & "-" & numToChar(255) & > "]","") into pText > put replacetext(pText,"[" & numToChar(1) & "-" & numToChar(31) & > "]","") > into pText > return pText > end altAsciiScrub2 > > executed in 19 ticks on my QuadCore Vista 64 machine > > function altAsciiScrub1 pText > repeat for each char c in pText > get charToNum(c) > if it > 128 or it < 32 then > next repeat > end if > put c after t > end repeat > return t > end altAsciiScrub1 > > executed in 17 ticks on my QuadCore Vista 64 machine > > repeat for each is really fast. > > That said, executing one replaceText versus a single "if it >128 > > (Devin, yours was much slower: 49 ticks) Wow! What a testimonial to the speed of repeat for each. I have to think that the text you're "scrubbing" is longer than 128 chars. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From sanke at hrz.uni-kassel.de Thu Feb 5 12:38:17 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 05 Feb 2009 18:38:17 +0100 Subject: Transparent Message-ID: <498B2409.8060403@hrz.uni-kassel.de> On Wed Feb 4, 2009, Richmond Mathewson geradamas at yahoo.com wrote: > I made an image via IMPORT SNAPSHOT on a card, set its INK to > TRANSPARENT: > > But when I exported the image as both PNG and GIF the transparency > was lost. > > Does this mean that transparency is only local? > > sincerely, Richmond Mathewson. I assume you try to get the transparency of an odd-shaped image for use with your Button Basher stack? If that is the case, then follow these steps and use these syntax examples. 1. Using "export snapshot" First, create an empty (and possibly invisible) image named "placeholder" or similar (Bernd used that name in one of his scripts). The odd-shaped image - transparent in the rect outside the odd shape - is image "trans". The syntax is now: "export snapshot from rect (rect of img "trans") of img "trans" to img "Placeholder" as PNG" This captures the odd shape along with the transparency, but leaves out all things - transparent fields or graphics for text - you may have piled onto the image in Button Basher. If you want to capture the oddshaped image with its transparency and together with the overlayed fields or graphics you need to apply two steps: - "export snapshot from rect (rect of img 1) of this card to img "Placeholder" as PNG" This captures the rect of the oddshaped image along with the text of graphic or fields, but *not* the transparency. You then apply the transparency of the underlying oddshaped image to the snapshot in a second step: - "set the alphadata of img "placeholder" to the alphadata of img "trans" That's it. 2. Using "import sapshot". The procedure is only slightly different. - "import snapshot from rect (rect of img "trans") of img "trans" as above imports only the image without overlayed text, but with its transparency. The two steps to get both: - "import snapshot from rect (rect of img "trans") of this cd set the alphadata of last img to the alphadata of img "trans"" After that you could rename the 'last image'. Is this what you were looking for? Regards, Wilhelm Sanke From geradamas at yahoo.com Thu Feb 5 12:40:58 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 5 Feb 2009 09:40:58 -0800 (PST) Subject: Mask Message-ID: <427000.45734.qm@web37508.mail.mud.yahoo.com> Hey, Look, Richmond is reinventing the wheel :) would be grateful if anybody can tell me why: put the charToNum(char 10 of the mask of img"GOTTIT") into fld "fNEW" throws a compiling at 7:39:53 PM Type Function: missing 'of' Object Mask Line put the charToNum(char 10 of the mask of img"GOTTIT") into fld "fNEW" Hint the thing that I like the most is the 'Hint' :) sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From jacque at hyperactivesw.com Thu Feb 5 12:46:25 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Feb 2009 11:46:25 -0600 Subject: Printer driver crash on Win In-Reply-To: <8B4B45C13A2B4B14B77E9D6FAA1E6406@Kestner.local> References: <8B4B45C13A2B4B14B77E9D6FAA1E6406@Kestner.local> Message-ID: <498B25F1.3030904@hyperactivesw.com> Tiemo Hollmann TB wrote: > Hello, > > I've posted this already a couple of month ago, but wanted to ask, if > anybody else has experienced same problems with Rev 3.0 on Win XP. > > Some (rare) customers of mine complain that my prog crashes, when they call > the print dialog. I am just using: > > Answer printer > > Print card > > There is a crash report in the QCC, concerning a not existing default > printer, but I couldn't verify, if that's the same situation at my > customers. > > I tell my customers, they should look for an update of their printer driver, > but they tell me, their other progs can print without crash. > > Has anybody experienced this behaviour and knows of any workaround? I don't know the workaround, but someone else sent a ticket to the support queue saying that "print script" in the IDE also crashes the same way. He is going to submit a bug report for it. You might see if specifically opening the print queue helps: open printing print this card close printing I haven't tried it, but it would be worth seeing if that works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu Feb 5 12:47:06 2009 From: bobs at twft.com (Bob Sneidar) Date: Thu, 5 Feb 2009 09:47:06 -0800 Subject: Another SQL question In-Reply-To: <1E5AC2CD-226A-4D07-9F82-013A22630EF0@qldlearning.com> References: <1E5AC2CD-226A-4D07-9F82-013A22630EF0@qldlearning.com> Message-ID: <87BFE54E-B947-417F-94F0-F7F3D2B11D64@twft.com> Thanks all for the responses. I get a lot from this forum. Pardon the verboseness of my posts, but I am excited about what I am building, and want to share this with the Rev community when it is done. I think this can be a very useful tool for people who need to use rev to manage large datasets in a multiuser environment, but really do not have the time or wherewithal to develop their own methods. I should explain that I am not hard coding for a single application. The command and function set I am writing is actually a framework of code that will work for ANY database application. I am kind of replicating what Filemaker is to databases. I am building a database application development system. The Inventory/Help Desk app I am writing serves as a test model of sorts, but the real value is that I am writing my code to be very portable. Ever find yourself saying, "Man, I wish I could build databases as easily as Filemaker, but have the complete control and flexibility of Revolution coding"? That is what I am up to. So on to the issues. > A simple join would work for this as well: > > SELECT * FROM employees, departments WHERE employees.deptid = > departments.deptid > > As a bonus, this way you could easily pick what fields you wanted from > each table. For example: > > SELECT employees.id,employees.name,departments.name FROM employees, > departments WHERE employees.deptid = departments.deptid It looks like your query above is going the opposite direction, looking up customers that match the deptid in departments. I am looking for department records whose deptid only exist in the customer cursor. More on paging later. Aye, I could return all the data with one query. The problem though is that my app is going to contain some fairly complex queries with multiple relations, and I have to construct these queries via conditional coding. Also, I do not WANT to return data from 2 tables in one cursor. First of all, I have like data in multiple tables (deptid in customers and also in departments for example) as well as a signature field, a deleted flag field, and a unique ID field in EVERY table. I need these values for every record in every table. That would mean I would have to use column aliases, so now my SQL construction code would have to be orders of magnitude more complicated, and much more difficult to troubleshoot should the queries not return what I expect. Not impossible, just complicated. The method I am using instead is to return each table as it's own cursor, resulting in MUCH simpler code to construct the queries, and simpler queries themselves. Additionally, the signature, delete and uniqueid fields can never be confused beacause each cursor for each table retains it's own identity. So how is it relational? Well I wrote my own relational system into my application, so that when I navigate to a record in a cursor, I also look up the records in and child subservient to that cursor. (IMHO that is what relational really means). Now all I have to do is get values from the current records in each cursor. I also have the advantage of being able to present the entire child cursor to the user in a one-to-many environment, as in an invoice where there is a master record and many detail records. My table data is ready made for my invoice detail. It's all in it's own cursor. >> Actually, Bob, you don't need to do two queries... you can do it in >> one... >> also, you don't need to use LIMIT unless you specifically want less >> records >> than what would normally be returned: >> >> SELECT * FROM departments WHERE departments.deptid IN (SELECT >> employees.deptid FROM employees) >> The LIMIT is necessary because I am working towards a paging system that will handle HUGE databases of unlimited size. This will get around Revolutions limits on how much data can be returned in a cursor (the limits of which I still do not have a definitive answer on). This is why I need to use the SELECT for the master table as a lookup in the child table. I do not use Revolution's built in queries because what I need to do is more than just read data from a table and let the user edit it. I need to do complex validations. For instance using the example above, if someone edits a deptid in the department table, I need to go find every other table that uses deptid, look up the old value and change it to the new value. Otherwise I break the relational link between those records. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From jacque at hyperactivesw.com Thu Feb 5 13:02:54 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Feb 2009 12:02:54 -0600 Subject: Mask In-Reply-To: <427000.45734.qm@web37508.mail.mud.yahoo.com> References: <427000.45734.qm@web37508.mail.mud.yahoo.com> Message-ID: <498B29CE.1030705@hyperactivesw.com> Richmond Mathewson wrote: > Hey, Look, Richmond is reinventing the wheel :) > > would be grateful if anybody can tell me why: > > put the charToNum(char 10 of the mask of img"GOTTIT") into fld "fNEW" > > throws a > > compiling at 7:39:53 PM > Type Function: missing 'of' > Object Mask > Line put the charToNum(char 10 of the mask of img"GOTTIT") into fld "fNEW" > Hint > > the thing that I like the most is the 'Hint' :) There are two ways to write built-in functions: function() or: the function of You are combining the two, and like it says, you are missing "of". You can fix it either of these ways: put the charToNum of char 10 of the mask of img"GOTTIT" into fld "fNEW" put charToNum(char 10 of the mask of img"GOTTIT") into fld "fNEW" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toncardona at mac.com Thu Feb 5 13:13:53 2009 From: toncardona at mac.com (=?ISO-8859-1?Q?Melit=F3n_Cardona_Torres?=) Date: Thu, 05 Feb 2009 19:13:53 +0100 Subject: Mask (Richmond Mathewson) Message-ID: Hi, put the charToNum(char 10 of the mask of img"GOTTIT") into fld "fNEW" should either be: put the charToNum of char 10 of the mask of img "GOTTIT" into fld "fNEW" or put charToNum(char 10 of the mask of img "GOTTIT") into fld "fNEW" In both cases, img"GOTTIT" should be img "GOTTIT", using a space to account for 2 words. Cheers, Ton From geradamas at yahoo.com Thu Feb 5 13:50:33 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 5 Feb 2009 10:50:33 -0800 (PST) Subject: Mask Message-ID: <709154.97423.qm@web37508.mail.mud.yahoo.com> Thank you v. much for your help, Melit?n Cardona Torres and J. Landman Gay; I realised about 2 seconds after I had sent off that message that I had a silly "the" in there. But, as usual, I ran up against another something: put charToNum(char 10 of the mask of img"GOTTIT") into fld "fNEW" returns nothing - presumably because img "GOTTIT" doesn't have a mask. A few years back I made some non-rectangular stacks using a background image and a mask of the same size; however, as far as I remember both of them were JPEG images (the mask being a 2-bit jpeg) - now that doesn't seem to be what I imagined as MASK when referring to GIF images. I would like to import a snapshot of something that lies on a layer over a white background, and then having set the snapshot's white portions to TRANSPARENT [and, I have got that far !], export the resultant image as either a GIF or PNG, retaining the transparency: that is where I am falling on my nose. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From h at FlexibleLearning.com Thu Feb 5 13:55:45 2009 From: h at FlexibleLearning.com (Hugh Senior) Date: Thu, 5 Feb 2009 18:55:45 -0000 Subject: Using SHELL to get a list of processes In-Reply-To: <20090205111300.F1CD248A856@mail.runrev.com> Message-ID: Goal: Using shell()to determine if my Rev app is among the line of all running processes. If so, then user has started a second instance and I want to quit. Task 1: Get a list of all running processes and IDs. Task 2: Get the process name and ID of my Rev app. With me so far? Okay... I should be able to get a list of all running process using "ps -e" (according to http://www.ss64.com/bash/ps.html). So I try this in the message box, hoping to see some sort of a list: answer shell("ps -e") What I get instead is 'ps is not recognised as an internal or external command, operable program or batch file.' Same result using shell("top") and shell("list-processes"). So what stupidity am I doing, please (apart from naively expecting the syntax to work)? And how do I get the process name & ID of the app? /H From scott at elementarysoftware.com Thu Feb 5 14:02:43 2009 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 5 Feb 2009 11:02:43 -0800 Subject: Printer driver crash on Win In-Reply-To: <498B25F1.3030904@hyperactivesw.com> References: <8B4B45C13A2B4B14B77E9D6FAA1E6406@Kestner.local> <498B25F1.3030904@hyperactivesw.com> Message-ID: <8F850552-3A72-4333-892A-8A465456F421@elementarysoftware.com> I have a client experiencing this problem (application quits) on one machine under Windows XP. All the rest of the machines at his site print correctly with this application. We have tried several times to solve this but for now he is just not using that particular computer to print with this application. The print routine uses open printing and close printing. I haven't been able to duplicate this on any of my machines. Scott Morrow Elementary Software On Feb 5, 2009, at 9:46 AM, J. Landman Gay wrote: > Tiemo Hollmann TB wrote: >> Hello, >> I've posted this already a couple of month ago, but wanted to ask, if >> anybody else has experienced same problems with Rev 3.0 on Win XP. >> Some (rare) customers of mine complain that my prog crashes, when >> they call >> the print dialog. I am just using: >> Answer printer >> Print card >> There is a crash report in the QCC, concerning a not existing default >> printer, but I couldn't verify, if that's the same situation at my >> customers. >> I tell my customers, they should look for an update of their >> printer driver, >> but they tell me, their other progs can print without crash. >> Has anybody experienced this behaviour and knows of any workaround? > > I don't know the workaround, but someone else sent a ticket to the > support queue saying that "print script" in the IDE also crashes the > same way. He is going to submit a bug report for it. > > You might see if specifically opening the print queue helps: > > open printing > print this card > close printing > > I haven't tried it, but it would be worth seeing if that works. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From briany at qldlearning.com Thu Feb 5 14:04:46 2009 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 5 Feb 2009 11:04:46 -0800 Subject: Another SQL question In-Reply-To: <87BFE54E-B947-417F-94F0-F7F3D2B11D64@twft.com> References: <1E5AC2CD-226A-4D07-9F82-013A22630EF0@qldlearning.com> <87BFE54E-B947-417F-94F0-F7F3D2B11D64@twft.com> Message-ID: <11B4B2A1-B43B-4C6E-860F-F0147F0B75F0@qldlearning.com> Hey Bob, Hope these notes help - sounds like a fun project. > It looks like your query above is going the opposite direction, > looking up customers that match the deptid in departments. I am > looking for department records whose deptid only exist in the > customer cursor. More on paging later. Other than returning fields from both tables, my query should return identical results. It may just be a matter of style, but using IN with a sub-select seemed like overkill if you are just trying to match two tables based on the "deptid" field. Add a third table and the join grows elegantly, but you will probably not want to nest another SELECT for each table. If you just want fields from the departments table, you could say: SELECT DISTINCT departments.* FROM customers,departments WHERE customers.deptid = departments.deptid If you had a short list of customers, you could say something like: SELECT customer.id, department.id, department.name FROM customers,departments WHERE customer.id IN (1,2,3,4,5,6...) AND customers.deptid = departments.deptid Now you've got all of your departments listed by customer. > Aye, I could return all the data with one query. The problem though > is that my app is going to contain some fairly complex queries with > multiple relations, and I have to construct these queries via > conditional coding. Also, I do not WANT to return data from 2 tables > in one cursor. First of all, I have like data in multiple tables > (deptid in customers and also in departments for example) as well as > a signature field, a deleted flag field, and a unique ID field in > EVERY table. I need these values for every record in every table. > That would mean I would have to use column aliases, so now my SQL > construction code would have to be orders of magnitude more > complicated, and much more difficult to troubleshoot should the > queries not return what I expect. Not impossible, just complicated. You know your app best, but I would raise a red flag here. Avoiding multiple table queries could really set you back if you want to scale to large databases. When you've got 1,000,000 records in a table, your database engine won't blink joining it to another table provided you have indexed fields and a reasonable query. However, if you try to dump 100,000 of those IDs into an IN() portion of a subsequent query, prepare to wait. (NOTE: a sub-select can still work here, but may be harder to generate on the fly, especially with 3+ tables). If these subsequent queries are always going to use just a small "page" of records to join against, then it's probably fine either way. On column aliases... What API are you using to fetch your field values? Could you just use a fully qualified naming convention: SELECT department.name AS department_name, customer.name AS customer_name FROM ... Alternatively, you could reference fields by number, and track the field names outside of SQL. In that case, it's valid SQL to just use the same field names: SELECT department.name, customer.name FROM ... (fetch department.name as field #1, customer.name as field #2). > The method I am using instead is to return each table as it's own > cursor, resulting in MUCH simpler code to construct the queries, and > simpler queries themselves. Additionally, the signature, delete and > uniqueid fields can never be confused beacause each cursor for each > table retains it's own identity. So how is it relational? Well I > wrote my own relational system into my application, so that when I > navigate to a record in a cursor, I also look up the records in and > child subservient to that cursor. (IMHO that is what relational > really means). Now all I have to do is get values from the current > records in each cursor. This is perfectly fine if it works for you. Just keep in mind that it really doesn't scale if you have large cursors. Performing 100 or 1000 queries versus 1 multi-table query will be no contest. But if your parent cursor is always trimmed to a reasonable size, you'll be fine. No doubt simpler code and simpler queries are a big win when you are trying to write a tool for the general case. I would just be careful if you are worried about performance not to do this (pseudo-code): ## N + 1 queries for N customers put query("SELECT id,deptid FROM customers WHERE state = 'CA'") into customerData repeat for each line customerDetails in customerData put item 1 of customerDetails into customerID put item 2 of customerDetails into deptid put query("SELECT * FROM department WHERE deptid = "&deptid) into departments[customerID] end repeat ## 1 query put query("SELECT customer.id,department.id,department.name FROM customer,department WHERE customer.deptid = department.deptid") into customerData Again, it depends. If N = 25, then maybe you stick with the cleaner looking code. But if N = 10,000 ... > I also have the advantage of being able to present the entire child > cursor to the user in a one-to-many environment, as in an invoice > where there is a master record and many detail records. My table > data is ready made for my invoice detail. It's all in it's own cursor. Sounds good, although I'm not sure I see how multi-table queries would stop you from doing this. If anything, it will just get you all of the master/detail information in one "combined" table with exactly the fields you want instead of having to grab a parent record and then assemble all of the child data with separate queries. > The LIMIT is necessary because I am working towards a paging system > that will handle HUGE databases of unlimited size. This will get > around Revolutions limits on how much data can be returned in a > cursor (the limits of which I still do not have a definitive answer > on). This is why I need to use the SELECT for the master table as a > lookup in the child table. Amen, LIMIT is your friend. Keep in mind, it works with multi-table queries as well. You can also use DISTINCT to remove duplicates. I'm not sure I follow the second comment. A multiple table query won't return any larger data sets unless you include more fields in your query. > I do not use Revolution's built in queries because what I need to do > is more than just read data from a table and let the user edit it. I > need to do complex validations. For instance using the example > above, if someone edits a deptid in the department table, I need to > go find every other table that uses deptid, look up the old value > and change it to the new value. Otherwise I break the relational > link between those records. Keep in mind that most database engines have built-in abilities to manage relations. That's not to say you can't do it yourself, but the use-case you describe above is handled automatically by MySQL, Valentina, SQL Server, etc. You just need to set up the constraints in your database schema and you can do cascading deletes, set fields to NULL, or throw an exception depending on your needs Generally speaking, your approach may be fine for your application. It sounds like you are doing things from a 'FileMaker' like view where you only have a small number of records visible at a time. Thus there never will be a case where you have 100,000 parent records to deal with at once. However, if later you want more advanced reporting or querying capabilities, you may need the scalability. HTH From h at FlexibleLearning.com Thu Feb 5 14:12:38 2009 From: h at FlexibleLearning.com (Hugh Senior) Date: Thu, 5 Feb 2009 19:12:38 -0000 Subject: Using SHELL to get a list of processes In-Reply-To: Message-ID: Duh! I just found TASKLIST which works... get shell("TASKLIST"). And the processID returns the id of the app. So I think I have got the necessary bits to check for multiple instances now. Apologies for bandwidth. Maybe this will help someone searching the archives in the future. /H -----Original Message----- From: Hugh Senior [mailto:h at FlexibleLearning.com] Sent: 05 February 2009 18:56 To: use-revolution at lists.runrev.com Subject: Using SHELL to get a list of processes Goal: Using shell()to determine if my Rev app is among the line of all running processes. If so, then user has started a second instance and I want to quit. Task 1: Get a list of all running processes and IDs. Task 2: Get the process name and ID of my Rev app. With me so far? Okay... I should be able to get a list of all running process using "ps -e" (according to http://www.ss64.com/bash/ps.html). So I try this in the message box, hoping to see some sort of a list: answer shell("ps -e") What I get instead is 'ps is not recognised as an internal or external command, operable program or batch file.' Same result using shell("top") and shell("list-processes"). So what stupidity am I doing, please (apart from naively expecting the syntax to work)? And how do I get the process name & ID of the app? /H From m.schonewille at economy-x-talk.com Thu Feb 5 14:25:25 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 5 Feb 2009 20:25:25 +0100 Subject: Using SHELL to get a list of processes In-Reply-To: References: Message-ID: <4B674020-2A67-49A0-AAE6-2EA2AC21C300@economy-x-talk.com> Hi Hugh, If you want to run only one instance of your standalone at a time, you need to include a relaunch handler in your stack script. Assuming that you want the existing instance to come to the foreground when the second instance is launched and that you want the second instance to quit immediately, all you need is to catch the message and not pass it: on relaunch return empty -- just for clarity, if you like end relaunch If you return "background", the second instance is terminated, but the first instance won't be activated. If you pass the message, the second instance will run. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 5 feb 2009, at 19:55, Hugh Senior wrote: > Goal: > Using shell()to determine if my Rev app is among the line of all > running > processes. If so, then user has started a second instance and I want > to > quit. > > Task 1: Get a list of all running processes and IDs. > Task 2: Get the process name and ID of my Rev app. > > With me so far? Okay... > > I should be able to get a list of all running process using "ps -e" > (according to http://www.ss64.com/bash/ps.html). > > So I try this in the message box, hoping to see some sort of a list: > > answer shell("ps -e") > > What I get instead is 'ps is not recognised as an internal or external > command, operable program or batch file.' > > Same result using shell("top") and shell("list-processes"). > > So what stupidity am I doing, please (apart from naively expecting the > syntax to work)? And how do I get the process name & ID of the app? > > /H From m.schonewille at economy-x-talk.com Thu Feb 5 14:28:41 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 5 Feb 2009 20:28:41 +0100 Subject: Using SHELL to get a list of processes In-Reply-To: References: Message-ID: <11F85CA5-73D7-436D-90C2-C53E9BF1B3D3@economy-x-talk.com> Hi Hugh, If you want to run only one instance of your standalone at a time, you need to include a relaunch handler in your stack script. Assuming that you want the existing instance to come to the foreground when the second instance is launched and that you want the second instance to quit immediately, all you need is to catch the message and not pass it: on relaunch return empty -- just for clarity, if you like end relaunch If you return "background", the second instance is terminated, but the first instance won't be activated. If you pass the message, the second instance will run. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 5 feb 2009, at 19:55, Hugh Senior wrote: > Goal: > Using shell()to determine if my Rev app is among the line of all > running > processes. If so, then user has started a second instance and I want > to > quit. > > Task 1: Get a list of all running processes and IDs. > Task 2: Get the process name and ID of my Rev app. > > With me so far? Okay... > > I should be able to get a list of all running process using "ps -e" > (according to http://www.ss64.com/bash/ps.html). > > So I try this in the message box, hoping to see some sort of a list: > > answer shell("ps -e") > > What I get instead is 'ps is not recognised as an internal or external > command, operable program or batch file.' > > Same result using shell("top") and shell("list-processes"). > > So what stupidity am I doing, please (apart from naively expecting the > syntax to work)? And how do I get the process name & ID of the app? > > /H From scott at tactilemedia.com Thu Feb 5 14:35:00 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 05 Feb 2009 11:35:00 -0800 Subject: Using SHELL to get a list of processes In-Reply-To: Message-ID: Recently, Hugh Senior wrote: > Goal: > Using shell()to determine if my Rev app is among the line of all running > processes. If so, then user has started a second instance and I want to > quit. > > Task 1: Get a list of all running processes and IDs. > Task 2: Get the process name and ID of my Rev app. > > With me so far? Okay... > > I should be able to get a list of all running process using "ps -e" > (according to http://www.ss64.com/bash/ps.html). > > So I try this in the message box, hoping to see some sort of a list: > > answer shell("ps -e") > > What I get instead is 'ps is not recognised as an internal or external > command, operable program or batch file.' > > Same result using shell("top") and shell("list-processes"). > > So what stupidity am I doing, please (apart from naively expecting the > syntax to work)? And how do I get the process name & ID of the app? This worked for me: put "ps -A" into tCommand answer shell(tCommand) Revolution is in the result. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From jacque at hyperactivesw.com Thu Feb 5 14:44:42 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Feb 2009 13:44:42 -0600 Subject: Using SHELL to get a list of processes In-Reply-To: References: Message-ID: <498B41AA.9010802@hyperactivesw.com> Hugh Senior wrote: > Duh! > > I just found TASKLIST which works... get shell("TASKLIST"). > > And the processID returns the id of the app. > > So I think I have got the necessary bits to check for multiple instances > now. You might want to look at the "relaunch" command instead of using shell. It is specifically designed to catch multiple app instances and redirect to the one that was running first. No shell command necessary. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geradamas at yahoo.com Thu Feb 5 14:45:39 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 5 Feb 2009 11:45:39 -0800 (PST) Subject: Transparent Message-ID: <187113.81593.qm@web37501.mail.mud.yahoo.com> Thank you Wilhelm Sanke for you scripting advice. Working from your advice I wrote the following script: on mouseUp put top of group "gX" into TOPP put bottom of group "gX" into BUM put left of group "gX" into LEFTT put right of group "gX" into RITE put LEFTT & "," & TOPP & "," & RITE & "," & BUM into fld "fRECT" put fld "fRECT" into FRECT put the windowID of this stack into WINDY set the fileType to empty export snapshot from rect FRECT of window WINDY to img "HOLDER" as PNG set the alphaData of img "HOLDER" to the alphaData of img "TRANS" export img "HOLDER" to file "GOTTIT.png" as PNG end mouseUp where the group "gX" contains an odd-shaped image and a transparent button. Everything works well until: set the alphaData of img "HOLDER" to the alphaData of img "TRANS" which makes ALL of the image "HOLDER" transparent! sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From jacque at hyperactivesw.com Thu Feb 5 14:46:12 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Feb 2009 13:46:12 -0600 Subject: Printer driver crash on Win In-Reply-To: <8F850552-3A72-4333-892A-8A465456F421@elementarysoftware.com> References: <8B4B45C13A2B4B14B77E9D6FAA1E6406@Kestner.local> <498B25F1.3030904@hyperactivesw.com> <8F850552-3A72-4333-892A-8A465456F421@elementarysoftware.com> Message-ID: <498B4204.2050007@hyperactivesw.com> Scott Morrow wrote: > I have a client experiencing this problem (application quits) on one > machine under Windows XP. All the rest of the machines at his site > print correctly with this application. We have tried several times to > solve this but for now he is just not using that particular computer to > print with this application. The print routine uses open printing and > close printing. I haven't been able to duplicate this on any of my > machines. Hate when that happens. Does his machine use the same print drivers as the others? Since you've been troubleshooting, I assume it does, but it never hurts to ask. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benr at cogapp.com Thu Feb 5 14:45:55 2009 From: benr at cogapp.com (Ben Rubinstein) Date: Thu, 05 Feb 2009 19:45:55 +0000 Subject: convert to lower ascii 128? In-Reply-To: <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> Message-ID: <498B41F3.5000501@cogapp.com> From the dept of "Please don't let my wife or boss know that I've been wasting time on this".... Chipp Walters wrote: > Interesting note: I found the following results: > function altAsciiScrub2 pText > put replacetext(pText,"[" & numToChar(129) & "-" & numToChar(255) & > "]","") into pText > put replacetext(pText,"[" & numToChar(1) & "-" & numToChar(31) & "]","") > into pText > return pText > end altAsciiScrub2 > > executed in 19 ticks on my QuadCore Vista 64 machine > > function altAsciiScrub1 pText > repeat for each char c in pText > get charToNum(c) > if it > 128 or it < 32 then > next repeat > end if > put c after t > end repeat > return t > end altAsciiScrub1 > > executed in 17 ticks on my QuadCore Vista 64 machine > > repeat for each is really fast. Looking this I couldn't help wondering "does it make a difference if there are a lot of high-code characters to delete?" and "regex is a bit slower: but does the setup of regex pay off if the string is long enough"? (Chipp didn't specify what kind of input he wanted to work on, or tested with.) And I also wondered, "what other ways could we trade off setup over a long repeat"? (BTW strictly speaking ASCII is 0-127; both the routines above are allowing 128. I only mention because it took me a while to figure out why my routines sometimes returned different results to the above two; the difference depended on whether there as a character with code 128 in the test string.) So I implemented another couple of options: one taking Devin's suggestion of calling replace with the characters you don't want: thus only calling numtochar/chartonum a fixed number of times, regardless of the length of time. function asciiScrub3 pText set the caseSensitive to true -- delete any characters below space repeat with i = 0 to 31 replace numtochar(i) with empty in pText end repeat -- delete any characters above ASCII repeat with i = 128 to 255 replace numtochar(i) with empty in pText end repeat return pText end asciiScrub3 As you'd expect, this is much slower than the above approaches for a short string; but it is slightly faster than either of them for a large string - more so if there are a lot of high-code characters in the string. In my work, I'm often dealing with non-ASCII characters; but it rarely suffices to delete them, I generally need to convert them to something else (either the relevant ASCII character, or to another character set). The built-in functions in Rev are often frustratingly just off the mark for this, so I tend to just run the characters through an array, blessing each time I do so how fast repeat for each is, and how fast arrays are. So I naturally wondered how that approach would work even when I just wanted to delete the characters over 128: function asciiScrub4 pText set the caseSensitive to true -- set up array to map characters we want to retain to themselves put empty into a repeat with i = 32 to 127 get numtochar(i) put it into a[it] end repeat -- filter the string through the array set up above put empty into t repeat for each char c in pText put a[c] after t end repeat return t end asciiScrub4 Again, as you'd expect, the setup time costs on a short string. But on large blocks of text, this turned out to be the fastest method - not quite twice as fast as the original two, but getting there. As for composition, it makes less of a difference than I thought; all functions are slightly faster if the source string contains more high-code characters (ie if the output string is shorter); there doesn't seem to be a very significant difference between how routines are affected by this. Mostly what I demonstrated was that all the approaches are so fast that especially on a short string it's hard to get any significance in the relative timings - you'd have to be doing a vast amount of processing to justify spending any time doing better than whatever the first approach you came up with was. And that sometimes I'll do almost anything to avoid the work I should be getting on with... - Ben From francois.chaplais at mines-paristech.fr Thu Feb 5 14:49:48 2009 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 5 Feb 2009 20:49:48 +0100 Subject: Using SHELL to get a list of processes In-Reply-To: References: Message-ID: <3CD285E7-3C72-4CE1-9486-3F7B38406ABA@mines-paristech.fr> Le 5 f?vr. 09 ? 19:55, Hugh Senior a ?crit : > Goal: > Using shell()to determine if my Rev app is among the line of all > running > processes. If so, then user has started a second instance and I want > to > quit. > > Task 1: Get a list of all running processes and IDs. > Task 2: Get the process name and ID of my Rev app. > > With me so far? Okay... > > I should be able to get a list of all running process using "ps -e" > (according to http://www.ss64.com/bash/ps.html). > > So I try this in the message box, hoping to see some sort of a list: > > answer shell("ps -e") > > What I get instead is 'ps is not recognised as an internal or external > command, operable program or batch file.' > > Same result using shell("top") and shell("list-processes"). > > So what stupidity am I doing, please (apart from naively expecting the > syntax to work)? And how do I get the process name & ID of the app? > > /H have you tried get shell("ps -aA") answer it (just read man ps on my mac's terminal) should work on any *nix system; I guess HTH Fran?ois From sanke at hrz.uni-kassel.de Thu Feb 5 14:54:38 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 05 Feb 2009 20:54:38 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? Message-ID: <498B43FE.8030601@hrz.uni-kassel.de> Both Chipp's "ButtonGadget" and Richmond's "Button Basher" automate the process of glueing together images with text - and other properties - and finally produce buttons with 2 or 4 icon states. Chipp's application possesses a number of nice and useful features, which otherwise you may find only in other commercial or open-source Photo tools. Richmond will probably develop his stack in a similar direction. It is good to know that there are quite a number of possibilities inside Revolution. Of course one could also use low-priced or free photo tools for such tasks, like "RealDraw Pro" (which I use a lot), "PaintShopPro", or "Gimp". The result of all these approaches are buttons or images with "static" text, i.e. text that needs not and cannot be changed - with the exception that you could produce different texts, colors etc. for the different icon states. This is probably sufficient for the majority of applications in which buttons are being used. However, in some cases, especially for certain types of educational software, you need the feature to be able to *dynamically* change the text/label of buttons at runtime. As an example, imagine a Matching Exercise for second-language learning where you have got two columns of 10 buttons each - one columns of buttons with words of the first language, the other column for the second language - in which you have to drag the matching button near to the foreign language equivalent. Then after all pairs have been correctly matched, a new set of 10x2 words or expressions are being displayed in the labels of the 20 buttons etc. etc. We use quite a variety of such exercises for the students studying in our Language Department that rely on assigning new labels dynamically from an attached database or a hidden vocabulary field inside the stack itself. If you just use normal buttons - without icon images - there is of course no problem to achieve such dynamic setting of labels, but if you choose to be creative with presumeably more appealing buttons with icon images and transparent shapes then you run into difficulties: - The name or label of a button can be displayed on the right or the left side of an icon or *beneath* the icon, but not directly *on top* of an icon. If the latter would be the case, this would be very convenient for dynamic label setting. About 10 years ago - or maybe even earlier - I had asked Scott Raney to introduce such a feature for Metacard, but apparently it was of limited priority on his agenda. - The other possibility to place text directly over icon images is to set an icon as a backpattern of the button. This works fine as long as the icons are rectangular, when they are oddshaped, however, the transparent parts of the image show as black. I assume that this basically could be changed in a future version of Revolution so that the transparent parts of backpattern really would remain as transparent. Lacking such features at present, one workaround would be to take a labelles/nameless button with several icon states and to combine the button with a graphic/field, grouped together with the button or just as an overlay to the button. This is one way to achieve dynamic setting of labels at runtime.- I have put together a very small stack that just shows four different icon images and four dynamic button entities which replaceable text; this is not an educational exercise, just demonstrating in which ways buttons and graphics could be combined. (I will be out of home and office for the next three days.) Regards, Wilhelm Sanke From DunbarX at aol.com Thu Feb 5 15:09:56 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 5 Feb 2009 15:09:56 EST Subject: Regular expressions Message-ID: OK, got the list of these, and I understand all of them but two: 1- The asterisk matches zero or more occurrences of the preceding character or pattern... So why does "ZA*B" match "ZB", but does not match "AB"" And the "+" matches one or more occurrences of the preceding character or pattern So why does "ZA*B" match "AB", but does not match "ZB"? I know it will be obvious in about 20 minutes, when I get the first repsonses. Powerful tools, though. Craig Newman ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad. doubleclick.net/clk;211531132;33070124;e) From klaus at major-k.de Thu Feb 5 15:11:05 2009 From: klaus at major-k.de (Klaus Major) Date: Thu, 5 Feb 2009 21:11:05 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <498B43FE.8030601@hrz.uni-kassel.de> References: <498B43FE.8030601@hrz.uni-kassel.de> Message-ID: <3CFB82F7-F1C8-490D-8E4D-CE06BC8D747A@major-k.de> Hi Wilhelm, > Both Chipp's "ButtonGadget" and Richmond's "Button Basher" automate > the process of glueing together images with text - and other > properties - and finally produce buttons with 2 or 4 icon states. > > Chipp's application possesses a number of nice and useful features, > which otherwise you may find only in other commercial or open-source > Photo tools. Richmond will probably develop his stack in a similar > direction. It is good to know that there are quite a number of > possibilities inside Revolution. > > Of course one could also use low-priced or free photo tools for such > tasks, like "RealDraw Pro" (which I use a lot), "PaintShopPro", or > "Gimp". > > The result of all these approaches are buttons or images with > "static" text, i.e. text that needs not and cannot be changed - with > the exception that you could produce different texts, colors etc. > for the different icon states. > > This is probably sufficient for the majority of applications in > which buttons are being used. > > However, in some cases, especially for certain types of educational > software, you need the feature to be able to *dynamically* change > the text/label of buttons at runtime. > As an example, imagine a Matching Exercise for second-language > learning where you have got two columns of 10 buttons each - one > columns of buttons with words of the first language, the other > column for the second language - in which you have to drag the > matching button near to the foreign language equivalent. > Then after all pairs have been correctly matched, a new set of 10x2 > words or expressions are being displayed in the labels of the 20 > buttons etc. etc. > > We use quite a variety of such exercises for the students studying > in our Language Department that rely on assigning new labels > dynamically from an attached database or a hidden vocabulary field > inside the stack itself. > > If you just use normal buttons - without icon images - there is of > course no problem to achieve such dynamic setting of labels, but if > you choose to be creative with presumeably more appealing buttons > with icon images and transparent shapes then you run into > difficulties: > > - The name or label of a button can be displayed on the right or the > left side of an icon or *beneath* the icon, but not directly *on > top* of an icon. If the latter would be the case, this would be very > convenient for dynamic label setting. > About 10 years ago - or maybe even earlier - I had asked Scott Raney > to introduce such a feature for Metacard, but apparently it was of > limited priority on his agenda. > > - The other possibility to place text directly over icon images is > to set an icon as a backpattern of the button. This works fine as > long as the icons are rectangular, when they are oddshaped, however, > the transparent parts of the image show as black. > I assume that this basically could be changed in a future version of > Revolution so that the transparent parts of backpattern really would > remain as transparent. > > Lacking such features at present, one workaround would be to take a > labelles/nameless button with several icon states and to combine the > button with a graphic/field, grouped together with the button or > just as an overlay to the button. This is one way to achieve dynamic > setting of labels at runtime.- > > I have put together a very small stack that just shows four > different icon images and four dynamic button entities which > replaceable text; this is not an educational exercise, just > demonstrating in which ways buttons and graphics could be combined. > > > > (I will be out of home and office for the next three days.) > > Regards, > > Wilhelm Sanke See also my "enhancement request" from about two years ago: http://quality.runrev.com/qacenter/show_bug.cgi?id=3265 I do not think this is too difficult for a man like Mark W., but... ;-) Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From jacque at hyperactivesw.com Thu Feb 5 15:14:41 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Feb 2009 14:14:41 -0600 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <498B43FE.8030601@hrz.uni-kassel.de> References: <498B43FE.8030601@hrz.uni-kassel.de> Message-ID: <498B48B1.9080909@hyperactivesw.com> Wilhelm Sanke wrote: > - The name or label of a button can be displayed on the right or the > left side of an icon or *beneath* the icon, but not directly *on top* of > an icon. Actually, if you jiggle the top and bottom margin settings of the button, you can achieve this. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Thu Feb 5 15:39:36 2009 From: klaus at major-k.de (Klaus Major) Date: Thu, 5 Feb 2009 21:39:36 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <498B48B1.9080909@hyperactivesw.com> References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> Message-ID: <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> Hi Jaquelin, > Wilhelm Sanke wrote: > >> - The name or label of a button can be displayed on the right or >> the left side of an icon or *beneath* the icon, but not directly >> *on top* of an icon. > Actually, if you jiggle the top and bottom margin settings of the > button, you can achieve this. Hmm, "jiggling" does not sound too professional to me :-D Actually one has to visually check the results for each different image, which make this "option" quite useless. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From geradamas at yahoo.com Thu Feb 5 15:46:00 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 5 Feb 2009 12:46:00 -0800 (PST) Subject: Dynamic labels for buttons with (oddshaped) icon images? Message-ID: <44713.25673.qm@web37501.mail.mud.yahoo.com> Humpf: Just pumped out a couple of blank button images from my "Button Basher" stack and imported them into a new stack; using them as icons for a button. On the stack there is a text field "fNAME" and the button has the following script: on mouseUp set the name of me to fld "fNAME" end mouseUp so everybody can set the NAME of the button to what they wish. Even jiggling while around with the margins allows one to centre the NAME in the button (i.e. over the icon image), this mucks up the image really badly. tried: on mouseUp set the label of me to fld "fNAME" end mouseUp and the effect is just the same: "Label Changer.rev" at revOnline under 'Richmond'. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From briany at qldlearning.com Thu Feb 5 15:53:35 2009 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 5 Feb 2009 12:53:35 -0800 Subject: Regular expressions In-Reply-To: References: Message-ID: <0F255344-ED4C-4F05-890F-2063E6F0FCC3@qldlearning.com> Hi Craig, Read it as "one 'Z' followed by zero or more 'A' followed by one 'B'". Thus the Z and B are required with any number of A in between (including zero). So it would match: ZB ZAB ZAAB ZAAAB And so on. In short, a single letter matches just that - a single letter. The * and + operators change the meaning to "zero or more" and "one or more" respectively. If you want the operator to apply to an entire expression, you need to group the expression in parentheses (or brackets, but that has another meaning). I think you may have a typo in your question, since both of your examples have the same expression - but hopefully that helps. > OK, got the list of these, and I understand all of them but two: > > 1- The asterisk matches zero or more occurrences of the preceding > character > or pattern... > > So why does "ZA*B" match "ZB", but does not match "AB"" > > And the "+" matches one or more occurrences of the preceding > character or > pattern > > So why does "ZA*B" match "AB", but does not match "ZB"? > > I know it will be obvious in about 20 minutes, when I get the first > repsonses. > > Powerful tools, though. > > Craig Newma From geradamas at yahoo.com Thu Feb 5 15:57:52 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 5 Feb 2009 12:57:52 -0800 (PST) Subject: Dynamic labels for buttons with (oddshaped) icon images? Message-ID: <211972.73622.qm@web37504.mail.mud.yahoo.com> AND, look at what happens to an image used as an icon when the button name/label lies over it: "Label Changer.rev" at revOnline under 'Richmond'. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From scott at elementarysoftware.com Thu Feb 5 16:01:52 2009 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 5 Feb 2009 13:01:52 -0800 Subject: Printer driver crash on Win In-Reply-To: <498B4204.2050007@hyperactivesw.com> References: <8B4B45C13A2B4B14B77E9D6FAA1E6406@Kestner.local> <498B25F1.3030904@hyperactivesw.com> <8F850552-3A72-4333-892A-8A465456F421@elementarysoftware.com> <498B4204.2050007@hyperactivesw.com> Message-ID: <85FAFC45-2CF4-4213-B758-70EA1D564BDD@elementarysoftware.com> I asked them to make sure they were using the latest drivers. His tech guy came by and I think made sure this computer was running the latest... but, of course, that isn't the same as seeing if the drivers are identical. Mostly I think they didn't want to fool with it anymore (can't blame them) Next time we revisit this I'll check. Scott Morrow Elementary Software On Feb 5, 2009, at 11:46 AM, J. Landman Gay wrote: > Scott Morrow wrote: >> I have a client experiencing this problem (application quits) on >> one machine under Windows XP. All the rest of the machines at his >> site print correctly with this application. We have tried several >> times to solve this but for now he is just not using that >> particular computer to print with this application. The print >> routine uses open printing and close printing. I haven't been able >> to duplicate this on any of my machines. > > Hate when that happens. Does his machine use the same print drivers > as the others? Since you've been troubleshooting, I assume it does, > but it never hurts to ask. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sanke at hrz.uni-kassel.de Thu Feb 5 16:04:40 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 05 Feb 2009 22:04:40 +0100 Subject: Transparent Message-ID: <498B5468.6060006@hrz.uni-kassel.de> Transparent Richmond Mathewson geradamas at yahoo.com wrote: > Working from your advice I wrote the following script: > > on mouseUp > put top of group "gX" into TOPP > put bottom of group "gX" into BUM > put left of group "gX" into LEFTT > put right of group "gX" into RITE > put LEFTT & "," & TOPP & "," & RITE & "," & BUM into fld "fRECT" > put fld "fRECT" into FRECT > put the windowID of this stack into WINDY > set the fileType to empty > export snapshot from rect FRECT of window WINDY to img "HOLDER" > as PNG > set the alphaData of img "HOLDER" to the alphaData of img "TRANS" > export img "HOLDER" to file "GOTTIT.png" as PNG > end mouseUp > > where the group "gX" contains an odd-shaped image and a transparent > button. > > Everything works well until: > > set the alphaData of img "HOLDER" to the alphaData of img "TRANS" > > which makes ALL of the image "HOLDER" transparent! If you group a field or another object its dimensions are different from the rect of the original field. However, to apply imagedata or alphadata from one object to the other both objects must possess exactly the same dimensions. What does "transparent button" mean in your case? "opaque" set to false? I thought your aim was - to place text on an image - and then later to integrate this text image as an icon in a button. This could be achieved by placing a graphic or field with text over the image. The rect of the graphic or field must be equal or smaller than that of the image and it must be inside the rect of the image. There is no need to group graphic and image at this point. Then you can use "export snapshot from rect(the rect of img "trans") of this card to img "placeholder" as PNG set the alphadata of img "Placeholder" to the alphadata of img "trans"" Only these two short lines are needed. ==================== I have to start to pack my luggage now. Best regards, Wilhelm Sanke From jacque at hyperactivesw.com Thu Feb 5 16:10:36 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Feb 2009 15:10:36 -0600 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> Message-ID: <498B55CC.4010609@hyperactivesw.com> Klaus Major wrote: > Hi Jaquelin, > >> Wilhelm Sanke wrote: >> >>> - The name or label of a button can be displayed on the right or the >>> left side of an icon or *beneath* the icon, but not directly *on top* >>> of an icon. >> Actually, if you jiggle the top and bottom margin settings of the >> button, you can achieve this. > > Hmm, "jiggling" does not sound too professional to me :-D > > Actually one has to visually check the results for each different image, > which make this "option" quite useless. True. But if the engine calculated and provided for a vertically centered name, you'd get the same results. So you'd have to "jiggle" some more anyway. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From DunbarX at aol.com Thu Feb 5 16:18:51 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 5 Feb 2009 16:18:51 EST Subject: Regular expressions Message-ID: In a message dated 2/5/09 4:08:48 PM, briany at qldlearning.com writes: > > Read it as "one 'Z' followed by zero or more 'A' followed by one 'B'".? > Thus the Z and B are required with any number of A in between? > (including zero). So it would match: > > ZB > ZAB > ZAAB > ZAAAB > > And so on. > > In short, a single letter matches just that - a single letter. The *? > and + operators change the meaning to "zero or more" and "one or more"? > respectively. If you want the operator to apply to an entire? > expression, you need to group the expression in parentheses (or? > brackets, but that has another meaning). > > I think you may have a typo in your question, since both of your? > examples have the same expression - but hopefully that helps. > Thanks, I see it now, What threw me was the word "pattern" which made me think of the "Z", the "A", or the "ZA". I see now it is only the single preceding char (or pattern), and the "Z" is just there for reference. And yes, I should have had a "+" in the second example. Obvious. Craig Newman ************** Great Deals on Dell Laptops. Starting at $499. (http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad. doubleclick.net/clk;211531132;33070124;e) From klaus at major-k.de Thu Feb 5 16:33:09 2009 From: klaus at major-k.de (Klaus Major) Date: Thu, 5 Feb 2009 22:33:09 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <498B55CC.4010609@hyperactivesw.com> References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> <498B55CC.4010609@hyperactivesw.com> Message-ID: Hi Jacqueline, > Klaus Major wrote: >> Hi Jaquelin, >>> Wilhelm Sanke wrote: >>> >>>> - The name or label of a button can be displayed on the right or >>>> the left side of an icon or *beneath* the icon, but not directly >>>> *on top* of an icon. >>> Actually, if you jiggle the top and bottom margin settings of the >>> button, you can achieve this. >> Hmm, "jiggling" does not sound too professional to me :-D >> Actually one has to visually check the results for each different >> image, which make this "option" quite useless. > > True. But if the engine calculated and provided for a vertically > centered name, you'd get the same results. So you'd have to "jiggle" > some more anyway. :) Maybe, but when you habve a button with no icon, that name/labe is exactly in the center of the button. And it stays there whenever you resize the button. If you have a button with an icon and "showname" = false, the icon is also exactly in the center of the button. And it also stays there whenever you resize the button. Maybe I'm thinking a bit naive, but why shouldn't it then be possible (for the engine) to combine these two "states" and the result would be "the label on top of the icon" :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From mdswindell at cruzio.com Thu Feb 5 16:50:45 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 5 Feb 2009 13:50:45 -0800 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> <498B55CC.4010609@hyperactivesw.com> Message-ID: On Feb 5, 2009, at 1:33 PM, Klaus Major wrote: > Maybe I'm thinking a bit naive, but why shouldn't it then be > possible (for the engine) to combine these two > "states" and the result would be "the label on top of the icon" :-) Troublemaker. From chipp at chipp.com Thu Feb 5 16:58:02 2009 From: chipp at chipp.com (Chipp Walters) Date: Thu, 5 Feb 2009 15:58:02 -0600 Subject: convert to lower ascii 128? In-Reply-To: <498B41F3.5000501@cogapp.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> <498B41F3.5000501@cogapp.com> Message-ID: <665591460902051358y6c178c5ard4286333c2dd12b4@mail.gmail.com> Ben, Thanks for the tests. Illuminating again. You are correct, I was actually running my tests on shorter strings, but hundreds of them in sequence. best, Chipp From david at architex.tv Thu Feb 5 17:25:43 2009 From: david at architex.tv (David Bovill) Date: Thu, 5 Feb 2009 22:25:43 +0000 Subject: Script to change Desktop Image / Wallpaper Message-ID: I'm thinking of writing something that would change the Desktop image - the need at the moment is to do it just on Windows XP machines. Just looking into how hard this would be to do - has anyone done this - can't see an entry in the list - is the only thing needed to change the Windows Registry? Never messed with that before :) From kray at sonsothunder.com Thu Feb 5 17:37:17 2009 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 05 Feb 2009 16:37:17 -0600 Subject: Script to change Desktop Image / Wallpaper In-Reply-To: Message-ID: On 2/5/09 4:25 PM, "David Bovill" wrote: > I'm thinking of writing something that would change the Desktop image - the > need at the moment is to do it just on Windows XP machines. Just looking > into how hard this would be to do - has anyone done this - can't see an > entry in the list - is the only thing needed to change the Windows Registry? > Never messed with that before :) Yes, you need to modify the Registry. You can find the registry entry at: HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper on WinXP Pro... not sure about Vista, but should be the same. Note that if the user has tiling turned on it will apply to the new image as well, but if you open the registry (go to Start -> Run -> type "regedit" and hit Enter) and expand "HKEY_CURRENT_USER", then expand "Control Panel" and then click on the "Desktop" folder, you'll see al lot of settings to the right that you can modify if necessary. HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at tweedly.net Thu Feb 5 17:41:12 2009 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 05 Feb 2009 22:41:12 +0000 Subject: convert to lower ascii 128? In-Reply-To: <665591460902051358y6c178c5ard4286333c2dd12b4@mail.gmail.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> <498B41F3.5000501@cogapp.com> <665591460902051358y6c178c5ard4286333c2dd12b4@mail.gmail.com> Message-ID: <498B6B08.3070202@tweedly.net> Chipp Walters wrote: > Ben, > Thanks for the tests. Illuminating again. You are correct, I was actually > running my tests on shorter strings, but hundreds of them in sequence. > So it might be useful for you to try Ben's fourth (i.e. array-based) method, but do the set-up once using a script-local array. If it's only a small number of hundreds of them, it may still not be worth the setup overhead - but may be a faster option in some cases. local asciiscrub on asciiScrub4SetUp set the caseSensitive to true -- set up array to map characters we want to retain to themselves put empty into asciiscrub repeat with i = 32 to 127 get numtochar(i) put it into asciiscrub[it] end repeat end asciiScrub4SetUp function asciiScrub4 pText -- filter the string through the array set up above put empty into t repeat for each char c in pText put asciiscrub[c] after t end repeat return t end asciiScrub4 -- Alex. From mcgrath3 at mac.com Thu Feb 5 17:53:34 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 05 Feb 2009 17:53:34 -0500 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <498B48B1.9080909@hyperactivesw.com> References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> Message-ID: <699303EF-228A-48C1-97CC-BBB6D05F7A20@mac.com> I looked up "jiggle" in the Revolution Dictionary but could not find any entries??? Is this in the Street Dialect version? Regards, Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 5, 2009, at 3:14 PM, J. Landman Gay wrote: > Wilhelm Sanke wrote: > >> - The name or label of a button can be displayed on the right or >> the left side of an icon or *beneath* the icon, but not directly >> *on top* of an icon. > > Actually, if you jiggle the top and bottom margin settings of the > button, you can achieve this. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Thu Feb 5 18:04:08 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 6 Feb 2009 09:04:08 +1000 Subject: Re Rev timeline stack? In-Reply-To: <0ACF4311-76DA-4DAE-9817-A451C413C3D5@dvglasgow.wanadoo.co.uk> References: <20090201180005.886B448A352@mail.runrev.com> <0ACF4311-76DA-4DAE-9817-A451C413C3D5@dvglasgow.wanadoo.co.uk> Message-ID: >> Has anyone written a timeline stack/group? >> >> I have looked at the software about, which looks luscious (especially Bee >> docs timeline) but it doesn't allow notes etc to be added, or vertical >> timelines with information attached to left and right 'branches' of an >> event. I can't find my veteran HC 'CaseLiner stack anymore, which over 15 >> years ago did what I want, albeit not lusciously at all. >> >> (When I say 'timeline', I don't mean a Gantt chart, but the line with >> stalks and information flags, type of thing) >> >> Best >> >> David Glasgow > > Just a quick repost in the slight hope that the 'draw-a-curve-spat' > distracted attention from the above, and that really timeline Rev stacks are > two a penny. > > More likely not, I suspect - so any thoughts on how to approach the graphic > side? First thought - everything is going to have to be in a group to allow the horizontal scrolling that will be needed. Second thought - the base line can just be a single line object, but for events, have a template group with a stalk, a field and an image object. Clone this group for each new event. Allow typing into the field and selection of an image or deletion of the image object. Rather than try to space out the groups automatically to avoid overlap, I would suggest you allow dragging of the event groups but only in one dimension at a time i.e. you can drag up or down to avoid overlap, or you can drag left & right to re-position on the time line. Only doing one at a time (based on the first significant movement) will make the algorithm for constraining movement a lot easier. HTH, Sarah From sarah.reichelt at gmail.com Thu Feb 5 18:15:31 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 6 Feb 2009 09:15:31 +1000 Subject: Script to change Desktop Image / Wallpaper In-Reply-To: References: Message-ID: On Fri, Feb 6, 2009 at 8:25 AM, David Bovill wrote: > I'm thinking of writing something that would change the Desktop image - the > need at the moment is to do it just on Windows XP machines. Just looking > into how hard this would be to do - has anyone done this - can't see an > entry in the list - is the only thing needed to change the Windows Registry? > Never messed with that before :) My Pic-a-POD program does this. It uses Trevor's QT external to convert the picture to bmp and then Shao Sean's external to set the desktop. I only have the Mac version on this computer, but if you download the Windows version, it's About contains links to both those externals. Cheers, Sarah From chipp at chipp.com Thu Feb 5 18:28:53 2009 From: chipp at chipp.com (Chipp Walters) Date: Thu, 5 Feb 2009 17:28:53 -0600 Subject: convert to lower ascii 128? In-Reply-To: <498B6B08.3070202@tweedly.net> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> <498B41F3.5000501@cogapp.com> <665591460902051358y6c178c5ard4286333c2dd12b4@mail.gmail.com> <498B6B08.3070202@tweedly.net> Message-ID: <665591460902051528t5ecaad2ajc774535498088814@mail.gmail.com> Yup. I could see how that would be faster. From chipp at chipp.com Thu Feb 5 18:35:17 2009 From: chipp at chipp.com (Chipp Walters) Date: Thu, 5 Feb 2009 17:35:17 -0600 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <498B55CC.4010609@hyperactivesw.com> References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> <498B55CC.4010609@hyperactivesw.com> Message-ID: <665591460902051535y526fa5f6q6c5c228f99c4cb4c@mail.gmail.com> Jacque, Please...no more jiggles...this is a family forum and there could be minors around. From katheryn.swynford at gmail.com Thu Feb 5 19:25:53 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Thu, 5 Feb 2009 16:25:53 -0800 Subject: Import temperature and switch on/off the heater with Rev In-Reply-To: References: Message-ID: <4be051070902051625u58749e5g16316b7108ec0813@mail.gmail.com> No, just kidding. On Wed, Feb 4, 2009 at 7:10 AM, wrote: > > > Judy, you aren't really upset? :-( > > Craig Newman > > From lists at futilism.com Thu Feb 5 19:27:08 2009 From: lists at futilism.com (Mark Smith) Date: Fri, 6 Feb 2009 00:27:08 +0000 Subject: convert to lower ascii 128? In-Reply-To: <498B41F3.5000501@cogapp.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> <498B41F3.5000501@cogapp.com> Message-ID: <6F364FE3-F79B-4D46-9853-906FC7643724@futilism.com> While we're on displacement activities :) One of the things that can slow Rev down in a long for loop is the building up of a long output string (I suspect that an awful lot of copying and moving of memory starts to happen). I made a little test of something suggested by someone on this list (Eric Miclo?), that is, that it can be noticably quicker to build up a long string into a file rather than a variable when dealig with a lot of data. What I found on this 2.16G MacBookPro was that after you get to sizes bigger than a few Mb, for each doubling of size, writing to a file doubles the time, while using a variable quadruples the time. If you're interested, you can get the stack I made from: http:// maspub.s3.amazonaws.com/listTest.rev Best, Mark On 5 Feb 2009, at 19:45, Ben Rubinstein wrote: > all functions are slightly faster if the source string contains > more high-code characters (ie if the output string is shorter) From jmyepes at mac.com Thu Feb 5 19:30:56 2009 From: jmyepes at mac.com (Josep) Date: Thu, 5 Feb 2009 16:30:56 -0800 (PST) Subject: ListMagic calculated columns Message-ID: <21864343.post@talk.nabble.com> Hello, I use ListMagic and I need to control the modify of some column values to calculate other columns, the typically calculated column. I found this reading the documentation but I can't obtain any result... :( Any idea of what is the better way to do it? on LMListEdited pWidget,pItem,pLineNo,pOldValue,pNewValue DisplayPrompt "LMListEdited - item" && pItem && "of line" && pLineNo && "-" && pOldValue && ">" && pNewValue -- sent when an item has been edited and changed in the list -- pWidget is the long ID of the widget -- pItem is the item number -- pLineNo is the line number -- pOldValue is previous value -- pNewValue is new vlaue -- write your code here: end LMListEdited Cheers, Josep -- View this message in context: http://www.nabble.com/ListMagic-calculated-columns-tp21864343p21864343.html Sent from the Revolution - User mailing list archive at Nabble.com. From shaosean at wehostmacs.com Thu Feb 5 22:51:30 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 5 Feb 2009 22:51:30 -0500 Subject: [REQ] testers - database abstraction library Message-ID: <151A7995-AEF4-42C1-9F65-1ADA028568C0@wehostmacs.com> Looking for testers to a database abstraction library. The library wraps around the built-in Revolution database calls and offers a simpler method of accessing databases by removing the need to know SQL. This is a work in progress and other features are to be added in over the course of the testing. Current Features: - named connections (no longer having to remember that dbConnID 1 is your MySQL connection) - automatic reconnection to the databse (using the same connection) - simple array notation to pass data to build SQL statements - ability to pass SQL statements for more advanced SQL commands Please only reply if you have the time to test. Please email off-list. -Sean info AT shaosean DOT tk From mdswindell at cruzio.com Fri Feb 6 00:18:12 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 5 Feb 2009 21:18:12 -0800 Subject: chasing the thumb in a scrollbar Message-ID: Can one refer to the location of just the thumb of a scrollbar relative to its window? I want to chase the thumb with a a graphic... essentially a transparent rectangle whose left would stick to the left of a horizontal scrollbar and whose right would follow the thumb as it moves. I can use the mouseLoc to come close, but it isn't exact, and I also need to refer to the loc of the thumb from outside the scrollbarDrag handler. This is the idea: on scrollbarDrag newPosition put the top of graphic "yellowRect" into vTheTop -- maintains height of graphic put the bottom of graphic "yellowRect" into vTheBottom -- maintains hieght of graphic put the left of scrollbar 1 into vTheLeft -- sets left of graphic to the left of the scrollbar ***put item 1 of (the loc of the THUMB of scrollbar 1) into vTheRight -- this is the idea... but how??? I can use the mouseLoc here but it's not precise set the rect of graphic "yellowRect" to vTheLeft,vTheTop,vTheRight,vTheBottom end scrollbarDrag Thanks Mark From dunbarx at aol.com Fri Feb 6 00:32:45 2009 From: dunbarx at aol.com (dunbarx) Date: Fri, 06 Feb 2009 00:32:45 -0500 Subject: chasing the thumb in a scrollbar In-Reply-To: Message-ID: Can't you get the position of the thumb by checking the scroll of the field? If you know how many lines in the field, and you know the scroll of the field, you can calculate the percentage of the height of the field that the thumb is currently indicating. Since you know the top and bot of the field, you can get the thumbLoc. Write a function, and just call it when you need it. Craig Newman On Feb 6, 2009, at 12:18:12 AM, "Mark Swindell" wrote: Can one refer to the location of just the thumb of a scrollbar? relative to its window? I want to chase the thumb with a a graphic...? essentially a transparent rectangle whose left would stick to the left? of a horizontal scrollbar and whose right would follow the thumb as it? moves. I can use the mouseLoc to come close, but it isn't exact, and? I also need to refer to the loc of the thumb from outside the? scrollbarDrag handler. From jacque at hyperactivesw.com Fri Feb 6 00:35:52 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Feb 2009 23:35:52 -0600 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> <498B55CC.4010609@hyperactivesw.com> Message-ID: <498BCC38.1060606@hyperactivesw.com> Klaus Major wrote: >> True. But if the engine calculated and provided for a vertically >> centered name, you'd get the same results. So you'd have to "jiggle" >> some more anyway. :) > > Maybe, but when you habve a button with no icon, that name/labe is > exactly in the center of the button. > And it stays there whenever you resize the button. > > If you have a button with an icon and "showname" = false, the icon is > also exactly in the center of the button. > And it also stays there whenever you resize the button. > > Maybe I'm thinking a bit naive, but why shouldn't it then be possible > (for the engine) to combine these two > "states" and the result would be "the label on top of the icon" :-) I see what you mean now. Yes, it would be much easier. Most of the image buttons I've made are set to the specific size of their image, so it hasn't been an issue for me. But yeah, having the engine do it would be a nice touch. I suppose it would be possible to write a little script that would calculate the font size, compare it to the button height, and adjust the margins. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mdswindell at cruzio.com Fri Feb 6 00:38:06 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 5 Feb 2009 21:38:06 -0800 Subject: chasing the thumb in a scrollbar In-Reply-To: References: Message-ID: Hi Craig, That won't work in this case as it's just a horizontal scrollbar not attached to a field or group. Mark On Feb 5, 2009, at 9:32 PM, dunbarx wrote: > Can't you get the position of the thumb by checking the scroll of > the field? > > If you know how many lines in the field, and you know the scroll of > the field, you can calculate the percentage of the height of the > field that the thumb is currently indicating. Since you know the top > and bot of the field, you can get the thumbLoc. Write a function, > and just call it when you need it. > > Craig Newman > > > On Feb 6, 2009, at 12:18:12 AM, "Mark Swindell" > wrote: > Can one refer to the location of just the thumb of a scrollbar > relative to its window? I want to chase the thumb with a a graphic... > essentially a transparent rectangle whose left would stick to the left > of a horizontal scrollbar and whose right would follow the thumb as it > moves. I can use the mouseLoc to come close, but it isn't exact, and > I also need to refer to the loc of the thumb from outside the > scrollbarDrag handler. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Feb 6 00:39:15 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Feb 2009 23:39:15 -0600 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <665591460902051535y526fa5f6q6c5c228f99c4cb4c@mail.gmail.com> References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> <498B55CC.4010609@hyperactivesw.com> <665591460902051535y526fa5f6q6c5c228f99c4cb4c@mail.gmail.com> Message-ID: <498BCD03.1060506@hyperactivesw.com> Chipp Walters wrote: > Jacque, > Please...no more jiggles...this is a family forum and there could be minors > around. Minors? You mean like E-flat? Flat notes don't jiggle, they won't even notice. But I hereby replace "jiggle" with "" in previousMail. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Feb 6 00:40:59 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Feb 2009 23:40:59 -0600 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <699303EF-228A-48C1-97CC-BBB6D05F7A20@mac.com> References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <699303EF-228A-48C1-97CC-BBB6D05F7A20@mac.com> Message-ID: <498BCD6B.4040004@hyperactivesw.com> Thomas McGrath III wrote: > I looked up "jiggle" in the Revolution Dictionary but could not find any > entries??? > > Is this in the Street Dialect version? It's a bug. Submit a ticket. I want to see Ollie's face when he reads it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Fri Feb 6 00:44:17 2009 From: dunbarx at aol.com (dunbarx) Date: Fri, 06 Feb 2009 00:44:17 -0500 Subject: chasing the thumb in a scrollbar In-Reply-To: Message-ID: <4281DD80.DCE0.40B0.ADF8.37AFA345C7A5@aol.com> mark. So this is a scrollbar control, not a field. Right. I have not played with these yet, but don't I remember that there is a property that indicates the relative position of the thumb with respect to the amount of "progress" in the control, and isn't this even closer to what is needed without all that stuff I mentioned? Craig Newman On Feb 6, 2009, at 12:38:06 AM, "Mark Swindell" wrote: That won't work in this case as it's just a horizontal scrollbar not? attached to a field or group. From scott at tactilemedia.com Fri Feb 6 00:47:29 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 05 Feb 2009 21:47:29 -0800 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <498BCC38.1060606@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: >> Maybe I'm thinking a bit naive, but why shouldn't it then be possible >> (for the engine) to combine these two >> "states" and the result would be "the label on top of the icon" :-) > > I see what you mean now. Yes, it would be much easier. Most of the image > buttons I've made are set to the specific size of their image, so it > hasn't been an issue for me. But yeah, having the engine do it would be > a nice touch. > > I suppose it would be possible to write a little script that would > calculate the font size, compare it to the button height, and adjust the > margins. It's possible, but it's not a little script. :-) I demoed a customizable button object at the last RevLive conference in Vegas. One can set the font of the text, the orientation of the text, margins, and include an icon (which orients itself as expected, as opposed to the current behavior). But this all needs to be handled as a group of objects. Features in the upcoming version of Rev will make this type of control much more practical for end users. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From mdswindell at cruzio.com Fri Feb 6 00:51:49 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 5 Feb 2009 21:51:49 -0800 Subject: chasing the thumb in a scrollbar In-Reply-To: <4281DD80.DCE0.40B0.ADF8.37AFA345C7A5@aol.com> References: <4281DD80.DCE0.40B0.ADF8.37AFA345C7A5@aol.com> Message-ID: <1C38908E-9C03-46D1-ACDC-6E42A26734A2@cruzio.com> The thumbPosition will give you the position of the thumb relative to the endvalue of the scrollbar itself. So that if the scrollbar's endvalue is set to 100 (default) and it's halfway along, the thumbpos will be 50. If the endvalue is set to 200, it will show 100. But I'm trying to place a graphic based on the actual thumb position relative to the screen, not the scrollbar. Mark On Feb 5, 2009, at 9:44 PM, dunbarx wrote: > mark. > > So this is a scrollbar control, not a field. Right. I have not > played with these yet, but don't I remember that there is a property > that indicates the relative position of the thumb with respect to > the amount of "progress" in the control, and isn't this even closer > to what is needed without all that stuff I mentioned? > > Craig Newman > > > On Feb 6, 2009, at 12:38:06 AM, "Mark Swindell" > wrote: > That won't work in this case as it's just a horizontal scrollbar not > attached to a field or group. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Feb 6 01:12:06 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Feb 2009 00:12:06 -0600 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: References: Message-ID: <498BD4B6.3060904@hyperactivesw.com> Scott Rossi wrote: > Recently, J. Landman Gay wrote: >> I suppose it would be possible to write a little script that would >> calculate the font size, compare it to the button height, and adjust the >> margins. > > It's possible, but it's not a little script. :-) I demoed a customizable > button object at the last RevLive conference in Vegas. One can set the font > of the text, the orientation of the text, margins, and include an icon > (which orients itself as expected, as opposed to the current behavior). But > this all needs to be handled as a group of objects. Features in the upcoming > version of Rev will make this type of control much more practical for end > users. I was thinking of something much simpler, just as a work-around. Something like this: put (the height of btn 1 - the textheight of btn 1) div 2 into tMargin set the margins of btn 1 to 0,tMargin,0,tMargin No bells and whistles though, it just mashes the name into the center. The math may need some jiggl...um, adjustments. Yours is much prettier. Everything you do is much prettier. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Fri Feb 6 01:16:17 2009 From: dunbarx at aol.com (dunbarx) Date: Fri, 06 Feb 2009 01:16:17 -0500 Subject: chasing the thumb in a scrollbar In-Reply-To: <1C38908E-9C03-46D1-ACDC-6E42A26734A2@cruzio.com> Message-ID: <7A48445C.D1A8.4879.837C.78A328396A1A@aol.com> Mark. OK. But if you know all that, and you know the the loc of the scrollbar, why can't you then get the loc of the thumb?? Craig On Feb 6, 2009, at 12:51:49 AM, "Mark Swindell" wrote: From: "Mark Swindell" Subject: Re: chasing the thumb in a scrollbar Date: February 6, 2009 12:51:49 AM EST To: "How to use Revolution" The thumbPosition will give you the position of the thumb relative to? the endvalue of the scrollbar itself. So that if the scrollbar's? endvalue is set to 100 (default) and it's halfway along, the thumbpos? will be 50. If the endvalue is set to 200, it will show 100. But I'm? trying to place a graphic based on the actual thumb position relative? to the screen, not the scrollbar. Mark On Feb 5, 2009, at 9:44 PM, dunbarx wrote: > mark. > > So this is a scrollbar control, not a field. Right. I have not? > played with these yet, but don't I remember that there is a property? > that indicates the relative position of the thumb with respect to? > the amount of "progress" in the control, and isn't this even closer? > to what is needed without all that stuff I mentioned? > > Craig Newman > > > On Feb 6, 2009, at 12:38:06 AM, "Mark Swindell"? > wrote: > That won't work in this case as it's just a horizontal scrollbar not > attached to a field or group. > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Feb 6 01:26:40 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Feb 2009 00:26:40 -0600 Subject: chasing the thumb in a scrollbar In-Reply-To: <1C38908E-9C03-46D1-ACDC-6E42A26734A2@cruzio.com> References: <4281DD80.DCE0.40B0.ADF8.37AFA345C7A5@aol.com> <1C38908E-9C03-46D1-ACDC-6E42A26734A2@cruzio.com> Message-ID: <498BD820.3010001@hyperactivesw.com> Mark Swindell wrote: > The thumbPosition will give you the position of the thumb relative to > the endvalue of the scrollbar itself. So that if the scrollbar's > endvalue is set to 100 (default) and it's halfway along, the thumbpos > will be 50. If the endvalue is set to 200, it will show 100. But I'm > trying to place a graphic based on the actual thumb position relative to > the screen, not the scrollbar. Divide the thumbpos by the endvalue to get a percentage, and use it to calculate the number of pixels from the scrollbar left (assuming a horizontal scrollbar,) and then add the left of the scrollbar object itself to that number to get the x position of the thumb on the card. put the thumbpos of sb 1 / the endvalue of sb 1 into tPercent put the width of sb 1 * tPercent into tSBPixels put the left of sb 1 + tSBPixels into tCdXPos -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Fri Feb 6 01:27:18 2009 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 05 Feb 2009 22:27:18 -0800 Subject: chasing the thumb in a scrollbar In-Reply-To: <1C38908E-9C03-46D1-ACDC-6E42A26734A2@cruzio.com> References: <4281DD80.DCE0.40B0.ADF8.37AFA345C7A5@aol.com> <1C38908E-9C03-46D1-ACDC-6E42A26734A2@cruzio.com> Message-ID: <498BD846.4060800@pdslabs.net> Mark Swindell wrote: > The thumbPosition will give you the position of the thumb relative to > the endvalue of the scrollbar itself. So that if the scrollbar's > endvalue is set to 100 (default) and it's halfway along, the thumbpos > will be 50. If the endvalue is set to 200, it will show 100. But I'm > trying to place a graphic based on the actual thumb position relative > to the screen, not the scrollbar. > > Mark Hi Mark, This isn't perfect but it's a starting point if you want to do it this way. I broke the formula down to its parts instead of doing a one-liner: on scrollbarDrag pNewPosition put the left of me into tWindowOffset put the thumbSize of me div 2 into tThumbOffset put (the endValue of me - the startValue of me) into tMyUnits put the width of me / tMyUnits into tPixelsPerUnit put round(tPixelsPerUnit * (pNewPosition - tThumbOffset)) into tThumbH set the right of btn 1 to (tThumbH) + tWindowOffset end scrollbarDrag I created a button that follows the thumb around - not perfectly, but you want to tweak it anyway, right? ;o) Hope this helps - Phil Davis > On Feb 5, 2009, at 9:44 PM, dunbarx wrote: > >> mark. >> >> So this is a scrollbar control, not a field. Right. I have not played >> with these yet, but don't I remember that there is a property that >> indicates the relative position of the thumb with respect to the >> amount of "progress" in the control, and isn't this even closer to >> what is needed without all that stuff I mentioned? >> >> Craig Newman >> >> >> On Feb 6, 2009, at 12:38:06 AM, "Mark Swindell" >> wrote: >> That won't work in this case as it's just a horizontal scrollbar not >> attached to a field or group. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From mdswindell at cruzio.com Fri Feb 6 01:30:11 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 5 Feb 2009 22:30:11 -0800 Subject: chasing the thumb in a scrollbar In-Reply-To: <7A48445C.D1A8.4879.837C.78A328396A1A@aol.com> References: <7A48445C.D1A8.4879.837C.78A328396A1A@aol.com> Message-ID: <8201CBAF-A766-4A94-BCDE-DC501E2F38A1@cruzio.com> I guess it can be ascertained based on that info, yes, but if there were a built in way to describe the thumb location (seems plausible) that would be easier. Because so many things in Rev are "there" already, and so many other things you don't know about are lurking just beneath the surface, I wondered if this might be one of them. Mark On Feb 5, 2009, at 10:16 PM, dunbarx wrote: > Mark. > > OK. But if you know all that, and you know the the loc of the > scrollbar, why can't you then get the loc of the thumb? > > Craig > > > On Feb 6, 2009, at 12:51:49 AM, "Mark Swindell" > wrote: > From: "Mark Swindell" > Subject: Re: chasing the thumb in a scrollbar > Date: February 6, 2009 12:51:49 AM EST > To: "How to use Revolution" > The thumbPosition will give you the position of the thumb relative to > the endvalue of the scrollbar itself. So that if the scrollbar's > endvalue is set to 100 (default) and it's halfway along, the thumbpos > will be 50. If the endvalue is set to 200, it will show 100. But I'm > trying to place a graphic based on the actual thumb position relative > to the screen, not the scrollbar. > > Mark > > > > On Feb 5, 2009, at 9:44 PM, dunbarx wrote: > >> mark. >> >> So this is a scrollbar control, not a field. Right. I have not >> played with these yet, but don't I remember that there is a property >> that indicates the relative position of the thumb with respect to >> the amount of "progress" in the control, and isn't this even closer >> to what is needed without all that stuff I mentioned? >> >> Craig Newman >> >> >> On Feb 6, 2009, at 12:38:06 AM, "Mark Swindell" >> wrote: >> That won't work in this case as it's just a horizontal scrollbar not >> attached to a field or group. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Fri Feb 6 01:36:12 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 5 Feb 2009 22:36:12 -0800 Subject: chasing the thumb in a scrollbar In-Reply-To: <498BD820.3010001@hyperactivesw.com> References: <4281DD80.DCE0.40B0.ADF8.37AFA345C7A5@aol.com> <1C38908E-9C03-46D1-ACDC-6E42A26734A2@cruzio.com> <498BD820.3010001@hyperactivesw.com> Message-ID: Thanks Jackie, Phil, and Craig for your suggestions and solutions. Much appreciated. Mark On Feb 5, 2009, at 10:26 PM, J. Landman Gay wrote: > Mark Swindell wrote: >> The thumbPosition will give you the position of the thumb relative >> to the endvalue of the scrollbar itself. So that if the >> scrollbar's endvalue is set to 100 (default) and it's halfway >> along, the thumbpos will be 50. If the endvalue is set to 200, it >> will show 100. But I'm trying to place a graphic based on the >> actual thumb position relative to the screen, not the scrollbar. > > Divide the thumbpos by the endvalue to get a percentage, and use it > to calculate the number of pixels from the scrollbar left (assuming > a horizontal scrollbar,) and then add the left of the scrollbar > object itself to that number to get the x position of the thumb on > the card. > > put the thumbpos of sb 1 / the endvalue of sb 1 into tPercent > put the width of sb 1 * tPercent into tSBPixels > put the left of sb 1 + tSBPixels into tCdXPos > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From h at FlexibleLearning.com Fri Feb 6 03:16:11 2009 From: h at FlexibleLearning.com (Hugh Senior) Date: Fri, 6 Feb 2009 08:16:11 -0000 Subject: Using SHELL to get a list of processes In-Reply-To: <20090205212754.50FAC48AC93@mail.runrev.com> Message-ID: Thank you... I must have missed the introduction of the 'relaunch' message in 2.7.3 which certainly makes things a LOT easier than using shell or file locks! /H Hugh Senior wrote: > I just found TASKLIST which works... get shell("TASKLIST"). > > And the processID returns the id of the app. > > So I think I have got the necessary bits to check for multiple instances > now. Jacqueline Landman Gay: You might want to look at the "relaunch" command instead of using shell. It is specifically designed to catch multiple app instances and redirect to the one that was running first. No shell command necessary. Mark Schonewille: If you want to run only one instance of your standalone at a time, you need to include a relaunch handler in your stack script. Assuming that you want the existing instance to come to the foreground when the second instance is launched and that you want the second instance to quit immediately, all you need is to catch the message and not pass it: on relaunch return empty -- just for clarity, if you like end relaunch If you return "background", the second instance is terminated, but the first instance won't be activated. If you pass the message, the second instance will run. From geradamas at yahoo.com Fri Feb 6 03:25:56 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 6 Feb 2009 00:25:56 -0800 (PST) Subject: Transparent Message-ID: <963583.93736.qm@web37502.mail.mud.yahoo.com> Lay awake for hours last night, and in the wee hours of the Brahma-Muhurta thought (!!!!) I had a brilliant idea: When attempting to make a PNG with an odd-shape and transparent area from an original PNG and text on top of it why not set the alphaData of the end-product to that of the original PNG: on mouseUp put top of group "gX" into TOPP put bottom of group "gX" into BUM put left of group "gX" into LEFTT put right of group "gX" into RITE put LEFTT & "," & TOPP & "," & RITE & "," & BUM into fld "fRECT" put fld "fRECT" into FRECT put the windowID of this stack into WINDY set the fileType to empty export snapshot from rect FRECT of window WINDY to img "HOLDER" as PNG set the alphaData of img "HOLDER" to the alphaData of img "Yellow.png" export img "HOLDER" to file "GOTTIT.png" as PNG end mouseUp where "Yellow.png" is the name of the original PNG contined within the group "gX". Ha, Ha, Ha . . . so much for 'brilliant' ideas: end up with an image which did, indeed contain the original image with text overlaying it: but in 'Tiger Stripes', where the alphaData of the original PNG obviously had little or nothing to do with the white/transparent areas of the original PNG. setting the TRANSPARENT of the original PNG to true had no result. Oh, Well, coffee-break finished; back to the "tinies" downstairs. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From klaus at major-k.de Fri Feb 6 03:54:09 2009 From: klaus at major-k.de (Klaus Major) Date: Fri, 6 Feb 2009 09:54:09 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> <498B55CC.4010609@hyperactivesw.com> Message-ID: <66689720-A9F5-451A-B5BE-E2BD1D0ABF9A@major-k.de> Am 05.02.2009 um 22:50 schrieb Mark Swindell: > > On Feb 5, 2009, at 1:33 PM, Klaus Major wrote: > >> Maybe I'm thinking a bit naive, but why shouldn't it then be >> possible (for the engine) to combine these two >> "states" and the result would be "the label on top of the icon" :-) > > Troublemaker. Monsieur? Regards Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Fri Feb 6 04:01:00 2009 From: klaus at major-k.de (Klaus Major) Date: Fri, 6 Feb 2009 10:01:00 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <498BD4B6.3060904@hyperactivesw.com> References: <498BD4B6.3060904@hyperactivesw.com> Message-ID: <2FDF3E84-86E7-4083-B59E-91481DE67DAA@major-k.de> Hi Jaqueline, > Scott Rossi wrote: >> Recently, J. Landman Gay wrote: > >>> I suppose it would be possible to write a little script that would >>> calculate the font size, compare it to the button height, and >>> adjust the >>> margins. >> It's possible, but it's not a little script. :-) I demoed a >> customizable >> button object at the last RevLive conference in Vegas. One can set >> the font >> of the text, the orientation of the text, margins, and include an >> icon >> (which orients itself as expected, as opposed to the current >> behavior). But >> this all needs to be handled as a group of objects. Features in the >> upcoming >> version of Rev will make this type of control much more practical >> for end >> users. > > I was thinking of something much simpler, just as a work-around. > Something like this: > > put (the height of btn 1 - the textheight of btn 1) div 2 into tMargin > set the margins of btn 1 to 0,tMargin,0,tMargin > > No bells and whistles though, it just mashes the name into the > center. The math may need some jiggl...um, adjustments. :-) Tested a bit and did some finetuning: ... put (the height of btn 1 - the textheight of btn 1 - the effective textsize of btn 1) div 2 into tMargin set the margins of btn 1 to 0,tMargin,0,tMargin ... > Yours is much prettier. Everything you do is much prettier. No doubt, but he's a graphics guy, you know?! ;-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From toolbook at kestner.de Fri Feb 6 04:08:19 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 6 Feb 2009 10:08:19 +0100 Subject: OT: Need a little help with package maker Message-ID: <5C6C7742803B47D383850EB6824A62EB@Kestner.local> Hello, creating my first package ever on a Mac, using PackageMaker I stick at two issues, probably a lack of Mac-knowledge. I tested to package one app bundle and one readme.txt file. As Destination I entered for both: /Applications/MyName Building the package succeeds without warnings or errors. Running the package, it runs through all steps, saying "copying, etc." and finishes with "installation successful" BUT, in the destination dir there is only my readme.txt, no app. Searching my HD for my app, it doesn't appear anywhere. What and where to did the packageMaker install? What am I missing here? Second is, I would like to launch an app foo after installation, which resides in the same folder / CD as my package. PackageMaker offers me to assign a script for postinstall, but coming from Win I don't know, how to write a script on a Mac, which calls my app. I tried to assign directly my app, but PackageMaker just ignores it, obviously it has to be a script. I know, that these are actually no topics for a rev forum, but perhaps it is so easy for some of you, that you could just give me a quick coaching these to issues. Thank you for any help! Tiemo From revolution at derbrill.de Fri Feb 6 04:43:23 2009 From: revolution at derbrill.de (Malte Brill) Date: Fri, 6 Feb 2009 10:43:23 +0100 Subject: OT: Need a little help with package maker In-Reply-To: <20070824122315.36AB1489909@mail.runrev.com> References: <20070824122315.36AB1489909@mail.runrev.com> Message-ID: Moin Tiemo, why would you want to create an installer for your app in first place? There are very few apps on the Mac that require an installation process. Usually these are those that need admin rights to install things in places a normal user would not have access to. Most apps are just drag and dropable to any place the user decides. Most of the time that will be the applications folder. These apps come as a (compressed) dmg, which contains the app, that can just be dragged over. Usually the readme file also is in there. Gr??e, Malte From benr_mc at cogapp.com Fri Feb 6 03:52:46 2009 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 06 Feb 2009 08:52:46 +0000 Subject: convert to lower ascii 128? In-Reply-To: <6F364FE3-F79B-4D46-9853-906FC7643724@futilism.com> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> <498B41F3.5000501@cogapp.com> <6F364FE3-F79B-4D46-9853-906FC7643724@futilism.com> Message-ID: <498BFA5E.60403@cogapp.com> Mark Smith wrote: > One of the things that can slow Rev down in a long for loop is the > building up of a long output string (I suspect that an awful lot of > copying and moving of memory starts to happen). > > > I made a little test of something suggested by someone on this list > (Eric Miclo?), that is, that it can be noticably quicker to build up a > long string into a file rather than a variable when dealig with a lot of > data. What I found on this 2.16G MacBookPro was that after you get to > sizes bigger than a few Mb, for each doubling of size, writing to a file > doubles the time, while using a variable quadruples the time. That is handy to know - my instinct is always to pile stuff up in memory before writing to disk. Only reluctantly have I recently taken to spooling out to disk as I go, because of the poor handling of out of memory failures (see QC #2772). So good to know that taking the safer approach need not be slower. Thanks, - Ben From lan.kc.macmail at gmail.com Fri Feb 6 04:52:20 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 6 Feb 2009 17:52:20 +0800 Subject: OT: Need a little help with package maker In-Reply-To: <5C6C7742803B47D383850EB6824A62EB@Kestner.local> References: <5C6C7742803B47D383850EB6824A62EB@Kestner.local> Message-ID: On Fri, Feb 6, 2009 at 5:08 PM, Tiemo Hollmann TB wrote: > Hello, > > creating my first package ever on a Mac, using PackageMaker I stick at two > issues, probably a lack of Mac-knowledge. > > I know, that these are actually no topics for a rev forum, but perhaps it > is > so easy for some of you, that you could just give me a quick coaching these > to issues. Thank you for any help! > > Sorry Tiemo, not a PackageMaker user, but I'm sure some one will have the answer. In the mean time, maybe this will help: http://www.oreillynet.com/pub/a/mac/2003/09/16/packagemaker.html HTH From toolbook at kestner.de Fri Feb 6 05:13:54 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 6 Feb 2009 11:13:54 +0100 Subject: AW: OT: Need a little help with package maker In-Reply-To: Message-ID: Moin moin Malte, Good point. Actually I wanted to have the same installation process on Win and Mac. My Win install is split into two parts. Part 1: installation of the prog (made with Inno), which calls after being finished part 2 (a rev app), which copies zipped video files from DVD to HD and unzippes to a dest dir by choice. I can't put the video files into the Mac package or dmg, because they have to be accesable for the Win installation as well (that?s the reason for the 2 step install process.) And I can't duplicate the Videos for Win and Mac in two different installation packages, because they are about 8 GB. So I wanted to have two app installation packages (one for Win and one for Mac) and one Video zip package on my installation DVD. And that is the simple reason why I wanted to have a installer on Mac, because it can call my Videocopy rev app to complete the installation. If the user just would drag the bundle to the HD, he wouldn't know, that he still has to start my videocopy app to finish the installation. Could I clarify my issue? Tiemo Btw. If I ever want to create a dmg, how do I make it? Dummy user question :) > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Malte Brill > Gesendet: Freitag, 6. Februar 2009 10:43 > An: use-revolution at lists.runrev.com > Betreff: Re: OT: Need a little help with package maker > > Moin Tiemo, > > why would you want to create an installer for your app in first place? > There are very few apps on the Mac that require an installation > process. Usually these are those that need admin rights to install > things in places a normal user would not have access to. Most apps are > just drag and dropable to any place the user decides. Most of the time > that will be the applications folder. These apps come as a > (compressed) dmg, which contains the app, that can just be dragged > over. Usually the readme file also is in there. > > Gr??e, > > Malte_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Fri Feb 6 05:16:10 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 6 Feb 2009 11:16:10 +0100 Subject: AW: OT: Need a little help with package maker In-Reply-To: Message-ID: <48E01C296D104ACE87616F46D48ADED4@Kestner.local> Thank you Kay, I'll dig into it Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Kay C Lan > Gesendet: Freitag, 6. Februar 2009 10:52 > An: How to use Revolution > Betreff: Re: OT: Need a little help with package maker > > On Fri, Feb 6, 2009 at 5:08 PM, Tiemo Hollmann TB > wrote: > > > Hello, > > > > creating my first package ever on a Mac, using PackageMaker I stick at > two > > issues, probably a lack of Mac-knowledge. > > > > I know, that these are actually no topics for a rev forum, but perhaps > it > > is > > so easy for some of you, that you could just give me a quick coaching > these > > to issues. Thank you for any help! > > > > Sorry Tiemo, not a PackageMaker user, but I'm sure some one will have > the > answer. In the mean time, maybe this will help: > > http://www.oreillynet.com/pub/a/mac/2003/09/16/packagemaker.html > > HTH > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ludovic.thebault at laposte.net Fri Feb 6 05:16:42 2009 From: ludovic.thebault at laposte.net (=?ISO-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 6 Feb 2009 11:16:42 +0100 Subject: Format a disk on MacOS X Message-ID: <7376C3B0-7293-489A-A62B-4EFBEAD5946A@laposte.net> Hello, I want to make a button to format a disk with the shell (in FAT16 which is impossible to do with the GUI of MacoS X). Here my script : get shell("df") put line lineoffset("/Volumes/"&the label of btn "disk", it) of it into tdisk set the itemdel to " " put item 1 of tdisk into tdisk -- return /dev/Disks4s1 get shell("diskutil umount "&tdisk) -- Fail to unmount (but works directly in the terminal) get shell("diskutil partitionDisk "&tdisk&" 1 MBRFormat ""e&"MS- DOS FAT16""e&"e&fld "newname""e&&"100%") -- don't work because the disk is always mounted Any idea ? Thanks. From geradamas at yahoo.com Fri Feb 6 05:29:49 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 6 Feb 2009 02:29:49 -0800 (PST) Subject: Transparency Message-ID: <462099.86731.qm@web37503.mail.mud.yahoo.com> This works: on mouseUp set the transparent of img "Yellow.png" to true put top of group "gX" into TOPP put bottom of group "gX" into BUM put left of group "gX" into LEFTT put right of group "gX" into RITE put LEFTT & "," & TOPP & "," & RITE & "," & BUM into fld "fRECT" put fld "fRECT" into FRECT put the windowID of this stack into WINDY set the fileType to empty set the width of img "HOLDER" to the width of group "gX" set the height of img "HOLDER" to the height of group "gX" export snapshot from rect FRECT of window WINDY to img "HOLDER" as PNG set the width of img "HOLDER" to the width of img "Yellow.png" set the height of img "HOLDER" to the height of img "Yellow.png" set the alphaData of img "HOLDER" to the alphaData of img "Yellow.png" export img "HOLDER" to file "GOTTIT.png" as PNG end mouseUp Obviously the reason I was getting 'Tiger Stripes' was that the image "HOLDER" was not the same as the group "gX". HOWEVER; the result is a PNG of the odd-shape with a 'cute' little, white drop-shadow: I wonder why. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From th.douez at gmail.com Fri Feb 6 05:34:41 2009 From: th.douez at gmail.com (Thierry) Date: Fri, 6 Feb 2009 11:34:41 +0100 Subject: Format a disk on MacOS X In-Reply-To: <7376C3B0-7293-489A-A62B-4EFBEAD5946A@laposte.net> References: <7376C3B0-7293-489A-A62B-4EFBEAD5946A@laposte.net> Message-ID: > > get shell("diskutil umount "&tdisk) > -- Fail to unmount (but works directly in the terminal > Any idea ? A guess; did you try to quote tdisk ? Regards, Thierry From geradamas at yahoo.com Fri Feb 6 06:22:42 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 6 Feb 2009 03:22:42 -0800 (PST) Subject: Format a disk on MacOS X Message-ID: <251707.77610.qm@web37504.mail.mud.yahoo.com> Probably a naive question (well, they are my speciality), but when I looked at the Help for Dosk Utility it said that I can format a disk with MS-DOS (FAT) - is that 16 or 32; certainly a bit unclear from the documentation. Yup, the GUI of Disk Utility smells "a bit off" - BUT, read this:- http://www.liquidx.net/blog/2007/05/26/format-partition-as-fat16-on-mac-osx/ sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From benr_mc at cogapp.com Fri Feb 6 07:18:00 2009 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 06 Feb 2009 12:18:00 +0000 Subject: Detecting CYMK jpeg images Message-ID: <498C2A78.9030008@cogapp.com> Does anyone have a method in Transcript to detect the colour space of a jpeg image? As you doubtless know, Rev can't open a CMYK JPEG; however the error it throws if you try to open one (eg by setting the filename of an image object to the URL of a jpeg file that happens to be CMYK) is simply "could not open image", which is the same as it gives if the URL doesn't exist, requires authentification, is in an unsupported format, etc. I can improve my reporting somewhat by retrieving the data of a URL directly after receiving a "could not open image"; then I can detect a 404 or 401, for example. But if I actually have data, and it appears to be in JFIF format, then I'd like to be able to establish the colour space. I know somebody (sorry, forget who - or perhaps more than one person?) has done work to read IPTC and EXIF data out of JPEG files; did that work also run across the colour space? Any suggestions (whatever I does has to be in pure Transcript, not using externals or external apps) gratefull received. TIA, Ben From ludovic.thebault at laposte.net Fri Feb 6 07:27:39 2009 From: ludovic.thebault at laposte.net (=?ISO-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 6 Feb 2009 13:27:39 +0100 Subject: Format a disk on MacOS X In-Reply-To: <251707.77610.qm@web37504.mail.mud.yahoo.com> References: <251707.77610.qm@web37504.mail.mud.yahoo.com> Message-ID: Le 6 f?vr. 09 ? 12:22, Richmond Mathewson a ?crit : > > Probably a naive question (well, they are my speciality), > > but when I looked at the Help for Dosk Utility it said > that I can format a disk with MS-DOS (FAT) - is that 16 or > 32; certainly a bit unclear from the documentation. > > Yup, the GUI of Disk Utility smells "a bit off" - > But we cannot choose the format, and for "big" disk (> 1024 ko ?) Disk Utility format in FAT32. For my problem, it's seem that Revolution block the unmount (i need to quit Rev for eject the device !) but i cannot find why (it's work one time but after not... !?) From toolbook at kestner.de Fri Feb 6 08:42:16 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 6 Feb 2009 14:42:16 +0100 Subject: AW: Need a little help with package maker In-Reply-To: <5C6C7742803B47D383850EB6824A62EB@Kestner.local> Message-ID: Perhaps somebody can give me an advice for a good Mac developer forum, where I could ask this toppic. I didn't find any at developer.apple.com and macuser.com seems to be a "user" community. Thanks for any hint Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Freitag, 6. Februar 2009 10:08 > An: 'How to use Revolution' > Betreff: OT: Need a little help with package maker > > Hello, > > creating my first package ever on a Mac, using PackageMaker I stick at two > issues, probably a lack of Mac-knowledge. > > I tested to package one app bundle and one readme.txt file. As Destination > I > entered for both: /Applications/MyName > > Building the package succeeds without warnings or errors. Running the > package, it runs through all steps, saying "copying, etc." and finishes > with > "installation successful" > > BUT, in the destination dir there is only my readme.txt, no app. Searching > my HD for my app, it doesn't appear anywhere. What and where to did the > packageMaker install? > > What am I missing here? > > Second is, I would like to launch an app foo after installation, which > resides in the same folder / CD as my package. PackageMaker offers me to > assign a script for postinstall, but coming from Win I don't know, how to > write a script on a Mac, which calls my app. I tried to assign directly my > app, but PackageMaker just ignores it, obviously it has to be a script. > > I know, that these are actually no topics for a rev forum, but perhaps it > is > so easy for some of you, that you could just give me a quick coaching > these > to issues. Thank you for any help! > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From th.douez at gmail.com Fri Feb 6 10:03:26 2009 From: th.douez at gmail.com (Thierry) Date: Fri, 6 Feb 2009 16:03:26 +0100 Subject: Format a disk on MacOS X In-Reply-To: <7376C3B0-7293-489A-A62B-4EFBEAD5946A@laposte.net> References: <7376C3B0-7293-489A-A62B-4EFBEAD5946A@laposte.net> Message-ID: <46035DC9-20E8-4EA3-B5FB-3E3BA006449D@gmail.com> Le 6 f?vr. 09 ? 11:16, Ludovic Th?bault a ?crit : > Hello, > > I want to make a button to format a disk with the shell (in FAT16 > which is impossible to do with the GUI of MacoS X). > Here my script : > > get shell("df") > put line lineoffset("/Volumes/"&the label of btn "disk", it) of > it into tdisk > set the itemdel to " " > put item 1 of tdisk into tdisk > -- return /dev/Disks4s1 > get shell("diskutil umount "&tdisk) typo or error in your shell ? the option for diskutil is unmount not umount !!!! i did try it with success ! HTH Regards, Thierry > -- Fail to unmount (but works directly in the terminal) > get shell("diskutil partitionDisk "&tdisk&" 1 MBRFormat > ""e&"MS-DOS FAT16""e&"e&fld "newname""e&&"100%") > -- don't work because the disk is always mounted > > Any idea ? > > Thanks. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Fri Feb 6 10:10:16 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 6 Feb 2009 07:10:16 -0800 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <66689720-A9F5-451A-B5BE-E2BD1D0ABF9A@major-k.de> References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> <498B55CC.4010609@hyperactivesw.com> <66689720-A9F5-451A-B5BE-E2BD1D0ABF9A@major-k.de> Message-ID: <24E6F7D5-AD0B-403A-986F-6A91B30E39B1@cruzio.com> C'?tait une blague. :) m On Feb 6, 2009, at 12:54 AM, Klaus Major wrote: > > Am 05.02.2009 um 22:50 schrieb Mark Swindell: > >> >> On Feb 5, 2009, at 1:33 PM, Klaus Major wrote: >> >>> Maybe I'm thinking a bit naive, but why shouldn't it then be >>> possible (for the engine) to combine these two >>> "states" and the result would be "the label on top of the icon" :-) >> >> Troublemaker. > > Monsieur? > > > Regards > > Klaus > -- From ludovic.thebault at laposte.net Fri Feb 6 11:25:10 2009 From: ludovic.thebault at laposte.net (=?ISO-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 6 Feb 2009 17:25:10 +0100 Subject: Format a disk on MacOS X In-Reply-To: <46035DC9-20E8-4EA3-B5FB-3E3BA006449D@gmail.com> References: <7376C3B0-7293-489A-A62B-4EFBEAD5946A@laposte.net> <46035DC9-20E8-4EA3-B5FB-3E3BA006449D@gmail.com> Message-ID: <66DC639F-18DE-43AC-B07A-C25656B1A173@laposte.net> Le 6 f?vr. 09 ? 16:03, Thierry a ?crit : > > typo or error in your shell ? I found ! Before in my script i've set the defaultfolder to "/Volumes/"&thedisk, so it's normal that MacOS X doesn't want to eject the disk. From RevList at CreaTECHSol.com Fri Feb 6 11:57:05 2009 From: RevList at CreaTECHSol.com (RevList) Date: Fri, 06 Feb 2009 08:57:05 -0800 Subject: Script Reporter In-Reply-To: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> Message-ID: How to use Revolution on February 4, 2009 at 9:16 AM -0800 wrote: >Hello Friends, > >For those that missed the last newsletter (you should not!), I've just >released a handy tool to auto generate HTML documentation from stack >comments. It is called RevDoc and it's freeware with source. Now, I'll >begin polishing it and working on it so it becomes a reliable, solid >product (which will always be free). Right now the code is a little >messy for I built this for my own use but it works well. > >You can check the page at http://andregarzia.com/revdoc > >(RapidWeaver is so nice for building simple pages...) > >Cheers >andre This is an excellent solution. Others might also be interested in a rev stack that I developed some time ago called Script Reporter. It too is free and open source. See http://www.createchsol.com/ScriptReporter/ for a video and download. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** -------------------------------------------------------------------------------------------------------------------- This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately. -------------------------------------------------------------------------------------------------------------------- From geradamas at yahoo.com Fri Feb 6 12:37:17 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 6 Feb 2009 09:37:17 -0800 (PST) Subject: Detecting CYMK jpeg images Message-ID: <18151.68739.qm@web37508.mail.mud.yahoo.com> Well, I won't pretend to understand this, but it should work: http://www.sweattechnologies.com/rev/ libColor.rev sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From klaus at major-k.de Fri Feb 6 12:41:45 2009 From: klaus at major-k.de (Klaus Major) Date: Fri, 6 Feb 2009 18:41:45 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <24E6F7D5-AD0B-403A-986F-6A91B30E39B1@cruzio.com> References: <498B43FE.8030601@hrz.uni-kassel.de> <498B48B1.9080909@hyperactivesw.com> <58E0DEE8-8F43-4771-B095-BED5AA8E5961@major-k.de> <498B55CC.4010609@hyperactivesw.com> <66689720-A9F5-451A-B5BE-E2BD1D0ABF9A@major-k.de> <24E6F7D5-AD0B-403A-986F-6A91B30E39B1@cruzio.com> Message-ID: Bonsoir Mark, > C'?tait une blague. Well, I guessed, but the lack of "smileys" always perplexes me a bit :-) > :) > m Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From benr_mc at cogapp.com Fri Feb 6 13:01:55 2009 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 06 Feb 2009 18:01:55 +0000 Subject: Detecting CYMK jpeg images In-Reply-To: <18151.68739.qm@web37508.mail.mud.yahoo.com> References: <18151.68739.qm@web37508.mail.mud.yahoo.com> Message-ID: <498C7B13.2020003@cogapp.com> Richmond Mathewson wrote: > Well, I won't pretend to understand this, but it should work: > > http://www.sweattechnologies.com/rev/ > > libColor.rev Richmond, thanks for the reply - but unfortunately libColor is about converting a colour description between colour spaces, nothing to do with analysing JPEG/JFIF files. - Ben From jacque at hyperactivesw.com Fri Feb 6 13:25:40 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Feb 2009 12:25:40 -0600 Subject: Dynamic labels for buttons with (oddshaped) icon images? In-Reply-To: <2FDF3E84-86E7-4083-B59E-91481DE67DAA@major-k.de> References: <498BD4B6.3060904@hyperactivesw.com> <2FDF3E84-86E7-4083-B59E-91481DE67DAA@major-k.de> Message-ID: <498C80A4.2080606@hyperactivesw.com> Klaus Major wrote: >> No bells and whistles though, it just mashes the name into the center. >> The math may need some jiggl...um, adjustments. > > :-) > > Tested a bit and did some finetuning: > ... > put (the height of btn 1 - the textheight of btn 1 - the effective > textsize of btn 1) div 2 into tMargin > set the margins of btn 1 to 0,tMargin,0,tMargin Excellent! This will go into my library. Thanks for the tuning. > ... > >> Yours is much prettier. Everything you do is much prettier. > > No doubt, but he's a graphics guy, you know?! ;-) Yeah. If I weren't so awed, I'd be miffed at his talent. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geradamas at yahoo.com Fri Feb 6 14:32:25 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 6 Feb 2009 11:32:25 -0800 (PST) Subject: Transparency Message-ID: <489775.86918.qm@web37502.mail.mud.yahoo.com> I wrote: "HOWEVER; the result is a PNG of the odd-shape with a 'cute' little, white drop-shadow: I wonder why." I just tried this with a circular PNG as the original image and the end result had quite a fat white border all around it which would seem to indicate that when the SNAPSHOT is imported into the "HOLDER" image it shrinks a bit . . . on mouseUp create image "HOLDER" set the transparent of img "Circle.png" to true put top of group "gZ" into TOPP put bottom of group "gZ" into BUM put left of group "gZ" into LEFTT put right of group "gZ" into RITE put LEFTT & "," & TOPP & "," & RITE & "," & BUM into fld "fRECT" put fld "fRECT" into FRECT put the windowID of this stack into WINDY set the fileType to empty set the width of img "HOLDER" to the width of img "Circle.png" set the height of img "HOLDER" to the height of img "Circle.png" export snapshot from rect FRECT of window WINDY to img "HOLDER" as PNG set the width of img "HOLDER" to the width of img "Circle.png" set the height of img "HOLDER" to the height of img "Circle.png" set the alphaData of img "HOLDER" to the alphaData of img "Circle.png" export img "HOLDER" to file "ROUND.png" as PNG delete image "HOLDER" end mouseUp ---------------------------- so the alphaData of the original PNG does not 'fit' the new image 'snugly' . . . "Throw me a frikking bone!" sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From kray at sonsothunder.com Fri Feb 6 14:42:07 2009 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 06 Feb 2009 13:42:07 -0600 Subject: Detecting CYMK jpeg images In-Reply-To: <498C2A78.9030008@cogapp.com> Message-ID: > Does anyone have a method in Transcript to detect the colour space of a jpeg > image? If you're on Mac, yes... you can use SIPS at the command line. Here's the handlers I created for this - feel free to use them (although I don't have a Windows or Linux version). You'd use it like this: on mouseUp answer file "Select a JPEG:" if it <> "" then put stsImageData(it) into tImageInfoA if tImageInfoA["colorSpace"] is "cmyk" then answer "Sorry, bad image. Try again." else -- whatever you want to do end if end if end mouseUp function stsImageData pPathToImage local tReturnDataA switch (the platform) case "MacOS" put stsFormatPath(pPathToImage,"MacOSX") into pPathToImage put shell("sips -g all " & pPathToImage) into tResult if stsSIPSCheck(tResult,tPBR_CheckResult) <> "OK" then return tPBR_CheckResult else put word -1 of line 5 of tResult into tReturnDataA["format"] put word -1 of line 8 of tResult into tReturnDataA["DPIHeight"] put word -1 of line 7 of tResult into tReturnDataA["DPIWidth"] put word -1 of line 3 of tResult into tReturnDataA["pixelHeight"] put word -1 of line 2 of tResult into tReturnDataA["pixelWidth"] put word -1 of line 12 of tResult into tReturnDataA["colorSpace"] return tReturnDataA end if break default -- not supported yet break end switch end stsImageData function stsSIPSCheck pResult, at pCheckResult if "Error" is in pResult then put lineOffset(cr&"Error",pResult) into tLine if tLine <> 0 then put line (tLine+1) of pResult into tErrLine put offset(":",tErrLine) into tChar if tChar <> 0 then delete char 1 to tChar of tErrLine end if put "STSError: " & trim(tErrLine) into pCheckResult else put "STSError: Cannot get image data." into pCheckResult end if return "error" else return "OK" end if end stsSIPSCheck function stsFormatPath pPath,pPlatform -- assumes a full "/"-delimited path switch pPlatform case "MacOSX" case "Unix" put "\" & space & quote & "'`<>!;()[]?#$^&*=" into tSpecialChars repeat for each char tChar in tSpecialChars replace tChar with ("\" & tChar) in pPath end repeat break case "Win32" set the itemDel to "/" put item -1 of pPath into tFile put "\/:*?" & quote & "<>|" into tSpecialChars repeat for each char tChar in tSpecialChars replace tChar with ("-") in tFile end repeat put tFile into item -1 of pPath replace "/" with "\" in pPath break end switch return pPath end stsFormatPath Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From briany at qldlearning.com Fri Feb 6 14:50:29 2009 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 6 Feb 2009 11:50:29 -0800 Subject: Transparency In-Reply-To: <489775.86918.qm@web37502.mail.mud.yahoo.com> References: <489775.86918.qm@web37502.mail.mud.yahoo.com> Message-ID: Richmond, It looks like you are using a group (group "gZ") to determine the rect you are grabbing the snapshot from. Are you sure the rect of the group is the same as the rect of the image you are trying to copy / put it in to? Is the image inside that group (in which case, maybe borders or margins are adding to the rect). Why not just use the rect of the source image for taking the snapshot? It seems like the inconsistency must be in group <=> image rects. From geradamas at yahoo.com Fri Feb 6 14:57:27 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 6 Feb 2009 11:57:27 -0800 (PST) Subject: Transparency Message-ID: <544068.4100.qm@web37502.mail.mud.yahoo.com> Dear Brian Yennie, Wow, fantastic: all my problems are solved (well, at least with this particular project)! Mind you, makes me feel fairly foolish. Thank you so much. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From kray at sonsothunder.com Fri Feb 6 15:00:28 2009 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 06 Feb 2009 14:00:28 -0600 Subject: Script Reporter In-Reply-To: Message-ID: > This is an excellent solution. > Others might also be interested in a rev stack that I developed some time > ago called Script Reporter. It too is free and open source. > > See http://www.createchsol.com/ScriptReporter/ for a video and download. That's sweet, Stewart! I didn't know you'd done this... it's a great addition to anyone's toolset, IMHO. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jmyepes at mac.com Fri Feb 6 15:18:28 2009 From: jmyepes at mac.com (Josep) Date: Fri, 6 Feb 2009 12:18:28 -0800 (PST) Subject: ListMagic calculated columns In-Reply-To: <21864343.post@talk.nabble.com> References: <21864343.post@talk.nabble.com> Message-ID: <21879929.post@talk.nabble.com> Hi, Any can say me why the code added into the scripts of the card don't work? In the scripts of the card following the documentation say that can add my own code into but nothing happen... :( Cheers, Josep M -- View this message in context: http://www.nabble.com/ListMagic-calculated-columns-tp21864343p21879929.html Sent from the Revolution - User mailing list archive at Nabble.com. From briany at qldlearning.com Fri Feb 6 15:21:50 2009 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 6 Feb 2009 12:21:50 -0800 Subject: Transparency In-Reply-To: <544068.4100.qm@web37502.mail.mud.yahoo.com> References: <544068.4100.qm@web37502.mail.mud.yahoo.com> Message-ID: <52D2964D-2288-4B56-B03F-3BE3BDF57AE1@qldlearning.com> LOL, if one of my posts solves ALL your problems, please let me know =)!!! > Dear Brian Yennie, > > Wow, fantastic: all my problems are solved (well, at least with > this particular project)! > > Mind you, makes me feel fairly foolish. > > Thank you so much. > > sincerely, Richmond Mathewson. > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development > Life Cycle. > ____________________________________________________________ From runrev260805 at m-r-d.de Fri Feb 6 15:26:49 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 6 Feb 2009 20:26:49 +0000 Subject: Script Reporter Message-ID: <0003483E.498CAB18@the-office.us> Stewart, that is something i was looking for now for a long time. Thank you very much for that piece of software. Regards, Matthias Rebbe -------- Original Message -------- Subject: Script Reporter (06-Feb-2009 18:01) From: RevList To: runrev260805 at m-r-d.de > How to use Revolution on February 4, > 2009 at 9:16 AM -0800 wrote: > >Hello Friends, > > > >For those that missed the last newsletter (you should not!), I've just > >released a handy tool to auto generate HTML documentation from stack > >comments. It is called RevDoc and it's freeware with source. Now, I'll > >begin polishing it and working on it so it becomes a reliable, solid > >product (which will always be free). Right now the code is a little > >messy for I built this for my own use but it works well. > > > >You can check the page at http://andregarzia.com/revdoc > > > >(RapidWeaver is so nice for building simple pages...) > > > >Cheers > >andre > > This is an excellent solution. > Others might also be interested in a rev stack that I developed some time > ago called Script Reporter. It too is free and open source. > > See http://www.createchsol.com/ScriptReporter/ for a video and download. > > > ****************************************** > Stewart Lynch > CreaTECH Solutions > slynch at CreaTECHSol.com > 604.484.8499 > Skype:StewartLynch > > There are only 10 kinds of people. Those who understand binary and those > who don't. > ****************************************** > > ---------------------------------------------------------------------------- > ---------------------------------------- > This message and any attachments are intended only for the use of the > individual to whom they are addressed and it may contain information that > is privileged or confidential. If you have received this communication by > mistake, please notify us immediately. > ---------------------------------------------------------------------------- > ---------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From chipp at altuit.com Fri Feb 6 15:28:25 2009 From: chipp at altuit.com (Chipp Walters) Date: Fri, 6 Feb 2009 14:28:25 -0600 Subject: Script Reporter In-Reply-To: References: Message-ID: <665591460902061228o285c5388rd30ce084b9583704@mail.gmail.com> Yes, ScriptReporter is very nice! I have an altPlugin called 'altStats' which is a nice compliment to script reporter. It counts things in stacks and substacks. Frequently I like to be able to report how many lines of code or how many controls are in a project, and altStats helps me do this. Easy to get to: Enter into message box: go url "http://www.gadgetplugins.com/altplugins/altStats.rev" then save. From jim at visitrieve.com Fri Feb 6 15:35:34 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 6 Feb 2009 10:35:34 -1000 Subject: ListMagic calculated columns In-Reply-To: <21879929.post@talk.nabble.com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> Message-ID: <008301c9889a$768a5c50$639f14f0$@com> Hi Josep, I assume you are saying you have handlers you have added into the card script that are not working? Can you show a sample of the code that is not working? Thanks! Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Josep > Sent: Friday, February 06, 2009 10:18 AM > To: use-revolution at lists.runrev.com > Subject: Re: ListMagic calculated columns > > > Hi, > > Any can say me why the code added into the scripts of the card don't > work? > In the scripts of the card following the documentation say that can add > my > own code into but nothing happen... :( > > Cheers, > Josep M > -- > View this message in context: http://www.nabble.com/ListMagic- > calculated-columns-tp21864343p21879929.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jmyepes at mac.com Fri Feb 6 16:53:18 2009 From: jmyepes at mac.com (Josep) Date: Fri, 6 Feb 2009 13:53:18 -0800 (PST) Subject: ListMagic calculated columns In-Reply-To: <008301c9889a$768a5c50$639f14f0$@com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> <008301c9889a$768a5c50$639f14f0$@com> Message-ID: <21881420.post@talk.nabble.com> Hi Jim, I need something like this example: Code Description Units Price Total J001 Item A 2 12 24(*) (*) Column Total will be calculated by col "Units" * "Price", and if the user edit the values of Units or Price the column Total will be calculated. Other thing is that control the column that the user are editing.. Reading the scripts I found: on LMListEdited pWidget,pItem,pLineNo,pOldValue,pNewValue DisplayPrompt "LMListEdited - item" && pItem && "of line" && pLineNo && "-" && pOldValue && ">" && pNewValue -- sent when an item has been edited and changed in the list -- pWidget is the long ID of the widget -- pItem is the item number -- pLineNo is the line number -- pOldValue is previous value -- pNewValue is new vlaue -- write your code here: end LMListEdited Any that I put inside of this script, thinking that this is correct handler not work. If I use "rawkeyup" message I can intercept the key pressed but nothing more... sorry but I'm stoped here. Hi Josep, I assume you are saying you have handlers you have added into the card script that are not working? Can you show a sample of the code that is not working? Thanks! Jim Bufalini -- View this message in context: http://www.nabble.com/ListMagic-calculated-columns-tp21864343p21881420.html Sent from the Revolution - User mailing list archive at Nabble.com. From jim at visitrieve.com Fri Feb 6 17:39:04 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 6 Feb 2009 12:39:04 -1000 Subject: Re-4: List Magic testimony In-Reply-To: <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> References: <00034521.49822EC7@the-office.us> <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> Message-ID: <009001c988ab$b764c6f0$262e54d0$@com> Dear Bob and All, We are still in the process of sorting things out after Eric's untimely and unexpected death. Just yesterday and today we managed to get unlock codes to all who had purchased and posted the latest updated version of ListMagic 1.1 for download. If anyone purchased ListMagic and has not already received an unlock code, or if you would like to contribute to the future of ListMagic, please contact me off-list. To read about ListMagic and either download the latest trial copy or purchase ListMagic, please visit: http://www.runrev.com/products/related-software/listmagic/ Proceeds from the sales of ListMagic are going to his son Emmanuel. Thanks! Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Bob Sneidar > Sent: Friday, January 30, 2009 7:33 AM > To: How to use Revolution > Subject: Re: Re-4: List Magic testimony > > Out of curiosity, will this stack continue to work in demo mode > indefinitely? If Eric's family decide to continue to market it, I will > certainly pay for it as it is quite a nice bit of Revolution > programming. Just what I needed in fact. But if not, then I cannot > risk using it in a production project if it is going to fail at a > later point. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM From nealk3nc at gmail.com Fri Feb 6 17:45:04 2009 From: nealk3nc at gmail.com (Neal Campbell) Date: Fri, 6 Feb 2009 17:45:04 -0500 Subject: Re-4: List Magic testimony In-Reply-To: <009001c988ab$b764c6f0$262e54d0$@com> References: <00034521.49822EC7@the-office.us> <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> <009001c988ab$b764c6f0$262e54d0$@com> Message-ID: <325413300902061445pcf0a0c9l4b125e425fc0cb92@mail.gmail.com> Hi Jim I got an unlock code but am not sure how to use it. Where do you enter the code? Neal Campbell Abroham Neal Software Programming Services for Windows, OS X and Linux www.abrohamnealsoftware.com (540) 242 0911 On Fri, Feb 6, 2009 at 5:39 PM, Jim Bufalini wrote: > Dear Bob and All, > > We are still in the process of sorting things out after Eric's untimely and > unexpected death. Just yesterday and today we managed to get unlock codes to > all who had purchased and posted the latest updated version of ListMagic 1.1 > for download. > > If anyone purchased ListMagic and has not already received an unlock code, > or if you would like to contribute to the future of ListMagic, please > contact me off-list. > > To read about ListMagic and either download the latest trial copy or > purchase ListMagic, please visit: > > http://www.runrev.com/products/related-software/listmagic/ > > Proceeds from the sales of ListMagic are going to his son Emmanuel. > > Thanks! > > Jim Bufalini > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Bob Sneidar >> Sent: Friday, January 30, 2009 7:33 AM >> To: How to use Revolution >> Subject: Re: Re-4: List Magic testimony >> >> Out of curiosity, will this stack continue to work in demo mode >> indefinitely? If Eric's family decide to continue to market it, I will >> certainly pay for it as it is quite a nice bit of Revolution >> programming. Just what I needed in fact. But if not, then I cannot >> risk using it in a production project if it is going to fail at a >> later point. >> >> Bob Sneidar >> IT Manager >> Logos Management >> Calvary Chapel CM > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jim at visitrieve.com Fri Feb 6 17:51:29 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 6 Feb 2009 12:51:29 -1000 Subject: Re-4: List Magic testimony In-Reply-To: <325413300902061445pcf0a0c9l4b125e425fc0cb92@mail.gmail.com> References: <00034521.49822EC7@the-office.us> <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> <009001c988ab$b764c6f0$262e54d0$@com> <325413300902061445pcf0a0c9l4b125e425fc0cb92@mail.gmail.com> Message-ID: <009101c988ad$733a7360$59af5a20$@com> Hi Neal, Click on the *Presentation* tab and then on the *Enter License code* button on the bottom right. Follow the directions. Once unlocked, you can download any future trial copy and it will be automatically unlocked. Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Neal Campbell > Sent: Friday, February 06, 2009 12:45 PM > To: How to use Revolution > Subject: Re: Re-4: List Magic testimony > > Hi Jim > > I got an unlock code but am not sure how to use it. Where do you enter > the code? > > Neal Campbell > Abroham Neal Software > Programming Services for Windows, OS X and Linux > www.abrohamnealsoftware.com > (540) 242 0911 > > > > > On Fri, Feb 6, 2009 at 5:39 PM, Jim Bufalini > wrote: > > Dear Bob and All, > > > > We are still in the process of sorting things out after Eric's > untimely and > > unexpected death. Just yesterday and today we managed to get unlock > codes to > > all who had purchased and posted the latest updated version of > ListMagic 1.1 > > for download. > > > > If anyone purchased ListMagic and has not already received an unlock > code, > > or if you would like to contribute to the future of ListMagic, please > > contact me off-list. > > > > To read about ListMagic and either download the latest trial copy or > > purchase ListMagic, please visit: > > > > http://www.runrev.com/products/related-software/listmagic/ > > > > Proceeds from the sales of ListMagic are going to his son Emmanuel. > > > > Thanks! > > > > Jim Bufalini > > > > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com [mailto:use- > revolution- > >> bounces at lists.runrev.com] On Behalf Of Bob Sneidar > >> Sent: Friday, January 30, 2009 7:33 AM > >> To: How to use Revolution > >> Subject: Re: Re-4: List Magic testimony > >> > >> Out of curiosity, will this stack continue to work in demo mode > >> indefinitely? If Eric's family decide to continue to market it, I > will > >> certainly pay for it as it is quite a nice bit of Revolution > >> programming. Just what I needed in fact. But if not, then I cannot > >> risk using it in a production project if it is going to fail at a > >> later point. > >> > >> Bob Sneidar > >> IT Manager > >> Logos Management > >> Calvary Chapel CM > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shoreagent at gmail.com Fri Feb 6 18:14:11 2009 From: shoreagent at gmail.com (william humphrey) Date: Fri, 6 Feb 2009 19:14:11 -0400 Subject: ListMagic calculated columns In-Reply-To: <21881420.post@talk.nabble.com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> <008301c9889a$768a5c50$639f14f0$@com> <21881420.post@talk.nabble.com> Message-ID: <459b22a90902061514r13db0b0bibebec76175a90a0d@mail.gmail.com> I'm having trouble getting "LMPopulate" to work when the list widget is in a card on another stack. WHen I do: "LMPopulate tList,the long ID of fld "Customers" of card "Sales" of stack "hopeless'" as in the example it doesn't work. I end up having to lock screen go card "sales" of stack "hopeless" *LMPopulate tList* go stack "original stack" unlock screen This wouldn't be so bad except there is still a flash of the "hopeless" stack even with the lock screen. From sarah.reichelt at gmail.com Fri Feb 6 18:54:24 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 7 Feb 2009 09:54:24 +1000 Subject: ListMagic calculated columns In-Reply-To: <459b22a90902061514r13db0b0bibebec76175a90a0d@mail.gmail.com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> <008301c9889a$768a5c50$639f14f0$@com> <21881420.post@talk.nabble.com> <459b22a90902061514r13db0b0bibebec76175a90a0d@mail.gmail.com> Message-ID: On Sat, Feb 7, 2009 at 9:14 AM, william humphrey wrote: > I'm having trouble getting "LMPopulate" to work when the list widget is in a > card on another stack. > WHen I do: "LMPopulate tList,the long ID of fld "Customers" of card "Sales" > of stack "hopeless'" as in the example it doesn't work. I end up having to > > lock screen > go card "sales" of stack "hopeless" > > *LMPopulate tList* > > go stack "original stack" > > unlock screen > > > This wouldn't be so bad except there is still a flash of the "hopeless" > stack even with the lock screen. Try hiding stack "hopeless" or moving it off screen. Cheers, Sarah From nealk3nc at gmail.com Fri Feb 6 20:08:26 2009 From: nealk3nc at gmail.com (Neal Campbell) Date: Fri, 6 Feb 2009 20:08:26 -0500 Subject: Re-4: List Magic testimony In-Reply-To: <009101c988ad$733a7360$59af5a20$@com> References: <00034521.49822EC7@the-office.us> <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> <009001c988ab$b764c6f0$262e54d0$@com> <325413300902061445pcf0a0c9l4b125e425fc0cb92@mail.gmail.com> <009101c988ad$733a7360$59af5a20$@com> Message-ID: <325413300902061708i647e67feueb7c4a7a5bd48360@mail.gmail.com> Hi Jim On the bottom right (on the stack I got) is a Print button. Do I have the wrong stack? Neal Campbell Abroham Neal Software Programming Services for Windows, OS X and Linux www.abrohamnealsoftware.com (540) 242 0911 On Fri, Feb 6, 2009 at 5:51 PM, Jim Bufalini wrote: > Hi Neal, > > Click on the *Presentation* tab and then on the *Enter License code* button > on the bottom right. Follow the directions. Once unlocked, you can download > any future trial copy and it will be automatically unlocked. > > Jim Bufalini > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Neal Campbell >> Sent: Friday, February 06, 2009 12:45 PM >> To: How to use Revolution >> Subject: Re: Re-4: List Magic testimony >> >> Hi Jim >> >> I got an unlock code but am not sure how to use it. Where do you enter >> the code? >> >> Neal Campbell >> Abroham Neal Software >> Programming Services for Windows, OS X and Linux >> www.abrohamnealsoftware.com >> (540) 242 0911 >> >> >> >> >> On Fri, Feb 6, 2009 at 5:39 PM, Jim Bufalini >> wrote: >> > Dear Bob and All, >> > >> > We are still in the process of sorting things out after Eric's >> untimely and >> > unexpected death. Just yesterday and today we managed to get unlock >> codes to >> > all who had purchased and posted the latest updated version of >> ListMagic 1.1 >> > for download. >> > >> > If anyone purchased ListMagic and has not already received an unlock >> code, >> > or if you would like to contribute to the future of ListMagic, please >> > contact me off-list. >> > >> > To read about ListMagic and either download the latest trial copy or >> > purchase ListMagic, please visit: >> > >> > http://www.runrev.com/products/related-software/listmagic/ >> > >> > Proceeds from the sales of ListMagic are going to his son Emmanuel. >> > >> > Thanks! >> > >> > Jim Bufalini >> > >> > >> >> -----Original Message----- >> >> From: use-revolution-bounces at lists.runrev.com [mailto:use- >> revolution- >> >> bounces at lists.runrev.com] On Behalf Of Bob Sneidar >> >> Sent: Friday, January 30, 2009 7:33 AM >> >> To: How to use Revolution >> >> Subject: Re: Re-4: List Magic testimony >> >> >> >> Out of curiosity, will this stack continue to work in demo mode >> >> indefinitely? If Eric's family decide to continue to market it, I >> will >> >> certainly pay for it as it is quite a nice bit of Revolution >> >> programming. Just what I needed in fact. But if not, then I cannot >> >> risk using it in a production project if it is going to fail at a >> >> later point. >> >> >> >> Bob Sneidar >> >> IT Manager >> >> Logos Management >> >> Calvary Chapel CM >> > >> > >> > _______________________________________________ >> > use-revolution mailing list >> > use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From nealk3nc at gmail.com Fri Feb 6 20:09:33 2009 From: nealk3nc at gmail.com (Neal Campbell) Date: Fri, 6 Feb 2009 20:09:33 -0500 Subject: Re-4: List Magic testimony In-Reply-To: <325413300902061708i647e67feueb7c4a7a5bd48360@mail.gmail.com> References: <00034521.49822EC7@the-office.us> <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> <009001c988ab$b764c6f0$262e54d0$@com> <325413300902061445pcf0a0c9l4b125e425fc0cb92@mail.gmail.com> <009101c988ad$733a7360$59af5a20$@com> <325413300902061708i647e67feueb7c4a7a5bd48360@mail.gmail.com> Message-ID: <325413300902061709m7477d616m9721bf13abf385c9@mail.gmail.com> I indeed had the wrong stack, sorry! Thanks for the help, Neal Campbell Abroham Neal Software Programming Services for Windows, OS X and Linux www.abrohamnealsoftware.com (540) 242 0911 On Fri, Feb 6, 2009 at 8:08 PM, Neal Campbell wrote: > Hi Jim > > On the bottom right (on the stack I got) is a Print button. Do I have > the wrong stack? > > Neal Campbell > Abroham Neal Software > Programming Services for Windows, OS X and Linux > www.abrohamnealsoftware.com > (540) 242 0911 > > > > > On Fri, Feb 6, 2009 at 5:51 PM, Jim Bufalini wrote: >> Hi Neal, >> >> Click on the *Presentation* tab and then on the *Enter License code* button >> on the bottom right. Follow the directions. Once unlocked, you can download >> any future trial copy and it will be automatically unlocked. >> >> Jim Bufalini >> >>> -----Original Message----- >>> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >>> bounces at lists.runrev.com] On Behalf Of Neal Campbell >>> Sent: Friday, February 06, 2009 12:45 PM >>> To: How to use Revolution >>> Subject: Re: Re-4: List Magic testimony >>> >>> Hi Jim >>> >>> I got an unlock code but am not sure how to use it. Where do you enter >>> the code? >>> >>> Neal Campbell >>> Abroham Neal Software >>> Programming Services for Windows, OS X and Linux >>> www.abrohamnealsoftware.com >>> (540) 242 0911 >>> >>> >>> >>> >>> On Fri, Feb 6, 2009 at 5:39 PM, Jim Bufalini >>> wrote: >>> > Dear Bob and All, >>> > >>> > We are still in the process of sorting things out after Eric's >>> untimely and >>> > unexpected death. Just yesterday and today we managed to get unlock >>> codes to >>> > all who had purchased and posted the latest updated version of >>> ListMagic 1.1 >>> > for download. >>> > >>> > If anyone purchased ListMagic and has not already received an unlock >>> code, >>> > or if you would like to contribute to the future of ListMagic, please >>> > contact me off-list. >>> > >>> > To read about ListMagic and either download the latest trial copy or >>> > purchase ListMagic, please visit: >>> > >>> > http://www.runrev.com/products/related-software/listmagic/ >>> > >>> > Proceeds from the sales of ListMagic are going to his son Emmanuel. >>> > >>> > Thanks! >>> > >>> > Jim Bufalini >>> > >>> > >>> >> -----Original Message----- >>> >> From: use-revolution-bounces at lists.runrev.com [mailto:use- >>> revolution- >>> >> bounces at lists.runrev.com] On Behalf Of Bob Sneidar >>> >> Sent: Friday, January 30, 2009 7:33 AM >>> >> To: How to use Revolution >>> >> Subject: Re: Re-4: List Magic testimony >>> >> >>> >> Out of curiosity, will this stack continue to work in demo mode >>> >> indefinitely? If Eric's family decide to continue to market it, I >>> will >>> >> certainly pay for it as it is quite a nice bit of Revolution >>> >> programming. Just what I needed in fact. But if not, then I cannot >>> >> risk using it in a production project if it is going to fail at a >>> >> later point. >>> >> >>> >> Bob Sneidar >>> >> IT Manager >>> >> Logos Management >>> >> Calvary Chapel CM >>> > >>> > >>> > _______________________________________________ >>> > use-revolution mailing list >>> > use-revolution at 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 at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > From jim at visitrieve.com Sat Feb 7 00:05:24 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 6 Feb 2009 19:05:24 -1000 Subject: ListMagic calculated columns In-Reply-To: <21881420.post@talk.nabble.com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> <008301c9889a$768a5c50$639f14f0$@com> <21881420.post@talk.nabble.com> Message-ID: <009501c988e1$b00f1f50$102d5df0$@com> Hi Josep, First let me say that Eric designed version 1.1 of ListMagic to make it easy to display a list of tab delimited data with headers and a lot of other functionalities, but not to act as a spreadsheet or report generator like you have for database with calculations and breaks and bands, etc. This is obvious from the total lack of handlers to set a value into a line or item. We should probably consider this for version 1.2. That said, and while not totally satisfactory, you could do something like the following: Using your example, let say you had a stack called Pricing, an LM widget called LMPricingList and a tab delimited text file called Pricing.txt that was in the same folder as your stack that looked like: Code Description Units Price Total J001 ItemA 2 12 24 J002 ItemB 4 24 96 J003 ItemC 3 18 54 First, when you set up ListMagic you should uncheck column drag and drop, because you don't want the user dragging the total between the Units and Price and set to Select one line only. In your preOpenCard or openCard you could put something along the lines of: ON preOpenCard local tDataTxtFile ----- set itemdelimiter to slash -- Or backslash -- Set below to the actual location of your data file put item 1 to -2 of the filename of stack "Pricing" & slash & "Pricing.txt" into tDataTxtFile LMPopulate url ("file:" & tDataTxtFile) -- Loads the data. If multiple LMs must specify LM name. END preOpenCard Then you could modify the LMListEdited Command along the lines of: ON LMListEdited pWidget,pItem,pLineNo,pOldValue,pNewValue local tCurList, tNewTotal ----- set itemdelimiter to tab put LMExtractList(true) into tCurList -- get the entire list including hidden columns. SWITCH CASE pItem = 3 put pNewValue * item 4 of line pLineNo of tCurlist into tNewTotal break CASE pItem = 4 put pNewValue * item 3 of line pLineNo of tCurlist into tNewTotal break DEFAULT -- Change here or add CASE statements to allow changes to other values -- This disallows changing any column except 3 or 4. put pOldValue into item pItem of line pLineNo of tCurList END switch If tNewTotal <> empty then put tNewTotal into item 5 of line pLineNo of tCurList LMPopulate tCurList -- again must specify name if there is more than one. send "SetLastClickedLineNo" to "LMPriceList" -- use name of your LMWidget END LMListEdited This works, but as I said is not totally satisfactory because if you have a long list, re-populating the entire list on each edit is time consuming. I would disable the check boxes column, if you are going to have long lists. The above code is not robust, as it does not have error checking, as in the case of a user entering non-numeric characters, etc. but just to give you an idea of how to start. Don't forget to save to the text file at some point either manually with a button or on closing the card. I know Eric added the editing feature at the end and just didn't live long enough to think that, by adding this, people might want to change lines, columns or items based on an edit. We will look at adding this into version 1.2. Also, with the addition of the drag and drop feature, should probably be able to address columns by column name as well as position. Hope this helps. Jim > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Josep > Sent: Friday, February 06, 2009 11:53 AM > To: use-revolution at lists.runrev.com > Subject: RE: ListMagic calculated columns > > > Hi Jim, > > I need something like this example: > > Code Description Units Price Total > J001 Item A 2 12 24(*) > > (*) Column Total will be calculated by col "Units" * "Price", and if > the > user edit the values of Units or Price the column Total will be > calculated. > Other thing is that control the column that the user are editing.. > > Reading the scripts I found: > > on LMListEdited pWidget,pItem,pLineNo,pOldValue,pNewValue > DisplayPrompt "LMListEdited - item" && pItem && "of line" && pLineNo > && > "-" && pOldValue && ">" && pNewValue > -- sent when an item has been edited and changed in the list > -- pWidget is the long ID of the widget > -- pItem is the item number > -- pLineNo is the line number > -- pOldValue is previous value > -- pNewValue is new vlaue > -- write your code here: > > end LMListEdited > > Any that I put inside of this script, thinking that this is correct > handler > not work. > If I use "rawkeyup" message I can intercept the key pressed but nothing > more... sorry but I'm stoped here. > > > Hi Josep, > > I assume you are saying you have handlers you have added into the card > script that are not working? > > Can you show a sample of the code that is not working? > > Thanks! > > Jim Bufalini > > > -- > View this message in context: http://www.nabble.com/ListMagic- > calculated-columns-tp21864343p21881420.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Sat Feb 7 00:28:14 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 6 Feb 2009 19:28:14 -1000 Subject: Re-4: List Magic testimony In-Reply-To: <325413300902061709m7477d616m9721bf13abf385c9@mail.gmail.com> References: <00034521.49822EC7@the-office.us> <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> <009001c988ab$b764c6f0$262e54d0$@com> <325413300902061445pcf0a0c9l4b125e425fc0cb92@mail.gmail.com> <009101c988ad$733a7360$59af5a20$@com> <325413300902061708i647e67feueb7c4a7a5bd48360@mail.gmail.com> <325413300902061709m7477d616m9721bf13abf385c9@mail.gmail.com> Message-ID: <009601c988e4$e0967e90$a1c37bb0$@com> Hi Neal, Glad you found the correct stack. :-) Anyone that downloaded ListMagic 1.1 prior to Friday 2/6/09 should download it again. Even though it has the same version number, it has changes to do with the entry of registration codes and some minor fixes. Jim > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Neal Campbell > Sent: Friday, February 06, 2009 3:10 PM > To: How to use Revolution > Subject: Re: Re-4: List Magic testimony > > I indeed had the wrong stack, sorry! > > Thanks for the help, > > Neal Campbell > Abroham Neal Software > Programming Services for Windows, OS X and Linux > www.abrohamnealsoftware.com > (540) 242 0911 > > > > > On Fri, Feb 6, 2009 at 8:08 PM, Neal Campbell > wrote: > > Hi Jim > > > > On the bottom right (on the stack I got) is a Print button. Do I have > > the wrong stack? > > > > Neal Campbell > > Abroham Neal Software > > Programming Services for Windows, OS X and Linux > > www.abrohamnealsoftware.com > > (540) 242 0911 > > > > > > > > > > On Fri, Feb 6, 2009 at 5:51 PM, Jim Bufalini > wrote: > >> Hi Neal, > >> > >> Click on the *Presentation* tab and then on the *Enter License code* > button > >> on the bottom right. Follow the directions. Once unlocked, you can > download > >> any future trial copy and it will be automatically unlocked. > >> > >> Jim Bufalini > >> > >>> -----Original Message----- > >>> From: use-revolution-bounces at lists.runrev.com [mailto:use- > revolution- > >>> bounces at lists.runrev.com] On Behalf Of Neal Campbell > >>> Sent: Friday, February 06, 2009 12:45 PM > >>> To: How to use Revolution > >>> Subject: Re: Re-4: List Magic testimony > >>> > >>> Hi Jim > >>> > >>> I got an unlock code but am not sure how to use it. Where do you > enter > >>> the code? > >>> > >>> Neal Campbell > >>> Abroham Neal Software > >>> Programming Services for Windows, OS X and Linux > >>> www.abrohamnealsoftware.com > >>> (540) 242 0911 > >>> > >>> > >>> > >>> > >>> On Fri, Feb 6, 2009 at 5:39 PM, Jim Bufalini > >>> wrote: > >>> > Dear Bob and All, > >>> > > >>> > We are still in the process of sorting things out after Eric's > >>> untimely and > >>> > unexpected death. Just yesterday and today we managed to get > unlock > >>> codes to > >>> > all who had purchased and posted the latest updated version of > >>> ListMagic 1.1 > >>> > for download. > >>> > > >>> > If anyone purchased ListMagic and has not already received an > unlock > >>> code, > >>> > or if you would like to contribute to the future of ListMagic, > please > >>> > contact me off-list. > >>> > > >>> > To read about ListMagic and either download the latest trial copy > or > >>> > purchase ListMagic, please visit: > >>> > > >>> > http://www.runrev.com/products/related-software/listmagic/ > >>> > > >>> > Proceeds from the sales of ListMagic are going to his son > Emmanuel. > >>> > > >>> > Thanks! > >>> > > >>> > Jim Bufalini > >>> > > >>> > > >>> >> -----Original Message----- > >>> >> From: use-revolution-bounces at lists.runrev.com [mailto:use- > >>> revolution- > >>> >> bounces at lists.runrev.com] On Behalf Of Bob Sneidar > >>> >> Sent: Friday, January 30, 2009 7:33 AM > >>> >> To: How to use Revolution > >>> >> Subject: Re: Re-4: List Magic testimony > >>> >> > >>> >> Out of curiosity, will this stack continue to work in demo mode > >>> >> indefinitely? If Eric's family decide to continue to market it, > I > >>> will > >>> >> certainly pay for it as it is quite a nice bit of Revolution > >>> >> programming. Just what I needed in fact. But if not, then I > cannot > >>> >> risk using it in a production project if it is going to fail at > a > >>> >> later point. > >>> >> > >>> >> Bob Sneidar > >>> >> IT Manager > >>> >> Logos Management > >>> >> Calvary Chapel CM > >>> > > >>> > > >>> > _______________________________________________ > >>> > use-revolution mailing list > >>> > use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Sat Feb 7 00:31:28 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 6 Feb 2009 19:31:28 -1000 Subject: ListMagic calculated columns In-Reply-To: <459b22a90902061514r13db0b0bibebec76175a90a0d@mail.gmail.com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> <008301c9889a$768a5c50$639f14f0$@com> <21881420.post@talk.nabble.com> <459b22a90902061514r13db0b0bibebec76175a90a0d@mail.gmail.com> Message-ID: <009701c988e5$5f8db2e0$1ea918a0$@com> Hi William, I'll dig into this shortly. Thanks in advance for your patience. Jim > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of william humphrey > Sent: Friday, February 06, 2009 1:14 PM > To: How to use Revolution > Subject: Re: ListMagic calculated columns > > I'm having trouble getting "LMPopulate" to work when the list widget is > in a > card on another stack. > WHen I do: "LMPopulate tList,the long ID of fld "Customers" of card > "Sales" > of stack "hopeless'" as in the example it doesn't work. I end up having > to > > lock screen > go card "sales" of stack "hopeless" > > *LMPopulate tList* > > go stack "original stack" > > unlock screen > > > This wouldn't be so bad except there is still a flash of the "hopeless" > stack even with the lock screen. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jmyepes at mac.com Sat Feb 7 03:57:17 2009 From: jmyepes at mac.com (Josep) Date: Sat, 7 Feb 2009 00:57:17 -0800 (PST) Subject: ListMagic calculated columns In-Reply-To: <009501c988e1$b00f1f50$102d5df0$@com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> <008301c9889a$768a5c50$639f14f0$@com> <21881420.post@talk.nabble.com> <009501c988e1$b00f1f50$102d5df0$@com> Message-ID: <21886231.post@talk.nabble.com> Hi, :) Thanks. It's enought to begin so the idea of use is for invoicing little documents, no long lists. I will try to follow your code... I think that some formula capability for the next version will be great, not to act as a spreadsheet but yes to do some automated formulas. Cheers, Josep M Jim Bufalini-3 wrote: > > Hi Josep, > > First let me say that Eric designed version 1.1 of ListMagic to make it > easy > to display a list of tab delimited data with headers and a lot of other > functionalities, but not to act as a spreadsheet or report generator like > you have for database with calculations and breaks and bands, etc. This is > obvious from the total lack of handlers to set a value into a line or > item. > We should probably consider this for version 1.2. > > That said, and while not totally satisfactory, you could do something like > the following: > > Using your example, let say you had a stack called Pricing, an LM widget > called LMPricingList and a tab delimited text file called Pricing.txt that > was in the same folder as your stack that looked like: > > Code Description Units Price Total > J001 ItemA 2 12 24 > J002 ItemB 4 24 96 > J003 ItemC 3 18 54 > > > First, when you set up ListMagic you should uncheck column drag and drop, > because you don't want the user dragging the total between the Units and > Price and set to Select one line only. > > In your preOpenCard or openCard you could put something along the lines > of: > > ON preOpenCard > local tDataTxtFile > ----- > set itemdelimiter to slash -- Or backslash > -- Set below to the actual location of your data file > put item 1 to -2 of the filename of stack "Pricing" & slash & > "Pricing.txt" into tDataTxtFile > LMPopulate url ("file:" & tDataTxtFile) -- Loads the data. If multiple > LMs must specify LM name. > END preOpenCard > > Then you could modify the LMListEdited Command along the lines of: > > ON LMListEdited pWidget,pItem,pLineNo,pOldValue,pNewValue > local tCurList, tNewTotal > ----- > set itemdelimiter to tab > put LMExtractList(true) into tCurList -- get the entire list including > hidden columns. > SWITCH > CASE pItem = 3 > put pNewValue * item 4 of line pLineNo of tCurlist into tNewTotal > break > CASE pItem = 4 > put pNewValue * item 3 of line pLineNo of tCurlist into tNewTotal > break > DEFAULT > -- Change here or add CASE statements to allow changes to other values > -- This disallows changing any column except 3 or 4. > put pOldValue into item pItem of line pLineNo of tCurList > END switch > If tNewTotal <> empty then put tNewTotal into item 5 of line pLineNo of > tCurList > LMPopulate tCurList -- again must specify name if there is more than > one. > send "SetLastClickedLineNo" to "LMPriceList" -- use name of your > LMWidget > END LMListEdited > > This works, but as I said is not totally satisfactory because if you have > a > long list, re-populating the entire list on each edit is time consuming. I > would disable the check boxes column, if you are going to have long lists. > The above code is not robust, as it does not have error checking, as in > the > case of a user entering non-numeric characters, etc. but just to give you > an > idea of how to start. > > Don't forget to save to the text file at some point either manually with a > button or on closing the card. > > I know Eric added the editing feature at the end and just didn't live long > enough to think that, by adding this, people might want to change lines, > columns or items based on an edit. We will look at adding this into > version > 1.2. Also, with the addition of the drag and drop feature, should probably > be able to address columns by column name as well as position. > > Hope this helps. > > Jim > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Josep >> Sent: Friday, February 06, 2009 11:53 AM >> To: use-revolution at lists.runrev.com >> Subject: RE: ListMagic calculated columns >> >> >> Hi Jim, >> >> I need something like this example: >> >> Code Description Units Price Total >> J001 Item A 2 12 24(*) >> >> (*) Column Total will be calculated by col "Units" * "Price", and if >> the >> user edit the values of Units or Price the column Total will be >> calculated. >> Other thing is that control the column that the user are editing.. >> >> Reading the scripts I found: >> >> on LMListEdited pWidget,pItem,pLineNo,pOldValue,pNewValue >> DisplayPrompt "LMListEdited - item" && pItem && "of line" && pLineNo >> && >> "-" && pOldValue && ">" && pNewValue >> -- sent when an item has been edited and changed in the list >> -- pWidget is the long ID of the widget >> -- pItem is the item number >> -- pLineNo is the line number >> -- pOldValue is previous value >> -- pNewValue is new vlaue >> -- write your code here: >> >> end LMListEdited >> >> Any that I put inside of this script, thinking that this is correct >> handler >> not work. >> If I use "rawkeyup" message I can intercept the key pressed but nothing >> more... sorry but I'm stoped here. >> >> >> Hi Josep, >> >> I assume you are saying you have handlers you have added into the card >> script that are not working? >> >> Can you show a sample of the code that is not working? >> >> Thanks! >> >> Jim Bufalini >> >> >> -- >> View this message in context: http://www.nabble.com/ListMagic- >> calculated-columns-tp21864343p21881420.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/ListMagic-calculated-columns-tp21864343p21886231.html Sent from the Revolution - User mailing list archive at Nabble.com. From geradamas at yahoo.com Sat Feb 7 06:38:55 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 7 Feb 2009 03:38:55 -0800 (PST) Subject: Detecting CYMK jpeg images Message-ID: <216183.20757.qm@web37505.mail.mud.yahoo.com> Richmond's crude method: Ben Rubinstein sent me 2 jpegs: one RGB and one CMYK, I imported them into a stack with 2 buttons ('INFO' and 'INFO') and one field ('fINFO'): button 'INFO' had this script: on mouseUp put the imagedata of img "revbannerRGB.jpg" into fld "fINFO" end mouseUp button 'INFO 2': on mouseUp put the imagedata of img "revbannerCMYK.jpg" into fld "fINFO" end mouseUp - rocket science :) - now the imageData for the RGB image is the expected load of "goobledegook", however the imageData for the CMYK image is very odd indeed; consisting of hundreds of regular characters preceded by a ' From shoreagent at gmail.com Sat Feb 7 07:10:27 2009 From: shoreagent at gmail.com (william humphrey) Date: Sat, 7 Feb 2009 08:10:27 -0400 Subject: ListMagic calculated columns In-Reply-To: <21886231.post@talk.nabble.com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> <008301c9889a$768a5c50$639f14f0$@com> <21881420.post@talk.nabble.com> <009501c988e1$b00f1f50$102d5df0$@com> <21886231.post@talk.nabble.com> Message-ID: <459b22a90902070410t7d6ca2fex2265bd43f97f384c@mail.gmail.com> A list magic suggestion: Please don't add too many features. My favorite thing about listmagic is the ease of use. There are other very promising add-ons to RunRev that I had so much hope for but which I've been unable to use because I couldn't overcome the initial learning curve necessary to get to use them. A good example is Quartam Reports. It is a wonderful program/add-on which could solve, I'm sure, many of the problems I'm having with the reporting features of my database program but I was never able to figure out how to use it and ended up hand coding all my reports directly in RunRev. List Magic just works right out of the box and takes very little understanding. Please be careful as you add features (which as the programmer you will understand but you risk your user not being able to figure out). Maybe you make two versions? A feature bloated one and the original one only with even cleaner and more bug free code? Just a suggestion. I also didn't mean to pick on Quartam reports like that (only as an example of what happens with complex programs). Valentina also has a reporting function that I've never been able to figure out enough to use productively. It might be because I am used to the old reporting function "Nine to Five Reports" for hypercard which had the advantage over our Quartam Reports and Valentina Reports of not having to work with SQL databases. Bill From jim at visitrieve.com Sat Feb 7 10:05:26 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 7 Feb 2009 05:05:26 -1000 Subject: ListMagic column width In-Reply-To: <31389967.176461233967093873.JavaMail.nabble@isper.nabble.com> References: <31389967.176461233967093873.JavaMail.nabble@isper.nabble.com> Message-ID: <009901c98935$8264b5c0$872e2140$@com> Josep, Turn off automatic resizing of column width. Allow me to explain: Automatic resizing of column width is not based on the header, but the widest element of data in a column. Hence, when you make a change, such as an edit of data in a column or a delete or an addition of a row (line), this handler is triggered. For example, did you just delete the line with the widest element of data in a column? Did you just add a row or edit an item with a wider than the column width element? If you don't want columns to automatically resize, turn off this *feature*. :-) This applies to your scroll bar question. Jim > -----Original Message----- > From: jmyepes at mac.com [mailto:jmyepes at mac.com] > Sent: Friday, February 06, 2009 2:38 PM > To: jim at visitrieve.com > Subject: ListMagic column width > > Hi Jim, > > Heather say me that you will continue the work of Eric in front of > ListMagic. You have all my humble help if you need it. > > One question about the column width. One resize each column with a > determined width, all is fine until I add or delete any row, all the > columns was with same initial width. Why? How can avoid this? > > Cheers, > Josep M From geradamas at yahoo.com Sat Feb 7 10:35:23 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 7 Feb 2009 07:35:23 -0800 (PST) Subject: Detecting CYMK jpeg images Message-ID: <587807.89869.qm@web37504.mail.mud.yahoo.com> First time I posted this the bottom got lopped off! ----------------------------------------------------- Richmond's crude method: Ben Rubinstein sent me 2 jpegs: one RGB and one CMYK, I imported them into a stack with 2 buttons ('INFO' and 'INFO') and one field ('fINFO'): button 'INFO' had this script: on mouseUp put the imagedata of img "revbannerRGB.jpg" into fld "fINFO" end mouseUp button 'INFO 2': on mouseUp put the imagedata of img "revbannerCMYK.jpg" into fld "fINFO" end mouseUp - rocket science :) - now the imageData for the RGB image is the expected load of "goobledegook", however the imageData for the CMYK image is very odd indeed; consisting of hundreds of regular characters preceded by a '?'. Now all you need is to look for the '?' sets to know that your imported JPEG is CMYK rather than RGB. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From jim at visitrieve.com Sat Feb 7 10:44:36 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 7 Feb 2009 05:44:36 -1000 Subject: ListMagic (was: RE: ListMagic calculated columns) In-Reply-To: <459b22a90902070410t7d6ca2fex2265bd43f97f384c@mail.gmail.com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> <008301c9889a$768a5c50$639f14f0$@com> <21881420.post@talk.nabble.com> <009501c988e1$b00f1f50$102d5df0$@com> <21886231.post@talk.nabble.com> <459b22a90902070410t7d6ca2fex2265bd43f97f384c@mail.gmail.com> Message-ID: <009a01c9893a$fb694b20$f23be160$@com> Dear Bill, Thank you for your very astute observation. How many times have each of us added a "nice to have" feature, only to discover, in retrospect, that it implied a dozen other features and functionality to others that we never intended. ;-) You may let your hope spring eternal as far as ListMagic is concerned. Both Eric an I believed in programs being "automatic." What this means is, if a program can infer and do something, why force a user to do it? Computers were supposed to save time, right? ;-) On the other hand, never hamstring a user into your mindset. My thinking behind my previous comments were that I could make public a function that allows for the programmatic "editing" of an item in a list. You will not have to use the function. It will just be available if you need it, so that you don't have to repopulate an entire list. Eric really did do a heck of a time-saver and mindless gadget with ListMagic. I intend to carry the torch. Jim > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of william humphrey > Sent: Saturday, February 07, 2009 2:10 AM > To: How to use Revolution > Subject: Re: ListMagic calculated columns > > A list magic suggestion: > Please don't add too many features. My favorite thing about listmagic > is the > ease of use. There are other very promising add-ons to RunRev that I > had so > much hope for but which I've been unable to use because I couldn't > overcome > the initial learning curve necessary to get to use them. A good example > is > Quartam Reports. It is a wonderful program/add-on which could solve, > I'm > sure, many of the problems I'm having with the reporting features of my > database program but I was never able to figure out how to use it and > ended > up hand coding all my reports directly in RunRev. > > List Magic just works right out of the box and takes very little > understanding. Please be careful as you add features (which as the > programmer you will understand but you risk your user not being able to > figure out). > > Maybe you make two versions? A feature bloated one and the original one > only > with even cleaner and more bug free code? > > Just a suggestion. I also didn't mean to pick on Quartam reports like > that > (only as an example of what happens with complex programs). Valentina > also > has a reporting function that I've never been able to figure out enough > to > use productively. It might be because I am used to the old reporting > function "Nine to Five Reports" for hypercard which had the advantage > over > our Quartam Reports and Valentina Reports of not having to work with > SQL > databases. > > Bill > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From effendi at wanadoo.fr Sat Feb 7 12:05:00 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 7 Feb 2009 18:05:00 +0100 Subject: Can I tell if a Rev Stack calls QT ? Message-ID: <0A5C7D2B-CCD4-4108-BE69-843AD3BC2B11@wanadoo.fr> Hi from Paris, I would like to look at a Revolution stack (let's call it "StackA", from another Revolution stack (let's call it "StackB" and know whether QuickTime is called within "StackA" (for audio or video functions) or not. Anybody got any ideas ? -Francis "Nothing should ever be done for the first time !" From ambassador at fourthworld.com Sat Feb 7 12:10:37 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Feb 2009 09:10:37 -0800 Subject: ListMagic calculated columns Message-ID: <498DC08D.1050002@fourthworld.com> william humphrey wrote: > A list magic suggestion: > Please don't add too many features. I must have missed a post: who is managing the product now? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From runrev260805 at m-r-d.de Sat Feb 7 13:15:42 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sat, 7 Feb 2009 18:15:42 +0000 Subject: Re-2: ListMagic calculated columns Message-ID: <000348A0.498DDDDD@the-office.us> Hi Richard, the following is an excerpt of an email from Runrev, which was sent to all ListMagic purchasers: "I'm happy to say that we have now reached a resolution. Jim Bufalini, Eric's business partner, will take over maintenance of ListMagic. It will continue to be listed in RevSelect. He has been able to retrieve the code Eric was working on before his death, and completed it. Please download the final correct edition of ListMagic 1.1 here: http://downloads.runrev.com/revselect/ListMagic1.1.zip Jim has sent me the contact details of the customers who purchased direct from So Smart Software, so that I can update you and give you a code." Regards, Matthias -------- Original Message -------- Subject: Re: ListMagic calculated columns (07-Feb-2009 18:11) From: Richard Gaskin To: runrev260805 at m-r-d.de > william humphrey wrote: > > A list magic suggestion: > > Please don't add too many features. > > I must have missed a post: who is managing the product now? > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From shoreagent at gmail.com Sat Feb 7 13:58:52 2009 From: shoreagent at gmail.com (william humphrey) Date: Sat, 7 Feb 2009 14:58:52 -0400 Subject: Re-2: ListMagic calculated columns In-Reply-To: <000348A0.498DDDDD@the-office.us> References: <000348A0.498DDDDD@the-office.us> Message-ID: <459b22a90902071058v7a42eba3p1c9a9be3b5e06940@mail.gmail.com> Thanks This link http://downloads.runrev.com/revselect/ListMagic1.1.zip Downloads and empty folder... From runrev260805 at m-r-d.de Sat Feb 7 14:28:49 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sat, 7 Feb 2009 19:28:49 +0000 Subject: Re-4: ListMagic calculated columns Message-ID: <000348A2.498DEF00@the-office.us> Hi, i am sorry, but what do you want to say with that? Matthias -------- Original Message -------- Subject: Re: Re-2: ListMagic calculated columns (07-Feb-2009 20:01) From: william humphrey To: runrev260805 at m-r-d.de > Thanks > This link > > > http://downloads.runrev.com/revselect/ListMagic1.1.zip > > Downloads and empty folder... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From revdev at pdslabs.net Sat Feb 7 15:18:06 2009 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 07 Feb 2009 12:18:06 -0800 Subject: Can I tell if a Rev Stack calls QT ? In-Reply-To: <0A5C7D2B-CCD4-4108-BE69-843AD3BC2B11@wanadoo.fr> References: <0A5C7D2B-CCD4-4108-BE69-843AD3BC2B11@wanadoo.fr> Message-ID: <498DEC7E.309@pdslabs.net> Hi Francis, You're aware of the 'dontUseQT' and 'dontUseQtEffects' properties, right? As I understand it, your app won't use QT if these properties are both set to true. Both props are set to false by default, so StackA would have to be turning QT off deliberately if it isn't using QT. I suppose you could add a custom property to your stacks that is used by script to set QT settings, like: on preOpenStack set the dontUseQT to (the uAvoidQT of this stack = true) set the dontUseQTEffects to (the uAvoidQT of this stack = true) end preOpenStack Then StackB could simply check the uAvoidQT of StackA to see if it IS ABLE to use QT. It still won't tell you if it HAS USED QT (in the case where uAvoidQT = false or empty). You would have to somehow register the use of players in StackA (via 'playStarted' message?). Screen transitions that use QT effects might be harder to detect and register. Hey, you asked for ideas. ;o) Hope this gets you thinking. Best - Phil Davis Francis Nugent Dixon wrote: > Hi from Paris, > > I would like to look at a Revolution stack (let's call > it "StackA", from another Revolution stack (let's call > it "StackB" and know whether QuickTime is called within > "StackA" (for audio or video functions) or not. > > Anybody got any ideas ? > > -Francis > > "Nothing should ever be done for the first time !" > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From arthur.rann at gmail.com Sun Feb 8 02:57:18 2009 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 8 Feb 2009 01:57:18 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) Message-ID: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> Hi, I have a really strange and frightening situation on my hands that I'm trying to make sense of. If anyone has a suggestion, I'd LOVE to hear it. A few months ago, our users started complaining that things 'suddenly broke'. This is happening in a standalone app based in RunRev 2.7 or 2.8, whatever it was last summer, and is affecting both Mac and PC platforms. We have a very simple system, with three cards being templates, and one card being our 'intro' screen. We also have one group with its 'background' flag on, which is a floating 'table of contents' (which we call TOC) that resides on every screen. This group contains a list of all of the active files. When a user chooses to create a new file, we execute the script below, which in turn copies and pastes one of the three template cards. This TOC group then gets updated with the latest name of the card, as per the script. This worked fine until recently. The problem is, the latest version of this stack no longer pastes the TOC group as the same TOC group it starts off as. So subsequent clicks of the 'add file' button on the TOC ends up creating another copy of itself, and the data being written to its field is then unique to that card, instead of listing all of the cards. Does that make sense, and does anyone know why this might SUDDENLY start happening? I know the original version was written in a trial version of 2.7, I think, but the final version was published using the fully licensed version. Could that be the problem? I have two stacks that are represent the start and end of about 6 months of development time. If I execute this script in the original stack (in RR 3.0, it works correctly. If I do this in the more recently altered stack (also in RR 3.0), it fails. I know that the ID for a copied group needs to be the same as the one on the previous card, in order for it to behave as a background, or at least that's what the RR help files say. But in this case, it should be. It's that pasting the card containing the TOC seems to be altering the TOC ID now, and it doesn't do that on the original. What should I look for? Any suggestions? Here's the script... *on* mouseUp createNewPlay *end* mouseUp *on* createNewPlay *ask* "What would you like to name the new file?" *if* it is empty *then* *exit* createNewPlay *put* it into newName *lock* screen *copy* card 1 *go* last cd *paste* *set* the cantdelete of last cd to false *put* the number of lines of bg fld "CardList" into thisMany *put* "Play: " & newName into line thisMany + 1 of bg fld "CardList" *unlock* screen slowmohideTOC *end* createNewPlay Thank you, -Art From th.douez at gmail.com Sun Feb 8 03:14:55 2009 From: th.douez at gmail.com (Thierry) Date: Sun, 8 Feb 2009 09:14:55 +0100 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> Message-ID: Hi Arthur, > Hi, > <....> > We have a very simple system, with three cards being templates, and > one card > being our 'intro' screen. We also have one group with its > 'background' flag > on, which is a floating 'table of contents' (which we call TOC) > that resides > on every screen. Look here : There is a little stack with to show the bug. I guess you are in the same boat I was :-( http://quality.runrev.com/qacenter/show_bug.cgi?id=7670 Well, as a workaround, I kept the bg group, as I needed it on few cards, but I moved my *bg* scripts in an object inside the group, and use the *insert script...* functionality. This way, the messages get caught again. Beware that all your cards see these scripts then ! HTH, Regards, Thierry From arthur.rann at gmail.com Sun Feb 8 03:23:27 2009 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 8 Feb 2009 02:23:27 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> Message-ID: <64bccb0c0902080023s6907c8ebn80044a84a97eabad@mail.gmail.com> And just a bit more weirdness: If I go to cd 1, then do 'copy this cd' and then 'paste', it works fine, for that newly created card. If I go to my last cd, then do 'paste', it does not work, and the list will only contain one file, even if more have been made. However, the last cd and my cd 1 share the same background. It has the same ID and everything. Thank you for any suggestions, -Art From bdrunrev at gmail.com Sun Feb 8 06:15:36 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 8 Feb 2009 11:15:36 +0000 Subject: Script Reporter In-Reply-To: References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> Message-ID: Hi Stuart, Thanks for drawing our attention to Script Reporter. The issue it addresses came up on the Rev forum last summer, and Bjornke offered an ad hoc solution. I just posted a reply to that discussion to point people towards Script Reporter. Bernard On Fri, Feb 6, 2009 at 4:57 PM, RevList wrote: > > Others might also be interested in a rev stack that I developed some time > ago called Script Reporter. It too is free and open source. > > See http://www.createchsol.com/ScriptReporter/ for a video and download. > > > ****************************************** > Stewart Lynch > From arthur.rann at gmail.com Sun Feb 8 07:45:21 2009 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 8 Feb 2009 06:45:21 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <64bccb0c0902080023s6907c8ebn80044a84a97eabad@mail.gmail.com> References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> <64bccb0c0902080023s6907c8ebn80044a84a97eabad@mail.gmail.com> Message-ID: <64bccb0c0902080445n2656e944m4026cdc1a2ae126a@mail.gmail.com> Hi, Well, this is getting fun. This morning, the following script results in RunRev just quitting. No errors, not 'crashing' (no crash log, no 'Application has unexpectedly quit'), no saving anything, RunRev just shuts itself off and dumps me back in the Finder. I am at an absolute loss as to what to do, because this doesn't seem like rocket science. go cd 1 cut this card go last card paste *poof* WTF? -Art On Sun, Feb 8, 2009 at 2:23 AM, Arthur Rann wrote: > And just a bit more weirdness: > If I go to cd 1, then do 'copy this cd' and then 'paste', it works fine, > for that newly created card. > > If I go to my last cd, then do 'paste', it does not work, and the list will > only contain one file, even if more have been made. > > However, the last cd and my cd 1 share the same background. It has the same > ID and everything. > > Thank you for any suggestions, > -Art > From revolution at derbrill.de Sun Feb 8 08:50:34 2009 From: revolution at derbrill.de (Malte Brill) Date: Sun, 8 Feb 2009 14:50:34 +0100 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <20090206180005.B50D548AAC3@mail.runrev.com> References: <20090206180005.B50D548AAC3@mail.runrev.com> Message-ID: <90AF74C3-91C2-44E8-A0F9-493CC7285ED5@derbrill.de> Hi Art, Now, that?s a nice one! cut this cd in a button indead instantly shuts down rev (at least on a mac). If you have not reported this to the quality centre yet, please do so. I think this is a severe defect. Please let me know the bug number. A workaround would be go last copy cd 1 to this stack Hope that helps. Cheers, malte From arthur.rann at gmail.com Sun Feb 8 09:16:10 2009 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 8 Feb 2009 08:16:10 -0600 Subject: How to do this basic thing? Message-ID: <64bccb0c0902080616l4faa649dpffc5568a6dce5c0d@mail.gmail.com> Hi, Since the system I had built before is failing so spectacularly, I can only assume I must be doing something wrong, So how would you (anyone?) suggest I build this? I need to have an intro screen. On that screen, i want a big list (initially empty) on the side, and a button that say, "new". When you click the 'new' button, it changes to a new screen, with a bunch of things pre-populated on it, based on a template card. The list stays on the screen though, on the left side, and now shows that there is one entry, which links to this page. Then the user can fiddle around with things on that page. Clicking the 'new' button next to the list creates a new screen, again based on my template. I was using a template card before, with the list in a group set to act as a background, and using copy & paste for the template card to make the new pages. But this is no longer works, as the group that contains the master list gets created new every time the copy & paste happens for the card containing it. So on every page, it has only one entry. It used to list all of the cards, but I guess I screwed it up somehow. How should I build this? Thank you, -Art From bdrunrev at gmail.com Sun Feb 8 09:58:51 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 8 Feb 2009 14:58:51 +0000 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <90AF74C3-91C2-44E8-A0F9-493CC7285ED5@derbrill.de> References: <20090206180005.B50D548AAC3@mail.runrev.com> <90AF74C3-91C2-44E8-A0F9-493CC7285ED5@derbrill.de> Message-ID: Just to say it doesn't crash Rev for me. However it doesn't paste the card either. Looking at the dictionary I'm not sure if one should be able to 'paste' a card: "Pastes the contents of the clipboard into the selection or insertion point. [...] Use the *paste* command to place objects, an image, or text on the current card." I'm on OS X 10.4.11 PPC. Bernard On Sun, Feb 8, 2009 at 1:50 PM, Malte Brill wrote: > Hi Art, > > Now, that?s a nice one! > > cut this cd in a button indead instantly shuts down rev (at least on a > mac). If you have not reported this to the quality centre yet, please do so. > I think this is a severe defect. > Please let me know the bug number. > > A workaround would be > > go last > copy cd 1 to this stack > > Hope that helps. > > Cheers, > > malte_______________________________________________ > > From bdrunrev at gmail.com Sun Feb 8 10:01:27 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 8 Feb 2009 15:01:27 +0000 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: References: <20090206180005.B50D548AAC3@mail.runrev.com> <90AF74C3-91C2-44E8-A0F9-493CC7285ED5@derbrill.de> Message-ID: Oops, from the link Thierry provided, I see that this discussion may be referreing to 3.5 DP4. My remarks relate to 3.0 Build 750. Bernard On Sun, Feb 8, 2009 at 2:58 PM, Bernard Devlin wrote: > Just to say it doesn't crash Rev for me. However it doesn't paste the card > either. Looking at the dictionary I'm not sure if one should be able to > 'paste' a card: > > "Pastes the contents of the clipboard into the selection or insertion > point. > > [...] > > Use the *paste* command to place objects, an image, or text on the current > card." > > I'm on OS X 10.4.11 PPC. > > Bernard > > On Sun, Feb 8, 2009 at 1:50 PM, Malte Brill wrote: > >> Hi Art, >> >> Now, that?s a nice one! >> >> cut this cd in a button indead instantly shuts down rev (at least on a >> mac). If you have not reported this to the quality centre yet, please do so. >> I think this is a severe defect. >> Please let me know the bug number. >> >> A workaround would be >> >> go last >> copy cd 1 to this stack >> >> Hope that helps. >> >> Cheers, >> >> malte_______________________________________________ >> >> > From th.douez at gmail.com Sun Feb 8 10:58:00 2009 From: th.douez at gmail.com (Thierry) Date: Sun, 8 Feb 2009 16:58:00 +0100 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: References: <20090206180005.B50D548AAC3@mail.runrev.com> <90AF74C3-91C2-44E8-A0F9-493CC7285ED5@derbrill.de> Message-ID: Le 8 f?vr. 09 ? 16:01, Bernard Devlin a ?crit : > Oops, from the link Thierry provided, I see that this discussion > may be > referreing to 3.5 DP4. My remarks relate to 3.0 Build 750. > Bernard Hi, Seems this bug is there since quite a long time; 2.7 ? See the comment from Revolution's team. HTH Thierry From jacque at hyperactivesw.com Sun Feb 8 12:16:28 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 08 Feb 2009 11:16:28 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <64bccb0c0902080023s6907c8ebn80044a84a97eabad@mail.gmail.com> References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> <64bccb0c0902080023s6907c8ebn80044a84a97eabad@mail.gmail.com> Message-ID: <498F136C.6040004@hyperactivesw.com> Arthur Rann wrote: > And just a bit more weirdness: > If I go to cd 1, then do 'copy this cd' and then 'paste', it works fine, for > that newly created card. > > If I go to my last cd, then do 'paste', it does not work, and the list will > only contain one file, even if more have been made. > > However, the last cd and my cd 1 share the same background. It has the same > ID and everything. I'd avoid copy/pasting cards and instead, try this: clone card 1 set the number of it to the number of cds That will clone the first card and place it into the stack at the end. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Sun Feb 8 12:27:09 2009 From: dunbarx at aol.com (dunbarx) Date: Sun, 08 Feb 2009 12:27:09 -0500 Subject: How to do this basic thing? In-Reply-To: <64bccb0c0902080616l4faa649dpffc5568a6dce5c0d@mail.gmail.com> Message-ID: I am more at ease in HC, but wouldn't just making a new card, since you already have the field set up as a background, do the trick? Maybe cutting and pasting creates default conditions in Rev that are screwing stuff up. I think making a new card keeps your bg stuff, and all other objects are owned only by the card itself. Craig Newman On Feb 8, 2009, at 9:16:10 AM, "Arthur Rann" wrote: From: "Arthur Rann" Subject: How to do this basic thing? Date: February 8, 2009 9:16:10 AM EST To: "How to use Revolution" Hi, Since the system I had built before is failing so spectacularly, I can only assume I must be doing something wrong, So how would you (anyone?) suggest I build this? I need to have an intro screen. On that screen, i want a big list (initially empty) on the side, and a button that say, "new". When you click the 'new' button, it changes to a new screen, with a bunch of things pre-populated on it, based on a template card. The list stays on the screen though, on the left side, and now shows that there is one entry, which links to this page. Then the user can fiddle around with things on that page. Clicking the 'new' button next to the list creates a new screen, again based on my template. I was using a template card before, with the list in a group set to act as a background, and using copy & paste for the template card to make the new pages. But this is no longer works, as the group that contains the master list gets created new every time the copy & paste happens for the card containing it. So on every page, it has only one entry. It used to list all of the cards, but I guess I screwed it up somehow. How should I build this? Thank you, -Art _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rjearp at hotmail.com Sun Feb 8 13:45:43 2009 From: rjearp at hotmail.com (Bob Earp) Date: Sun, 8 Feb 2009 10:45:43 -0800 Subject: Import temperature and switch on/off the heater with Rev Message-ID: Mark-It does with a USB to Serial adapter. Once the adapter is set up to replicate a specific port you just tell PortMon to monitor the pseudo port, unfortunately only on Windows though.best, Bob...~~~~~~~~~~~~~~~~~~Message: 2Date: Wed, 4 Feb 2009 14:37:40 -0800From: Mark Wieder Subject: Re: Import temperature and switch on/off the heater with RevTo: How to use Revolution Message-ID: <146745232640.20090204143740 at ahsoftware.net>Content-Type: text/plain; charset=us-asciiBob-Interesting - I didn't think portmon worked with usb ports.-- -Mark Wiedermwieder at ahsoftware.net _________________________________________________________________ The new Windows Live Messenger. You don?t want to miss this. http://www.microsoft.com/windows/windowslive/messenger.aspx From mdswindell at cruzio.com Sun Feb 8 14:25:54 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Sun, 8 Feb 2009 11:25:54 -0800 Subject: Script Reporter In-Reply-To: References: <7c87a2a10902040916y51e2d6e2u928744405dec6ad1@mail.gmail.com> Message-ID: <121CC6BE-D73F-4422-AA34-DCAC7559F23D@cruzio.com> Stewart, I just downloaded Script Reporter and gave it a quick spin. What a great resource, and beautifully executed. Thank you! Mark > >> >> Others might also be interested in a rev stack that I developed >> some time >> ago called Script Reporter. It too is free and open source. >> >> See http://www.createchsol.com/ScriptReporter/ for a video and >> download. >> >> >> ****************************************** >> Stewart Lynch >> > _____________________ From effendi at wanadoo.fr Sun Feb 8 15:19:42 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 8 Feb 2009 21:19:42 +0100 Subject: Can I tell if a Rev Stack calls QT ? Message-ID: <446A8819-29DD-4C90-8684-8070D81ABF12@wanadoo.fr> Hi from Paris, Phil, you did get me thinking, and the answer is so simple, it makes me look stupid. If QT is used in any of my stacks, this stack is in a folder with any supporting files (those used by QT). All I have to do is to put a dummy file in the folder which indicates QT use. If StackB (which, IYI, is an installation setup program) finds this dummy file, it also installs QT on the target computer, if it is not there already. Thanks for kick-starting me ! -Francis "Nothing should ever be done for the first time !" From effendi at wanadoo.fr Sun Feb 8 15:50:07 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 8 Feb 2009 21:50:07 +0100 Subject: How do I do this basic thing ? Message-ID: Art, How about this ! Create all of your fields on card 1 of your stack. Create a group containing only the left hand field & name it. If you want the same contents in each card, set the "share text" indicator for this field. When you fill it by hand, this text will show in all the cards you create later. Create a group for all the other fields, except the "New" button (which should not lie in the same boundaries as fields in group 2), & name it. Create a group containing your "New" button & name it. Create a group containing all three groups, and define it as a background. In your openCard script :- hide group 2 of card 1. In your "New" button, lock screen, go to last card, create card, show group 2, unlock screen. Does this solve your problem ? -Francis "Nothing should ever be done for the first time !" From effendi at wanadoo.fr Sun Feb 8 16:02:38 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 8 Feb 2009 22:02:38 +0100 Subject: How do I do this basic thing ? Message-ID: <526262C4-52E8-42DA-B9D8-2DF955A95AC1@wanadoo.fr> Sorry Art, forgot to add : If any elements of group 2 are pre-populated, then you define these fields as "shared text", or you can populate these fields in the "New" button script, by passing them through a few local variables from the current card to the new card.. -Francis \ ( (_/ \_\ From arthur.rann at gmail.com Sun Feb 8 18:22:26 2009 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 8 Feb 2009 17:22:26 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: References: <20090206180005.B50D548AAC3@mail.runrev.com> <90AF74C3-91C2-44E8-A0F9-493CC7285ED5@derbrill.de> Message-ID: <64bccb0c0902081522r61a9c381u145489370ba45b5f@mail.gmail.com> Hi Bernard, Paste, to paste a card, has worked fine in every version of RunRev I've ever seen, until I guess around 3.0. And like you, sometimes it does, and sometimes it doesn't crash. It definitely looks like a bug to me! Thanks, -Art On Sun, Feb 8, 2009 at 8:58 AM, Bernard Devlin wrote: > Just to say it doesn't crash Rev for me. However it doesn't paste the card > either. Looking at the dictionary I'm not sure if one should be able to > 'paste' a card: > > "Pastes the contents of the clipboard into the selection or insertion > point. > > [...] > > Use the *paste* command to place objects, an image, or text on the current > card." > > I'm on OS X 10.4.11 PPC. > > Bernard > > On Sun, Feb 8, 2009 at 1:50 PM, Malte Brill > wrote: > > > Hi Art, > > > > Now, that?s a nice one! > > > > cut this cd in a button indead instantly shuts down rev (at least on a > > mac). If you have not reported this to the quality centre yet, please do > so. > > I think this is a severe defect. > > Please let me know the bug number. > > > > A workaround would be > > > > go last > > copy cd 1 to this stack > > > > Hope that helps. > > > > Cheers, > > > > malte_______________________________________________ > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From arthur.rann at gmail.com Sun Feb 8 18:23:25 2009 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 8 Feb 2009 17:23:25 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <498F136C.6040004@hyperactivesw.com> References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> <64bccb0c0902080023s6907c8ebn80044a84a97eabad@mail.gmail.com> <498F136C.6040004@hyperactivesw.com> Message-ID: <64bccb0c0902081523m4b3f5c8cub58da7ec8b30bc06@mail.gmail.com> Hi, I did not know about clone card. That's a good one. I will try that. Thanks, -Art On Sun, Feb 8, 2009 at 11:16 AM, J. Landman Gay wrote: > I'd avoid copy/pasting cards and instead, try this: > > clone card 1 > set the number of it to the number of cds > > That will clone the first card and place it into the stack at the end. > From slylabs13 at mac.com Sun Feb 8 19:56:49 2009 From: slylabs13 at mac.com (Robert Sneidar) Date: Sun, 08 Feb 2009 16:56:49 -0800 Subject: Delete column Message-ID: <8E7AF26E-523A-4817-8810-3220C9A37394@mac.com> Categorize this under "gee I wish I could..." Have you ever wished you could delete a column of values in a list? I looked for a way to do it using arrays but alas no dice. I know I can use a repeat loop. I just wish I could say "delete item 2 of every line of myList". Seems like it ought to be a fairly simple thing to do in the engine. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone From bvlahos at mac.com Sun Feb 8 21:15:10 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 08 Feb 2009 18:15:10 -0800 Subject: Re-2: ListMagic calculated columns In-Reply-To: <000348A0.498DDDDD@the-office.us> References: <000348A0.498DDDDD@the-office.us> Message-ID: Jim, This is great news. Just to let you know...I didn't receive the email notice from Rev on this. Bill On Feb 7, 2009, at 10:15 AM, runrev260805 at m-r-d.de wrote: > Hi Richard, > > the following is an excerpt of an email from Runrev, which was sent > to all ListMagic purchasers: > > "I'm happy to say that we have now reached a resolution. Jim Bufalini, > Eric's business partner, will take over maintenance of ListMagic. It > will continue to be listed in RevSelect. He has been able to retrieve > the code Eric was working on before his death, and completed it. > Please > download the final correct edition of ListMagic 1.1 here: > > http://downloads.runrev.com/revselect/ListMagic1.1.zip > > Jim has sent me the contact details of the customers who purchased > direct from So Smart Software, so that I can update you and give you a > code." > > > > Regards, > > Matthias > -------- Original Message -------- > Subject: Re: ListMagic calculated columns (07-Feb-2009 18:11) > From: Richard Gaskin > To: runrev260805 at m-r-d.de > >> william humphrey wrote: >>> A list magic suggestion: >>> Please don't add too many features. >> >> I must have missed a post: who is managing the product now? >> >> -- >> Richard Gaskin >> Fourth World >> Revolution training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sun Feb 8 22:47:57 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 08 Feb 2009 19:47:57 -0800 Subject: Delete column Message-ID: <498FA76D.1060501@fourthworld.com> Robert Sneidar wrote: > Have you ever wished you could delete a column of values in a list? Many have: -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From sundown at pacifier.com Sun Feb 8 22:56:19 2009 From: sundown at pacifier.com (-= JB =-) Date: Sun, 8 Feb 2009 19:56:19 -0800 Subject: Delete column In-Reply-To: <498FA76D.1060501@fourthworld.com> References: <498FA76D.1060501@fourthworld.com> Message-ID: <3EE4E23C-AA29-42EE-9931-C7300EF77CDE@pacifier.com> When you say values in a list do you mean like a table field in a variable? -=>JB<=- On Feb 8, 2009, at 7:47 PM, Richard Gaskin wrote: > Robert Sneidar wrote: > >> Have you ever wished you could delete a column of values in a list? > > Many have: > > > > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Sun Feb 8 23:13:34 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 9 Feb 2009 12:13:34 +0800 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> Message-ID: On Sun, Feb 8, 2009 at 3:57 PM, Arthur Rann wrote: > I have two stacks that are represent the start and end of about 6 months of > development time. If I execute this script in the original stack (in RR > 3.0, > it works correctly. If I do this in the more recently altered stack (also > in > RR 3.0), it fails. > > Do you have stacks at 3 month, 1 month, 1 week? (TimeMachine, you gotta love it!) This defintely sounds like a problem in your stack, not with Rev. I get the impression you are on OSX, if you have BBEdit, use the 'Find Differences..." from the Search Menu. If you don't have BBEdit, get the FREE TextWrangler: http://www.barebones.com/products/textwrangler/ It also has the Find Differences feature. Assuming you haven't password protected your stack you can open them up as text files - to be on the safe side though you may wish to Duplicate your stacks so that you are working with '6 month copy' and 'Now copy', rather than the original files. BBEdit will quickly highlight were there are differences, within scripts it's all to easy to see the additions, anywhere there's goblydygook it's likely to be properties/custom properties; unfortunately much much harder to deal with. HTH From engleerica at yahoo.com Mon Feb 9 01:18:38 2009 From: engleerica at yahoo.com (Eric A. Engle) Date: Sun, 8 Feb 2009 22:18:38 -0800 (PST) Subject: stacks online? In-Reply-To: <20090208180005.81C5D48A357@mail.runrev.com> Message-ID: <405026.96247.qm@web65404.mail.ac4.yahoo.com> How does one put their stack onine? I would rather have an online stack than one that the user must download. From ambassador at fourthworld.com Mon Feb 9 01:42:04 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 08 Feb 2009 22:42:04 -0800 Subject: stacks online? Message-ID: <498FD03C.4000801@fourthworld.com> Eric A. Engle wrote: > How does one put their stack onine? I would rather have > an online stack than one that the user must download. How is anything online that isn't downloaded in order to be viewed? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From niconiko at gmail.com Mon Feb 9 02:18:16 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 9 Feb 2009 16:18:16 +0900 Subject: stacks online? In-Reply-To: <498FD03C.4000801@fourthworld.com> References: <498FD03C.4000801@fourthworld.com> Message-ID: <1e91b2b70902082318r6712f381od6ec1130698fd981@mail.gmail.com> I think what Eric Engle is after is for his Rev stacks to be used through a browser, for example, rather than having to be downloaded. If so, that can't be done. But it seems the version of Rev coming out this fall can? -- Nicolas Cueto From lan.kc.macmail at gmail.com Mon Feb 9 02:22:56 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 9 Feb 2009 15:22:56 +0800 Subject: stacks online? In-Reply-To: <498FD03C.4000801@fourthworld.com> References: <498FD03C.4000801@fourthworld.com> Message-ID: On Mon, Feb 9, 2009 at 2:42 PM, Richard Gaskin wrote: > > How is anything online that isn't downloaded in order to be viewed? > I think Eric is referring to stacks operating within a browser rather than as a standalone? I think the answer is wait for Rev 4.0? From lan.kc.macmail at gmail.com Mon Feb 9 02:29:34 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 9 Feb 2009 15:29:34 +0800 Subject: [OT] Rev + BBEdit Message-ID: Man, 1/10 the year has already passed and somewhere along the line I completely missed BBEdit 9.0 as it's already at 9.1.1. Anyway, had to upgrade but was saddened when the Transcript Language Module no longer seemed to work. The BBEdit site no longer even lists it: http://www.barebones.com/support/bbedit/plugin_library.html Trevor? From JimAultWins at yahoo.com Mon Feb 9 03:03:56 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 09 Feb 2009 00:03:56 -0800 Subject: [OT] Rev + BBEdit In-Reply-To: Message-ID: I am using the new one from Trevor's site. http://mangomultimedia.com/developer/revolution/ Also note that there is a new location for this (and name 'Revolution') Applications/BBEdit/Contents/Language Modules/Revolution.bblm Jim Ault Las Vegas On 2/8/09 11:29 PM, "Kay C Lan" wrote: > Man, 1/10 the year has already passed and somewhere along the line I > completely missed BBEdit 9.0 as it's already at 9.1.1. > > Anyway, had to upgrade but was saddened when the Transcript Language Module > no longer seemed to work. The BBEdit site no longer even lists it: > > http://www.barebones.com/support/bbedit/plugin_library.html From ambassador at fourthworld.com Mon Feb 9 03:09:33 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 09 Feb 2009 00:09:33 -0800 Subject: stacks online? Message-ID: <498FE4BD.6010205@fourthworld.com> Kay C Lan wrote: > On Mon, Feb 9, 2009 at 2:42 PM, Richard Gaskin wrote: >> How is anything online that isn't downloaded in order to be viewed? > > I think Eric is referring to stacks operating within a browser rather than > as a standalone? I think the answer is wait for Rev 4.0? Yes, if the design of a given stack requires that it run inside of a browser window, that'll have to wait for the announced web browser plugin. Just about everything other form of Internet delivery can be done today. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From arthur.rann at gmail.com Mon Feb 9 04:03:57 2009 From: arthur.rann at gmail.com (Arthur Rann) Date: Mon, 9 Feb 2009 03:03:57 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> Message-ID: <64bccb0c0902090103y6019170hd0d4052e24adac51@mail.gmail.com> Hi Kay, The problem is that the 6 month old copy represents 6 months of intense work trying to get around other bugs in RunRev. There's a lot of stuff in our new version that isn't in the old version, so I'm afraid that reverting to the older version, or even doing a comparison between the two is waste of time. The ONLY programs that have touched these files are RunRev 2.7 through RunRev 3.0. We started, I think, with a trial version of 2.7. Is there a utility for RunRev like SuperCard's SuperEdit? Something I can use to extract the portions of a stack and add them to another stack? That would be of serious help here. I've also noticed that while the docs say that 'Clone This Card' will set the current card to the new card, on the stack that has issues, this is definitely not the case. After a Clone This Card command is issued, the current card is the original card, and not the clone. On a virgin stack, the current card is the clone. What could be wrong? What do you do when a stack gets corrupted? How do you save it? Thank you, -Art From bdrunrev at gmail.com Mon Feb 9 05:48:45 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 9 Feb 2009 10:48:45 +0000 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <64bccb0c0902081522r61a9c381u145489370ba45b5f@mail.gmail.com> References: <20090206180005.B50D548AAC3@mail.runrev.com> <90AF74C3-91C2-44E8-A0F9-493CC7285ED5@derbrill.de> <64bccb0c0902081522r61a9c381u145489370ba45b5f@mail.gmail.com> Message-ID: Hi Arthur, I just checked on the oldest version I have installed (2.2), and not only does pasting a card work, but the dictionary entry for 'paste' in that version also says that cards can be pasted into the default stack. I searched bugzilla and came up with a report that looks relevant: http://quality.runrev.com/qacenter/show_bug.cgi?id=5182 That bug report relates to cutting & pasting cards in 2.8.1, and Oliver Kenyon says it works for him. However, when I follow the same recipe he gives as working in 2.8.1, I get the following error on 3.0 when trying to paste the card into the stack: can't paste (empty clipboard or locked destination) Since the dictionary entry for 3.0 no longer mentions the ability to paste cards, I wonder if this feature has been intentionally removed. Bernard On Sun, Feb 8, 2009 at 11:22 PM, Arthur Rann wrote: > Hi Bernard, > Paste, to paste a card, has worked fine in every version of RunRev I've > ever > seen, until I guess around 3.0. And like you, sometimes it does, and > sometimes it doesn't crash. It definitely looks like a bug to me! > > Thanks, > -Art > > On Sun, Feb 8, 2009 at 8:58 AM, Bernard Devlin wrote: > > > Just to say it doesn't crash Rev for me. However it doesn't paste the > card > > either. Looking at the dictionary I'm not sure if one should be able to > > 'paste' a card: > > > > "Pastes the contents of the clipboard into the selection or insertion > > point. > > > > [...] > > > > Use the *paste* command to place objects, an image, or text on the > current > > card." > > > > I'm on OS X 10.4.11 PPC. > > > > Bernard > > > > On Sun, Feb 8, 2009 at 1:50 PM, Malte Brill > > wrote: > > > > > Hi Art, > > > > > > Now, that?s a nice one! > > > > > > cut this cd in a button indead instantly shuts down rev (at least on a > > > mac). If you have not reported this to the quality centre yet, please > do > > so. > > > I think this is a severe defect. > > > Please let me know the bug number. > > > > > > A workaround would be > > > > > > go last > > > copy cd 1 to this stack > > > > > > Hope that helps. > > > > > > Cheers, > > > > > > malte_______________________________________________ > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From arthur.rann at gmail.com Mon Feb 9 08:16:45 2009 From: arthur.rann at gmail.com (Arthur Rann) Date: Mon, 9 Feb 2009 07:16:45 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: References: <20090206180005.B50D548AAC3@mail.runrev.com> <90AF74C3-91C2-44E8-A0F9-493CC7285ED5@derbrill.de> <64bccb0c0902081522r61a9c381u145489370ba45b5f@mail.gmail.com> Message-ID: <64bccb0c0902090516sfb1a2a8xcf232a599f79e0dc@mail.gmail.com> Hi, That might be the case. Now if I could get the clone this card command to behave, or at least act in a consistent manner, I could work around this. Thanks, -Art On Mon, Feb 9, 2009 at 4:48 AM, Bernard Devlin wrote: > Hi Arthur, I just checked on the oldest version I have installed (2.2), and > not only does pasting a card work, but the dictionary entry for 'paste' in > that version also says that cards can be pasted into the default stack. > I searched bugzilla and came up with a report that looks relevant: > http://quality.runrev.com/qacenter/show_bug.cgi?id=5182 > > That bug report relates to cutting & pasting cards in 2.8.1, and Oliver > Kenyon says it works for him. However, when I follow the same recipe he > gives as working in 2.8.1, I get the following error on 3.0 when trying to > paste the card into the stack: > > can't paste (empty clipboard or locked destination) > > > Since the dictionary entry for 3.0 no longer mentions the ability to paste > cards, I wonder if this feature has been intentionally removed. > > > Bernard > > On Sun, Feb 8, 2009 at 11:22 PM, Arthur Rann > wrote: > > > Hi Bernard, > > Paste, to paste a card, has worked fine in every version of RunRev I've > > ever > > seen, until I guess around 3.0. And like you, sometimes it does, and > > sometimes it doesn't crash. It definitely looks like a bug to me! > > > > Thanks, > > -Art > > > > On Sun, Feb 8, 2009 at 8:58 AM, Bernard Devlin > wrote: > > > > > Just to say it doesn't crash Rev for me. However it doesn't paste the > > card > > > either. Looking at the dictionary I'm not sure if one should be able > to > > > 'paste' a card: > > > > > > "Pastes the contents of the clipboard into the selection or insertion > > > point. > > > > > > [...] > > > > > > Use the *paste* command to place objects, an image, or text on the > > current > > > card." > > > > > > I'm on OS X 10.4.11 PPC. > > > > > > Bernard > > > > > > On Sun, Feb 8, 2009 at 1:50 PM, Malte Brill > > > wrote: > > > > > > > Hi Art, > > > > > > > > Now, that?s a nice one! > > > > > > > > cut this cd in a button indead instantly shuts down rev (at least on > a > > > > mac). If you have not reported this to the quality centre yet, please > > do > > > so. > > > > I think this is a severe defect. > > > > Please let me know the bug number. > > > > > > > > A workaround would be > > > > > > > > go last > > > > copy cd 1 to this stack > > > > > > > > Hope that helps. > > > > > > > > Cheers, > > > > > > > > malte_______________________________________________ > > > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Mon Feb 9 08:58:23 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 9 Feb 2009 21:58:23 +0800 Subject: [OT] Rev + BBEdit In-Reply-To: References: Message-ID: Thanks Jim, This appears to be the same one I had, which was working with 8.5, but I downloaded it again and it's working fine. As far as the location in concerned, that's not where I have it. I have it in my user account: ~/Library/Application Support/BBEdit/Language Modules/ which seems to be confirmed by page 33 of the 9.1 User Manual. Either way, it's working again so I'm happy :-) On Mon, Feb 9, 2009 at 4:03 PM, Jim Ault wrote: > I am using the new one from Trevor's site. > http://mangomultimedia.com/developer/revolution/ > > Also note that there is a new location for this (and name 'Revolution') > > Applications/BBEdit/Contents/Language Modules/Revolution.bblm > > Jim Ault > Las Vegas > > On 2/8/09 11:29 PM, "Kay C Lan" wrote: > > > Man, 1/10 the year has already passed and somewhere along the line I > > completely missed BBEdit 9.0 as it's already at 9.1.1. > > > > Anyway, had to upgrade but was saddened when the Transcript Language > Module > > no longer seemed to work. The BBEdit site no longer even lists it: > > > > http://www.barebones.com/support/bbedit/plugin_library.html > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Mon Feb 9 09:10:44 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 9 Feb 2009 22:10:44 +0800 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <64bccb0c0902090103y6019170hd0d4052e24adac51@mail.gmail.com> References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> <64bccb0c0902090103y6019170hd0d4052e24adac51@mail.gmail.com> Message-ID: On Mon, Feb 9, 2009 at 5:03 PM, Arthur Rann wrote: > > I've also noticed that while the docs say that 'Clone This Card' will set > the current card to the new card, on the stack that has issues, this is > definitely not the case. After a Clone This Card command is issued, the > current card is the original card, and not the clone. > On a virgin stack, the current card is the clone. > Well again this clearly points to something (code) in your stack, not Rev itself. How about this. Put a breakpoint just before your call to 'Clone This Card'. Have the Message Watcher Open. Step into the Clone and see what messages are passed. Try the same in your virgin stack - I'm guessing that any additional messages in the first case must be due to your code? HTH From shoreagent at gmail.com Mon Feb 9 09:26:05 2009 From: shoreagent at gmail.com (william humphrey) Date: Mon, 9 Feb 2009 10:26:05 -0400 Subject: Re-2: ListMagic calculated columns In-Reply-To: References: <000348A0.498DDDDD@the-office.us> Message-ID: <459b22a90902090626h76c4c4dx359b64fcab5000fe@mail.gmail.com> Jim I didn't receive the email notice either. Bill From lfredricks at proactive-intl.com Mon Feb 9 09:57:49 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 9 Feb 2009 06:57:49 -0800 Subject: Shade + Revolution = Love; Together as Low as $69 in February Message-ID: <8015D36CD46E42B197B6C39DE1A9076C@GATEWAY> Hello all, I wanted to let you know that Mirye Software (http://www.mirye.net) has introduced a cross product offer for Revolution and Shade in February: - Buy Shade Standard or Pro (new or upgrade), Get Revolution Media for Free - Buy Revolution Studio or Enterprise (new or upgrade), Get Shade Designer for Free Shade 9 is a powerful, 3D modeler, animation and rendering tool on Windows and Mac OS X. Shade 10 has already been shipped in Japan in Japanese, so we are also offering a free upgrade to Shade 10. I want to keep this short - you can try Shade at Shadetrial.com and read the docs at Shadecamp.net. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From RevList at CreaTECHSol.com Mon Feb 9 11:27:34 2009 From: RevList at CreaTECHSol.com (RevList) Date: Mon, 09 Feb 2009 08:27:34 -0800 Subject: Script Reporter 1.1 Message-ID: Script reporter, the Script trolling tool for Revolution just got better thanks to Sarah Reichelt. Sarah has updated the solution by adding in script colorization routines to make your scripts more readable. I have updated my web site with a new video and the new 1.1 version. This is exactly what I had hoped would happen. I am not really a Revolution developer but I do code in many other languages for my real job. I find Revolution the ideal solution for me to bang out a cross platform solution. The problem is that since I do not code in Revolution all the time, I have to keep on referring back to my previous solutions to determine the syntax or methodology. I developed Script Reporter for this reason. I hope more of you find it useful and if there are more enhancements like what Sara has offered, I am more than happy to include them and give you credit. Thanks also for the feedback. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** -------------------------------------------------------------------------------------------------------------------- This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately. -------------------------------------------------------------------------------------------------------------------- From RevList at CreaTECHSol.com Mon Feb 9 11:29:44 2009 From: RevList at CreaTECHSol.com (RevList) Date: Mon, 09 Feb 2009 08:29:44 -0800 Subject: Script Reporter 1.1 Website Message-ID: Oops. Forgot to give the web site on my last email Get Script reporter from http://www.createchsol.com/ScriptReporter >Script reporter, the Script trolling tool for Revolution just got better >thanks to Sarah Reichelt. >Sarah has updated the solution by adding in script colorization routines >to make your scripts more readable. > >I have updated my web site with a new video and the new 1.1 version. > >This is exactly what I had hoped would happen. >I am not really a Revolution developer but I do code in many other >languages for my real job. I find Revolution the ideal solution for me >to bang out a cross platform solution. The problem is that since I do >not code in Revolution all the time, I have to keep on referring back to >my previous solutions to determine the syntax or methodology. >I developed Script Reporter for this reason. > >I hope more of you find it useful and if there are more enhancements like >what Sara has offered, I am more than happy to include them and give you >credit. > >Thanks also for the feedback. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** -------------------------------------------------------------------------------------------------------------------- This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately. -------------------------------------------------------------------------------------------------------------------- From toolbook at kestner.de Mon Feb 9 12:19:17 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 9 Feb 2009 18:19:17 +0100 Subject: Problems deleting folders on Vista - error #? Message-ID: <188C1E80F4374953A6D339C43E41CBBC@Kestner.local> Hello, I want to delete some folders in different paths, when removing my app with: revDeleteFolder Works on XP without problems, but on Vista I get different errors in the result, depending on which folder, I get: 2 / 3 / 5 / 32 Even, when executing as Admin there are still some folders, which can't be deleted. The folders are not in Programs Dir - so nothing with virtualizing. They are in the Progdata Dir and in the Users Dir. Where do I get the meaning of these result numbers? The sysError is always: 0 Does anybody know, what is going on here and how I can delete my folders on Vista? Any tipp appreciated Tiemo From m.schonewille at economy-x-talk.com Mon Feb 9 12:34:37 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 9 Feb 2009 18:34:37 +0100 Subject: Problems deleting folders on Vista - error #? In-Reply-To: <188C1E80F4374953A6D339C43E41CBBC@Kestner.local> References: <188C1E80F4374953A6D339C43E41CBBC@Kestner.local> Message-ID: Hi Tiemo, Try launching your app as admin. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 9 feb 2009, at 18:19, Tiemo Hollmann TB wrote: > Hello, > > I want to delete some folders in different paths, when removing my > app with: > > revDeleteFolder > > Works on XP without problems, but on Vista I get different errors in > the > result, depending on which folder, I get: 2 / 3 / 5 / 32 > > Even, when executing as Admin there are still some folders, which > can't be > deleted. The folders are not in Programs Dir - so nothing with > virtualizing. > They are in the Progdata Dir and in the Users Dir. > > Where do I get the meaning of these result numbers? The sysError is > always: > 0 > > Does anybody know, what is going on here and how I can delete my > folders on > Vista? > > Any tipp appreciated > > Tiemo > From toolbook at kestner.de Mon Feb 9 14:25:27 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 9 Feb 2009 20:25:27 +0100 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: Message-ID: <6AFAFD8CE10648BA88BC0DEE57E46E10@Kestner.local> Yes I did - with right mouse key - "run as admin" It deleted some of the folders, but not all, strange to say especially not the folders in my Users Dir Any idea? > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > Gesendet: Montag, 9. Februar 2009 18:35 > An: How to use Revolution > Betreff: Re: Problems deleting folders on Vista - error #? > > Hi Tiemo, > > Try launching your app as admin. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > Dutch forum: http://runrev.info/rrforum > > We are always looking for new projects! Feel free to contact us to > discuss your custom software project! > > On 9 feb 2009, at 18:19, Tiemo Hollmann TB wrote: > > > Hello, > > > > I want to delete some folders in different paths, when removing my > > app with: > > > > revDeleteFolder > > > > Works on XP without problems, but on Vista I get different errors in > > the > > result, depending on which folder, I get: 2 / 3 / 5 / 32 > > > > Even, when executing as Admin there are still some folders, which > > can't be > > deleted. The folders are not in Programs Dir - so nothing with > > virtualizing. > > They are in the Progdata Dir and in the Users Dir. > > > > Where do I get the meaning of these result numbers? The sysError is > > always: > > 0 > > > > Does anybody know, what is going on here and how I can delete my > > folders on > > Vista? > > > > Any tipp appreciated > > > > Tiemo > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Feb 9 15:34:37 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Feb 2009 14:34:37 -0600 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <6AFAFD8CE10648BA88BC0DEE57E46E10@Kestner.local> References: <6AFAFD8CE10648BA88BC0DEE57E46E10@Kestner.local> Message-ID: <4990935D.9010009@hyperactivesw.com> Tiemo Hollmann TB wrote: > Yes I did - with right mouse key - "run as admin" > It deleted some of the folders, but not all, strange to say especially not > the folders in my Users Dir > Any idea? No ideas, but I'm having similar problems with some (but not all) Vista customers when my app tries to *create* a folder in the users directory. The app makes a folder named for itself, and then puts sub-folders inside later. The sub-folders get created but sometimes the enclosing one does not. I'm at a loss to understand why. The app is installed to run as administrator. I'll watch this thread with interest. What's the deal with Vista permissions in the user's Documents folder? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Feb 9 15:58:31 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Feb 2009 14:58:31 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <64bccb0c0902090103y6019170hd0d4052e24adac51@mail.gmail.com> References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> <64bccb0c0902090103y6019170hd0d4052e24adac51@mail.gmail.com> Message-ID: <499098F7.7060708@hyperactivesw.com> Arthur Rann wrote: > I've also noticed that while the docs say that 'Clone This Card' will set > the current card to the new card, on the stack that has issues, this is > definitely not the case. After a Clone This Card command is issued, the > current card is the original card, and not the clone. > On a virgin stack, the current card is the clone. > > What could be wrong? Hard to say without actually debugging the stack. It could be a lockmessages issue (either messages are locked and shouldn't be, or they're unlocked and should be locked.) Or a frontscript or backscript could be interfering. Or maybe there is a command later in the script that returns to the originating card after the clone is made. Your best bet is to walk through the script line by line in the debugger. It should become apparent where it's going off track, because you'll see when the stack goes back to the original card. You can type into the message box during debugging, which can help. After the clone is made, type "the number of this cd" into the message box and see what it says. Maybe it really is the right card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From docwes1 at gmail.com Mon Feb 9 17:05:07 2009 From: docwes1 at gmail.com (weslyn whitehead) Date: Mon, 9 Feb 2009 17:05:07 -0500 Subject: Need suggestions from the masters :) Message-ID: I'm creating a application (game system) that will work in a virtual world and interact with the system there. As players use the system, it will post data to a inworld server which i will use to make httprequest outside the world into my rev server. Once there I am hopeing to put the information into a DB and return information back to the inworld server. My question is im sure i can do this no problem with MySql but i also own Valentina Rev ADK and so, im wanting to use valentina but im not sure its the right solution. Only the Rev Server would be talking to the db. I guess im not sure how it would work as far as deployment. So on mysql i'd setup a mysql server set user accounts and lock access down. Then create my DB. Use app to talk to db. With Valentina is it setup the db connection in the Rev server app and then just reference a flat file not a server type deal? Also, any experience if this is the solution how fast/reliable would this be? (assuming this would all sit on a server) Thanks in advance hope i wasnt just ranting on. Docwes. From alex at tweedly.net Mon Feb 9 17:50:46 2009 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 09 Feb 2009 22:50:46 +0000 Subject: Deleting a column ... In-Reply-To: <3671C4D7-EA66-4AAD-85C4-76C8CEBA975D@gmail.com> References: <20090204173242.533A3488F4A@mail.runrev.com> <3671C4D7-EA66-4AAD-85C4-76C8CEBA975D@gmail.com> Message-ID: <4990B346.1080600@tweedly.net> [ Sorry - I have deleted the original mail, so can't reply to it (or even find out the exact subject line ...) ] deleting a column ... I haven't tested extensively, but in a simple case or two, it seems to work just doing split tVar by column delete variable tVar[3] -- to delete the 3rd column combine tVar by column or if you want to delete the content of a column, but keep it there as an empty column, you can do split tVar by column put empty into tVar[3] combine tVar by column -- Alex. From sarah.reichelt at gmail.com Mon Feb 9 18:44:01 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 10 Feb 2009 09:44:01 +1000 Subject: Rev DB errors Message-ID: Hi All, I ran into an error using SQL today but it was not caught in my error trapping. To my surprise, I found that the result returned by a faulty call to revExecuteSQL, did NOT include either "revdberr" or "syntax error", but just a text description of the error. This seems to be a new feature as it matches the docs but people may need to change their error trapping routines accordingly. Cheers, Sarah From ambassador at fourthworld.com Mon Feb 9 18:54:14 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 09 Feb 2009 15:54:14 -0800 Subject: Deleting a column ... Message-ID: <4990C226.3060108@fourthworld.com> Alex Tweedly wrote: > I haven't tested extensively, but in a simple case or two, it seems to > work just doing > > split tVar by column > delete variable tVar[3] -- to delete the 3rd column > combine tVar by column Oddly enough, the split-and-combine method benchmark about 30% slower than "repeat for each". This isn't too suprising given that split and combine are very computationally intensive operations, each effectively doing its own "repeat for each" under the hood (albeit in compiled code). Also, there's an anomaly with combine that adds a new line to the data, with the right number of columns each being empty. Not sure what's up with that, but to get the same result I just added a line to the function to delete it - here's the code I tested: -- Field 1 holds the data; in this test I used congressional -- contact info, with 540 lines of 8 items each. on mouseUp put 100 into n put fld 1 into tData -- put the millisecs into t repeat n put DelCol1(tData, 3) into r1 end repeat put the millisecs - t into t1 -- put the millisecs into t repeat n put DelCol2(tData, 3) into r2 end repeat put the millisecs - t into t2 put t1 && t2 end mouseUp function DelCol1 pData, pCol put empty into tNuData set the itemdel to tab repeat for each line tLine in pData delete item 3 of tLine put tLine &cr after tNuData end repeat delete last char of tNuData return tNuData end DelCol1 function DelCol2 pData, pCol set the columnDelimiter to tab split pData by column delete variable pData[3] -- to delete the 3rd column combine pData by column delete last line of pData return pData end DelCol2 RESULT: 123 165 Given the internal overhead of split and combine, I tend to use them only when I need to do a large number of lookups of specific records since the array hash is blindingly fast to traverse, esp. relative to the ultra-slow "get line x of tData". For single lookups the split/combine overhead eats up more than the savings from not using "get line x". I haven't yet done enough testing to determine the number of lookups that would represent the cutoff on that (and there may also be a relationship with data size, and that's way too much testing for me to do in my spare time ). -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From DunbarX at aol.com Mon Feb 9 18:54:14 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 9 Feb 2009 18:54:14 EST Subject: newbie Message-ID: I am trying to learn to drive. Not going well, in spite of private tutoring from Jackie. I have a stack open. I write in the msg box: set the editbg of this stack to "true" I then write in the msg box: answer the editbg of this stack. I always get "false" as the answer. Tried the long name of the stack. No difference. The stack has nothing near any sort of reserved name. These (what must be) utterly basic problems are killing me. Help. ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100000075x1218550342x1201216770/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072%26hmpgID=62%26bcd=fe bemailfooterNO62) From m.schonewille at economy-x-talk.com Mon Feb 9 19:09:05 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Feb 2009 01:09:05 +0100 Subject: Editbg In-Reply-To: References: Message-ID: <9968D865-7C1A-4681-BA8A-588DB95C5531@economy-x-talk.com> Hi Dunbar, This only works if your stack actually has a background. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 10 feb 2009, at 00:54, DunbarX at aol.com wrote: > I am trying to learn to drive. Not going well, in spite of private > tutoring > from Jackie. > > I have a stack open. I write in the msg box: > > set the editbg of this stack to "true" > > I then write in the msg box: > > answer the editbg of this stack. > > I always get "false" as the answer. > > Tried the long name of the stack. No difference. The stack has > nothing near > any sort of reserved name. > > These (what must be) utterly basic problems are killing me. > > Help. From bobs at twft.com Mon Feb 9 19:09:16 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 9 Feb 2009 16:09:16 -0800 Subject: newbie In-Reply-To: References: Message-ID: Careful there. The message box is itself a stack. When you use "this stack" in the message box I believe it may refer to itself. I haven't tested this, but try using the actual name of the stack in the message box instead. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 9, 2009, at 3:54 PM, DunbarX at aol.com wrote: > I am trying to learn to drive. Not going well, in spite of private > tutoring > from Jackie. > > I have a stack open. I write in the msg box: > > set the editbg of this stack to "true" > > I then write in the msg box: > > answer the editbg of this stack. > > I always get "false" as the answer. > > Tried the long name of the stack. No difference. The stack has > nothing near > any sort of reserved name. > > These (what must be) utterly basic problems are killing me. > > Help. > > > > > ************** > A Good Credit Score is 700 or Above. See yours in just 2 easy > steps! > (http://pr.atwola.com/promoclk/100000075x1218550342x1201216770/aol?redir=http://www.freecreditreport.com/pm/default.aspx > ?sc=668072%26hmpgID=62%26bcd=fe > bemailfooterNO62) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Mon Feb 9 19:13:16 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Feb 2009 01:13:16 +0100 Subject: Editbg In-Reply-To: References: Message-ID: <11AE79C8-B1CE-4896-84DC-F6E3A9E56D9A@economy-x-talk.com> Hi Bob, No, if that happens, it is a bug. I haven't seen this lately. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 10 feb 2009, at 01:09, Bob Sneidar wrote: > Careful there. The message box is itself a stack. When you use "this > stack" in the message box I believe it may refer to itself. I > haven't tested this, but try using the actual name of the stack in > the message box instead. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > From jacque at hyperactivesw.com Mon Feb 9 19:18:19 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Feb 2009 18:18:19 -0600 Subject: newbie In-Reply-To: References: Message-ID: <4990C7CB.6010008@hyperactivesw.com> Bob Sneidar wrote: > Careful there. The message box is itself a stack. When you use "this > stack" in the message box I believe it may refer to itself. I haven't > tested this, but try using the actual name of the stack in the message > box instead. It works here in the message box. But I see that Craig isn't getting the response in the message box, he's using "answer". I just tried it with both "answer" and "put" and it works okay either way for me. I did have a group set up to test with though. Craig, do you have at least one group as Mark suggested? Also, "start editing grp x" does more than editBg, you might try that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Feb 9 19:21:45 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 9 Feb 2009 16:21:45 -0800 Subject: Deleting a column ... In-Reply-To: <4990C226.3060108@fourthworld.com> References: <4990C226.3060108@fourthworld.com> Message-ID: Well I figured out what the problem is. I assumed that since the default delimiter was comma, that slpitting by column took that into account. It does not. It expects to see a TAB delimited list, NOT a comma delimited list. ON testFunction breakpoint put "1,2,3" & return & "4,5,6" into myVar replace comma WITH tab in myVar split myVar by column delete variable myVar[2] combine myvar by column replace tab WITH comma in myVar put myVar END testFunction This works just fine. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 9, 2009, at 3:54 PM, Richard Gaskin wrote: > Alex Tweedly wrote: > >> I haven't tested extensively, but in a simple case or two, it seems >> to >> work just doing >> >> split tVar by column >> delete variable tVar[3] -- to delete the 3rd column >> combine tVar by column > > Oddly enough, the split-and-combine method benchmark about 30% slower > than "repeat for each". This isn't too suprising given that split and > combine are very computationally intensive operations, each > effectively > doing its own "repeat for each" under the hood (albeit in compiled > code). > > Also, there's an anomaly with combine that adds a new line to the > data, > with the right number of columns each being empty. Not sure what's up > with that, but to get the same result I just added a line to the > function to delete it - here's the code I tested: > > -- Field 1 holds the data; in this test I used congressional > -- contact info, with 540 lines of 8 items each. > > on mouseUp > put 100 into n > put fld 1 into tData > -- > put the millisecs into t > repeat n > put DelCol1(tData, 3) into r1 > end repeat > put the millisecs - t into t1 > -- > put the millisecs into t > repeat n > put DelCol2(tData, 3) into r2 > end repeat > put the millisecs - t into t2 > > put t1 && t2 > end mouseUp > > > function DelCol1 pData, pCol > put empty into tNuData > set the itemdel to tab > repeat for each line tLine in pData > delete item 3 of tLine > put tLine &cr after tNuData > end repeat > delete last char of tNuData > return tNuData > end DelCol1 > > > function DelCol2 pData, pCol > set the columnDelimiter to tab > split pData by column > delete variable pData[3] -- to delete the 3rd column > combine pData by column > delete last line of pData > return pData > end DelCol2 > > > RESULT: 123 165 > > > Given the internal overhead of split and combine, I tend to use them > only when I need to do a large number of lookups of specific records > since the array hash is blindingly fast to traverse, esp. relative to > the ultra-slow "get line x of tData". > > For single lookups the split/combine overhead eats up more than the > savings from not using "get line x". I haven't yet done enough testing > to determine the number of lookups that would represent the cutoff on > that (and there may also be a relationship with data size, and that's > way too much testing for me to do in my spare time ). > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Feb 9 19:29:05 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Feb 2009 18:29:05 -0600 Subject: Deleting a column ... In-Reply-To: References: <4990C226.3060108@fourthworld.com> Message-ID: <4990CA51.8020906@hyperactivesw.com> Bob Sneidar wrote: > Well I figured out what the problem is. I assumed that since the default > delimiter was comma, that slpitting by column took that into account. It > does not. It expects to see a TAB delimited list, NOT a comma delimited > list. Split looks at the columnDelimiter property, not the itemDelimiter. The default columnDelimiter is tab, but you can set it to a comma. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Mon Feb 9 19:30:30 2009 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 9 Feb 2009 17:30:30 -0700 Subject: Deleting a column ... In-Reply-To: References: <4990C226.3060108@fourthworld.com> Message-ID: <39AB80DD-463D-4419-A06E-87B86612BA15@byu.edu> On Feb 9, 2009, at 5:21 PM, Bob Sneidar wrote: > Well I figured out what the problem is. I assumed that since the > default delimiter was comma, that slpitting by column took that into > account. It does not. It expects to see a TAB delimited list, NOT a > comma delimited list. The relatively new (2.8.1) columnDelimiter property controls this. It's set to tab by default, but you can set it to whatever you want, including comma. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From bobs at twft.com Mon Feb 9 19:52:08 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 9 Feb 2009 16:52:08 -0800 Subject: Deleting a column ... In-Reply-To: <4990CA51.8020906@hyperactivesw.com> References: <4990C226.3060108@fourthworld.com> <4990CA51.8020906@hyperactivesw.com> Message-ID: <92FA61E3-9176-4AC7-8C63-D4193E1CF91E@twft.com> Thanks all. That will do it nicely. FYI what I am trying to do is create a "displayed field" list from an "every field in the sql query" list by deleting the columns that don't have fields to display them. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 9, 2009, at 4:29 PM, J. Landman Gay wrote: > Bob Sneidar wrote: >> Well I figured out what the problem is. I assumed that since the >> default delimiter was comma, that slpitting by column took that >> into account. It does not. It expects to see a TAB delimited list, >> NOT a comma delimited list. > > Split looks at the columnDelimiter property, not the itemDelimiter. > The default columnDelimiter is tab, but you can set it to a comma. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jimschaubeck at yahoo.com Mon Feb 9 19:58:48 2009 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Mon, 9 Feb 2009 16:58:48 -0800 (PST) Subject: newbie References: Message-ID: <394975.87111.qm@web111107.mail.gq1.yahoo.com> In a new stack with no objects, I tried: set the editbg of this stack to true then: put the editbg of this stack resulted in "false" (just like you mentioned) However, after I added two buttons, grouped them, then set the group to behave as a bg, I entered into the msg box, "set the editbg to true" and "put the editbg of this stack" resulted in "true" I didn't do a whole lot of testing but thought I would check a few things to see if it helped Jim... ________________________________ From: "DunbarX at aol.com" To: use-revolution at lists.runrev.com Sent: Monday, February 9, 2009 3:54:14 PM Subject: newbie I am trying to learn to drive. Not going well, in spite of private tutoring from Jackie. I have a stack open. I write in the msg box: set the editbg of this stack to "true" I then write in the msg box: answer the editbg of this stack. I always get "false" as the answer. Tried the long name of the stack. No difference. The stack has nothing near any sort of reserved name. These (what must be) utterly basic problems are killing me. Help. ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100000075x1218550342x1201216770/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072%26hmpgID=62%26bcd=fe bemailfooterNO62) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jmyepes at mac.com Mon Feb 9 20:01:50 2009 From: jmyepes at mac.com (Josep) Date: Mon, 9 Feb 2009 17:01:50 -0800 (PST) Subject: FTP Download Message-ID: <21925626.post@talk.nabble.com> Hi, I'm trying to download a PDF file from one ftp site, but only obtain an error. Why? The file is about 1Mb aprox. Trying these URL directly in the browser the PDF is downloaded perfectly. I use this piece of code: on mouseUp libURLDownloadToFile \ "ftp://:@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf","regio7","status" end mouseUp on status put the urlstatus of "ftp://:@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf" into field fStatus end status Nothing. What I doing wrong? I need download every day a PDF file from one ftp and upload to another, and save a copy of the PDF in the local hard disk. Thanks in advance. Salut, JosepM -- View this message in context: http://www.nabble.com/FTP-Download-tp21925626p21925626.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Mon Feb 9 20:10:54 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 10 Feb 2009 11:10:54 +1000 Subject: FTP Download In-Reply-To: <21925626.post@talk.nabble.com> References: <21925626.post@talk.nabble.com> Message-ID: > I'm trying to download a PDF file from one ftp site, but only obtain an > error. Why? The file is about 1Mb aprox. Trying these URL directly in the > browser the PDF is downloaded perfectly. > > I use this piece of code: > > on mouseUp > libURLDownloadToFile \ > > "ftp://:@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf","regio7","status" > end mouseUp > > on status > put the urlstatus of > "ftp://:@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf" > into field fStatus > > end status > > Nothing. What I doing wrong? I need download every day a PDF file from one > ftp and upload to another, and save a copy of the PDF in the local hard > disk. What error do you get? One useful debugging tool is to create a scrolling field (called "Log" in the example below) and use it to show the FTP log. libURLSetLogField the long name of fld "Log" -- starts logging and libURLSetLogField "" -- stops logging Here is a general FTP download script: libURLDownloadToFile tURL, tSaveName, downloadDone -- tURL = full FTP path -- tSaveName is the full file path for the downloaded file to be saved to -- downloadDone is the name of the handle to be called when the download is finished -- this callback handler is only used when the download has finished -- on downloadDone pURL, pURLStatus -- show completion message put "Download complete: " & pURLStatus end downloadDone HTH, Sarah From lan.kc.macmail at gmail.com Mon Feb 9 20:14:54 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 10 Feb 2009 09:14:54 +0800 Subject: [OT] Rev + BBEdit In-Reply-To: References: Message-ID: Trevor, you should have your language module relisted/linked here: http://www.barebones.com/support/bbedit/plugin_library.html The more Revolution exposure the better :-) From lan.kc.macmail at gmail.com Mon Feb 9 20:31:11 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 10 Feb 2009 09:31:11 +0800 Subject: Rev DB errors In-Reply-To: References: Message-ID: On Tue, Feb 10, 2009 at 7:44 AM, Sarah Reichelt wrote: > I found that the result returned by a faulty > call to revExecuteSQL, did NOT include either "revdberr" or "syntax > error", but just a text description of the error. > This appears to along the same lines as Shao Sean's post "issues with rev comparing a returned string" 30 Jan, where he wrote the following script was not giving the expected results: put revDataFromQuery(TAB, LF, tConnID, tSQL) into tColumnInfo if (tColumnInfo contains "revdberr") then put tColumnInfo end if Your current experience would suggest that in certain circumstances errors do not post "revdberr" to the result so the 'then' structure is never entered. This will certainly make error trapping far more laborious :-( From dunbarx at aol.com Mon Feb 9 20:47:56 2009 From: dunbarx at aol.com (dunbarx) Date: Mon, 09 Feb 2009 20:47:56 -0500 Subject: newbie In-Reply-To: <394975.87111.qm@web111107.mail.gq1.yahoo.com> Message-ID: Thanks, all. I did not know that you had to have at least one group on the card to start editing groups. I will try this tomorrow. Craig Newman On Feb 9, 2009, at 7:58:48 PM, "Jim Schaubeck" wrote: From: "Jim Schaubeck" Subject: Re: newbie Date: February 9, 2009 7:58:48 PM EST To: "How to use Revolution" In a new stack with no objects, I tried: set the editbg of this stack to true then: put the editbg of this stack resulted in "false" (just like you mentioned) However, after I added two buttons, grouped them, then set the group to behave as a bg, I entered into the msg box, "set the editbg to true" and "put the editbg of this stack" resulted in "true" I didn't do a whole lot of testing but thought I would check a few things to see if it helped Jim... ________________________________ From: "DunbarX at aol.com" To: use-revolution at lists.runrev.com Sent: Monday, February 9, 2009 3:54:14 PM Subject: newbie I am trying to learn to drive. Not going well, in spite of private tutoring? from Jackie. I have a stack open. I write in the msg box: set the editbg of this stack to "true" I then write in the msg box: answer the editbg of this stack. I always get "false" as the answer. Tried the long name of the stack. No difference. The stack has nothing near? any sort of reserved name. These (what must be) utterly basic problems are killing me. Help. ************** A Good Credit Score is 700 or Above. See yours in just 2 easy? steps!? (http://pr.atwola.com/promoclk/100000075x1218550342x1201216770/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072%26hmpgID=62%26bcd=fe bemailfooterNO62) _______________________________________________ use-revolution mailing list use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Mon Feb 9 21:34:26 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 10 Feb 2009 12:34:26 +1000 Subject: Rev DB errors In-Reply-To: References: Message-ID: >> I found that the result returned by a faulty >> call to revExecuteSQL, did NOT include either "revdberr" or "syntax >> error", but just a text description of the error. >> > > > This appears to along the same lines as Shao Sean's post "issues with rev > comparing a returned string" 30 Jan, where he wrote the following script was > not giving the expected results: > > put revDataFromQuery(TAB, LF, tConnID, tSQL) into tColumnInfo > if (tColumnInfo contains "revdberr") then > put tColumnInfo > end if > > Your current experience would suggest that in certain circumstances errors > do not post "revdberr" to the result so the 'then' structure is never > entered. > > This will certainly make error trapping far more laborious :-( I THINK that revDataFromQuery will still return revdberr, but revExecuteSQL does not. For that, you have to check for a number. Anything other than a nmber will indicate an error. Cheers, Sarah From lists at mangomultimedia.com Mon Feb 9 23:23:41 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 9 Feb 2009 23:23:41 -0500 Subject: [OT] Rev + BBEdit In-Reply-To: References: Message-ID: On Feb 9, 2009, at 8:14 PM, Kay C Lan wrote: > you should have your language module relisted/linked here: > > http://www.barebones.com/support/bbedit/plugin_library.html > > The more Revolution exposure the better :-) Good idea. I just sent BareBones an email about it. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From jmyepes at mac.com Tue Feb 10 00:35:54 2009 From: jmyepes at mac.com (Josep) Date: Mon, 9 Feb 2009 21:35:54 -0800 (PST) Subject: FTP Download In-Reply-To: References: <21925626.post@talk.nabble.com> Message-ID: <21928053.post@talk.nabble.com> Hi, I get socket timeout error, I put the libURLSetFTPStopTime 30 but nothing, the same. Any idea? Salut, JosepM Sarah Reichelt-2 wrote: > >> I'm trying to download a PDF file from one ftp site, but only obtain an >> error. Why? The file is about 1Mb aprox. Trying these URL directly in the >> browser the PDF is downloaded perfectly. >> >> I use this piece of code: >> >> on mouseUp >> libURLDownloadToFile \ >> >> "ftp://:@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf","regio7","status" >> end mouseUp >> >> on status >> put the urlstatus of >> "ftp://:@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf" >> into field fStatus >> >> end status >> >> Nothing. What I doing wrong? I need download every day a PDF file from >> one >> ftp and upload to another, and save a copy of the PDF in the local hard >> disk. > > > What error do you get? > > One useful debugging tool is to create a scrolling field (called "Log" > in the example below) and use it to show the FTP log. > libURLSetLogField the long name of fld "Log" -- starts logging > and > libURLSetLogField "" -- stops logging > > > Here is a general FTP download script: > > libURLDownloadToFile tURL, tSaveName, downloadDone > -- tURL = full FTP path > -- tSaveName is the full file path for the downloaded file to be saved > to > -- downloadDone is the name of the handle to be called when the > download is finished > > > -- this callback handler is only used when the download has finished > -- > on downloadDone pURL, pURLStatus > -- show completion message > put "Download complete: " & pURLStatus > end downloadDone > > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/FTP-Download-tp21925626p21928053.html Sent from the Revolution - User mailing list archive at Nabble.com. From randall at randallreetz.com Tue Feb 10 01:20:08 2009 From: randall at randallreetz.com (Randall Lee Reetz) Date: Mon, 9 Feb 2009 22:20:08 -0800 Subject: interesting smart debugger... Message-ID: Checkout this "Whyline" java debugger from Carnegie Mellon's "Natural Programming" project: http://www.cs.cmu.edu/~NatProg/movies/whyline-java-tutorial-web.mov By the way, Whyline is a downloadable free tool for java programming. Randall From randall at randallreetz.com Tue Feb 10 01:44:50 2009 From: randall at randallreetz.com (Randall Lee Reetz) Date: Mon, 9 Feb 2009 22:44:50 -0800 Subject: structured editor language Message-ID: <9688DFFA-BC21-43EE-BAF7-D8FD31E349A7@randallreetz.com> Check out this IDE/language for the creation of structured editors (also from Carnagie Mellon). http://www.cs.cmu.edu/~NatProg/movies/citrus.mov From jmyepes at mac.com Tue Feb 10 02:38:00 2009 From: jmyepes at mac.com (Josep) Date: Mon, 9 Feb 2009 23:38:00 -0800 (PST) Subject: FTP Download In-Reply-To: References: <21925626.post@talk.nabble.com> Message-ID: <21929018.post@talk.nabble.com> Hi, Solved. The socket timeout was the problem, I put a more big value and now is running and downloading. About your code: on downloadDone pURL, pURLStatus -- show completion message put "Download complete: " & pURLStatus end downloadDone How pass or obtain the pURLStatus? With.. put the urlstatus of "ftp://.." into pURLStatus ? for example, but where is the best handler to put? Thanks! Salut, Josep M Sarah Reichelt-2 wrote: > >> I'm trying to download a PDF file from one ftp site, but only obtain an >> error. Why? The file is about 1Mb aprox. Trying these URL directly in the >> browser the PDF is downloaded perfectly. >> >> I use this piece of code: >> >> on mouseUp >> libURLDownloadToFile \ >> >> "ftp://:@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf","regio7","status" >> end mouseUp >> >> on status >> put the urlstatus of >> "ftp://:@ftp.regio7.cat/regio7_manresa/R7M_01022009.pdf" >> into field fStatus >> >> end status >> >> Nothing. What I doing wrong? I need download every day a PDF file from >> one >> ftp and upload to another, and save a copy of the PDF in the local hard >> disk. > > > What error do you get? > > One useful debugging tool is to create a scrolling field (called "Log" > in the example below) and use it to show the FTP log. > libURLSetLogField the long name of fld "Log" -- starts logging > and > libURLSetLogField "" -- stops logging > > > Here is a general FTP download script: > > libURLDownloadToFile tURL, tSaveName, downloadDone > -- tURL = full FTP path > -- tSaveName is the full file path for the downloaded file to be saved > to > -- downloadDone is the name of the handle to be called when the > download is finished > > > -- this callback handler is only used when the download has finished > -- > on downloadDone pURL, pURLStatus > -- show completion message > put "Download complete: " & pURLStatus > end downloadDone > > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/FTP-Download-tp21925626p21929018.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Tue Feb 10 02:46:25 2009 From: jmyepes at mac.com (Josep) Date: Mon, 9 Feb 2009 23:46:25 -0800 (PST) Subject: Search text inside PDF files Message-ID: <21929102.post@talk.nabble.com> Hi, I need search inside PDF files. >From a group of strings I need search inside a PDF and report the page number and extract the page to a new PDF. Any idea of how get the problem? Salut, Josep M -- View this message in context: http://www.nabble.com/Search-text-inside-PDF-files-tp21929102p21929102.html Sent from the Revolution - User mailing list archive at Nabble.com. From luis at anachreon.co.uk Tue Feb 10 03:18:07 2009 From: luis at anachreon.co.uk (Luis) Date: Tue, 10 Feb 2009 08:18:07 +0000 Subject: structured editor language In-Reply-To: <9688DFFA-BC21-43EE-BAF7-D8FD31E349A7@randallreetz.com> References: <9688DFFA-BC21-43EE-BAF7-D8FD31E349A7@randallreetz.com> Message-ID: <4991383F.2020202@anachreon.co.uk> Very interesting! Cheers, Luis. Randall Lee Reetz wrote: > Check out this IDE/language for the creation of structured editors (also > from Carnagie Mellon). > > http://www.cs.cmu.edu/~NatProg/movies/citrus.mov > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From toolbook at kestner.de Tue Feb 10 03:40:16 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 10 Feb 2009 09:40:16 +0100 Subject: how to show language specific path names? Message-ID: <33B4FC6CF0CC47D09E35152376AA4F67@Kestner.local> Hello, when working with path names in rev, you always get the english names, like "documents" If you want to show these path names to the end user ( while installaing, or asking to select a folder, etc.) it can be puzzeling for the not knowing standard user, because when looking into his computer on Vista or Mac he won't find these names, but the local translation, in this case "Dokumente" (what isn't so far away in this case) Is there any function to translate the path names to the local language (beside doing it "by hand")? Or how do you handle this issue with your customers in non English countries? Thanks Tiemo From toolbook at kestner.de Tue Feb 10 04:10:01 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 10 Feb 2009 10:10:01 +0100 Subject: AW: AW: Problems deleting folders on Vista - error #? In-Reply-To: <4990935D.9010009@hyperactivesw.com> Message-ID: <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> Hi Jacqueline, I am glad I am not again the only one having curiosities :) I have to say that my Vista system knowledge isn't that profound, but I can say that I created all of the folders with a Rev prog (which works without problems) and tried to delete them with another Rev prog (revDeleteFolder) under the same user. This user has full rights on these folders. The folders are even empty Does anybody knows where I find the explanation of "the result" numbers after revDeleteFolders (2,3,5,32)? Should I delete folders with a shell command? What does Vista say to this? Has anybody by chance an example of a Win shell deleting of a folder including content - I am not that shell guy :) Btw. How do you install an app to run as admin? I just know to do it by hand with right mouse key. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von J. Landman Gay > Gesendet: Montag, 9. Februar 2009 21:35 > An: How to use Revolution > Betreff: Re: AW: Problems deleting folders on Vista - error #? > > Tiemo Hollmann TB wrote: > > Yes I did - with right mouse key - "run as admin" > > It deleted some of the folders, but not all, strange to say especially > not > > the folders in my Users Dir > > Any idea? > > No ideas, but I'm having similar problems with some (but not all) Vista > customers when my app tries to *create* a folder in the users directory. > The app makes a folder named for itself, and then puts sub-folders > inside later. The sub-folders get created but sometimes the enclosing > one does not. I'm at a loss to understand why. The app is installed to > run as administrator. > > I'll watch this thread with interest. What's the deal with Vista > permissions in the user's Documents folder? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bdrunrev at gmail.com Tue Feb 10 04:25:52 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 10 Feb 2009 09:25:52 +0000 Subject: structured editor language In-Reply-To: <4991383F.2020202@anachreon.co.uk> References: <9688DFFA-BC21-43EE-BAF7-D8FD31E349A7@randallreetz.com> <4991383F.2020202@anachreon.co.uk> Message-ID: I'm very interested in these kinds of approaches. There is also Naked Objects ( http://www.nakedobjects.org/home/no_for_java_intro.shtml). Another example is Apple's own WebObjects. WebObjects set the high water mark for web application design, and the peak of that is a technology called DirectToWeb that enables the production of a totally dynamic web application based on a database schema (model) and a set of rules that map components to queries/result sets. The web application is completely built on the fly. One of the guiding goals of WebObjects was 'if you're writing code, you're doing something wrong.' WebObjects used to be known as the Apple's 'best kept secret' (it still runs the Apple store, ITMS, and the iPhone App Store). Direct2Web was known as 'the best kept secret of the best kept secret'. Many other web application technologies (e.g. Cayenne, Seaside) openly admit to taking what they could from WebObjects. The idea of using a rules engine to produce an application on the fly is unfortunately not something that most application development environments lend themselves to. Although Rev does lend itself to this. Bernard On Tue, Feb 10, 2009 at 8:18 AM, Luis wrote: > Very interesting! > > Cheers, > > Luis. > > > > Randall Lee Reetz wrote: > >> Check out this IDE/language for the creation of structured editors (also >> from Carnagie Mellon). >> >> http://www.cs.cmu.edu/~NatProg/movies/citrus.mov >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at vaudevillecourt.tv Tue Feb 10 07:54:45 2009 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 10 Feb 2009 12:54:45 +0000 Subject: OT: address to access hidden Samba share? Message-ID: THis is work in progress. I'm experimenting with storing files on a shared NAS, and I want a Rev application to access them (read and write) but I don't want to encourage users to dump stuff in them directly. Most of the PC's are running XP, but the video editing server is running OSX. >From the Finder in OSX you can access the shares using: smb://192.168.1.104/archive and it seems that any computer on the network can also use an equivalent form: smb://graveyard/archive where "graveyard" is the name of the share. Now "hiding" the samba share on the NAS, seems to change its name "appending a "$" sign. So that even though it is not visible, you can access it like this: smb://graveyard/Architex$ where Architex is the name of the hidden share. The next step is to figure out how to address files on these shares cross platform using Revolution. Any ideas? From DunbarX at aol.com Tue Feb 10 09:09:56 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 10 Feb 2009 09:09:56 EST Subject: Newbie Message-ID: Thank you, all. It was just that, as Mark said, you have to already have at least one bg to set the editbg property at all. I thought I would set it and then do some work. Don't go "true" without it. Incidentally, the property is not saved if one closes the stack and then reopens it; it defaults to "false" (saving the stack makes no difference). So it is not, in my thinking, much of a property, more like a temporary tool. This last disconcerted me; I could accept that I did not understand the limitation. I was upset that my idea of what a property was is now useless. Are most stack properties like that? Newbies do a lot of whining. I "have" Winkler, Kamins and DeVoto. And I have this list. I need Danny Goodman. Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100000075x1218550342x1201216770/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072%26hmpgID =62%26bcd=febemailfooterNO62) From ambassador at fourthworld.com Tue Feb 10 11:33:22 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Feb 2009 08:33:22 -0800 Subject: Newbie Message-ID: <4991AC52.9060109@fourthworld.com> DunbarX wrote: > It was just that, as Mark said, you have to already have at least one bg to > set the editbg property at all. I thought I would set it and then do some work. > Don't go "true" without it. Yep. Unlike HC, which always has one background on every card, Rev can have any number of backgrounds, or none, as you wish. So to edit a background it must first exist. ;) When importing HC stacks, the backgrounds come along for the ride so in conversion it's rarely an issue. When developing fresh in Rev, however, the more flexible object model carries the small price of creating the objects, like backgrounds, you want to modify. > Incidentally, the property is not saved if one closes the stack and then > reopens it; it defaults to "false" (saving the stack makes no difference). So it > is not, in my thinking, much of a property, more like a temporary tool. > > This last disconcerted me; I could accept that I did not understand the > limitation. I was upset that my idea of what a property was is now useless. Are > most stack properties like that? Properties come in many flavors. Some are persistent, some are reset to defaults between sessions, some are read-only. Most object properties are persistent, but there are a few properties which aren't, like editBackground. The editBackground property governs an interaction mode, and like "tool" and most (all?) global properties the mode for a given session always defaults to a single state when a new session begins. I've just added a request to the RQCC to add a note to the Dictionary entry for editBackground that it isn't persistent between session: If memory serves, this behavior is similar to HyperCard, in which if you were editing a background in HC and then quit, launching HC again and opening the stack would bring you back to the "normal" (non-background-editing) mode. > Newbies do a lot of whining. You should have seen my early posts; they make some of the most ardent whining in more recent years seem angelic. :) When I first started with Rev (it was still "MetaCard" back then) I came from a strong SuperCard background, so any difference between this new engine and the one I was used to I labeled as a mistake. Fortunately Scott Raney (MetaCard's inventor) and Kevin Miller were far more patient with me than I was with the engine, and they very helpfully explained the "Why" behind the differences (usually due to multi-platform considerations). Over time I've come to prefer how Rev does most things. I hope your experience is as fruitful in the long run. And in the short run at least you have us. :) > I "have" Winkler, Kamins and DeVoto. And I have this list. I need Danny > Goodman. In the Rev world we have Jacque Gay. Her excellent tutorial on migrating to Rev from HC is priceless: I don't know if it addresses this specific issue with backgrounds, but there are a great many gems in that, well worth the read. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From bobs at twft.com Tue Feb 10 12:21:05 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 Feb 2009 09:21:05 -0800 Subject: Newbie In-Reply-To: References: Message-ID: I think that non-persistent IDE properties are the lesser of the two evils. Otherwise you can easily lose track of your environment. But the important thing is, custom properties and object properties ARE persistent. Count on it. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 10, 2009, at 6:09 AM, DunbarX at aol.com wrote: > Thank you, all. > > It was just that, as Mark said, you have to already have at least > one bg to > set the editbg property at all. I thought I would set it and then do > some work. > Don't go "true" without it. > > Incidentally, the property is not saved if one closes the stack and > then > reopens it; it defaults to "false" (saving the stack makes no > difference). So it > is not, in my thinking, much of a property, more like a temporary > tool. > > This last disconcerted me; I could accept that I did not understand > the > limitation. I was upset that my idea of what a property was is now > useless. Are > most stack properties like that? > > Newbies do a lot of whining. > > I "have" Winkler, Kamins and DeVoto. And I have this list. I need > Danny > Goodman. > > Craig Newman > > > ************** > A Good Credit Score is 700 or Above. See yours in > just 2 easy steps! > (http://pr.atwola.com/promoclk/100000075x1218550342x1201216770/aol?redir=http://www.freecreditreport.com/pm/default.aspx > ?sc=668072%26hmpgID > =62%26bcd=febemailfooterNO62) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Tue Feb 10 12:36:59 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 10 Feb 2009 09:36:59 -0800 Subject: newbie In-Reply-To: References: Message-ID: > I am trying to learn to drive. Not going well, in spite of > private tutoring from Jackie. Jacque gives driving lessons? Hey Jacque, I got a 15 year old daughter - are you available? Id like to keep what hair I have left before embarking on lessons myself :-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jacque at hyperactivesw.com Tue Feb 10 12:40:50 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Feb 2009 11:40:50 -0600 Subject: AW: AW: Problems deleting folders on Vista - error #? In-Reply-To: <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> References: <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> Message-ID: <4991BC22.7000801@hyperactivesw.com> Tiemo Hollmann TB wrote: > Btw. How do you install an app to run as admin? I just know to do it by hand > with right mouse key. I use the ClickTeam installer, which allows me to set that option when the app is installed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Feb 10 12:50:08 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Feb 2009 11:50:08 -0600 Subject: newbie In-Reply-To: References: Message-ID: <4991BE50.70405@hyperactivesw.com> Lynn Fredricks wrote: >> I am trying to learn to drive. Not going well, in spite of >> private tutoring from Jackie. > > Jacque gives driving lessons? Hey Jacque, I got a 15 year old daughter - are > you available? Id like to keep what hair I have left before embarking on > lessons myself :-) No problem. Put her in the car and have her drive up here to Minnesota. If she makes it, I'll take over from there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sanke at hrz.uni-kassel.de Tue Feb 10 13:36:18 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 10 Feb 2009 19:36:18 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? Message-ID: <4991C922.7060407@hrz.uni-kassel.de> Returning home from my extended weekend I looked at the results of your lively discussion. I support Klaus' enhancement request 3265, which is indeed exactly what I had in mind. I also experimented with the "jiggling" approach and found the following enhancement (at least I hope it is an enhancement), - calculating the necessary total new height of the button rect, and - computing the DivFactor, which varies among other factors according to the textsize: "on mouseUp put the icon of btn 12 into tID put the height of img ID tID into timgheight set the height of btn 12 to (timgheight + the textheight of btn 12) put the height of btn 12 into tBtHeight # the line above to simplify the following computations put (2* (tBtHeight-(the textheight of btn 12 + the effective textsize of btn 12))) / tBtHeight into tDivFactor put (the height of btn 12 - the textheight of btn 12 - the effective textsize of btn 12) / tdivfactor into tMargin set the margins of btn 12 to 0,tMargin,0,tMargin end mouseUp" (Pay attention to possible line breaks in the mail). I have replaced the *div* operator of Jacqueline's and Klaus' scripts with the simple division using "/" as it provides finer adjustments. (Revolution in many cases handles fractional values excellently and many scripts - especially such with longer repeat loops - can be speeded up enormously when we leave out "trunc", "round" etc. You can, for instance, see this when changing color values of imagedata with "numtochar") The script above (most accurately) places the label "on top" of the icon with any icon image height and fontsize. What we might still need is an extra tiny "jiggle" factor that achieves another mini-adjustment of 1 to 3 pixels. The resulting button is higher (with the transparent area at the bottom) than the icon image, which for some uses may need extra workarounds, e.g. if you want to drag the button to a field and set the loc of the button to the loc of the field (using "intersect" etc.). But what you can do now is to *group" the button and set the height of the group to the height of the icon image. ================= Scott Rossi had written: > It's possible, but it's not a little script. :-) I demoed a customizable > button object at the last RevLive conference in Vegas. One can set > the font > of the text, the orientation of the text, margins, and include an icon > (which orients itself as expected, as opposed to the current > behavior). But > this all needs to be handled as a group of objects. Features in the > upcoming > version of Rev will make this type of control much more practical for end > users. So your not-so-little-script probably contains more and other factors to achieve a perfect adjustment. I suppose you refer to the scripts of "tm|button" of your "tm|elements", which however have not yet been released - at least I could not find a relevant link on your homepage. Will your "tm|elements" be released any time soon? Best regards, Wilhelm Sanke From bdrunrev at gmail.com Tue Feb 10 14:54:01 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 10 Feb 2009 19:54:01 +0000 Subject: Need suggestions from the masters :) In-Reply-To: References: Message-ID: Hi Weslyn, I'm not sure I completely understand your questions. But before you conclude that you need a SQL database of any kind, if speed is really your concern you are better to consider in-memory data structures. I believe you will find that data structures such as Revolution arrays (also known as dictionaries) will be as much as 100x faster in searching for information. The best thing to do to test the feasibility of your idea is to work out how many users you want to accommodate and then populate Rev arrays and do some searches to check that you get the results you want back and in a reasonable time period. Then do the same thing with e.g. MySQL and check that it is fast enough. As far as I know Valentina is not a networked database server, unless you buy a specific server version of Valentina. That means with the Valentina ADK you would have to house the database on the same server where Rev is running. There are people on this list who know Valentina well. Perhaps if you can elaborate on what you are asking, they will answer your questions to say whether or not an in-process or networked version of Valentina would do what you want. Bernard On Mon, Feb 9, 2009 at 10:05 PM, weslyn whitehead wrote: > I'm creating a application (game system) that will work in a virtual world > and interact with the system there. As players use the system, it will post > data to a inworld server which i will use to make httprequest outside the > world into my rev server. Once there I am hopeing to put the information > into a DB and return information back to the inworld server. My question > is > im sure i can do this no problem with MySql but i also own Valentina Rev > ADK > and so, im wanting to use valentina but im not sure its the right solution. > Only the Rev Server would be talking to the db. I guess im not sure how it > would work as far as deployment. > > So on mysql i'd setup a mysql server set user accounts and lock access > down. > Then create my DB. Use app to talk to db. > > With Valentina is it setup the db connection in the Rev server app and then > just reference a flat file not a server type deal? Also, any experience if > this is the solution how fast/reliable would this be? (assuming this would > all sit on a server) > > Thanks in advance hope i wasnt just ranting on. > > Docwes. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pmbrig at gmail.com Tue Feb 10 15:05:39 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 10 Feb 2009 15:05:39 -0500 Subject: uploading to RevOnline Message-ID: <69E8F0C8-60E2-4F40-8431-C6BC8804405C@gmail.com> OK, this feels like a totally basic question to me, so I apologize in advance.... I know I asked about this last year sometime, but I couldn't get it to work and I just gave up on it, so it's still a problem for me. I want to share a stack by uploading it to my userspace on RevOnline, so I open the stack, select "Share this stack..." from the file menu, and the RevOnline window appears. I can see the name of the stack in question at the top, and I choose the category, fill in the title & description, then click "Upload." Nothing seems to happen in the way of confirmation (is this normal?). I then save my stack as instructed -- I guess Rev "fingerprints" the stack by adding a custom property or something to allow me to update the stack later if I revise it. Then I go to my userspace and the new stack is not there. Nada. I must be doing something wrong. Somehow last year I managed to get one stack up there, but I have no idea what I did to accomplish this. What am I missing? Peter M. Brigham pmbrig at gmail.com RevOnline username: pmbrig From sunshine at public.kherson.ua Tue Feb 10 16:12:41 2009 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 10 Feb 2009 23:12:41 +0200 Subject: Need suggestions from the masters :) In-Reply-To: Message-ID: On 2/10/09 9:54 PM, "Bernard Devlin" wrote: Hi, > As far as I know Valentina is not a networked database server, unless you > buy a specific server version of Valentina. That means with the Valentina > ADK you would have to house the database on the same server where Rev is > running. > There are people on this list who know Valentina well. Perhaps if you can > elaborate on what you are asking, they will answer your questions to say > whether or not an in-process or networked version of Valentina would do what > you want. As I have catch original question, it was: is it possible make wrapper around V4REV ADK to get something like game-server Technically yes, it is possible. Although question is if this is right way, and may be better use Valentina Server. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sarah.reichelt at gmail.com Tue Feb 10 17:11:20 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 11 Feb 2009 08:11:20 +1000 Subject: FTP Download In-Reply-To: <21929018.post@talk.nabble.com> References: <21925626.post@talk.nabble.com> <21929018.post@talk.nabble.com> Message-ID: > Solved. The socket timeout was the problem, I put a more big value and now > is running and downloading. > > About your code: > on downloadDone pURL, pURLStatus > -- show completion message > put "Download complete: " & pURLStatus > end downloadDone > > How pass or obtain the pURLStatus? > With.. > > put the urlstatus of "ftp://.." into pURLStatus ? for example, but where is > the best handler to put? If you have a callback for when the download is finished (downloadDone in my example), then the URL status of the download is automatically sent to this handler as the second parameter. The URL is the first parameter so if you are doing multiple downloads, you can check which one has finished. If you want more regular feeedback on the status of a download (or upload), then you can set a status callback. e.g. libURLSetStatusCallback "showStatus", fld "Status" which will send the "showStatus" message to a field called "Status" periodically during the download. In the "Status" field script, put something like this: on showStatus pURL, pStatus put pURL & ":" && pStatus into me end showStatus This will give you a very basic indication of what is happening. Once you have worked out the format, you can change this to show a progress bar, or percentage of the download, or even calculate the speed of download and expected duration. When the download is finished, use libURLSetStatusCallback with no parameters, to turn off the status reporting. HTH, Sarah From jmyepes at mac.com Tue Feb 10 17:25:42 2009 From: jmyepes at mac.com (Josep) Date: Tue, 10 Feb 2009 14:25:42 -0800 (PST) Subject: Search text inside PDF files In-Reply-To: <21929102.post@talk.nabble.com> References: <21929102.post@talk.nabble.com> Message-ID: <21943673.post@talk.nabble.com> Looking into the forums I think maybe can be posible do some find action via applescript... Any idea? Salut, Josep Josep wrote: > > Hi, > > I need search inside PDF files. > From a group of strings I need search inside a PDF and report the page > number and extract the page to a new PDF. > > Any idea of how get the problem? > > Salut, > Josep M > -- View this message in context: http://www.nabble.com/Search-text-inside-PDF-files-tp21929102p21943673.html Sent from the Revolution - User mailing list archive at Nabble.com. From lfredricks at proactive-intl.com Tue Feb 10 18:50:42 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 10 Feb 2009 15:50:42 -0800 Subject: Need suggestions from the masters :) In-Reply-To: References: Message-ID: > As far as I know Valentina is not a networked database > server, unless you buy a specific server version of > Valentina. That means with the Valentina ADK you would have > to house the database on the same server where Rev is running. > > There are people on this list who know Valentina well. > Perhaps if you can elaborate on what you are asking, they > will answer your questions to say whether or not an > in-process or networked version of Valentina would do what you want. All the ADK products by themselves are local databases, but if you get Valentina Developer Network, you can deploy Embedded Server, which is very definitely a networked database. There is a "client" in each ADK though that can connect with Embedded Server or Valentina Office Server. VDN also includes X number of ADKs with it, depending on the level. That makes it possible to build true client-server solutions that can store data both on the server and locally. Office Server has several extra features built in, most of which are ala-carte with Embedded Server, like SSL and Bonjour/Zero Config and the forthcoming Valentina Reports and iPhone client. We also provide support to end customers who get Office Server. If you are a VDN developer and you deploy a product, then necessarily, you need to support your own solution. With Valentina, you can work with data in RAM, or on disk. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jacque at hyperactivesw.com Tue Feb 10 18:58:27 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Feb 2009 17:58:27 -0600 Subject: uploading to RevOnline In-Reply-To: <69E8F0C8-60E2-4F40-8431-C6BC8804405C@gmail.com> References: <69E8F0C8-60E2-4F40-8431-C6BC8804405C@gmail.com> Message-ID: <499214A3.6010406@hyperactivesw.com> Peter Brigham MD wrote: > Somehow last year I managed to get one stack up there, > but I have no idea what I did to accomplish this. What am I missing? I don't know, but whatever it is, I've been missing it too from about the same time. I haven't been able to upload since then either. I pulled a stack successfully over a year ago in order to re-upload a fixed version and could never get it back online. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Feb 10 19:28:45 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Feb 2009 16:28:45 -0800 Subject: CGI on Win servers? Message-ID: <49921BBD.1020207@fourthworld.com> I've only used the Rev engine on Linux and BSD, never on Windows servers yet. Anything tricky about using it on Win as a CGI, or should it be about as straightforward as on Linux? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From rjb at robelko.com Tue Feb 10 19:25:12 2009 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 11 Feb 2009 01:25:12 +0100 Subject: Need suggestions from the masters :) In-Reply-To: References: Message-ID: On 09.02.09 at 17:05 -0500 weslyn whitehead apparently wrote: >I'm creating a application (game system) that will work in a virtual world >and interact with the system there. As players use the system, it will post >data to a inworld server which i will use to make httprequest outside the >world into my rev server. Once there I am hopeing to put the information >into a DB and return information back to the inworld server. My question is >im sure i can do this no problem with MySql but i also own Valentina Rev ADK >and so, im wanting to use valentina but im not sure its the right solution. >Only the Rev Server would be talking to the db. I guess im not sure how it >would work as far as deployment. > >So on mysql i'd setup a mysql server set user accounts and lock access down. >Then create my DB. Use app to talk to db. > >With Valentina is it setup the db connection in the Rev server app and then >just reference a flat file not a server type deal? Also, any experience if >this is the solution how fast/reliable would this be? (assuming this would >all sit on a server) > >Thanks in advance hope i wasnt just ranting on. > >Docwes. If I understand correctly, you don't really need a network-based database -- your program will be happy to use a local database. If that is correct, then yes, you can use Valentina and it should run really fast. I have such a deployment, running a Rev-based (actually MetaCard since it is leaner) network program with a local database, and it works quite well. Robert From andre at andregarzia.com Tue Feb 10 20:16:27 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 10 Feb 2009 23:16:27 -0200 Subject: CGI on Win servers? In-Reply-To: <49921BBD.1020207@fourthworld.com> References: <49921BBD.1020207@fourthworld.com> Message-ID: <7c87a2a10902101716h2c019579n9ae78a57b6e3b787@mail.gmail.com> Richard, I think it will be tricky on IIS( can't even begin to think how to do it but havent used IIS since 1999 ) , but Windows can run servers such as Apache and Light HTTP which can run revolution engine I think. Andre On Tue, Feb 10, 2009 at 10:28 PM, Richard Gaskin wrote: > > I've only used the Rev engine on Linux and BSD, never on Windows servers > yet. > > Anything tricky about using it on Win as a CGI, or should it be about as > straightforward as on Linux? > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From mwieder at ahsoftware.net Tue Feb 10 21:20:20 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 Feb 2009 18:20:20 -0800 Subject: CGI on Win servers? In-Reply-To: <7c87a2a10902101716h2c019579n9ae78a57b6e3b787@mail.gmail.com> References: <49921BBD.1020207@fourthworld.com> <7c87a2a10902101716h2c019579n9ae78a57b6e3b787@mail.gmail.com> Message-ID: <14527072031.20090210182020@ahsoftware.net> Andre- Tuesday, February 10, 2009, 5:16:27 PM, you wrote: > Richard, > I think it will be tricky on IIS( can't even begin to think how to do > it but havent used IIS since 1999 ) , but Windows can run servers such > as Apache and Light HTTP which can run revolution engine I think. I did a writeup on how to do this on IIS a few years ago. Hopefully I've lost my copy by now - it may be on the web forum or something. I can't recommend doing it, and no, there's nothing straightforward about it at all. Go with Apache. And remember to change all your line endings. -- -Mark Wieder mwieder at ahsoftware.net From tsj at unimelb.edu.au Tue Feb 10 21:53:43 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 11 Feb 2009 13:53:43 +1100 Subject: Getting a browser url on Windows In-Reply-To: <4990B346.1080600@tweedly.net> Message-ID: I use Applescript to get the url of the active window in Safari and Firefox on a Mac but is there any equivalent (VB?) that would allow me to do the same for IE and Firefox under Windows? Or is that a job for an external? Terry... From mcgrath3 at mac.com Tue Feb 10 22:19:50 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 10 Feb 2009 22:19:50 -0500 Subject: uploading to RevOnline In-Reply-To: <499214A3.6010406@hyperactivesw.com> References: <69E8F0C8-60E2-4F40-8431-C6BC8804405C@gmail.com> <499214A3.6010406@hyperactivesw.com> Message-ID: This is one of the reasons I think the RevOnline needs a really good overhaul..... Just sayin....... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 10, 2009, at 6:58 PM, J. Landman Gay wrote: > Peter Brigham MD wrote: > >> Somehow last year I managed to get one stack up there, but I have >> no idea what I did to accomplish this. What am I missing? > > I don't know, but whatever it is, I've been missing it too from > about the same time. I haven't been able to upload since then > either. I pulled a stack successfully over a year ago in order to re- > upload a fixed version and could never get it back online. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Wed Feb 11 01:14:28 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 11 Feb 2009 14:14:28 +0800 Subject: [OT] Rev + BBEdit In-Reply-To: References: Message-ID: On Tue, Feb 10, 2009 at 12:23 PM, Trevor DeVore wrote: > > Good idea. I just sent BareBones an email about it. > > I just checked: http://www.barebones.com/support/bbedit/plugin_library.html Your back :-) From rmicout at online.fr Wed Feb 11 03:52:20 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 11 Feb 2009 09:52:20 +0100 Subject: Music duration Message-ID: Hello ! Actually my problem is making music with Rev (hi Beat !) on QuickTime Synthesizer via PlayCommand Agent X (Shakobox : hi ! Jacqueline). I have two solution to "do" duration (schematically): 1. First solution : A. Start sound B. Wait x millisec C. Stop sound 2. Second solution : A. Start sound B. Send "Stop sound" in x millisec With the first solution the sequences (and duration of and between sounds) of sounds work very well but if I have a second sequence the sound of this second sequence stop (and wait...) with the "wait" command of the first sequence. With the second solution the independance of sequences is right (no waiting...) but the sequence is not right because sounds overlap and do not really follow... Someone have a third solution to satisfy both requirements ? Excuse me for my english... Ren? from Paris From palcibiades-first at yahoo.co.uk Wed Feb 11 04:13:02 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 11 Feb 2009 09:13:02 +0000 Subject: Addressing Hardware - particularly usb port Message-ID: <200902110913.03082.palcibiades-first@yahoo.co.uk> Is it possible in Rev to address a usb device directly? I've no experience of this sort of thing, but have a USB meter which I need to talk to. If not, does anyone know if its possible from the shell? Or is this a case of, do it in C or forget it? Peter From jbv.silences at club-internet.fr Wed Feb 11 04:37:37 2009 From: jbv.silences at club-internet.fr (jbv) Date: Wed, 11 Feb 2009 10:37:37 +0100 Subject: CGI on Win servers? References: <49921BBD.1020207@fourthworld.com> Message-ID: <49929C61.B83AEF51@club-internet.fr> Richard , > I've only used the Rev engine on Linux and BSD, never on Windows servers > yet. > > Anything tricky about using it on Win as a CGI, or should it be about as > straightforward as on Linux? > > -- The only time I used Rev cgi on a Win server, it was as easy and straightforward as on Linux, except that I never managed to interface it with mySQL and had to write 2 short PHP scripts for that... JB From th.douez at gmail.com Wed Feb 11 04:43:47 2009 From: th.douez at gmail.com (Thierry) Date: Wed, 11 Feb 2009 10:43:47 +0100 Subject: Music duration In-Reply-To: References: Message-ID: <53055C72-3BE3-4AED-AFB5-FF689BF11013@gmail.com> Bonjour Ren?, May be you could shime the thread about "playing multi-sounds", end of january on this list.... Judy, Scott and others gave some good advices ( and pitfalls ) about sounds and Rev... HTH, Thierry > Hello ! > Actually my problem is making music with Rev (hi Beat !) on > QuickTime Synthesizer via PlayCommand Agent X (Shakobox : hi ! > Jacqueline). > I have two solution to "do" duration (schematically): > 1. First solution : > A. Start sound > B. Wait x millisec > C. Stop sound > 2. Second solution : > A. Start sound > B. Send "Stop sound" in x millisec > With the first solution the sequences (and duration of and between > sounds) of sounds work very well but if I have a second sequence > the sound of this second sequence stop (and wait...) with the > "wait" command of the first sequence. > With the second solution the independance of sequences is right (no > waiting...) but the sequence is not right because sounds overlap > and do not really follow... > Someone have a third solution to satisfy both requirements ? From camm29 at tesco.net Wed Feb 11 05:04:07 2009 From: camm29 at tesco.net (camm29 at tesco.net) Date: Wed, 11 Feb 2009 10:04:07 +0000 Subject: Addressing Hardware - particularly usb port In-Reply-To: <200902110913.03082.palcibiades-first@yahoo.co.uk> Message-ID: <20090211100407.39433.260241.root@web10-winn.ispmail.private.ntl.com> Yes it can, but you must have a Virtual port that appears to be a serial comm port. Rev will only send/receive Commands/Data via serial RS232 , the only problem then is the USB meter data requirements. Regards Camm ---- Peter Alcibiades wrote: > Is it possible in Rev to address a usb device directly? I've no experience > of this sort of thing, but have a USB meter which I need to talk to. > > If not, does anyone know if its possible from the shell? Or is this a case > of, do it in C or forget it? > > Peter > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rmicout at online.fr Wed Feb 11 05:10:16 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 11 Feb 2009 11:10:16 +0100 Subject: Music duration In-Reply-To: <53055C72-3BE3-4AED-AFB5-FF689BF11013@gmail.com> References: <53055C72-3BE3-4AED-AFB5-FF689BF11013@gmail.com> Message-ID: Bonjour Thierry, Thank you, I have red that but it is not my problem... They talk about QuickTime Player sounds... And I talk about QuickTime Synthesizer sounds... And my problem is about "duration" : sequences, overlap, etc. I think days after days... Rev can not give me a satisfactory answer (in french : j'en viens ? douter quant ? la capacit? de Revolution ? donner une r?ponse satisfaisante ? mon probl?me) Revolution have not a musical orientation... It is damage (?) because (for Macintosh) there are functions (in particular through the QuickTime synthesizer) should not be too difficult (not for me !!!) to call it by some appropriate commands. This is apparently not a priority for the development team. Version 4 does not seem to be interested in it, version 5 may be ? Ren? from Paris Le 11 f?vr. 09 ? 10:43, Thierry a ?crit : > Bonjour Ren?, > > May be you could shime the thread about "playing multi-sounds", > end of january on this list.... > > Judy, Scott and others gave some good advices ( and pitfalls ) > about sounds and Rev... > > HTH, > Thierry > >> Hello ! >> Actually my problem is making music with Rev (hi Beat !) on >> QuickTime Synthesizer via PlayCommand Agent X (Shakobox : hi ! >> Jacqueline). >> I have two solution to "do" duration (schematically): >> 1. First solution : >> A. Start sound >> B. Wait x millisec >> C. Stop sound >> 2. Second solution : >> A. Start sound >> B. Send "Stop sound" in x millisec >> With the first solution the sequences (and duration of and between >> sounds) of sounds work very well but if I have a second sequence >> the sound of this second sequence stop (and wait...) with the >> "wait" command of the first sequence. >> With the second solution the independance of sequences is right >> (no waiting...) but the sequence is not right because sounds >> overlap and do not really follow... >> Someone have a third solution to satisfy both requirements ? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at futilism.com Wed Feb 11 05:31:13 2009 From: lists at futilism.com (Mark Smith) Date: Wed, 11 Feb 2009 10:31:13 +0000 Subject: Music duration In-Reply-To: References: Message-ID: <5B8D92FB-5C78-4D09-8B4A-5CAAF17F5F71@futilism.com> Ren?, would solution 1 work better if it was "wait x millisecs with messages" ? ("with messages" should stop the waits interfering with each other). Best, Mark On 11 Feb 2009, at 08:52, Ren? Micout wrote: > Actually my problem is making music with Rev (hi Beat !) on > QuickTime Synthesizer via PlayCommand Agent X (Shakobox : hi ! > Jacqueline). > I have two solution to "do" duration (schematically): > 1. First solution : > A. Start sound > B. Wait x millisec > C. Stop sound > 2. Second solution : > A. Start sound > B. Send "Stop sound" in x millisec From sanke at hrz.uni-kassel.de Wed Feb 11 05:44:16 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 11 Feb 2009 11:44:16 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? Message-ID: <4992AC00.8040903@hrz.uni-kassel.de> In my last post of this thread I had proposed the following script (based on the original proposals of Jacqueline and Klaus) to position the label of a button with an icon image: > "on mouseUp > put the icon of btn 12 into tID > put the height of img ID tID into timgheight > set the height of btn 12 to (timgheight + the textheight of btn 12) > put the height of btn 12 into tBtHeight > # the line above to simplify the following computations > put (2* (tBtHeight-(the textheight of btn 12 + the effective textsize > of btn 12))) / tBtHeight into tDivFactor > put (the height of btn 12 - the textheight of btn 12 - the effective > textsize of btn 12) / tdivfactor into tMargin > set the margins of btn 12 to 0,tMargin,0,tMargin > end mouseUp" > (Pay attention to possible line breaks in the mail). and added: > The script above (most accurately) places the label "on top" of the > icon with any icon image height and fontsize. What we might still need > is an extra tiny "jiggle" factor that achieves another mini-adjustment > of 1 to 3 pixels. Having arrived at that level of insight it was quite natural to conclude that we could fine-tune the position of the label with a scrollbar that adjusts the relevant margin items by increments of 1. This works fine here; I will add the scrollbar (and other enhancements) to the next version of sample stack "DynamicImageButtons". I have also tried to automate the setting of the group rect to the height and width of the icon image and then to set the topleft of the group rect to the topleft of the button. You have to make certain adjustments here that take into account that the height of a group is greater than the original height of the control that was grouped by 8 pixels. I did not yet find out out how to exactly synchronize the toplefts of button and group, and I remember that there are generally problems when you try to adjust the position of controls inside a group by script. But of course - other than the problem of adjusting the label position - it is quite easy to adjust the group rect manually to the size of the icon image. Regards, Wilhelm Sanke From david at architex.tv Wed Feb 11 05:54:22 2009 From: david at architex.tv (David Bovill) Date: Wed, 11 Feb 2009 10:54:22 +0000 Subject: Scrollbars: basic question Message-ID: A few questions about scrollbars: 1. AFAIK you cannot change the appearance of scrollbars to non-system (ie not threeD or square thumbs) and need to use custom scrollbars made from groups of controls? 2. How do you find out the visible height of a scrollbar? 3. Can you set the thickness of a (progress) scrollbar? From dave.cragg at lacscentre.co.uk Wed Feb 11 06:34:10 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 11 Feb 2009 11:34:10 +0000 Subject: CGI on Win servers? In-Reply-To: <49929C61.B83AEF51@club-internet.fr> References: <49921BBD.1020207@fourthworld.com> <49929C61.B83AEF51@club-internet.fr> Message-ID: <03F702C7-9762-4759-B79D-F9FF1D504205@lacscentre.co.uk> On 11 Feb 2009, at 09:37, jbv wrote: > > > Richard , > >> I've only used the Rev engine on Linux and BSD, never on Windows >> servers >> yet. >> >> Anything tricky about using it on Win as a CGI, or should it be >> about as >> straightforward as on Linux? >> >> -- > > The only time I used Rev cgi on a Win server, it was as easy and > straightforward > as on Linux, except that I never managed to interface it with mySQL > and had to > write 2 short PHP scripts for that... My experience was pretty straightforward too. (A lot easier than on OS X) But I had to use a special engine version. At that time distributed by Metacard, and I think it was about engine version 2.4 in terms of functionality. I don't know if Rev distributes an up-to-date version of this, or whether the normal engine can be used these days. Below are some old instructions I wrote for setting it up. (In this case, the executable was named cmc.exe) > It [the folder where you place the scripts] should be set as a > "virtual folder" under IIS. The "execute permissions" should be set > appropriately to allow script execution. The ".mt" extension should > be configured to map to the cgi executable (see below). Under IIS, > the "executable path" for the cgi engine should be set like this > (but the path will depend on where you locate the cmc.exe engine): > > C:\mc_cgi\cmc.exe %s %s > > You can "limit" the verbs to "GET,POST". Cheers Dave From JimAultWins at yahoo.com Wed Feb 11 06:40:54 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 11 Feb 2009 03:40:54 -0800 Subject: Scrollbars: basic question In-Reply-To: Message-ID: On 2/11/09 2:54 AM, "David Bovill" wrote: > A few questions about scrollbars: > > 1. AFAIK you cannot change the appearance of scrollbars to non-system (ie > not threeD or square thumbs) and need to use custom scrollbars made from > groups of controls? > 2. How do you find out the visible height of a scrollbar? > 3. Can you set the thickness of a (progress) scrollbar? You might want to check out Chipp's example of a custom slider http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm look at his fred ImageTransparency Demo I have done similar, but is was quite a while ago. Hope this helps. Jim Ault Las Vegas From geradamas at yahoo.com Wed Feb 11 08:40:52 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 11 Feb 2009 05:40:52 -0800 (PST) Subject: Button Basher Message-ID: <3017.30188.qm@web37508.mail.mud.yahoo.com> Hi, Folks, I have been a bit "under the water" while working on odd-shaped buttons. My real problem has been with PNG images: my first 3 PNGs work wonderfully, the rest don't. Ad all were made on GIMP at the same time I don't completely understand this. Have uploaded a "BB alpha.rev" as a .zip file to: http://mail.maclaunch.com/richmond/BB alpha.rev.zip [revOnline being 'silly' again] would be grateful for feedback: just click on the 'Love Heart' on the title page. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From coiin at rcn.com Wed Feb 11 09:09:43 2009 From: coiin at rcn.com (Colin Holgate) Date: Wed, 11 Feb 2009 09:09:43 -0500 Subject: Button Basher In-Reply-To: <3017.30188.qm@web37508.mail.mud.yahoo.com> References: <3017.30188.qm@web37508.mail.mud.yahoo.com> Message-ID: <1419B667-0D58-4F2F-839C-7BFBD1E94208@rcn.com> Once we have that file, and are on the shapes page, what should we do to show a problem? From geradamas at yahoo.com Wed Feb 11 09:33:57 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 11 Feb 2009 06:33:57 -0800 (PST) Subject: Button Basher Message-ID: <213161.94026.qm@web37505.mail.mud.yahoo.com> Bless you, Colin! Try to make a triangular button-image (this should yield what is required), and the try a 'BANG' button-image (further down) and this will pump out images with white surrounds. The top three (triangle and 2 trapezia) are set with PNGs that 'weigh' about 20 KB, while the rest 'weigh' 4 KB - the question is what went wrong half-way through my PNG production with GIMP. sincerely, Richmond. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From DunbarX at aol.com Wed Feb 11 09:35:22 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 11 Feb 2009 09:35:22 EST Subject: Addressing Hardware - particularly usb port Message-ID: In a message dated 2/11/09 4:13:24 AM, palcibiades-first at yahoo.co.uk writes: > Is it possible in Rev to address a usb device directly?? I've no experience > of this sort of thing, but have a USB meter which I need to talk to.? > Get this. i have not, but it seems perfect. \\http://www.bkohg.com/serviceusbplus_e.html ************** Nothing says I love you like flowers! Find a florist near you now. (http://yellowpages.aol.com/search?query=florist&ncid=emlcntusyelp00000001) From DunbarX at aol.com Wed Feb 11 09:37:38 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 11 Feb 2009 09:37:38 EST Subject: Scrollbars: basic question Message-ID: In a message dated 2/11/09 5:54:40 AM, david at architex.tv writes: > ?? 1. AFAIK you cannot change the appearance of scrollbars to non-system > (ie > ?? not threeD or square thumbs) and need to use custom scrollbars made from > ?? groups of controls? > ?? 2. How do you find out the visible height of a scrollbar? > ?? 3. Can you set the thickness of a (progress) scrollbar? > There is a thumbSize property that should address 2 and 3. ************** Nothing says I love you like flowers! Find a florist near you now. (http://yellowpages.aol.com/search?query=florist&ncid=emlcntusyelp00000001) From sanke at hrz.uni-kassel.de Wed Feb 11 09:45:53 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 11 Feb 2009 15:45:53 +0100 Subject: Dynamic labels for buttons with (oddshaped) icon images? Message-ID: <4992E4A1.1020607@hrz.uni-kassel.de> After some further contemplation it occurs to me that we really do not need complex scripts (considering textsize, textheight, image height, button height in various combinations) to set a label on top of an icon, but that we can achieve most of the necessary adjustments manually with the possible exception perhaps of a scrollbar script like this: on scrollbarDrag x put x into tTopMargin put x into tBottomMargin set the margins of btn "x" to 0,tTopMargin,0,tBottomMargin end scrollbarDrag Recommended steps of a mostly "manual" procedure: - set the showname of the button to false - assign an icon to the button - adjust the button size so that the icon image is fully displayed - set the showname of the button to true (the height of the button will be increased automatically with this step) - now use the scrollbar to adjust the position of the label / name - then group the button - finally adjust the rect of the group manually to show only the icon part of the button The grouped icon button can than be copied and pasted as often as is needed in a given application. You now have a number of icon buttons whose labels can be changed at runtime.- (After you have solved a chess problem, you often have the feeling that the solution really was obvious in the first place.) Regards, Wilhelm Sanke From kkaufman at snet.net Wed Feb 11 10:24:44 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed, 11 Feb 2009 10:24:44 -0500 Subject: recording events in time Message-ID: <7B842490-6BE5-427B-B031-AAEA110058C3@snet.net> I'm interested in developing an application by which external events (that is, external to the computer) of different types can be recorded by the user. The application does not have to keep track of intervals smaller than one minute, and would normally be running for sessions of about 6-12 hours at a stretch. Ultimately, the application has to be able to "intelligently" determine, on the basis of gradual accrued experience, which events are likely to happen at a given time, and respond accordingly. I would also like to know if "voice activation" is possible with Rev applications, such that voice recording could start as soon as one speaks, and would end after a pre-set period of (relative) silence. Thanks, Kurt From kkaufman at snet.net Wed Feb 11 10:46:24 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed, 11 Feb 2009 10:46:24 -0500 Subject: Music duration Message-ID: <612692B2-1528-4A2B-AF7F-2FAC9F14E118@snet.net> If I understand you correctly, you are trying to generate and then play and/or mix various music sequences using the QT musical synthesizers. The synthesizers can be instructed using MIDI. I have worked with MIDI tracks, and what you are attempting can be done wherever QT is available. MIDI tracks can be combined with a common starting point, or with an offset, accurate to within a tiny fraction of a second. You can easily play 4 (or more) tracks in this manner. It can appear to the user that the discrete musical sequences are being layered "on the fly", but actually, they are combined in a new MIDI file in advance of their being played. Rev/QT can do this very quickly. For more information, see my project "MIDI builder". It used to be available from RunRev, but I'm not sure that it is now. I can make it available if you have an interest. The stack also includes a file that details the MIDI file format that I used. Best Wishes, Kurt From DunbarX at aol.com Wed Feb 11 10:51:52 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 11 Feb 2009 10:51:52 EST Subject: recording events in time Message-ID: Twice in one day, I am not the one who found it, and I have not even tried it yet. But it is VERY similar to an older gadget I am quite familiar with. Go here: http://www.bkohg.com/serviceusbplus_e.html The things you want to do are straightforward, but all require external, though simple circuitry. Like Rev itself, "simple" is relative. If you get the device, I will be glad to tell you what you need for the interface, but you will have to get that actually assembled on your own. It is all high hobby-level electronics. As for the programming, that too is "simple". I can tell you there is nothing more fun than watching a circuit respond to your own software. Craig Newman ************** Nothing says I love you like flowers! Find a florist near you now. (http://yellowpages.aol.com/search?query=florist& ncid=emlcntusyelp00000001) From kkaufman at snet.net Wed Feb 11 10:58:33 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed, 11 Feb 2009 10:58:33 -0500 Subject: recording events in time Message-ID: <48530FDB-1C31-4EC4-95C6-B2B2800A491C@snet.net> "...As for the programming, that too is "simple". I can tell you there is nothing more fun than watching a circuit respond to your own software." In this case, it would be my own neural circuit! :-) Thanks for your quick reply. It is the time/event aware aspects of the programming that concerns me most here, together with the averaging and/or statistical functions I would need to enable the application to "learn" based on past experience. My current plans don't involve connecting to any external electronics. Thanks, Kurt From DunbarX at aol.com Wed Feb 11 11:10:20 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 11 Feb 2009 11:10:20 EST Subject: recording events in time Message-ID: In a message dated 2/11/09 10:59:02 AM, kkaufman at snet.net writes: > > Thanks for your quick reply. It is the time/event aware aspects of the? > programming that concerns me most here, together with the averaging? > and/or statistical functions I would need to enable the application to? > "learn" based on past experience.? My current plans don't involve? > connecting to any external electronics. > Logging events and calculating frequency, time of day they happen, what happens next usually, whatever, I bet is not so difficult. Though I guess it depends on what you are looking for. But your post seemed to indicate external events, like a person speaking. This requires a microphone... Craig Newman ************** Nothing says I love you like flowers! Find a florist near you now. (http://yellowpages.aol.com/search?query=florist& ncid=emlcntusyelp00000001) From katheryn.swynford at gmail.com Wed Feb 11 11:15:37 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Wed, 11 Feb 2009 08:15:37 -0800 Subject: Music duration In-Reply-To: <53055C72-3BE3-4AED-AFB5-FF689BF11013@gmail.com> References: <53055C72-3BE3-4AED-AFB5-FF689BF11013@gmail.com> Message-ID: <4be051070902110815r49314082qf18386cc03864e73@mail.gmail.com> Hi Rene & Thierry, Player objects won't work AFAIK with Shakobox, which is much more akin to the old HC way of generating sounds/music using the engine (but in this case, QT digital musical instruments and HC-like "play "instrument" musicalNotation syntax). Judy http://revined.blogspot.com On Wed, Feb 11, 2009 at 1:43 AM, Thierry wrote: > Bonjour Ren?, > > May be you could shime the thread about "playing multi-sounds", > end of january on this list.... > > Judy, Scott and others gave some good advices ( and pitfalls ) > about sounds and Rev... > > HTH, > Thierry > > Hello ! >> Actually my problem is making music with Rev (hi Beat !) on QuickTime >> Synthesizer via PlayCommand Agent X (Shakobox : hi ! Jacqueline). >> I have two solution to "do" duration (schematically): >> 1. First solution : >> A. Start sound >> B. Wait x millisec >> C. Stop sound >> 2. Second solution : >> A. Start sound >> B. Send "Stop sound" in x millisec >> With the first solution the sequences (and duration of and between sounds) >> of sounds work very well but if I have a second sequence the sound of this >> second sequence stop (and wait...) with the "wait" command of the first >> sequence. >> With the second solution the independance of sequences is right (no >> waiting...) but the sequence is not right because sounds overlap and do not >> really follow... >> Someone have a third solution to satisfy both requirements ? >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katheryn.swynford at gmail.com Wed Feb 11 11:16:41 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Wed, 11 Feb 2009 08:16:41 -0800 Subject: Music duration In-Reply-To: References: <53055C72-3BE3-4AED-AFB5-FF689BF11013@gmail.com> Message-ID: <4be051070902110816u333afd9bj3c0f2711578bc5b3@mail.gmail.com> Rene, FWIW, I think I've been asking for it since pre-Version 1. :-( Judy http://revined.blogspot.com On Wed, Feb 11, 2009 at 2:10 AM, Ren? Micout wrote: > Bonjour Thierry, > Thank you, I have red that but it is not my problem... > They talk about QuickTime Player sounds... And I talk about QuickTime > Synthesizer sounds... > And my problem is about "duration" : sequences, overlap, etc. > I think days after days... Rev can not give me a satisfactory answer (in > french : j'en viens ? douter quant ? la capacit? de Revolution ? donner une > r?ponse satisfaisante ? mon probl?me) > Revolution have not a musical orientation... > It is damage (?) because (for Macintosh) there are functions (in particular > through the QuickTime synthesizer) should not be too difficult (not for me > !!!) to call it by some appropriate commands. This is apparently not a > priority for the development team. Version 4 does not seem to be interested > in it, version 5 may be ? > Ren? from Paris > > Le 11 f?vr. 09 ? 10:43, Thierry a ?crit : > > > Bonjour Ren?, >> >> May be you could shime the thread about "playing multi-sounds", >> end of january on this list.... >> >> Judy, Scott and others gave some good advices ( and pitfalls ) >> about sounds and Rev... >> >> HTH, >> Thierry >> >> Hello ! >>> Actually my problem is making music with Rev (hi Beat !) on QuickTime >>> Synthesizer via PlayCommand Agent X (Shakobox : hi ! Jacqueline). >>> I have two solution to "do" duration (schematically): >>> 1. First solution : >>> A. Start sound >>> B. Wait x millisec >>> C. Stop sound >>> 2. Second solution : >>> A. Start sound >>> B. Send "Stop sound" in x millisec >>> With the first solution the sequences (and duration of and between >>> sounds) of sounds work very well but if I have a second sequence the sound >>> of this second sequence stop (and wait...) with the "wait" command of the >>> first sequence. >>> With the second solution the independance of sequences is right (no >>> waiting...) but the sequence is not right because sounds overlap and do not >>> really follow... >>> Someone have a third solution to satisfy both requirements ? >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katheryn.swynford at gmail.com Wed Feb 11 11:18:07 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Wed, 11 Feb 2009 08:18:07 -0800 Subject: Music duration In-Reply-To: <612692B2-1528-4A2B-AF7F-2FAC9F14E118@snet.net> References: <612692B2-1528-4A2B-AF7F-2FAC9F14E118@snet.net> Message-ID: <4be051070902110818l6573c743m89e6aaf5b32e4372@mail.gmail.com> Kurt, I'd LOVE to see your project "MIDI builder". Where can one find it? Thanks! Judy http://revined.blogspot.com On Wed, Feb 11, 2009 at 7:46 AM, Kurt Kaufman wrote: > If I understand you correctly, you are trying to generate and then play > and/or mix various music sequences using the QT musical synthesizers. The > synthesizers can be instructed using MIDI. I have worked with MIDI tracks, > and what you are attempting can be done wherever QT is available. MIDI > tracks can be combined with a common starting point, or with an offset, > accurate to within a tiny fraction of a second. You can easily play 4 (or > more) tracks in this manner. It can appear to the user that the discrete > musical sequences are being layered "on the fly", but actually, they are > combined in a new MIDI file in advance of their being played. Rev/QT can do > this very quickly. > For more information, see my project "MIDI builder". It used to be > available from RunRev, but I'm not sure that it is now. I can make it > available if you have an interest. The stack also includes a file that > details the MIDI file format that I used. > > Best Wishes, > Kurt > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rmicout at online.fr Wed Feb 11 11:24:59 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 11 Feb 2009 17:24:59 +0100 Subject: Music duration Message-ID: <3A20C54B-5043-4ACE-97F2-2118AD071B4E@online.fr> Hello Kurt, I know your work and I appreciate it, but.... but... It is a little bit complex for me :-( I dont understand binaryEncode(etc...) and also the bridge between Revolution (code) and Midi and (+++) english is not my language and I have difficulties to understand his subtilities :-( A book about "Midi and quickTime Synthesizer" exist ? (in english naturally) I red Apple documentation but I dont understand how I can enter in it (QT synth)... Thank you Ren? from Paris From kkaufman at snet.net Wed Feb 11 11:47:27 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed, 11 Feb 2009 11:47:27 -0500 Subject: Music duration Message-ID: Location of MIDI Builder stack: www.shopperturnpike.com/usefulsoftware/MidiBuilderStack.zip Note: If you see a problem with the re-drawing of QT player controls, let me know and I'll send you a version that I wrote specifically to address the problem. It's unlikely, though, since I think that RunRev fixed that issue long ago. From revdev at pdslabs.net Wed Feb 11 13:01:51 2009 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 11 Feb 2009 10:01:51 -0800 Subject: Addressing Hardware - particularly usb port In-Reply-To: <200902110913.03082.palcibiades-first@yahoo.co.uk> References: <200902110913.03082.palcibiades-first@yahoo.co.uk> Message-ID: <4993128F.1060800@pdslabs.net> Hi Peter, What platform are you running? Also, is your meter is a USB Communications Class device? In other words, does it have a defined command set (like a modem)? If so, you'll need a driver of some sort; or as others have said, the simplest approach would probably be to use a USB-to-Serial converter between the computer and the device. Here's an article that might help some. It is based on info from Sarah Reichelt, who uses USB+Rev all the time: http://www.pdslabs.net/usb/rev-usb1.pdf Best - Phil Davis Peter Alcibiades wrote: > Is it possible in Rev to address a usb device directly? I've no experience > of this sort of thing, but have a USB meter which I need to talk to. > > If not, does anyone know if its possible from the shell? Or is this a case > of, do it in C or forget it? > > Peter -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From geradamas at yahoo.com Wed Feb 11 13:55:54 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 11 Feb 2009 10:55:54 -0800 (PST) Subject: Button Basher Message-ID: <847993.33781.qm@web37506.mail.mud.yahoo.com> I have found the nature of the earlier problem I wrote about: When a template image is chosen for an odd-shaped button, unless the card is exited and returned to, the alpha-data from that image is not recognised. And, if you understand what that means and why it happens you are a better person than me :) However, this has meant that I got BADLY DISTRACTED for about 3 days remaking PNG images in GIMP - when the whole problem resided with Runtime Revolution; Generalised Gnashing of Teeth! sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From josh at dvcreators.net Wed Feb 11 14:46:17 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 11 Feb 2009 11:46:17 -0800 Subject: any way to detect condition "connected to ISP but not internet"? In-Reply-To: <497A69B6.5060207@tweedly.net> References: <750CBDF2-E70A-4F14-A4F7-5EDB29876DE5@dvcreators.net> <7c87a2a10901200828h15ab5dd5u71b309160b25e835@mail.gmail.com> <49766175.7010204@tweedly.net> <7c87a2a10901201726y79742e66u253f70102988c557@mail.gmail.com> <497A69B6.5060207@tweedly.net> Message-ID: <03D29544-32A9-4CBC-A557-8F0C86061FA2@dvcreators.net> On Jan 23, 2009, at 5:07 PM, Alex Tweedly wrote: > > To feel safe, I'd want to do the network check in a separate > process, and have a fail-safe mechanism within the real app (i.e. it > detects failure rather than waiting for it). So I'd use a > backgrounded shell command which creates a temp file, and have the > real app check for that file being created/updated. Could be a ping > shell command, or a small standalone which loads a url, or anything > similar - as long as it's a separate process. > -- Alex. We are finally testing this. Could I ask a favor? Would someone who is behind a proxy server or corporate firewall test this code: on mouseUp put "ping -c 1 google.com" into tCmd open process tCmd FOR update wait 1 second with messages read from process tCmd until empty put it close process tCmd end mouseUp ? The question is: Will this code return a valid IP (in "it") even when normal Revolution ftp commands will not work? I am hoping the answer is "NO". If this works, it may mean, for the first time I'm aware of, we all have a way for checking if connected that will NEVER hang Revolution! Yipeee! Thanks! From josh at dvcreators.net Wed Feb 11 15:01:13 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 11 Feb 2009 12:01:13 -0800 Subject: any way to detect condition "connected to ISP but not internet"? In-Reply-To: <03D29544-32A9-4CBC-A557-8F0C86061FA2@dvcreators.net> References: <750CBDF2-E70A-4F14-A4F7-5EDB29876DE5@dvcreators.net> <7c87a2a10901200828h15ab5dd5u71b309160b25e835@mail.gmail.com> <49766175.7010204@tweedly.net> <7c87a2a10901201726y79742e66u253f70102988c557@mail.gmail.com> <497A69B6.5060207@tweedly.net> <03D29544-32A9-4CBC-A557-8F0C86061FA2@dvcreators.net> Message-ID: <9EED54B8-1EAE-48BE-9B06-2DE7CF8594B5@dvcreators.net> We were just thinking more on this, and it seems that there are some corporate networks that allow http:// but not other protocols? In other words, people can surf websites but not download? If this is true, rather than using "ping" in the process, we are thinking it might be better to issue an FTP command to test downloading of a small test file. If this fails, we would know that Revolution downloading will not work. Again, if we can solve this, it means a huge breakthrough for Revolution- being able to auto-update, for example, without the risk of hanging. On Feb 11, 2009, at 11:46 AM, Josh Mellicker wrote: > > On Jan 23, 2009, at 5:07 PM, Alex Tweedly wrote: >> >> To feel safe, I'd want to do the network check in a separate >> process, and have a fail-safe mechanism within the real app (i.e. >> it detects failure rather than waiting for it). So I'd use a >> backgrounded shell command which creates a temp file, and have the >> real app check for that file being created/updated. Could be a ping >> shell command, or a small standalone which loads a url, or anything >> similar - as long as it's a separate process. >> > -- Alex. > > > > We are finally testing this. > > Could I ask a favor? > > Would someone who is behind a proxy server or corporate firewall > test this code: > > on mouseUp > put "ping -c 1 google.com" into tCmd > open process tCmd FOR update > wait 1 second with messages > read from process tCmd until empty > put it > close process tCmd > end mouseUp > > ? > > > The question is: > > Will this code return a valid IP (in "it") even when normal > Revolution ftp commands will not work? > > I am hoping the answer is "NO". > > If this works, it may mean, for the first time I'm aware of, we all > have a way for checking if connected that will NEVER hang > Revolution! Yipeee! > > > Thanks! > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Wed Feb 11 15:19:20 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 11 Feb 2009 12:19:20 -0800 Subject: OSX - Spotlight indexing Rev Stacks Message-ID: Is there a way of allowing/forcing the indexing of a stack containing field data? custom properties? This would make the content searchable using the built-in OSX Spotlight option ?Contents? Indexing occurs for programs that are ?Spotlight-friendly?, such as Adobe PDF?s Of course, setting the Spotlight comments of the stack file would work, but is very limited compared to a stack that contains data such as code, project notes, and demo stacks with notes, such as So Smart Tutorials. Jim Ault Las Vegas From geradamas at yahoo.com Wed Feb 11 15:41:46 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 11 Feb 2009 12:41:46 -0800 (PST) Subject: Button Basher Message-ID: <694522.85288.qm@web37501.mail.mud.yahoo.com> Just uploaded a new version of "Button Basher.rev" to revOnline. This stack will produce odd-shaped PNG images for use as buttons; HOWEVER; Transparency is, at present, only maintained if the image is not resized. [I have removed the "alpha" stack from my website.] sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From pmbrig at gmail.com Wed Feb 11 16:34:08 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 11 Feb 2009 16:34:08 -0500 Subject: uploading to RevOnline In-Reply-To: <20090211152452.6CAAA48A5F2@mail.runrev.com> References: <20090211152452.6CAAA48A5F2@mail.runrev.com> Message-ID: On Tue, 10 Feb 2009 17:58:27, "J. Landman Gay" wrote: > Peter Brigham MD wrote: > >> Somehow last year I managed to get one stack up there, >> but I have no idea what I did to accomplish this. What am I missing? > > I don't know, but whatever it is, I've been missing it too from about > the same time. I haven't been able to upload since then either. I > pulled > a stack successfully over a year ago in order to re-upload a fixed > version and could never get it back online. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com So who would we contact at Rev to flag this as a problem? Is everyone having the same difficulty? I seem to recall that Richmond has been uploading his ButtonBasher stack there, so maybe it's platform- or installation-specific? I'm using a MacBook, OSX 10.5.6, Rev Studio 3.0.0 build 750. Peter M. Brigham pmbrig at gmail.com From jacque at hyperactivesw.com Wed Feb 11 16:43:00 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Feb 2009 15:43:00 -0600 Subject: uploading to RevOnline In-Reply-To: References: <20090211152452.6CAAA48A5F2@mail.runrev.com> Message-ID: <49934664.4090407@hyperactivesw.com> Peter Brigham MD wrote: > So who would we contact at Rev to flag this as a problem? Is everyone > having the same difficulty? I don't think it's everyone. I recently asked Heather about it and found out there was a database migration a while back where some of the records didn't cross over successfully. She didn't have direct access to the database to fix it for me (my record's password got wiped,) and I didn't ask her to pursue it since it wasn't a big deal for me. She'd be the one to contact though if you want someone to look into it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Feb 11 16:43:02 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 11 Feb 2009 19:43:02 -0200 Subject: any way to detect condition "connected to ISP but not internet"? In-Reply-To: <03D29544-32A9-4CBC-A557-8F0C86061FA2@dvcreators.net> References: <750CBDF2-E70A-4F14-A4F7-5EDB29876DE5@dvcreators.net> <7c87a2a10901200828h15ab5dd5u71b309160b25e835@mail.gmail.com> <49766175.7010204@tweedly.net> <7c87a2a10901201726y79742e66u253f70102988c557@mail.gmail.com> <497A69B6.5060207@tweedly.net> <03D29544-32A9-4CBC-A557-8F0C86061FA2@dvcreators.net> Message-ID: <7c87a2a10902111343u12dbc55em1935861adf5d4061@mail.gmail.com> Josh, be aware that ping outputs differently for each OS.... Mac OS X is different than Windows Ping and so on... you might need some clever string handling there. andre On Wed, Feb 11, 2009 at 5:46 PM, Josh Mellicker wrote: > > On Jan 23, 2009, at 5:07 PM, Alex Tweedly wrote: >> >> To feel safe, I'd want to do the network check in a separate process, and >> have a fail-safe mechanism within the real app (i.e. it detects failure >> rather than waiting for it). So I'd use a backgrounded shell command which >> creates a temp file, and have the real app check for that file being >> created/updated. Could be a ping shell command, or a small standalone which >> loads a url, or anything similar - as long as it's a separate process. >> > -- Alex. > > > > We are finally testing this. > > Could I ask a favor? > > Would someone who is behind a proxy server or corporate firewall test this > code: > > on mouseUp > put "ping -c 1 google.com" into tCmd > open process tCmd FOR update > wait 1 second with messages > read from process tCmd until empty > put it > close process tCmd > end mouseUp > > ? > > > The question is: > > Will this code return a valid IP (in "it") even when normal Revolution ftp > commands will not work? > > I am hoping the answer is "NO". > > If this works, it may mean, for the first time I'm aware of, we all have a > way for checking if connected that will NEVER hang Revolution! Yipeee! > > > Thanks! > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From kray at sonsothunder.com Wed Feb 11 17:03:50 2009 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 11 Feb 2009 16:03:50 -0600 Subject: [OT] Rev + BBEdit In-Reply-To: Message-ID: > http://www.barebones.com/support/bbedit/plugin_library.html > > Your back :-) What about his back? ;-) (Sorry, couldn't resist the play on the typo "your" for "you're"...) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at tweedly.net Wed Feb 11 17:21:32 2009 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 11 Feb 2009 22:21:32 +0000 Subject: any way to detect condition "connected to ISP but not internet"? In-Reply-To: <9EED54B8-1EAE-48BE-9B06-2DE7CF8594B5@dvcreators.net> References: <750CBDF2-E70A-4F14-A4F7-5EDB29876DE5@dvcreators.net> <7c87a2a10901200828h15ab5dd5u71b309160b25e835@mail.gmail.com> <49766175.7010204@tweedly.net> <7c87a2a10901201726y79742e66u253f70102988c557@mail.gmail.com> <497A69B6.5060207@tweedly.net> <03D29544-32A9-4CBC-A557-8F0C86061FA2@dvcreators.net> <9EED54B8-1EAE-48BE-9B06-2DE7CF8594B5@dvcreators.net> Message-ID: <49934F6C.2000509@tweedly.net> Josh Mellicker wrote: > We were just thinking more on this, and it seems that there are some > corporate networks that allow http:// but not other protocols? > > In other words, people can surf websites but not download? > > If this is true, rather than using "ping" in the process, we are > thinking it might be better to issue an FTP command to test > downloading of a small test file. If this fails, we would know that > Revolution downloading will not work. > > > Again, if we can solve this, it means a huge breakthrough for > Revolution- being able to auto-update, for example, without the risk > of hanging. > > As Andre said, ping acts differently on each system - to the extent that my system (Windows Vista Home Premium) gives an error ("Bad option -c") for your originally suggested command. You will probably encounter a similar probelm of ftp not being available, or allowing different options, or allowing/not allowing the definition of username/password in the command line, or .... with this idea. I'd get around that by creating a simple, tiny Rev-based standalone that does the ftp download of the test file and monitoring its progress in the other process; then it sounds like a rock-solid idea. -- Alex. From kkaufman at snet.net Wed Feb 11 19:02:20 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed, 11 Feb 2009 19:02:20 -0500 Subject: Music duration Message-ID: "...I know your work and I appreciate it, but.... but... It is a little bit complex for me :-( I dont understand binaryEncode(etc...) and also the bridge between Revolution (code) and Midi..." Ren?, I know it looks complicated. I think it would take me a while to figure it out again, even though I commented the scripts fairly heavily! But once you understand what makes up a MIDI file, which parts are constant (always the same in every MIDI file of that type), and which parts are variable (different in each music track), you see that it is not that complex. If you look at the MIDI format document, you'll see the various parts described in the order in which they appear. At least MIDI files are generally not very big, so if you want to open them up using a Hex editor, you're not scanning a tremendous amount of data. To that end I would use MIDI Builder to create a MIDI file with a single note, and then take a look using HexEdit: http://sourceforge.net/project/showfiles.php?group_id=9366 (there's a French version, too) Now compare what's in the MIDI format document with what you see in the HexEdit. Rev's binaryEncode function is called after all of the various parts of the data have been set up, as most of the MIDI data cannot be represented by ascii (it's not printable, for the most part). But the binaryEncode function is automatic; you just have to give the function its data and the proper parameters, and Rev does the rest. Rev makes it easy: You can simply add the successive bytes of encoded data "after" what's already there. The file can be created in a fraction of a second and played almost immediately. Rev's QT player object handles most of the work, you just have to send it data that it understands. Hope this helps, Kurt further info: http://crystal.apana.org.au/ghansper/midi_introduction/midi_file_format.html http://www.harmony-central.com/MIDI/Doc/doc.html From rmicout at online.fr Thu Feb 12 04:13:43 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 12 Feb 2009 10:13:43 +0100 Subject: Music duration In-Reply-To: References: Message-ID: <686F5B35-23DA-40D9-AF84-E50830E3016A@online.fr> Thank you VERY much Kurt !!! I will look it (that ?) this week-end. If there are still "dark" ("obscur" in french), I will ask you some explanation. Ren? Le 12 f?vr. 09 ? 01:02, Kurt Kaufman a ?crit : > "...I know your work and I appreciate it, but.... but... > It is a little bit complex for me :-( > I dont understand binaryEncode(etc...) > and also the bridge between Revolution (code) and Midi..." > > Ren?, > > I know it looks complicated. I think it would take me a while to > figure it out again, even though I commented the scripts fairly > heavily! > But once you understand what makes up a MIDI file, which parts are > constant (always the same in every MIDI file of that type), and > which parts are variable (different in each music track), you see > that it is not that complex. If you look at the MIDI format > document, you'll see the various parts described in the order in > which they appear. > > At least MIDI files are generally not very big, so if you want to > open them up using a Hex editor, you're not scanning a tremendous > amount of data. To that end I would use MIDI Builder to create a > MIDI file with a single note, and then take a look using HexEdit: > > http://sourceforge.net/project/showfiles.php?group_id=9366 > (there's a French version, too) > > Now compare what's in the MIDI format document with what you see in > the HexEdit. > > Rev's binaryEncode function is called after all of the various > parts of the data have been set up, as most of the MIDI data cannot > be represented by ascii (it's not printable, for the most part). > But the binaryEncode function is automatic; you just have to give > the function its data and the proper parameters, and Rev does the > rest. Rev makes it easy: You can simply add the successive bytes of > encoded data "after" what's already there. The file can be created > in a fraction of a second and played almost immediately. Rev's QT > player object handles most of the work, you just have to send it > data that it understands. > > Hope this helps, > Kurt > > further info: > http://crystal.apana.org.au/ghansper/midi_introduction/ > midi_file_format.html > http://www.harmony-central.com/MIDI/Doc/doc.html > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bdrunrev at gmail.com Thu Feb 12 04:24:33 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 12 Feb 2009 09:24:33 +0000 Subject: OSX - Spotlight indexing Rev Stacks In-Reply-To: References: Message-ID: Hi Jim I seem to remember some years ago that one of the updates to Rev was that stacks would become indexable by Spotlight. Maybe that only related to the script of the stack rather than the stack's contents. I don't use Spotlight much at all, but having a look around there seems to be the mdimport tool. The Man page for this says it has these options: -f Force mdimport to scan the files, bypassing path filtering rules. -r Ask the server to reimport files for UTIs claimed by the listed plugin. For example, the following would cause all of the chat files on the system to be reimported: mdimport -r /System/Library/Spotlight/Chat.mdimporter That looks like one can manually add files to the Spotlight index. However, it looks like one might need a specific plugin like 'Chat.mdimporter'. These are OS X bundles that contain an executable in their core. The one I looked at (vCard.mdimporter) appears to be written in Obj C. However, it looks to me like the plugin needs to meet the specifications set out in this document: http://developer.apple.com/DOCUMENTATION/Carbon/Conceptual/MDImporters/MDImporters.html#//apple_ref/doc/uid/TP40001279 The plugin bundle core needs to be executable. Maybe one could write a Rev application and bundle it up and the indexing program would call it? For example, it appears here that someone wrote a specific importer in Python: http://www.jajsoft.com/category/python . I expect you know this much already. Bernard On Wed, Feb 11, 2009 at 8:19 PM, Jim Ault wrote: > Is there a way of allowing/forcing the indexing of a stack containing > field data? > custom properties? > > This would make the content searchable using the built-in OSX Spotlight > option ?Contents? > > Indexing occurs for programs that are ?Spotlight-friendly?, such as Adobe > PDF?s > > Of course, setting the Spotlight comments of the stack file would work, but > is very limited compared to a stack that contains data such as code, > project > notes, and demo stacks with notes, such as So Smart Tutorials. > > Jim Ault > Las Vegas > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From palcibiades-first at yahoo.co.uk Thu Feb 12 07:03:15 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 12 Feb 2009 04:03:15 -0800 (PST) Subject: Addressing Hardware - particularly usb port In-Reply-To: <20090211100407.39433.260241.root@web10-winn.ispmail.private.ntl.com> References: <200902110913.03082.palcibiades-first@yahoo.co.uk> <20090211100407.39433.260241.root@web10-winn.ispmail.private.ntl.com> Message-ID: <21974634.post@talk.nabble.com> Thanks everyone! Its Linux, the OS that is being used. Sarah's article is interesting, but my problem is that the device is USB. So a serial to USB adaptor won't do it - it will allow use of a serial device on a usb port. If anything what I'd need would go the other way - allow use of a usb device on a serial port. One other suggestion is to make one of the usb ports into a virtual serial port. Yes, maybe. Again, not something I've ever gone near, but will probably try it before this is over! Apparently you can map them... -- View this message in context: http://www.nabble.com/Addressing-Hardware---particularly-usb-port-tp21950882p21974634.html Sent from the Revolution - User mailing list archive at Nabble.com. From jbv.silences at club-internet.fr Thu Feb 12 11:21:33 2009 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 12 Feb 2009 17:21:33 +0100 Subject: [semi OT] Rev cgi and php Message-ID: <49944C7B.FFB40CAF@club-internet.fr> Hi list, I have a Rev cgi script that is called from a webpage via XMLHttpRequest and the POST method and that outputs xml data. Now I'm trying to launch that script from a php script on the same Linux server. I found several methods to do that on the web, but my choice is quite limited since the server runs php 4.3 which is too old for some recent php functions... Nevertheless, I managed to launch that cgi script, although I can't manage to send POST data to it... Whatever I try, $REQUEST_METHOD contains GET and all parameters are ignored... OTOH when I use the GET method, $QUERY_STRING contains the right parameters passed to the script... As this is semi-OT and as I don't want to clutter the list with php code, may I ask php experts to contact me off-list with usefull and brilliant suggestions ? Thanks in advance, JB From andre at andregarzia.com Thu Feb 12 11:24:11 2009 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 12 Feb 2009 14:24:11 -0200 Subject: [semi OT] Rev cgi and php In-Reply-To: <49944C7B.FFB40CAF@club-internet.fr> References: <49944C7B.FFB40CAF@club-internet.fr> Message-ID: <7c87a2a10902120824h7ebcfeedpe40584d7179bf15f@mail.gmail.com> Jbv, here goes: http://br.php.net/curl You need to install the cURL module. After that is really easy to call your cgi. Cheers andre On Thu, Feb 12, 2009 at 2:21 PM, jbv wrote: > Hi list, > > I have a Rev cgi script that is called from a webpage via XMLHttpRequest > > and the POST method and that outputs xml data. > > Now I'm trying to launch that script from a php script on the same Linux > server. > I found several methods to do that on the web, but my choice is quite > limited > since the server runs php 4.3 which is too old for some recent php > functions... > > Nevertheless, I managed to launch that cgi script, although I can't > manage to > send POST data to it... Whatever I try, $REQUEST_METHOD contains GET > and all parameters are ignored... > OTOH when I use the GET method, $QUERY_STRING contains the right > parameters passed to the script... > > As this is semi-OT and as I don't want to clutter the list with php > code, may I > ask php experts to contact me off-list with usefull and brilliant > suggestions ? > > Thanks in advance, > JB > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From viktoras at ekoinf.net Thu Feb 12 12:49:55 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 12 Feb 2009 19:49:55 +0200 Subject: [semi OT] Rev cgi and php In-Reply-To: <7c87a2a10902120824h7ebcfeedpe40584d7179bf15f@mail.gmail.com> References: <49944C7B.FFB40CAF@club-internet.fr> <7c87a2a10902120824h7ebcfeedpe40584d7179bf15f@mail.gmail.com> Message-ID: <49946143.8010803@ekoinf.net> Hi, JB, you can also try to use much "cheaper" alternative - Server Side Includes. SSI for simple templating tasks is much faster and more efficient than PHP. Regards Viktoras Andre Garzia wrote: > Jbv, > > here goes: > > http://br.php.net/curl > > You need to install the cURL module. After that is really easy to call > your cgi. > > Cheers > andre > > On Thu, Feb 12, 2009 at 2:21 PM, jbv wrote: > >> Hi list, >> >> I have a Rev cgi script that is called from a webpage via XMLHttpRequest >> >> and the POST method and that outputs xml data. >> >> Now I'm trying to launch that script from a php script on the same Linux >> server. >> I found several methods to do that on the web, but my choice is quite >> limited >> since the server runs php 4.3 which is too old for some recent php >> functions... >> >> Nevertheless, I managed to launch that cgi script, although I can't >> manage to >> send POST data to it... Whatever I try, $REQUEST_METHOD contains GET >> and all parameters are ignored... >> OTOH when I use the GET method, $QUERY_STRING contains the right >> parameters passed to the script... >> >> As this is semi-OT and as I don't want to clutter the list with php >> code, may I >> ask php experts to contact me off-list with usefull and brilliant >> suggestions ? >> >> Thanks in advance, >> JB >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > From viktoras at ekoinf.net Thu Feb 12 13:02:49 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 12 Feb 2009 20:02:49 +0200 Subject: [semi OT] Rev cgi and php In-Reply-To: <49946143.8010803@ekoinf.net> References: <49944C7B.FFB40CAF@club-internet.fr> <7c87a2a10902120824h7ebcfeedpe40584d7179bf15f@mail.gmail.com> <49946143.8010803@ekoinf.net> Message-ID: <49946449.9020102@ekoinf.net> one more SSI example: viktoras d. wrote: > Hi, JB, you can also try to use much "cheaper" alternative - Server > Side Includes. SSI for simple templating tasks is much faster and more > efficient than PHP. > > > > Regards > Viktoras > > > Andre Garzia wrote: >> Jbv, >> >> here goes: >> >> http://br.php.net/curl >> >> You need to install the cURL module. After that is really easy to call >> your cgi. >> >> Cheers >> andre >> >> On Thu, Feb 12, 2009 at 2:21 PM, jbv >> wrote: >> >>> Hi list, >>> >>> I have a Rev cgi script that is called from a webpage via >>> XMLHttpRequest >>> >>> and the POST method and that outputs xml data. >>> >>> Now I'm trying to launch that script from a php script on the same >>> Linux >>> server. >>> I found several methods to do that on the web, but my choice is quite >>> limited >>> since the server runs php 4.3 which is too old for some recent php >>> functions... >>> >>> Nevertheless, I managed to launch that cgi script, although I can't >>> manage to >>> send POST data to it... Whatever I try, $REQUEST_METHOD contains GET >>> and all parameters are ignored... >>> OTOH when I use the GET method, $QUERY_STRING contains the right >>> parameters passed to the script... >>> >>> As this is semi-OT and as I don't want to clutter the list with php >>> code, may I >>> ask php experts to contact me off-list with usefull and brilliant >>> suggestions ? >>> >>> Thanks in advance, >>> JB >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sanke at hrz.uni-kassel.de Thu Feb 12 14:08:55 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 12 Feb 2009 20:08:55 +0100 Subject: Button Basher Message-ID: <499473C7.6030609@hrz.uni-kassel.de> On Wed Feb 11, 2009, Richmond Mathewson geradamas at yahoo.com wrote: > I have found the nature of the earlier problem I wrote about: > > When a template image is chosen for an odd-shaped button, unless the > card is exited and returned to, the alpha-data from that image is not > recognised. > > And, if you understand what that means and why it happens you are > a better person than me :) > > However, this has meant that I got BADLY DISTRACTED for about 3 days > remaking PNG images in GIMP - when the whole problem resided with > Runtime Revolution; Generalised Gnashing of Teeth! > > sincerely, Richmond Mathewson. Richmond, I have come across similar or even the same problems. I quote here a part from the text of the "discussion" on card "Prefabricated Masks" of my sample stacks "MoreAboutMasks" and "MoreAboutMasksRev3": > "A final observation concerning the creation of masks inside > Revolution and using the "import snapshot" format: > > If the resulting mask image is not first saved as an external file and > then imported again, meaning if it remains as freshly created inside a > stack or was just copied from another mask-producing stack, then this > mask image will have a different quality, which we might call a "pre-PNG". > > Pre-PNGs behave somewhat differently than normal PNGs: You cannot > transfer its alphamask to the image-to-be-masked when the pre-PNG is > hidden, at least not several times with resizing. After you have > resized a pre-PNG during the masking process, you might find that it > is suddenly "empty", but it can be restored when you copy and paste it > (it then appears in its original size and shape). > A workaround to overcome this problem is to store the mask in a custom > property of its own and then to "initialize" the mask each time before > it is used in the calling script: > > "put the CPimg of img "transition" into img "transition"" > > But of course you can easily convert a pre-PNG to a full PNG by saving > the image as an external file."-- =================== The new "shapes" card of your "BB alpha" stack seems to work without problems here (Windows XP and Rev 3.0). I see you have achieved the functionality you intended, and you could apparently make some use of the support offered in the discussion on this empathic list. Once you haved reached this stage of development, you could now proceed to fine-tune your scripts. There seems to be some room to weed out redundancies. I had a look at the script of button "EXPORT BUTTON IMAGES" with its about 40 lines of script. You could reduce that script to only 20 lines without influencing or changing the any of results when running the script. If you are interested in details, I could contact you off-list, but anyhow your script - as it is - provides the functionality you have intended. Best regards, Wilhelm Sanke From JimAultWins at yahoo.com Thu Feb 12 14:23:19 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 12 Feb 2009 11:23:19 -0800 Subject: OSX - Spotlight indexing Rev Stacks In-Reply-To: Message-ID: This is very good info, Bernard, and I did not know about the mdimport tool. Of course, the system Spotlight functionality would have to be 'shown' how to get the field text from a Revolution stack, thus the need for a 'Revolution.mdimporter' definition file or stack reader file (I am not sure what needs to be done here). What might be easier is to make a tool (just like the recent Garzia documentation thread) that generates a simple text file with all the pertinent info {stack name, properties, card fields, ...} and saves this data as a text file in a specific location (like RevSpotlightData folder). The stack exporter tool has the UI that allows the user to save the info desired, and process updates to the text file after the data stack is modified or updated. Part of the process for me is to have a Rev stack collect info about web sites I am designing from both my development environ locally and on the web ftp site, then export this to text files that become part of the Spotlight database. I will probably start building this tool next week. This would be better than an (mdimporter), since I would have control over exact formatting and indexing of the data. Of course, script containers could be done as a separate text files and these would become Spotlight-indexed as well. This leads to a saved-Spotlight-search on the folder "RevSciptsIhaveKnownAndLoved" "MyWebPhpCssJs" "HtmlTagsWithClass=Animation" Actually, the following works right now on my hard drive with scripts as text files: "--6.22.06" yields a list of stack scripts I documented as text files two years ago with comments. "on sendCurl " "on preopenstack" "altuit" "on gotPacket" One interesting check box in the "Search Other" list is "The names of all the substacks in the stack" just below "The text content of this item" I am curious to know what "Spotlight items" Rev publishes. The power for me is that this will allow me to connect my web folders-local folders-Evernote-scripts-php-css-xls-javascript + photoshop layer names (obviously I will now use layer names better to tag my psd's) by using unique search tags Thanks for triggering my thoughts and being able to see a way to tie lots of documentation into connected threads (without Spotlight comments) Jim Ault Las Vegas On 2/12/09 1:24 AM, "Bernard Devlin" wrote: > Hi Jim > I seem to remember some years ago that one of the updates to Rev was that > stacks would become indexable by Spotlight. Maybe that only related to the > script of the stack rather than the stack's contents. > > I don't use Spotlight much at all, but having a look around there seems to > be the mdimport tool. The Man page for this says it has these options: > > -f Force mdimport to scan the files, bypassing path filtering > rules. > > -r Ask the server to reimport files for UTIs claimed by the > listed plugin. For example, the following would cause all > of > the chat files on the system to be reimported: > > mdimport -r /System/Library/Spotlight/Chat.mdimporter > > That looks like one can manually add files to the Spotlight index. However, > it looks like one might need a specific plugin like 'Chat.mdimporter'. > These are OS X bundles that contain an executable in their core. The one I > looked at (vCard.mdimporter) appears to be written in Obj C. > > However, it looks to me like the plugin needs to meet the specifications set > out in this document: > http://developer.apple.com/DOCUMENTATION/Carbon/Conceptual/MDImporters/MDImpor > ters.html#//apple_ref/doc/uid/TP40001279 > > The plugin bundle core needs to be executable. Maybe one could write a Rev > application and bundle it up and the indexing program would call it? For > example, it appears here that someone wrote a specific importer in Python: > http://www.jajsoft.com/category/python . > > I expect you know this much already. > > Bernard > > On Wed, Feb 11, 2009 at 8:19 PM, Jim Ault wrote: > >> Is there a way of allowing/forcing the indexing of a stack containing >> field data? >> custom properties? >> >> This would make the content searchable using the built-in OSX Spotlight >> option ?Contents? >> >> Indexing occurs for programs that are ?Spotlight-friendly?, such as Adobe >> PDF?s >> >> Of course, setting the Spotlight comments of the stack file would work, but >> is very limited compared to a stack that contains data such as code, >> project >> notes, and demo stacks with notes, such as So Smart Tutorials. >> >> Jim Ault >> Las Vegas From josh at dvcreators.net Thu Feb 12 14:25:43 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 12 Feb 2009 11:25:43 -0800 Subject: any way to detect condition "connected to ISP but not internet"? In-Reply-To: <49934F6C.2000509@tweedly.net> References: <750CBDF2-E70A-4F14-A4F7-5EDB29876DE5@dvcreators.net> <7c87a2a10901200828h15ab5dd5u71b309160b25e835@mail.gmail.com> <49766175.7010204@tweedly.net> <7c87a2a10901201726y79742e66u253f70102988c557@mail.gmail.com> <497A69B6.5060207@tweedly.net> <03D29544-32A9-4CBC-A557-8F0C86061FA2@dvcreators.net> <9EED54B8-1EAE-48BE-9B06-2DE7CF8594B5@dvcreators.net> <49934F6C.2000509@tweedly.net> Message-ID: Thanks for the idea. I wonder if Mark Waddingham or one of the other wizards at RR could create a simple function "online()" that would do some clever, simple network operation and return network status without EVER hanging? I know it's possible, Apple's network utility does this, for example. On Feb 11, 2009, at 2:21 PM, Alex Tweedly wrote: > Josh Mellicker wrote: >> We were just thinking more on this, and it seems that there are >> some corporate networks that allow http:// but not other protocols? >> >> In other words, people can surf websites but not download? >> >> If this is true, rather than using "ping" in the process, we are >> thinking it might be better to issue an FTP command to test >> downloading of a small test file. If this fails, we would know that >> Revolution downloading will not work. >> >> >> Again, if we can solve this, it means a huge breakthrough for >> Revolution- being able to auto-update, for example, without the >> risk of hanging. >> >> > As Andre said, ping acts differently on each system - to the extent > that my system (Windows Vista Home Premium) gives an error ("Bad > option -c") for your originally suggested command. > > You will probably encounter a similar probelm of ftp not being > available, or allowing different options, or allowing/not allowing > the definition of username/password in the command line, or .... > with this idea. > > I'd get around that by creating a simple, tiny Rev-based standalone > that does the ftp download of the test file and monitoring its > progress in the other process; then it sounds like a rock-solid idea. > > -- Alex. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Feb 12 14:42:38 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Feb 2009 11:42:38 -0800 Subject: Bug or feature? setProps when replacing whole propertySet Message-ID: <49947BAE.4040308@fourthworld.com> I have an app in which I'm using setProp handlers for preferences values. I'm now adding a "Reset Defaults" feature, and figured it'd be pretty convenient for me to just swap out the whole set of values in the prefs property set with a matching default set, a la: set the customProperties[uPrefs] of stack "4wTextEdit" \ to the customProperties[uPrefsDefaults] of stack "4wTextEdit" What I discovered is that when you replace a whole set of properties en masse like this, the setProp handler for the affected property set doesn't trigger. It'd be darned convenient if it did, but perhaps there's some reason why it shouldn't. Is this a bug or a feature? As a workaround I wrote a generic handler for triggering setProp messages for any property set of any object: on TicklePropSet pPropSet, pObj put the customProperties[pPropSet] of pObj into tPropsA repeat for each key tLabel in tPropsA do "set the "& pPropset &"[tLabel] of pObj to tPropsA[tLabel]" -- set the pPropset[tLabel] of pObj to tPropsA[tLabel] end repeat end TicklePropSet Oddly enough, the comment line doesn't work and doesn't throw an error either (another thing that might be handy, using variables as the names of property sets). -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From jacque at hyperactivesw.com Thu Feb 12 15:00:01 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Feb 2009 14:00:01 -0600 Subject: Bug or feature? setProps when replacing whole propertySet In-Reply-To: <49947BAE.4040308@fourthworld.com> References: <49947BAE.4040308@fourthworld.com> Message-ID: <49947FC1.9030804@hyperactivesw.com> Richard Gaskin wrote: > What I discovered is that when you replace a whole set of properties en > masse like this, the setProp handler for the affected property set > doesn't trigger. > > It'd be darned convenient if it did, but perhaps there's some reason why > it shouldn't. > > Is this a bug or a feature? More like not implemented, I think. SetProp catches individual properties, but not whole sets. I don't suppose the engine actually walks through each property when it does a mass replacement like that, so no individual property events are sent. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geradamas at yahoo.com Thu Feb 12 15:22:20 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 12 Feb 2009 12:22:20 -0800 (PST) Subject: Button Basher Message-ID: <381397.82932.qm@web37502.mail.mud.yahoo.com> Wilhelm Sanke wrote: "I see you have achieved the functionality you intended" which is very kind, but not true: The first shape that is loaded will produce a PNG image surrounded by transparency IFF it is not resized; subsequent images are all bordered with white. Obviously resizing an image damages its alphaData. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From revdev at pdslabs.net Thu Feb 12 16:36:57 2009 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 12 Feb 2009 13:36:57 -0800 Subject: Addressing Hardware - particularly usb port In-Reply-To: <21974634.post@talk.nabble.com> References: <200902110913.03082.palcibiades-first@yahoo.co.uk> <20090211100407.39433.260241.root@web10-winn.ispmail.private.ntl.com> <21974634.post@talk.nabble.com> Message-ID: <49949679.4040006@pdslabs.net> Hey Peter, Is your device listed in the output of this function? If so, try opening it and writing a command to it. function myDeviceNames # Handler courtesy of Ken Ray & Dar Scott local theNames="", ioregOutput, skipLines, temp local IOTTYDevice, IODialinDevice, IOCalloutDevice set the hideConsoleWindows to true put shell("ioreg -n IOSerialBSDClient") into ioregOutput repeat forever put lineOffset("IOSerialBSDCLient",ioregOutput) into skipLines if skipLines is zero then return thenames delete line 1 to skipLines of ioregOutput -- Get all the data between the braces put char(offset("{",ioregOutput)) to (offset("}",ioregOutput)) of ioregOutput into temp get matchText(temp,"\"IOTTYDevice\" = \"(.*?)\"",IOTTYDevice) if it is not true then next repeat get matchText(temp,"\"IODialinDevice\" = \"(.*?)\"",IODialinDevice) if it is not true then next repeat get matchText(temp,"\"IOCalloutDevice\" = \"(.*?)\"",IOCalloutDevice) if it is not true then next repeat put IOTTYDevice,IODialinDevice,IOCalloutDevice & lineFeed after theNames end repeat end myDeviceNames HTH - Phil Davis Peter Alcibiades wrote: > Thanks everyone! Its Linux, the OS that is being used. > > Sarah's article is interesting, but my problem is that the device is USB. > So a serial to USB adaptor won't do it - it will allow use of a serial > device on a usb port. If anything what I'd need would go the other way - > allow use of a usb device on a serial port. > > One other suggestion is to make one of the usb ports into a virtual serial > port. Yes, maybe. Again, not something I've ever gone near, but will > probably try it before this is over! Apparently you can map them... > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From sanke at hrz.uni-kassel.de Thu Feb 12 16:43:19 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 12 Feb 2009 22:43:19 +0100 Subject: Button Basher Message-ID: <499497F7.4000609@hrz.uni-kassel.de> Richmond Mathewson geradamas at yahoo.com wrote: > Wilhelm Sanke wrote: > >> "I see you have achieved the functionality you intended" > > > which is very kind, but not true: > > The first shape that is loaded will produce a PNG image surrounded by > transparency IFF it is not resized; subsequent images are all bordered > with white. Obviously resizing an image damages its alphaData. > > sincerely, Richmond Mathewson. Richmond, Here is what I did (WindowsXP, Rev 3.0): - Chose the "pentagon" shape and put text on it - resized the height -exported to "Pentagon" - resized the same shape again - without "reset" in between -exported to "Pentagon2" - now reset everything - chose the "pentagon" shape again - resized the shape - exported to "PentagonAfterReset" Result: re-Imported "Pentagon", "Pentagon2", and "PentagonAfterReset". All images - which have a solid white background (as have the shapes from which one can choose) - show the expected transparency, i.e. not only a white border. Is it possible that your shapes originally had a different color than white? In any case, if you have problems here, they indeed could be related to the effects I had described in my last post and to the special Revolution image format that I had named to be "pre-PNG". Regards, Wilhelm Sanke From revdev at pdslabs.net Thu Feb 12 16:49:38 2009 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 12 Feb 2009 13:49:38 -0800 Subject: Addressing Hardware - particularly usb port In-Reply-To: <49949679.4040006@pdslabs.net> References: <200902110913.03082.palcibiades-first@yahoo.co.uk> <20090211100407.39433.260241.root@web10-winn.ispmail.private.ntl.com> <21974634.post@talk.nabble.com> <49949679.4040006@pdslabs.net> Message-ID: <49949972.5080307@pdslabs.net> P.S. - Here's how I send a command to the device after the "myDeviceNames" function tells me which devices are available: global gCurrentDevice on mouseUp -- locate the device driver put myDeviceNames() into tDevice filter tDevice with "usbmodem*" if tDevice = empty then answer "Can't find device." exit to top end if if the number of lines in tDevice > 1 then answer "Multiple device drivers!" & cr & tDevice exit to top end if put (item 3 of tDevice) into gCurrentDevice open driver gCurrentDevice for update put the result into fld "result" write tMyCommand & cr to driver gCurrentDevice -- be sure the CR is there! put the result into fld "result" end mouseUp Phil Davis wrote: > Hey Peter, > > Is your device listed in the output of this function? If so, try > opening it and writing a command to it. > > > function myDeviceNames > # Handler courtesy of Ken Ray & Dar Scott > > local theNames="", ioregOutput, skipLines, temp > local IOTTYDevice, IODialinDevice, IOCalloutDevice > set the hideConsoleWindows to true > put shell("ioreg -n IOSerialBSDClient") into ioregOutput > repeat forever > put lineOffset("IOSerialBSDCLient",ioregOutput) into skipLines > if skipLines is zero then return thenames > delete line 1 to skipLines of ioregOutput > -- Get all the data between the braces > put char(offset("{",ioregOutput)) to (offset("}",ioregOutput)) of > ioregOutput into temp > get matchText(temp,"\"IOTTYDevice\" = \"(.*?)\"",IOTTYDevice) > if it is not true then next repeat > get matchText(temp,"\"IODialinDevice\" = \"(.*?)\"",IODialinDevice) > if it is not true then next repeat > get matchText(temp,"\"IOCalloutDevice\" = \"(.*?)\"",IOCalloutDevice) > if it is not true then next repeat > put IOTTYDevice,IODialinDevice,IOCalloutDevice & lineFeed after > theNames > end repeat > end myDeviceNames > > > HTH - > Phil Davis > > > > Peter Alcibiades wrote: >> Thanks everyone! Its Linux, the OS that is being used. >> >> Sarah's article is interesting, but my problem is that the device is >> USB. So a serial to USB adaptor won't do it - it will allow use of a >> serial >> device on a usb port. If anything what I'd need would go the other >> way - >> allow use of a usb device on a serial port. >> >> One other suggestion is to make one of the usb ports into a virtual >> serial >> port. Yes, maybe. Again, not something I've ever gone near, but will >> probably try it before this is over! Apparently you can map them... >> > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From sarah.reichelt at gmail.com Thu Feb 12 22:14:21 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 13 Feb 2009 13:14:21 +1000 Subject: Stack mode vs style Message-ID: Hi All, I am a bit confused about a stack's mode versus it's style. The 2 seems to do the same things but be able to be set independently and it is possible to have them set to conflicting settings. e.g. I have a stack where I set it's STYLE to palette. Needing to make it editable again, I used the contextual menu to set it's MODE to toplevel. This worked, but it's STYLE is still set to palette. Checking it's mode directly, it is 1 which according to the docs means: "The stack is open and displayed in an editable window. A stack has this mode if its style is "topLevel" or if it was opened with the topLevel command." So my question is: which command should I use to set the mode/style of a stack? Neither of the docs entries mentions that it is deprecated or included for compatibility. Setting the style is vastly easier than trying to remember which number means which mode, but it appears that the Rev IDE uses MODE and not STYLE which makes me wonder if STYLE is preferred. Any ideas? Cheers, Sarah From revolution at derbrill.de Fri Feb 13 03:09:01 2009 From: revolution at derbrill.de (Malte Brill) Date: Fri, 13 Feb 2009 09:09:01 +0100 Subject: [OT] 1234567890 epoch time In-Reply-To: <20090211180004.1DC7C48A617@mail.runrev.com> References: <20090211180004.1DC7C48A617@mail.runrev.com> Message-ID: Anyone having a party? My collegue and friend Benedikt build this nice clock in processing to celebrate this event. http://benedikt-seidl.de/123/ All the best, Malte From sanke at hrz.uni-kassel.de Fri Feb 13 05:27:47 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 13 Feb 2009 11:27:47 +0100 Subject: Button Basher images Message-ID: <49954B23.7000301@hrz.uni-kassel.de> Hi Richmond, I created a red and beveled circle (with light effects) in "RealDraw Pro" and replaced your circle image in stack "BB alpha" with the new image. The images exported with your button "Export Button Images" maintain the original form, color, and transparency of the new (resized) circle image, meaning: Your Revolution code - although somewhat redundant in places - works as you intended, but with one exception (as I only now have noticed, because I had not looked at the inverse image before): The inverse version of the exported image is identical with the normal version, no "inverse" effect is to be seen. This also holds for the two exported images when one uses your own white template images. You will have to look into the matter how to achieve an inverse effect. I am presently experimenting here to achieve a satisfactory result. Setting the ink of img "holder" to "notScrCopy" produces a nice inverse image. The problem seems to be the export of the image along with the new ink to an external file, and this indeed could be related to the specific "volatile" nature of PNG-images just having been created in Revolution. I need to have a look at the scripts in my "SnapshotTests" stack for a possible solution. Regards, Wilhelm Sanke From m.schonewille at economy-x-talk.com Fri Feb 13 06:35:41 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 13 Feb 2009 12:35:41 +0100 Subject: Stack mode vs style In-Reply-To: References: Message-ID: Hi Sarah, You can consider the mode the effective style. The mode is changed by the style property, the go command (including the palette, toplevel, modal and modeless commands), and by the mode property itself. The style property is the only one that sticks. If you use the go command, you can determine a mode (palette, toplevel) without actually changing the style. If you don't use a mode, the mode will be determined by the style property. if you change the mode, the next time you use the go command without a mode, the style will be applied again. Usually, I don't use the style and mode properties. I just use the go command while specifying a mode. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 13 feb 2009, at 04:14, Sarah Reichelt wrote: > Hi All, > > I am a bit confused about a stack's mode versus it's style. The 2 > seems to do the same things but be able to be set independently and it > is possible to have them set to conflicting settings. > > e.g. I have a stack where I set it's STYLE to palette. Needing to make > it editable again, I used the contextual menu to set it's MODE to > toplevel. > This worked, but it's STYLE is still set to palette. > Checking it's mode directly, it is 1 which according to the docs > means: > "The stack is open and displayed in an editable window. A stack has > this mode if its style is "topLevel" or if it was opened with the > topLevel command." > > So my question is: which command should I use to set the mode/style > of a stack? > Neither of the docs entries mentions that it is deprecated or included > for compatibility. > Setting the style is vastly easier than trying to remember which > number means which mode, but it appears that the Rev IDE uses MODE and > not STYLE which makes me wonder if STYLE is preferred. > > Any ideas? > > Cheers, > Sarah From geradamas at yahoo.com Fri Feb 13 11:09:37 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 13 Feb 2009 08:09:37 -0800 (PST) Subject: (no subject) Message-ID: <396411.51144.qm@web37507.mail.mud.yahoo.com> Wilhelm Sanke wrote: "the specific "volatile" nature of PNG-images just having been created in Revolution" Maybe . . . However it may have something to do with the way I made my odd-shapes templates: I initially exported primitives from Open Office Org. Draw as PNG images [these do not contain transparent areas], then opened them in GIMP, sprayed the white [i.e. would-be transparent areas] with PINK, and then selected the pink, layered that onto a metallic template, deleted the pink, leaving a metallic shape - then saved as a PNG. I wonder if exporting my initial primitives from Open Office Org. Draw as GIF images [which do contain transparent areas] and playing around with them will allow me to end up with PNG images that behave themselves with Runtime Revolution. I have yet to try exporting button shapes as GIF images. I suppose this would circumvent any "volatility" related to RR and PNG images. However; it is Friday night - off to a concert of music by Buxtehude (my favourite composer) with my wife - and tomorrow I have to sort out the kitchen units I messed-up installing the dishwasher. So, will try the above on Sunday. ----------------------------------------------------------------------- I do feel that the documentation on imageData and alphaData is woefully lacking. The "happy, little experiments" I seem to be conducting at the moment, leave me no clearer on the subject: idiot savant! ----------------------------------------------------------------------- sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From mwieder at ahsoftware.net Fri Feb 13 11:11:49 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Feb 2009 08:11:49 -0800 Subject: [OT] 1234567890 epoch time In-Reply-To: References: <20090211180004.1DC7C48A617@mail.runrev.com> Message-ID: <150249761593.20090213081149@ahsoftware.net> Malte- Friday, February 13, 2009, 12:09:01 AM, you wrote: > Anyone having a party? We're going to a party on Tuesday for the Death of Analog Television. Does that count? http://bcnm.berkeley.edu/tvfuneral -- -Mark Wieder mwieder at ahsoftware.net From sims at ezpzapps.com Fri Feb 13 11:22:11 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 13 Feb 2009 17:22:11 +0100 Subject: [OT] 1234567890 epoch time In-Reply-To: <150249761593.20090213081149@ahsoftware.net> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> Message-ID: <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> On Feb 13, 2009, at 5:11 PM, Mark Wieder wrote: > We're going to a party on Tuesday for the Death of Analog Television. That going to be streamed on the internet? ;-) sims From katheryn.swynford at gmail.com Fri Feb 13 11:24:09 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Fri, 13 Feb 2009 08:24:09 -0800 Subject: [OT] 1234567890 epoch time In-Reply-To: References: <20090211180004.1DC7C48A617@mail.runrev.com> Message-ID: <4be051070902130824o6acdfa68v133dd4777e98b845@mail.gmail.com> Looks much more accurate than the speedometer on my car! (wondered why I was suddenly only getting 9 miles per gallon) ;-) Judy http://revined.blogspot.com On Fri, Feb 13, 2009 at 12:09 AM, Malte Brill wrote: > Anyone having a party? > > My collegue and friend Benedikt build this nice clock in processing to > celebrate this event. > > http://benedikt-seidl.de/123/ > > All the best, > > Malte > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katheryn.swynford at gmail.com Fri Feb 13 11:25:28 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Fri, 13 Feb 2009 08:25:28 -0800 Subject: [OT] 1234567890 epoch time In-Reply-To: <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> Message-ID: <4be051070902130825j49886a0do9852749a7bafc6c3@mail.gmail.com> I dunno, but the trial proceedings of the RIAA going after some poor schmo is set to be streamed live on the internet! Judy http://revined.blogspot.com On Fri, Feb 13, 2009 at 8:22 AM, Jim Sims wrote: > > On Feb 13, 2009, at 5:11 PM, Mark Wieder wrote: > > We're going to a party on Tuesday for the Death of Analog Television. >> > > > That going to be streamed on the internet? ;-) > > > sims _______________________________________________ > > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gregory.lypny at videotron.ca Fri Feb 13 11:55:53 2009 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 13 Feb 2009 11:55:53 -0500 Subject: Arrays and Custom Props Message-ID: <7E331C70-E06D-451E-9CE5-DC01FC5DFF3B@videotron.ca> Hello Everyone, If I'm not mistaken, I recall reading something a while back that an array can now be a custom prop and that there was an easy way to get a listing of all your custom props. I can't seem to find it. If anyone can point me in the right direction, I'd much appreciate it. Regards, Gregory From th.douez at gmail.com Fri Feb 13 12:06:58 2009 From: th.douez at gmail.com (Thierry) Date: Fri, 13 Feb 2009 18:06:58 +0100 Subject: Arrays and Custom Props In-Reply-To: <7E331C70-E06D-451E-9CE5-DC01FC5DFF3B@videotron.ca> References: <7E331C70-E06D-451E-9CE5-DC01FC5DFF3B@videotron.ca> Message-ID: Le 13 f?vr. 09 ? 17:55, Gregory Lypny a ?crit : > Hello Everyone, > > If I'm not mistaken, I recall reading something a while back that > an array can now be a custom prop and that there was an easy way to > get a listing of all your custom props. I can't seem to find it. > If anyone can point me in the right direction, I'd much appreciate it. > > Regards, > > Gregory HI, may be you could look at customProperties in the Dictionnary ? Seems it is what you need... Regards, Thierry From jim at visitrieve.com Fri Feb 13 12:40:17 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 13 Feb 2009 07:40:17 -1000 Subject: Populating ListMagic lists (was:RE: ListMagic calculated columns) In-Reply-To: <459b22a90902061514r13db0b0bibebec76175a90a0d@mail.gmail.com> References: <21864343.post@talk.nabble.com> <21879929.post@talk.nabble.com> <008301c9889a$768a5c50$639f14f0$@com> <21881420.post@talk.nabble.com> <459b22a90902061514r13db0b0bibebec76175a90a0d@mail.gmail.com> Message-ID: <003201c98e02$22c6c320$68544960$@com> Hi William, I just realized you sent two similar emails to me off list and one to the list. So I'll repeat my answer here that I sent you off list, in case anyone else is seeing the problem. I haven't been able to duplicate the issue you report. Is the card with the widget you are populating in the same stack, a substack, or another main stack? What version of Rev are you using? Are you on PC or Mac? I created a button with the following script: ON mouseUp pMouseBtnNo local tList ----- put "First Name" & tab & "Last Name" & cr & \ "Joe" & tab & "Smith" & cr & \ "Mary" & tab & "Jones" & cr into tList ----- -- Next line populates an LM list in another card in the same stack LMPopulate tList,the long id of fld "Customers" of card "Sales" ----- -- Next line populates an LM list in another card of another main stack called CustStack LMPopulate tList,the long id of fld "Customers" of card "Sales" of stack "CustStack" END mouseUp Neither gave me the error you report and worked as expected. Can you make sure you have the latest 1.1 version of ListMagic from here: http://downloads.runrev.com/revselect/ListMagic1.1.zip Also, I don't see a flash. Thanks and let me know if you are doing something differently. Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of william humphrey > Sent: Friday, February 06, 2009 1:14 PM > To: How to use Revolution > Subject: Re: ListMagic calculated columns > > I'm having trouble getting "LMPopulate" to work when the list widget is > in a > card on another stack. > WHen I do: "LMPopulate tList,the long ID of fld "Customers" of card > "Sales" > of stack "hopeless'" as in the example it doesn't work. I end up having > to > > lock screen > go card "sales" of stack "hopeless" > > *LMPopulate tList* > > go stack "original stack" > > unlock screen > > > This wouldn't be so bad except there is still a flash of the "hopeless" > stack even with the lock screen. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From viktoras at ekoinf.net Fri Feb 13 12:51:29 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Fri, 13 Feb 2009 19:51:29 +0200 Subject: getting list of controls in a group In-Reply-To: References: <7E331C70-E06D-451E-9CE5-DC01FC5DFF3B@videotron.ca> Message-ID: <4995B321.7000403@ekoinf.net> sorry, can't find how do we get list of names or ids of all controls in a group ? Viktoras From m.schonewille at economy-x-talk.com Fri Feb 13 12:54:22 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 13 Feb 2009 18:54:22 +0100 Subject: getting list of controls in a group In-Reply-To: <4995B321.7000403@ekoinf.net> References: <7E331C70-E06D-451E-9CE5-DC01FC5DFF3B@videotron.ca> <4995B321.7000403@ekoinf.net> Message-ID: <542CFFE9-00E9-419E-9CC2-F923BE2C6D20@economy-x-talk.com> Hi Viktoras, With the simple scripts at you can retrieve "the objects of group x" or "the objectIDs of group x". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 13 feb 2009, at 18:51, viktoras d. wrote: > sorry, can't find how do we get list of names or ids of all controls > in a group ? > > Viktoras From mwieder at ahsoftware.net Fri Feb 13 12:57:46 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Feb 2009 09:57:46 -0800 Subject: [OT] 1234567890 epoch time In-Reply-To: <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> Message-ID: <1633177390.20090213095746@ahsoftware.net> sims- Friday, February 13, 2009, 8:22:11 AM, you wrote: > That going to be streamed on the internet? ;-) Yes, but audio only afaik. -- -Mark Wieder mwieder at ahsoftware.net From viktoras at ekoinf.net Fri Feb 13 12:59:45 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Fri, 13 Feb 2009 19:59:45 +0200 Subject: getting list of controls in a group In-Reply-To: <542CFFE9-00E9-419E-9CC2-F923BE2C6D20@economy-x-talk.com> References: <7E331C70-E06D-451E-9CE5-DC01FC5DFF3B@videotron.ca> <4995B321.7000403@ekoinf.net> <542CFFE9-00E9-419E-9CC2-F923BE2C6D20@economy-x-talk.com> Message-ID: <4995B511.9030303@ekoinf.net> Thanks, Mark! Viktoras From coiin at rcn.com Fri Feb 13 13:04:38 2009 From: coiin at rcn.com (Colin Holgate) Date: Fri, 13 Feb 2009 13:04:38 -0500 Subject: [OT] 1234567890 epoch time In-Reply-To: <1633177390.20090213095746@ahsoftware.net> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> <1633177390.20090213095746@ahsoftware.net> Message-ID: <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> On Feb 13, 2009, at 12:57 PM, Mark Wieder wrote: >> That going to be streamed on the internet? ;-) > > Yes, but audio only afaik. As part of the change to digital only, audio will now come out of your TV speaker as Morse code. From toolbook at kestner.de Fri Feb 13 13:48:44 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 13 Feb 2009 19:48:44 +0100 Subject: Title gets corrupted when opening a substack Message-ID: Hello, I have a really wired phenomenon at one of my beta testers, Win XP. Opening my mainstack, it has his title icon and title text, just normal. When opening a substack (with toplevel) the title of the mainstack gets completely corrupted. The title of the maintack shows only special chars, as if it wouldn't find the font or language anymore. In the stack properties\text of all of my stacks I have choosen no font, the property is empty. Which font is choosen? Standard Rev font? Is it a godd idea, not to choose a special font? But nevertheless, what font I have choosen, why does it only happens after opening a substack and why does it only happens at one of ten PCs? Has anybody seen this behaviour or has any idea, what is going on there? Any hint appreciated Tiemo From klaus at major-k.de Fri Feb 13 13:50:05 2009 From: klaus at major-k.de (Klaus Major) Date: Fri, 13 Feb 2009 19:50:05 +0100 Subject: Title gets corrupted when opening a substack In-Reply-To: References: Message-ID: Hi Tiemo, > Hello, > > I have a really wired phenomenon at one of my beta testers, Win XP. > > Opening my mainstack, it has his title icon and title text, just > normal. > When opening a substack (with toplevel) the title of the mainstack > gets > completely corrupted. The title of the maintack shows only special > chars, as > if it wouldn't find the font or language anymore. > > In the stack properties\text of all of my stacks I have choosen no > font, the > property is empty. Which font is choosen? Standard Rev font? Is it a > godd > idea, not to choose a special font? But nevertheless, what font I have > choosen, why does it only happens after opening a substack and why > does it > only happens at one of ten PCs? > > Has anybody seen this behaviour or has any idea, what is going on > there? > > Any hint appreciated Is there any (QuickTime) player in the substack with the corrupted title? If yes, then this is a known bug, at least it is in Bugzilla, as far as I know. We have the same behaviour here on XP and Windows Server 2008 (or whatever this thing is called). If there is no player envolved, no idea... > Tiemo Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From sims at ezpzapps.com Fri Feb 13 13:52:42 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 13 Feb 2009 19:52:42 +0100 Subject: [OT] 1234567890 epoch time In-Reply-To: <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> Message-ID: <096F0191-A16B-481E-93F6-425177753E1A@ezpzapps.com> On Feb 13, 2009, at 7:04 PM, Colin Holgate wrote: > As part of the change to digital only, audio will now come out of > your TV speaker as Morse code. Dang! All those hours learning semaphore flags broadcast over youtube.com wasted! sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From toolbook at kestner.de Fri Feb 13 14:23:33 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 13 Feb 2009 20:23:33 +0100 Subject: AW: Title gets corrupted when opening a substack In-Reply-To: Message-ID: <106E256E217846B88437D7A25B5A3D2D@Kestner.local> Hi Klaus, the titel gets corrupted in the mainstack and yes it has a quicktimeplayer included. But it gets only corrupted when opening a substack (without QT) Are there any workarounds here in the list? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Klaus Major > Gesendet: Freitag, 13. Februar 2009 19:50 > An: How to use Revolution > Betreff: Re: Title gets corrupted when opening a substack > > Hi Tiemo, > > > Hello, > > > > I have a really wired phenomenon at one of my beta testers, Win XP. > > > > Opening my mainstack, it has his title icon and title text, just > > normal. > > When opening a substack (with toplevel) the title of the mainstack > > gets > > completely corrupted. The title of the maintack shows only special > > chars, as > > if it wouldn't find the font or language anymore. > > > > In the stack properties\text of all of my stacks I have choosen no > > font, the > > property is empty. Which font is choosen? Standard Rev font? Is it a > > godd > > idea, not to choose a special font? But nevertheless, what font I have > > choosen, why does it only happens after opening a substack and why > > does it > > only happens at one of ten PCs? > > > > Has anybody seen this behaviour or has any idea, what is going on > > there? > > > > Any hint appreciated > > Is there any (QuickTime) player in the substack with the corrupted > title? > If yes, then this is a known bug, at least it is in Bugzilla, as far > as I know. > > We have the same behaviour here on XP and Windows Server 2008 > (or whatever this thing is called). > > If there is no player envolved, no idea... > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gregory.lypny at videotron.ca Fri Feb 13 14:31:54 2009 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 13 Feb 2009 14:31:54 -0500 Subject: Arrays and Custom Props In-Reply-To: <20090213180004.6DB1948A65C@mail.runrev.com> References: <20090213180004.6DB1948A65C@mail.runrev.com> Message-ID: <8E689E2E-5DA5-4CD4-920B-606EB25D4440@videotron.ca> First example: "...myPropertiesArray". Boy, do I feel dumb. Thank you, Thierry. G. On Fri, Feb 13, 2009, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > Le 13 f?vr. 09 ? 17:55, Gregory Lypny a ?crit : > >> Hello Everyone, >> >> If I'm not mistaken, I recall reading something a while back that >> an array can now be a custom prop and that there was an easy way to >> get a listing of all your custom props. I can't seem to find it. >> If anyone can point me in the right direction, I'd much appreciate >> it. >> >> Regards, >> >> Gregory > > HI, > > may be you could look at customProperties in the Dictionnary ? > > Seems it is what you need... > > Regards, > Thierry > From mwieder at ahsoftware.net Fri Feb 13 14:37:05 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Feb 2009 11:37:05 -0800 Subject: [OT] 1234567890 epoch time In-Reply-To: <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> Message-ID: <1359135843.20090213113705@ahsoftware.net> Colin- Friday, February 13, 2009, 10:04:38 AM, you wrote: > As part of the change to digital only, audio will now come out of > your TV speaker as Morse code. Good. I'm looking forward to having some intelligence come out of the tube for a change. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Feb 13 14:48:04 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Feb 2009 13:48:04 -0600 Subject: Stack mode vs style In-Reply-To: References: Message-ID: <4995CE74.1000100@hyperactivesw.com> Sarah Reichelt wrote: > Hi All, > > I am a bit confused about a stack's mode versus it's style. The 2 > seems to do the same things but be able to be set independently and it > is possible to have them set to conflicting settings. Actually, "mode" is read-only and so Rev's contextual menu description is a little misleading. The style of a stack determines its default window decorations and behavior. It's a permanent property of the stack, like it's name. It can be set to something else from a script. When you set the style of a stack, you can just use "go" to navigate to it and it will open using its assigned style. (If you open it "as ", the scripted command will override the property setting.) The point being, it's as flexible as any other object property. The mode of a stack can change depending on the stack's current usage and is not necessarily permanent. Say you have a toplevel stack; it is editable and open, so it has a mode setting of 1. If your script issues a "hide stack" command, the style of the stack is still "toplevel" but its mode will change to 0, because it is now hidden. When you show it again, the mode changes back to 1. If a script sets the stack's cantmodify property to true, its mode becomes 2, even though it's still a toplevel stack. A script could check for all stacks with a mode of 0 to find all the open but hidden stacks. Or a script could get a list of all stacks that were open but not toplevel, regardless of their style, by looking for stacks whose mode was > 2. The IDE checks the mode often to determine which stack should be the target to send messages to, because sometimes it's just easier to script using "mode". For example, these two lines are roughly equivalent: if the mode of stack x = 1 then... if not the cantmodify of stack x and the visible of stack x and the style of stack x = "toplevel" then... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at rcn.com Fri Feb 13 14:55:12 2009 From: coiin at rcn.com (Colin Holgate) Date: Fri, 13 Feb 2009 14:55:12 -0500 Subject: [OT] 1234567890 epoch time In-Reply-To: <1359135843.20090213113705@ahsoftware.net> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> <1359135843.20090213113705@ahsoftware.net> Message-ID: On Feb 13, 2009, at 2:37 PM, Mark Wieder wrote: >> As part of the change to digital only, audio will now come out of >> your TV speaker as Morse code. > > Good. I'm looking forward to having some intelligence come out of the > tube for a change. Tying all that together, here's the theme music for Inspector Morse (a British detective TV series), one of the nicer TV themes, and very clever use of Morse code: http://www.imeem.com/isuda/music/IWmcFwR0/ barrington_pheloung_inspector_morse_theme/ From jim at visitrieve.com Fri Feb 13 14:56:18 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 13 Feb 2009 09:56:18 -1000 Subject: how to show language specific path names? In-Reply-To: <33B4FC6CF0CC47D09E35152376AA4F67@Kestner.local> References: <33B4FC6CF0CC47D09E35152376AA4F67@Kestner.local> Message-ID: <003301c98e15$2342af40$69c80dc0$@com> Hi Tiemo, Try using specialFolderPath(XX). For example, if you *put specialFolderPath(5)* (no asterisks, of course) from your message box. Does it come out in English or the machine language? 5 is the Documents folder. Jim bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > Sent: Monday, February 09, 2009 10:40 PM > To: 'How to use Revolution' > Subject: how to show language specific path names? > > Hello, > > when working with path names in rev, you always get the english names, > like > "documents" > > If you want to show these path names to the end user ( while > installaing, or > asking to select a folder, etc.) it can be puzzeling for the not > knowing > standard user, because when looking into his computer on Vista or Mac > he > won't find these names, but the local translation, in this case > "Dokumente" > (what isn't so far away in this case) > > Is there any function to translate the path names to the local language > (beside doing it "by hand")? Or how do you handle this issue with your > customers in non English countries? > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Fri Feb 13 15:21:58 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 13 Feb 2009 10:21:58 -1000 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> References: <4990935D.9010009@hyperactivesw.com> <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> Message-ID: <003401c98e18$b8b74e70$2a25eb50$@com> Hi again Tiemo, > Btw. How do you install an app to run as admin? I just know to do it by > hand > with right mouse key. Create a shortcut to the EXE. This is actually a .lnk file. Then right click on the shortcut. Click on Advanced. Check Run as administrator. Then execute the shortcut rather than the EXE. Problem with this is the user will always be prompted to allow the program to run. A little trick I use is setting the UAC of directories or files to all users - full control. This can be done manually by right clicking on the directory. Go to Security tab. Set it from there. Otherwise you need something like your installer to do it when you install the program. Take a look at the Nullsoft NIS installer (free) and there is a plugin for setting UAC (User Access Control) of either or both your app and directories. Any files in a directory or subdirectories of a directory inherit the UAC of the parent dir. Another thing you should be aware of. Not all folders in Vista are real folders. Some are just pointers that point to the real folder and are there for XP compatibility. These can't be deleted. Jim Bufalini From bdrunrev at gmail.com Fri Feb 13 15:41:23 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 13 Feb 2009 20:41:23 +0000 Subject: Arrays and Custom Props In-Reply-To: <8E689E2E-5DA5-4CD4-920B-606EB25D4440@videotron.ca> References: <20090213180004.6DB1948A65C@mail.runrev.com> <8E689E2E-5DA5-4CD4-920B-606EB25D4440@videotron.ca> Message-ID: Don't feel too bad. So the dictionary does contain an example for what you needed, but after 6 years of using Revolution I still have to look up how do work with custompropertysets & arrays almost every time I use them together! Not to mention that I can never remember which way round 'split' & 'combine' work. I think I must have been particularly stupid at the time when I was learning how to use arrays, and my confusion has been permanently wired into my brain :-) Bernard On Fri, Feb 13, 2009 at 7:31 PM, Gregory Lypny wrote: > First example: "...myPropertiesArray". Boy, do I feel dumb. > > Thank you, Thierry. > > G. > > On Fri, Feb 13, 2009, at 1:00 PM, use-revolution-request at lists.runrev.com > wrote: > > > Le 13 f?vr. 09 ? 17:55, Gregory Lypny a ?crit : >> >> Hello Everyone, >>> >>> If I'm not mistaken, I recall reading something a while back that >>> an array can now be a custom prop and that there was an easy way to >>> get a listing of all your custom props. I can't seem to find it. >>> If anyone can point me in the right direction, I'd much appreciate it. >>> >>> Regards, >>> >>> Gregory >>> >> >> HI, >> >> may be you could look at customProperties in the Dictionnary ? >> >> Seems it is what you need... >> >> Regards, >> Thierry >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri Feb 13 15:46:07 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Feb 2009 14:46:07 -0600 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <003401c98e18$b8b74e70$2a25eb50$@com> References: <4990935D.9010009@hyperactivesw.com> <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> <003401c98e18$b8b74e70$2a25eb50$@com> Message-ID: <4995DC0F.2040304@hyperactivesw.com> Jim Bufalini wrote: > Otherwise you need > something like your installer to do it when you install the program. Take a > look at the Nullsoft NIS installer (free) and there is a plugin for setting > UAC (User Access Control) of either or both your app and directories. Any > files in a directory or subdirectories of a directory inherit the UAC of the > parent dir. This is helpful info, thanks. My installer sets admin priveleges when installing the app. Later the app itself creates other folders inside the user's Documents folder. Will the newly-created folders have the same UAC as the app? Will the app be able to write files to those folders later on? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Feb 13 15:46:39 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 13 Feb 2009 12:46:39 -0800 Subject: Arrays and Custom Props In-Reply-To: Message-ID: Recently, Bernard Devlin wrote: > I think I must have been particularly stupid at the time when I was learning > how to use arrays, and my confusion has been permanently wired into my brain on mouseUp put "that makes 2 of us" into response["Bernard"] end mouseUp Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From andre at andregarzia.com Fri Feb 13 16:01:58 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Feb 2009 19:01:58 -0200 Subject: [HELP] does anyone know how to create revolution arrays with externals? Message-ID: <7c87a2a10902131301kf08e84ld22dc121d6e4606f@mail.gmail.com> Hello Friends, I am cooking a brand new external. I want to create a function that returns an array, does anyone here has a pointer to some call to create arrays from the external? Can we return array values or can we modify a passed variable to be an array? Any clue? Cheers andre -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Fri Feb 13 16:08:30 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 Feb 2009 13:08:30 -0800 Subject: [OT] 1234567890 epoch time Message-ID: <4995E14E.1010102@fourthworld.com> Jim Sims wrote: > Dang! All those hours learning semaphore flags broadcast over > youtube.com wasted! There's always a venue for such a valuable skill: :) -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From andre at andregarzia.com Fri Feb 13 16:40:17 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Feb 2009 19:40:17 -0200 Subject: [HELP] how to trigger a callback from an external... Message-ID: <7c87a2a10902131340x29aac914vecdb58bfa9337e05@mail.gmail.com> Hello Friends, another question about externals. If I have a function that register a callback for later use upon some event. How do I send a message from the external to the engine? I saw the SendCardMessage() call but this will send the message to this card of this stack and that might not be the place I want to send the message to. Any of the external writing gurus out there could shed a clue? The idea is simple, the developer will use a command to register a callback for an event, upon the event happening, I want that message to be triggered. So far I could not find a way to do that nor a way to capture the context or scope or wherever-the-engine-was when the register message was called so that I could send the triggered event to the same place. I could call EvalExpr() from inside the register callback routine to pick the value of the long id of me and thus have a fixed point to send my message back and then using the same EvalExpr() call, assemble a carefully piece of transcript to send the message back there, but this appears to be a little hackish. (well, I am fond of hacking anyway)... cheers Andre -- http://www.andregarzia.com All We Do Is Code. From jim at visitrieve.com Fri Feb 13 16:50:32 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 13 Feb 2009 11:50:32 -1000 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <4995DC0F.2040304@hyperactivesw.com> References: <4990935D.9010009@hyperactivesw.com> <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> <003401c98e18$b8b74e70$2a25eb50$@com> <4995DC0F.2040304@hyperactivesw.com> Message-ID: <003601c98e25$183ffa70$48bfef50$@com> Hi Jacqueline, An installer has to have admin privileges in order to install to the Program Files directory. This is why you always get prompted to allow an installer to install. It also usually needs to write to the registry. Secret: Any EXE with the word *install* or *update* anywhere in its name automatically gets elevated to admin privileges in Vista and you are prompted to allow it to run. LOL. Once the user gives permission, now it can create a directory under Program Files to hold your app. The Program Files directory is set to administrators only. So all other directories under it inherit this class. But, once your installer creates a directory under Program Files, let's say MyRevApp, then if your installer has the ability to alter the UAC of folder MyRevApp, and set it to all users - total control, then your Rev app doesn't need admin privileges to read, write, create, and delete to this folder or any other folders you create under MyRevApp. Because all folders and files created under MyRevApp inherit MyRevApp's security settings. As to the user's Documents, the user who owns the folder usually already has all rights to it. The same applies to specialFolderPath(26) and specialFolderPath(28). Usually ;-) Jim Bufalini PS. I just tested on a French XP machine and using specialFolderPath(5) comes out as Mes documents. > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Friday, February 13, 2009 10:46 AM > To: How to use Revolution > Subject: Re: AW: Problems deleting folders on Vista - error #? > > Jim Bufalini wrote: > > Otherwise you need > > something like your installer to do it when you install the program. > Take a > > look at the Nullsoft NIS installer (free) and there is a plugin for > setting > > UAC (User Access Control) of either or both your app and directories. > Any > > files in a directory or subdirectories of a directory inherit the UAC > of the > > parent dir. > > This is helpful info, thanks. My installer sets admin priveleges when > installing the app. Later the app itself creates other folders inside > the user's Documents folder. Will the newly-created folders have the > same UAC as the app? Will the app be able to write files to those > folders later on? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Fri Feb 13 16:50:08 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Feb 2009 13:50:08 -0800 Subject: [HELP] does anyone know how to create revolution arrays with externals? In-Reply-To: <7c87a2a10902131301kf08e84ld22dc121d6e4606f@mail.gmail.com> References: <7c87a2a10902131301kf08e84ld22dc121d6e4606f@mail.gmail.com> Message-ID: <2417118781.20090213135008@ahsoftware.net> Andre- Friday, February 13, 2009, 1:01:58 PM, you wrote: > I am cooking a brand new external. I want to create a function that > returns an array, does anyone here has a pointer to some call to > create arrays from the external? Can we return array values or can we > modify a passed variable to be an array? Do you actually need to create the array from the external? Otherwise, shouldn't SetArray() and GetArray() work? If not, you could always resort to SendCardMessage() to do the dirty work... The documentation for SetArray() says about the variable "If found the value of the variable is cleared and then setup as an array." -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Feb 13 17:49:13 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Feb 2009 14:49:13 -0800 Subject: [HELP] how to trigger a callback from an external... In-Reply-To: <7c87a2a10902131340x29aac914vecdb58bfa9337e05@mail.gmail.com> References: <7c87a2a10902131340x29aac914vecdb58bfa9337e05@mail.gmail.com> Message-ID: <13320663562.20090213144913@ahsoftware.net> Andre- I believe you're gonna be stuck with SendCardMessage. I've had an enhancement request sitting in Bugzilla for a while (as of next week it'll be five years) to modify the scope of SendCardMessage, but I wouldn't wait around for it. You can always send a uniquely identifiable message such as "soapdog_Incoming" and catch it in the stack script. -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Fri Feb 13 17:56:15 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Feb 2009 20:56:15 -0200 Subject: [HELP] how to trigger a callback from an external... In-Reply-To: <13320663562.20090213144913@ahsoftware.net> References: <7c87a2a10902131340x29aac914vecdb58bfa9337e05@mail.gmail.com> <13320663562.20090213144913@ahsoftware.net> Message-ID: <7c87a2a10902131456r1466b58ya9aad762ecfea16c@mail.gmail.com> Mark, thanks for the quick reply. I'll post my votes there for the sake of hope and consistency. Right now, I can emulate the feature we want using a couple ExprEval() calls. In the register callback, I use an ExprEval("the long id of me") to capture the target for the callback, this way, later, I can assemble a send call to the correct target and use that! :D right now, I am playing with pointers, I can never get them across functions the way I want. I am ok with simple pointers but when I start having pointers to pointers, things simply get ugly. It's like me querying a guy: "Hey you're john?" and he pointing his finger elsewhere saying: "thats me over there" and the guy he's pointing to shounting: "I am not here, move along!" pointing somewhere else.... hate pointers... andre On Fri, Feb 13, 2009 at 8:49 PM, Mark Wieder wrote: > Andre- > > I believe you're gonna be stuck with SendCardMessage. I've had an > enhancement request sitting in Bugzilla for a while (as of next week > it'll be five years) to modify the scope of SendCardMessage, but I > wouldn't wait around for it. You can always send a uniquely > identifiable message such as "soapdog_Incoming" and catch it in the > stack script. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri Feb 13 17:57:34 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Feb 2009 20:57:34 -0200 Subject: [HELP] does anyone know how to create revolution arrays with externals? In-Reply-To: <2417118781.20090213135008@ahsoftware.net> References: <7c87a2a10902131301kf08e84ld22dc121d6e4606f@mail.gmail.com> <2417118781.20090213135008@ahsoftware.net> Message-ID: <7c87a2a10902131457o699ab63cq213e9ad79b413794@mail.gmail.com> Mark, again, thanks!!! Right now I am trying to solve the callback first. If the callback does not work, then, there's no point in the arrays, they are to be used in the callback message. I think I'll go with setarray. :D Thanks again andre On Fri, Feb 13, 2009 at 7:50 PM, Mark Wieder wrote: > Andre- > > Friday, February 13, 2009, 1:01:58 PM, you wrote: > >> I am cooking a brand new external. I want to create a function that >> returns an array, does anyone here has a pointer to some call to >> create arrays from the external? Can we return array values or can we >> modify a passed variable to be an array? > > Do you actually need to create the array from the external? Otherwise, > shouldn't SetArray() and GetArray() work? If not, you could always > resort to SendCardMessage() to do the dirty work... > > The documentation for SetArray() says about the variable "If found the > value of the variable is cleared and then setup as an array." > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From mwieder at ahsoftware.net Fri Feb 13 18:14:42 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Feb 2009 15:14:42 -0800 Subject: [HELP] how to trigger a callback from an external... In-Reply-To: <7c87a2a10902131456r1466b58ya9aad762ecfea16c@mail.gmail.com> References: <7c87a2a10902131340x29aac914vecdb58bfa9337e05@mail.gmail.com> <13320663562.20090213144913@ahsoftware.net> <7c87a2a10902131456r1466b58ya9aad762ecfea16c@mail.gmail.com> Message-ID: <16222192984.20090213151442@ahsoftware.net> Andre- Friday, February 13, 2009, 2:56:15 PM, you wrote: > this way, later, I can assemble a send call to the correct target and > use that! :D rotfl > hate pointers... Depends on what you're used to, I guess. Me, I tend to think of everything in terms of pointers. You've got a parameter with a leading "@" sign? That's a pointer to a variable. You've got the long id of a stack? That's a pointer into the filesystem. An array is just a collection of pointers. AFAICT everything in programming is either a value, a verb, or a pointer to something else. Conditionals might be a separate class, but I think they're probably parts of verbs as well. -- -Mark Wieder mwieder at ahsoftware.net From JimAultWins at yahoo.com Fri Feb 13 18:53:23 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 13 Feb 2009 15:53:23 -0800 Subject: Arrays and Custom Props In-Reply-To: Message-ID: Just a couple hints that might help you in the future.. I hope this can help someone understand a little more. I think of arrays as.. Arrays, like variables, evaporate on quitting, Custom properties, like button names, are stored in the stack file. (note: this is not true for compiled apps since they cannot be modified You store data in custom properties before compiling and they become part of your app, such as jpgs, sounds, even whole stack files) *split a block of lines into compartments as keys and values *split a list into keys and values --caution: duplicate list lines will become (one) key:value pair since keys by definition must be unique and thus data loss. *combine keys and elements into one block of text (eg. a list of lines) a custompropertyset *is* an array a custom property is one key:value pair in a custompropertyset -- viewing a property set in the message box put the custompropertyset "JimsColorFormats" of this stack into thisArray combine thisArray using cr and tab put thisArray into msg Oh, and the syntax is the opposite.... set the properties to values ...just like 'set the name of btn 1 to "open me" ...just like 'set the rect of btn 1 to "23,45,65,109" ...just like 'set the "dataStore" of btn 1 to "value to keep" put the values into an array ...just like 'put "fire truck" into tVehicleName --var ...just like 'put "Blue" into Julie["eyes"] --array ...just like 'set the "hair" of btn "Robert" to "brown" --object ...just like 'put "Brown" into Robert["hair"] --array save this stack only saves the object If you do a lot of property set manipulation, you might want to use this trick to make it easier to debug using variable watcher: (custom properties are harder to see when stepping through your handlers, so do this to make it faster for you) put the custompropertyset "storedAccountBalances" of this card into acctBalArray -- an array to use for now put totalToday into accBalArray[the short date] put accBalArray["1/2/09"] into dailyTotal put 0 into accBalArray[the short date] put the short date into thisDay add 1 to accBalArray[thisDay] --no quotes!please add 24.95 to item 1 of accBalArray[thisDay] put "as of 11:30 am" into item 2 of accBalArray[thisDay] add 10.50 to item 1 of accBalArray[thisDay] put "as of 11:45 am" into item 2 of accBalArray[thisDay] --at end of day repeat for each key KEYSTRING in accBalArray put " as of 5:00 PM" into word 2 to -1 of accBalArray[ KEYSTRING ] --again, no quotes around KEYSTRING end repeat --- convert to a list get accBalArray[the short date] combine it using cr and tab put it into the message box set the custompropertyset " storedAccountBalances" of card ""DailyData" of this stack to accBalArray set the cpsLogInfo[the short date] of card "Acctg Log Info" of this stack to save this stack Report of a custom property set is easy. Get a property set, combine to make it a simple variable Then use it as you wish, like this: put the custompropertyset "cpsLogInfo" of card "AcctgLogInfo" of this stack into tempp -- 'tempp' is now an array, as you can see in variable watcher combine tempp using cr and tab -- is now a list put tempp into msg set the cpsReportStorage["February2009"] of card "AccountingReports" to tempp --(a simple variable) save this stack If you want to add more data to a custom property set as a series of numbers (keep incrementing the keys by 1) use this (assuming all the keys are numbers) put the keys of custompropertyset "purchaseOrders" into tempp replace cr with comma in tempp put max(tempp) +1 into newKeyString set the purchaseOrders[newKeyString] of this stack to "132.89, Office Supplies" Yes, a little light reading for the weekend, but this might help someone get a handle on these concepts. Jim Ault Las Vegas And now back to my client's app deadline :-) On 2/13/09 12:41 PM, "Bernard Devlin" wrote: > Don't feel too bad. So the dictionary does contain an example for what you > needed, but after 6 years of using Revolution I still have to look up how do > work with custompropertysets & arrays almost every time I use them together! > Not to mention that I can never remember which way round 'split' & > 'combine' work. > I think I must have been particularly stupid at the time when I was learning > how to use arrays, and my confusion has been permanently wired into my brain > :-) > > Bernard > > On Fri, Feb 13, 2009 at 7:31 PM, Gregory Lypny > wrote: > >> First example: "...myPropertiesArray". Boy, do I feel dumb. >> >> Thank you, Thierry. >> >> G. >> >> On Fri, Feb 13, 2009, at 1:00 PM, use-revolution-request at lists.runrev.com >> wrote: >> >> >> Le 13 f?vr. 09 ? 17:55, Gregory Lypny a ?crit : >>> >>> Hello Everyone, >>>> >>>> If I'm not mistaken, I recall reading something a while back that >>>> an array can now be a custom prop and that there was an easy way to >>>> get a listing of all your custom props. I can't seem to find it. >>>> If anyone can point me in the right direction, I'd much appreciate it. >>>> >>>> Regards, >>>> >>>> Gregory >>>> >>> >>> HI, >>> >>> may be you could look at customProperties in the Dictionnary ? >>> >>> Seems it is what you need... >>> >>> Regards, >>> Thierry >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Fri Feb 13 19:20:10 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 13 Feb 2009 16:20:10 -0800 Subject: ListMagic Printing Message-ID: Has anyone tried to print from Listmagic yet? I tried to use the Preview option in the OS X print dialog and it basically locked up with a dialog that said it was printing but never really did. Cancelling did not cancel. I had to quit Revolution to get out of the loop. When I did that, clicking gave me the "don't do that!" system beep, but oddly I could use the keyboard and the Revolution Menu so I was able to quit gracefully. I only mention this to warn people so they do not get hung up with this or produce a commercial app and then have their users run into this. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From bobs at twft.com Fri Feb 13 19:29:13 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 13 Feb 2009 16:29:13 -0800 Subject: Arrays and Custom Props In-Reply-To: References: Message-ID: <23633941-1071-41D4-BD59-FE57E9BF89B4@twft.com> WHOA THERE TONTO! I thought the whole idea to properties was persistence?? That means that I cannot save, for instance, the database settings a user entered? I have to create an external file for all of that? And so many card and object properties in my app DEPEND on persistence through runtime. This means that I have to put a kabosh on the whole project! Say it ain't so Sam! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 13, 2009, at 3:53 PM, Jim Ault wrote: > I think of arrays as.. > Arrays, like variables, evaporate on quitting, > Custom properties, like button names, are stored in the stack file. > (note: this is not true for compiled apps since they cannot be > modified > You store data in custom properties before compiling and they become > part of > your app, such as jpgs, sounds, even whole stack files) From ambassador at fourthworld.com Fri Feb 13 19:42:57 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 Feb 2009 16:42:57 -0800 Subject: Arrays and Custom Props Message-ID: <49961391.4000608@fourthworld.com> Bob Sneidar wrote: > WHOA THERE TONTO! I thought the whole idea to properties was > persistence?? That means that I cannot save, for instance, the > database settings a user entered? I have to create an external file > for all of that? And so many card and object properties in my app > DEPEND on persistence through runtime. This means that I have to put a > kabosh on the whole project! You're no worse off than any other application developer: Windows and Linux have never allowed applications to modify themselves at runtime, and even Mac OS only allowed this back when it still put executable code in the resource fork (though under OS X any app can store files in the bundle). This article at revJournal may be helpful: Saving data in Revolution standalones by Sarah Reichelt -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From mwieder at ahsoftware.net Fri Feb 13 20:39:54 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Feb 2009 17:39:54 -0800 Subject: Arrays and Custom Props In-Reply-To: <23633941-1071-41D4-BD59-FE57E9BF89B4@twft.com> References: <23633941-1071-41D4-BD59-FE57E9BF89B4@twft.com> Message-ID: <19430904593.20090213173954@ahsoftware.net> Bob- Friday, February 13, 2009, 4:29:13 PM, you wrote: > Say it ain't so Sam! You might want to check out the section on Splash Screens in the scripting conference stack devoted to building standalones... http://support.runrev.com/scriptingconferences/ -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Feb 13 20:53:49 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Feb 2009 19:53:49 -0600 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <003601c98e25$183ffa70$48bfef50$@com> References: <4990935D.9010009@hyperactivesw.com> <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> <003401c98e18$b8b74e70$2a25eb50$@com> <4995DC0F.2040304@hyperactivesw.com> <003601c98e25$183ffa70$48bfef50$@com> Message-ID: <4996242D.3060502@hyperactivesw.com> Jim Bufalini wrote: > But, once your installer creates a directory under Program Files, let's say > MyRevApp, then if your installer has the ability to alter the UAC of folder > MyRevApp, and set it to all users - total control, then your Rev app doesn't > need admin privileges to read, write, create, and delete to this folder or > any other folders you create under MyRevApp. Because all folders and files > created under MyRevApp inherit MyRevApp's security settings. Thanks. The app I'm working with doesn't create any new folders inside the program folder, but that's good to know. > > As to the user's Documents, the user who owns the folder usually already has > all rights to it. The same applies to specialFolderPath(26) and > specialFolderPath(28). Usually ;-) This is my main question because we have one customer who is having some unusual trouble. He uses Vista. The app was not able to create a folder in his Documents folder. I don't know why, since it has been working for other customers, but I wondered if it was a permissions issue. If an app is running as administrator, and the user always has rights to their own Documents folder, I thought the app could create folders inside Documents without any trouble. But in this one case, it failed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Feb 13 22:26:10 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Feb 2009 19:26:10 -0800 Subject: [OT] 1234567890 epoch time In-Reply-To: References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> <1359135843.20090213113705@ahsoftware.net> Message-ID: <17437281031.20090213192610@ahsoftware.net> Colin- Friday, February 13, 2009, 11:55:12 AM, you wrote: > http://www.imeem.com/isuda/music/IWmcFwR0/ > barrington_pheloung_inspector_morse_theme/ Thanks but no thanks to "You must log in or sign up to listen..." -- -Mark Wieder mwieder at ahsoftware.net From coiin at rcn.com Fri Feb 13 23:06:43 2009 From: coiin at rcn.com (Colin Holgate) Date: Fri, 13 Feb 2009 23:06:43 -0500 Subject: [OT] 1234567890 epoch time In-Reply-To: <17437281031.20090213192610@ahsoftware.net> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> <1359135843.20090213113705@ahsoftware.net> <17437281031.20090213192610@ahsoftware.net> Message-ID: <645D6975-F5E8-4738-B6DC-40E5AFEB67C4@rcn.com> On Feb 13, 2009, at 10:26 PM, Mark Wieder wrote: >> http://www.imeem.com/isuda/music/IWmcFwR0/ >> barrington_pheloung_inspector_morse_theme/ > > Thanks but no thanks to "You must log in or sign up to listen..." I found it worked the first time, but when I tried to replay it I got the sign in notice. I'm fairly sure you won't need to sign in to hear this one: http://staff.funnygarbage.com/colin/morse.mov From jim at visitrieve.com Fri Feb 13 23:19:06 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 13 Feb 2009 18:19:06 -1000 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <4996242D.3060502@hyperactivesw.com> References: <4990935D.9010009@hyperactivesw.com> <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> <003401c98e18$b8b74e70$2a25eb50$@com> <4995DC0F.2040304@hyperactivesw.com> <003601c98e25$183ffa70$48bfef50$@com> <4996242D.3060502@hyperactivesw.com> Message-ID: <004101c98e5b$60986ce0$21c946a0$@com> Dear Jacqueline, > This is my main question because we have one customer who is having > some > unusual trouble. He uses Vista. The app was not able to create a folder > in his Documents folder. I don't know why, since it has been working > for > other customers, but I wondered if it was a permissions issue. > > If an app is running as administrator, and the user always has rights > to > their own Documents folder, I thought the app could create folders > inside Documents without any trouble. But in this one case, it failed. Not sure. What I can tell you is that, under XP, the user's documents are located in: C:/Documents and Settings//My Documents/ And in Vista it's: C:/Users//Documents/ But if you use specialFolderPath(5) it compensates for this difference. And I have an app that creates and deletes directories and files on XP and Vista under specialFolderPaths 26, 28 and 35 and it doesn't run as Administrator to do this and there is no need to change the UAC of the directories or your app. The safest place to put user's data is under specialFolderPath(35) which is the C:/Documents and Settings/All Users/Application Data/ in XP and C:/ProgramData/ folder in Vista and this never fails on either and doesn't require any changing of rights. Jim From jim at visitrieve.com Fri Feb 13 23:52:51 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 13 Feb 2009 18:52:51 -1000 Subject: ListMagic Printing In-Reply-To: References: Message-ID: <004201c98e60$179cdad0$46d69070$@com> Hi Bob, > Has anyone tried to print from Listmagic yet? I tried to use the > Preview option in the OS X print dialog and it basically locked up > with a dialog that said it was printing but never really did. > Cancelling did not cancel. I had to quit Revolution to get out of the > loop. When I did that, clicking gave me the "don't do that!" system > beep, but oddly I could use the keyboard and the Revolution Menu so I > was able to quit gracefully. > > I only mention this to warn people so they do not get hung up with > this or produce a commercial app and then have their users run into > this. Well, that's a stern warning. ;-) Can you tell me what happens if from the Action tab of ListMagic you click on the Actions menu on the upper right and select Print. You should get a Page Setup screen. Select Portrait and OK. You should get a nicely formatted Test list of the sample data. Did you use the LMPrint command described in the Syntax tab of ListMagic to do your print? The LMExport also works nicely from this menu. Basically you need to use the handlers provided with ListMagic in your app. Jim Bufalini From JimAultWins at yahoo.com Sat Feb 14 11:45:29 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 14 Feb 2009 08:45:29 -0800 Subject: Arrays and Custom Props In-Reply-To: <49961391.4000608@fourthworld.com> Message-ID: I think people get a little confused when they think of Hypercard and how it always saved changes to the hard drive as they occurred. The key is that Hypercard stacks are like spreadsheets or word processing documents in that you needed the app Hypercard installed on your Mac, and it was free. Most of the time it was already installed on the Mac when purchased. There was the issue of multiple versions through the years. Basically a Rev app could work the same way as the Hypercard app. On launch you would give the user a choice of opening an existing 'document' or stack or create a new one. A spreadsheet .xls file is just a bunch of gobbledy-gook and data that requires the correct version of an app to use. Standalones do the same thing... save lots of data to files on a hard drive and manage the changes in formatting between versions. "Are you sure you want to update the format of your document to V3.4.5.6?" "Save as Photoshop, Jpeg, Compuserve Gif, Tiff...." Your choice could be to do like Hypercard and Filemaker... save to disk after every change so the user never had to make that step, thus immediate persistence. The app, of course, does not change, just the files in its universe, even if they are on the network, somewhere out there. As far as custom properties, recall that in my first email I mentioned that you could store a whole stack in a custom prop.. well, this is one way you could store a "New Stack" that opens for the user, just like Excel or Word, or a "New card" that was not already in the user stack, or a "New Group", etc, etc. This way, a new stack does not have to have all of the parts that the app does, and those are only installed when needed from the mother ship. I have not looked, but there are probably some videos and help files on bundling 'resources' with a standalone since so many Rev apps have been created and distributed by pros on this list. My apps are simple, functional, and go to private clients so I am not well-versed in wide distribution. Hope this makes your weekend a bit calmer. Think about it as traveling the oceans as millions of others do.. in a boat on the surface. Very few people ever use a submarine. Revolution builds boats. Jim Ault Las Vegas On 2/13/09 4:42 PM, "Richard Gaskin" wrote: > Bob Sneidar wrote: > >> WHOA THERE TONTO! I thought the whole idea to properties was >> persistence?? That means that I cannot save, for instance, the >> database settings a user entered? I have to create an external file >> for all of that? And so many card and object properties in my app >> DEPEND on persistence through runtime. This means that I have to put a >> kabosh on the whole project! > > You're no worse off than any other application developer: Windows and > Linux have never allowed applications to modify themselves at runtime, > and even Mac OS only allowed this back when it still put executable code > in the resource fork (though under OS X any app can store files in the > bundle). > > This article at revJournal may be helpful: > > Saving data in Revolution standalones > by Sarah Reichelt > > > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gregory.lypny at videotron.ca Sat Feb 14 14:19:10 2009 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 14 Feb 2009 14:19:10 -0500 Subject: Arrays and Custom Props In-Reply-To: <20090214041340.6874848A752@mail.runrev.com> References: <20090214041340.6874848A752@mail.runrev.com> Message-ID: <53912B72-6088-4242-B919-1202CCE24CA8@videotron.ca> Well, Bernard and Scott, good to know I'm not alone. I've always been ambivalent about custom properties. I see their power and usefulness, but more often than not, I spare myself the mental strain of recalling what prop is stored where, what it is called, and how to display all of the ones I have set, by instead using a hidden field dedicated to "settings" or "preferences", which I can call up in a snap or display all the time while I'm scripting, and edit by typing into it. This field of settings can be loaded into one or more arrays at start up. Jim Ault's good overview in response to this thread shows that strategies for developing a working relationship with custom props is not trivial. Regards, Gregory On Fri, Feb 13, 2009, at 11:13 PM, Bernard wrote: > Don't feel too bad. So the dictionary does contain an example for > what you > needed, but after 6 years of using Revolution I still have to look > up how do > work with custompropertysets & arrays almost every time I use them > together! > Not to mention that I can never remember which way round 'split' & > 'combine' work. > I think I must have been particularly stupid at the time when I was > learning > how to use arrays, and my confusion has been permanently wired into > my brain > :-) > > Bernard > on mouseUp > put "that makes 2 of us" into response["Bernard"] > end mouseUp > > Regards, > > Scott Rossi [Jim Ault followed his comment below with a good overview of working with custom properties.] > Just a couple hints that might help you in the future.. I hope this > can > help someone understand a little more. From slylabs13 at mac.com Sat Feb 14 16:15:12 2009 From: slylabs13 at mac.com (Robert Sneidar) Date: Sat, 14 Feb 2009 13:15:12 -0800 Subject: ListMagic Printing In-Reply-To: <004201c98e60$179cdad0$46d69070$@com> References: <004201c98e60$179cdad0$46d69070$@com> Message-ID: <278E2302-FC23-450A-9867-08F71443C10D@mac.com> Hi Jim. Sorry didn't mean to come off that way. I used the lmprint command from the message box. I got the page setup and print dialogs ok. I chose Format For and chose a local printer on the network. When I got to the print dialog I clicked the Preview button. It was at that point I got the Printing dialog and the spinning beach ball. That went on for over a minute at which point I treid to cancel. It then changed to cancelling printing but never actually did. I didn't try again. I had to quit Revolution which i did via the keyboard. Every attempt to open a card containing a listmagic object after that threw errors so I had do delete the listmagic objects and scriptingi can try again and see if I get the same problem. I will say that I had recently used the VAB in GLX2 which I have had problems with so let me reproduce the error and get back to you. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Feb 13, 2009, at 20:52, Jim Bufalini wrote: > Hi Bob, > >> Has anyone tried to print from Listmagic yet? I tried to use the >> Preview option in the OS X print dialog and it basically locked up >> with a dialog that said it was printing but never really did. >> Cancelling did not cancel. I had to quit Revolution to get out of the >> loop. When I did that, clicking gave me the "don't do that!" system >> beep, but oddly I could use the keyboard and the Revolution Menu so I >> was able to quit gracefully. >> >> I only mention this to warn people so they do not get hung up with >> this or produce a commercial app and then have their users run into >> this. > > Well, that's a stern warning. ;-) > > Can you tell me what happens if from the Action tab of ListMagic you > click > on the Actions menu on the upper right and select Print. You should > get a > Page Setup screen. Select Portrait and OK. You should get a nicely > formatted > Test list of the sample data. > > Did you use the LMPrint command described in the Syntax tab of > ListMagic to > do your print? The LMExport also works nicely from this menu. > Basically you > need to use the handlers provided with ListMagic in your app. > > Jim Bufalini > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From slylabs13 at mac.com Sat Feb 14 16:18:45 2009 From: slylabs13 at mac.com (Robert Sneidar) Date: Sat, 14 Feb 2009 13:18:45 -0800 Subject: Arrays and Custom Props In-Reply-To: <49961391.4000608@fourthworld.com> References: <49961391.4000608@fourthworld.com> Message-ID: I thought after I sent the email, is there a runtime engine for rev that would allow stacks to run as documents? Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Feb 13, 2009, at 16:42, Richard Gaskin wrote: > Bob Sneidar wrote: > >> WHOA THERE TONTO! I thought the whole idea to properties was >> persistence?? That means that I cannot save, for instance, the >> database settings a user entered? I have to create an external >> file for all of that? And so many card and object properties in my >> app DEPEND on persistence through runtime. This means that I have >> to put a kabosh on the whole project! > > You're no worse off than any other application developer: Windows > and Linux have never allowed applications to modify themselves at > runtime, and even Mac OS only allowed this back when it still put > executable code in the resource fork (though under OS X any app can > store files in the bundle). > > This article at revJournal may be helpful: > > Saving data in Revolution standalones > by Sarah Reichelt > > > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From slylabs13 at mac.com Sat Feb 14 16:27:33 2009 From: slylabs13 at mac.com (Robert Sneidar) Date: Sat, 14 Feb 2009 13:27:33 -0800 Subject: Arrays and Custom Props In-Reply-To: References: Message-ID: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> I suppose where I was getting confused is that Applescript apps properties are persistent. I just assumed rev apps pulled the same kind of trick. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Feb 14, 2009, at 8:45, Jim Ault wrote: > I think people get a little confused when they think of Hypercard > and how it > always saved changes to the hard drive as they occurred. The key is > that > Hypercard stacks are like spreadsheets or word processing documents > in that > you needed the app Hypercard installed on your Mac, and it was > free. Most > of the time it was already installed on the Mac when purchased. > There was > the issue of multiple versions through the years. > > Basically a Rev app could work the same way as the Hypercard app. > On launch > you would give the user a choice of opening an existing 'document' > or stack > or create a new one. A spreadsheet .xls file is just a bunch of > gobbledy-gook and data that requires the correct version of an app > to use. > > Standalones do the same thing... save lots of data to files on a > hard drive > and manage the changes in formatting between versions. "Are you > sure you > want to update the format of your document to V3.4.5.6?" "Save as > Photoshop, Jpeg, Compuserve Gif, Tiff...." > > Your choice could be to do like Hypercard and Filemaker... save to > disk > after every change so the user never had to make that step, thus > immediate > persistence. > > The app, of course, does not change, just the files in its universe, > even if > they are on the network, somewhere out there. > > As far as custom properties, recall that in my first email I > mentioned that > you could store a whole stack in a custom prop.. well, this is one > way you > could store a "New Stack" that opens for the user, just like Excel > or Word, > or a "New card" that was not already in the user stack, or a "New > Group", > etc, etc. This way, a new stack does not have to have all of the > parts that > the app does, and those are only installed when needed from the > mother ship. > > I have not looked, but there are probably some videos and help files > on > bundling 'resources' with a standalone since so many Rev apps have > been > created and distributed by pros on this list. My apps are simple, > functional, and go to private clients so I am not well-versed in wide > distribution. > > Hope this makes your weekend a bit calmer. Think about it as > traveling the > oceans as millions of others do.. in a boat on the surface. Very > few people > ever use a submarine. Revolution builds boats. > > Jim Ault > Las Vegas > > On 2/13/09 4:42 PM, "Richard Gaskin" > wrote: > >> Bob Sneidar wrote: >> >>> WHOA THERE TONTO! I thought the whole idea to properties was >>> persistence?? That means that I cannot save, for instance, the >>> database settings a user entered? I have to create an external file >>> for all of that? And so many card and object properties in my app >>> DEPEND on persistence through runtime. This means that I have to >>> put a >>> kabosh on the whole project! >> >> You're no worse off than any other application developer: Windows >> and >> Linux have never allowed applications to modify themselves at >> runtime, >> and even Mac OS only allowed this back when it still put executable >> code >> in the resource fork (though under OS X any app can store files in >> the >> bundle). >> >> This article at revJournal may be helpful: >> >> Saving data in Revolution standalones >> by Sarah Reichelt >> >> >> >> -- >> Richard Gaskin >> Fourth World >> Revolution training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Sat Feb 14 16:48:05 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 14 Feb 2009 13:48:05 -0800 Subject: Arrays and Custom Props In-Reply-To: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> References: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> Message-ID: <77103395750.20090214134805@ahsoftware.net> Robert- Saturday, February 14, 2009, 1:27:33 PM, you wrote: > I suppose where I was getting confused is that Applescript apps > properties are persistent. I just assumed rev apps pulled the same > kind of trick. Methinks you're still a bit confused about this. Custom. Properties. Are. Persistent. The "problem" with standalone apps is that they can't be modified while they're running. So any changes you make in memory aren't (and can't) be saved to the running application. This is an operating system thing, not a rev thing. There are various ways to work around this: preferences files, splash screen apps, separate stack files, etc. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat Feb 14 17:29:26 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Feb 2009 16:29:26 -0600 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <004101c98e5b$60986ce0$21c946a0$@com> References: <4990935D.9010009@hyperactivesw.com> <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> <003401c98e18$b8b74e70$2a25eb50$@com> <4995DC0F.2040304@hyperactivesw.com> <003601c98e25$183ffa70$48bfef50$@com> <4996242D.3060502@hyperactivesw.com> <004101c98e5b$60986ce0$21c946a0$@com> Message-ID: <499745C6.6030404@hyperactivesw.com> Jim Bufalini wrote: > Dear Jacqueline, > >> This is my main question because we have one customer who is having >> some >> unusual trouble. He uses Vista. The app was not able to create a folder >> in his Documents folder. I don't know why, since it has been working >> for >> other customers, but I wondered if it was a permissions issue. >> >> If an app is running as administrator, and the user always has rights >> to >> their own Documents folder, I thought the app could create folders >> inside Documents without any trouble. But in this one case, it failed. > > Not sure. What I can tell you is that, under XP, the user's documents are > located in: > > C:/Documents and Settings//My Documents/ > > And in Vista it's: > > C:/Users//Documents/ > > But if you use specialFolderPath(5) it compensates for this difference. I generally use specialFolderPath("documents") which resolves to the same paths. It helps me remember what I'm doing. :) > And > I have an app that creates and deletes directories and files on XP and Vista > under specialFolderPaths 26, 28 and 35 and it doesn't run as Administrator > to do this and there is no need to change the UAC of the directories or your > app. The safest place to put user's data is under specialFolderPath(35) > which is the C:/Documents and Settings/All Users/Application Data/ in XP and > C:/ProgramData/ folder in Vista and this never fails on either and doesn't > require any changing of rights. In my case, we want the folders to be created in the user's Documents folder because they contain data files that the user may want to open later. The app creates an enclosing folder and various sub-folders for related content. In one or two cases, the enclosing folder failed to create, though later sub-folders did get created (and in Documents, too, which is odd because I wouldn't think the paths would resolve correctly.) I can't repeat it and most users don't have a problem, but when Timeo mentioned he couldn't always delete folders from Documents, it sounded like a similar issue. But this may be something that has to remain a mystery for now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mdswindell at cruzio.com Sat Feb 14 17:40:57 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 14 Feb 2009 14:40:57 -0800 Subject: Arrays and Custom Props In-Reply-To: References: <49961391.4000608@fourthworld.com> Message-ID: On Feb 14, 2009, at 1:18 PM, Robert Sneidar wrote: > I thought after I sent the email, is there a runtime engine for rev > that would allow stacks to run as documents? Yes, Revolution Player: http://www.runrev.com/downloads/all-downloads/revolution-player/ or Ken Ray's Stackrunner http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm An application's substacks can save changes and can maintain persistent custom properties as long as they are saved as separate stacks when building your standalone. One way to do this is to make your splash screen your mainstack and save substacks as separate files when you build your application. Mark From ambassador at fourthworld.com Sat Feb 14 18:42:43 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 14 Feb 2009 15:42:43 -0800 Subject: Arrays and Custom Props Message-ID: <499756F3.9010304@fourthworld.com> Mark Swindell wrote: > On Feb 14, 2009, at 1:18 PM, Robert Sneidar wrote: >> I thought after I sent the email, is there a runtime engine for rev >> that would allow stacks to run as documents? > > Yes, Revolution Player: > http://www.runrev.com/downloads/all-downloads/revolution-player/ > > or Ken Ray's Stackrunner > http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm ...or any Rev standalone. I use stackfiles almost exclusively for my applications' file format. With the ability to store custom properties and any native controls (images are esp. useful), there's no almost limit to what I can store in them, and parsing what I need out of it lets me use native syntax for rapid, robust access. I can store any mix of textual and binary data, and parse it far more efficiently than if I'd used some custom format. Extra bonus points that you get the automatic temporary backup file ("~*") to restore from in the event of an interrupted save operation. If you have the RevCon '08 DVD set, my session there focuses on the benefits of using stack files for documents and preferences, with techniques to managing them conveniently. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From JimAultWins at yahoo.com Sat Feb 14 19:45:24 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 14 Feb 2009 16:45:24 -0800 Subject: Arrays and Custom Props --not trivial- agreed In-Reply-To: <53912B72-6088-4242-B919-1202CCE24CA8@videotron.ca> Message-ID: >Jim Ault's good overview in response to this thread > shows that strategies for developing a working relationship with > custom props is not trivial. Agreed. Just as building a good set of database linked tables (schema) takes some planning, so do custom properties. Accessing database records is very fast, and so is accessing a custom property. Storing very large amounts of data in fields is a much, much slower method of (storage, updating and accessing). Most of us don't build projects of large enough scale to see the difference. One of the great things about Rev is that you have choices. One trick for easy visibility plus fast operation is: --store settings and preferences in a field, -- then on closefield, copy the text to a single custom property -- just as you do the single field -- thus you can have it both ways! Good for the IDE and better for the user on closefield put the short date && the short time into line 1 of me --time stamp set the cpPrefsField of this stack to me -- eg. fld "prefsAndSettings" save this stack get the cpPrefsField of this stack put the lineoffset("backgroundColor", it) into pos put line 1 of it & cr & line pos of it into msg end closefield Compiling the standalone will lock in both versions of the text, but script access using the custom property will be much faster. Remember, any changes to a field in a standalone can not be saved in the standalone, the same for any changes made by the user or a script. Jim Ault Las Vegas On 2/14/09 11:19 AM, "Gregory Lypny" wrote: > Well, Bernard and Scott, good to know I'm not alone. I've always > been ambivalent about custom properties. I see their power and > usefulness, but more often than not, I spare myself the mental strain > of recalling what prop is stored where, what it is called, and how to > display all of the ones I have set, by instead using a hidden field > dedicated to "settings" or "preferences", which I can call up in a > snap or display all the time while I'm scripting, and edit by typing > into it. This field of settings can be loaded into one or more arrays > at start up. Jim Ault's good overview in response to this thread > shows that strategies for developing a working relationship with > custom props is not trivial. > > Regards, > > Gregory > > > On Fri, Feb 13, 2009, at 11:13 PM, Bernard wrote: > >> Don't feel too bad. So the dictionary does contain an example for >> what you >> needed, but after 6 years of using Revolution I still have to look >> up how do >> work with custompropertysets & arrays almost every time I use them >> together! >> Not to mention that I can never remember which way round 'split' & >> 'combine' work. >> I think I must have been particularly stupid at the time when I was >> learning >> how to use arrays, and my confusion has been permanently wired into >> my brain >> :-) >> >> Bernard > > > >> on mouseUp >> put "that makes 2 of us" into response["Bernard"] >> end mouseUp >> >> Regards, >> >> Scott Rossi > > > [Jim Ault followed his comment below with a good overview of working > with custom properties.] > >> Just a couple hints that might help you in the future.. I hope this >> can >> help someone understand a little more. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Sat Feb 14 21:26:24 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 14 Feb 2009 18:26:24 -0800 Subject: [OT] 1234567890 epoch time In-Reply-To: <645D6975-F5E8-4738-B6DC-40E5AFEB67C4@rcn.com> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> <1359135843.20090213113705@ahsoftware.net> <17437281031.20090213192610@ahsoftware.net> <645D6975-F5E8-4738-B6DC-40E5AFEB67C4@rcn.com> Message-ID: <131120094906.20090214182624@ahsoftware.net> Colin- Friday, February 13, 2009, 8:06:43 PM, you wrote: > http://staff.funnygarbage.com/colin/morse.mov Thanks, that one worked. Cute - it's "morse" in Morse code. Twice, with the second time blending into the opening bars. -- -Mark Wieder mwieder at ahsoftware.net From toolbook at kestner.de Sun Feb 15 03:41:23 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sun, 15 Feb 2009 09:41:23 +0100 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <188C1E80F4374953A6D339C43E41CBBC@Kestner.local> Message-ID: Hello Jim and others by time I found the error code (32) of the revdeletefolder and it says: 32: ERROR_SHARING_VIOLATION - one of the files inside the directory probably was opened without FILE_SHARE_DELETE specified. What puzzles me. I created this folder and another folder inside, so I have all rights on those folders. Now I try to delete them in a recursive loop from inside folders to the upper folder. All lower folders are deleted without problems, so the upper folder is definatly empty at this time. Obviously my deleting from lower to upper folder is too fast for windows, so that it "thinks" there are still open files, thought there are none. Can that be? Any idea for a workaround? Thank you Tiemo Thanks Jim for your admin tips > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Montag, 9. Februar 2009 18:19 > An: 'How to use Revolution' > Betreff: Problems deleting folders on Vista - error #? > > Hello, > > I want to delete some folders in different paths, when removing my app > with: > > revDeleteFolder > > Works on XP without problems, but on Vista I get different errors in the > result, depending on which folder, I get: 2 / 3 / 5 / 32 > > Even, when executing as Admin there are still some folders, which can't be > deleted. The folders are not in Programs Dir - so nothing with > virtualizing. > They are in the Progdata Dir and in the Users Dir. > > Where do I get the meaning of these result numbers? The sysError is > always: > 0 > > Does anybody know, what is going on here and how I can delete my folders > on > Vista? > > Any tipp appreciated > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Sun Feb 15 04:12:18 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sun, 15 Feb 2009 10:12:18 +0100 Subject: Where to put an ini file on Win with write access for all users? Message-ID: Hello, I have an ini file, which should be accessed read/write by every user on the machine, so it can't be in the user dir. I choose specialfolderpath("35") & "\" & myFolder which is on XP: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\myFolder and on Vista C:\ProgramData\myFolder On a XP machine I don't have write access to this ini file with a different user, as having created the file. I could catch the error and tell the user, he should give permissions to that file for all users. Not nice, but a chance. On Vista I don't get an error when trying to write to that file with a different user, Vista just virtualises the ini file in the user dir of the other user and from now on I have an ini file for each user, what is a mess, because there are common options, which should be the same for all users. Any coaching how to handle this correctly very appreciated! Thank you Tiemo From arthur.rann at gmail.com Sun Feb 15 08:46:53 2009 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 15 Feb 2009 07:46:53 -0600 Subject: Why doesn't this work now? (Copy & paste of a card with a background) In-Reply-To: <499098F7.7060708@hyperactivesw.com> References: <64bccb0c0902072357j61c2b6c6v3d9abad857f4e26e@mail.gmail.com> <64bccb0c0902090103y6019170hd0d4052e24adac51@mail.gmail.com> <499098F7.7060708@hyperactivesw.com> Message-ID: <64bccb0c0902150546i36594026p63823ade60143ca8@mail.gmail.com> Hi, On Mon, Feb 9, 2009 at 2:58 PM, J. Landman Gay wrote: > Arthur Rann wrote: > > I've also noticed that while the docs say that 'Clone This Card' will set >> the current card to the new card, on the stack that has issues, this is >> definitely not the case. After a Clone This Card command is issued, the >> current card is the original card, and not the clone. >> On a virgin stack, the current card is the clone. >> >> What could be wrong? >> > > Hard to say without actually debugging the stack. It could be a > lockmessages issue (either messages are locked and shouldn't be, or they're > unlocked and should be locked.) Or a frontscript or backscript could be > interfering. Or maybe there is a command later in the script that returns to > the originating card after the clone is made. > > Your best bet is to walk through the script line by line in the debugger. > It should become apparent where it's going off track, because you'll see > when the stack goes back to the original card. You can type into the message > box during debugging, which can help. After the clone is made, type "the > number of this cd" into the message box and see what it says. Maybe it > really is the right card. > And how did you *think* I arrived at the conclusions above? ;)This is how I always debug, and how I arrived at the theory there was something wrong. And there ABSOLUTELY was. I found that if I removed every instance of anything that did a copy & paste for the cards, saved and quit, then copied every objects and script out of the stack into a new stack, saved, quit, and opened again, it finally saved the new stack in a usable format. And no, just copying the objects out was not enough. As long as the scripts had references to copy and paste of cards, as soon as one of those scripts would run, the stack was forever damaged. It wasn't pretty, and I've spent a week of nearly sleepless nights trying to track down how to fix this. Every combination of the above steps that didn't follow that order would end up with a corrupt stack. So there's something absolutely broken in copy and paste of cards for at least Rev v3.0, so I avoid those like the plague now. Long live clone card. And it seems to be working! So I guess the lesson is to not upgrade to a new version for any app that I'm shipping, until I have a lot of time to test it. But it works now, and it's a fairly simple app, so I'm hoping I don't have to touch it again for a loooong time. Thank you, -Art From sunshine at public.kherson.ua Sun Feb 15 09:43:47 2009 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun, 15 Feb 2009 16:43:47 +0200 Subject: mySQL on ISP cannot be used for free by customers of ISP In-Reply-To: Message-ID: On 2/15/09 1:41 PM, "Thorsten Hohage" wrote: Hi Thorsten, This is very interesting and I should say new info for me. I believe many times on RB and Revolution list (especially) people express point that they can use mySQL of their ISPs for free. Info which you provide below changes things a lots. I will CC this to REV list for info. >>> But mySQL is not totally free, even when used at an ISP! Many, many >>> customer of ISPs go in a big trap, because they used the offered mySQL >>> licence from the ISP for their commercial use what is in sense of mySQL >>> legals not allowed. >> >> Why you think so? > Because I read and discussed the given mySQL licence terms when > dealing with that issues (and I break them like anybody else :-)) > > The fact that mySQL is free for ISPs and they put them on their > servers does NOT mean everybody being a customer for such a package > can use it for free! > > Of course e.g. when you're going to use let us say Joomla, then Joomla > is Open Source, too and AFAIK then your content will not be some kind > of "Open Content". > > But when you develop a software using this hosted mySQL, then you must > decide PAY or Open Source it, and it doesn't matter if this is hosted > at your ISP or not. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From geradamas at yahoo.com Sun Feb 15 11:58:16 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 15 Feb 2009 08:58:16 -0800 (PST) Subject: Button Basher Message-ID: <379508.55454.qm@web37507.mail.mud.yahoo.com> Now exporting odd-shaped button images as GIFs: this has solved the problem (well, at least on my G4 MAC) with white areas where there should be transparency. The resizing works as well. The metal textures come out as GIFs with a rather unattractive Moire effect. Working on replacing this with a colour-choosing system. Feedback, feedback, feedback, Please. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From toolbook at kestner.de Sun Feb 15 13:46:21 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sun, 15 Feb 2009 19:46:21 +0100 Subject: AW: Where to put an ini file on Win with write access for all users? In-Reply-To: Message-ID: <6074BA3C542E48F5BC8A9EC5BA58137A@Kestner.local> appendix: I found the option in my setup installer to set the permission of the file to everyone=full access. This way every user on XP has write access, ok. But Vista nevertheless virtualises my ini file for every user, so that every user has his own copy of my ini file. How can I prevent this behaviour? Thanks for any hint Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Sonntag, 15. Februar 2009 10:12 > An: 'How to use Revolution' > Betreff: Where to put an ini file on Win with write access for all users? > > Hello, > > I have an ini file, which should be accessed read/write by every user on > the > machine, so it can't be in the user dir. > > I choose specialfolderpath("35") & "\" & myFolder which is on XP: > C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\myFolder and on > Vista C:\ProgramData\myFolder > > On a XP machine I don't have write access to this ini file with a > different > user, as having created the file. I could catch the error and tell the > user, > he should give permissions to that file for all users. Not nice, but a > chance. On Vista I don't get an error when trying to write to that file > with > a different user, Vista just virtualises the ini file in the user dir of > the > other user and from now on I have an ini file for each user, what is a > mess, > because there are common options, which should be the same for all users. > > Any coaching how to handle this correctly very appreciated! > > Thank you > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Sun Feb 15 13:54:33 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sun, 15 Feb 2009 19:54:33 +0100 Subject: OT: How is the virtualStore beeing deleted on Vista? Message-ID: <4324760562DF42D8BE0037FB861922E5@Kestner.local> Sorry, another Vista issue, as having told in my other thread, Vista virtualises my Ini file for every user. Now, when I deinstall my app, it takes all files off, beside the virtualised files in the other user profile. Is this standard? Any chance to prevent this behaviour, beside switching off the UAC :-) or do the virtualised files have to stay on the system to the end of the days or be there, when my app is being reinstalled with other paremeters and nobody knows, where the heck theses old parameters come from? I hate Vista! Thanks for any experience with this topic Tiemo From gregory.lypny at videotron.ca Sun Feb 15 14:00:43 2009 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sun, 15 Feb 2009 14:00:43 -0500 Subject: Arrays and Custom Props In-Reply-To: <20090215180004.34D5E488F3C@mail.runrev.com> References: <20090215180004.34D5E488F3C@mail.runrev.com> Message-ID: <2A0A9EFE-C07A-4111-A675-834D7E5770B8@videotron.ca> Good stuff, Jim. Well thought out. Thanks for sharing it. Gregory On Sun, Feb 15, 2009, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > Message: 9 > Date: Sat, 14 Feb 2009 16:45:24 -0800 > From: Jim Ault > Subject: Re: Arrays and Custom Props --not trivial- agreed > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > >> Jim Ault's good overview in response to this thread >> shows that strategies for developing a working relationship with >> custom props is not trivial. > Agreed. Just as building a good set of database linked tables > (schema) > takes some planning, so do custom properties. > > Accessing database records is very fast, and so is accessing a custom > property. Storing very large amounts of data in fields is a much, > much > slower method of (storage, updating and accessing). Most of us > don't build > projects of large enough scale to see the difference. > > One of the great things about Rev is that you have choices. > One trick for easy visibility plus fast operation is: > --store settings and preferences in a field, > -- then on closefield, copy the text to a single custom property > -- just as you do the single field > -- thus you can have it both ways! > Good for the IDE and better for the user > > on closefield > put the short date && the short time into line 1 of me --time stamp > set the cpPrefsField of this stack to me -- eg. fld > "prefsAndSettings" > save this stack > get the cpPrefsField of this stack > put the lineoffset("backgroundColor", it) into pos > put line 1 of it & cr & line pos of it into msg > end closefield > > Compiling the standalone will lock in both versions of the text, but > script > access using the custom property will be much faster. Remember, any > changes > to a field in a standalone can not be saved in the standalone, the > same for > any changes made by the user or a script. > > Jim Ault > Las Vegas From ambassador at fourthworld.com Sun Feb 15 14:42:51 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 15 Feb 2009 11:42:51 -0800 Subject: mySQL on ISP cannot be used for free by customers of ISP Message-ID: <4998703B.5050509@fourthworld.com> MySQL'a dual licensing has been the source of a lot of confusion for quite a long time, and what few notes can be found at their site about when their license requires a license doesn't help a great many people make an appropriate determination. I've written them to get clarification on three specific usage scenarios that are not uncommon, and while their sales staff was quick to reply to my interest in possibly getting a license I've not heard back from them on whether it's actually needed in the scenarios I'm considering. Here's an example of the confusion, from JoelOnSoftware: This comment there tries to help sort it out: Most of the things mentioned here are irrelevant. Read http://www.mysql.com/products/licensing/commercial-license.html more specifically: "If you develop and distribute a commercial application and as part of utilizing your application, the end-user must download a copy of MySQL; for each derivative work, you (or, in some cases, your end-user) need a commercial license for the MySQL server and/or MySQL client libraries." Unfortunately that URL no longer points to the material cited, so you have to wade through the links there to try to find guidance on how the license applies to a given use. Here's a scenario I can't figure out: if I make a DB on my server using my own proprietary code running on top of MySQL, and I sell subscriptions to this proprietary system, do the "per seat" definitions for MySQL licensing apply to my customers as "seats" for my DB use? Still waiting to hear back from them on that. It's too bad they don't make it simpler for folks to understand when it's necessary to purchase a license and how much it will cost. It's confusing for the market and no doubt they lose a great many sales based on the near-ubiquitous -- if erroneous -- presumption that it's always gratis. Free as in freedom != free as in beer. ;) Ruslan, I couldn't find the original post you quoted. Where did this thread originate? It would be ironic in a discussion of copyright protection to have material copied without permission from the author. ;) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Ruslan Zasukhin wrote: > On 2/15/09 1:41 PM, "Thorsten Hohage" wrote: > > Hi Thorsten, > > This is very interesting and I should say new info for me. > > I believe many times on RB and Revolution list (especially) people express > point that they can use mySQL of their ISPs for free. > > Info which you provide below changes things a lots. > I will CC this to REV list for info. > > >>>> But mySQL is not totally free, even when used at an ISP! Many, many >>>> customer of ISPs go in a big trap, because they used the offered mySQL >>>> licence from the ISP for their commercial use what is in sense of mySQL >>>> legals not allowed. >>> >>> Why you think so? > >> Because I read and discussed the given mySQL licence terms when >> dealing with that issues (and I break them like anybody else :-)) >> >> The fact that mySQL is free for ISPs and they put them on their >> servers does NOT mean everybody being a customer for such a package >> can use it for free! >> >> Of course e.g. when you're going to use let us say Joomla, then Joomla >> is Open Source, too and AFAIK then your content will not be some kind >> of "Open Content". >> >> But when you develop a software using this hosted mySQL, then you must >> decide PAY or Open Source it, and it doesn't matter if this is hosted >> at your ISP or not. > From sims at ezpzapps.com Sun Feb 15 15:16:34 2009 From: sims at ezpzapps.com (Jim Sims) Date: Sun, 15 Feb 2009 21:16:34 +0100 Subject: way to inform rev apps to get something from web server Message-ID: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> Here is what I want to do: Lets say I have a large number of rev apps that will go to a web server and grab some data/image when told to do so (when given a signal to do so). I could have these apps poll a text file or something on a web server every so many minutes but I want a less 'bandwidth wasteful' way to inform these apps to act. What is the best way to do this? UDP? TCP server/client? Something else? What obstacles might I encounter? sims From jim at visitrieve.com Sun Feb 15 16:10:36 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 15 Feb 2009 11:10:36 -1000 Subject: ListMagic Printing In-Reply-To: <278E2302-FC23-450A-9867-08F71443C10D@mac.com> References: <004201c98e60$179cdad0$46d69070$@com> <278E2302-FC23-450A-9867-08F71443C10D@mac.com> Message-ID: <005701c98fb1$d95fb000$8c1f1000$@com> Hi Bob, Thank you for taking the time be more explanative. As a result, I was able to duplicate the problem. It is due to a combination of factors: 1. Running LMPrint from the message box. 2. Running GLX2. 3. A bug in one ListMagic's print formatting handlers. The spinning beach ball is coming from GLX2 trying to report an error coming from a locked stack (I'll let Jerry know). Disabling the revGLX2 Code plugin results in a Rev error that says it can't tell you exactly what it is because the stack is locked. But there is no hang. Lastly, the cause of the error in the first place being the bug in one of ListMagic's print formatting handlers. I'll release a update within the next couple of days that will correct this as well as some other minor issues reported. Once again, thanks for taking the time to report the problem. We'll get corrected in short order. Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Robert Sneidar > Sent: Saturday, February 14, 2009 11:15 AM > To: How to use Revolution > Subject: Re: ListMagic Printing > > Hi Jim. Sorry didn't mean to come off that way. > > I used the lmprint command from the message box. I got the page setup > and print dialogs ok. I chose Format For and chose a local printer on > the network. When I got to the print dialog I clicked the Preview > button. It was at that point I got the Printing dialog and the > spinning beach ball. That went on for over a minute at which point I > treid to cancel. It then changed to cancelling printing but never > actually did. I didn't try again. I had to quit Revolution which i did > via the keyboard. Every attempt to open a card containing a listmagic > object after that threw errors so I had do delete the listmagic > objects and scriptingi can try again and see if I get the same > problem. I will say that I had recently used the VAB in GLX2 which I > have had problems with so let me reproduce the error and get back to > you. > > Bob Sneidar > IT Manager > Calvary Chapel CM > Sent from iPhone > > On Feb 13, 2009, at 20:52, Jim Bufalini wrote: > > > Hi Bob, > > > >> Has anyone tried to print from Listmagic yet? I tried to use the > >> Preview option in the OS X print dialog and it basically locked up > >> with a dialog that said it was printing but never really did. > >> Cancelling did not cancel. I had to quit Revolution to get out of > the > >> loop. When I did that, clicking gave me the "don't do that!" system > >> beep, but oddly I could use the keyboard and the Revolution Menu so > I > >> was able to quit gracefully. > >> > >> I only mention this to warn people so they do not get hung up with > >> this or produce a commercial app and then have their users run into > >> this. > > > > Well, that's a stern warning. ;-) > > > > Can you tell me what happens if from the Action tab of ListMagic you > > click > > on the Actions menu on the upper right and select Print. You should > > get a > > Page Setup screen. Select Portrait and OK. You should get a nicely > > formatted > > Test list of the sample data. > > > > Did you use the LMPrint command described in the Syntax tab of > > ListMagic to > > do your print? The LMExport also works nicely from this menu. > > Basically you > > need to use the handlers provided with ListMagic in your app. > > > > Jim Bufalini > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Sun Feb 15 16:17:30 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 15 Feb 2009 11:17:30 -1000 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <499745C6.6030404@hyperactivesw.com> References: <4990935D.9010009@hyperactivesw.com> <5B1A3FB9A7174A2487112012A5EB3874@Kestner.local> <003401c98e18$b8b74e70$2a25eb50$@com> <4995DC0F.2040304@hyperactivesw.com> <003601c98e25$183ffa70$48bfef50$@com> <4996242D.3060502@hyperactivesw.com> <004101c98e5b$60986ce0$21c946a0$@com> <499745C6.6030404@hyperactivesw.com> Message-ID: <005801c98fb2$d008d440$701a7cc0$@com> Dear Jacqueline, > In my case, we want the folders to be created in the user's Documents > folder because they contain data files that the user may want to open > later. The app creates an enclosing folder and various sub-folders for > related content. In one or two cases, the enclosing folder failed to > create, though later sub-folders did get created (and in Documents, > too, > which is odd because I wouldn't think the paths would resolve > correctly.) > > I can't repeat it and most users don't have a problem, but when Timeo > mentioned he couldn't always delete folders from Documents, it sounded > like a similar issue. But this may be something that has to remain a > mystery for now. Now that I understand it is inconsistent within the same machine then I think Tiemo may have hit upon the answer to his own question. I'll explain in response to his latest posts. Jim Bufalini From andre at andregarzia.com Sun Feb 15 16:20:07 2009 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 15 Feb 2009 18:20:07 -0300 Subject: mySQL on ISP cannot be used for free by customers of ISP In-Reply-To: <4998703B.5050509@fourthworld.com> References: <4998703B.5050509@fourthworld.com> Message-ID: <7c87a2a10902151320q31ab8f20td592258bb8490599@mail.gmail.com> Thats why when someone asks me what DB they should use, I always point them to postgreSQL... I prefer to use BSD or MIT licenses over GPL and I never understood dual licensing. software politics are hard On Sun, Feb 15, 2009 at 4:42 PM, Richard Gaskin wrote: > MySQL'a dual licensing has been the source of a lot of confusion for quite a > long time, and what few notes can be found at their site about when their > license requires a license doesn't help a great many people make an > appropriate determination. > > I've written them to get clarification on three specific usage scenarios > that are not uncommon, and while their sales staff was quick to reply to my > interest in possibly getting a license I've not heard back from them on > whether it's actually needed in the scenarios I'm considering. > > > Here's an example of the confusion, from JoelOnSoftware: > > > This comment there tries to help sort it out: > > Most of the things mentioned here are irrelevant. > Read http://www.mysql.com/products/licensing/commercial-license.html > more specifically: > > "If you develop and distribute a commercial application and > as part of utilizing your application, the end-user must > download a copy of MySQL; for each derivative work, you (or, > in some cases, your end-user) need a commercial license for > the MySQL server and/or MySQL client libraries." > > Unfortunately that URL no longer points to the material cited, so you have > to wade through the links there to try to find guidance on how the license > applies to a given use. > > Here's a scenario I can't figure out: if I make a DB on my server using my > own proprietary code running on top of MySQL, and I sell subscriptions to > this proprietary system, do the "per seat" definitions for MySQL licensing > apply to my customers as "seats" for my DB use? Still waiting to hear back > from them on that. > > > It's too bad they don't make it simpler for folks to understand when it's > necessary to purchase a license and how much it will cost. It's confusing > for the market and no doubt they lose a great many sales based on the > near-ubiquitous -- if erroneous -- presumption that it's always gratis. Free > as in freedom != free as in beer. ;) > > > Ruslan, I couldn't find the original post you quoted. Where did this thread > originate? > > It would be ironic in a discussion of copyright protection to have material > copied without permission from the author. ;) > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > Ruslan Zasukhin wrote: > >> On 2/15/09 1:41 PM, "Thorsten Hohage" >> wrote: >> >> Hi Thorsten, >> >> This is very interesting and I should say new info for me. >> >> I believe many times on RB and Revolution list (especially) people express >> point that they can use mySQL of their ISPs for free. >> >> Info which you provide below changes things a lots. >> I will CC this to REV list for info. >> >> >>>>> But mySQL is not totally free, even when used at an ISP! Many, many >>>>> customer of ISPs go in a big trap, because they used the offered mySQL >>>>> licence from the ISP for their commercial use what is in sense of >>>>> mySQL >>>>> legals not allowed. >>>> >>>> Why you think so? >> >>> Because I read and discussed the given mySQL licence terms when >>> dealing with that issues (and I break them like anybody else :-)) >>> >>> The fact that mySQL is free for ISPs and they put them on their >>> servers does NOT mean everybody being a customer for such a package >>> can use it for free! >>> >>> Of course e.g. when you're going to use let us say Joomla, then Joomla >>> is Open Source, too and AFAIK then your content will not be some kind >>> of "Open Content". >>> >>> But when you develop a software using this hosted mySQL, then you must >>> decide PAY or Open Source it, and it doesn't matter if this is hosted >>> at your ISP or not. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jacque at hyperactivesw.com Sun Feb 15 16:25:43 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Feb 2009 15:25:43 -0600 Subject: AW: Where to put an ini file on Win with write access for all users? In-Reply-To: <6074BA3C542E48F5BC8A9EC5BA58137A@Kestner.local> References: <6074BA3C542E48F5BC8A9EC5BA58137A@Kestner.local> Message-ID: <49988857.7050302@hyperactivesw.com> Tiemo Hollmann TB wrote: > appendix: > I found the option in my setup installer to set the permission of the file > to everyone=full access. This way every user on XP has write access, ok. > But Vista nevertheless virtualises my ini file for every user, so that every > user has his own copy of my ini file. > How can I prevent this behaviour? I didn't try it, but looking at Ken's handy reference, maybe specialFolderPath(43) would work. That is "C:/Program Files/Common Files" on both XP and Vista. If it works, let us know. I'll write it down. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jim at visitrieve.com Sun Feb 15 16:49:12 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 15 Feb 2009 11:49:12 -1000 Subject: Problems deleting folders on Vista - error #? In-Reply-To: References: <188C1E80F4374953A6D339C43E41CBBC@Kestner.local> Message-ID: <005901c98fb7$3da5c130$b8f14390$@com> Hi Tiemo, > Hello Jim and others > by time I found the error code (32) of the revdeletefolder and it says: > 32: ERROR_SHARING_VIOLATION - one of the files inside the directory > probably > was opened without FILE_SHARE_DELETE specified. > What puzzles me. I created this folder and another folder inside, so I > have > all rights on those folders. Now I try to delete them in a recursive > loop > from inside folders to the upper folder. All lower folders are deleted > without problems, so the upper folder is definatly empty at this time. > Obviously my deleting from lower to upper folder is too fast for > windows, so > that it "thinks" there are still open files, thought there are none. > Can > that be? Definitely can. > Any idea for a workaround? > Thank you Yes. Create a small command that just deletes a file or folder passed to it. Then, in your repeat loop use a *send "" && "" to me in 5 milliseconds* Make sure to use the in-time form. What this will do will cause the sends to not be executed until both the repeat loop and handler that has the repeat exits. This allows both the rev engine and OS to do their work in between each delete (or create). You may even be able to use 0 milliseconds for this. But don't use waits in the repeat. All that will do is slow up the repeat loop and not solve the issue. Jim Bufalini From psahores at free.fr Sun Feb 15 17:11:20 2009 From: psahores at free.fr (Pierre Sahores) Date: Sun, 15 Feb 2009 23:11:20 +0100 Subject: way to inform rev apps to get something from web server In-Reply-To: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> References: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> Message-ID: <295CE482-42B2-41B5-83F5-2416147B8ED5@free.fr> Hi sims, Perhaps can this help : If yes, you just will have to connect your rev apps to the "web outside world" trough TCP sockets, each time an event you want to grab occurs. Have fun, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 15 f?vr. 09 ? 21:16, Jim Sims a ?crit : > Here is what I want to do: > > Lets say I have a large number of rev apps that will go to a web > server and grab some data/image when told to do so (when given a > signal to do so). > > I could have these apps poll a text file or something on a web > server every so many minutes but I want a less 'bandwidth wasteful' > way to inform these apps to act. > > What is the best way to do this? UDP? TCP server/client? Something > else? > What obstacles might I encounter? > > > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jim at visitrieve.com Sun Feb 15 17:32:09 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 15 Feb 2009 12:32:09 -1000 Subject: Where to put an ini file on Win with write access for all users? In-Reply-To: References: Message-ID: <005d01c98fbd$3d8950d0$b89bf270$@com> Hi Tiemo > I have an ini file, which should be accessed read/write by every user > on the > machine, so it can't be in the user dir. > > I choose specialfolderpath("35") & "\" & myFolder which is on XP: > C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\myFolder and > on > Vista C:\ProgramData\myFolder > > On a XP machine I don't have write access to this ini file with a > different > user, as having created the file. I could catch the error and tell the > user, > he should give permissions to that file for all users. Not nice, but a > chance. On Vista I don't get an error when trying to write to that file > with > a different user, Vista just virtualises the ini file in the user dir > of the > other user and from now on I have an ini file for each user, what is a > mess, > because there are common options, which should be the same for all > users. > > Any coaching how to handle this correctly very appreciated! Ini files are considered a legacy file structure by Vista. Vista virtualizes anything it considers legacy under an identical directory tree under each user's virtualstore directory. Use the registry instead to store ini kind of information. The registry was originally dreamed up to replace ini files and then immediately expanded from there. This is why it is so, so, so important that Rev gets around to updating the SQLite engine embedded in the dbsqlite.dll driver. The SQLite engine shipped with Rev is pre-Vista and not forward compatible. As soon as you create a data file, Vista identifies both your app and data file as legacy and virtualizes the database file by making a copy of it. Everything seems fine until you close your app and launch it again and try to read updated data from the previous session. It appears to have all disappeared. What has actually happened is all the writes went to the virtualized file(s) - one for each user, and you have a mess. This virtualization doesn't happen with later versions of the SQLite engine. Jim Bufalini From jim at visitrieve.com Sun Feb 15 17:41:14 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 15 Feb 2009 12:41:14 -1000 Subject: How is the virtualStore beeing deleted on Vista? In-Reply-To: <4324760562DF42D8BE0037FB861922E5@Kestner.local> References: <4324760562DF42D8BE0037FB861922E5@Kestner.local> Message-ID: <005e01c98fbe$82b2e490$8818adb0$@com> Hi Tiemo, > Sorry, another Vista issue, > > as having told in my other thread, Vista virtualises my Ini file for > every > user. > > Now, when I deinstall my app, it takes all files off, beside the > virtualised > files in the other user profile. > > Is this standard? Any chance to prevent this behaviour, beside > switching off > the UAC :-) or do the virtualised files have to stay on the system to > the > end of the days or be there, when my app is being reinstalled with > other > paremeters and nobody knows, where the heck theses old parameters come > from? > > I hate Vista! > > Thanks for any experience with this topic To the best of my knowledge, Vista virtualizes files by copying them but does not manage or delete these virtualized files when the originals are deleted. You have to manage this yourself, or as I've suggested, avoid doing anything that causes virtualized files in the first place. Jim Bufalini From scott at tactilemedia.com Sun Feb 15 17:42:40 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 15 Feb 2009 14:42:40 -0800 Subject: Accessing Stack-Based Functions from FrontScript? Message-ID: Hi List: Is it possible for a front script to access a function stored in the card script of a palette? I'm trying to minimize code duplication and can't figure out how to have one stack based function available to the stack and a frontscript. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From rjb at robelko.com Sun Feb 15 18:23:44 2009 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 16 Feb 2009 00:23:44 +0100 Subject: [OT] Rev + BBEdit In-Reply-To: References: Message-ID: > http://www.barebones.com/support/bbedit/plugin_library.html > > Your back :-) Has anyone tried to hack Rev to use BBedit as a script editor? I mean to use it in the same fashion as an external icon editor. Being able to select a script editor program used to be part of the standard distro under unix. For those who don't know, one can edit icons in Rev by selecting an external editor. Rev creates a temp file and tells the other program to open it. After one finishes editing, that file is saved. Rev displays a dialog in the meantime, which one clicks to bring the updated image back into Rev. Robert From alex at tweedly.net Sun Feb 15 18:57:05 2009 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 15 Feb 2009 23:57:05 +0000 Subject: way to inform rev apps to get something from web server In-Reply-To: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> References: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> Message-ID: <4998ABD1.6000204@tweedly.net> Jim Sims wrote: > Here is what I want to do: > > Lets say I have a large number of rev apps that will go to a web > server and grab some data/image when told to do so (when given a > signal to do so). > > I could have these apps poll a text file or something on a web server > every so many minutes but I want a less 'bandwidth wasteful' way to > inform these apps to act. > > What is the best way to do this? UDP? TCP server/client? Something else? > What obstacles might I encounter? When you say "large number of apps", do you really mean "a large number of users, for one or more apps" ? and, what do you mean by 'large' ? 10s, 100s, 1000s, millions ? How urgent is it that they get the update once it is available ? How essential is it that they are informed quickly ? What kind of users / environment are you in ? If it's over the Internet. with general end-users then you need to deal with firewalls and NATs - so probably need to avoid UDP, and can't do any server-triggered TCP connections. That leaves polling of some kind over TCP .... but polling a text file may not be the best way; instead, create a CGI script that takes a URL containing the last 'version' or 'timestamp' that the client has already picked up, and gives a reply telling the client whether to proceed or not. If you don't need to deal with (or can control) firewalls / NATs then do the same polling, but use UDP for it - this makes each poll be (typically) only 2 packets, rather than the 4-6 minimum for TCP (so lower bandwidth, and much lower overhead on the server). Though that may not matter if 'large' only means hundreds or a handful of thousands (remember: 1000 users polling every 4 minutes is only 4 requests per second - hardly noticable to a decent web server). If firewall/NAT is not an issue, and updating is urgent, and numbers are truly large, then consider the more complex scheme of having a longer pollling cycle (say every 20 minutes), but part of the polling informs the server of the client's IP address/socket, and the server sends a trigger (e.g. UDP) when there is an update available. btw - are the updates/events truly random timing ? or could the server have some idea of when the next update will be available ? If so, have the reply to the polls include an estimated 'next event time', so the client can vary his polling cycle. And also consider trying to keep the polling times random. You want to avoid the case where the clients will align their query times, causing surges of queries (and indeed of eventual updates); the simplest way is probably to make the pollling times be (say) 120 seconds +/- random(20 seconds). -- Alex. From JimAultWins at yahoo.com Sun Feb 15 19:11:26 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 15 Feb 2009 16:11:26 -0800 Subject: Accessing Stack-Based Functions from FrontScript? In-Reply-To: Message-ID: On 2/15/09 2:42 PM, "Scott Rossi" wrote: > Hi List: > > Is it possible for a front script to access a function stored in the card > script of a palette? I'm trying to minimize code duplication and can't > figure out how to have one stack based function available to the stack and a > frontscript. > I think I know what you are trying to do, and this is one idea that might work for you. When the palette stack opens, on opencard insert the script of this card into back end opencard on closecard remove the script of this card from back end closecard This might work better with preopenstack, or openstack, but you get the idea. I would prefer this to a 'send' command. Jim Ault Las Vegas From katheryn.swynford at gmail.com Sun Feb 15 19:21:03 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Sun, 15 Feb 2009 16:21:03 -0800 Subject: Music duration In-Reply-To: <686F5B35-23DA-40D9-AF84-E50830E3016A@online.fr> References: <686F5B35-23DA-40D9-AF84-E50830E3016A@online.fr> Message-ID: <4be051070902151621t156802d3sb6ba3246bfe470ce@mail.gmail.com> While looking for info on HC's old way of doing scripted musical generation, I came across this page: http://www.kenjikojima.com/pi/htmlFiles/program.html Apparently, it's some sort of Rev port of an earlier HC work. >From the parent page: *OVERVIEW:* ------------------------------ *String Quartet Pi / Kenji Kojima* * The music was created from the constant ? (Pi*) to 3,000 decimal places. I believed many artists and scientists have tried same idea before. I should rather say "String Quartet Pi" was one of interpretations of Pi music. The constant was always same, however as the result of each music by an interpretation was accompany sense of beauty of composers. One of purposes of this creation was beyond human being performance. I hope you can enjoy the music and the reading process of the data. 2004, Kenji Kojima * Click on the top-left of QuickTime controller and listen it. *A SEED OF THE MUSIC :* * The constant Pi is used from the first number 3 to until under the point 3,000 decimal places. *MUSICAL NOTATION / PROGRAMMING :* * The score adopted with same musical notation that was play command of HyperTalk a script language of Apple's HyperCard. And it was extended to other MIDI functions that was PMD (Play Midi Data). A number plus one is a step of chromatic scale is upped. For Ex. If the number 3 is C, 4 is C#. The center C is set to the absolute pitch 60 for the application player* which plays MIDI instruments by numeric steps. C# that is next of center C is absolute pitch 61. Next D is 62. Judy http://revined.blogspot.com On Thu, Feb 12, 2009 at 1:13 AM, Ren? Micout wrote: > Thank you VERY much Kurt !!! > I will look it (that ?) this week-end. If there are still "dark" ("obscur" > in french), I will ask you some explanation. > Ren? > > Le 12 f?vr. 09 ? 01:02, Kurt Kaufman a ?crit : > > > "...I know your work and I appreciate it, but.... but... >> It is a little bit complex for me :-( >> I dont understand binaryEncode(etc...) >> and also the bridge between Revolution (code) and Midi..." >> >> Ren?, >> >> I know it looks complicated. I think it would take me a while to figure >> it out again, even though I commented the scripts fairly heavily! >> But once you understand what makes up a MIDI file, which parts are >> constant (always the same in every MIDI file of that type), and which parts >> are variable (different in each music track), you see that it is not that >> complex. If you look at the MIDI format document, you'll see the various >> parts described in the order in which they appear. >> >> At least MIDI files are generally not very big, so if you want to open >> them up using a Hex editor, you're not scanning a tremendous amount of data. >> To that end I would use MIDI Builder to create a MIDI file with a single >> note, and then take a look using HexEdit: >> >> http://sourceforge.net/project/showfiles.php?group_id=9366 >> (there's a French version, too) >> >> Now compare what's in the MIDI format document with what you see in the >> HexEdit. >> >> Rev's binaryEncode function is called after all of the various parts of >> the data have been set up, as most of the MIDI data cannot be represented by >> ascii (it's not printable, for the most part). But the binaryEncode >> function is automatic; you just have to give the function its data and the >> proper parameters, and Rev does the rest. Rev makes it easy: You can simply >> add the successive bytes of encoded data "after" what's already there. The >> file can be created in a fraction of a second and played almost immediately. >> Rev's QT player object handles most of the work, you just have to send it >> data that it understands. >> >> Hope this helps, >> Kurt >> >> further info: >> http://crystal.apana.org.au/ghansper/midi_introduction/ >> midi_file_format.html >> http://www.harmony-central.com/MIDI/Doc/doc.html >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Sun Feb 15 20:13:30 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun, 15 Feb 2009 20:13:30 -0500 Subject: Music duration Message-ID: Judy Perry wrote: > While looking for info on HC's old way of doing scripted musical > generation, I came across this page: > http://www.kenjikojima.com/pi/htmlFiles/program.html > Apparently, it's some sort of Rev port of an earlier HC work.... If I remember correctly, didn't HC use a scriptable system to re- sample sound resources? I don't think it had anything to do with MIDI per se. Concerning scripted MIDI sequence generation: Udi's makeSMF: http://homepage.mac.com/udi/stack/makeSMF133.hqx JLG's shakobox: http://www.hyperactivesw.com/shakobox.html -KK From katheryn.swynford at gmail.com Sun Feb 15 20:27:55 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Sun, 15 Feb 2009 17:27:55 -0800 Subject: Music duration In-Reply-To: References: Message-ID: <4be051070902151727s5674ed52wb8ee83d16549d24c@mail.gmail.com> Right (I think); what I am reading is that HC modified the pitch of a sound resource to simulate MIDI; the scripter would write something like: play flute c3e ebq -- etc etc. and the engine translated c3e into a modified pitch of the flute sound such that third octave C key would be played as an eighth note (for the first note) etc. Yeah, I'm playing with Shakobox (again). Is there some way of sucking in Bettancourt's PlayCommand Agent X into a stack as a custom property, spitting it out when needed, then deleting it? I must admit I never had the opportunity to get into custom props... Thank you, Judy http://revined.blogspot.com On Sun, Feb 15, 2009 at 5:13 PM, Kurt Kaufman wrote: > Judy Perry wrote: > > While looking for info on HC's old way of doing scripted musical >> generation, I came across this page: >> http://www.kenjikojima.com/pi/htmlFiles/program.html >> Apparently, it's some sort of Rev port of an earlier HC work.... >> > > If I remember correctly, didn't HC use a scriptable system to re-sample > sound resources? I don't think it had anything to do with MIDI per se. > Concerning scripted MIDI sequence generation: > > Udi's makeSMF: > http://homepage.mac.com/udi/stack/makeSMF133.hqx > > JLG's shakobox: > http://www.hyperactivesw.com/shakobox.html > > -KK > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Sun Feb 15 21:11:33 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 16 Feb 2009 10:11:33 +0800 Subject: [OT] 1234567890 epoch time In-Reply-To: <131120094906.20090214182624@ahsoftware.net> References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> <1359135843.20090213113705@ahsoftware.net> <17437281031.20090213192610@ahsoftware.net> <645D6975-F5E8-4738-B6DC-40E5AFEB67C4@rcn.com> <131120094906.20090214182624@ahsoftware.net> Message-ID: On Sun, Feb 15, 2009 at 10:26 AM, Mark Wieder wrote: > > Thanks, that one worked. Cute - it's "morse" in Morse code. Twice, > with the second time blending into the opening bars. > Well it is, and it isn't. Clearly, due to the needs of musical timing and beat, the code timing has been modified to make it musically acceptable, it's certainly close, but definitely more music than morse. given that a timing unit = T dit = T dah = 3T space between dit/dah = T space between characters = 3T space between words = 7T If you open something like GarageBand, which effectively prevents any musical nuance an plays only timing perfection, and enter: dah T dah 3T dah T dah T dah 3T dit T dah T dit 3T dit T dit T dit T 3T dit 3T dah T dah 3T dah T dah T dah 3T dit T dah T dit 3T dit T dit T dit T 3T dit = moresemorse and play it back, you'll soon hear the difference between the theme song and true morse. If, as I did, you then add a simple drum beat, you soon appreciate how quickly morse gets out of sync. It's worse if you do 'morse morse' as opposed to 'morsemorse'. A precussionist can take a drum, triangle, wood block and play a beat that sounds musical. Use the same instrument to send morse code and it immediately doesn't sound like music, but sounds like.... morse. For those who haven't seen this, the 'sms' guy in the clip had just won a competition as the fastest sms'er in the country http://www.youtube.com/watch?v=mQaXjqfAgkQ Sorry ;-( From lan.kc.macmail at gmail.com Sun Feb 15 21:21:40 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 16 Feb 2009 10:21:40 +0800 Subject: [OT] Rev + BBEdit In-Reply-To: References: Message-ID: On Mon, Feb 16, 2009 at 7:23 AM, Robert Brenstein wrote: > > Has anyone tried to hack Rev to use BBedit as a script editor? Ken (spot my grammatical error) Ray's STS/MLXEditor might be what your looking for: http://www.sonsothunder.com/devres/revolution/downloads.htm Go to the bottom of the page. It does have limitations. HTH From ambassador at fourthworld.com Sun Feb 15 21:25:35 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 15 Feb 2009 18:25:35 -0800 Subject: [OT] Rev + BBEdit Message-ID: <4998CE9F.7040600@fourthworld.com> Robert Brenstein wrote: > Has anyone tried to hack Rev to use BBedit as a script editor? What would you like to see in an editor that's not in the ones available yet? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From mwieder at ahsoftware.net Sun Feb 15 21:45:05 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 Feb 2009 18:45:05 -0800 Subject: [OT] 1234567890 epoch time In-Reply-To: References: <20090211180004.1DC7C48A617@mail.runrev.com> <150249761593.20090213081149@ahsoftware.net> <89C1320C-5B85-47F1-92D3-984F23A7D1EB@ezpzapps.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> <1359135843.20090213113705@ahsoftware.net> <17437281031.20090213192610@ahsoftware.net> <645D6975-F5E8-4738-B6DC-40E5AFEB67C4@rcn.com> <131120094906.20090214182624@ahsoftware.net> Message-ID: <115207616437.20090215184505@ahsoftware.net> Kay- Sunday, February 15, 2009, 6:11:33 PM, you wrote: > Well it is, and it isn't. Clearly, due to the needs of musical timing and > beat, the code timing has been modified to make it musically acceptable, > it's certainly close, but definitely more music than morse. That misses the point, though. The code was clear and understandable (and slow enough that even I could pick it up without problems). -- -Mark Wieder mwieder at ahsoftware.net From lan.kc.macmail at gmail.com Sun Feb 15 22:54:37 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 16 Feb 2009 11:54:37 +0800 Subject: [OT] 1234567890 epoch time In-Reply-To: <115207616437.20090215184505@ahsoftware.net> References: <20090211180004.1DC7C48A617@mail.runrev.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> <1359135843.20090213113705@ahsoftware.net> <17437281031.20090213192610@ahsoftware.net> <645D6975-F5E8-4738-B6DC-40E5AFEB67C4@rcn.com> <131120094906.20090214182624@ahsoftware.net> <115207616437.20090215184505@ahsoftware.net> Message-ID: On Mon, Feb 16, 2009 at 10:45 AM, Mark Wieder wrote: > > That misses the point, though. The code was clear and understandable > (and slow enough that even I could pick it up without problems). > For me, because of the timing, I got confused and had to listen to it several times to get the message. From lan.kc.macmail at gmail.com Sun Feb 15 23:03:04 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 16 Feb 2009 12:03:04 +0800 Subject: [OT] Rev + BBEdit In-Reply-To: <4998CE9F.7040600@fourthworld.com> References: <4998CE9F.7040600@fourthworld.com> Message-ID: On Mon, Feb 16, 2009 at 10:25 AM, Richard Gaskin wrote: > > What would you like to see in an editor that's not in the ones available > yet? > clippings/boilerplates find differences parentheses balancing OTTOMH From jerry.daniels at me.com Sun Feb 15 23:04:35 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Sun, 15 Feb 2009 22:04:35 -0600 Subject: ListMagic Printing In-Reply-To: <005701c98fb1$d95fb000$8c1f1000$@com> References: <004201c98e60$179cdad0$46d69070$@com> <278E2302-FC23-450A-9867-08F71443C10D@mac.com> <005701c98fb1$d95fb000$8c1f1000$@com> Message-ID: <864075AD-5CAA-4316-B883-D34532B9F45E@me.com> Jim, Bob... Mark and I are on this. It's having to do with protected sub-stacks, it seems. Jerry http://glx2.com On Feb 15, 2009, at 3:10 PM, Jim Bufalini wrote: > Hi Bob, > > Thank you for taking the time be more explanative. As a result, I > was able > to duplicate the problem. It is due to a combination of factors: > > 1. Running LMPrint from the message box. > 2. Running GLX2. > 3. A bug in one ListMagic's print formatting handlers. > > The spinning beach ball is coming from GLX2 trying to report an > error coming > from a locked stack (I'll let Jerry know). Disabling the revGLX2 > Code plugin > results in a Rev error that says it can't tell you exactly what it is > because the stack is locked. But there is no hang. Lastly, the cause > of the > error in the first place being the bug in one of ListMagic's print > formatting handlers. > > I'll release a update within the next couple of days that will > correct this > as well as some other minor issues reported. > > Once again, thanks for taking the time to report the problem. We'll > get > corrected in short order. > > Jim Bufalini > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Robert Sneidar >> Sent: Saturday, February 14, 2009 11:15 AM >> To: How to use Revolution >> Subject: Re: ListMagic Printing >> >> Hi Jim. Sorry didn't mean to come off that way. >> >> I used the lmprint command from the message box. I got the page setup >> and print dialogs ok. I chose Format For and chose a local printer on >> the network. When I got to the print dialog I clicked the Preview >> button. It was at that point I got the Printing dialog and the >> spinning beach ball. That went on for over a minute at which point I >> treid to cancel. It then changed to cancelling printing but never >> actually did. I didn't try again. I had to quit Revolution which i >> did >> via the keyboard. Every attempt to open a card containing a listmagic >> object after that threw errors so I had do delete the listmagic >> objects and scriptingi can try again and see if I get the same >> problem. I will say that I had recently used the VAB in GLX2 which I >> have had problems with so let me reproduce the error and get back to >> you. >> >> Bob Sneidar >> IT Manager >> Calvary Chapel CM >> Sent from iPhone From coiin at rcn.com Sun Feb 15 23:18:29 2009 From: coiin at rcn.com (Colin Holgate) Date: Sun, 15 Feb 2009 23:18:29 -0500 Subject: [OT] 1234567890 epoch time In-Reply-To: References: <20090211180004.1DC7C48A617@mail.runrev.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> <1359135843.20090213113705@ahsoftware.net> <17437281031.20090213192610@ahsoftware.net> <645D6975-F5E8-4738-B6DC-40E5AFEB67C4@rcn.com> <131120094906.20090214182624@ahsoftware.net> <115207616437.20090215184505@ahsoftware.net> Message-ID: On Feb 15, 2009, at 10:54 PM, Kay C Lan wrote: > For me, because of the timing, I got confused and had to listen to it > several times to get the message. It does help a lot when you're watching the TV programme, and there's a huge word MORSE going across the screen. I once made up a story about how Beethoven was stuck for ideas after his 4th symphony, so he phoned around (it is a fictional story...), and one person suggested that he should call the next piece his "5th symphony", and because the Roman numeral for 5 was V, and V was for Victory, it should be call The Victory too. With the naming out of the way, he had to think about how it started, and so called up his friend Morse. Morse told him "well, V is Dit Dit DIt Dah in morse code, why not try that...". From mwieder at ahsoftware.net Sun Feb 15 23:31:04 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 Feb 2009 20:31:04 -0800 Subject: [OT] 1234567890 epoch time In-Reply-To: References: <20090211180004.1DC7C48A617@mail.runrev.com> <1633177390.20090213095746@ahsoftware.net> <0EFCDFC6-C2B3-4893-8B60-6817B059400E@rcn.com> <1359135843.20090213113705@ahsoftware.net> <17437281031.20090213192610@ahsoftware.net> <645D6975-F5E8-4738-B6DC-40E5AFEB67C4@rcn.com> <131120094906.20090214182624@ahsoftware.net> <115207616437.20090215184505@ahsoftware.net> Message-ID: <79213975281.20090215203104@ahsoftware.net> Kay- Sunday, February 15, 2009, 7:54:37 PM, you wrote: > For me, because of the timing, I got confused and had to listen to it > several times to get the message. I was probably helped along by having several of the letters in my name, and the others are in SOS... -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Feb 15 23:35:56 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Feb 2009 22:35:56 -0600 Subject: McAfee virus detection deletes valid file Message-ID: <4998ED2C.1050608@hyperactivesw.com> I am working with a developer who has written a custom VBA module for XP and Vista. McAfee identifies this module as a virus and deletes it, which renders a large part of our software useless. The module does create and delete some temporary files, and also sends a shell command that launches our Rev app. We don't know if either of these things makes a difference. Does anyone know what McAfee might be looking for, and how to avoid its false positive? Norton's ignores the module correctly. We are supposed to send this out in the next couple of days, so any help would be much appreciated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Feb 15 23:40:35 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 Feb 2009 20:40:35 -0800 Subject: [OT] Rev + BBEdit In-Reply-To: References: <4998CE9F.7040600@fourthworld.com> Message-ID: <19214546671.20090215204035@ahsoftware.net> Kay- Sunday, February 15, 2009, 8:03:04 PM, you wrote: >> What would you like to see in an editor that's not in the ones available >> yet? >> > clippings/boilerplates > find differences > parentheses balancing conditional balancing folding conditionals macros integrated version control integrated lint refactoring support plugin facility for tools -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sun Feb 15 23:48:16 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 15 Feb 2009 20:48:16 -0800 Subject: [OT] Rev + BBEdit Message-ID: <4998F010.9090104@fourthworld.com> Kay C Lan wrote: > On Mon, Feb 16, 2009 at 10:25 AM, Richard Gaskin > wrote: >> What would you like to see in an editor that's not in the ones available >> yet? > > clippings/boilerplates > find differences > parentheses balancing Those shouldn't be deal-breakers with a tool as flexible as Rev. Forgive me if I'm a bit of a Rev snob for text editing, but I find the engine so responsive and text editing such a personal thing that I can't imagine editing in a tool I couldn't take apart. :) If you use MC I can send you the latest ROSE (Rev Open Source Editor) which has some of that, though I hadn't thought about paren balancing; good idea. For Rev users, are these in GLX2/on GLX2's list? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From sims at ezpzapps.com Mon Feb 16 00:36:53 2009 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 16 Feb 2009 06:36:53 +0100 Subject: way to inform rev apps to get something from web server In-Reply-To: <4998ABD1.6000204@tweedly.net> References: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> <4998ABD1.6000204@tweedly.net> Message-ID: Thank you Pierre and Alex. On Feb 16, 2009, at 12:57 AM, Alex Tweedly wrote: > Jim Sims wrote: >> Here is what I want to do: >> >> Lets say I have a large number of rev apps that will go to a web >> server and grab some data/image when told to do so (when given a >> signal to do so). >> >> I could have these apps poll a text file or something on a web >> server every so many minutes but I want a less 'bandwidth >> wasteful' way to inform these apps to act. >> >> What is the best way to do this? UDP? TCP server/client? Something >> else? >> What obstacles might I encounter? > When you say "large number of apps", do you really mean "a large > number of users, for one or more apps" ? > and, what do you mean by 'large' ? 10s, 100s, 1000s, millions ? I'm discussing the development of a promotional marketing tool with someone who services the internet gaming industry here in Malta (poker, bingo, casino, etc.). About ten years ago he did something similar with a software company that went on to sell a license to the BBC. They had problems when they tried to scale to the large numbers of users the BBC threw at them. So, a few thousand users would be the starting point. Most gambling companies have around 3-6,000 hardcore users but tons of occasional users. > How urgent is it that they get the update once it is available ? > How essential is it that they are informed quickly ? As we are talking marketing communication, it does not need to be within seconds, but within minutes would be nice. > What kind of users / environment are you in ? Individual users who would be doing this from their home machines (mostly). Some might be doing it from work environments but that would be 'bad behavior' methinks ;-) > If it's over the Internet. with general end-users then you need to > deal with firewalls and NATs - so probably need to avoid UDP, and > can't do any server-triggered TCP connections. That leaves polling > of some kind over TCP .... but polling a text file may not be the > best way; instead, create a CGI script that takes a URL containing > the last 'version' or 'timestamp' that the client has already picked > up, and gives a reply telling the client whether to proceed or not. What I have already concocted is the text file only contains the name of the last version presented (the name is the milliseconds plus .txt), when the users application gets that number it checks locally with a userProp that contains the name of the last version they saw. I've been thinking of having the polling take place very five minutes or so as this is not a life threatening situation or crucial (although Marketing guys can be 'life threatening' ;-) > If you don't need to deal with (or can control) firewalls / NATs > then do the same polling, but use UDP for it - this makes each poll > be (typically) only 2 packets, rather than the 4-6 minimum for TCP > (so lower bandwidth, and much lower overhead on the server). Though > that may not matter if 'large' only means hundreds or a handful of > thousands (remember: 1000 users polling every 4 minutes is only 4 > requests per second - hardly noticable to a decent web server). > > If firewall/NAT is not an issue, and updating is urgent, and numbers > are truly large, then consider the more complex scheme of having a > longer pollling cycle (say every 20 minutes), but part of the > polling informs the server of the client's IP address/socket, and > the server sends a trigger (e.g. UDP) when there is an update > available. So, firewalls and NAT are the major considerations here it seems. Control of them is the determining factor over what I can/should do. If I understand you, then UDP is probably not going to get the job done as there will be a wide variety of users, all with individual ISP and firewall setups that are not in my control. Maybe my original design is close to the mark (polling). Polling every 20 - 30 minutes is a possibility. Being consistent with the timing so every user has equal odds is the important thing. I suppose they could poll once an hour if need be, but being able to say more frequently helps my Marketing message in selling this ;-) > btw - are the updates/events truly random timing ? or could the > server have some idea of when the next update will be available ? > If so, have the reply to the polls include an estimated 'next event > time', so the client can vary his polling cycle. Totally random - when the Marketing dudes want to release some promotion then they will use this. I would anticipate it only being used a handful of times per day. > And also consider trying to keep the polling times random. You want > to avoid the case where the clients will align their query times, > causing surges of queries (and indeed of eventual updates); the > simplest way is probably to make the pollling times be (say) 120 > seconds +/- random(20 seconds). As the polling will initiate according to when they start their application then it should be random anyway. Thanks for the extensive reply Alex! sims From sunshine at public.kherson.ua Mon Feb 16 02:28:53 2009 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon, 16 Feb 2009 09:28:53 +0200 Subject: mySQL on ISP cannot be used for free by customers of ISP In-Reply-To: <4998703B.5050509@fourthworld.com> Message-ID: On 2/15/09 9:42 PM, "Richard Gaskin" wrote: Hi Richard, > Ruslan, I couldn't find the original post you quoted. Where did this > thread originate? > It would be ironic in a discussion of copyright protection to have > material copied without permission from the author. ;) It is from my private discussion with Thorsten. If you want you can contact him to get more info. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From toolbook at kestner.de Mon Feb 16 02:49:05 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 16 Feb 2009 08:49:05 +0100 Subject: AW: Problems deleting folders on Vista - error #? In-Reply-To: <005901c98fb7$3da5c130$b8f14390$@com> Message-ID: <0326BAF9CB84490F98E5231653F196E9@Kestner.local> Hi Jim, thank you for your detailed explanation, I'll give it a try, sound good! Tiemo > > Yes. Create a small command that just deletes a file or folder passed to > it. > Then, in your repeat loop use a *send "" && " and/or folder path>" to me in 5 milliseconds* Make sure to use the in-time > form. What this will do will cause the sends to not be executed until both > the repeat loop and handler that has the repeat exits. This allows both > the > rev engine and OS to do their work in between each delete (or create). You > may even be able to use 0 milliseconds for this. But don't use waits in > the > repeat. All that will do is slow up the repeat loop and not solve the > issue. > > Jim Bufalini > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Mon Feb 16 03:07:43 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 16 Feb 2009 09:07:43 +0100 Subject: AW: Where to put an ini file on Win with write access for all users? In-Reply-To: <005d01c98fbd$3d8950d0$b89bf270$@com> Message-ID: <8BBD15A206C94EAC97C9E9DEB088368F@Kestner.local> Hi Jim, very enlightening, but still some follow up questions :) I know the word legacy, but am not sure, what is a legacy file? What makes Vista to recognize my Ini.xml as a legacy file, could I give it another name or dir (and being accessed by all users) to not being a legacy file and being virtualized? - Your proposal to use the registry is right now a too big redesign for me. What you told about SQLite, happens by the way also with my Valentina db. Right now, I just need read only, but I wouldn't know what to do with read/write and virtualization of the db.... Thanks for your valuable coaching! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Jim Bufalini > Gesendet: Sonntag, 15. Februar 2009 23:32 > An: 'How to use Revolution' > Betreff: RE: Where to put an ini file on Win with write access for all > users? > > Hi Tiemo > > > I have an ini file, which should be accessed read/write by every user > > on the > > machine, so it can't be in the user dir. > > > > I choose specialfolderpath("35") & "\" & myFolder which is on XP: > > C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\myFolder and > > on > > Vista C:\ProgramData\myFolder > > > > On a XP machine I don't have write access to this ini file with a > > different > > user, as having created the file. I could catch the error and tell the > > user, > > he should give permissions to that file for all users. Not nice, but a > > chance. On Vista I don't get an error when trying to write to that file > > with > > a different user, Vista just virtualises the ini file in the user dir > > of the > > other user and from now on I have an ini file for each user, what is a > > mess, > > because there are common options, which should be the same for all > > users. > > > > Any coaching how to handle this correctly very appreciated! > > Ini files are considered a legacy file structure by Vista. Vista > virtualizes > anything it considers legacy under an identical directory tree under each > user's virtualstore directory. Use the registry instead to store ini kind > of > information. The registry was originally dreamed up to replace ini files > and > then immediately expanded from there. > > This is why it is so, so, so important that Rev gets around to updating > the > SQLite engine embedded in the dbsqlite.dll driver. The SQLite engine > shipped > with Rev is pre-Vista and not forward compatible. As soon as you create a > data file, Vista identifies both your app and data file as legacy and > virtualizes the database file by making a copy of it. Everything seems > fine > until you close your app and launch it again and try to read updated data > from the previous session. It appears to have all disappeared. What has > actually happened is all the writes went to the virtualized file(s) - one > for each user, and you have a mess. This virtualization doesn't happen > with > later versions of the SQLite engine. > > Jim Bufalini > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Mon Feb 16 03:24:48 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 16 Feb 2009 09:24:48 +0100 Subject: AW: How is the virtualStore beeing deleted on Vista? In-Reply-To: <005e01c98fbe$82b2e490$8818adb0$@com> Message-ID: Hi Jim, Wow, even if I would want to create a cleanup, I had to read all possible user profiles on the machine (don't know, if that is possible at all) and delete their virtualStores of my files. That means, as long as I have virtualized files in my app, I'll let them where they are, as corrupted Russian satellites in the orbit, until they fall down... Thanks for the bad news - great Vista! Tiemo > > To the best of my knowledge, Vista virtualizes files by copying them but > does not manage or delete these virtualized files when the originals are > deleted. You have to manage this yourself, or as I've suggested, avoid > doing > anything that causes virtualized files in the first place. > > Jim Bufalini > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From th.douez at gmail.com Mon Feb 16 03:51:30 2009 From: th.douez at gmail.com (Thierry) Date: Mon, 16 Feb 2009 09:51:30 +0100 Subject: [OT] Rev + BBEdit In-Reply-To: <4998CE9F.7040600@fourthworld.com> References: <4998CE9F.7040600@fourthworld.com> Message-ID: Le 16 f?vr. 09 ? 03:25, Richard Gaskin a ?crit : > Robert Brenstein wrote: > > Has anyone tried to hack Rev to use BBedit as a script editor? > > What would you like to see in an editor that's not in the ones > available yet? Using the facilities, functionalities, looking as the ones I'm used to when coding with other languages. Regards, Thierry From luis at anachreon.co.uk Mon Feb 16 05:37:14 2009 From: luis at anachreon.co.uk (Luis) Date: Mon, 16 Feb 2009 10:37:14 +0000 Subject: McAfee virus detection deletes valid file In-Reply-To: <4998ED2C.1050608@hyperactivesw.com> References: <4998ED2C.1050608@hyperactivesw.com> Message-ID: Hiya, Is this the Enterprise version of McAfee? I'm not sure if the same applies to the consumer versions: In the On-Access Scan Properties you can set an exception in the ScriptScan tab. Failing that, you can tell it to exclude scanning a specific folder (where the actions and the script reside). If it's the Enterprise version then ePO can push the exception/s to all users, so you don't have to change each one individually. If the above doesn't help it may be that the security settings in an Office app are triggering McAfee. Cheers, Luis. On 16 Feb 2009, at 04:35, J. Landman Gay wrote: > I am working with a developer who has written a custom VBA module > for XP and Vista. McAfee identifies this module as a virus and > deletes it, which renders a large part of our software useless. The > module does create and delete some temporary files, and also sends > a shell command that launches our Rev app. We don't know if either > of these things makes a difference. > > Does anyone know what McAfee might be looking for, and how to avoid > its false positive? Norton's ignores the module correctly. > > We are supposed to send this out in the next couple of days, so any > help would be much appreciated. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rjb at robelko.com Mon Feb 16 05:57:12 2009 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 16 Feb 2009 11:57:12 +0100 Subject: [OT] Rev + BBEdit In-Reply-To: <19214546671.20090215204035@ahsoftware.net> References: <4998CE9F.7040600@fourthworld.com> <19214546671.20090215204035@ahsoftware.net> Message-ID: On 15.02.09 at 20:40 -0800 Mark Wieder apparently wrote: >Kay- > >Sunday, February 15, 2009, 8:03:04 PM, you wrote: > >>> What would you like to see in an editor that's not in the ones available >>> yet? >>> > >> clippings/boilerplates >> find differences >> parentheses balancing > >conditional balancing >folding conditionals >macros >integrated version control >integrated lint >refactoring support >plugin facility for tools > >-- >-Mark Wieder > mwieder at ahsoftware.net also powerful Search/Replace which optionally uses GREP with optional Find All search mode cTags a number of little things... including the feel BBEdit offers an applevents suite to make such an integration easier: http://www.barebones.com/support/develop/odbsuite.html An additional factor for me: since I use BBEdit to work with most other things I do, having to switch to Rev's editor on and off requires an additional effort, I mean cognitive/mental effort, like having to switch in my brain to a different set of keyboard shortcuts and other operational aspects. Not really a big deal in the big scheme of things but... don't we all like a bit of comfort? Bear in mind, I have been using BBedit for 17-18 years. Robert From toolbook at kestner.de Mon Feb 16 06:40:13 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 16 Feb 2009 12:40:13 +0100 Subject: Any workaround for corrupted title bar with QT player found? Message-ID: <5CA91AFA86C747C5AECC4493FBFA5D69@Kestner.local> Hello, being in the last Beta tests with my Rev 3.0, Build 750 app, with QT player, I still get on some XP machines the corrupted title bar, on other XP machines not. Up to now, I don't even find the difference between these machines. There is a pretty long QCC report 6235 with different trys of workarounds. I tried some of them, including "set the revRuntimeBehaviour to 4" without success. Has anybody found a workaround, beside Scott Rossis "Titlebar Bug Workaround Challenge"? which is right now too much for me :-) Being shortly before release any hint is appreciated! Thanks Tiemo From toolbook at kestner.de Mon Feb 16 09:34:41 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 16 Feb 2009 15:34:41 +0100 Subject: How to launch an app on top of the finder? Message-ID: Hello, probably an easy one for the Mac guys: When starting app 1 in the finder it launches app 2, BUT app 2 is being launched behind the finder window. Same result if I do just "launch myApp" or using "tell application finder to open myApp with applescript" Any idea, how to bring app 2 on top of all windows? Thank you Tiemo From andre at andregarzia.com Mon Feb 16 09:37:21 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 Feb 2009 11:37:21 -0300 Subject: [OT] Rev + BBEdit In-Reply-To: <19214546671.20090215204035@ahsoftware.net> References: <4998CE9F.7040600@fourthworld.com> <19214546671.20090215204035@ahsoftware.net> Message-ID: <7c87a2a10902160637g26e19b89ja7f633743aefe9aa@mail.gmail.com> For my Christmas or Ganesha Chatturti or Solstice, I want: Macros Diff Plugin facility so we can integrate Git On Mon, Feb 16, 2009 at 1:40 AM, Mark Wieder wrote: > Kay- > > Sunday, February 15, 2009, 8:03:04 PM, you wrote: > >>> What would you like to see in an editor that's not in the ones available >>> yet? >>> > >> clippings/boilerplates >> find differences >> parentheses balancing > > conditional balancing > folding conditionals > macros > integrated version control > integrated lint > refactoring support > plugin facility for tools > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Mon Feb 16 09:46:53 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 Feb 2009 11:46:53 -0300 Subject: way to inform rev apps to get something from web server In-Reply-To: References: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> <4998ABD1.6000204@tweedly.net> Message-ID: <7c87a2a10902160646q7bc72481k958563177584d756@mail.gmail.com> Sims, I think the trick is not on the client side but on the server side. Instead of pointing your Rev client to a fixed server, use a balancing solution, there are load balancers that are able to distribute the request among multiple servers so that you can scale (add more servers) as needed without the need to rewrite things. This way you script your app normally, but on the server you put enough logic so that you can add more servers to a pool if you see that it is getting hard to cope with the demand. One good balancer is 'Pound': http://www.apsis.ch/pound/ With a solution like that you'll be able to plan your scaling needs. :D andre On Mon, Feb 16, 2009 at 2:36 AM, Jim Sims wrote: > Thank you Pierre and Alex. > > On Feb 16, 2009, at 12:57 AM, Alex Tweedly wrote: > >> Jim Sims wrote: >>> >>> Here is what I want to do: >>> >>> Lets say I have a large number of rev apps that will go to a web server >>> and grab some data/image when told to do so (when given a signal to do so). >>> >>> I could have these apps poll a text file or something on a web server >>> every so many minutes but I want a less 'bandwidth wasteful' way to inform >>> these apps to act. >>> >>> What is the best way to do this? UDP? TCP server/client? Something else? >>> What obstacles might I encounter? >> >> When you say "large number of apps", do you really mean "a large number >> of users, for one or more apps" ? >> and, what do you mean by 'large' ? 10s, 100s, 1000s, millions ? > > > I'm discussing the development of a promotional marketing tool with someone > who services the internet gaming industry here in Malta (poker, bingo, > casino, etc.). About ten years ago he did something similar with a software > company that went on to sell a license to the BBC. They had problems when > they tried to scale to the large numbers of users the BBC threw at them. So, > a few thousand users would be the starting point. Most gambling companies > have around 3-6,000 hardcore users but tons of occasional users. > > >> How urgent is it that they get the update once it is available ? >> How essential is it that they are informed quickly ? > > As we are talking marketing communication, it does not need to be within > seconds, but within minutes would be nice. > >> What kind of users / environment are you in ? > > > Individual users who would be doing this from their home machines (mostly). > Some might be doing it from work environments but that would be 'bad > behavior' methinks ;-) > > >> If it's over the Internet. with general end-users then you need to deal >> with firewalls and NATs - so probably need to avoid UDP, and can't do any >> server-triggered TCP connections. That leaves polling of some kind over TCP >> .... but polling a text file may not be the best way; instead, create a CGI >> script that takes a URL containing the last 'version' or 'timestamp' that >> the client has already picked up, and gives a reply telling the client >> whether to proceed or not. > > > What I have already concocted is the text file only contains the name of the > last version presented (the name is the milliseconds plus .txt), when the > users application gets that number it checks locally with a userProp that > contains the name of the last version they saw. I've been thinking of having > the polling take place very five minutes or so as this is not a life > threatening situation or crucial (although Marketing guys can be 'life > threatening' ;-) > > >> If you don't need to deal with (or can control) firewalls / NATs then do >> the same polling, but use UDP for it - this makes each poll be (typically) >> only 2 packets, rather than the 4-6 minimum for TCP (so lower bandwidth, and >> much lower overhead on the server). Though that may not matter if 'large' >> only means hundreds or a handful of thousands (remember: 1000 users polling >> every 4 minutes is only 4 requests per second - hardly noticable to a decent >> web server). >> >> If firewall/NAT is not an issue, and updating is urgent, and numbers are >> truly large, then consider the more complex scheme of having a longer >> pollling cycle (say every 20 minutes), but part of the polling informs the >> server of the client's IP address/socket, and the server sends a trigger >> (e.g. UDP) when there is an update available. > > So, firewalls and NAT are the major considerations here it seems. Control of > them is the determining factor over what I can/should do. > > If I understand you, then UDP is probably not going to get the job done as > there will be a wide variety of users, all with individual ISP and firewall > setups that are not in my control. Maybe my original design is close to the > mark (polling). Polling every 20 - 30 minutes is a possibility. Being > consistent with the timing so every user has equal odds is the important > thing. I suppose they could poll once an hour if need be, but being able to > say more frequently helps my Marketing message in selling this ;-) > >> btw - are the updates/events truly random timing ? or could the server >> have some idea of when the next update will be available ? If so, have the >> reply to the polls include an estimated 'next event time', so the client can >> vary his polling cycle. > > Totally random - when the Marketing dudes want to release some promotion > then they will use this. I would anticipate it only being used a handful of > times per day. > >> And also consider trying to keep the polling times random. You want to >> avoid the case where the clients will align their query times, causing >> surges of queries (and indeed of eventual updates); the simplest way is >> probably to make the pollling times be (say) 120 seconds +/- random(20 >> seconds). > > As the polling will initiate according to when they start their application > then it should be random anyway. > > Thanks for the extensive reply Alex! > > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jim at visitrieve.com Mon Feb 16 09:59:54 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 16 Feb 2009 04:59:54 -1000 Subject: Where to put an ini file on Win with write access for all users? In-Reply-To: <8BBD15A206C94EAC97C9E9DEB088368F@Kestner.local> References: <005d01c98fbd$3d8950d0$b89bf270$@com> <8BBD15A206C94EAC97C9E9DEB088368F@Kestner.local> Message-ID: <008101c99047$3a402590$aec070b0$@com> Hi Tiemo, > very enlightening, but still some follow up questions :) > > I know the word legacy, but am not sure, what is a legacy file? Something that for, God knows what reason, Windows feels it needs to protect itself against and so it "sandboxes" it. > What makes Vista to recognize my Ini.xml as a legacy file, could I give > it > another name or dir (and being accessed by all users) to not being a > legacy > file and being virtualized? - Not sure. You can experiment. > Your proposal to use the registry is > right now > a too big redesign for me. It's your call, but what you need to understand is that disk files are owned by user classes. Registry entries are owned by applications. So, once a user(s) gives an application the right to run, it can access the registry. This access is identical on XP and Vista and is irrespective of which user is running the app. Here are two little Functions I use to get you started. To use these, your application should be installed by an installer. All installers will create a default entry for your application in the registry in HKEY_LOCAL_MACHINE\SOFTWARE\\ that has the location of your exe on disk. You can confirm this by running regedit after an install. Warning: DO NOT make ANY changes. Just look! Another caution: The registry is for holding settings, not data. So don't stick anything large there because the registry is read into memory and you don't want to bloat it. With all of the above in mind, these two functions are safe to use. Rename them and put your app name where I've indicated. So if your app is MyRevApp.exe put in MyRevApp: FUNCTION GetRegValue pKey, pType local tKey local tResult ----- put "HKEY_LOCAL_MACHINE\SOFTWARE\\" & pKey into tKey IF pType <> empty THEN put queryregistry(tKey, pType) into tResult ELSE put queryregistry(tKey) into tResult -- assumes text END IF return tResult -- the actual value END GetRegValue ------------------------------------ FUNCTION SetRegValue pKey, pValue, pType local tKey local tResult ----- put "HKEY_LOCAL_MACHINE\SOFTWARE\\" & pKey into tKey IF pType <> empty THEN put setregistry(tKey,pValue,pType) into tResult ELSE put setregistry(tKey,pValue) into tResult -- assumes text END IF return tResult -- true or false END SetRegValue Another consideration: If your app is cross OS, you need to use this only for windows (any version) and not Mac, etc. Since you are only using text (I assume), you can forget about pType. pKey can be any name you dream up. Set it. Then get it. Windows takes care of saving it off to disk. > What you told about SQLite, happens by the way also with my Valentina > db. > Right now, I just need read only, but I wouldn't know what to do with > read/write and virtualization of the db.... I am not a Valentina expert, but I'd be very surprised by this. Back Q3 of 2007, there were lots of complaints by desktop DB users all across the Internet and all the DB manufacturers had to address this issue. I'm sure Valentina addressed it, just like SQLite did. Maybe a Valentina expert can jump in here and tell you and everybody else what to do. As to SQLite, as soon as Rev updates the dbsqlite.dll driver to the latest SQLite engine, you'll be able to use SQLite on Vista without any virtualization. > Thanks for your valuable coaching! > Tiemo Your welcome. Jim Bufalini From jim at visitrieve.com Mon Feb 16 10:02:07 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 16 Feb 2009 05:02:07 -1000 Subject: How is the virtualStore beeing deleted on Vista? In-Reply-To: References: <005e01c98fbe$82b2e490$8818adb0$@com> Message-ID: <008201c99047$8946dc10$9bd49430$@com> LOL > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > Sent: Sunday, February 15, 2009 10:25 PM > To: 'How to use Revolution' > Subject: AW: How is the virtualStore beeing deleted on Vista? > > > Hi Jim, > Wow, even if I would want to create a cleanup, I had to read all > possible > user profiles on the machine (don't know, if that is possible at all) > and > delete their virtualStores of my files. > That means, as long as I have virtualized files in my app, I'll let > them > where they are, as corrupted Russian satellites in the orbit, until > they > fall down... > Thanks for the bad news - great Vista! > Tiemo > > > > > To the best of my knowledge, Vista virtualizes files by copying them > but > > does not manage or delete these virtualized files when the originals > are > > deleted. You have to manage this yourself, or as I've suggested, > avoid > > doing > > anything that causes virtualized files in the first place. > > > > Jim Bufalini > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rjb at robelko.com Mon Feb 16 10:09:30 2009 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 16 Feb 2009 16:09:30 +0100 Subject: [OT] Rev + BBEdit In-Reply-To: <7c87a2a10902160637g26e19b89ja7f633743aefe9aa@mail.gmail.com> References: <4998CE9F.7040600@fourthworld.com> <19214546671.20090215204035@ahsoftware.net> <7c87a2a10902160637g26e19b89ja7f633743aefe9aa@mail.gmail.com> Message-ID: This is actually entered in Quality Control long time ago, as I just found out: http://quality.runrev.com/qacenter/show_bug.cgi?id=2590 Robert From toolbook at kestner.de Mon Feb 16 10:38:44 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 16 Feb 2009 16:38:44 +0100 Subject: AW: Where to put an ini file on Win with write access for all users? In-Reply-To: <008101c99047$3a402590$aec070b0$@com> Message-ID: <9D6E21C718094DAE9F1E2501FA39999E@Kestner.local> Hi Jim, Thank you for coaching, really helpful! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Jim Bufalini > Gesendet: Montag, 16. Februar 2009 16:00 > An: 'How to use Revolution' > Betreff: RE: Where to put an ini file on Win with write access for all > users? > > Hi Tiemo, > > > very enlightening, but still some follow up questions :) > > > > I know the word legacy, but am not sure, what is a legacy file? > > Something that for, God knows what reason, Windows feels it needs to > protect > itself against and so it "sandboxes" it. > > > What makes Vista to recognize my Ini.xml as a legacy file, could I give > > it > > another name or dir (and being accessed by all users) to not being a > > legacy > > file and being virtualized? - > > Not sure. You can experiment. > > > Your proposal to use the registry is > > right now > > a too big redesign for me. > > It's your call, but what you need to understand is that disk files are > owned > by user classes. Registry entries are owned by applications. So, once a > user(s) gives an application the right to run, it can access the registry. > This access is identical on XP and Vista and is irrespective of which user > is running the app. > > Here are two little Functions I use to get you started. To use these, your > application should be installed by an installer. All installers will > create > a default entry for your application in the registry in > HKEY_LOCAL_MACHINE\SOFTWARE\\ that has the location of your > exe on disk. > > You can confirm this by running regedit after an install. Warning: DO NOT > make ANY changes. Just look! Another caution: The registry is for holding > settings, not data. So don't stick anything large there because the > registry > is read into memory and you don't want to bloat it. > > With all of the above in mind, these two functions are safe to use. Rename > them and put your app name where I've indicated. So if your app is > MyRevApp.exe put in MyRevApp: > > FUNCTION GetRegValue pKey, pType > local tKey > local tResult > ----- > put "HKEY_LOCAL_MACHINE\SOFTWARE\\" & pKey > into tKey > IF pType <> empty THEN > put queryregistry(tKey, pType) into tResult > ELSE > put queryregistry(tKey) into tResult -- assumes text > END IF > return tResult -- the actual value > END GetRegValue > ------------------------------------ > FUNCTION SetRegValue pKey, pValue, pType > local tKey > local tResult > ----- > put "HKEY_LOCAL_MACHINE\SOFTWARE\\" & pKey > into tKey > IF pType <> empty THEN > put setregistry(tKey,pValue,pType) into tResult > ELSE > put setregistry(tKey,pValue) into tResult -- assumes text > END IF > return tResult -- true or false > END SetRegValue > > Another consideration: If your app is cross OS, you need to use this only > for windows (any version) and not Mac, etc. Since you are only using text > (I > assume), you can forget about pType. pKey can be any name you dream up. > Set > it. Then get it. Windows takes care of saving it off to disk. > > > What you told about SQLite, happens by the way also with my Valentina > > db. > > Right now, I just need read only, but I wouldn't know what to do with > > read/write and virtualization of the db.... > > I am not a Valentina expert, but I'd be very surprised by this. Back Q3 of > 2007, there were lots of complaints by desktop DB users all across the > Internet and all the DB manufacturers had to address this issue. I'm sure > Valentina addressed it, just like SQLite did. Maybe a Valentina expert can > jump in here and tell you and everybody else what to do. > > As to SQLite, as soon as Rev updates the dbsqlite.dll driver to the latest > SQLite engine, you'll be able to use SQLite on Vista without any > virtualization. > > > Thanks for your valuable coaching! > > Tiemo > > Your welcome. > > Jim Bufalini > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Thu Feb 5 09:52:55 2009 From: dave at looktowindward.com (Dave) Date: Thu, 5 Feb 2009 14:52:55 +0000 Subject: Can anybody HELP !! In-Reply-To: <4981F44A.2060909@hyperactivesw.com> References: <00034262.4975F856@the-office.us> <38493E20-F3F4-423A-8F3B-54571D3B8A52@economy-x-talk.com> <32593EE1-461C-47F4-907F-16E2065A777E@looktowindward.com> <4981F44A.2060909@hyperactivesw.com> Message-ID: <7EA776D1-DDA0-4F5E-8815-4B545C8A980D@looktowindward.com> Hi All, On 29 Jan 2009, at 18:24, J. Landman Gay wrote: > Dave wrote: >> Hi, >> I've been looking at the problem reported by Camm and others and I >> *think* I have found at least part of the problem. The inability >> to save a stack with a password set and the answer dialog enabled. >> In my application, I have a "Dummy" Splash Screen Stack (call it >> "StartUp.rev") that servers as a place holder (as well as other >> things) to build a Standalone from, e.g. when I build a >> Standalone, I (at least initially and subsequently if I want to >> change settings), open the Standalone settings dialog which causes >> an array containing the settings to be written to custom props in >> StartUp.rev. When I look at this stack in the Application Browser, >> I see that there are now two Sub-Stacks in the StartUp.rev file: >> answer dialog >> ask dialog >> Also in the main stack of "StartUp.rev" I find that I have a group >> called "revLibraries", this contains a number of "buttons" that >> have code in them, such as "revXMLRPC, revPrintBack, etc. > > Yes, that's exactly the problem. > >> Is this normal? If not then I think the Standalone builder is >> somehow storing these items in the wrong file. > > Right. It isn't normal, and we'd determined that the files were > being written to the wrong stack. The problem is, we can't make it > happen and no one is sure why it's only happening to Camm (and now > to you.) When we reviewed his example stack, and tested on several > machines, the files were written correctly and the standalone built > fine. Those on the list who also tested it had no issues either. > It's encouraging that you may be able to reproduce it, that would > be very helpful. Ok, good at least I now know it's not normal! One question, if you manually delete the sub-stack and the groups, does it then build ok? How many times did you test it? I can do maybe 20 builds and it's ok, then on a subsequent build it will fail. In order to test this fully you'd need to run it over and over again during course of the day. If this were a problem in one of my Apps and I couldn't reproduce it, I'd do a special version with some code added to pro-actively check for this condition and if so report it. Also code could be added to the rev file that gets built as a standalone to check if these groups/stacks are present, report and/or delete them. >> If you add password protection to this, it *might* be the problem >> people have been reporting. >> Any comments on this greatly appreciated. > > I'm sure you are correct. If you can figure out what is different > about your stack, and if it corresponds to something in Camm's > stack, then we may be able to figure it out. I really don't think there is anything different about my stack, I think potentially it could happen to any stack, it's a bug that has been there since 2.8.1.472 (or before) that is now interacting with the password stuff. Maybe it happens more on 3.x or maybe more bugs have been introduced in 3.x and they are interacting with this bug. Without adding some code to RunRev or the Standalone builder it's hard to know for certain. > It would be interesting to see if you can build his sample stack. > Perhaps you could get a copy from him (or ping me privately and > I'll send it to you.) I'd be happy to try and build it, but I am not using 3.x, will this make a difference? All the Best Dave From dave at looktowindward.com Thu Feb 5 09:52:56 2009 From: dave at looktowindward.com (Dave) Date: Thu, 5 Feb 2009 14:52:56 +0000 Subject: Can anybody HELP !! In-Reply-To: <20090204104602.T8XN0.247785.root@web09-winn.ispmail.private.ntl.com> References: <20090204104602.T8XN0.247785.root@web09-winn.ispmail.private.ntl.com> Message-ID: Hi Camm, On 4 Feb 2009, at 10:46, wrote: > Dave , Jac and all involved. > > Well some progress .....just why ? > > Made no difference using revAnswerDailog from 2.8.1 but > I used revStandalonesettings.rev from 2.8.1 and BINGO !!!! > Standalone built on Rev 3.0 ....... Ok, I've got the problem with 2.8.1, so I'm not sure if this actually solves the problem or it just hasn't happened yet. Maybe it happens more frequently in 3.0. All the Best Dave From benr_local at cogapp.com Thu Feb 5 17:58:03 2009 From: benr_local at cogapp.com (Ben Rubinstein) Date: Thu, 05 Feb 2009 22:58:03 +0000 Subject: convert to lower ascii 128? In-Reply-To: <498B6B08.3070202@tweedly.net> References: <665591460902041358s2bc20d16sd077cf05e7837298@mail.gmail.com> <4B292565-39F3-4122-B95B-620AC10E7BE9@economy-x-talk.com> <665591460902041745l111f4ee5y15f24845af19ded6@mail.gmail.com> <498B41F3.5000501@cogapp.com> <665591460902051358y6c178c5ard4286333c2dd12b4@mail.gmail.com> <498B6B08.3070202@tweedly.net> Message-ID: <498B6EFB.5010808@cogapp.com> Alex Tweedly wrote: > Chipp Walters wrote: >> Ben, >> Thanks for the tests. Illuminating again. You are correct, I was actually >> running my tests on shorter strings, but hundreds of them in sequence. >> > So it might be useful for you to try Ben's fourth (i.e. array-based) > method, but do the set-up once using a script-local array. But really - they're all so fast, you'd need to be processing megabytes of text on a continuous basis to care. I'm embarassed I even went into it... Ben From shoreagent at gmail.com Sat Feb 7 13:13:35 2009 From: shoreagent at gmail.com (william humphrey) Date: Sat, 7 Feb 2009 14:13:35 -0400 Subject: Re-4: List Magic testimony In-Reply-To: <009601c988e4$e0967e90$a1c37bb0$@com> References: <00034521.49822EC7@the-office.us> <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> <009001c988ab$b764c6f0$262e54d0$@com> <325413300902061445pcf0a0c9l4b125e425fc0cb92@mail.gmail.com> <009101c988ad$733a7360$59af5a20$@com> <325413300902061708i647e67feueb7c4a7a5bd48360@mail.gmail.com> <325413300902061709m7477d616m9721bf13abf385c9@mail.gmail.com> <009601c988e4$e0967e90$a1c37bb0$@com> Message-ID: <459b22a90902071013u5e1c1f4dp3e2e8d0f882a4099@mail.gmail.com> When downloading it again should they do so here: http://www.sosmartsoftware.com/?r=revolution&l=en or somewhere else? On Sat, Feb 7, 2009 at 1:28 AM, Jim Bufalini wrote: > Hi Neal, > > Glad you found the correct stack. :-) > > Anyone that downloaded ListMagic 1.1 prior to Friday 2/6/09 should download > it again. Even though it has the same version number, it has changes to do > with the entry of registration codes and some minor fixes. > > Jim > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] On Behalf Of Neal Campbell > > Sent: Friday, February 06, 2009 3:10 PM > > To: How to use Revolution > > Subject: Re: Re-4: List Magic testimony > > > > I indeed had the wrong stack, sorry! > > > > Thanks for the help, > > > > Neal Campbell > > Abroham Neal Software > > Programming Services for Windows, OS X and Linux > > www.abrohamnealsoftware.com > > (540) 242 0911 > > > > > > > > > > On Fri, Feb 6, 2009 at 8:08 PM, Neal Campbell > > wrote: > > > Hi Jim > > > > > > On the bottom right (on the stack I got) is a Print button. Do I have > > > the wrong stack? > > > > > > Neal Campbell > > > Abroham Neal Software > > > Programming Services for Windows, OS X and Linux > > > www.abrohamnealsoftware.com > > > (540) 242 0911 > > > > > > > > > > > > > > > On Fri, Feb 6, 2009 at 5:51 PM, Jim Bufalini > > wrote: > > >> Hi Neal, > > >> > > >> Click on the *Presentation* tab and then on the *Enter License code* > > button > > >> on the bottom right. Follow the directions. Once unlocked, you can > > download > > >> any future trial copy and it will be automatically unlocked. > > >> > > >> Jim Bufalini > > >> > > >>> -----Original Message----- > > >>> From: use-revolution-bounces at lists.runrev.com [mailto:use- > > revolution- > > >>> bounces at lists.runrev.com] On Behalf Of Neal Campbell > > >>> Sent: Friday, February 06, 2009 12:45 PM > > >>> To: How to use Revolution > > >>> Subject: Re: Re-4: List Magic testimony > > >>> > > >>> Hi Jim > > >>> > > >>> I got an unlock code but am not sure how to use it. Where do you > > enter > > >>> the code? > > >>> > > >>> Neal Campbell > > >>> Abroham Neal Software > > >>> Programming Services for Windows, OS X and Linux > > >>> www.abrohamnealsoftware.com > > >>> (540) 242 0911 > > >>> > > >>> > > >>> > > >>> > > >>> On Fri, Feb 6, 2009 at 5:39 PM, Jim Bufalini > > >>> wrote: > > >>> > Dear Bob and All, > > >>> > > > >>> > We are still in the process of sorting things out after Eric's > > >>> untimely and > > >>> > unexpected death. Just yesterday and today we managed to get > > unlock > > >>> codes to > > >>> > all who had purchased and posted the latest updated version of > > >>> ListMagic 1.1 > > >>> > for download. > > >>> > > > >>> > If anyone purchased ListMagic and has not already received an > > unlock > > >>> code, > > >>> > or if you would like to contribute to the future of ListMagic, > > please > > >>> > contact me off-list. > > >>> > > > >>> > To read about ListMagic and either download the latest trial copy > > or > > >>> > purchase ListMagic, please visit: > > >>> > > > >>> > http://www.runrev.com/products/related-software/listmagic/ > > >>> > > > >>> > Proceeds from the sales of ListMagic are going to his son > > Emmanuel. > > >>> > > > >>> > Thanks! > > >>> > > > >>> > Jim Bufalini > > >>> > > > >>> > > > >>> >> -----Original Message----- > > >>> >> From: use-revolution-bounces at lists.runrev.com [mailto:use- > > >>> revolution- > > >>> >> bounces at lists.runrev.com] On Behalf Of Bob Sneidar > > >>> >> Sent: Friday, January 30, 2009 7:33 AM > > >>> >> To: How to use Revolution > > >>> >> Subject: Re: Re-4: List Magic testimony > > >>> >> > > >>> >> Out of curiosity, will this stack continue to work in demo mode > > >>> >> indefinitely? If Eric's family decide to continue to market it, > > I > > >>> will > > >>> >> certainly pay for it as it is quite a nice bit of Revolution > > >>> >> programming. Just what I needed in fact. But if not, then I > > cannot > > >>> >> risk using it in a production project if it is going to fail at > > a > > >>> >> later point. > > >>> >> > > >>> >> Bob Sneidar > > >>> >> IT Manager > > >>> >> Logos Management > > >>> >> Calvary Chapel CM > > >>> > > > >>> > > > >>> > _______________________________________________ > > >>> > use-revolution mailing list > > >>> > use-revolution at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From bobsneidar at calvarychapel.com Sat Feb 7 18:01:42 2009 From: bobsneidar at calvarychapel.com (Bob Sneidar) Date: Sat, 7 Feb 2009 15:01:42 -0800 Subject: Lists to arrays and back again Message-ID: <83BCE17F-6633-44C0-AD62-B5E1CD55E46D@calvarychapel.com> I apparently do not understand arrays at all. I have a 2 row list, called myVar. Each line contains "1,2,3" and "4,5,6" respectively. I want to use the split command to make an array so that myVar[1,1] = 1 and myvar[2,1] =4. split ALWAYS seems to think that the first item it encounters in each line is the key I want to use to reference it, and everything after that are the elements of the array. I JUST want to convert a list to an array an reference the elements by row and column. Eventually I want to delete whole columns of the array and recombine the array back to a list. If I have to use repeat loops to populate the array, why then that's like paying for a glass of orange juice with a bottle of orange juice. Any ideas? Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone From slylabs13 at me.com Mon Feb 9 13:36:40 2009 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 09 Feb 2009 10:36:40 -0800 Subject: Delete column In-Reply-To: <3EE4E23C-AA29-42EE-9931-C7300EF77CDE@pacifier.com> References: <498FA76D.1060501@fourthworld.com> <3EE4E23C-AA29-42EE-9931-C7300EF77CDE@pacifier.com> Message-ID: On Feb 8, 2009, at 7:56 PM, -= JB =- wrote: > When you say values in a list do you mean like a table field in a > variable? Yes. But I think you are saying two things there. Table Field and Variable can both hold a list, which is values seperated by the columnDelimiter. I am not sure what you mean by "table field in a variable". I want to delete for instance, the second item of every line of that list without a repeat loop. It's really just a programming ease thing. I can already do repeat loops to accomplish it. I suppose I should just write another custom function. Bob > > > -=>JB<=- > > > On Feb 8, 2009, at 7:47 PM, Richard Gaskin wrote: > >> Robert Sneidar wrote: >> >>> Have you ever wished you could delete a column of values in a list? >> >> Many have: >> >> >> >> >> -- >> Richard Gaskin >> Fourth World >> Revolution training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Mon Feb 9 19:16:19 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 9 Feb 2009 16:16:19 -0800 Subject: Deleting a column ... In-Reply-To: <4990B346.1080600@tweedly.net> References: <20090204173242.533A3488F4A@mail.runrev.com> <3671C4D7-EA66-4AAD-85C4-76C8CEBA975D@gmail.com> <4990B346.1080600@tweedly.net> Message-ID: <9512E0C0-32CD-4651-B95B-06CF0609A433@twft.com> I did this: ON testFunction breakpoint put "1,2,3" & return & "4,5,6" into myVar split myVar by column delete variable myVar[2] combine myvar by column put myVar END testFunction After splitting, myVar looks like this: -------------- next part -------------- after combining myVar looks like this: What I get is: 1,2,3 4,5,6 As you can see it didn't delete anything, and the array doesn't look ANYTHING like it should. . Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 9, 2009, at 2:50 PM, Alex Tweedly wrote: > [ Sorry - I have deleted the original mail, so can't reply to it (or > even find out the exact subject line ...) ] > > deleting a column ... > > I haven't tested extensively, but in a simple case or two, it seems to > work just doing > > split tVar by column > delete variable tVar[3] -- to delete the 3rd column > combine tVar by column > > or if you want to delete the content of a column, but keep it there as > an empty column, you can do > > split tVar by column > put empty into tVar[3] > combine tVar by column > > > -- Alex. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lpuente at supercable.net.ve Wed Feb 11 09:44:14 2009 From: lpuente at supercable.net.ve (Luis Puente) Date: Wed, 11 Feb 2009 10:44:14 -0400 Subject: List Magic testimony In-Reply-To: <52EA7799-D8D0-4779-8448-24727E1C485D@inria.fr> References: <00034072.496FBE45@the-office.us> <20E6BB4B-0FDB-44BD-9480-22039A3E2AB6@mac.com> <459b22a90901281208o16093f46mb29fbd4bdd86db06@mail.gmail.com> <45309D53-7D75-45BF-85B2-3C13A28DAE84@luceatlux.com> <459b22a90901281512j52fe2f2bsbfb4ab467623524f@mail.gmail.com> <52EA7799-D8D0-4779-8448-24727E1C485D@inria.fr> Message-ID: <20090211144414.2004937808@mail.supercable.net.ve> test >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From slylabs13 at me.com Fri Feb 13 19:24:42 2009 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 13 Feb 2009 16:24:42 -0800 Subject: Arrays and Custom Props In-Reply-To: References: Message-ID: WHOA THERE TONTO! I thought the whole idea to properties was persistence?? That means that I cannot save, for instance, the database settings a user entered? I have to create an external file for all of that? And so many card and object properties in my app DEPEND on persistence through runtime. This means that I have to put a kabosh on the whole project! Say it ain't so Sam! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 13, 2009, at 3:53 PM, Jim Ault wrote: > I think of arrays as.. > Arrays, like variables, evaporate on quitting, > Custom properties, like button names, are stored in the stack file. > (note: this is not true for compiled apps since they cannot be > modified > You store data in custom properties before compiling and they become > part of > your app, such as jpgs, sounds, even whole stack files) From jerry.daniels at me.com Mon Feb 16 08:17:56 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 16 Feb 2009 07:17:56 -0600 Subject: [OT] Rev + BBEdit In-Reply-To: <4998F010.9090104@fourthworld.com> References: <4998F010.9090104@fourthworld.com> Message-ID: <0739B593-D7EE-410A-96D1-94218C42E20A@me.com> No. Those features are not in GLX2 Script Editor. On Feb 15, 2009, at 10:48 PM, Richard Gaskin wrote: > Kay C Lan wrote: > >> On Mon, Feb 16, 2009 at 10:25 AM, Richard Gaskin > fourthworld.com >>> wrote: >>> What would you like to see in an editor that's not in the ones >>> available >>> yet? >> clippings/boilerplates >> find differences >> parentheses balancing > > Those shouldn't be deal-breakers with a tool as flexible as Rev. > Forgive me if I'm a bit of a Rev snob for text editing, but I find > the engine so responsive and text editing such a personal thing that > I can't imagine editing in a tool I couldn't take apart. :) > > If you use MC I can send you the latest ROSE (Rev Open Source > Editor) which has some of that, though I hadn't thought about paren > balancing; good idea. > > For Rev users, are these in GLX2/on GLX2's list? > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Best, Jerry Daniels -------------- next part -------------- Site: www.revmentor.com Office: 512.879.6286 Skype: jerry.daniels From jim at visitrieve.com Mon Feb 16 11:06:41 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 16 Feb 2009 06:06:41 -1000 Subject: Re-4: List Magic testimony In-Reply-To: <459b22a90902071013u5e1c1f4dp3e2e8d0f882a4099@mail.gmail.com> References: <00034521.49822EC7@the-office.us> <457923F6-2282-4E0E-BEA8-969299AF3256@twft.com> <009001c988ab$b764c6f0$262e54d0$@com> <325413300902061445pcf0a0c9l4b125e425fc0cb92@mail.gmail.com> <009101c988ad$733a7360$59af5a20$@com> <325413300902061708i647e67feueb7c4a7a5bd48360@mail.gmail.com> <325413300902061709m7477d616m9721bf13abf385c9@mail.gmail.com> <009601c988e4$e0967e90$a1c37bb0$@com> <459b22a90902071013u5e1c1f4dp3e2e8d0f882a4099@mail.gmail.com> Message-ID: <00a801c99050$8eb611d0$ac223570$@com> Hi Neal, Yes. Download from there. Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of william humphrey > Sent: Saturday, February 07, 2009 8:14 AM > To: How to use Revolution > Subject: Re: Re-4: List Magic testimony > > When downloading it again should they do so here: > http://www.sosmartsoftware.com/?r=revolution&l=en > > or somewhere else? > > On Sat, Feb 7, 2009 at 1:28 AM, Jim Bufalini > wrote: > > > Hi Neal, > > > > Glad you found the correct stack. :-) > > > > Anyone that downloaded ListMagic 1.1 prior to Friday 2/6/09 should > download > > it again. Even though it has the same version number, it has changes > to do > > with the entry of registration codes and some minor fixes. > > > > Jim > > > > > -----Original Message----- > > > From: use-revolution-bounces at lists.runrev.com [mailto:use- > revolution- > > > bounces at lists.runrev.com] On Behalf Of Neal Campbell > > > Sent: Friday, February 06, 2009 3:10 PM > > > To: How to use Revolution > > > Subject: Re: Re-4: List Magic testimony > > > > > > I indeed had the wrong stack, sorry! > > > > > > Thanks for the help, > > > > > > Neal Campbell > > > Abroham Neal Software > > > Programming Services for Windows, OS X and Linux > > > www.abrohamnealsoftware.com > > > (540) 242 0911 > > > > > > > > > > > > > > > On Fri, Feb 6, 2009 at 8:08 PM, Neal Campbell > > > wrote: > > > > Hi Jim > > > > > > > > On the bottom right (on the stack I got) is a Print button. Do I > have > > > > the wrong stack? > > > > > > > > Neal Campbell > > > > Abroham Neal Software > > > > Programming Services for Windows, OS X and Linux > > > > www.abrohamnealsoftware.com > > > > (540) 242 0911 > > > > > > > > > > > > > > > > > > > > On Fri, Feb 6, 2009 at 5:51 PM, Jim Bufalini > > > wrote: > > > >> Hi Neal, > > > >> > > > >> Click on the *Presentation* tab and then on the *Enter License > code* > > > button > > > >> on the bottom right. Follow the directions. Once unlocked, you > can > > > download > > > >> any future trial copy and it will be automatically unlocked. > > > >> > > > >> Jim Bufalini > > > >> > > > >>> -----Original Message----- > > > >>> From: use-revolution-bounces at lists.runrev.com [mailto:use- > > > revolution- > > > >>> bounces at lists.runrev.com] On Behalf Of Neal Campbell > > > >>> Sent: Friday, February 06, 2009 12:45 PM > > > >>> To: How to use Revolution > > > >>> Subject: Re: Re-4: List Magic testimony > > > >>> > > > >>> Hi Jim > > > >>> > > > >>> I got an unlock code but am not sure how to use it. Where do > you > > > enter > > > >>> the code? > > > >>> > > > >>> Neal Campbell > > > >>> Abroham Neal Software > > > >>> Programming Services for Windows, OS X and Linux > > > >>> www.abrohamnealsoftware.com > > > >>> (540) 242 0911 > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> On Fri, Feb 6, 2009 at 5:39 PM, Jim Bufalini > > > > >>> wrote: > > > >>> > Dear Bob and All, > > > >>> > > > > >>> > We are still in the process of sorting things out after > Eric's > > > >>> untimely and > > > >>> > unexpected death. Just yesterday and today we managed to get > > > unlock > > > >>> codes to > > > >>> > all who had purchased and posted the latest updated version > of > > > >>> ListMagic 1.1 > > > >>> > for download. > > > >>> > > > > >>> > If anyone purchased ListMagic and has not already received an > > > unlock > > > >>> code, > > > >>> > or if you would like to contribute to the future of > ListMagic, > > > please > > > >>> > contact me off-list. > > > >>> > > > > >>> > To read about ListMagic and either download the latest trial > copy > > > or > > > >>> > purchase ListMagic, please visit: > > > >>> > > > > >>> > http://www.runrev.com/products/related-software/listmagic/ > > > >>> > > > > >>> > Proceeds from the sales of ListMagic are going to his son > > > Emmanuel. > > > >>> > > > > >>> > Thanks! > > > >>> > > > > >>> > Jim Bufalini > > > >>> > > > > >>> > > > > >>> >> -----Original Message----- > > > >>> >> From: use-revolution-bounces at lists.runrev.com [mailto:use- > > > >>> revolution- > > > >>> >> bounces at lists.runrev.com] On Behalf Of Bob Sneidar > > > >>> >> Sent: Friday, January 30, 2009 7:33 AM > > > >>> >> To: How to use Revolution > > > >>> >> Subject: Re: Re-4: List Magic testimony > > > >>> >> > > > >>> >> Out of curiosity, will this stack continue to work in demo > mode > > > >>> >> indefinitely? If Eric's family decide to continue to market > it, > > > I > > > >>> will > > > >>> >> certainly pay for it as it is quite a nice bit of Revolution > > > >>> >> programming. Just what I needed in fact. But if not, then I > > > cannot > > > >>> >> risk using it in a production project if it is going to fail > at > > > a > > > >>> >> later point. > > > >>> >> > > > >>> >> Bob Sneidar > > > >>> >> IT Manager > > > >>> >> Logos Management > > > >>> >> Calvary Chapel CM > > > >>> > > > > >>> > > > > >>> > _______________________________________________ > > > >>> > use-revolution mailing list > > > >>> > use-revolution at 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 at 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 at 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 at 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 at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.bluewatermaritime.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Feb 16 11:29:07 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Feb 2009 10:29:07 -0600 Subject: McAfee virus detection deletes valid file In-Reply-To: References: <4998ED2C.1050608@hyperactivesw.com> Message-ID: <49999453.8050101@hyperactivesw.com> Luis wrote: > Hiya, > > Is this the Enterprise version of McAfee? I'm not sure if the same > applies to the consumer versions: > > In the On-Access Scan Properties you can set an exception in the > ScriptScan tab. > Failing that, you can tell it to exclude scanning a specific folder > (where the actions and the script reside). Thanks so much, I'll pass this on, but I'm skeptical about its effectiveness. The target user base is very naive for the most part and we can't trust them to tinker with their virus settings. It's a general consumer app that will be sold to home users as well as schools, etc. I think they will see the virus warning, click OK, and break the software. Then the app will get blamed for being buggy. I wish we could contact McAfee find out how to circumvent this but of course they'd just laugh if they responded at all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Mon Feb 16 11:49:20 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 16 Feb 2009 08:49:20 -0800 Subject: How to launch an app on top of the finder? In-Reply-To: References: Message-ID: And you've set the systemwindow of stack #2 to true? Stephen Barncard ------------------------- San Francisco 2009/2/16 Tiemo Hollmann TB > Hello, > > probably an easy one for the Mac guys: > > When starting app 1 in the finder it launches app 2, BUT app 2 is being > launched behind the finder window. Same result if I do just "launch myApp" > or using "tell application finder to open myApp with applescript" > > Any idea, how to bring app 2 on top of all windows? > > Thank you > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Mon Feb 16 12:02:42 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Feb 2009 09:02:42 -0800 Subject: McAfee virus detection deletes valid file In-Reply-To: <4998ED2C.1050608@hyperactivesw.com> References: <4998ED2C.1050608@hyperactivesw.com> Message-ID: <134259073843.20090216090242@ahsoftware.net> Jacque- Also, if your client has gotten the latest "update" from Microsoft last Tuesday you might want to consider rolling it back. This one bit us this last week and caused some MSAccess applications to stop working. The patch in particular is 960715 - removing it fixed our seemingly unrelated problem. http://www.microsoft.com/technet/security/advisory/960715.mspx/en-us -- -Mark Wieder mwieder at ahsoftware.net From toolbook at kestner.de Mon Feb 16 12:16:07 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 16 Feb 2009 18:16:07 +0100 Subject: AW: How to launch an app on top of the finder? In-Reply-To: Message-ID: <2000AB818D99475A8EC4AB05F08A436F@Kestner.local> Hi Stephen, not yet, I am not sure if that is what I want, because I need it just for the first open to come into front and not for the full presence and the docs say it has no effect on Mac OS. But I'll give it a try tomorrow, thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von stephen barncard > Gesendet: Montag, 16. Februar 2009 17:49 > An: How to use Revolution > Betreff: Re: How to launch an app on top of the finder? > > And you've set the systemwindow of stack #2 to true? > Stephen Barncard > ------------------------- > San Francisco > > > 2009/2/16 Tiemo Hollmann TB > > > Hello, > > > > probably an easy one for the Mac guys: > > > > When starting app 1 in the finder it launches app 2, BUT app 2 is being > > launched behind the finder window. Same result if I do just "launch > myApp" > > or using "tell application finder to open myApp with applescript" > > > > Any idea, how to bring app 2 on top of all windows? > > > > Thank you > > > > Tiemo > > > > > > > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From luis at anachreon.co.uk Mon Feb 16 12:14:24 2009 From: luis at anachreon.co.uk (Luis) Date: Mon, 16 Feb 2009 17:14:24 +0000 Subject: McAfee virus detection deletes valid file In-Reply-To: <49999453.8050101@hyperactivesw.com> References: <4998ED2C.1050608@hyperactivesw.com> <49999453.8050101@hyperactivesw.com> Message-ID: <01DCEDAC-1400-465E-9CA1-0DC052358549@anachreon.co.uk> Hiya, You could include a manual 'how to' for this... I think if you set the script to run at startup (via a Registry key setting?) you might prevent it from being deleted: Not too sure about this, but it's something I've heard about. Will McAfee check the application's Trusted Sources? If so, maybe getting this set will then tell McAfee to keeps its hand off. Other than that, maybe checking to see if there are any command line switches that could do it (after the usual 'please disable any anti- virus software prior to running the installation') - Hey! Why not just get them to disable it for the duration of the installation! Cheers, Luis. On 16 Feb 2009, at 16:29, J. Landman Gay wrote: > Luis wrote: >> Hiya, >> Is this the Enterprise version of McAfee? I'm not sure if the same >> applies to the consumer versions: >> In the On-Access Scan Properties you can set an exception in the >> ScriptScan tab. >> Failing that, you can tell it to exclude scanning a specific >> folder (where the actions and the script reside). > > Thanks so much, I'll pass this on, but I'm skeptical about its > effectiveness. The target user base is very naive for the most part > and we can't trust them to tinker with their virus settings. It's a > general consumer app that will be sold to home users as well as > schools, etc. I think they will see the virus warning, click OK, > and break the software. Then the app will get blamed for being buggy. > > I wish we could contact McAfee find out how to circumvent this but > of course they'd just laugh if they responded at all. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Feb 16 12:21:26 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Feb 2009 09:21:26 -0800 Subject: [OT] Rev + BBEdit Message-ID: <4999A096.1090105@fourthworld.com> Thanks for the ideas, folks. I've long believed it should be possible to make a really good editor for Transcript, and since Ken and I have been using ROSE for some time maybe I'll be able to add more of these at it continues to evolve. The hardest part is Rev compatibility, since it's currently built for MC: editing works well, but historically MC and Rev both mash editing and debugging into the same window, which makes swapping out editors MUCH harder that it would be otherwise, and arguably makes for a UI which compromised both tasks. My long term goal is to separate debugging from editing, with controls and layout optimized for those very different tasks. If I can get a version of ROSE with that separation running in MC without dependency on any of its components it shouldn't be hard to port it to Rev. For reference I've compiled the wish list thus far below. Feel free to keep adding new ideas. Ideally, Rev is fast enough and flexible enough that we should never need to go outside the engine to edit our scripts. I've broken the list into two parts; the ones here at the top could use more explanation to describe exactly what you're after - are they documented in BBEDit? If so I'll just look 'em up there: - Diff - Plugin facility so we can integrate Git - folding conditionals - refactoring support - cTags - conditional balancing - Macros - clippings/boilerplates - find differences - parentheses balancing - integrated version control - integrated lint - plugin facility for tools - powerful Search/Replace which optionally uses GREP with optional Find All search mode -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION2 at barncard.com Mon Feb 16 12:38:16 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 16 Feb 2009 09:38:16 -0800 Subject: Arrays and Custom Props In-Reply-To: References: Message-ID: And persistent they are, if the stack file the custom properties are in is saved with a simple save command. A stack file can hold any number of custom properties. Even arrays, stacks and images can be turned into a custom property and restored. Persistence = a file somewhere!The file can be in any directory that can be written to by the user. On a macintosh, it's especially easy, as the .app package provides a place that files can be read and written to but yet out of reach for most users. Stephen Barncard ------------------------- San Francisco 2009/2/13 Robert Sneidar > WHOA THERE TONTO! I thought the whole idea to properties was persistence?? > That means that I cannot save, for instance, the database settings a user > entered? I have to create an external file for all of that? And so many card > and object properties in my app DEPEND on persistence through runtime. This > means that I have to put a kabosh on the whole project! > > Say it ain't so Sam! > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 13, 2009, at 3:53 PM, Jim Ault wrote: > > I think of arrays as.. >> Arrays, like variables, evaporate on quitting, >> Custom properties, like button names, are stored in the stack file. >> (note: this is not true for compiled apps since they cannot be modified >> You store data in custom properties before compiling and they become part >> of >> your app, such as jpgs, sounds, even whole stack files) >> > From stephenREVOLUTION2 at barncard.com Mon Feb 16 12:50:18 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 16 Feb 2009 09:50:18 -0800 Subject: How to launch an app on top of the finder? In-Reply-To: <2000AB818D99475A8EC4AB05F08A436F@Kestner.local> References: <2000AB818D99475A8EC4AB05F08A436F@Kestner.local> Message-ID: Well, it does palletize the window, but it really seems to make it the topmost window on the screen in the IDE. Between 2 running apps: unknown. Stephen Barncard ------------------------- San Francisco 2009/2/16 Tiemo Hollmann TB > Hi Stephen, > not yet, I am not sure if that is what I want, because I need it just for > the first open to come into front and not for the full presence and the > docs > say it has no effect on Mac OS. > But I'll give it a try tomorrow, thanks > Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] Im Auftrag von stephen barncard > > Gesendet: Montag, 16. Februar 2009 17:49 > > An: How to use Revolution > > Betreff: Re: How to launch an app on top of the finder? > > > > And you've set the systemwindow of stack #2 to true? > > Stephen Barncard > > ------------------------- > > San Francisco > > > > > > 2009/2/16 Tiemo Hollmann TB > > > > > Hello, > > > > > > probably an easy one for the Mac guys: > > > > > > When starting app 1 in the finder it launches app 2, BUT app 2 is being > > > launched behind the finder window. Same result if I do just "launch > > myApp" > > > or using "tell application finder to open myApp with applescript" > > > > > > Any idea, how to bring app 2 on top of all windows? > > > > > > Thank you > > > > > > Tiemo > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Mon Feb 16 12:53:22 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Feb 2009 09:53:22 -0800 Subject: [OT] Rev + BBEdit In-Reply-To: <4999A096.1090105@fourthworld.com> References: <4999A096.1090105@fourthworld.com> Message-ID: <86262114265.20090216095322@ahsoftware.net> Richard- Monday, February 16, 2009, 9:21:26 AM, you wrote: > I've broken the list into two parts; the ones here at the top could use > more explanation to describe exactly what you're after - are they > documented in BBEDit? If so I'll just look 'em up there: Since I put these in, I'd probably better explain them... > - folding conditionals control- or right-click or something on an "if" statement the visible code condenses the whole conditional to one line click again to expand it > - refactoring support probably a plugin, but support for various refactoring methods: creating a function from repeated code eliminating dead code converting script locals to handler locals etc > - conditional balancing same idea as paren balancing: for each "if", find the matching "end if" for each "repeat" find the matching "end repeat" etc -------------------- As a bonus, here's how to implement macros: -- just before setting the script to compile it... put Preprocess(tScript) into tScript set the script of object xyz to tScript function Preprocess pScript local tScript local _tMacros local _tCode put pScript into tScript set the custompropertyset of this stack to "uMacros" put the customproperties["uMacros"] of this stack into _tMacros put the keys of _tMacros into _tMacros repeat for each line _tMacro in _tMacros do "put the" && _tMacro && "of this stack into _tCode" do _tCode end repeat set the custompropertyset of this stack to empty return tScript end Preprocess the macros are then stored as custom properties of the stack. -- -Mark Wieder mwieder at ahsoftware.net From support at ahsomme.com Mon Feb 16 12:58:33 2009 From: support at ahsomme.com (Paul Looney) Date: Mon, 16 Feb 2009 09:58:33 -0800 Subject: Arrays and Custom Props In-Reply-To: References: Message-ID: <0F088CFD-FF8E-4244-B4BD-223C5F2D7485@ahsomme.com> Bob, Think of custom properties as fields - without some of the field overhead. Putting information in custom properties and retrieving it is much faster than using fields. And you can create and delete custom properties on the fly much more easily than with fields - with less code. Two field features that cps lack are visibility (which is probably an advantage for the storage you want) and chunk handling (you can not refer to "line 3 of uMyUniqueCustomProperty" - but you can load the property into a variable to get this information). Like with fields, you can not store user information in a custom property in an application (or standalone). This is actually a good thing. By storing the user information in cps in a separate (call it "Preferences" stack?) these settings not only survive the current session, and subsequent sessions, they even survive an update of your application (because you send the new app and the user retains the prior Preferences). Plus it is easier to update and test apps without having built-in customer information. If you are only concerned with persistence of some items through runtime, you should probably store these items in globals. Paul Looney On Feb 13, 2009, at 4:24 PM, Robert Sneidar wrote: > WHOA THERE TONTO! I thought the whole idea to properties was > persistence?? That means that I cannot save, for instance, the > database settings a user entered? I have to create an external file > for all of that? And so many card and object properties in my app > DEPEND on persistence through runtime. This means that I have to > put a kabosh on the whole project! > > Say it ain't so Sam! > > Bob Sneidar From JimAultWins at yahoo.com Mon Feb 16 13:26:26 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 16 Feb 2009 10:26:26 -0800 Subject: [OT] Rev + BBEdit In-Reply-To: <4999A096.1090105@fourthworld.com> Message-ID: DIFF - 'Search for differences' in BBEdit is very useful, especially for less English like code, such as Flash Actionscipt. It does the diff between two documents and lines them up side by side with sync scrolling, makes a list of the differences by line numbers (in a separate window), and then allows clicking the lines to highlight both docs. Of course, there are two buttons for updating the old/new version. If you want, I could do a quick 40 sec vid to show you how it works. I think 'folding conditionals' is the use of disclosure triangles to hide/show logical runs of code such as (repeat..end repeat), (if..then..end if) so that these collapse into one line. Again, BBEdit would be an example of this, or Dreamweaver, etc. My addition to this list would be a button to press that would be like 'snapshot' in virtual machines. This means a version of the frontmost script is archived and can be named, and restored. In previous years I used to use Chipp's archive palette button to save a version of the entire stack. I guess another aspect would be the use of an adjustable palette for holding the feature buttons we like. Thanks for taking this under your wing. It should be interesting. Of course, there will be the issue of which version of Rev. Jim Ault Las Vegas On 2/16/09 9:21 AM, "Richard Gaskin" wrote: > Thanks for the ideas, folks. I've long believed it should be possible > to make a really good editor for Transcript, and since Ken and I have > been using ROSE for some time maybe I'll be able to add more of these at > it continues to evolve. > > The hardest part is Rev compatibility, since it's currently built for > MC: editing works well, but historically MC and Rev both mash editing > and debugging into the same window, which makes swapping out editors > MUCH harder that it would be otherwise, and arguably makes for a UI > which compromised both tasks. > > My long term goal is to separate debugging from editing, with controls > and layout optimized for those very different tasks. If I can get a > version of ROSE with that separation running in MC without dependency on > any of its components it shouldn't be hard to port it to Rev. > > For reference I've compiled the wish list thus far below. Feel free to > keep adding new ideas. Ideally, Rev is fast enough and flexible enough > that we should never need to go outside the engine to edit our scripts. > > I've broken the list into two parts; the ones here at the top could use > more explanation to describe exactly what you're after - are they > documented in BBEDit? If so I'll just look 'em up there: > > - Diff > - Plugin facility so we can integrate Git > - folding conditionals > - refactoring support > - cTags > - conditional balancing > > > > - Macros > - clippings/boilerplates > - find differences > - parentheses balancing > - integrated version control > - integrated lint > - plugin facility for tools > - powerful Search/Replace which optionally uses GREP > with optional Find All search mode > From bobs at twft.com Mon Feb 16 13:28:57 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Feb 2009 10:28:57 -0800 Subject: Arrays and Custom Props In-Reply-To: <77103395750.20090214134805@ahsoftware.net> References: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> <77103395750.20090214134805@ahsoftware.net> Message-ID: <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> Hi Mark. Thanks. I do understand that properties are persistent so long as a standalone is running. I understand that Revolution standalones will not save the state of properties when you quit them. I was saying that Applescript standalones CAN and DO save the state of properties when they quit, so that when you start up again they have the values you set them to before you quit. The only time you lose them is when you recompile the standalone (of course). I was just thinking in some future rendition of Revolution, maybe they could pull that off, by saving the states of the properties internally to the package itself. Barring that, maybe having a seperate "runtime engine" similar to what Foxpro used to use, which did not allow development, but only allowed execution of stacks would be possible. BTW I tested the theory that an app cannot be modified while running. This is not true. I opened TextEdit and while it was running I opened the package contents and edited a plist file using PlistEditPro. I changed one of the values and saved the plist successfully. Wouldn't an internal property plist file do nicely for just this sort of thing? Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 14, 2009, at 1:48 PM, Mark Wieder wrote: > Robert- > > Saturday, February 14, 2009, 1:27:33 PM, you wrote: > >> I suppose where I was getting confused is that Applescript apps >> properties are persistent. I just assumed rev apps pulled the same >> kind of trick. > > Methinks you're still a bit confused about this. > Custom. Properties. Are. Persistent. > > The "problem" with standalone apps is that they can't be modified > while they're running. So any changes you make in memory aren't (and > can't) be saved to the running application. This is an operating > system thing, not a rev thing. There are various ways to work around > this: preferences files, splash screen apps, separate stack files, > etc. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rjb at robelko.com Mon Feb 16 13:21:07 2009 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 16 Feb 2009 19:21:07 +0100 Subject: [OT] Rev + BBEdit In-Reply-To: <4999A096.1090105@fourthworld.com> References: <4999A096.1090105@fourthworld.com> Message-ID: On 16.02.09 at 09:21 -0800 Richard Gaskin apparently wrote: >I've broken the list into two parts; the ones here at the top could >use more explanation to describe exactly what you're after - are >they documented in BBEDit? If so I'll just look 'em up there: > >- Diff >- Plugin facility so we can integrate Git >- folding conditionals >- refactoring support >- cTags >- conditional balancing > You may want to fetch TextWrangler, a free sibbling of BBEdit, from BareBones website. Most of those things are there, so you can just try them out. Robert From jacque at hyperactivesw.com Mon Feb 16 13:44:41 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Feb 2009 12:44:41 -0600 Subject: Arrays and Custom Props In-Reply-To: <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> References: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> <77103395750.20090214134805@ahsoftware.net> <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> Message-ID: <4999B419.3060905@hyperactivesw.com> Bob Sneidar wrote: > BTW I tested the theory that an app cannot be modified while running. > This is not true. I opened TextEdit and while it was running I opened > the package contents and edited a plist file using PlistEditPro. I > changed one of the values and saved the plist successfully. You weren't changing the app though. You were changing a separate file inside the bundle. The application bundle is just a fancy folder. The running executable itself is inside the MacOS folder, and it usually looks like a Linux document. Change that, and your program won't even launch any more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Feb 16 13:47:41 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Feb 2009 10:47:41 -0800 Subject: Lists to arrays and back again In-Reply-To: <83BCE17F-6633-44C0-AD62-B5E1CD55E46D@calvarychapel.com> References: <83BCE17F-6633-44C0-AD62-B5E1CD55E46D@calvarychapel.com> Message-ID: <776D645B-4212-4237-81AC-271A1D0516D6@twft.com> Sorry all. This was sent as a duplicate from an address that was not registered with the list. Please ignore it. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 7, 2009, at 3:01 PM, Bob Sneidar wrote: > I apparently do not understand arrays at all. I have a 2 row list, > called myVar. Each line contains "1,2,3" and "4,5,6" respectively. I > want to use the split command to make an array so that myVar[1,1] = > 1 and myvar[2,1] =4. split ALWAYS seems to think that the first item > it encounters in each line is the key I want to use to reference > it, and everything after that are the elements of the array. I JUST > want to convert a list to an array an reference the elements by row > and column. > > Eventually I want to delete whole columns of the array and recombine > the array back to a list. If I have to use repeat loops to populate > the array, why then that's like paying for a glass of orange juice > with a bottle of orange juice. > > Any ideas? > > Bob Sneidar > IT Manager > Calvary Chapel CM > Sent from iPhone > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Mon Feb 16 13:48:13 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 16 Feb 2009 10:48:13 -0800 Subject: Arrays and Custom Props In-Reply-To: <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> References: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> <77103395750.20090214134805@ahsoftware.net> <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> Message-ID: > > Like with fields, you can not store user information in a custom property > in an application (or standalone). > This isn't quite right. On the mac, I can save data to a separate stack INSIDE of a standalone package with no problem. Not always the best place to put the data in some situations, but it works. Stephen Barncard ------------------------- San Francisco Stephen Barncard ------------------------- San Francisco 2009/2/16 Bob Sneidar > Hi Mark. > > Thanks. I do understand that properties are persistent so long as a > standalone is running. I understand that Revolution standalones will not > save the state of properties when you quit them. I was saying that > Applescript standalones CAN and DO save the state of properties when they > quit, so that when you start up again they have the values you set them to > before you quit. The only time you lose them is when you recompile the > standalone (of course). > > I was just thinking in some future rendition of Revolution, maybe they > could pull that off, by saving the states of the properties internally to > the package itself. Barring that, maybe having a seperate "runtime engine" > similar to what Foxpro used to use, which did not allow development, but > only allowed execution of stacks would be possible. > > BTW I tested the theory that an app cannot be modified while running. This > is not true. I opened TextEdit and while it was running I opened the package > contents and edited a plist file using PlistEditPro. I changed one of the > values and saved the plist successfully. Wouldn't an internal property plist > file do nicely for just this sort of thing? > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 14, 2009, at 1:48 PM, Mark Wieder wrote: > > Robert- >> >> Saturday, February 14, 2009, 1:27:33 PM, you wrote: >> >> I suppose where I was getting confused is that Applescript apps >>> properties are persistent. I just assumed rev apps pulled the same >>> kind of trick. >>> >> >> Methinks you're still a bit confused about this. >> Custom. Properties. Are. Persistent. >> >> The "problem" with standalone apps is that they can't be modified >> while they're running. So any changes you make in memory aren't (and >> can't) be saved to the running application. This is an operating >> system thing, not a rev thing. There are various ways to work around >> this: preferences files, splash screen apps, separate stack files, >> etc. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bobs at twft.com Mon Feb 16 13:52:51 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Feb 2009 10:52:51 -0800 Subject: McAfee virus detection deletes valid file In-Reply-To: <01DCEDAC-1400-465E-9CA1-0DC052358549@anachreon.co.uk> References: <4998ED2C.1050608@hyperactivesw.com> <49999453.8050101@hyperactivesw.com> <01DCEDAC-1400-465E-9CA1-0DC052358549@anachreon.co.uk> Message-ID: Hi Luis. Gotta weigh in on this with Jacque. There is no way a distributed app can require this level of futzing by the end users, or even an IT person. If I encountered something like that in some software that told me I had to edit some registry key or play with permissions to get their software to work, I would simply not use the software. In fact I have banned some software from our inventory because they "require" the end user to be an administrator. That's pretty cheeky stuff. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 16, 2009, at 9:14 AM, Luis wrote: > Hiya, > > You could include a manual 'how to' for this... > > I think if you set the script to run at startup (via a Registry key > setting?) you might prevent it from being deleted: Not too sure > about this, but it's something I've heard about. > Will McAfee check the application's Trusted Sources? If so, maybe > getting this set will then tell McAfee to keeps its hand off. > > Other than that, maybe checking to see if there are any command line > switches that could do it (after the usual 'please disable any anti- > virus software prior to running the installation') - Hey! Why not > just get them to disable it for the duration of the installation! > > Cheers, > > Luis. > > > > On 16 Feb 2009, at 16:29, J. Landman Gay wrote: > >> Luis wrote: >>> Hiya, >>> Is this the Enterprise version of McAfee? I'm not sure if the same >>> applies to the consumer versions: >>> In the On-Access Scan Properties you can set an exception in the >>> ScriptScan tab. >>> Failing that, you can tell it to exclude scanning a specific >>> folder (where the actions and the script reside). >> >> Thanks so much, I'll pass this on, but I'm skeptical about its >> effectiveness. The target user base is very naive for the most part >> and we can't trust them to tinker with their virus settings. It's a >> general consumer app that will be sold to home users as well as >> schools, etc. I think they will see the virus warning, click OK, >> and break the software. Then the app will get blamed for being buggy. >> >> I wish we could contact McAfee find out how to circumvent this but >> of course they'd just laugh if they responded at all. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Mon Feb 16 13:54:40 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Feb 2009 10:54:40 -0800 Subject: Arrays and Custom Props In-Reply-To: References: <49961391.4000608@fourthworld.com> Message-ID: Thanks Mark! Just what the doctor ordered (again from you). I thought I remembered something like this. Since the app is mainly going to be used in house that will be perfect. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 14, 2009, at 2:40 PM, Mark Swindell wrote: > > On Feb 14, 2009, at 1:18 PM, Robert Sneidar wrote: > >> I thought after I sent the email, is there a runtime engine for rev >> that would allow stacks to run as documents? > > Yes, Revolution Player: > http://www.runrev.com/downloads/all-downloads/revolution-player/ > > or Ken Ray's Stackrunner > http://www.sonsothunder.com/devres/revolution/downloads/ > StackRunner.htm > > An application's substacks can save changes and can maintain > persistent custom properties as long as they are saved as separate > stacks when building your standalone. One way to do this is to make > your splash screen your mainstack and save substacks as separate > files when you build your application. > > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Mon Feb 16 13:56:43 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Feb 2009 10:56:43 -0800 Subject: Arrays and Custom Props In-Reply-To: References: Message-ID: <4DBB9B5B-435E-4930-9AA4-D86DD10CF823@twft.com> If this is another duplicate from me I apologise. My email keeps defaulting to the wrong account and I don't catch it in time. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 13, 2009, at 4:24 PM, Robert Sneidar wrote: > WHOA THERE TONTO! I thought the whole idea to properties was > persistence?? That means that I cannot save, for instance, the > database settings a user entered? I have to create an external file > for all of that? And so many card and object properties in my app > DEPEND on persistence through runtime. This means that I have to put > a kabosh on the whole project! > > Say it ain't so Sam! > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 13, 2009, at 3:53 PM, Jim Ault wrote: > >> I think of arrays as.. >> Arrays, like variables, evaporate on quitting, >> Custom properties, like button names, are stored in the stack file. >> (note: this is not true for compiled apps since they cannot be >> modified >> You store data in custom properties before compiling and they >> become part of >> your app, such as jpgs, sounds, even whole stack files) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Mon Feb 16 13:58:20 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Feb 2009 10:58:20 -0800 Subject: Arrays and Custom Props In-Reply-To: <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> References: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> <77103395750.20090214134805@ahsoftware.net> <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> Message-ID: <127266011750.20090216105820@ahsoftware.net> Bob- Monday, February 16, 2009, 10:28:57 AM, you wrote: > BTW I tested the theory that an app cannot be modified while running. > This is not true. I opened TextEdit and while it was running I opened > the package contents and edited a plist file using PlistEditPro. I > changed one of the values and saved the plist successfully. Wouldn't > an internal property plist file do nicely for just this sort of thing? Yes it would. You're quite correct in that you can edit the plist file while an app is running. But this is like editing a preferences file while an app is running. As Jacque pointed out, the "app" itself is a separate object in the package. Runrev could easily allow changes to be saved in a plist file or something else in the package and so allow the functionality you're after. But this wouldn't be cross-platform and might run into permissions problems, depending on where the app was stored. You can make this functionality yourself in any of the several ways that have been described here, even to the point of using plist files if you desire. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Mon Feb 16 14:01:59 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Feb 2009 11:01:59 -0800 Subject: Arrays and Custom Props In-Reply-To: <4999B419.3060905@hyperactivesw.com> References: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> <77103395750.20090214134805@ahsoftware.net> <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> <4999B419.3060905@hyperactivesw.com> Message-ID: <933C06D4-D501-4B53-B761-F85457975C66@twft.com> Oh gotcha! So you are saying that the properties are something that is a part of the executable inside the package? How odd. Anyway, I don't want to belabor the point. The fact is, there are workarounds, and some with real benefits (such as default restoration) and such that will work nicely for me. Thanks all. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 16, 2009, at 10:44 AM, J. Landman Gay wrote: > Bob Sneidar wrote: > >> BTW I tested the theory that an app cannot be modified while >> running. This is not true. I opened TextEdit and while it was >> running I opened the package contents and edited a plist file using >> PlistEditPro. I changed one of the values and saved the plist >> successfully. > > You weren't changing the app though. You were changing a separate > file inside the bundle. The application bundle is just a fancy folder. > > The running executable itself is inside the MacOS folder, and it > usually looks like a Linux document. Change that, and your program > won't even launch any more. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david at architex.tv Mon Feb 16 14:03:08 2009 From: david at architex.tv (David Bovill) Date: Mon, 16 Feb 2009 19:03:08 +0000 Subject: Printing in high quality - any experts? Message-ID: Anyone know how rev prints images - a Desktop Publishing program will display screen resolution images but use the linked high quality image to print. What does Rev do, if you have a linked image? I am assuming it prints a screen resolution image and ignored the full data in the image on file? If so any idea of how to get around this? From stephenREVOLUTION2 at barncard.com Mon Feb 16 14:38:08 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 16 Feb 2009 11:38:08 -0800 Subject: Printing in high quality - any experts? In-Reply-To: References: Message-ID: Others may chime in on this, but Rev works pretty well using oversize* image files shrunk on screen with the printer using the extra resolution and size for detail. This is in version 2.9 onwards. By oversize, I mean more pixels available than needed for screen resolution. Stephen Barncard ------------------------- San Francisco 2009/2/16 David Bovill : > Anyone know how rev prints images - a Desktop Publishing program will > display screen resolution images but use the linked high quality image to > print. What does Rev do, if you have a linked image? I am assuming it prints > a screen resolution image and ignored the full data in the image on file? If > so any idea of how to get around this? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Mon Feb 16 14:45:20 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Feb 2009 11:45:20 -0800 Subject: Arrays and Custom Props In-Reply-To: <933C06D4-D501-4B53-B761-F85457975C66@twft.com> References: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> <77103395750.20090214134805@ahsoftware.net> <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> <4999B419.3060905@hyperactivesw.com> <933C06D4-D501-4B53-B761-F85457975C66@twft.com> Message-ID: <67268832015.20090216114520@ahsoftware.net> Bob- Monday, February 16, 2009, 11:01:59 AM, you wrote: > Oh gotcha! So you are saying that the properties are something that is > a part of the executable inside the package? How odd. Not that odd if you think of the "package" as a folder. That's what it is and it's up to the OS to show it to you as an "application". The "executable" part is an object within the application folder. So are any other resources needed by the app. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Mon Feb 16 14:55:45 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Feb 2009 11:55:45 -0800 Subject: Arrays and Custom Props Message-ID: <4999C4C1.50800@fourthworld.com> Bob Sneidar wrote: > Oh gotcha! So you are saying that the properties are something that is > a part of the executable inside the package? How odd. The confusion stems from OS X lying to us: it tells us that an application is a file, when it's really a folder. :) The actual executable (the runtime engine bound to your stack) is inside that folder in /Contents/MacOS/. That executable is essentially the same as you get on Win and Linux, except that on OS X it's buried inside of these other folders comprising the "bundle". This executable cannot modify itself at runtime, and I don't believe any of the supported OSes allow any executable to modify themselves. But as you've found, just about any data file be modified, including those stored in the bundle (with appropriate permissions). While it's possible to write data into the bundle, the OS X HIG suggests using the Application Support folder or Preferences for that. The equivalent to Application Support in Win is Application Data. You can get the paths to these using Rev's specialFolderPath function: -- OS X: Application Support get specialFolderPath("asup") -- OS X: Preferences: get specialFolderPath("preferences") -- Win: Application Data: get specialFolderPath(26) For a complete list of constants for special folders on OS X and Win: As Paul noted, one advantage to storing your user's data outside of the bundle is that they can upgrade the application without losing their data. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From tsj at unimelb.edu.au Mon Feb 16 16:31:06 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 17 Feb 2009 08:31:06 +1100 Subject: How to launch an app on top of the finder? In-Reply-To: Message-ID: tell application "2" to activate Should do it. Terry... On 17/02/09 1:34 AM, "Tiemo Hollmann TB" wrote: > Hello, > > probably an easy one for the Mac guys: > > When starting app 1 in the finder it launches app 2, BUT app 2 is being > launched behind the finder window. Same result if I do just "launch myApp" > or using "tell application finder to open myApp with applescript" > > Any idea, how to bring app 2 on top of all windows? > > Thank you > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Mon Feb 16 16:46:52 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Feb 2009 13:46:52 -0800 Subject: Arrays and Custom Props In-Reply-To: <4999C4C1.50800@fourthworld.com> References: <4999C4C1.50800@fourthworld.com> Message-ID: <5F1F8D34-3FE4-4545-B615-F1F8C0C74B00@twft.com> Sorry all didn't make myself clear. The "oddity" was not that Mac apps are packages. The "oddity" is that the properties cannot be saved when you quit the app because they are (ostensibly) part of the executable. I believe that was the reason given for the fact that a revolution executable property set would not survive a quit and relaunch (when in fact an Applescript executable's properties are saved). If that is not the case, if the properties are not attached to the executable, then there really isn't a reason why the app cannot store properties inside the package, or at least save them on quitting the app. But that is a story for another thread. This is really academic as I can write my own property saving method, or even use low level file functions inside the package to accomplish the same thing. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 16, 2009, at 11:55 AM, Richard Gaskin wrote: > Bob Sneidar wrote: >> Oh gotcha! So you are saying that the properties are something that >> is a part of the executable inside the package? How odd. > > The confusion stems from OS X lying to us: it tells us that an > application is a file, when it's really a folder. :) > > The actual executable (the runtime engine bound to your stack) is > inside that folder in /Contents/MacOS/. That executable is > essentially the same as you get on Win and Linux, except that on OS > X it's buried inside of these other folders comprising the > "bundle". This executable cannot modify itself at runtime, and I > don't believe any of the supported OSes allow any executable to > modify themselves. > > But as you've found, just about any data file be modified, including > those stored in the bundle (with appropriate permissions). > > While it's possible to write data into the bundle, the OS X HIG > suggests using the Application Support folder or Preferences for > that. The equivalent to Application Support in Win is Application > Data. You can get the paths to these using Rev's specialFolderPath > function: > > -- OS X: Application Support > get specialFolderPath("asup") > > -- OS X: Preferences: > get specialFolderPath("preferences") > > -- Win: Application Data: > get specialFolderPath(26) > > For a complete list of constants for special folders on OS X and Win: > > > As Paul noted, one advantage to storing your user's data outside of > the bundle is that they can upgrade the application without losing > their data. > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From michaell at unimelb.edu.au Mon Feb 16 17:02:32 2009 From: michaell at unimelb.edu.au (Michael Lew) Date: Tue, 17 Feb 2009 09:02:32 +1100 Subject: Deleting a column ... Message-ID: Dear Bob You need to set the columndelimiter to comma for your script to work. The columndelimiter defaults to tab (sensibly, in my opinion). This works: on testFunction breakpoint set the columndelimiter to comma put "1,2,3" & return & "4,5,6" into myVar split myVar by column delete variable myVar[2] combine myvar by column put myVar end testFunction Michael > I did this: > > ON testFunction > breakpoint > put "1,2,3" & return & "4,5,6" into myVar > split myVar by column > delete variable myVar[2] > combine myvar by column > put myVar > END testFunction From mdswindell at cruzio.com Mon Feb 16 17:10:52 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 16 Feb 2009 14:10:52 -0800 Subject: Arrays and Custom Props In-Reply-To: <5F1F8D34-3FE4-4545-B615-F1F8C0C74B00@twft.com> References: <4999C4C1.50800@fourthworld.com> <5F1F8D34-3FE4-4545-B615-F1F8C0C74B00@twft.com> Message-ID: <194C3505-D5D8-413E-AE4A-6A6495F9FDBA@cruzio.com> Bob, You're right, I'm not clear what you're saying. :) First off, I'm not one of the illuminati on this list by a long shot. But I do think I have a grasp of a couple of concepts, and I'll be corrected if I'm wrong. Properties are associated with objects. Objects come with a set of built in properties. (height, width, visible, etc.) On top of that a user can create a new "custom" property for any given object (button, field, card, stack, etc.) simply by declaring it. These are custom properties. They are associated with the object you associate them with, and remain so. The exception to the above is that if you make any change to an executable (a standalone), including adding a card, a button, changing an objects properties (custom or innate), that change will not be saved when the executable quits. But this only affects the executable stack. A SUBSTACK of the executable, as long as it is saved as a separate file when the standalone is created, can be saved, and it's changes will be saved. You have to save it deliberately by issuing the command "save this stack" in some form or another, but those changes will be saved. Now, when the executable opens and calls for that substack to open, the substack will appear with all changes intact. That's why the splash stack is often used for this purpose. It is the executable, but all associated substacks, as long as they were saved as separate substacks by checking the "move substacks to individual files" (or whatever is is) in the application builder are modifiable and those modifications persist. Including custom properties. Maybe this is all clear to you and I'm just not understanding, but in any case... Thanks, Mark Swindell On Feb 16, 2009, at 1:46 PM, Bob Sneidar wrote: > Sorry all didn't make myself clear. The "oddity" was not that Mac > apps are packages. The "oddity" is that the properties cannot be > saved when you quit the app because they are (ostensibly) part of > the executable. I believe that was the reason given for the fact > that a revolution executable property set would not survive a quit > and relaunch (when in fact an Applescript executable's properties > are saved). > > If that is not the case, if the properties are not attached to the > executable, then there really isn't a reason why the app cannot > store properties inside the package, or at least save them on > quitting the app. > > But that is a story for another thread. This is really academic as I > can write my own property saving method, or even use low level file > functions inside the package to accomplish the same thing. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 16, 2009, at 11:55 AM, Richard Gaskin wrote: > >> Bob Sneidar wrote: >>> Oh gotcha! So you are saying that the properties are something >>> that is a part of the executable inside the package? How odd. >> >> The confusion stems from OS X lying to us: it tells us that an >> application is a file, when it's really a folder. :) >> >> The actual executable (the runtime engine bound to your stack) is >> inside that folder in /Contents/MacOS/. That executable is >> essentially the same as you get on Win and Linux, except that on OS >> X it's buried inside of these other folders comprising the >> "bundle". This executable cannot modify itself at runtime, and I >> don't believe any of the supported OSes allow any executable to >> modify themselves. >> >> But as you've found, just about any data file be modified, >> including those stored in the bundle (with appropriate permissions). >> >> While it's possible to write data into the bundle, the OS X HIG >> suggests using the Application Support folder or Preferences for >> that. The equivalent to Application Support in Win is Application >> Data. You can get the paths to these using Rev's specialFolderPath >> function: >> >> -- OS X: Application Support >> get specialFolderPath("asup") >> >> -- OS X: Preferences: >> get specialFolderPath("preferences") >> >> -- Win: Application Data: >> get specialFolderPath(26) >> >> For a complete list of constants for special folders on OS X and Win: >> >> >> As Paul noted, one advantage to storing your user's data outside of >> the bundle is that they can upgrade the application without losing >> their data. >> >> -- >> Richard Gaskin >> Fourth World >> Revolution training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Feb 16 17:11:02 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Feb 2009 14:11:02 -0800 Subject: Arrays and Custom Props Message-ID: <4999E476.7040807@fourthworld.com> Bob Sneidar wrote: > Sorry all didn't make myself clear. The "oddity" was not that Mac apps > are packages. The "oddity" is that the properties cannot be saved when > you quit the app because they are (ostensibly) part of the executable. > I believe that was the reason given for the fact that a revolution > executable property set would not survive a quit and relaunch (when in > fact an Applescript executable's properties are saved). At the risk of pulpifying this long-dead horse, for clarity's sake I don't believe it's the *executable? within an AppleScript applet bundle that is being modified. AFAIK that isn't possible in any UNIX-based system. It would appear that these properties are stored in a data file within the bundle (the .rsrc file?) and it's the data file that's being modified, just as one can do with any non-standalone Rev stack. With regard to self-modification, Rev has no limitations not imposed on any other app by the OS itself. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From support at ahsomme.com Mon Feb 16 17:21:18 2009 From: support at ahsomme.com (Paul Looney) Date: Mon, 16 Feb 2009 14:21:18 -0800 Subject: Arrays and Custom Props In-Reply-To: References: <529F64E9-7BEC-42DF-976E-58E002D43A9E@mac.com> <77103395750.20090214134805@ahsoftware.net> <174A5BAF-1171-4EB2-94C8-8DA55AE2C60F@twft.com> Message-ID: Stephen, You are correct, of course. I was over-simplifying. I completely agree with you that putting user data inside a stack inside a standalone is not a good idea. The most important point I was trying to make was, as Mark had said earlier, custom properties can persist. Paul Looney On Feb 16, 2009, at 10:48 AM, stephen barncard wrote: >> >> Like with fields, you can not store user information in a custom >> property >> in an application (or standalone). >> > > This isn't quite right. On the mac, I can save data to a separate > stack > INSIDE of a standalone package with no problem. Not always the best > place to > put the data in some situations, but it works. > > Stephen Barncard From alex at tweedly.net Mon Feb 16 17:22:40 2009 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 16 Feb 2009 22:22:40 +0000 Subject: way to inform rev apps to get something from web server In-Reply-To: <7c87a2a10902160646q7bc72481k958563177584d756@mail.gmail.com> References: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> <4998ABD1.6000204@tweedly.net> <7c87a2a10902160646q7bc72481k958563177584d756@mail.gmail.com> Message-ID: <4999E730.9060403@tweedly.net> Andre Garzia wrote: > Sims, > > I think the trick is not on the client side but on the server side. > Instead of pointing your Rev client to a fixed server, use a balancing > solution, there are load balancers that are able to distribute the > request among multiple servers so that you can scale (add more > servers) as needed without the need to rewrite things. > > This way you script your app normally, but on the server you put > enough logic so that you can add more servers to a pool if you see > that it is getting hard to cope with the demand. > > One good balancer is 'Pound': http://www.apsis.ch/pound/ > > With a solution like that you'll be able to plan your scaling needs. > Sorry, andre, but I have to disagree. Most load-balancers, including Pound, allow you to scale your servers - but they do nothing to save on bandwidth. Each request comes to the same loadbalancer, which distributes them between back-end serves. So one of the the original concerns, web traffic, is undiminished - the same level of traffic passes over the network-facing interface in either case. In general, load-balancing is most effective when the processing required is considerable, and that can be shared beteen servers; or when the quantity of data output is significant (and you use the request redirector feature). But in this case, the typical request is small, and results in a small amount of output data (i.e. a one line file). So although I'm all in favour of these schemes (I helped develop what I think was the first commercially successful load distributor, Cisco's Distributed Director :-), I don't think it does much in this case. Also, in this case, we hve control over the requesting app, and so have capabilities not available to the average Web developer. (see also further reply to sims email ...) -- Alex. From bobs at twft.com Mon Feb 16 18:28:18 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Feb 2009 15:28:18 -0800 Subject: Arrays and Custom Props In-Reply-To: <194C3505-D5D8-413E-AE4A-6A6495F9FDBA@cruzio.com> References: <4999C4C1.50800@fourthworld.com> <5F1F8D34-3FE4-4545-B615-F1F8C0C74B00@twft.com> <194C3505-D5D8-413E-AE4A-6A6495F9FDBA@cruzio.com> Message-ID: <9469E304-EE09-446F-AB1F-4EB55B7B8811@twft.com> Thanks Mark that is probably the methodology I will use when the time comes. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 16, 2009, at 2:10 PM, Mark Swindell wrote: > The exception to the above is that if you make any change to an > executable (a standalone), including adding a card, a button, > changing an objects properties (custom or innate), that change will > not be saved when the executable quits. But this only affects the > executable stack. > > A SUBSTACK of the executable, as long as it is saved as a separate > file when the standalone is created, can be saved, and it's changes > will be saved. You have to save it deliberately by issuing the > command "save this stack" in some form or another, but those changes > will be saved. > > Now, when the executable opens and calls for that substack to open, > the substack will appear with all changes intact. That's why the > splash stack is often used for this purpose. It is the executable, > but all associated substacks, as long as they were saved as separate > substacks by checking the "move substacks to individual files" (or > whatever is is) in the application builder are modifiable and those > modifications persist. Including custom properties. From andre at andregarzia.com Mon Feb 16 18:31:29 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 Feb 2009 20:31:29 -0300 Subject: way to inform rev apps to get something from web server In-Reply-To: <4999E730.9060403@tweedly.net> References: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> <4998ABD1.6000204@tweedly.net> <7c87a2a10902160646q7bc72481k958563177584d756@mail.gmail.com> <4999E730.9060403@tweedly.net> Message-ID: <7c87a2a10902161531h3d26ec11h756a890cf69d7956@mail.gmail.com> Alex, are trying to save bandwidth? oops, I've missed that part, I though he was afraid the server would enter DoS or something. I agree that using a balancer will do absolutelly nothing about bandwidth costs or usage, and yes, you're right about pound getting all the requests before distributing them. So what about transfering some balance logic into the client application. It could first download a simple text file with a list of available servers and with each request go round-robin them. This will not save bandwidth (I don't know how to do that) but would help distributing things among a pool if the traffic gets high. The file could have the ip of the server and some priority or something like that, so in case of timeouts and some little math, things could be worked out. As for saving bandwidth, why not use GZip encoding for the transfers, it saves some bytes. Andre On Mon, Feb 16, 2009 at 7:22 PM, Alex Tweedly wrote: > Andre Garzia wrote: >> >> Sims, >> >> I think the trick is not on the client side but on the server side. >> Instead of pointing your Rev client to a fixed server, use a balancing >> solution, there are load balancers that are able to distribute the >> request among multiple servers so that you can scale (add more >> servers) as needed without the need to rewrite things. >> >> This way you script your app normally, but on the server you put >> enough logic so that you can add more servers to a pool if you see >> that it is getting hard to cope with the demand. >> >> One good balancer is 'Pound': http://www.apsis.ch/pound/ >> >> With a solution like that you'll be able to plan your scaling needs. >> > > Sorry, andre, but I have to disagree. Most load-balancers, including Pound, > allow you to scale your servers - but they do nothing to save on bandwidth. > Each request comes to the same loadbalancer, which distributes them between > back-end serves. So one of the the original concerns, web traffic, is > undiminished - the same level of traffic passes over the network-facing > interface in either case. > > In general, load-balancing is most effective when the processing required is > considerable, and that can be shared beteen servers; or when the quantity of > data output is significant (and you use the request redirector feature). But > in this case, the typical request is small, and results in a small amount of > output data (i.e. a one line file). > > So although I'm all in favour of these schemes (I helped develop what I > think was the first commercially successful load distributor, Cisco's > Distributed Director :-), I don't think it does much in this case. > > Also, in this case, we hve control over the requesting app, and so have > capabilities not available to the average Web developer. (see also further > reply to sims email ...) > > -- Alex. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From alex at tweedly.net Mon Feb 16 18:32:20 2009 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 16 Feb 2009 23:32:20 +0000 Subject: way to inform rev apps to get something from web server In-Reply-To: References: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> <4998ABD1.6000204@tweedly.net> Message-ID: <4999F784.9010100@tweedly.net> Jim Sims wrote: > I'm discussing the development of a promotional marketing tool with > someone who services the internet gaming industry here in Malta > (poker, bingo, casino, etc.). About ten years ago he did something > similar with a software company that went on to sell a license to the > BBC. They had problems when they tried to scale to the large numbers > of users the BBC threw at them. So, a few thousand users would be the > starting point. Most gambling companies have around 3-6,000 hardcore > users but tons of occasional users. > > What I have already concocted is the text file only contains the name > of the last version presented (the name is the milliseconds plus > .txt), when the users application gets that number it checks locally > with a userProp that contains the name of the last version they saw. > I've been thinking of having the polling take place very five minutes > or so as this is not a life threatening situation or crucial (although > Marketing guys can be 'life threatening' ;-) > That sounds pretty good. 6000 users spread over 5 minutes is only 20 requests per second - easy-peasy. Now if they have "tons" of occasional users, and a successful marketing campaign, does that 6000 turn overnight into 600,000? And if so, do they have servers capable of dealing with a continual load of 2000 requests per second PLUS the load of sending each of those 600,000 users the update when it happens ? > > If I understand you, then UDP is probably not going to get the job > done as there will be a wide variety of users, all with individual ISP > and firewall setups that are not in my control. Maybe my original > design is close to the mark (polling). Polling every 20 - 30 minutes > is a possibility. Being consistent with the timing so every user has > equal odds is the important thing. I suppose they could poll once an > hour if need be, but being able to say more frequently helps my > Marketing message in selling this ;-) > Extending the polling cycle can help; in fact, you could consider making it dynamic, for instance by allowing the server to put into that one-line file not just the name of the latest update, but also the polling cycle to be used. Then you can (some time in the future, if needed) either just increase it, or allow the server to dynamically update it. (Marketing - "you can tune the update frequency based on number of users to minimize the delay during quiet times while avoiding getting overloaded during busy times".) >> btw - are the updates/events truly random timing ? or could the >> server have some idea of when the next update will be available ? If >> so, have the reply to the polls include an estimated 'next event >> time', so the client can vary his polling cycle. > > Totally random - when the Marketing dudes want to release some > promotion then they will use this. I would anticipate it only being > used a handful of times per day. > >> And also consider trying to keep the polling times random. You want >> to avoid the case where the clients will align their query times, >> causing surges of queries (and indeed of eventual updates); the >> simplest way is probably to make the pollling times be (say) 120 >> seconds +/- random(20 seconds). > > As the polling will initiate according to when they start their > application then it should be random anyway. > Ahhh. How random will it be ? There is one phenomenon (which may or may not be an Urban Myth) associated with this kind of scalability that could hit you. The Super-Bowl surge During the first minute of the half-time break in the televised Super Bowl, something like 25% of homes in the US switch on a significant appliance (kettle, coffee maker, microwave, pop-corn maker, etc.). This leads to one of the sharpest spikes in electrical demand. (Also known as the Super Bowl flush - a similar percentage of houses flush at least one toilet in that same time interval, leading to unusually high load on the sewer system). I doubt if you'd suffer that kind of uneven demand, certainly not from the Super Bowl (I stayed up till 3am to watch it, but I doubt if many in Europe did :-) But you may well see your users unevenly spread over time, say because of TV schedules or the World Cup final or other such events; in the US where almost all programs start/finish on the hour/half-hour boundary, you may well see over 50% of your users start their app during the 00-05 minute interval, with a smaller peak in 30-35 minute interval. In that case, changing your polling time from 5 minutes to 30 minutes may make little difference ..... but then including some randomisation will help. Of course, the second issue is that it's not just the polling you need to worry about, it's actually satisfying the demand when there *is* an update available. Do all 6000 users (or 600,000) then download some real file or data ? Can you cope with that ? (This is where load-balancing might come into its own). -- Alex. From bobs at twft.com Mon Feb 16 18:31:56 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Feb 2009 15:31:56 -0800 Subject: Deleting a column ... In-Reply-To: References: Message-ID: Yep figured this out. I was using commas instead of tabs. DOH! Others helped me on this one also, Kudos to all. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 16, 2009, at 2:02 PM, Michael Lew wrote: > Dear Bob > > You need to set the columndelimiter to comma for your script to > work. The > columndelimiter defaults to tab (sensibly, in my opinion). > > This works: > on testFunction > breakpoint > set the columndelimiter to comma > put "1,2,3" & return & "4,5,6" into myVar > split myVar by column > delete variable myVar[2] > combine myvar by column > put myVar > end testFunction > > Michael > >> I did this: >> >> ON testFunction >> breakpoint >> put "1,2,3" & return & "4,5,6" into myVar >> split myVar by column >> delete variable myVar[2] >> combine myvar by column >> put myVar >> END testFunction > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From briany at qldlearning.com Mon Feb 16 18:44:41 2009 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 16 Feb 2009 15:44:41 -0800 Subject: way to inform rev apps to get something from web server In-Reply-To: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> References: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> Message-ID: <3D61B4C3-8BDD-4FCE-B061-2165F8932584@qldlearning.com> Jim, Are you sure that simple polling is really too "bandwidth wasteful" for your application? You can make a lot of HTTP requests for a tiny file without coming close to the bandwidth needed for even small media files. A single dedicated web server should be able to service many thousands of requests per second. If each client was checking every 5 minutes (= 300 seconds), you could quite possibly scale to over a million clients talking to just 1 basic web server. If you are serving media files from the same server, I would first look at that as the bottleneck. Those could eat up your server resources much faster than the polling. One simple solution would be moving your media files to a service such as Amazon S3, and then have the "gateway" server just service polling requests. When you say "data" -- are these static files, or something that needs server-side scripts to return? Generally speaking, there is no general solution. You need to define the actual requirements -- how frequent is the polling, how many users must you support, what is your budget, what kind of data are you serving, etc. HTH > Here is what I want to do: > > Lets say I have a large number of rev apps that will go to a web > server and grab some data/image when told to do so (when given a > signal to do so). > > I could have these apps poll a text file or something on a web > server every so many minutes but I want a less 'bandwidth wasteful' > way to inform these apps to act. > > What is the best way to do this? UDP? TCP server/client? Something > else? > What obstacles might I encounter? > > > sim From luis at anachreon.co.uk Mon Feb 16 18:51:16 2009 From: luis at anachreon.co.uk (Luis) Date: Mon, 16 Feb 2009 23:51:16 +0000 Subject: McAfee virus detection deletes valid file In-Reply-To: References: <4998ED2C.1050608@hyperactivesw.com> <49999453.8050101@hyperactivesw.com> <01DCEDAC-1400-465E-9CA1-0DC052358549@anachreon.co.uk> Message-ID: <4999FBF4.2090801@anachreon.co.uk> Hiya, The 'how to' part referred to the manual setting of the exception. The other part (the registry insertion) would be done by the Rev app. Granted, I should have made it clearer, but in this instance I was following through as if it were a conversation. Cheers, Luis. Bob Sneidar wrote: > Hi Luis. > > Gotta weigh in on this with Jacque. There is no way a distributed app > can require this level of futzing by the end users, or even an IT > person. If I encountered something like that in some software that told > me I had to edit some registry key or play with permissions to get their > software to work, I would simply not use the software. In fact I have > banned some software from our inventory because they "require" the end > user to be an administrator. That's pretty cheeky stuff. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 16, 2009, at 9:14 AM, Luis wrote: > >> Hiya, >> >> You could include a manual 'how to' for this... >> >> I think if you set the script to run at startup (via a Registry key >> setting?) you might prevent it from being deleted: Not too sure about >> this, but it's something I've heard about. >> Will McAfee check the application's Trusted Sources? If so, maybe >> getting this set will then tell McAfee to keeps its hand off. >> >> Other than that, maybe checking to see if there are any command line >> switches that could do it (after the usual 'please disable any >> anti-virus software prior to running the installation') - Hey! Why not >> just get them to disable it for the duration of the installation! >> >> Cheers, >> >> Luis. >> >> >> >> On 16 Feb 2009, at 16:29, J. Landman Gay wrote: >> >>> Luis wrote: >>>> Hiya, >>>> Is this the Enterprise version of McAfee? I'm not sure if the same >>>> applies to the consumer versions: >>>> In the On-Access Scan Properties you can set an exception in the >>>> ScriptScan tab. >>>> Failing that, you can tell it to exclude scanning a specific folder >>>> (where the actions and the script reside). >>> >>> Thanks so much, I'll pass this on, but I'm skeptical about its >>> effectiveness. The target user base is very naive for the most part >>> and we can't trust them to tinker with their virus settings. It's a >>> general consumer app that will be sold to home users as well as >>> schools, etc. I think they will see the virus warning, click OK, and >>> break the software. Then the app will get blamed for being buggy. >>> >>> I wish we could contact McAfee find out how to circumvent this but of >>> course they'd just laugh if they responded at all. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Mon Feb 16 18:52:45 2009 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 16 Feb 2009 23:52:45 +0000 Subject: way to inform rev apps to get something from web server In-Reply-To: <7c87a2a10902161531h3d26ec11h756a890cf69d7956@mail.gmail.com> References: <3DC26B48-782E-4EE1-BAA5-B7E11B8E7B0F@ezpzapps.com> <4998ABD1.6000204@tweedly.net> <7c87a2a10902160646q7bc72481k958563177584d756@mail.gmail.com> <4999E730.9060403@tweedly.net> <7c87a2a10902161531h3d26ec11h756a890cf69d7956@mail.gmail.com> Message-ID: <4999FC4D.9040207@tweedly.net> Andre Garzia wrote: > Alex, > > are trying to save bandwidth? oops, I've missed that part, I though he > was afraid the server would enter DoS or something. I agree that using > a balancer will do absolutelly nothing about bandwidth costs or usage, > and yes, you're right about pound getting all the requests before > distributing them. > I was trying to save bandwidth, but that was based purely on the mention in the original email that he'd like to find a "less 'badnwidth wasteful' way ..." I suspect that the scheme sims has already implemented should reduce the concern about bandwidth to being much less important than server load. > So what about transfering some balance logic into the client > application. It could first download a simple text file with a list of > available servers and with each request go round-robin them. This will > not save bandwidth (I don't know how to do that) but would help > distributing things among a pool if the traffic gets high. The file > could have the ip of the server and some priority or something like > that, so in case of timeouts and some little math, things could be > worked out. > > That sounds like a very good idea - especially helpful for when there is an update. > As for saving bandwidth, why not use GZip encoding for the transfers, > it saves some bytes. > Yep. And it's probably not essential to *reduce* bandwidth, merely to distribute it well enough, so if the server pool is distributed (i.e. on multiple ISPs rather than all on the same site) then client-side load balancing should get us there. And if all else fails, and they are wildly successful, then presumably they'll be making enough money to just pay Akamai or Edgecast to handle it for them :-) -- Alex. From lan.kc.macmail at gmail.com Mon Feb 16 21:45:20 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 17 Feb 2009 10:45:20 +0800 Subject: Arrays and Custom Props In-Reply-To: <4999E476.7040807@fourthworld.com> References: <4999E476.7040807@fourthworld.com> Message-ID: On Tue, Feb 17, 2009 at 6:11 AM, Richard Gaskin wrote: > > At the risk of pulpifying this long-dead horse, for clarity's sake I don't > believe it's the *executable? within an AppleScript applet bundle that is > being modified. AFAIK that isn't possible in any UNIX-based system. > I figured the same, and I really have no idea what's going on 'under the hood', but I did a simple experiment. I opened ScriptEditor and put in the following: property theCount : 0 set theCount to theCount + 1 display dialog "The value of theCount is: " & theCount as string If you 'Run' this over and over the dialog displays an ever increasing number. If you recompile it goes back to 1. I then saved it, but there are a couple of options including 'Application' or 'Application Bundle', I used 'Application'. This produced a single file, I tried to 'cntrl-click' to 'Show Package Contents', but this did not come up, so this wasn't a case of an Application Bundle (a folder appearing to be a file). I then quit ScriptEditor and double clicked on my newly created App. It came up with a dialog with the number 1 and then self quit. I double clicked on it again and it said 2, etc etc. The Modification Time of the file changed with each running of the App. Maybe that horse isn't quite dead yet ;-) From lan.kc.macmail at gmail.com Mon Feb 16 22:12:38 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 17 Feb 2009 11:12:38 +0800 Subject: [OT] Rev + BBEdit In-Reply-To: <4998F010.9090104@fourthworld.com> References: <4998F010.9090104@fourthworld.com> Message-ID: On Mon, Feb 16, 2009 at 12:48 PM, Richard Gaskin wrote: > >> clippings/boilerplates >> find differences >> parentheses balancing >> > > Those shouldn't be deal-breakers with a tool as flexible as Rev. Forgive me > if I'm a bit of a Rev snob for text editing, but I find the engine so > responsive and text editing such a personal thing that I can't imagine > editing in a tool I couldn't take apart. :) No, your absolutely right! Rev's inbuilt script editor is MUCH improved, and I can't say enough about GLX2. And yes, I could spend some time to write my own Rev plug-in that could do these, but at the moment, I find it much faster, when needed, to simply open the files in BBEdit (find differences) or copy and paste into BBEdit (find balancing errors). You asked what was missing so these are nice to have improvements, not deal breakers. Robert Brenstein wants, powerful Search/Replace which optionally uses GREP with optional Find All search mode You know, in the Rev's Edit menu, at the bottom is Find and Replace (cmd-F). You have multiple options to include or exclude what and where you search. There is also a button that specifies that you've used GREP in your search string. To paraphrase Richard, What would you like to see in Find and Replace that's not in the one available? From rjb at robelko.com Mon Feb 16 22:47:31 2009 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 17 Feb 2009 04:47:31 +0100 Subject: [OT] Rev + BBEdit In-Reply-To: References: <4998F010.9090104@fourthworld.com> Message-ID: On 17.02.09 at 11:12 +0800 Kay C Lan apparently wrote: >Robert Brenstein wants, > >powerful Search/Replace which optionally uses GREP >with optional Find All search mode > >You know, in the Rev's Edit menu, at the bottom is Find and Replace (cmd-F). >You have multiple options to include or exclude what and where you search. >There is also a button that specifies that you've used GREP in your search >string. > >To paraphrase Richard, What would you like to see in Find and Replace that's >not in the one available? Regex is indeed a built-in option for global search and that search finds all objects that contain the search string. However, I was referring to searching within a single script, a script I am editing. Right now, one can search in the editor by hoping from instance to instance of the string. What I had in mind was seeing all lines with a given string at once. There is not grep option for the search or replace within the editor, either. At least not that I see that in 3.0. Robert From lan.kc.macmail at gmail.com Mon Feb 16 23:50:17 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 17 Feb 2009 12:50:17 +0800 Subject: [OT] Rev + BBEdit In-Reply-To: References: <4998F010.9090104@fourthworld.com> Message-ID: On Tue, Feb 17, 2009 at 11:47 AM, Robert Brenstein wrote: > What I had in mind was seeing all lines with a given string at once. There > is not grep option for the search or replace within the editor, either. Nice, I like that idea. From ambassador at fourthworld.com Tue Feb 17 00:43:43 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Feb 2009 21:43:43 -0800 Subject: Arrays and Custom Props Message-ID: <499A4E8F.7000401@fourthworld.com> Kay C Lan wrote: > On Tue, Feb 17, 2009 at 6:11 AM, Richard Gaskin > wrote: >> At the risk of pulpifying this long-dead horse, for clarity's sake I don't >> believe it's the *executable? within an AppleScript applet bundle that is >> being modified. AFAIK that isn't possible in any UNIX-based system. > > I figured the same, and I really have no idea what's going on 'under the > hood', but I did a simple experiment. I opened ScriptEditor and put in the > following: > > property theCount : 0 > set theCount to theCount + 1 > display dialog "The value of theCount is: " & theCount as string > > If you 'Run' this over and over the dialog displays an ever increasing > number. If you recompile it goes back to 1. > > I then saved it, but there are a couple of options including 'Application' > or 'Application Bundle', I used 'Application'. This produced a single file, > I tried to 'cntrl-click' to 'Show Package Contents', but this did not come > up, so this wasn't a case of an Application Bundle (a folder appearing to be > a file). > > I then quit ScriptEditor and double clicked on my newly created App. It came > up with a dialog with the number 1 and then self quit. I double clicked on > it again and it said 2, etc etc. The Modification Time of the file changed > with each running of the App. > > Maybe that horse isn't quite dead yet ;-) Or maybe just a ghostly apparition from the past: it seems that when you make an application with AppleScript (as opposed to a bundle) the resulting file uses CODE resources (ID 0 and 1). Even knowing what a CODE resource is makes me feel old. :) In ancient times (read "Mac OS 9 and earlier" ) apps used CODE resource for executable code. This is how HC made standalones, and even older versions of SC and Rev, just binding the CODE and other resouces of the engine to the stack in the data fork. Resources are kinda like separate files, much like the files in a bundle, in terms of being discrete elements. The CODE resources aren't changing between runs, but the scpt resource is (poking around with Rev's getResource function, apparently byte 651 there stores the value of theCount). So while these various different parts are technically in the same file, this is merely a clever trick of the legacy file system which still supports resource forks. As such, it's just one level of misdirection away from being more or less the same as a bundle in terms of code and data being separate. In OS X apps don't commonly use resource forks, and it's only a matter of time before the OS finally ditches them altogether. But in the meantime, if you want to use the dual-fork trick in Rev you can store your data in the resource fork using the setResource function. My main point is simply that there's no special restriction unique to Rev with regard to data storage. If another app has a way to store data in the application, Rev can probably use the same mechanism; where Rev can't store data, neither can any other. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From jacque at hyperactivesw.com Tue Feb 17 01:50:05 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Feb 2009 00:50:05 -0600 Subject: Arrays and Custom Props In-Reply-To: References: <4999E476.7040807@fourthworld.com> Message-ID: <499A5E1D.7070607@hyperactivesw.com> Kay C Lan wrote: > I then quit ScriptEditor and double clicked on my newly created App. It came > up with a dialog with the number 1 and then self quit. I double clicked on > it again and it said 2, etc etc. The Modification Time of the file changed > with each running of the App. Does it have a resource fork? Maybe it saves to that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Tue Feb 17 02:27:33 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 17 Feb 2009 01:27:33 -0600 Subject: McAfee virus detection deletes valid file In-Reply-To: <4998ED2C.1050608@hyperactivesw.com> Message-ID: > I am working with a developer who has written a custom VBA module for XP > and Vista. McAfee identifies this module as a virus and deletes it, > which renders a large part of our software useless. The module does > create and delete some temporary files, and also sends a shell command > that launches our Rev app. We don't know if either of these things makes > a difference. I'm sure it does... Norton does the same thing; any VB Script that touches the "FileSystemObject" gets flagged and either blocked or you get this annoying dialog letting the user know that something fishy's going on an asking them to approve, approve once or deny the running of the script. I'm sorry to say, but IMHO McAfee is to Norton as a nuclear bomb is to a firecracker... which is to say that I have had 100x as much trouble with people who have McAfee on their systems as I've had with Symantec/Norton. However there is a light at the end of the tunnel if all else fails... if the VBA module can be compiled into an actual DLL with Visual Basic (or the equivalent), then you can run a script that *calls* on the DLL to do it's functionality and Norton and McAfee won't block it since there's no way for them to know what a generic DLL call can do, so they just let it go. See the tip here for an example of what I mean and how to call it: http://www.sonsothunder.com/devres/revolution/tips/ext002.htm If you need any help with this, Jacque, contact me offlist... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From toolbook at kestner.de Tue Feb 17 03:29:35 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 17 Feb 2009 09:29:35 +0100 Subject: AW: How to launch an app on top of the finder? In-Reply-To: Message-ID: <2D2C31B8C1614ECB90DFF0288D66352C@Kestner.local> Thank you Terry, that did it Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Terry Judd > Gesendet: Montag, 16. Februar 2009 22:31 > An: How to use Revolution > Betreff: Re: How to launch an app on top of the finder? > > tell application "2" to activate > > Should do it. > > Terry... > > > On 17/02/09 1:34 AM, "Tiemo Hollmann TB" wrote: > > > Hello, > > > > probably an easy one for the Mac guys: > > > > When starting app 1 in the finder it launches app 2, BUT app 2 is being > > launched behind the finder window. Same result if I do just "launch > myApp" > > or using "tell application finder to open myApp with applescript" > > > > Any idea, how to bring app 2 on top of all windows? > > > > Thank you > > > > Tiemo > > > > > > > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Tue Feb 17 05:52:18 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 17 Feb 2009 11:52:18 +0100 Subject: Can a modal stack has a close box? Message-ID: Hello, Is there any option to give a modal stack a close box in the title bar? Or is it the only choice to close a modal stack by my own close button? As far as I experience it, all stack controls are ignored at a modal stack. Thanks Tiemo From janschenkel at yahoo.com Tue Feb 17 06:13:46 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 17 Feb 2009 03:13:46 -0800 (PST) Subject: Can a modal stack has a close box? In-Reply-To: Message-ID: <153558.71945.qm@web65411.mail.ac4.yahoo.com> --- On Tue, 2/17/09, Tiemo Hollmann TB wrote: > From: Tiemo Hollmann TB > Subject: Can a modal stack has a close box? > To: "'How to use Revolution'" > Date: Tuesday, February 17, 2009, 2:52 AM > Hello, > > Is there any option to give a modal stack a close box in > the title bar? Or > is it the only choice to close a modal stack by my own > close button? > > As far as I experience it, all stack controls are ignored > at a modal stack. > > Thanks > > Tiemo > Hi Tiemo, As it happens, I'm facing the opposite problem in Java: there's always a close box and you can't seem to get rid of it. UI guideline-wise the main reason why there's no Close box is simple: what is the effect of closing the dialog box without clicking on any of the presented options? If the dialog only has a single button (OK, Cancel,...), it's clear: the close box is simply the same as the only button. You could conceivably have a standard that the Close box is the equivalent of Cancel, but what does that say about a dialog box with two buttons "Choice 1" and "Choice 2" without a "Cancel" button? Best to avoid user confusion altogether, and force them to click one of the options you provided as buttons. Just my 2 cents, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From toolbook at kestner.de Tue Feb 17 06:23:41 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 17 Feb 2009 12:23:41 +0100 Subject: AW: Can a modal stack has a close box? In-Reply-To: <153558.71945.qm@web65411.mail.ac4.yahoo.com> Message-ID: <348EA08F2D864777A681FEEC9BCC471E@Kestner.local> Hi Jan, hmmm, perhaps I took the wrong approach. What I wanted to do is a welcome screen with some basic infos on first start. The User should read the infos first, before going on, that?s why I wanted modal. And this welcome window just has 1 only button "close". The close box in the title bar actually would be a duplicate, but an offer to the users, who are used to close windows with the close box... Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Jan Schenkel > Gesendet: Dienstag, 17. Februar 2009 12:14 > An: How to use Revolution > Betreff: Re: Can a modal stack has a close box? > > > --- On Tue, 2/17/09, Tiemo Hollmann TB wrote: > > > From: Tiemo Hollmann TB > > Subject: Can a modal stack has a close box? > > To: "'How to use Revolution'" > > Date: Tuesday, February 17, 2009, 2:52 AM > > Hello, > > > > Is there any option to give a modal stack a close box in > > the title bar? Or > > is it the only choice to close a modal stack by my own > > close button? > > > > As far as I experience it, all stack controls are ignored > > at a modal stack. > > > > Thanks > > > > Tiemo > > > > Hi Tiemo, > > As it happens, I'm facing the opposite problem in Java: there's always a > close box and you can't seem to get rid of it. UI guideline-wise the main > reason why there's no Close box is simple: what is the effect of closing > the dialog box without clicking on any of the presented options? > > If the dialog only has a single button (OK, Cancel,...), it's clear: the > close box is simply the same as the only button. You could conceivably > have a standard that the Close box is the equivalent of Cancel, but what > does that say about a dialog box with two buttons "Choice 1" and "Choice > 2" without a "Cancel" button? > > Best to avoid user confusion altogether, and force them to click one of > the options you provided as buttons. > > Just my 2 cents, > > Jan Schenkel. > > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Tue Feb 17 07:14:36 2009 From: sims at ezpzapps.com (Jim Sims) Date: Tue, 17 Feb 2009 13:14:36 +0100 Subject: way to inform rev apps to get something from web server Message-ID: Thanks again for the replies & suggestions :-) Tourism here and around the world has disappeared so I'm trying to expand my computer work to supply my tomatoes and wine. Thanks for the help. :-) The main concern from the person I talked to was cost of bandwidth, my question to this list centered on that but several other issues have been expressed here that I will also need to consider. The internet gambling business is used to very heavy traffic and do use load balancers plus they locate machines around the world just in case some government decides they want to pull the plug on gambling by passing laws or some undersea cable gets cut (happened twice recently here in Malta). They are huge businesses with lots of bean counters watching where the pennies go. Andre Garzia: "As for saving bandwidth, why not use GZip encoding for the transfers, it saves some bytes." sims: Most excellent Andre. Nice little BBEdit test file went from 8KB to 4KB - cut things in half :-) Now I have to see if my Rev CGI can do that. My Rev CGI interface makes the alert file when a promotion is made/setup. I bet the Rev CGI can do the compress trick for me. Alex Tweedly: "Extending the polling cycle can help; in fact, you could consider making it dynamic, for instance by allowing the server to put into that one-line file not just the name of the latest update, but also the polling cycle to be used. Then you can (some time in the future, if needed) either just increase it, or allow the server to dynamically update it. (Marketing - "you can tune the update frequency based on number of users to minimize the delay during quiet times while avoiding getting overloaded during busy times")." sims: Quite ingenious suggestion Alex, very cool. Thanks! Brian Yennie: "If you are serving media files from the same server, I would first look at that as the bottleneck. Those could eat up your server resources much faster than the polling. One simple solution would be moving your media files to a service such as Amazon S3, and then have the "gateway" server just service polling requests." sims: Quite right, thanks Brian. Amazon S3 is a great suggestion. "When you say "data" -- are these static files, or something that needs server-side scripts to return?" sims: Anything from a few text chars that popup in a window via my app to a video being downloaded. Depends on how 'enthusiastic' the Marketing dudes get. Thanks to all! sims From benr_mc at cogapp.com Tue Feb 17 07:53:52 2009 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 17 Feb 2009 12:53:52 +0000 Subject: [OT] Rev + BBEdit In-Reply-To: <4999A096.1090105@fourthworld.com> References: <4999A096.1090105@fourthworld.com> Message-ID: <499AB360.20803@cogapp.com> Richard Gaskin wrote: > Thanks for the ideas, folks. I've long believed it should be possible > to make a really good editor for Transcript, and since Ken and I have > been using ROSE for some time maybe I'll be able to add more of these at > it continues to evolve. ... > > My long term goal is to separate debugging from editing Robert Brenstein wrote: > You may want to fetch TextWrangler, a free sibbling of BBEdit, from > BareBones website. Most of those things are there, so you can just try > them out. Which somewhat makes Robert's point... Far be it from me to discourage anyone from doing a lot of work to make a better script editor in Rev, that I can then take a free (or indeed reasonably priced!) ride on. But I wonder whether the effort might instead better go into finding a better solution to integration with existing external editors. That way, maybe we could all take a free (or reasonably priced) ride on the work done in BBEdit, TextMate, Eclipse and the like. BBEdit and Eclipse both have excellent diff presentation; like others, I more frequently than I'd like to admit have recourse to copying scripts out to BBEdit to compare and resolve differences. BBEdit and TextMate (and Eclipse?) do code folding (though not I think for Revolution - I don't know whether this is something that can be dealt with in the language module). BBEdit and TextMate (and Eclipse?) have a whole 'roundtrip' mechanism, designed to support use as an external editor for another IDE. We already have two major editors in the Revolution world, plus the MC options. Rather than putting more effort into creating a third, could we do better, as Robert suggested, to hook into all the work that's already gone into the external editors? Or, is this a Mac-centric view? I don't know anything about the state of programming editors on Windows or Linux (though presumably Eclipse might be an option in all cases). - Ben, not actually offering to do any of this work himself... From benr_mc at cogapp.com Tue Feb 17 07:18:23 2009 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 17 Feb 2009 12:18:23 +0000 Subject: [OT] Rev + BBEdit In-Reply-To: References: <4998F010.9090104@fourthworld.com> Message-ID: <499AAB0F.9010405@cogapp.com> Robert Brenstein wrote: > Regex is indeed a built-in option for global search and that search > finds all objects that contain the search string. However, I was > referring to searching within a single script, a script I am editing. > Right now, one can search in the editor by hoping from instance to > instance of the string. What I had in mind was seeing all lines with a > given string at once. There is not grep option for the search or replace > within the editor, either. At least not that I see that in 3.0. Perhaps I've missed something, but I think that both these excellent facilities are indeed available in 3.0. If you click on the "+" button at the bottom right of the script editor "Find and replace", it supports grep. And the "Find All" option shows in the "Search Results" tab at the bottom of the script editor all lines with matching strings at once. Even better, you can do this across all open (in the script editor) scripts. I've requested that this should extend to all scripts that aren't open, because the presentation - when you're searching code - is so much more useful than the generic "Find and Replace". That is, that the options should be: - Current Tab - All Tabs - Current Card - Current Stack - Current Stack File - (All open stack files) See . So I think it could be even better - but I think it is there. Or perhaps I've misunderstood your point. - Ben From rmicout at online.fr Tue Feb 17 08:01:52 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 17 Feb 2009 14:01:52 +0100 Subject: Music duration In-Reply-To: <686F5B35-23DA-40D9-AF84-E50830E3016A@online.fr> References: <686F5B35-23DA-40D9-AF84-E50830E3016A@online.fr> Message-ID: <0BE4FADD-7FE5-4C78-86BA-AC6FE874AC20@online.fr> > Bonjour Kurt, I hardly work this week-end (see my exercices in PDF file joined > off-list...). I have many questions > ? The most important are lines 22, 30, 38 46 about note data, by example line 22 : 903C648400803C0000 I think 03C is the pitch (!?) and 64844008 is the duration (!?) Where is the velocity ? Thank you very much for these lessons :-) Theses functionalities are very interesting for making MIDI files but my problem is especially making MIDI messages (!?) by sending parameters from Revolution to QT synthesizer (is it correct ?) Bons souvenirs de Paris Ren? > Le 12 f?vr. 09 ? 01:02, Kurt Kaufman a ?crit : > >> "...I know your work and I appreciate it, but.... but... >> It is a little bit complex for me :-( >> I dont understand binaryEncode(etc...) >> and also the bridge between Revolution (code) and Midi..." >> >> Ren?, >> >> I know it looks complicated. I think it would take me a while to >> figure it out again, even though I commented the scripts fairly >> heavily! >> But once you understand what makes up a MIDI file, which parts are >> constant (always the same in every MIDI file of that type), and >> which parts are variable (different in each music track), you see >> that it is not that complex. If you look at the MIDI format >> document, you'll see the various parts described in the order in >> which they appear. >> >> At least MIDI files are generally not very big, so if you want to >> open them up using a Hex editor, you're not scanning a tremendous >> amount of data. To that end I would use MIDI Builder to create a >> MIDI file with a single note, and then take a look using HexEdit: >> >> http://sourceforge.net/project/showfiles.php?group_id=9366 >> (there's a French version, too) >> >> Now compare what's in the MIDI format document with what you see >> in the HexEdit. >> >> Rev's binaryEncode function is called after all of the various >> parts of the data have been set up, as most of the MIDI data >> cannot be represented by ascii (it's not printable, for the most >> part). But the binaryEncode function is automatic; you just have >> to give the function its data and the proper parameters, and Rev >> does the rest. Rev makes it easy: You can simply add the >> successive bytes of encoded data "after" what's already there. >> The file can be created in a fraction of a second and played >> almost immediately. Rev's QT player object handles most of the >> work, you just have to send it data that it understands. >> >> Hope this helps, >> Kurt >> >> further info: >> http://crystal.apana.org.au/ghansper/midi_introduction/ >> midi_file_format.html >> http://www.harmony-central.com/MIDI/Doc/doc.html From benr_mc at cogapp.com Tue Feb 17 08:12:52 2009 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 17 Feb 2009 13:12:52 +0000 Subject: Good looking examples of applications built with Revolution Message-ID: <499AB7D4.9030900@cogapp.com> I know that this must be an FAQ, but I've not been able to find that handy list I'm looking for. It's that time again: considering what development approach to take on a new project, which requires a cross-platform well connected desktop app with a slick UI, for a wide consumer audience. The arguments about development efficiency of Rev are well understood; there's no doubt that Rev can do all the tasks that will be needed; the question mark over Rev, as compared to the other two routes being considered, is evidence of good looking, slick, user interfaces. (A shocking indictment of my own work, of course, but then my work has always concentrated on functionality.) So, here's that question again: I'm looking for examples of actual applications (not just sample stacks, tool stacks etc), built in Rev, that can be pointed to as demonstrating that people have used Rev to distribute products with an impressive modern user interface. I'm sure that they're out there - I just don't know where. Please send examples, links, or lists - whether your own work or others - either to me directly or to the list as you prefer. Many thanks, - Ben From toolbook at kestner.de Tue Feb 17 08:53:30 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 17 Feb 2009 14:53:30 +0100 Subject: how to change the font of stacks title bar? Message-ID: <546685B6BF104FCDBFD8D91634F86C9E@Kestner.local> Hello, Still trying to workaround the title corrupt bug. the textfont in the properties of my stack is empty. Which font is taken? Is Tahoma Revs standard, if no font is specified? When changing the textfont of the stack the font of the titlebar seems to stay, as it was - probably Tahoma. Can you change the font of the titlebar? set the textfont of the title of this stack to "Tahoma" doesn't work, any other solution? Thanks for any hint Tiemo From janschenkel at yahoo.com Tue Feb 17 09:29:45 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 17 Feb 2009 06:29:45 -0800 (PST) Subject: how to change the font of stacks title bar? In-Reply-To: <546685B6BF104FCDBFD8D91634F86C9E@Kestner.local> Message-ID: <652827.83921.qm@web65401.mail.ac4.yahoo.com> --- On Tue, 2/17/09, Tiemo Hollmann TB wrote: > From: Tiemo Hollmann TB > Subject: how to change the font of stacks title bar? > To: "'How to use Revolution'" > Date: Tuesday, February 17, 2009, 5:53 AM > Hello, > > Still trying to workaround the title corrupt bug. > > the textfont in the properties of my stack is empty. Which > font is taken? Is > Tahoma Revs standard, if no font is specified? > > When changing the textfont of the stack the font of the > titlebar seems to > stay, as it was - probably Tahoma. Can you change the font > of the titlebar? > > set the textfont of the title of this stack to > "Tahoma" doesn't work, any > other solution? > > Thanks for any hint > > Tiemo > Hi Tiemo, The title bar of native windows is drawn by the underlying operating system - so unless you build your own title bar (setting the decorations of the stack to empty and adding your own controls) you cannot influence the font directly from Revolution. Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From toolbook at kestner.de Tue Feb 17 09:37:05 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 17 Feb 2009 15:37:05 +0100 Subject: AW: how to change the font of stacks title bar? In-Reply-To: <652827.83921.qm@web65401.mail.ac4.yahoo.com> Message-ID: <85E011D79BDA4E37B3174054E7522E4D@Kestner.local> Oh, didn't knew that. So again a dead end for a workaround on this side. Thank you Jan > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Jan Schenkel > Gesendet: Dienstag, 17. Februar 2009 15:30 > An: How to use Revolution > Betreff: Re: how to change the font of stacks title bar? > > > --- On Tue, 2/17/09, Tiemo Hollmann TB wrote: > > > From: Tiemo Hollmann TB > > Subject: how to change the font of stacks title bar? > > To: "'How to use Revolution'" > > Date: Tuesday, February 17, 2009, 5:53 AM > > Hello, > > > > Still trying to workaround the title corrupt bug. > > > > the textfont in the properties of my stack is empty. Which > > font is taken? Is > > Tahoma Revs standard, if no font is specified? > > > > When changing the textfont of the stack the font of the > > titlebar seems to > > stay, as it was - probably Tahoma. Can you change the font > > of the titlebar? > > > > set the textfont of the title of this stack to > > "Tahoma" doesn't work, any > > other solution? > > > > Thanks for any hint > > > > Tiemo > > > > Hi Tiemo, > > The title bar of native windows is drawn by the underlying operating > system - so unless you build your own title bar (setting the decorations > of the stack to empty and adding your own controls) you cannot influence > the font directly from Revolution. > > Jan Schenkel. > > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From docwes1 at gmail.com Tue Feb 17 09:40:51 2009 From: docwes1 at gmail.com (weslyn whitehead) Date: Tue, 17 Feb 2009 09:40:51 -0500 Subject: My link about the client/server recommendations with Valentina Message-ID: Thanks everyone for responding to my question about the client/server recommendations. I think i may have to go with Valentina Office. But i was also wondering if anyone had any experience with using a rev app as a full time application server. Whats the uptime like is it prone to crashes, memory hogging that type of stuff. I'm enjoying using rev more and more and as i have some major projects i am considering rev for just want some more opinions. Thanks, Wes From cmsheffield at gmail.com Tue Feb 17 10:18:27 2009 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 17 Feb 2009 08:18:27 -0700 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499AB7D4.9030900@cogapp.com> References: <499AB7D4.9030900@cogapp.com> Message-ID: Hi Ben, Read Naturally was fully developed in Revolution (www.readnaturally.com). I work for Read Naturally (that's the name of the company as well as the name of our flagship product) as the primary developer. I don't know that I would go so far as to say it has "an impressive modern user interface", however, as it is definitely due for a revamping in that area. But it is one example of a very successful commercial product. Visit this page http://www.readnaturally.com/products/se2evalrequest.htm to download a fully functional evaluation. Give me a holler if you have more questions. Chris On Feb 17, 2009, at 6:12 AM, Ben Rubinstein wrote: > I know that this must be an FAQ, but I've not been able to find that > handy list I'm looking for. > > It's that time again: considering what development approach to take > on a new project, which requires a cross-platform well connected > desktop app with a slick UI, for a wide consumer audience. > > The arguments about development efficiency of Rev are well > understood; there's no doubt that Rev can do all the tasks that will > be needed; the question mark over Rev, as compared to the other two > routes being considered, is evidence of good looking, slick, user > interfaces. (A shocking indictment of my own work, of course, but > then my work has always concentrated on functionality.) > > So, here's that question again: I'm looking for examples of actual > applications (not just sample stacks, tool stacks etc), built in > Rev, that can be pointed to as demonstrating that people have used > Rev to distribute products with an impressive modern user > interface. I'm sure that they're out there - I just don't know where. > > Please send examples, links, or lists - whether your own work or > others - either to me directly or to the list as you prefer. > > Many thanks, > > - Ben > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From viktoras at ekoinf.net Tue Feb 17 10:41:21 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Tue, 17 Feb 2009 17:41:21 +0200 Subject: keeping focus in a field In-Reply-To: <546685B6BF104FCDBFD8D91634F86C9E@Kestner.local> References: <546685B6BF104FCDBFD8D91634F86C9E@Kestner.local> Message-ID: <499ADAA1.4020800@ekoinf.net> there is a field and a menu button on my stack. If I write some text in the field and select portion of it, then go to menu and choose whatever I wish from the pull down list, it keeps focus on the selection of text in the field. But if I create a context menu using popup button, the selected text in field looses focus at the moment the popup is called. Is there any simple trick (I already know complex ones :-)) to force the selection to persist, so I could handle it from the context menu ? Viktoras From viktoras at ekoinf.net Tue Feb 17 10:52:33 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Tue, 17 Feb 2009 17:52:33 +0200 Subject: [OT] NVIDIA Personal Supercomputer In-Reply-To: <499ADAA1.4020800@ekoinf.net> References: <546685B6BF104FCDBFD8D91634F86C9E@Kestner.local> <499ADAA1.4020800@ekoinf.net> Message-ID: <499ADD41.1020403@ekoinf.net> just have a look at this: http://www.nvidia.com/object/personal_supercomputing.html They say it is accessible e.g. programmable with C. I feel Revolution apps can also jump in into this "train" easily. Well, rev has no real threading at the moment, but one could get running up to 960 instances of Revolution applications plus some work with sockets, shared databases, whatever to get any task accomplished on this monster :-) Viktoras From jacque at hyperactivesw.com Tue Feb 17 10:56:13 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Feb 2009 09:56:13 -0600 Subject: McAfee virus detection deletes valid file In-Reply-To: References: Message-ID: <499ADE1D.3020709@hyperactivesw.com> Ken Ray wrote: > However there is a light at the end of the tunnel if all else fails... if > the VBA module can be compiled into an actual DLL with Visual Basic (or the > equivalent), then you can run a script that *calls* on the DLL to do it's > functionality and Norton and McAfee won't block it since there's no way for > them to know what a generic DLL call can do, so they just let it go. > > See the tip here for an example of what I mean and how to call it: > http://www.sonsothunder.com/devres/revolution/tips/ext002.htm > > If you need any help with this, Jacque, contact me offlist... Thank you SO much Ken. I'll pass this on, and we may be talking to you. The glitch is (always a glitch) that my Rev app doesn't call the module, it doesn't even use it. The module is an add-in for Office, and the module in turn calls my Rev app. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Tue Feb 17 10:46:02 2009 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 17 Feb 2009 16:46:02 +0100 Subject: [OT] Rev + BBEdit In-Reply-To: <499AAB0F.9010405@cogapp.com> References: <4998F010.9090104@fourthworld.com> <499AAB0F.9010405@cogapp.com> Message-ID: On 17.02.09 at 12:18 +0000 Ben Rubinstein apparently wrote: >Perhaps I've missed something, but I think that both these excellent >facilities are indeed available in 3.0. If you click on the "+" >button at the bottom right of the script editor "Find and replace", >it supports grep. And the "Find All" option shows in the "Search >Results" tab at the bottom of the script editor all lines with >matching strings at once. Even better, you can do this across all >open (in the script editor) scripts. Hey, Ben, you are right. Amazing! These things are in 3.0! Somehow, I only used what they call the quick find. I need to spend more time in that editor. I think the access to those options would be more visible if "find options" was a button like others in that dialog instead of being a text with a plus only being the button. And it would be nice that next to quick find in the main editor window was a button to bring the advanced dialog. Suggested in bug 7725. Robert From support at ahsomme.com Tue Feb 17 11:14:53 2009 From: support at ahsomme.com (Paul Looney) Date: Tue, 17 Feb 2009 08:14:53 -0800 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499AB7D4.9030900@cogapp.com> References: <499AB7D4.9030900@cogapp.com> Message-ID: <96688AF2-8239-4296-9B06-98256FF1D559@ahsomme.com> Ben, "Good looking" is in the eyes of the beholder. But you might go to our website: Ahsomme.com. There you can download a 330 page PDF operating manual that has pictures of the 22 databases, 50 Editors and List Programs, and some of the 100+ unique report templates (as well as pictures of the ReportMaker, the ListMaker and the system Navigator) in our Ahsomme Business System. If nothing else, it shows how to maintain consistency across a complex business system. Paul Looney On Feb 17, 2009, at 5:12 AM, Ben Rubinstein wrote: > I'm looking for examples of actual applications (not just sample > stacks, tool stacks etc), built in Rev, that can be pointed to as > demonstrating that people have used Rev to distribute products with > an impressive modern user interface. I'm sure that they're out > there - I just don't know where. > > Please send examples, links, or lists - whether your own work or > others - either to me directly or to the list as you prefer. > > Many thanks, > > - Ben From kkaufman at snet.net Tue Feb 17 11:37:20 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue, 17 Feb 2009 08:37:20 -0800 (PST) Subject: Music duration In-Reply-To: Message-ID: <250890.11000.qm@web81608.mail.mud.yahoo.com> Ren?, I'll reply to you either later today or tomorrow (I have a long music rehearsal this evening). I can also cc to the list if anyone else expresses an interest in the subject (anyone?). -Kurt --- On Tue, 2/17/09, Ren? Micout <[]> wrote: > From: Ren? Micout [] > Bonjour Kurt, > I hardly work this week-end (see my exercices in PDF file > joined > off-list...). > I have many questions > ? > The most important are lines 22, 30, 38 46 about note data, > by example line 22 : > 903C648400803C0000 > I think 03C is the pitch (!?) and 64844008 is the duration > (!?) > Where is the velocity ? > Thank you very much for these lessons :-) > Theses functionalities are very interesting for making MIDI > files but my problem is especially making MIDI messages (!?) > by sending parameters from Revolution to QT synthesizer (is > it correct ?) > Bons souvenirs de Paris > Ren? From stephenREVOLUTION2 at barncard.com Tue Feb 17 11:50:04 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 17 Feb 2009 08:50:04 -0800 Subject: Can a modal stack has a close box? In-Reply-To: <348EA08F2D864777A681FEEC9BCC471E@Kestner.local> References: <153558.71945.qm@web65411.mail.ac4.yahoo.com> <348EA08F2D864777A681FEEC9BCC471E@Kestner.local> Message-ID: Actually most users would click on the window to dismiss, if it's just a message before going on...Like the behavior of most 'about' screens. Stephen Barncard ------------------------- San Francisco 2009/2/17 Tiemo Hollmann TB > Hi Jan, > hmmm, perhaps I took the wrong approach. What I wanted to do is a welcome > screen with some basic infos on first start. The User should read the infos > first, before going on, that's why I wanted modal. And this welcome window > just has 1 only button "close". The close box in the title bar actually > would be a duplicate, but an offer to the users, who are used to close > windows with the close box... > Thanks > Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] Im Auftrag von Jan Schenkel > > Gesendet: Dienstag, 17. Februar 2009 12:14 > > An: How to use Revolution > > Betreff: Re: Can a modal stack has a close box? > > > > > > --- On Tue, 2/17/09, Tiemo Hollmann TB wrote: > > > > > From: Tiemo Hollmann TB > > > Subject: Can a modal stack has a close box? > > > To: "'How to use Revolution'" > > > Date: Tuesday, February 17, 2009, 2:52 AM > > > Hello, > > > > > > Is there any option to give a modal stack a close box in > > > the title bar? Or > > > is it the only choice to close a modal stack by my own > > > close button? > > > > > > As far as I experience it, all stack controls are ignored > > > at a modal stack. > > > > > > Thanks > > > > > > Tiemo > > > > > > > Hi Tiemo, > > > > As it happens, I'm facing the opposite problem in Java: there's always a > > close box and you can't seem to get rid of it. UI guideline-wise the main > > reason why there's no Close box is simple: what is the effect of closing > > the dialog box without clicking on any of the presented options? > > > > If the dialog only has a single button (OK, Cancel,...), it's clear: the > > close box is simply the same as the only button. You could conceivably > > have a standard that the Close box is the equivalent of Cancel, but what > > does that say about a dialog box with two buttons "Choice 1" and "Choice > > 2" without a "Cancel" button? > > > > Best to avoid user confusion altogether, and force them to click one of > > the options you provided as buttons. > > > > Just my 2 cents, > > > > Jan Schenkel. > > > > Quartam Reports & PDF Library for Revolution > > > > > > ===== > > "As we grow older, we grow both wiser and more foolish at the same time." > > (La Rochefoucauld) > > > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Tue Feb 17 12:22:12 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 17 Feb 2009 14:22:12 -0300 Subject: Creating a callback mechanism for externals. Message-ID: <7c87a2a10902170922m1a0f76cfpb3c05bbbb0f14c53@mail.gmail.com> Hello Friends, Here I come with a topic that is hot here on my mind. I know we all love transcript, but for building externals, we need to do it in C/C++, so I apologize for the the amount of dirty C code that I'll post on this message. Right now with the ExternalEnvironmentV3 and libexternal, we have a limited number of functions available and no clear path to create callback mechanisms from our externals. Callbacks are useful things, specially when your dealing with network related things, for example, you can register a callback to be triggered when the server responds, this way, instead of looping and checking every now and then if the server answered, we can trust that a callback message will be triggered when the server answers. Code becomes more clear and easier to maintain. Since in the current incarnation of our external development SDK we don't have a way to easily create such tool, I decided to roll one on my own and so far I am about to achieve success. Since there are other external writers here with much more knowledge than I, I wanted to share what I am doing and get some feedback if I am being stupid. First, I created a nice structure for holding a callback reference: struct callback { char *target; char *message; }; So this structure holds a message name and a target for the message. This should be enough to assemble and trigger a message. The message member is usually passed as a parameter to some external command or function call, the target member is obtained with the following piece of code: callback->message = strdup(p_arguments[1]); callback->target = EvalExpr("the long id of me", &t_success); if (t_success == EXTERNAL_FAILURE) { *r_result = strdup("could not get the long id of me."); *r_err = True; *r_pass = False; return; } And this actually work. The message part, I am doing with strdup since I think that without it I'll reach memory problems when the function finishes and p_argument[] is freed. So, this stores a callback reference and that is already working. Now on my code there's a function that is called upon certain event and that should trigger the callback, the code is as follow: strcpy (expr,"send \""); strcat (expr,callback->message); strcat (expr,"\" to "); strcat (expr,callback->target); printf("Expr: %s\n", expr); result = EvalExpr(expr, &t_success); if (t_success == EXTERNAL_FAILURE) { printf("Error with Expr: %s\n", expr); return; } The Expr is assembled fine, like: send "outraMsg" to button id 1010 of card id 1002 of stack "/home/soapdog/Desktop/ExternalsEnvironmentV3/httpserver/test.rev" When executed in the messagebox, that expression works quite fine but when executed from EvalExpr() it doesn't work. I don't know if EvalExpr() is allowed to send messages or something like that. Any clue out there? Cheers andre -- http://www.andregarzia.com All We Do Is Code. From dam-pro.girard at laposte.net Tue Feb 17 12:28:57 2009 From: dam-pro.girard at laposte.net (Damien Girard) Date: Tue, 17 Feb 2009 18:28:57 +0100 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499AB7D4.9030900@cogapp.com> References: <499AB7D4.9030900@cogapp.com> Message-ID: <499AF3D9.4000005@laposte.net> Hi Ben, At Dam-pro, we are working on Windows; in our laboratories, our applications in development looks really modern with a Windows Vista/7 UI. (The new ParentScript feature of Rev 3.5 is lovely). Actually released, designed for Windows XP, there is NativeSpeak Translate, not the best modern user interface but it is working well. NativeSpeak Translate: http://dam-pro.com/index.php?option=com_content&view=article&id=3&Itemid=48 There is also Screenstep that is a really good application (in look and in feature): (built with Rev) http://www.screensteps.com/ Regards, Damien Girard Dam-pro, France Ben Rubinstein a ?crit : > > I know that this must be an FAQ, but I've not been able to find that > handy list I'm looking for. > > It's that time again: considering what development approach to take on > a new project, which requires a cross-platform well connected desktop > app with a slick UI, for a wide consumer audience. > > The arguments about development efficiency of Rev are well understood; > there's no doubt that Rev can do all the tasks that will be needed; > the question mark over Rev, as compared to the other two routes being > considered, is evidence of good looking, slick, user interfaces. (A > shocking indictment of my own work, of course, but then my work has > always concentrated on functionality.) > > So, here's that question again: I'm looking for examples of actual > applications (not just sample stacks, tool stacks etc), built in Rev, > that can be pointed to as demonstrating that people have used Rev to > distribute products with an impressive modern user interface. I'm > sure that they're out there - I just don't know where. > > Please send examples, links, or lists - whether your own work or > others - either to me directly or to the list as you prefer. > > Many thanks, > > - Ben > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From lists at futilism.com Tue Feb 17 12:47:10 2009 From: lists at futilism.com (Mark Smith) Date: Tue, 17 Feb 2009 17:47:10 +0000 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499AB7D4.9030900@cogapp.com> References: <499AB7D4.9030900@cogapp.com> Message-ID: Run, don't walk to the tactile media site - you want modern, slick, good looking - that's Scott Rossi... um, I mean, well, I'm sure Scott's a fine looking fellow, but I meant...oh never mind :) Best, Mark On 17 Feb 2009, at 13:12, Ben Rubinstein wrote: > I know that this must be an FAQ, but I've not been able to find > that handy list I'm looking for. > > It's that time again: considering what development approach to take > on a new project, which requires a cross-platform well connected > desktop app with a slick UI, for a wide consumer audience. > > The arguments about development efficiency of Rev are well > understood; there's no doubt that Rev can do all the tasks that > will be needed; the question mark over Rev, as compared to the > other two routes being considered, is evidence of good looking, > slick, user interfaces. (A shocking indictment of my own work, of > course, but then my work has always concentrated on functionality.) > > So, here's that question again: I'm looking for examples of actual > applications (not just sample stacks, tool stacks etc), built in > Rev, that can be pointed to as demonstrating that people have used > Rev to distribute products with an impressive modern user > interface. I'm sure that they're out there - I just don't know where. > > Please send examples, links, or lists - whether your own work or > others - either to me directly or to the list as you prefer. > > Many thanks, > > - Ben > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Tue Feb 17 13:13:28 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Feb 2009 10:13:28 -0800 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499AB7D4.9030900@cogapp.com> References: <499AB7D4.9030900@cogapp.com> Message-ID: <1C26EC78-9DA5-4423-A32D-683E2D335F74@twft.com> Wowmatrix was produced with Runtime Revolution. It is a handy app that scans the World Of Warcraft addons folder, then connects to each addon site (there are many) and checks to see if your addons are up to date. It also can search for new addons (there are many) and install them for you. It is a really slick example of how a Rev App can harness the power of the web to make what would normally be a tedious task into an easy few click process. It works with PC's and Macs. (of course!) Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 17, 2009, at 5:12 AM, Ben Rubinstein wrote: > I know that this must be an FAQ, but I've not been able to find that > handy list I'm looking for. > > It's that time again: considering what development approach to take > on a new project, which requires a cross-platform well connected > desktop app with a slick UI, for a wide consumer audience. > > The arguments about development efficiency of Rev are well > understood; there's no doubt that Rev can do all the tasks that will > be needed; the question mark over Rev, as compared to the other two > routes being considered, is evidence of good looking, slick, user > interfaces. (A shocking indictment of my own work, of course, but > then my work has always concentrated on functionality.) > > So, here's that question again: I'm looking for examples of actual > applications (not just sample stacks, tool stacks etc), built in > Rev, that can be pointed to as demonstrating that people have used > Rev to distribute products with an impressive modern user > interface. I'm sure that they're out there - I just don't know where. > > Please send examples, links, or lists - whether your own work or > others - either to me directly or to the list as you prefer. > > Many thanks, > > - Ben > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Tue Feb 17 13:19:17 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 17 Feb 2009 10:19:17 -0800 Subject: Creating a callback mechanism for externals. In-Reply-To: <7c87a2a10902170922m1a0f76cfpb3c05bbbb0f14c53@mail.gmail.com> References: <7c87a2a10902170922m1a0f76cfpb3c05bbbb0f14c53@mail.gmail.com> Message-ID: <148350068531.20090217101917@ahsoftware.net> Andre- As you've noted, EvalExpr() isn't really designed to send messages. My take is that it's less like a "do" command and more like the engine running a line of code, evaluating the expressions along the way to return a result. So here are two ideas off the top of my head (both untested): 1. change the syntax of your EvalExpr parameter to: return "send" && quote & outraMsg & quote && "to button id 1010 of card id 1002 of stack" && quote & "/home/soapdog/Desktop/ExternalsEnvironmentV3/httpserver/test.rev" & quote 2. if the recipient of the message (button id 1010 etc) is going to be hardcoded into the external, why not just use SendCardMessage, and in the stack script (or some backscript) have a handler for outraMsg that does the send to the button? -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Feb 17 13:30:28 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Feb 2009 12:30:28 -0600 Subject: Can a modal stack has a close box? In-Reply-To: References: <153558.71945.qm@web65411.mail.ac4.yahoo.com> <348EA08F2D864777A681FEEC9BCC471E@Kestner.local> Message-ID: <499B0244.5080307@hyperactivesw.com> stephen barncard wrote: > Actually most users would click on the window to dismiss, if it's just a > message before going on...Like the behavior of most 'about' screens. That's what I thought too until recently. I thought the behavior was so universal that I didn't think twice about putting a "close this stack" handler into the card script of my (no-titlebar) About box. A Windows customer got stuck, believed the whole app had frozen, couldn't get out, force-quit the app, and reported a "critical" bug. So we added an "OK" button at the bottom. Sigh. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Feb 17 13:31:35 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Feb 2009 12:31:35 -0600 Subject: Good looking examples of applications built with Revolution In-Reply-To: References: <499AB7D4.9030900@cogapp.com> Message-ID: <499B0287.4050704@hyperactivesw.com> Mark Smith wrote: > Run, don't walk to the tactile media site - you want modern, slick, > good looking - that's Scott Rossi... um, I mean, well, I'm sure Scott's > a fine looking fellow, but I meant...oh never mind :) I've met him. He is. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcgrath3 at mac.com Tue Feb 17 13:42:25 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 17 Feb 2009 13:42:25 -0500 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499B0287.4050704@hyperactivesw.com> References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> Message-ID: <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> I always thought there weren't enough list romances on this list. Finally we see the first seedy tidbits of one. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 17, 2009, at 1:31 PM, J. Landman Gay wrote: > Mark Smith wrote: >> Run, don't walk to the tactile media site - you want modern, >> slick, good looking - that's Scott Rossi... um, I mean, well, I'm >> sure Scott's a fine looking fellow, but I meant...oh never mind :) > > I've met him. He is. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jerry.daniels at me.com Tue Feb 17 13:43:10 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 17 Feb 2009 12:43:10 -0600 Subject: ListMagic Printing In-Reply-To: <005701c98fb1$d95fb000$8c1f1000$@com> References: <004201c98e60$179cdad0$46d69070$@com> <278E2302-FC23-450A-9867-08F71443C10D@mac.com> <005701c98fb1$d95fb000$8c1f1000$@com> Message-ID: <6D8A9B5E-832D-4FC8-A386-FA64028E465A@me.com> Bob, Jim... GLX2 v2.4b33 is now available. Problem with execution errors within locked stacks fixed. General handling of execution errors much improved. Best, Jerry Daniels Daniels & Mara, Inc. Makers of GLX2 http://www.glx2.com On Feb 15, 2009, at 3:10 PM, Jim Bufalini wrote: > Hi Bob, > > Thank you for taking the time be more explanative. As a result, I > was able > to duplicate the problem. It is due to a combination of factors: > > 1. Running LMPrint from the message box. > 2. Running GLX2. > 3. A bug in one ListMagic's print formatting handlers. > > The spinning beach ball is coming from GLX2 trying to report an > error coming > from a locked stack (I'll let Jerry know). Disabling the revGLX2 > Code plugin > results in a Rev error that says it can't tell you exactly what it is > because the stack is locked. But there is no hang. Lastly, the cause > of the > error in the first place being the bug in one of ListMagic's print > formatting handlers. > > I'll release a update within the next couple of days that will > correct this > as well as some other minor issues reported. > > Once again, thanks for taking the time to report the problem. We'll > get > corrected in short order. > > Jim Bufalini > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Robert Sneidar >> Sent: Saturday, February 14, 2009 11:15 AM >> To: How to use Revolution >> Subject: Re: ListMagic Printing >> >> Hi Jim. Sorry didn't mean to come off that way. >> >> I used the lmprint command from the message box. I got the page setup >> and print dialogs ok. I chose Format For and chose a local printer on >> the network. When I got to the print dialog I clicked the Preview >> button. It was at that point I got the Printing dialog and the >> spinning beach ball. That went on for over a minute at which point I >> treid to cancel. It then changed to cancelling printing but never >> actually did. I didn't try again. I had to quit Revolution which i >> did >> via the keyboard. Every attempt to open a card containing a listmagic >> object after that threw errors so I had do delete the listmagic >> objects and scriptingi can try again and see if I get the same >> problem. I will say that I had recently used the VAB in GLX2 which I >> have had problems with so let me reproduce the error and get back to >> you. >> >> Bob Sneidar >> IT Manager >> Calvary Chapel CM >> Sent from iPhone >> >> On Feb 13, 2009, at 20:52, Jim Bufalini wrote: >> >>> Hi Bob, >>> >>>> Has anyone tried to print from Listmagic yet? I tried to use the >>>> Preview option in the OS X print dialog and it basically locked up >>>> with a dialog that said it was printing but never really did. >>>> Cancelling did not cancel. I had to quit Revolution to get out of >> the >>>> loop. When I did that, clicking gave me the "don't do that!" system >>>> beep, but oddly I could use the keyboard and the Revolution Menu so >> I >>>> was able to quit gracefully. >>>> >>>> I only mention this to warn people so they do not get hung up with >>>> this or produce a commercial app and then have their users run into >>>> this. >>> >>> Well, that's a stern warning. ;-) >>> >>> Can you tell me what happens if from the Action tab of ListMagic you >>> click >>> on the Actions menu on the upper right and select Print. You should >>> get a >>> Page Setup screen. Select Portrait and OK. You should get a nicely >>> formatted >>> Test list of the sample data. >>> >>> Did you use the LMPrint command described in the Syntax tab of >>> ListMagic to >>> do your print? The LMExport also works nicely from this menu. >>> Basically you >>> need to use the handlers provided with ListMagic in your app. >>> >>> Jim Bufalini >>> From kray at sonsothunder.com Tue Feb 17 13:48:15 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 17 Feb 2009 12:48:15 -0600 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499AB7D4.9030900@cogapp.com> Message-ID: > So, here's that question again: I'm looking for examples of actual > applications (not just sample stacks, tool stacks etc), built in Rev, that can > be pointed to as demonstrating that people have used Rev to distribute > products with an impressive modern user interface. I'm sure that they're out > there - I just don't know where. Here's one of my faves - it's Aperture Assistant, written by Ian Wood. Here's the screenshots page: http://aperture-assistant.com/docs/screengrabs It's more "Yahoo Pipes"-style, but it's pretty slick, IMHO. Are you looking for *business* apps? Or some other kind of genre? Or does it matter? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From toolbook at kestner.de Tue Feb 17 14:22:32 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 17 Feb 2009 20:22:32 +0100 Subject: AW: Can a modal stack has a close box? In-Reply-To: <499B0244.5080307@hyperactivesw.com> Message-ID: <4789E1C06EDF4CE3A156DB93BDB6BEFE@Kestner.local> Good idea Stephen and thanks Jacqueline, I'll give them both :) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von J. Landman Gay > Gesendet: Dienstag, 17. Februar 2009 19:30 > An: How to use Revolution > Betreff: Re: Can a modal stack has a close box? > > stephen barncard wrote: > > Actually most users would click on the window to dismiss, if it's just a > > message before going on...Like the behavior of most 'about' screens. > > That's what I thought too until recently. I thought the behavior was so > universal that I didn't think twice about putting a "close this stack" > handler into the card script of my (no-titlebar) About box. A Windows > customer got stuck, believed the whole app had frozen, couldn't get out, > force-quit the app, and reported a "critical" bug. > > So we added an "OK" button at the bottom. Sigh. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From h at FlexibleLearning.com Tue Feb 17 15:17:34 2009 From: h at FlexibleLearning.com (Hugh Senior) Date: Tue, 17 Feb 2009 20:17:34 -0000 Subject: Good looking examples of applications built with Revolution In-Reply-To: <20090217155931.22CD648A715@mail.runrev.com> Message-ID: Hi Ben As has been said, 'impressive' may be in the eye of the holder. The Scripter's Scrapbook (www.ssBk.co.uk) was carefully designed to honour (or at least not fly in the face of) both Win and Mac HIG guidelines (insofar as is possible). I'm not sure what 'modern' means... Vista? Aqua? Eye candy? Anyway, Scripter's Scrapbook an example of a real product that delivers cross-platform. /H On Feb 17, 2009, at 6:12 AM, Ben Rubinstein wrote: > I know that this must be an FAQ, but I've not been able to find that > handy list I'm looking for. > > It's that time again: considering what development approach to take > on a new project, which requires a cross-platform well connected > desktop app with a slick UI, for a wide consumer audience. > > The arguments about development efficiency of Rev are well > understood; there's no doubt that Rev can do all the tasks that will > be needed; the question mark over Rev, as compared to the other two > routes being considered, is evidence of good looking, slick, user > interfaces. (A shocking indictment of my own work, of course, but > then my work has always concentrated on functionality.) > > So, here's that question again: I'm looking for examples of actual > applications (not just sample stacks, tool stacks etc), built in > Rev, that can be pointed to as demonstrating that people have used > Rev to distribute products with an impressive modern user > interface. I'm sure that they're out there - I just don't know where. > > Please send examples, links, or lists - whether your own work or > others - either to me directly or to the list as you prefer. > > Many thanks, > > - Ben > From kray at sonsothunder.com Tue Feb 17 15:20:50 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 17 Feb 2009 14:20:50 -0600 Subject: AW: Can a modal stack has a close box? In-Reply-To: <348EA08F2D864777A681FEEC9BCC471E@Kestner.local> Message-ID: > hmmm, perhaps I took the wrong approach. What I wanted to do is a welcome > screen with some basic infos on first start. The User should read the infos > first, before going on, that?s why I wanted modal. And this welcome window > just has 1 only button "close". The close box in the title bar actually > would be a duplicate, but an offer to the users, who are used to close > windows with the close box... Tiemo, in that case you can use a modeless dialog, which will give you the closebox. True it's not truly modal, but then again it doesn't have to be - they can close it when they want to and it shouldn't interfere with the rest of your app, even if they submarine it by clicking on another window. This is like the About boxes in Mac apps... Just my 2 cents, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Feb 17 15:23:15 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 17 Feb 2009 14:23:15 -0600 Subject: [OT] Rev + BBEdit In-Reply-To: <499AB360.20803@cogapp.com> Message-ID: > We already have two major editors in the Revolution world, plus the MC > options. Rather than putting more effort into creating a third, could we do > better, as Robert suggested, to hook into all the work that's already gone > into the external editors? We have that with the STS/MLXEditor: http://www.sonsothunder.com/devres/revolution/downloads/stsMLXEditor.htm ... but it would be great if it was something built into Rev as an option instead of a plugin. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Tue Feb 17 15:37:55 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Feb 2009 12:37:55 -0800 Subject: [OT] Rev + BBEdit Message-ID: <499B2023.2080803@fourthworld.com> Ben Rubinstein wrote: > Richard Gaskin wrote: >> My long term goal is to separate debugging from editing > > Robert Brenstein wrote: >> You may want to fetch TextWrangler, a free sibbling of BBEdit, from >> BareBones website. Most of those things are there, so you can just try >> them out. > > Which somewhat makes Robert's point... Far be it from me to discourage anyone > from doing a lot of work to make a better script editor in Rev, that I can > then take a free (or indeed reasonably priced!) ride on. But I wonder whether > the effort might instead better go into finding a better solution to > integration with existing external editors. That way, maybe we could all take > a free (or reasonably priced) ride on the work done in BBEdit, TextMate, > Eclipse and the like. An attractive idea, but still brings us back to the central problem of script editing in Rev: to the best of my knowledge every script editor available, even MC's, is bound up in a debugger. Lose the editor, and you lose debugging. And while editing can be done anywhere (MC's had the ability to use an external editor built in since v1.6 when I started using it, although IIRC it's only for Linux), debugging can only be done inside Rev. Sooner or later, someone needs to bite the bullet and build a debugger that's independent from the editor. Ken maintains MC's Variable Watcher, which is as close to being independent of any specific IDE as I've seen yet. MC also has a built-in profiler, which although still bound to other parts it could be extracted and would make a nice addition to scripting in any Rev-based IDE. I have some complexity analysis tools I could toss into the mix as well. But nice-to-haves aside, the core work of making a separate debugger is a big tak, and since I spend more time editing than debugging I'm putting my time into the former right now. And with the amount of JavaScript/HTML stuff I'm doing these days, I'll have my hands full making a dual-use editing environment (not to mention using it ). Anyone feel like taking up the challenge of making a dedicated debugger? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From mcgrath3 at mac.com Tue Feb 17 15:43:35 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 17 Feb 2009 15:43:35 -0500 Subject: Good looking examples of applications built with Revolution In-Reply-To: <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> Message-ID: Ok, sorry this was meant as a funny. I wasn't suggesting anything!!!!! Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Feb 17, 2009, at 1:42 PM, Thomas McGrath III wrote: > I always thought there weren't enough list romances on this list. > Finally we see the first seedy tidbits of one. > > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > On Feb 17, 2009, at 1:31 PM, J. Landman Gay wrote: > >> Mark Smith wrote: >>> Run, don't walk to the tactile media site - you want modern, >>> slick, good looking - that's Scott Rossi... um, I mean, well, I'm >>> sure Scott's a fine looking fellow, but I meant...oh never mind :) >> >> I've met him. He is. :) >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From benr at cogapp.com Tue Feb 17 15:58:32 2009 From: benr at cogapp.com (Ben Rubinstein) Date: Tue, 17 Feb 2009 20:58:32 +0000 Subject: [OT] Rev + BBEdit In-Reply-To: References: Message-ID: <499B24F8.4080904@cogapp.com> Ken Ray wrote: >> We already have two major editors in the Revolution world, plus the MC >> options. Rather than putting more effort into creating a third, could we do >> better, as Robert suggested, to hook into all the work that's already gone >> into the external editors? > > We have that with the STS/MLXEditor: Does that implement BBEdit/TextMate's roundtrip mechanism? I had it in my mind that it didn't, but I have to admit that I've not looked at it for a long time. - Ben From kray at sonsothunder.com Tue Feb 17 16:35:13 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 17 Feb 2009 15:35:13 -0600 Subject: [OT] Rev + BBEdit In-Reply-To: <499B24F8.4080904@cogapp.com> Message-ID: On 2/17/09 2:58 PM, "Ben Rubinstein" wrote: > Ken Ray wrote: >>> We already have two major editors in the Revolution world, plus the MC >>> options. Rather than putting more effort into creating a third, could we >>> do >>> better, as Robert suggested, to hook into all the work that's already gone >>> into the external editors? >> >> We have that with the STS/MLXEditor: > > Does that implement BBEdit/TextMate's roundtrip mechanism? I had it in my > mind that it didn't, but I have to admit that I've not looked at it for a long > time. If you're talking about the ability for Rev to know that a script has been edited by an external editor, then the answer is "yes". The plugin for Rev exports the current script to a file, calls on the external text editor to edit it, and then watches the file to see when the md5digest of the file changes. When you save your changes in, say, TextMate, when you return to Rev, the script is automatically re-inserted into the object whose script you were editing if the md5digest changed. If you meant something else, let me know... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Feb 17 16:39:59 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 17 Feb 2009 15:39:59 -0600 Subject: keeping focus in a field In-Reply-To: <499ADAA1.4020800@ekoinf.net> Message-ID: > But if I create a context menu using popup button, the selected text in > field looses focus at the moment the popup is called. Is there any > simple trick (I already know complex ones :-)) to force the selection to > persist, so I could handle it from the context menu ? Yes, set the "traversalOn" of the button that is the context menu to "false". Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Feb 17 16:54:06 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 17 Feb 2009 15:54:06 -0600 Subject: Getting a browser url on Windows In-Reply-To: Message-ID: > I use Applescript to get the url of the active window in Safari and Firefox > on a Mac but is there any equivalent (VB?) that would allow me to do the > same for IE and Firefox under Windows? Or is that a job for an external? Sorry it took so long for me to respond, Terry, and if you already have an answer forgive me... but all I have is how to get it from IE with VBScript: Set objApps = CreateObject("Shell.Application") For Each objApp in objApps.Windows If (objApp.Name = "Windows Internet Explorer") or _ (objApp.Name = "Microsoft Internet Explorer") Then If objApp.LocationURL <> "" Then WScript.Echo objApp.LocationURL End If End If Next HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Tue Feb 17 16:58:00 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Feb 2009 15:58:00 -0600 Subject: Good looking examples of applications built with Revolution In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> Message-ID: <499B32E8.7070909@hyperactivesw.com> Thomas McGrath III wrote: > Ok, sorry this was meant as a funny. I wasn't suggesting anything!!!!! I knew that. But careful, lest you be next. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Feb 17 17:03:00 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Feb 2009 16:03:00 -0600 Subject: [OT] Rev + BBEdit In-Reply-To: <499B2023.2080803@fourthworld.com> References: <499B2023.2080803@fourthworld.com> Message-ID: <499B3414.6010701@hyperactivesw.com> Richard Gaskin wrote: > MC also has a > built-in profiler, which although still bound to other parts it could be > extracted and would make a nice addition to scripting in any Rev-based > IDE. I did that back in ought-six. It's here: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sanke at hrz.uni-kassel.de Tue Feb 17 17:05:59 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 17 Feb 2009 23:05:59 +0100 Subject: [ANN]: "Word Match" (language tool + dynamic labels on icon images) Message-ID: <499B34C7.6000204@hrz.uni-kassel.de> The primary purpose of this stack is to present a practical example how - as one of several options - the results and proposals of the discussion in the recent thread "Dynamic labels for buttons with (oddshaped) icon images?" could be applied. Part of the discussion and the findings are supplied with the stack (button "About text on icons") as is an overview (button "help") how to work with the stack and how it is structured. As a "language tool" (for second-language learning) it is a rather elementary example. It is an adaptation of one of the various examples in an older stack from 2001 that introduced students to the basics of educational programming. (see stack "Seminar01" on page "Tools and Samples for Development" of my website ). There are two longer word lists - "Spanish-English" and "English-German" - from which you can choose for the exercises. Because of the demonstration character for "dynamic labels" the stack lacks a number of features one would normally expect in a more sophisticated educational environment, like - import of vocabulary from external files - subsequent selections from fld "Lexicon" until all words have been selected at least once, i.e. not applying random selections each time from the complete "Lexicon" as in the present version - numerical feedback as to correct and wrong matches - collecting wrong matches in a separate temporary "lexicon" as a basis for "loops" that can be repeatedly used - thus adapting the program to the individual learning progress of the user, etc.- An example of a more pedagogically structured stack would be "Image and Words" () that shows an educational environment in stages of increasing complexity. Best regards, Wilhelm Sanke From bobs at twft.com Tue Feb 17 17:08:45 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Feb 2009 14:08:45 -0800 Subject: ListMagic Printing In-Reply-To: <6D8A9B5E-832D-4FC8-A386-FA64028E465A@me.com> References: <004201c98e60$179cdad0$46d69070$@com> <278E2302-FC23-450A-9867-08F71443C10D@mac.com> <005701c98fb1$d95fb000$8c1f1000$@com> <6D8A9B5E-832D-4FC8-A386-FA64028E465A@me.com> Message-ID: <395A5C9A-329A-4AA4-99C5-0F9BD76043FA@twft.com> Jerry! Good job! I think you also nailed the problem with the Visual Application Browser losing track of which card was the present one. The error I was getting before is no longer occurring. WOOT! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 17, 2009, at 10:43 AM, Jerry Daniels wrote: > Bob, Jim... > > GLX2 v2.4b33 is now available. Problem with execution errors within > locked stacks fixed. General handling of execution errors much > improved. > > Best, > > Jerry Daniels > > Daniels & Mara, Inc. > Makers of GLX2 > http://www.glx2.com > > On Feb 15, 2009, at 3:10 PM, Jim Bufalini wrote: > >> Hi Bob, >> >> Thank you for taking the time be more explanative. As a result, I >> was able >> to duplicate the problem. It is due to a combination of factors: >> >> 1. Running LMPrint from the message box. >> 2. Running GLX2. >> 3. A bug in one ListMagic's print formatting handlers. >> >> The spinning beach ball is coming from GLX2 trying to report an >> error coming >> from a locked stack (I'll let Jerry know). Disabling the revGLX2 >> Code plugin >> results in a Rev error that says it can't tell you exactly what it is >> because the stack is locked. But there is no hang. Lastly, the >> cause of the >> error in the first place being the bug in one of ListMagic's print >> formatting handlers. >> >> I'll release a update within the next couple of days that will >> correct this >> as well as some other minor issues reported. >> >> Once again, thanks for taking the time to report the problem. We'll >> get >> corrected in short order. >> >> Jim Bufalini >> >>> -----Original Message----- >>> From: use-revolution-bounces at lists.runrev.com [mailto:use- >>> revolution- >>> bounces at lists.runrev.com] On Behalf Of Robert Sneidar >>> Sent: Saturday, February 14, 2009 11:15 AM >>> To: How to use Revolution >>> Subject: Re: ListMagic Printing >>> >>> Hi Jim. Sorry didn't mean to come off that way. >>> >>> I used the lmprint command from the message box. I got the page >>> setup >>> and print dialogs ok. I chose Format For and chose a local printer >>> on >>> the network. When I got to the print dialog I clicked the Preview >>> button. It was at that point I got the Printing dialog and the >>> spinning beach ball. That went on for over a minute at which point I >>> treid to cancel. It then changed to cancelling printing but never >>> actually did. I didn't try again. I had to quit Revolution which i >>> did >>> via the keyboard. Every attempt to open a card containing a >>> listmagic >>> object after that threw errors so I had do delete the listmagic >>> objects and scriptingi can try again and see if I get the same >>> problem. I will say that I had recently used the VAB in GLX2 which I >>> have had problems with so let me reproduce the error and get back to >>> you. >>> >>> Bob Sneidar >>> IT Manager >>> Calvary Chapel CM >>> Sent from iPhone >>> >>> On Feb 13, 2009, at 20:52, Jim Bufalini wrote: >>> >>>> Hi Bob, >>>> >>>>> Has anyone tried to print from Listmagic yet? I tried to use the >>>>> Preview option in the OS X print dialog and it basically locked up >>>>> with a dialog that said it was printing but never really did. >>>>> Cancelling did not cancel. I had to quit Revolution to get out of >>> the >>>>> loop. When I did that, clicking gave me the "don't do that!" >>>>> system >>>>> beep, but oddly I could use the keyboard and the Revolution Menu >>>>> so >>> I >>>>> was able to quit gracefully. >>>>> >>>>> I only mention this to warn people so they do not get hung up with >>>>> this or produce a commercial app and then have their users run >>>>> into >>>>> this. >>>> >>>> Well, that's a stern warning. ;-) >>>> >>>> Can you tell me what happens if from the Action tab of ListMagic >>>> you >>>> click >>>> on the Actions menu on the upper right and select Print. You should >>>> get a >>>> Page Setup screen. Select Portrait and OK. You should get a nicely >>>> formatted >>>> Test list of the sample data. >>>> >>>> Did you use the LMPrint command described in the Syntax tab of >>>> ListMagic to >>>> do your print? The LMExport also works nicely from this menu. >>>> Basically you >>>> need to use the handlers provided with ListMagic in your app. >>>> >>>> Jim Bufalini >>>> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pepetoo at cox.net Tue Feb 17 17:17:19 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Tue, 17 Feb 2009 14:17:19 -0800 Subject: [ANN]: "Word Match" (language tool + dynamic labels on icon images) In-Reply-To: <499B34C7.6000204@hrz.uni-kassel.de> References: <499B34C7.6000204@hrz.uni-kassel.de> Message-ID: <39EED191-C1F0-4C4E-93C8-A41042E5F439@cox.net> Hi Wilhelm, In the stack Spanish to English, it appears that the lists you're using are out of sync by one. Maybe something I did, but I don't think so. Otherwise, great job. Joe Wilkins On Feb 17, 2009, at 2:05 PM, Wilhelm Sanke wrote: > The primary purpose of this stack > > From chipp at chipp.com Tue Feb 17 17:20:55 2009 From: chipp at chipp.com (Chipp Walters) Date: Tue, 17 Feb 2009 16:20:55 -0600 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499AB7D4.9030900@cogapp.com> References: <499AB7D4.9030900@cogapp.com> Message-ID: <665591460902171420g3139a343sc74a51b9c1a40eda@mail.gmail.com> Here are a few from Altuit: http://www.buttongadget.com/buttongadget2/default.htm http://www.altuit.com/webs/vuetoolbar/GridModelerCover/default.htm ThoughtOffice: http://www.thoughtoffice.com/ and http://www.altuit.com/webs/clients/JollyDesign/ThoughtOfficeScreens_big.jpg Matrix Emergency Task Management Software for the State of Texas: http://www.gadgetplugins.com/chippstuff/MatrixScreens.png From jerry.daniels at me.com Tue Feb 17 17:34:20 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 17 Feb 2009 16:34:20 -0600 Subject: ListMagic Printing In-Reply-To: <395A5C9A-329A-4AA4-99C5-0F9BD76043FA@twft.com> References: <004201c98e60$179cdad0$46d69070$@com> <278E2302-FC23-450A-9867-08F71443C10D@mac.com> <005701c98fb1$d95fb000$8c1f1000$@com> <6D8A9B5E-832D-4FC8-A386-FA64028E465A@me.com> <395A5C9A-329A-4AA4-99C5-0F9BD76043FA@twft.com> Message-ID: We aims to please. Best, Jerry Daniels Daniels & Mara, Inc. Makers of GLX2 http://www.glx2.com On Feb 17, 2009, at 4:08 PM, Bob Sneidar wrote: > Jerry! Good job! > > I think you also nailed the problem with the Visual Application > Browser losing track of which card was the present one. The error I > was getting before is no longer occurring. WOOT! > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 17, 2009, at 10:43 AM, Jerry Daniels wrote: > >> Bob, Jim... >> >> GLX2 v2.4b33 is now available. Problem with execution errors within >> locked stacks fixed. General handling of execution errors much >> improved. >> >> Best, >> >> Jerry Daniels >> >> Daniels & Mara, Inc. >> Makers of GLX2 >> http://www.glx2.com >> >> On Feb 15, 2009, at 3:10 PM, Jim Bufalini wrote: >> >>> Hi Bob, >>> >>> Thank you for taking the time be more explanative. As a result, I >>> was able >>> to duplicate the problem. It is due to a combination of factors: >>> >>> 1. Running LMPrint from the message box. >>> 2. Running GLX2. >>> 3. A bug in one ListMagic's print formatting handlers. >>> >>> The spinning beach ball is coming from GLX2 trying to report an >>> error coming >>> from a locked stack (I'll let Jerry know). Disabling the revGLX2 >>> Code plugin >>> results in a Rev error that says it can't tell you exactly what it >>> is >>> because the stack is locked. But there is no hang. Lastly, the >>> cause of the >>> error in the first place being the bug in one of ListMagic's print >>> formatting handlers. >>> >>> I'll release a update within the next couple of days that will >>> correct this >>> as well as some other minor issues reported. >>> >>> Once again, thanks for taking the time to report the problem. >>> We'll get >>> corrected in short order. >>> >>> Jim Bufalini >>> >>>> -----Original Message----- >>>> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >>>> bounces at lists.runrev.com] On Behalf Of Robert Sneidar >>>> Sent: Saturday, February 14, 2009 11:15 AM >>>> To: How to use Revolution >>>> Subject: Re: ListMagic Printing >>>> >>>> Hi Jim. Sorry didn't mean to come off that way. >>>> >>>> I used the lmprint command from the message box. I got the page >>>> setup >>>> and print dialogs ok. I chose Format For and chose a local >>>> printer on >>>> the network. When I got to the print dialog I clicked the Preview >>>> button. It was at that point I got the Printing dialog and the >>>> spinning beach ball. That went on for over a minute at which >>>> point I >>>> treid to cancel. It then changed to cancelling printing but never >>>> actually did. I didn't try again. I had to quit Revolution which >>>> i did >>>> via the keyboard. Every attempt to open a card containing a >>>> listmagic >>>> object after that threw errors so I had do delete the listmagic >>>> objects and scriptingi can try again and see if I get the same >>>> problem. I will say that I had recently used the VAB in GLX2 >>>> which I >>>> have had problems with so let me reproduce the error and get back >>>> to >>>> you. >>>> >>>> Bob Sneidar >>>> IT Manager >>>> Calvary Chapel CM >>>> Sent from iPhone >>>> >>>> On Feb 13, 2009, at 20:52, Jim Bufalini wrote: >>>> >>>>> Hi Bob, >>>>> >>>>>> Has anyone tried to print from Listmagic yet? I tried to use the >>>>>> Preview option in the OS X print dialog and it basically locked >>>>>> up >>>>>> with a dialog that said it was printing but never really did. >>>>>> Cancelling did not cancel. I had to quit Revolution to get out of >>>> the >>>>>> loop. When I did that, clicking gave me the "don't do that!" >>>>>> system >>>>>> beep, but oddly I could use the keyboard and the Revolution >>>>>> Menu so >>>> I >>>>>> was able to quit gracefully. >>>>>> >>>>>> I only mention this to warn people so they do not get hung up >>>>>> with >>>>>> this or produce a commercial app and then have their users run >>>>>> into >>>>>> this. >>>>> >>>>> Well, that's a stern warning. ;-) >>>>> >>>>> Can you tell me what happens if from the Action tab of ListMagic >>>>> you >>>>> click >>>>> on the Actions menu on the upper right and select Print. You >>>>> should >>>>> get a >>>>> Page Setup screen. Select Portrait and OK. You should get a nicely >>>>> formatted >>>>> Test list of the sample data. >>>>> >>>>> Did you use the LMPrint command described in the Syntax tab of >>>>> ListMagic to >>>>> do your print? The LMExport also works nicely from this menu. >>>>> Basically you >>>>> need to use the handlers provided with ListMagic in your app. >>>>> >>>>> Jim Bufalini From mcgrath3 at mac.com Tue Feb 17 17:49:00 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 17 Feb 2009 17:49:00 -0500 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499B32E8.7070909@hyperactivesw.com> References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> <499B32E8.7070909@hyperactivesw.com> Message-ID: <8DDFD2B0-EF73-4A08-A3EB-553CBFD5AF58@mac.com> I was just being a little mischievous today...... On Feb 17, 2009, at 4:58 PM, J. Landman Gay wrote: > Thomas McGrath III wrote: >> Ok, sorry this was meant as a funny. I wasn't suggesting >> anything!!!!! > > I knew that. But careful, lest you be next. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ From Stgoldberg at aol.com Tue Feb 17 18:19:31 2009 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Tue, 17 Feb 2009 18:19:31 EST Subject: Good looking examples of applications built with Revolution Message-ID: I know they can't compete with Scott Rossi's amazing interfaces, but there are a number of free educationally useful downloads of MedMaster medical applications at http://medmaster.net/freedownloads.html. All were built with Revolution. Stephen Goldberg, President MedMaster Inc www.medmaster.net In a message dated 2/17/09 1:00:22 PM, use-revolution-request at lists.runrev.com writes: > On 17 Feb 2009, at 13:12, Ben Rubinstein wrote: > > > I know that this must be an FAQ, but I've not been able to find? > > that handy list I'm looking for. > > > > It's that time again: considering what development approach to take? > > on a new project, which requires a cross-platform well connected? > > desktop app with a slick UI, for a wide consumer audience. > > > > The arguments about development efficiency of Rev are well? > > understood; there's no doubt that Rev can do all the tasks that? > > will be needed; the question mark over Rev, as compared to the? > > other two routes being considered, is evidence of good looking,? > > slick, user interfaces.? (A shocking indictment of my own work, of? > > course, but then my work has always concentrated on functionality.) > > > > So, here's that question again: I'm looking for examples of actual? > > applications (not just sample stacks, tool stacks etc), built in? > > Rev, that can be pointed to as demonstrating that people have used? > > Rev to distribute products with an impressive modern user? > > interface.? I'm sure that they're out there - I just don't know where. > > > > Please send examples, links, or lists - whether your own work or? > > others - either to me directly or to the list as you prefer. > ************** Need a job? Find an employment agency near you. (http://yellowpages.aol.com/search?query=employment_agencies&ncid=emlcntusyelp00000003) From SparkOutYNY at gmail.com Tue Feb 17 18:33:49 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Tue, 17 Feb 2009 15:33:49 -0800 (PST) Subject: keeping focus in a field In-Reply-To: References: <546685B6BF104FCDBFD8D91634F86C9E@Kestner.local> <499ADAA1.4020800@ekoinf.net> Message-ID: <22068360.post@talk.nabble.com> Ken Ray wrote: > >> But if I create a context menu using popup button, the selected text in >> field looses focus at the moment the popup is called. Is there any >> simple trick (I already know complex ones :-)) to force the selection to >> persist, so I could handle it from the context menu ? > > Yes, set the "traversalOn" of the button that is the context menu to > "false". > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > This won't likely apply in the given situation (you want to preserve the > selection of text in a field, not really the point where you'd have any > handlers firing) but one caveat of disabling the traversalOn of the button > is that any handlers in the field (such as closeField) will not be > triggered until after the focus leaves the button and goes to some other > focusable object. It might be something to remember in other situations. -- View this message in context: http://www.nabble.com/how-to-change-the-font-of-stacks-title-bar--tp22057705p22068360.html Sent from the Revolution - User mailing list archive at Nabble.com. From tsj at unimelb.edu.au Tue Feb 17 18:49:27 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 18 Feb 2009 10:49:27 +1100 Subject: Getting a browser url on Windows In-Reply-To: Message-ID: Thanks Ken - that's really helpful. Terry... On 18/02/09 8:54 AM, "Ken Ray" wrote: > >> I use Applescript to get the url of the active window in Safari and Firefox >> on a Mac but is there any equivalent (VB?) that would allow me to do the >> same for IE and Firefox under Windows? Or is that a job for an external? > > Sorry it took so long for me to respond, Terry, and if you already have an > answer forgive me... but all I have is how to get it from IE with VBScript: > > Set objApps = CreateObject("Shell.Application") > For Each objApp in objApps.Windows > If (objApp.Name = "Windows Internet Explorer") or _ > (objApp.Name = "Microsoft Internet Explorer") Then > If objApp.LocationURL <> "" Then > WScript.Echo objApp.LocationURL > End If > End If > Next > > > HTH, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From luis at anachreon.co.uk Tue Feb 17 19:03:08 2009 From: luis at anachreon.co.uk (Luis) Date: Wed, 18 Feb 2009 00:03:08 +0000 Subject: Good looking examples of applications built with Revolution In-Reply-To: <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> Message-ID: <499B503C.9020100@anachreon.co.uk> I'm assuming 'seedy' from 'seed', rather than 'seedy'... Cheers, Luis. Thomas McGrath III wrote: > I always thought there weren't enough list romances on this list. > Finally we see the first seedy tidbits of one. > > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > On Feb 17, 2009, at 1:31 PM, J. Landman Gay wrote: > >> Mark Smith wrote: >>> Run, don't walk to the tactile media site - you want modern, slick, >>> good looking - that's Scott Rossi... um, I mean, well, I'm sure >>> Scott's a fine looking fellow, but I meant...oh never mind :) >> >> I've met him. He is. :) >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From lan.kc.macmail at gmail.com Tue Feb 17 19:46:52 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 18 Feb 2009 08:46:52 +0800 Subject: Arrays and Custom Props In-Reply-To: <499A4E8F.7000401@fourthworld.com> References: <499A4E8F.7000401@fourthworld.com> Message-ID: On Tue, Feb 17, 2009 at 1:43 PM, Richard Gaskin wrote: > > So while these various different parts are technically in the same file, > this is merely a clever trick of the legacy file system which still supports > resource forks. As such, it's just one level of misdirection away from > being more or less the same as a bundle in terms of code and data being > separate. > > As I said, I have no clue on what's going on under the hood, so thanks for taking time to 'pop the bonnet' and explain what the 'half ball and svetzer valve' do. ;-) From kkaufman at snet.net Tue Feb 17 20:03:57 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue, 17 Feb 2009 20:03:57 -0500 Subject: Music duration Message-ID: <8EF795A0-7971-4ED0-A48F-566BE007EAD7@snet.net> Ren?, You need first of all to understand what you are seeing in the Hex Editor. All of the MIDI data (including the data that is not printable in ascii text) is represented in Hexadecimal notation. It would be a good idea to practice a some conversions from Decimal to Hexadecimal (and the reverse); you'll get used to reading base-16. http://en.wikipedia.org/wiki/Hexadecimal -Kurt --- On Tue, 2/17/09, Ren? Micout <[]> wrote: > ...I have many questions > ? > The most important are lines 22, 30, 38 46 about note data, > by example line 22 : > 903C648400803C0000 > I think 03C is the pitch (!?) and 64844008 is the duration > (!?)... From lan.kc.macmail at gmail.com Tue Feb 17 20:31:17 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 18 Feb 2009 09:31:17 +0800 Subject: [OT] Rev + BBEdit In-Reply-To: References: <4998F010.9090104@fourthworld.com> <499AAB0F.9010405@cogapp.com> Message-ID: On Tue, Feb 17, 2009 at 11:46 PM, Robert Brenstein wrote: > On 17.02.09 at 12:18 +0000 Ben Rubinstein apparently wrote: > >> Perhaps I've missed something, but I think that both these excellent >> facilities are indeed available in 3.0. > > > Hey, Ben, you are right. Amazing! These things are in 3.0! Somehow, I only > used what they call the quick find. I need to spend more time in that > editor. > > You've gotta love this List! I'm never ever going to have enough time to go through every menu,menu item and sub items. I keep coming back to this List because there's always something new to learn :-) From ambassador at fourthworld.com Tue Feb 17 20:41:59 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Feb 2009 17:41:59 -0800 Subject: Arrays and Custom Props Message-ID: <499B6767.1020406@fourthworld.com> Kay C Lan wrote: > On Tue, Feb 17, 2009 at 1:43 PM, Richard Gaskin > wrote: >> So while these various different parts are technically in the same file, >> this is merely a clever trick of the legacy file system which still supports >> resource forks. As such, it's just one level of misdirection away from >> being more or less the same as a bundle in terms of code and data being >> separate. >> >> As I said, I have no clue on what's going on under the hood, so thanks for > taking time to 'pop the bonnet' and explain what the 'half ball and svetzer > valve' do. ;-) Ah, but it's more than mere techie gadgetry: Using Rev's built in resource functions you not only have another means of accomplishing your original goal, but indeed the very one AppleScript uses. See the Dictionary: getResources getResource setResource Good for as long as Apple continues to support resource forks (I give it until OS XI). -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From lan.kc.macmail at gmail.com Tue Feb 17 21:01:19 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 18 Feb 2009 10:01:19 +0800 Subject: Good looking examples of applications built with Revolution In-Reply-To: <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> Message-ID: On Wed, Feb 18, 2009 at 2:42 AM, Thomas McGrath III wrote: > I always thought there weren't enough list romances on this list. Finally > we see the first seedy tidbits of one. > > That's because the root of the problem is with dateItems ;-) From lan.kc.macmail at gmail.com Tue Feb 17 21:06:43 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 18 Feb 2009 10:06:43 +0800 Subject: Arrays and Custom Props In-Reply-To: <499B6767.1020406@fourthworld.com> References: <499B6767.1020406@fourthworld.com> Message-ID: On Wed, Feb 18, 2009 at 9:41 AM, Richard Gaskin wrote: > See the Dictionary: > getResources > getResource > setResource > Which I have. Thanks again to this List, I don't think there would be any other way I'd ever have conceived as to why I'd ever look these up. > > Good for as long as Apple continues to support resource forks (I give it > until OS XI). Sounds like a full 12/12 warranty to me. 12" or 12 sec, whichever comes first ;-) Oh, and you sure it won't be OS Y ? ;-) From jacque at hyperactivesw.com Tue Feb 17 21:23:33 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Feb 2009 20:23:33 -0600 Subject: Good looking examples of applications built with Revolution In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> Message-ID: <499B7125.1050401@hyperactivesw.com> Kay C Lan wrote: > On Wed, Feb 18, 2009 at 2:42 AM, Thomas McGrath III wrote: > >> I always thought there weren't enough list romances on this list. Finally >> we see the first seedy tidbits of one. >> >> That's because the root of the problem is with dateItems ;-) Does that mean I have to convert for him? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at futilism.com Tue Feb 17 22:21:59 2009 From: lists at futilism.com (Mark Smith) Date: Wed, 18 Feb 2009 03:21:59 +0000 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499B7125.1050401@hyperactivesw.com> References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> <499B7125.1050401@hyperactivesw.com> Message-ID: <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> On 18 Feb 2009, at 02:23, J. Landman Gay wrote: > Kay C Lan wrote: >> On Wed, Feb 18, 2009 at 2:42 AM, Thomas McGrath III >> wrote: >>> I always thought there weren't enough list romances on this list. >>> Finally >>> we see the first seedy tidbits of one. >>> >>> That's because the root of the problem is with dateItems ;-) > > Does that mean I have to convert for him? > Depends on whether you want a long or short date - I'm sure no-one really wants an internet date....for those really lacking in confidence there's always ISO dates :) From nhan.tran at rmit.edu.vn Tue Feb 17 22:53:18 2009 From: nhan.tran at rmit.edu.vn (Nhan, Tran Thi Thanh) Date: Wed, 18 Feb 2009 10:53:18 +0700 Subject: How to compare bettwen .rev file References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com><499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: Dear all, Is there any one who can help answer this question? My group are developing a project and how can we compare the difference between .rev file to know what each one does on the same file because we usually copy the same file to each one's computer and modified. Thanks so much, From pepetoo at cox.net Tue Feb 17 23:42:34 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Tue, 17 Feb 2009 20:42:34 -0800 Subject: How to compare bettwen .rev file In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com><499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: HI Tran, This is a fascinating problem; and, probably, not all that difficult to resolve. Write a handler that you attach to a button on each stack that creates a numerical list of all the items in the stack, including the number of characters in each of the handlers in each of the scripts of the items. This might not "always" show differences if coincidentally changes are made using the same number of characters, but that is not too likely. Send the listings to a file; print the file and compare the print-outs. A scripted comparison could be made, but is probably not worth doing. This should not be all that difficult. HTH, Joe Wilkins On Feb 17, 2009, at 7:53 PM, Nhan, Tran Thi Thanh wrote: > Dear all, > > Is there any one who can help answer this question? My group are > developing a project and how can we compare the difference > between .rev > file to know what each one does on the same file because we usually > copy > the same file to each one's computer and modified. > > Thanks so much, From briany at qldlearning.com Wed Feb 18 00:31:05 2009 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 17 Feb 2009 21:31:05 -0800 Subject: How to compare bettwen .rev file In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com><499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: <922D88D6-95A7-4C90-8E3F-7CF392631C2C@qldlearning.com> Joe, Tran, Building on this - instead of counting characters, you could run the scripts through md5Digest(). Using a hash value is a common approach to detecting changes that works very well for almost all cases. It all really depends on the level of changes you need to see - but if it's just scripting changes, looping through all objects and comparing their md5Digest() values is a good start. If you want more in-depth analysis (for example tracking property changes to objects or the formatting of text), it could be quite a bit more work. Since there is no "true" version tracking / merging tool for Rev, it also has a lot to do with your collaborative process. A few people here have their own homegrown tools for versioning that work quite well. For those accustomed to CVS / SVN it's not quite the same ball game, but that's arguably a good thing =). - Brian > HI Tran, > > This is a fascinating problem; and, probably, not all that difficult > to resolve. > > Write a handler that you attach to a button on each stack that > creates a numerical list of all the items in the stack, including > the number of characters in each of the handlers in each of the > scripts of the items. This might not "always" show differences if > coincidentally changes are made using the same number of characters, > but that is not too likely. Send the listings to a file; print the > file and compare the print-outs. A scripted comparison could be > made, but is probably not worth doing. This should not be all that > difficult. > > HTH, > > Joe Wilkins > > On Feb 17, 2009, at 7:53 PM, Nhan, Tran Thi Thanh wrote: > >> Dear all, >> >> Is there any one who can help answer this question? My group are >> developing a project and how can we compare the difference >> between .rev >> file to know what each one does on the same file because we usually >> copy >> the same file to each one's computer and modified. >> >> Thanks so much, From mwieder at ahsoftware.net Wed Feb 18 01:31:25 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 17 Feb 2009 22:31:25 -0800 Subject: How to compare bettwen .rev file In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com><499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: <64393997062.20090217223125@ahsoftware.net> Tran- I usually store the version number and date in a custom property of the stack. Then I can query the custom property to see what I've got. Something like: set the uVersion of this stack to 3.14 set the uDate of this stack to "17 February 2009" --then if there is a file tFileToUpdate then get the uVersion of file tFileToUpdate if it < tNewVersion then update it end if end if -- -Mark Wieder mwieder at ahsoftware.net From toolbook at kestner.de Wed Feb 18 02:24:20 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 18 Feb 2009 08:24:20 +0100 Subject: AW: AW: Can a modal stack has a close box? In-Reply-To: Message-ID: <972BAD5F286748C4B8480F1A9F7DBBF0@Kestner.local> Hi Ken, yup, thanks for you 2 cents Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Ken Ray > Gesendet: Dienstag, 17. Februar 2009 21:21 > An: Use Revolution List > Betreff: Re: AW: Can a modal stack has a close box? > > > > hmmm, perhaps I took the wrong approach. What I wanted to do is a > welcome > > screen with some basic infos on first start. The User should read the > infos > > first, before going on, that?s why I wanted modal. And this welcome > window > > just has 1 only button "close". The close box in the title bar actually > > would be a duplicate, but an offer to the users, who are used to close > > windows with the close box... > > Tiemo, in that case you can use a modeless dialog, which will give you the > closebox. True it's not truly modal, but then again it doesn't have to be > - > they can close it when they want to and it shouldn't interfere with the > rest > of your app, even if they submarine it by clicking on another window. This > is like the About boxes in Mac apps... > > Just my 2 cents, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Wed Feb 18 02:46:16 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 18 Feb 2009 08:46:16 +0100 Subject: Any chance to identify if the title of a stack is corrupted by QT? Message-ID: <11623657D9C24B238AE69F9C2B6B001C@Kestner.local> Hello, still trying to find a workaround for the bug corrupting the title bar (QCC 6235) Because it happens at a minority of my betatests I wanted to figure out, if I have a chance to identify, if the title is still ok or corrupted. If it is corrupted, I wanted to set it to empty - an empty title bar is better as a corrupted - and if it is not corrupted, I could let it as it is for the majority of the users. Just getting the title and comparing it with the original, doesn't work, because even if it is corrupted it gets me the correct, original title. Obviously it's "just" a rendering thing. If it's not possible I think I have to set the title to empty for all users, not nice, but better as hyroglyphs Any idea, how to detect, if the title is corrupted or not for a workaround? Thanks for any ideas Tiemo From lan.kc.macmail at gmail.com Wed Feb 18 03:38:30 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 18 Feb 2009 16:38:30 +0800 Subject: Good looking examples of applications built with Revolution In-Reply-To: <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> <499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: On Wed, Feb 18, 2009 at 11:21 AM, Mark Smith wrote: > > for those really lacking in confidence there's always ISO dates :) > > Which may end up with a kernel panic! From rmicout at online.fr Wed Feb 18 03:58:11 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 18 Feb 2009 09:58:11 +0100 Subject: Music duration In-Reply-To: <8EF795A0-7971-4ED0-A48F-566BE007EAD7@snet.net> References: <8EF795A0-7971-4ED0-A48F-566BE007EAD7@snet.net> Message-ID: <9B5790E0-5C9F-46A4-9BBC-79B783ABFD05@online.fr> Kurt, You are wonderfull ! :-) Ren? Le 18 f?vr. 09 ? 02:03, Kurt Kaufman a ?crit : > Ren?, > You need first of all to understand what you are seeing in the Hex > Editor. All of the MIDI data (including the data that is not > printable in ascii text) is represented in Hexadecimal notation. > It would be a good idea to practice a some conversions from Decimal > to Hexadecimal (and the reverse); you'll get used to reading base-16. > > http://en.wikipedia.org/wiki/Hexadecimal > > > -Kurt > > > > > --- On Tue, 2/17/09, Ren? Micout <[]> wrote: > > > ...I have many questions > ? > > The most important are lines 22, 30, 38 46 about note data, > > by example line 22 : > > 903C648400803C0000 > > I think 03C is the pitch (!?) and 64844008 is the duration > > (!?)... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Wed Feb 18 04:09:43 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 18 Feb 2009 17:09:43 +0800 Subject: How to compare bettwen .rev file In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> <499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: On Wed, Feb 18, 2009 at 12:42 PM, Joe Lewis Wilkins wrote: > > This is a fascinating problem; and, probably, not all that difficult to > resolve. > > Write a handler that you attach to a button on each stack that creates a > numerical list of all the items in the stack, including the number of > characters in each of the handlers in each of the scripts of the items. And as a head start you could just 'borrow' the wheel that's already been invented. I hope Chipp doesn't mind, but he offered altStats to the List recently: Enter into message box. go url "http://www.gadgetplugins.com/altplugins/altStats.rev" It basically does what Joe suggests. HTH From lan.kc.macmail at gmail.com Wed Feb 18 04:26:38 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 18 Feb 2009 17:26:38 +0800 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499B7125.1050401@hyperactivesw.com> References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> <499B7125.1050401@hyperactivesw.com> Message-ID: On Wed, Feb 18, 2009 at 10:23 AM, J. Landman Gay wrote: > > Does that mean I have to convert for him? > I don't think he has the growth potential so you may wish toLower your expectations ;-) From sanke at hrz.uni-kassel.de Wed Feb 18 04:45:09 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 18 Feb 2009 10:45:09 +0100 Subject: [ANN]: "Word Match" (language tool + dynamic labels on icon images) Message-ID: <499BD8A5.8080606@hrz.uni-kassel.de> Joe Lewis Wilkins pepetoo at cox.net wrote (Tue Feb 17, 2009): > Hi Wilhelm, > > In the stack Spanish to English, it appears that the lists you're > using are out of sync by one. Maybe something I did, but I don't think > so. > > Otherwise, great job. > > Joe Wilkins Hi Joe, Did you change anything in the hidden Spanish field? It is crucial that commas, slashes, and CRs are at their correct places - and that there is no extra CR at the bottom of the field (creating a blank line). I see nothing here that would be out of sync. Maybe you should download the stack again. In any case, let me know when anything is not working properly. Regards, Wilhelm From swartart at iafrica.com Wed Feb 18 06:13:55 2009 From: swartart at iafrica.com (Ryno Swart) Date: Wed, 18 Feb 2009 13:13:55 +0200 Subject: Good looking examples of applications built with Revolution In-Reply-To: <20090218004656.E866048A6CA@mail.runrev.com> References: <20090218004656.E866048A6CA@mail.runrev.com> Message-ID: <0EA94A39-FF89-4499-858C-C84693E04505@iafrica.com> Oh man, I am so proud of Klaus and my Croptool Application. My background is in art and design, and Klaus you all know as one of the most elegant scripters around. Elegance is what we aimed for, in fact. Check it out: http://croptoolapplication.com/ If any of you like the look and feel, and would like some help in the design aspects of your own projects, please contact me (or Klaus, who, I am sure, is always willing to help). Where we could be helped, is in the marketing side under the heading of: "How to market with a budget of zero". Ryno. http://artistvision.org/ From B.Cornaz at gmx.net Wed Feb 18 07:15:29 2009 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Wed, 18 Feb 2009 13:15:29 +0100 Subject: Music duration Message-ID: <61578249-D95C-42D1-B5FB-A6BEADE7B487@gmx.net> Kurt wrote : > I can also cc to the list if anyone else expresses an interest in the subject (anyone?). Yes, Kurt, I am interested too! Thanks, Beat. From benr_mc at cogapp.com Wed Feb 18 07:32:19 2009 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 18 Feb 2009 12:32:19 +0000 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499AB7D4.9030900@cogapp.com> References: <499AB7D4.9030900@cogapp.com> Message-ID: <499BFFD3.6030407@cogapp.com> Thank you to everyone who replied with suggestions, both on and off list. Great to see some of the fantastic work out there. And I'm sorry that I inadvertently caused the sanctity of this list to be polluted by innuendo and misuse of the Transcript Dictionary. - Ben From benr at cogapp.com Wed Feb 18 07:38:55 2009 From: benr at cogapp.com (Ben Rubinstein) Date: Wed, 18 Feb 2009 12:38:55 +0000 Subject: How to compare bettwen .rev file In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com><499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: <499C015F.9030900@cogapp.com> Nhan, Tran Thi Thanh wrote: > Is there any one who can help answer this question? My group are > developing a project and how can we compare the difference between .rev > file to know what each one does on the same file because we usually copy > the same file to each one's computer and modified. We use a script that generates a text file in a simple XML format that includes all of the scripts in a a stack, and optionally the text of fields and user properties as well. We've integrated this into our work flow so that this file is generated automatically each time we save the stack; and because we use a source code control system (we use Subversion) we always check this text file into the SCC at the same time as the stack. So to see what's changed between any two versions, you can use your favourite text file comparison tool (BBEdit, diff, Eclipse etc). This works for us because our stacks our mostly about the scripts, rather than the ornaments (buttons, fields, graphics etc). It may not be useful to you - if you'd like a copy, drop me a line. I also have a standalone stack that attempts to do a more thorough job of representing every element of a stack in an XML file, principally for the purpose of comparing two stacks. But I really only use that in recovery situations, and it's a continual work in progress. - Ben From fischer.th at aon.at Wed Feb 18 07:41:20 2009 From: fischer.th at aon.at (Thomas Fischer) Date: Wed, 18 Feb 2009 13:41:20 +0100 Subject: HEAD method Message-ID: <558F713E-9A47-4702-8047-185117861849@aon.at> Hello, I had to look into my HEAD method again, using Dave's approach at http://lists.runrev.com/pipermail/use-revolution/2009-January/119601.html (I don't know how to reply to this directly because I only receive the digests.): on mouseUp libUrlFollowHttpRedirects false put "HEAD" && "/freebeer.html" && "HTTP/1.1" into tRequest put cr & "User-Agent: Revolution" after tRequest put cr & "Host:" && "www.runrev.com" after tRequest put cr & "Connection: close" after tRequest libURLSetCustomHTTPHeaders tRequest get url "http://www.runrev.com/" put libUrlLastRhHeaders() libUrlFollowHttpRedirects true ##RESET end mouseUp His method works, although I don't quite understand what Revolution does with two URLs: one in the custom header and the other from the call to url. The other possible problem is that the libUrlLastRhHeaders() function isn't reset if the call failed, this happened e.g. when I tried get url "". In this case the libUrlLastRhHeaders() will still return the same header from the last successful call. Anyway, I tried to code this as a function: on mouseUp breakpoint get theFinalHeader() end mouseUp function theFinalHeader libUrlFollowHttpRedirects false put "HEAD" && "/freebeer.html" && "HTTP/1.1" into tRequest put cr & "User-Agent: Revolution" after tRequest put cr & "Host:" && "www.runrev.com" after tRequest put cr & "Connection: close" after tRequest libURLSetCustomHTTPHeaders tRequest get url "http://www.runrev.com/" put libUrlLastRhHeaders() libUrlFollowHttpRedirects true ##RESET beep end theFinalHeader which again works, but when I try to follow the proceedings in the debugger, the debugger jumps from get url "http://www.runrev.com/" immediately back to the mouseUp handler, but the beep will sound. I don't understand if this is a problem with the debugger, with the url call, with the headers or with my installation. I use Revolution Media 3.0.0 Revision A, Build 750. Does anybody have an idea? Best regards Thomas Fischer From sanke at hrz.uni-kassel.de Wed Feb 18 08:23:07 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 18 Feb 2009 14:23:07 +0100 Subject: [ANN]: "Word Match" (language tool + dynamic labels on icon images) Message-ID: <499C0BBB.8050709@hrz.uni-kassel.de> I had written: > Joe Lewis Wilkins pepetoo at cox.net wrote (Tue Feb 17, 2009): >> Hi Wilhelm, >> >> In the stack Spanish to English, it appears that the lists you're >> using are out of sync by one. Maybe something I did, but I don't >> think so. >> >> Otherwise, great job. >> >> Joe Wilkins > > Hi Joe, > > Did you change anything in the hidden Spanish field? It is crucial > that commas, slashes, and CRs are at their correct places - and that > there is no extra CR at the bottom of the field (creating a blank line). > > I see nothing here that would be out of sync. > > Maybe you should download the stack again. In any case, let me know > when anything is not working properly. Joe, It came to my mind that one of the peculiarities of the Rev IDE could cause a minor problem when the stack is being opened (I usually use the Metacard IDE for about 90% of my development): If you first press button "Repeat" after the stack was opened - which should enable you to "repeat" the exercise with the same word pairs chosen before - then the global variable "gSelection" that stores the temporary word pairs will be empty, because the Rev IDE starts with a default setting to the "pointer tool". Therefore "send mouseup" to initialise variable gSelection in the openstack handler (contained in the script of the card) will not be sent. The remedy for this is simple: I put "choose browse tool" directly before the "send mouseup" line in the openstack handler, and now the "repeat" button works even in the Rev IDE immediately after opening the stack. I have placed the stack with the added scriptline at the same URL as before. Regards, Wilhelm Sanke From SparkOutYNY at gmail.com Wed Feb 18 10:38:09 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Wed, 18 Feb 2009 07:38:09 -0800 (PST) Subject: CGI database connection (mySQL) Message-ID: <22081311.post@talk.nabble.com> Can anyone help? I have built a web-application by creating the logic for each cgi process in the Rev IDE, using cards and buttons to call the scripts. I use Trevor DeVore's libDatabase (v. 2.1) to handle the database connection and queries. Everything works fine in the IDE version. Now I'm converting the application to the web (nice and simple, replacing the dynamic parts of the page on the fly by filling in the content on a template page and outputting via Andre's Rockets.cgi) and everything is working OK, except the database connection. The Trevor's library is being called OK, the libdb_registerDatabase initialisation has no trouble, but when it comes to the libdb_connect call, it fails. A 500 internal server error is generated, and the logs show "Premature end of script headers". I have also tried with a revOpenDatabase call and the same error results. I have tried using both a standard user (mySQL 5) password and an old style user password with no success. My test environment is a WAMP configuration (Uniform Server) on Windows with Apache/MySQL/PHP. Everything cgi works OK in this setup apart from the database connection. The live setup will be a Linux webhost, but I have to get it all configured on my test version setup and demonstrate it's working before I can turn it live. Any ideas how to fix this DB connection? Being a windows setup, I've copied the revdb.dll and dbmysql.dll files into the local cgi folder, and tried various permutations of the Externals folder, and in the cgi stack I've tried using revSetDatabaseDriverPath for each of the appropriate trials. Still can't get past the internal server error. Any ideas for a solution gratefully received. -- View this message in context: http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22081311.html Sent from the Revolution - User mailing list archive at Nabble.com. From kkaufman at snet.net Wed Feb 18 10:50:07 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed, 18 Feb 2009 10:50:07 -0500 Subject: MIDI (was: Music duration) Message-ID: *This is the MIDI file format reference I used when first learning about MIDI: http://jedi.ks.uiuc.edu/~johns/links/music/midifile.htm *This also seems useful, especially in describing the MIDI byte structure: http://music.nuim.ie/music/sites/cpaneltest.nuim.ie.music/files/images/documents/StandardMidiFiles.pdf *You don't have to provide data for all possible parameters. For instance, MIDI Builder does not indicate a specific velocity (loudness) for each MIDI note event. It just sets the value at 64 (mid range) and leaves it. If we were using a velocity-sensitive input device, i.e. a touch sensitive MIDI keyboard controller, then we would want to "trap" the value of the velocity for each note. *Print out the transcript dictionary reference for binaryEncode. Look especially at the H parameter. Kurt From SparkOutYNY at gmail.com Wed Feb 18 10:50:15 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Wed, 18 Feb 2009 07:50:15 -0800 (PST) Subject: CGI database connection (mySQL) In-Reply-To: <22081311.post@talk.nabble.com> References: <22081311.post@talk.nabble.com> Message-ID: <22081611.post@talk.nabble.com> Forgot to add SparkOut wrote: > > I've tried using revSetDatabaseDriverPath for each of the appropriate > trials. but even including the revSetDatabaseDriverPath causes a 500 > error. -- View this message in context: http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22081611.html Sent from the Revolution - User mailing list archive at Nabble.com. From pepetoo at cox.net Wed Feb 18 11:21:53 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 18 Feb 2009 08:21:53 -0800 Subject: Any chance to identify if the title of a stack is corrupted by QT? In-Reply-To: <11623657D9C24B238AE69F9C2B6B001C@Kestner.local> References: <11623657D9C24B238AE69F9C2B6B001C@Kestner.local> Message-ID: <732919BF-C9CB-4C56-9910-CB1F9A1BF9D4@cox.net> Hi Tiemo, I had this sort of problem many years ago using other development systems. In every case it was an indication of a more ominous problem with my coding; usually, as I recall, a memory problem wherein something I was doing was overwriting the titlebar data. Consequently, I would not suggest that you do as you are indicating you might do: just providing an empty name for the titlebar. Instead, you must continue to debug your coding to locate your "true" problem, the "disease" and not the "symptom. Sorry I can't be more help. Joe Wilkins On Feb 17, 2009, at 11:46 PM, Tiemo Hollmann TB wrote: > Hello, > > still trying to find a workaround for the bug corrupting the title > bar (QCC > 6235) > > Because it happens at a minority of my betatests I wanted to figure > out, if > I have a chance to identify, if the title is still ok or corrupted. > If it is > corrupted, I wanted to set it to empty - an empty title bar is > better as a > corrupted - and if it is not corrupted, I could let it as it is for > the > majority of the users. > > Just getting the title and comparing it with the original, doesn't > work, > because even if it is corrupted it gets me the correct, original > title. > Obviously it's "just" a rendering thing. > > If it's not possible I think I have to set the title to empty for > all users, > not nice, but better as hyroglyphs > > Any idea, how to detect, if the title is corrupted or not for a > workaround? > > Thanks for any ideas > > Tiemo From jacque at hyperactivesw.com Wed Feb 18 11:38:03 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 Feb 2009 10:38:03 -0600 Subject: Good looking examples of applications built with Revolution In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> <499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: <499C396B.9000404@hyperactivesw.com> Kay C Lan wrote: > On Wed, Feb 18, 2009 at 11:21 AM, Mark Smith wrote: > >> for those really lacking in confidence there's always ISO dates :) >> >> Which may end up with a kernel panic! I can't do ISO dates. I have no standards. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toolbook at kestner.de Wed Feb 18 12:50:10 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 18 Feb 2009 18:50:10 +0100 Subject: AW: Any chance to identify if the title of a stack is corrupted byQT? In-Reply-To: <732919BF-C9CB-4C56-9910-CB1F9A1BF9D4@cox.net> Message-ID: Hi Joe, hmmm, I've thought about that, but I still think it is a known bug in the QCC and there are many others encountering the same phenomenon. I tried a little test, created a test button with just one line "set the title of this stack to "foo". Once the title is corrupted I even can't regenerate it with this one-liner. The only thing what happens, is that the hieroglyphs disappear and there is only the first char (f) of "foo" in the title. So I think, even if I would mess up the memory of the title, I should be able to regenerate it with this statement, but it doesn't works. Or don't you think so? Thanks for your two cents Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Joe Lewis Wilkins > Gesendet: Mittwoch, 18. Februar 2009 17:22 > An: How to use Revolution > Betreff: Re: Any chance to identify if the title of a stack is corrupted > byQT? > > Hi Tiemo, > > I had this sort of problem many years ago using other development > systems. In every case it was an indication of a more ominous problem > with my coding; usually, as I recall, a memory problem wherein > something I was doing was overwriting the titlebar data. > > Consequently, I would not suggest that you do as you are indicating > you might do: just providing an empty name for the titlebar. Instead, > you must continue to debug your coding to locate your "true" problem, > the "disease" and not the "symptom. Sorry I can't be more help. > > Joe Wilkins > From pepetoo at cox.net Wed Feb 18 12:58:33 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 18 Feb 2009 09:58:33 -0800 Subject: AW: Any chance to identify if the title of a stack is corrupted byQT? In-Reply-To: References: Message-ID: Hi Tiemo, What you say is certainly food for thought. I'll keep my eyes peeled for such an anomaly in what I'm doing to see if I note similar problems. Sorry I couldn't be more insightful. Good luck with your debugging, Joe Wilkins On Feb 18, 2009, at 9:50 AM, Tiemo Hollmann TB wrote: > Hi Joe, > hmmm, I've thought about that, but I still think it is a known bug > in the > QCC and there are many others encountering the same phenomenon. > I tried a little test, created a test button with just one line "set > the > title of this stack to "foo". Once the title is corrupted I even can't > regenerate it with this one-liner. The only thing what happens, is > that the > hieroglyphs disappear and there is only the first char (f) of "foo" > in the > title. So I think, even if I would mess up the memory of the title, > I should > be able to regenerate it with this statement, but it doesn't works. > Or don't > you think so? > Thanks for your two cents > Tiemo From klaus at major-k.de Wed Feb 18 13:00:12 2009 From: klaus at major-k.de (Klaus Major) Date: Wed, 18 Feb 2009 19:00:12 +0100 Subject: AW: Any chance to identify if the title of a stack is corrupted byQT? In-Reply-To: References: Message-ID: <9567684D-35C9-4334-972E-2BCAF52546D1@major-k.de> Hi Tiemo, > Hi Joe, > hmmm, I've thought about that, but I still think it is a known bug > in the > QCC and there are many others encountering the same phenomenon. Check this: http://quality.runrev.com/qacenter/show_bug.cgi?id=7290 > I tried a little test, created a test button with just one line "set > the > title of this stack to "foo". Once the title is corrupted I even can't > regenerate it with this one-liner. The only thing what happens, is > that the > hieroglyphs disappear and there is only the first char (f) of "foo" > in the > title. So I think, even if I would mess up the memory of the title, > I should > be able to regenerate it with this statement, but it doesn't works. > Or don't > you think so? You can't workaound this, but sure you can waste you time trying :-D > Thanks for your two cents > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von Joe Lewis Wilkins >> Gesendet: Mittwoch, 18. Februar 2009 17:22 >> An: How to use Revolution >> Betreff: Re: Any chance to identify if the title of a stack is >> corrupted >> byQT? >> Hi Tiemo, >> I had this sort of problem many years ago using other development >> systems. In every case it was an indication of a more ominous >> problem >> with my coding; usually, as I recall, a memory problem wherein >> something I was doing was overwriting the titlebar data. >> Consequently, I would not suggest that you do as you are indicating >> you might do: just providing an empty name for the titlebar. Instead, >> you must continue to debug your coding to locate your "true" problem, >> the "disease" and not the "symptom. Sorry I can't be more help. >> >> Joe Wilkins Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From bobs at twft.com Wed Feb 18 13:12:26 2009 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 Feb 2009 10:12:26 -0800 Subject: Arrays and Custom Props In-Reply-To: References: <499B6767.1020406@fourthworld.com> Message-ID: You don't know Apple very well. It will be something like Y2. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 17, 2009, at 6:06 PM, Kay C Lan wrote: > Sounds like a full 12/12 warranty to me. 12" or 12 sec, whichever > comes > first ;-) > > Oh, and you sure it won't be OS Y ? ;-) From pepetoo at cox.net Wed Feb 18 13:16:36 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 18 Feb 2009 10:16:36 -0800 Subject: [ANN]: "Word Match" (language tool + dynamic labels on icon images) In-Reply-To: <499C0BBB.8050709@hrz.uni-kassel.de> References: <499C0BBB.8050709@hrz.uni-kassel.de> Message-ID: Hi Wilhelm, I re downloaded your stack, but found there are still problems with the Spanish to English words. I don't speak German, so I don't know if the same problems exist with it. I made no changes to anything, merely pressed the "Vocabulary" button and then with the optionkey held down, thinking that would perhaps reverse things. Mismatches were evident, though I have to admit I have a little trouble reading things, to the point that I didn't even read your notes of instruction. I find the distance between the languages to be bothersome. It would be much easier to follow if they were more side by side (almost adjacent) to one another. Also, the pop-up menu is somewhat erratic in its performance. I assume you are expecting to add other languages at some future date. Frankly, I would prefer that this not be quite so colorful. Black text on white backgrounds would be more than acceptable and less of a strain on my poor eyes. Perhaps a way to turn off coloration? Incidentally, I'm viewing this on a Leopard MacPro with a 30" screen, so things do get spread out for me. My 2?, Joe Wilkins On Feb 18, 2009, at 5:23 AM, Wilhelm Sanke wrote: > The remedy for this is simple: I put "choose browse tool" directly > before the "send mouseup" line in the openstack handler, and now the > "repeat" button works even in the Rev IDE immediately after opening > the stack. > > I have placed the stack with the added scriptline at the same URL as > before. > > > > Regards, > > Wilhelm Sanke > From toolbook at kestner.de Wed Feb 18 13:21:38 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 18 Feb 2009 19:21:38 +0100 Subject: AW: AW: Any chance to identify if the title of a stack is corruptedbyQT? In-Reply-To: <9567684D-35C9-4334-972E-2BCAF52546D1@major-k.de> Message-ID: Hi Klaus, it's always good to get some hope :) so, I'll live with a blank title Tiemo > > You can't workaound this, but sure you can waste you time trying :-D > From jacque at hyperactivesw.com Wed Feb 18 13:34:45 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 Feb 2009 12:34:45 -0600 Subject: AW: Any chance to identify if the title of a stack is corrupted byQT? In-Reply-To: <9567684D-35C9-4334-972E-2BCAF52546D1@major-k.de> References: <9567684D-35C9-4334-972E-2BCAF52546D1@major-k.de> Message-ID: <499C54C5.8030908@hyperactivesw.com> Klaus Major wrote: > Hi Tiemo, > >> Hi Joe, >> hmmm, I've thought about that, but I still think it is a known bug in the >> QCC and there are many others encountering the same phenomenon. Yes, it's a known bug with no current workaround other than the one Mark Waddingham mentioned in the bug report, which apparently doesn't work all the time. He told me it was a very difficult issue because of the way Rev needs to interact with the window manager. Please make sure you have added to the report to let him know it isn't resolved yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Feb 18 13:35:33 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 Feb 2009 12:35:33 -0600 Subject: AW: Any chance to identify if the title of a stack is corrupted byQT? In-Reply-To: <9567684D-35C9-4334-972E-2BCAF52546D1@major-k.de> References: <9567684D-35C9-4334-972E-2BCAF52546D1@major-k.de> Message-ID: <499C54F5.9070503@hyperactivesw.com> Klaus Major wrote: > You can't workaound this, but sure you can waste you time trying :-D Whoops, replied to you and meant to reply to Timeo. But you can add to the report too if you want. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Feb 18 16:58:20 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 18 Feb 2009 18:58:20 -0300 Subject: CGI database connection (mySQL) In-Reply-To: <22081611.post@talk.nabble.com> References: <22081311.post@talk.nabble.com> <22081611.post@talk.nabble.com> Message-ID: <7c87a2a10902181358u426312deof0927a7ef76c7686@mail.gmail.com> Hi There, I must say first that I am not familiar with WAMP setups but why don't you try simple text scripts first, and invoking them from the command line, you might get a better error. I believe this is external related, try setting the external property of stack "script" during the startup handler (yes, when you run a stack as a cgi a temporary stack named script is created). Cheers andre On Wed, Feb 18, 2009 at 12:50 PM, SparkOut wrote: > > Forgot to add > > SparkOut wrote: >> >> I've tried using revSetDatabaseDriverPath for each of the appropriate >> trials. but even including the revSetDatabaseDriverPath causes a 500 >> error. > > -- > View this message in context: http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22081611.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From SparkOutYNY at gmail.com Wed Feb 18 17:13:55 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Wed, 18 Feb 2009 14:13:55 -0800 (PST) Subject: CGI database connection (mySQL) In-Reply-To: <7c87a2a10902181358u426312deof0927a7ef76c7686@mail.gmail.com> References: <22081311.post@talk.nabble.com> <22081611.post@talk.nabble.com> <7c87a2a10902181358u426312deof0927a7ef76c7686@mail.gmail.com> Message-ID: <22089491.post@talk.nabble.com> Bom dia Andre, obrigado. I've just about got there now I think - I narrowed it down to the external settings, and have nobbled a script that Mark Waddingham gave to a user on the Rev forum that I found, so that it sets the external path of the templateStack, creates an empty stack, starts using that stack and so the externals for the empty stack are available in the script. It wasn't working before by simply setting the externals of "this" stack in the script at runtime. So the revdb library was eventually kicking in, and then I could call Trevor's library to make my queries. First of all I was getting errors with that even so, and I found that it was necessary to change "localhost" to "127.0.0.1" in the connection parameters. Got it going on WAMP, just trying a "safe" area on the live Linux web server to make sure it will work there too. Obrigado muito. Andre Garzia-3 wrote: > > Hi There, > > I must say first that I am not familiar with WAMP setups but why don't > you try simple text scripts first, and invoking them from the command > line, you might get a better error. I believe this is external > related, try setting the external property of stack "script" during > the startup handler (yes, when you run a stack as a cgi a temporary > stack named script is created). > > Cheers > andre > > On Wed, Feb 18, 2009 at 12:50 PM, SparkOut wrote: >> >> Forgot to add >> >> SparkOut wrote: >>> >>> I've tried using revSetDatabaseDriverPath for each of the appropriate >>> trials. but even including the revSetDatabaseDriverPath causes a 500 >>> error. >> >> -- >> View this message in context: >> http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22081611.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22089491.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Wed Feb 18 17:44:40 2009 From: niggemann at uni-wh.de (BNig) Date: Wed, 18 Feb 2009 14:44:40 -0800 (PST) Subject: [ANN]: "Word Match" (language tool + dynamic labels on icon images) In-Reply-To: References: <499B34C7.6000204@hrz.uni-kassel.de> <499C0BBB.8050709@hrz.uni-kassel.de> Message-ID: <22090087.post@talk.nabble.com> Hi Joe, did you try to drag/drop the spanish word to the corresponding english word? That is what it is about. It is basically a vocabulary trainer that happens to show the button thing. for me it works regards Bernd -- View this message in context: http://www.nabble.com/-ANN-%3A-%22Word-Match%22-%28language-tool-%2B-dynamic-labels-on-icon-images%29-tp22067388p22090087.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Wed Feb 18 17:53:21 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 19 Feb 2009 08:53:21 +1000 Subject: How to compare bettwen .rev file In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> <499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: > Is there any one who can help answer this question? My group are > developing a project and how can we compare the difference between .rev > file to know what each one does on the same file because we usually copy > the same file to each one's computer and modified. I recommend Altuit's MagicCarpet. It allows you to serve all the stacks & associated files to everyone on the project. When someone wants to work on a stack, they "check it out". No-one else can work on it then, until the person check's it in again, with all the changes they have made. Cheers, Sarah From sarah.reichelt at gmail.com Wed Feb 18 17:55:51 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 19 Feb 2009 08:55:51 +1000 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499BFFD3.6030407@cogapp.com> References: <499AB7D4.9030900@cogapp.com> <499BFFD3.6030407@cogapp.com> Message-ID: I don't lay any claims to elegant design, but my Pic-a-POD has been out there for a few years now with over 100,000 users. Sarah From pepetoo at cox.net Wed Feb 18 18:10:27 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 18 Feb 2009 15:10:27 -0800 Subject: [ANN]: "Word Match" (language tool + dynamic labels on icon images) In-Reply-To: <22090087.post@talk.nabble.com> References: <499B34C7.6000204@hrz.uni-kassel.de> <499C0BBB.8050709@hrz.uni-kassel.de> <22090087.post@talk.nabble.com> Message-ID: <2D435F34-2327-45C0-92D3-5F01A2F85068@cox.net> Hi Guys, It would have helped if I'd taken the time to read the help. Works great once you understand what it is supposed to do. I just thought it provided automatic translations; instead of really being more like a game. Whilhelm, you did a great job. Sorry I raised such a fuss. Estupido mio! Now, maybe I can bush up on the German I don't speak. (smile) Joe Wilkins On Feb 18, 2009, at 2:44 PM, BNig wrote: > > Hi Joe, > > did you try to drag/drop the spanish word to the corresponding > english word? > That is what it is about. It is basically a vocabulary trainer that > happens > to show the button thing. > > for me it works > > regards > > Bernd From katir at hindu.org Wed Feb 18 19:41:46 2009 From: katir at hindu.org (Sivakatirswami) Date: Wed, 18 Feb 2009 14:41:46 -1000 Subject: Good looking examples of applications built with Revolution In-Reply-To: <499AB7D4.9030900@cogapp.com> References: <499AB7D4.9030900@cogapp.com> Message-ID: <499CAACA.2050306@hindu.org> Aloha, Ben: I'm not sure if they qualify for "impressive modern user interface" but they are popular, and in action: http://www.hinduismtoday.com/digital/ subscribe and then try it.. and run the "View Multi-media" button. We tend to use "organic" colors and stay away from the sterile grey vector world of "modern" computer design. These are a bit old but still get a lot of downloads. Though I suspect the will fall short of your expectations on "impressive.. modern" but some edutainmentware never dies; http://himalayanacademy.com/resources/children/dws_youth/ http://himalayanacademy.com/resources/children/yamas_niyamas/ I would polish the above be doing a lot more of this kind of thing if I had the time. Sivakatirswami Also Ben Rubinstein wrote: > I know that this must be an FAQ, but I've not been able to find that > handy list I'm looking for. > > It's that time again: considering what development approach to take on > a new project, which requires a cross-platform well connected desktop > app with a slick UI, for a wide consumer audience. > > The arguments about development efficiency of Rev are well understood; > there's no doubt that Rev can do all the tasks that will be needed; > the question mark over Rev, as compared to the other two routes being > considered, is evidence of good looking, slick, user interfaces. (A > shocking indictment of my own work, of course, but then my work has > always concentrated on functionality.) > > So, here's that question again: I'm looking for examples of actual > applications (not just sample stacks, tool stacks etc), built in Rev, > that can be pointed to as demonstrating that people have used Rev to > distribute products with an impressive modern user interface. I'm > sure that they're out there - I just don't know where. > > Please send examples, links, or lists - whether your own work or > others - either to me directly or to the list as you prefer. > > Many thanks, > > - Ben > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From nhan.tran at rmit.edu.vn Wed Feb 18 20:01:22 2009 From: nhan.tran at rmit.edu.vn (Nhan, Tran Thi Thanh) Date: Thu, 19 Feb 2009 08:01:22 +0700 Subject: (no subject) References: <499B34C7.6000204@hrz.uni-kassel.de><499C0BBB.8050709@hrz.uni-kassel.de> <22090087.post@talk.nabble.com> Message-ID: Dear all, As I known, in Visual .Net has a plug-in called "Visual Assist" with symbol "Apple". It helps developers in coding remember the syntax, key word, properties...to avoid typing mistakes. Are there any the same one in Run Rev? Thanks so much Nhan From nhan.tran at rmit.edu.vn Wed Feb 18 20:03:14 2009 From: nhan.tran at rmit.edu.vn (Nhan, Tran Thi Thanh) Date: Thu, 19 Feb 2009 08:03:14 +0700 Subject: Coding Assistant in Run Rev References: <499B34C7.6000204@hrz.uni-kassel.de><499C0BBB.8050709@hrz.uni-kassel.de><22090087.post@talk.nabble.com> Message-ID: Dear all, As I known, in Visual .Net has a plug-in called "Visual Assist" with symbol "Apple". It helps developers in coding remember the syntax, key word, properties...to avoid typing mistakes. Are there any the same one in Run Rev? Thanks so much Nhan From tsj at unimelb.edu.au Wed Feb 18 20:09:13 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 19 Feb 2009 12:09:13 +1100 Subject: Coding Assistant in Run Rev In-Reply-To: Message-ID: Not in the 'default' script editor, but there is an excellent 3rd-party editor (GLX2 -- http://www.runrev.com/products/related-software/glx2/) that has a feature called 'clairvoyance' which pretty much covers this. Terry... On 19/02/09 12:03 PM, "Nhan, Tran Thi Thanh" wrote: > > Dear all, > > As I known, in Visual .Net has a plug-in called "Visual Assist" with > symbol "Apple". It helps developers in coding remember the syntax, key > word, properties...to avoid typing mistakes. Are there any the same one > in Run Rev? > > Thanks so much > Nhan > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Wed Feb 18 20:34:13 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 Feb 2009 19:34:13 -0600 Subject: Coding Assistant in Run Rev In-Reply-To: References: <499B34C7.6000204@hrz.uni-kassel.de><499C0BBB.8050709@hrz.uni-kassel.de><22090087.post@talk.nabble.com> Message-ID: <499CB715.20303@hyperactivesw.com> Nhan, Tran Thi Thanh wrote: > Dear all, > > As I known, in Visual .Net has a plug-in called "Visual Assist" with > symbol "Apple". It helps developers in coding remember the syntax, key > word, properties...to avoid typing mistakes. Are there any the same one > in Run Rev? Not exactly the same, but at the bottom of the script editor there is a Documentation tab. If you leave that open it will display the syntax, parameters, and description of the word you are typing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From randall at randallreetz.com Wed Feb 18 21:07:51 2009 From: randall at randallreetz.com (Randall Reetz) Date: Wed, 18 Feb 2009 18:07:51 -0800 Subject: Coding Assistant in Run Rev Message-ID: <20090219021131.MEFJ25636.atlmtaow01.cingularme.com@Inbox> Is there a video on the web of this tool in use? Youtube? If not, would someone please. Thanks -----Original Message----- From: "Terry Judd" To: "How to use Revolution" Sent: 2/18/2009 5:09 PM Subject: Re: Coding Assistant in Run Rev Not in the 'default' script editor, but there is an excellent 3rd-party editor (GLX2 -- http://www.runrev.com/products/related-software/glx2/) that has a feature called 'clairvoyance' which pretty much covers this. Terry... On 19/02/09 12:03 PM, "Nhan, Tran Thi Thanh" wrote: > > Dear all, > > As I known, in Visual .Net has a plug-in called "Visual Assist" with > symbol "Apple". It helps developers in coding remember the syntax, key > word, properties...to avoid typing mistakes. Are there any the same one > in Run Rev? > > Thanks so much > Nhan > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Wed Feb 18 21:45:24 2009 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 18 Feb 2009 20:45:24 -0600 Subject: Coding Assistant in Run Rev In-Reply-To: <20090219021131.MEFJ25636.atlmtaow01.cingularme.com@Inbox> Message-ID: > Is there a video on the web of this tool in use? Youtube? If not, would > someone please. Thanks You can get info on it here: http://www.wholetomato.com Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mwieder at ahsoftware.net Thu Feb 19 01:43:22 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 18 Feb 2009 22:43:22 -0800 Subject: Coding Assistant in Run Rev In-Reply-To: <20090219021131.MEFJ25636.atlmtaow01.cingularme.com@Inbox> References: <20090219021131.MEFJ25636.atlmtaow01.cingularme.com@Inbox> Message-ID: <83481113640.20090218224322@ahsoftware.net> Randall- Wednesday, February 18, 2009, 6:07:51 PM, you wrote: > Is there a video on the web of this tool in use? Youtube? If > not, would someone please. Thanks You might also want to check out Jerry's presentation at http://glx2help.ning.com/video/2053167:Video:8125 -- -Mark Wieder mwieder at ahsoftware.net From bdrunrev at gmail.com Thu Feb 19 06:21:41 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 19 Feb 2009 11:21:41 +0000 Subject: (no subject) In-Reply-To: References: <499B34C7.6000204@hrz.uni-kassel.de> <499C0BBB.8050709@hrz.uni-kassel.de> <22090087.post@talk.nabble.com> Message-ID: Hi Nhan, The GLX2 script editor has this (but this script editor is a product you must buy to use with Rev). http://www.runrev.com/products/related-software/glx2/ It has a feature called 'clairvoyance' (= reading your thoughts). This is something like code-assist in other programming environments. I haven't used GLX2 myself for the last 6 months or so because I was getting a lot of crashes with Rev on Windows and Linux, so I went back to using plain old Rev on OS X. There may be a demo version you can try to see if you like the way it works. Personally, I think it is quite wonderful, and I do miss its features. Bernard On Thu, Feb 19, 2009 at 1:01 AM, Nhan, Tran Thi Thanh wrote: > Dear all, > > As I known, in Visual .Net has a plug-in called "Visual Assist" with > symbol "Apple". It helps developers in coding remember the syntax, key > word, properties...to avoid typing mistakes. Are there any the same one > in Run Rev? > > Thanks so much > Nhan > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wjm at wjm.org Thu Feb 19 06:28:52 2009 From: wjm at wjm.org (Bill Marriott) Date: Thu, 19 Feb 2009 06:28:52 -0500 Subject: McAfee virus detection deletes valid file References: <499ADE1D.3020709@hyperactivesw.com> Message-ID: Perhaps you should replace the offending VBA code with Rev code? Or a Rev-based installer? > The glitch is (always a glitch) that my Rev app doesn't call the module, > it doesn't even use it. The module is an add-in for Office, and the module > in turn calls my Rev app. From SparkOutYNY at gmail.com Thu Feb 19 07:42:49 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Thu, 19 Feb 2009 04:42:49 -0800 (PST) Subject: CGI database connection: now urlencode() problem In-Reply-To: <22089491.post@talk.nabble.com> References: <22081311.post@talk.nabble.com> <22081611.post@talk.nabble.com> <7c87a2a10902181358u426312deof0927a7ef76c7686@mail.gmail.com> <22089491.post@talk.nabble.com> Message-ID: <22099577.post@talk.nabble.com> I have got everything successfully working on both WAMP and Linux webhost to make database connections and very pleased to be getting on with that. However, I have another problem which is proving to be a blocker: if I use URLEncode("anything & everything") then the server just bombs. I have isolated it down to definitely just the inclusion of a URLEncode() function. The URLEncode() function doesn't depend on any libraries to my knowledge, but even so I've put the revbrowser into the externals, similarly to the method that got the database connection working, to see if that makes a difference, but it still fails. I've tried with an old 2.9 engine from Rev Studio in case it was something in the Enterprise 3.5-dp releases, but same issue. Any ideas anyone or is this a bug? It works fine in the IDE, and as a standalone, it's only when the engine is being used as a cgi backend that it's a problem. Thanks if you can shed any light on this for me. -- View this message in context: http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22099577.html Sent from the Revolution - User mailing list archive at Nabble.com. From revolution at derbrill.de Thu Feb 19 07:47:41 2009 From: revolution at derbrill.de (Malte Brill) Date: Thu, 19 Feb 2009 13:47:41 +0100 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: <20090218180004.608CE48940F@mail.runrev.com> References: <20090218180004.608CE48940F@mail.runrev.com> Message-ID: Hi all, just a quick note that our latest library for Revolution is now life in revSelect. chartsEngine. Before I get into the usual blahblah of what it can do, I would like to express my gratitude to a few people on this list how have been extremely helpful during final spurt. Wouter. Thanks for being the genius you are and helping me speeding it up so much. Sarah, Jb, Jerry, Graham. Thanks for all the time you have put into the tests and helping me polishing it. Wouldn?t know what I would have done without your help. My peers on revSelect and at Runtime: Thanks for all the headups during the dev cycle. And finally all of you on this list who encouraged me to carry on after the burglary. THANK YOU. Now back to the lib: You can find more details and the download of the free trial version and example stack here: http://www.runrev.com/products/related-software/chartsengine/ chartsEngine brings to generating charts the same ease, power, and flexibility as animationEngine brings for Revolution animations. ChartsEngine is a powerful, yet lightweight library to create charts in a Revolution stack. It has been optimized to render data on the fly at high speed. It will extend Revolutions messagepath and makes its scripts available in any location in your Revolution application. To use it, make sure it is loaded into memory. Open the messagebox and type: start using stack "chartsengine" In the IDE you also can double click the chartsEngine stack to start using it. The following chartTypes are available: * Lines * LinesStacked * Bars * BarsStacked * Pie * Doughnut chartsEngine relies on setting properties for your charts. Most of these properties are "canset" properties. If you do not explicitly set them, chartsEngine defaults to standard values. Data is organized in cr delimited lists of items. The default itemDelimiter is comma. The default chart type is lines. This type lets you handle large amounts of data, while rendering very fast. Which chart type is best used in your projects depends on the data you want to display. Requirements: Revolution 3.0 or higher. Runs on Mac, Windows and Linux. PS: If you want it and also own an animationEngine license, watch your inbox closely. All existing animationEngine license holders will receive a voucher, that grants you 25% off. I really hope this library is useful to some of you, and I look forward to give the same quality of support, as we do with animationEngine. Cheers, Malte From m.schonewille at economy-x-talk.com Thu Feb 19 08:02:15 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 19 Feb 2009 14:02:15 +0100 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: References: <20090218180004.608CE48940F@mail.runrev.com> Message-ID: <0CCBBFFA-5178-49E7-8FC1-D3C10DF8005E@economy-x-talk.com> Congrats, Malte! I'll check it out! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 19 feb 2009, at 13:47, Malte Brill wrote: > Hi all, > > just a quick note that our latest library for Revolution is now life > in revSelect. chartsEngine. > > Before I get into the usual blahblah of what it can do, I would like > to express my gratitude to a few people on this list how have been > extremely helpful during final spurt. Wouter. Thanks for being the > genius you are and helping me speeding it up so much. Sarah, Jb, > Jerry, Graham. Thanks for all the time you have put into the tests > and helping me polishing it. Wouldn?t know what I would have done > without your help. My peers on revSelect and at Runtime: Thanks for > all the headups during the dev cycle. And finally all of you on this > list who encouraged me to carry on after the burglary. THANK YOU. > From katheryn.swynford at gmail.com Thu Feb 19 09:39:03 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Thu, 19 Feb 2009 06:39:03 -0800 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: References: <20090218180004.608CE48940F@mail.runrev.com> Message-ID: <4be051070902190639y21d03abek8d513c32ef0eb9a3@mail.gmail.com> Awesome, Malte! Congrats! :-D See you on ChatRev (I hope!!!). Judy http://revined.blogspot.com On Thu, Feb 19, 2009 at 4:47 AM, Malte Brill wrote: > Hi all, > > just a quick note that our latest library for Revolution is now life in > revSelect. chartsEngine. > > Before I get into the usual blahblah of what it can do, I would like to > express my gratitude to a few people on this list how have been extremely > helpful during final spurt. Wouter. Thanks for being the genius you are and > helping me speeding it up so much. Sarah, Jb, Jerry, Graham. Thanks for all > the time you have put into the tests and helping me polishing it. Wouldn?t > know what I would have done without your help. My peers on revSelect and at > Runtime: Thanks for all the headups during the dev cycle. And finally all of > you on this list who encouraged me to carry on after the burglary. THANK > YOU. > > Now back to the lib: > > You can find more details and the download of the free trial version and > example stack here: > > http://www.runrev.com/products/related-software/chartsengine/ > > > chartsEngine brings to generating charts the same ease, power, and > flexibility as animationEngine brings for Revolution animations. > > ChartsEngine is a powerful, yet lightweight library to create charts in a > Revolution stack. It has been optimized to render data on the fly at high > speed. It will extend Revolutions messagepath and makes its scripts > available in any location in your Revolution application. > > To use it, make sure it is loaded into memory. Open the messagebox and > type: > > start using stack "chartsengine" > > In the IDE you also can double click the chartsEngine stack to start using > it. > > The following chartTypes are available: > > * Lines > * LinesStacked > * Bars > * BarsStacked > * Pie > * Doughnut > > chartsEngine relies on setting properties for your charts. Most of these > properties are "canset" properties. If you do not explicitly set them, > chartsEngine defaults to standard values. Data is organized in cr delimited > lists of items. The default itemDelimiter is comma. The default chart type > is lines. This type lets you handle large amounts of data, while rendering > very fast. Which chart type is best used in your projects depends on the > data you want to display. > > > Requirements: Revolution 3.0 or higher. Runs on Mac, Windows and Linux. > > > PS: If you want it and also own an animationEngine license, watch your > inbox closely. All existing animationEngine license holders will receive a > voucher, that grants you 25% off. > > I really hope this library is useful to some of you, and I look forward to > give the same quality of support, as we do with animationEngine. > > Cheers, > > Malte > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Thu Feb 19 09:52:30 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 19 Feb 2009 06:52:30 -0800 (PST) Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: Message-ID: <867612.18789.qm@web65402.mail.ac4.yahoo.com> Congrats on yet another excellent Revolution add-on, Malte! Jan Schenkel ==== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Thu, 2/19/09, Malte Brill wrote: > From: Malte Brill > Subject: [ANN] chartsEngine - now on revSelect > To: use-revolution at lists.runrev.com > Date: Thursday, February 19, 2009, 4:47 AM > Hi all, > > just a quick note that our latest library for Revolution is > now life in revSelect. chartsEngine. > > Before I get into the usual blahblah of what it can do, I > would like to express my gratitude to a few people on this > list how have been extremely helpful during final spurt. > Wouter. Thanks for being the genius you are and helping me > speeding it up so much. Sarah, Jb, Jerry, Graham. Thanks for > all the time you have put into the tests and helping me > polishing it. Wouldn?t know what I would have done without > your help. My peers on revSelect and at Runtime: Thanks for > all the headups during the dev cycle. And finally all of you > on this list who encouraged me to carry on after the > burglary. THANK YOU. > > Now back to the lib: > > You can find more details and the download of the free > trial version and example stack here: > > http://www.runrev.com/products/related-software/chartsengine/ > > > chartsEngine brings to generating charts the same ease, > power, and flexibility as animationEngine brings for > Revolution animations. > > ChartsEngine is a powerful, yet lightweight library to > create charts in a Revolution stack. It has been optimized > to render data on the fly at high speed. It will extend > Revolutions messagepath and makes its scripts available in > any location in your Revolution application. > > To use it, make sure it is loaded into memory. Open the > messagebox and type: > > start using stack "chartsengine" > > In the IDE you also can double click the chartsEngine stack > to start using it. > > The following chartTypes are available: > > * Lines > * LinesStacked > * Bars > * BarsStacked > * Pie > * Doughnut > > chartsEngine relies on setting properties for your charts. > Most of these properties are "canset" properties. > If you do not explicitly set them, chartsEngine defaults to > standard values. Data is organized in cr delimited lists of > items. The default itemDelimiter is comma. The default chart > type is lines. This type lets you handle large amounts of > data, while rendering very fast. Which chart type is best > used in your projects depends on the data you want to > display. > > > Requirements: Revolution 3.0 or higher. Runs on Mac, > Windows and Linux. > > > PS: If you want it and also own an animationEngine > license, watch your inbox closely. All existing > animationEngine license holders will receive a voucher, that > grants you 25% off. > > I really hope this library is useful to some of you, and I > look forward to give the same quality of support, as we do > with animationEngine. > > Cheers, > > Malte > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From SparkOutYNY at gmail.com Thu Feb 19 09:58:00 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Thu, 19 Feb 2009 06:58:00 -0800 (PST) Subject: CGI database connection: now urlencode() problem In-Reply-To: <22099577.post@talk.nabble.com> References: <22081311.post@talk.nabble.com> <22081611.post@talk.nabble.com> <7c87a2a10902181358u426312deof0927a7ef76c7686@mail.gmail.com> <22089491.post@talk.nabble.com> <22099577.post@talk.nabble.com> Message-ID: <22102298.post@talk.nabble.com> SparkOut wrote: > > I have got everything successfully working on both WAMP and Linux webhost > to make database connections and very pleased to be getting on with that. > However, I have another problem which is proving to be a blocker: if I use > URLEncode("anything & everything") then the server just bombs. > I have isolated it down to definitely just the inclusion of a URLEncode() > function. The URLEncode() function doesn't depend on any libraries to my > knowledge, but even so I've put the revbrowser into the externals, > similarly to the method that got the database connection working, to see > if that makes a difference, but it still fails. > I've tried with an old 2.9 engine from Rev Studio in case it was something > in the Enterprise 3.5-dp releases, but same issue. Any ideas anyone or is > this a bug? It works fine in the IDE, and as a standalone, it's only when > the engine is being used as a cgi backend that it's a problem. > Thanks if you can shed any light on this for me. > Oh well, I've rolled my own function to deal with this for now, but I'd > really like to know if this is a bug or something I'm doing wrong, or > something I've got wrong in the setup with use in conjunction with Andre's > RocketsCGI? -- View this message in context: http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22102298.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Thu Feb 19 10:46:56 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 19 Feb 2009 16:46:56 +0100 Subject: Vista virtualStore expert needed with DB virtualization Message-ID: <9B5330F8D99F4121AAD0A55FDB69DED0@Kestner.local> Hello, I am still struggeling with this nasty Vista VirtualStore and encountered another issue. I have a valentina db in my app, which is read only. With first start of my app the valentina db file is immediately put into the virtualStore of Vista and from now on every user is working with this copy, even if I do an update on the original db. First attempt after an advice of Ruslan was to set the write protection of the db file. The file wasn't virtualized anymore, BUT my automatic update procedure couldn't update my db anymore (by replacing it with VB), because of the write protection. I removed the write protection of the db file, to be able to update the file I set the file permission of the db file to everyone-readexec Made a new install of my app with the db - no virtualization Started my app - the db file is being virtualized immediately with opening it at prog start. I set the file permission of the db file to everyone-modify Made a new install of my app with the db - no virtualization Started my app - no virtualization Loaded an update for an app file and the db file - no virtualization Started my App - the db file is being virtualized immediately with opening it at prog start. The other updated app file is not being virtualized. >From now on this happens for every user, who opens my app on this machine and works from now on with an old copy of the db after the next update, because Vista never updates the virtual store again. Obviously either the rev engine or the valentina engine makes something, what provokes Vista to virtualize the db. But only after an update??? Am I missing something very basic or is this a bug or what? Any idea? Thanks Tiemo From ambassador at fourthworld.com Thu Feb 19 10:49:02 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 Feb 2009 07:49:02 -0800 Subject: [ANN] chartsEngine - now on revSelect Message-ID: <499D7F6E.6030008@fourthworld.com> Malte Brill wrote: > just a quick note that our latest library for Revolution is now life > in revSelect. chartsEngine. .. > You can find more details and the download of the free trial version > and example stack here: > > http://www.runrev.com/products/related-software/chartsengine/ As we say here in California, "Way flippin' cool!" I've long felt that charts was an area ripe for a plugin, and the feature set and quality of the output you've provided are worth far more to my products than the modest $99 price you're asking. Thank you, and congratulations. If the RunRev store had PayPal I'd have purchased it already. Limited to CCs, I expect to get it soon. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From toolbook at kestner.de Thu Feb 19 11:56:44 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 19 Feb 2009 17:56:44 +0100 Subject: Vista virtualStore expert needed with DB virtualization Message-ID: <3C5F974A39F846A093FC9D25D6B2C184@Kestner.local> Hello, (sorry in case this post is a duplicate) I am still struggeling with this nasty Vista VirtualStore and encountered another issue. I have a valentina db in my app, which is read only. With first start of my app the valentina db file is immediately put into the virtualStore of Vista and from now on every user is working with this copy, even if I do an update on the original db. First attempt after an advice of Ruslan was to set the write protection of the db file. The file wasn't virtualized anymore, BUT my automatic update procedure couldn't update my db anymore (by replacing it with VB), because of the write protection. I removed the write protection of the db file, to be able to update the file I set the file permission of the db file to everyone-readexec Made a new install of my app with the db - no virtualization Started my app - the db file is being virtualized immediately with opening it at prog start. I set the file permission of the db file to everyone-modify Made a new install of my app with the db - no virtualization Started my app - no virtualization Loaded an update for an app file and the db file - no virtualization Started my App - the db file is being virtualized immediately with opening it at prog start. The other updated app file is not being virtualized. >From now on this happens for every user, who opens my app on this machine and works from now on with an old copy of the db after the next update, because Vista never updates the virtual store again. Obviously either the rev engine or the valentina engine makes something, what provokes Vista to virtualize the db. But only after an update??? Am I missing something very basic or is this a bug or what? Any idea? Thanks Tiemo From jacque at hyperactivesw.com Thu Feb 19 13:48:43 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Feb 2009 12:48:43 -0600 Subject: McAfee virus detection deletes valid file In-Reply-To: References: <499ADE1D.3020709@hyperactivesw.com> Message-ID: <499DA98B.2070901@hyperactivesw.com> Bill Marriott wrote: > Perhaps you should replace the offending VBA code with Rev code? Or a > Rev-based installer? Wish I could but it's a Powerpoint add-in module. The only interaction it has with the Rev app is to launch it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wjm at wjm.org Thu Feb 19 15:38:03 2009 From: wjm at wjm.org (Bill Marriott) Date: Thu, 19 Feb 2009 15:38:03 -0500 Subject: [ANN] chartsEngine - now on revSelect References: <499D7F6E.6030008@fourthworld.com> Message-ID: Richard, > If the RunRev store had PayPal I'd have purchased it already. Limited to > CCs, I expect to get it soon. As announced in the last newsletter, the Revolution store now supports PayPal. http://www.runrev.com/newsletter/february/issue65/newsletter4.php From revolution at derbrill.de Thu Feb 19 17:03:42 2009 From: revolution at derbrill.de (Malte Brill) Date: Thu, 19 Feb 2009 23:03:42 +0100 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: <20090219172255.C4E78288042@mail.runrev.com> References: <20090219172255.C4E78288042@mail.runrev.com> Message-ID: Hi, first things first. Trevor just let me know the demo script on page 3 f the PDF is wrong. Silly typo: Should read: A complete script to create a chart can look like this: on mouseUp local tchart chartsCreateChart put the result into tchart set the charts["data"] of tchart to "1,1,1" & cr & "30,56,12" & cr & "1,1,1" chartsRefresh tChart end mouseUp Judy: You bet! Richard: Thanks for the kind words" I hope you find it useful. Jan: Still remember when we first talked about basic ideas on Malta in 06? Finally!!! ;-) Cheers, Malte From ambassador at fourthworld.com Thu Feb 19 18:32:45 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 Feb 2009 15:32:45 -0800 Subject: [ANN] chartsEngine - now on revSelect Message-ID: <499DEC1D.6010805@fourthworld.com> Bill Marriott wrote: > Richard, > >> If the RunRev store had PayPal I'd have purchased it already. Limited to >> CCs, I expect to get it soon. > > > As announced in the last newsletter, the Revolution store now supports > PayPal. > > http://www.runrev.com/newsletter/february/issue65/newsletter4.php Thanks Bill. With Heather's help earlier I found it. There's no PayPal logo on the purchase page so folks can't find out PayPal's supported until after they fill out a form that appears to be for a different payment method. PayPal itself doesn't require filling in a form, which is a big part of the attraction to using it: just one click and a password and I'm done. But I found the PayPal option, and have licensed my copy. Good job, Malte. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Feb 19 18:36:23 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 Feb 2009 15:36:23 -0800 Subject: [ANN] chartsEngine - now on revSelect Message-ID: <499DECF7.9090300@fourthworld.com> Malte Brill wrote: > Richard: Thanks for the kind words" I hope you find it useful. I'm sure I will. I have a project which will need charts in a few weeks - perfect timing. One small note for us MC users: the initialization of the demo stack makes a call to something in the Rev libraries, so when running in any other IDEs it throws an error and doesn't load the library. It's simple enough to run "start using chartsEngine" in the Message Box, and from there it all works a treat. But given that the few who use MC tend to be serious long-time users, and that other IDEs may appear at any time, it may not be a bad idea to make commercial tools as self-contained as possible. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobs at twft.com Thu Feb 19 19:07:01 2009 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 Feb 2009 16:07:01 -0800 Subject: List Magic Errors Message-ID: <12A33FDA-1AAA-454F-A4BC-2E8FF74BB41D@twft.com> ListMagic is throwing a lot of errors and my stack is unusable right now. Can someone contact me off list about how to completely remove ListMagic from my stacks, and my Revolution install? I removed all the objects from my stack and tried to install a widget again, but everything just locks up. I don't want to fix it I need to remove it completely. Thanks. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From revolution at derbrill.de Fri Feb 20 03:34:49 2009 From: revolution at derbrill.de (Malte Brill) Date: Fri, 20 Feb 2009 09:34:49 +0100 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: <20090219172255.C4E78288042@mail.runrev.com> References: <20090219172255.C4E78288042@mail.runrev.com> Message-ID: <436ACBC7-8DBF-46AE-9145-61199604DEB0@derbrill.de> Richard wrote: > One small note for us MC users: the initialization of the demo stack > makes a call to something in the Rev libraries, so when running in any > other IDEs it throws an error and doesn't load the library. That would be the call to revLoadedStacks in the stack script of the example stack. Any effective way to test, which IDE is being used? Otherwise I would just wrap a try / catch around it and react accordingly. Cheers, Malte From klaus at major-k.de Fri Feb 20 03:39:50 2009 From: klaus at major-k.de (Klaus Major) Date: Fri, 20 Feb 2009 09:39:50 +0100 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: <436ACBC7-8DBF-46AE-9145-61199604DEB0@derbrill.de> References: <20090219172255.C4E78288042@mail.runrev.com> <436ACBC7-8DBF-46AE-9145-61199604DEB0@derbrill.de> Message-ID: <73ABEBC9-60E3-4457-85CD-54CFD9FFD6BC@major-k.de> Hi Malte, alles fit soweit? :-) > Richard wrote: > >> One small note for us MC users: the initialization of the demo stack >> makes a call to something in the Rev libraries, so when running in >> any >> other IDEs it throws an error and doesn't load the library. > > > That would be the call to revLoadedStacks in the stack script of the > example stack. Any effective way to test, which IDE is being used? > Otherwise I would just wrap a try / catch around it and react > accordingly. You could check "revAppVersion()" which will return 0 in MetaCard. > Cheers, > > Malte Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From sarah.reichelt at gmail.com Fri Feb 20 03:59:59 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 20 Feb 2009 18:59:59 +1000 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: <436ACBC7-8DBF-46AE-9145-61199604DEB0@derbrill.de> References: <20090219172255.C4E78288042@mail.runrev.com> <436ACBC7-8DBF-46AE-9145-61199604DEB0@derbrill.de> Message-ID: Congratulations on the release Malte :-) Sarah From sims at ezpzapps.com Fri Feb 20 04:28:50 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 20 Feb 2009 10:28:50 +0100 Subject: Windows - recording shut-down times Message-ID: <01166E6C-2E7C-4ECF-92C8-4D275C59E0F5@ezpzapps.com> If I wanted to record the start-time AND shut-down time of a Windows machine (NT Vista XP) would that be possible? I'm assuming that a Rev app that starts on startup would do the first bit but is there a way to record when the machine shuts down? I want to make an app which logs both items for all the machines on a network. sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From sims at ezpzapps.com Fri Feb 20 04:54:45 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 20 Feb 2009 10:54:45 +0100 Subject: Windows - recording shut-down times In-Reply-To: <01166E6C-2E7C-4ECF-92C8-4D275C59E0F5@ezpzapps.com> References: <01166E6C-2E7C-4ECF-92C8-4D275C59E0F5@ezpzapps.com> Message-ID: <66024343-5DB0-4330-A9FD-03D5531D1D67@ezpzapps.com> On Feb 20, 2009, at 10:28 AM, Jim Sims wrote: > I'm assuming that a Rev app that starts on startup would do the > first bit but is there a way to record when the machine shuts down? I do not have a Windows machine here to test with. Would the following enable me to record when a a Windows (XP Vista NT) shuts down? on shutdownRequest -- confirm with the user: -- RECORD DATE & TIME HERE pass shutdownRequest -- allow to quit end shutdownRequest sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From luis at anachreon.co.uk Fri Feb 20 05:20:30 2009 From: luis at anachreon.co.uk (Luis) Date: Fri, 20 Feb 2009 10:20:30 +0000 Subject: Windows - recording shut-down times In-Reply-To: <66024343-5DB0-4330-A9FD-03D5531D1D67@ezpzapps.com> References: <01166E6C-2E7C-4ECF-92C8-4D275C59E0F5@ezpzapps.com> <66024343-5DB0-4330-A9FD-03D5531D1D67@ezpzapps.com> Message-ID: Hiya, You could parse the Event Log ('eventvwr' on the command line) and check for Event ID 6005, which has the start time for the Event Log. Not too sure if 6006 or 6008 indicates when it has stopped, although I think you'd only need the start time and work out the rest from there. Event ID 6009 should time with the start of the Event Log, and also includes the Windows version info, it that's of any use... The PsTools from Microsoft have the 'psloglist' command line tool that give you access to remote machines and includes authentication access (can also dump the file to the server). Another option is to use the built in script: cscript %systemroot% \system32\eventquery.vbs Append '-?' (without the quotes!) to get the switches. You'll find in there several formats for the output file. Cheers, Luis. On 20 Feb 2009, at 09:54, Jim Sims wrote: > > On Feb 20, 2009, at 10:28 AM, Jim Sims wrote: > >> I'm assuming that a Rev app that starts on startup would do the >> first bit but is there a way to record when the machine shuts down? > > > > I do not have a Windows machine here to test with. > > Would the following enable me to record when a a Windows (XP Vista > NT) shuts down? > > > on shutdownRequest -- confirm with the user: > -- RECORD DATE & TIME HERE > pass shutdownRequest -- allow to quit > end shutdownRequest > > > > sims > > sims at ezpzapps.com > Skype: sims.jim > iChat: techietours > ______________________ > Opportunity by Design > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jim at visitrieve.com Fri Feb 20 05:31:47 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 20 Feb 2009 00:31:47 -1000 Subject: List Magic Errors In-Reply-To: <12A33FDA-1AAA-454F-A4BC-2E8FF74BB41D@twft.com> References: <12A33FDA-1AAA-454F-A4BC-2E8FF74BB41D@twft.com> Message-ID: <01cc01c99346$6f313760$4d93a620$@com> Hi Bob, To remove a ListMagic widget, you simply select either the header group or list field with the pointer tool and then hit the delete key. Once the last LM list is removed, the only things that may be left over is any custom code you manually added (Handler and message names all start with LM) and the SSSLMLib#XXX... substack, which can then be deleted. However, the only errors I am aware of and that have been reported at this point have to do with printing. If you are experiencing other errors, would you be so kind as to send them off list to support at sosmartsoftware.com so that they can be corrected. Thanks! Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Bob Sneidar > Sent: Thursday, February 19, 2009 2:07 PM > To: How to use Revolution > Subject: List Magic Errors > > ListMagic is throwing a lot of errors and my stack is unusable right > now. Can someone contact me off list about how to completely remove > ListMagic from my stacks, and my Revolution install? I removed all the > objects from my stack and tried to install a widget again, but > everything just locks up. I don't want to fix it I need to remove it > completely. > > Thanks. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Fri Feb 20 05:35:15 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 20 Feb 2009 11:35:15 +0100 Subject: Windows - recording shut-down times In-Reply-To: References: <01166E6C-2E7C-4ECF-92C8-4D275C59E0F5@ezpzapps.com> <66024343-5DB0-4330-A9FD-03D5531D1D67@ezpzapps.com> Message-ID: <0DEFA753-590F-425D-885B-6D54825325A6@ezpzapps.com> On Feb 20, 2009, at 11:20 AM, Luis wrote: > Hiya, > > You could parse the Event Log ('eventvwr' on the command line) and > check for Event ID 6005, which has the start time for the Event Log. > Not too sure if 6006 or 6008 indicates when it has stopped, although > I think you'd only need the start time and work out the rest from > there. > Event ID 6009 should time with the start of the Event Log, and also > includes the Windows version info, it that's of any use... > > The PsTools from Microsoft have the 'psloglist' command line tool > that give you access to remote machines and includes authentication > access (can also dump the file to the server). > > Another option is to use the built in script: cscript %systemroot% > \system32\eventquery.vbs > Append '-?' (without the quotes!) to get the switches. You'll find > in there several formats for the output file. Thanks a bunch Luis! Look like great tips for this OS X user who only occasionally uses Windows. sims From jim at visitrieve.com Fri Feb 20 06:01:30 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 20 Feb 2009 01:01:30 -1000 Subject: How to compare bettwen .rev file In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com> <499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: <01cd01c9934a$95f78760$c1e69620$@com> Hi Sarah, There is a very excellent and completely free utility that Eric Chatonet developed called Changed Code Picker that compares two stacks and their substacks and highlights all changes made between the two. It has both complete Help as well as Preferences that allow you to, for example, ignore comment changes, etc. It will also tell you if both stacks and their substacks compare completely. You can find this at: http://www.sosmartsoftware.com/?r=revolution&l=en (fourth one down) Enjoy! Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Sarah Reichelt > Sent: Wednesday, February 18, 2009 12:53 PM > To: How to use Revolution > Subject: Re: How to compare bettwen .rev file > > > Is there any one who can help answer this question? My group are > > developing a project and how can we compare the difference between > .rev > > file to know what each one does on the same file because we usually > copy > > the same file to each one's computer and modified. > > I recommend Altuit's MagicCarpet. It allows you to serve all the > stacks & associated files to everyone on the project. When someone > wants to work on a stack, they "check it out". No-one else can work on > it then, until the person check's it in again, with all the changes > they have made. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Fri Feb 20 06:40:03 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 20 Feb 2009 01:40:03 -1000 Subject: How to compare bettwen .rev file In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com><499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> Message-ID: <01ce01c9934f$f8cfd7c0$ea6f8740$@com> Hi Nhan, I just realized I answered a reply instead of the original question. ;-) There is a very excellent and completely free utility that Eric Chatonet developed called Changed Code Picker that compares two stacks and their substacks and highlights all changes made between the two. It has both complete Help as well as Preferences that allow you to, for example, ignore comment changes, etc. It will also tell you if both stacks and their substacks compare completely. You can find this at: http://www.sosmartsoftware.com/?r=revolution&l=en (fourth one down) Enjoy! Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Nhan, Tran Thi Thanh > Sent: Tuesday, February 17, 2009 5:53 PM > To: How to use Revolution > Subject: How to compare bettwen .rev file > > Dear all, > > Is there any one who can help answer this question? My group are > developing a project and how can we compare the difference between .rev > file to know what each one does on the same file because we usually > copy > the same file to each one's computer and modified. > > Thanks so much, > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From luis at anachreon.co.uk Fri Feb 20 06:44:15 2009 From: luis at anachreon.co.uk (Luis) Date: Fri, 20 Feb 2009 11:44:15 +0000 Subject: Windows - recording shut-down times In-Reply-To: <0DEFA753-590F-425D-885B-6D54825325A6@ezpzapps.com> References: <01166E6C-2E7C-4ECF-92C8-4D275C59E0F5@ezpzapps.com> <66024343-5DB0-4330-A9FD-03D5531D1D67@ezpzapps.com> <0DEFA753-590F-425D-885B-6D54825325A6@ezpzapps.com> Message-ID: Hiya, No problem! I do Mac, Linux and Windows. I get these things from trying to get the same info from all of them. If you need any help, let me know. Cheers, Luis. On 20 Feb 2009, at 10:35, Jim Sims wrote: > > On Feb 20, 2009, at 11:20 AM, Luis wrote: > >> Hiya, >> >> You could parse the Event Log ('eventvwr' on the command line) and >> check for Event ID 6005, which has the start time for the Event Log. >> Not too sure if 6006 or 6008 indicates when it has stopped, >> although I think you'd only need the start time and work out the >> rest from there. >> Event ID 6009 should time with the start of the Event Log, and >> also includes the Windows version info, it that's of any use... >> >> The PsTools from Microsoft have the 'psloglist' command line tool >> that give you access to remote machines and includes >> authentication access (can also dump the file to the server). >> >> Another option is to use the built in script: cscript %systemroot% >> \system32\eventquery.vbs >> Append '-?' (without the quotes!) to get the switches. You'll find >> in there several formats for the output file. > > Thanks a bunch Luis! Look like great tips for this OS X user who > only occasionally uses Windows. > > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From viktoras at ekoinf.net Fri Feb 20 06:59:42 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Fri, 20 Feb 2009 13:59:42 +0200 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: References: <20090218180004.608CE48940F@mail.runrev.com> Message-ID: <499E9B2E.4000109@ekoinf.net> Excellent! All the best Viktoras From andre at andregarzia.com Fri Feb 20 09:08:44 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 20 Feb 2009 11:08:44 -0300 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: <436ACBC7-8DBF-46AE-9145-61199604DEB0@derbrill.de> References: <20090219172255.C4E78288042@mail.runrev.com> <436ACBC7-8DBF-46AE-9145-61199604DEB0@derbrill.de> Message-ID: <7c87a2a10902200608t1b9bdc15hf6396d8c1402600@mail.gmail.com> Hey There Malte, Congratulations my friend! Can I ask two questions? Can we export the chart to an image? Can we generate it offscreen or something... :D cheers andre From andre at andregarzia.com Fri Feb 20 09:16:13 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 20 Feb 2009 11:16:13 -0300 Subject: CGI database connection: now urlencode() problem In-Reply-To: <22102298.post@talk.nabble.com> References: <22081311.post@talk.nabble.com> <22081611.post@talk.nabble.com> <7c87a2a10902181358u426312deof0927a7ef76c7686@mail.gmail.com> <22089491.post@talk.nabble.com> <22099577.post@talk.nabble.com> <22102298.post@talk.nabble.com> Message-ID: <7c87a2a10902200616x6963ade9s39df447cae1589b8@mail.gmail.com> Hi There, I don't believe my library interferes with URLEncode. Can you invoke the script thru the shell normally? Can you post the piece of code that contains the urlencode function, so we can check for something non obvious? Cheers andre On Thu, Feb 19, 2009 at 11:58 AM, SparkOut wrote: > > > > SparkOut wrote: >> >> I have got everything successfully working on both WAMP and Linux webhost >> to make database connections and very pleased to be getting on with that. >> However, I have another problem which is proving to be a blocker: if I use >> URLEncode("anything & everything") then the server just bombs. >> I have isolated it down to definitely just the inclusion of a URLEncode() >> function. The URLEncode() function doesn't depend on any libraries to my >> knowledge, but even so I've put the revbrowser into the externals, >> similarly to the method that got the database connection working, to see >> if that makes a difference, but it still fails. >> I've tried with an old 2.9 engine from Rev Studio in case it was something >> in the Enterprise 3.5-dp releases, but same issue. Any ideas anyone or is >> this a bug? It works fine in the IDE, and as a standalone, it's only when >> the engine is being used as a cgi backend that it's a problem. >> Thanks if you can shed any light on this for me. >> Oh well, I've rolled my own function to deal with this for now, but I'd >> really like to know if this is a bug or something I'm doing wrong, or >> something I've got wrong in the setup with use in conjunction with Andre's >> RocketsCGI? > > -- > View this message in context: http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22102298.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From revolution at derbrill.de Fri Feb 20 09:39:49 2009 From: revolution at derbrill.de (Malte Brill) Date: Fri, 20 Feb 2009 15:39:49 +0100 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: <20090219172255.C4E78288042@mail.runrev.com> References: <20090219172255.C4E78288042@mail.runrev.com> Message-ID: <3BF2A454-51DA-434C-AAEA-AE84F9AC236E@derbrill.de> Klaus: Thanks a heap. Will test that for v1.1 Sarah: You had a major part in making it happen. Thanks again for the random data code. :) Victorias: I hope it is useful. Andre: chartsCreateChart can take additional parameters. The first one being the name of the group you create, followed by a rectangle. This rectangle can of course be off screen. Right now chartsEngine always draws on the current card of the topstack, but most likely this will be extended in the next iteration. Here is a quick demo script (out of the top of my head, so watch for typos.) on mouseUp pMouseBtnNo local tChart chartsCreateChart "myChart",0,-700,700,0 -- only needed once! Or use any existing group, with lockloc set to true. put the result into tChart set the charts["data"] of tChart to "120,2"&cr&"2,120" -- now set your properties chartsRefresh tChart -- turn it into an image export snapshot from rect (the rect of tChart) of tChart to file "/path/to/file" as PNG end mouseUp From B.Cornaz at gmx.net Fri Feb 20 09:55:22 2009 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Fri, 20 Feb 2009 15:55:22 +0100 Subject: Music duration Message-ID: <83331313-317D-49B1-A99D-113C4CE3A8EA@gmx.net> Hi Ren? , I have been abroad and could not react earlier. Fortunalety Kurt has helped you out quite a bit. Maybe the following can be of use to you. The thing that took the longest time for me in the Midi code to 'crack' was the 'Delta time' , being the time to the next midi event (whether a Note on, Note off or Midi message). As the Delta time cannot be fixed into a fixed data format (it must be flexible tpo accomodate for long Delta times), the Midi format uses 'Variable Length coding', which can accomodate any Delta Time. As it is some years ago that I have coded my 'MakeMidiFile' script, I can't remember exactly how the Variable Length coding works, but I can send you the handler or post it here if someone else is ineterested. Another thing I remember, is that one of the Rev functions - baseconvert() or BinaryDecode() would not work anymore as the number to convert got too big. I have made a workaround. I just looked in my MidiLib, but could not find it anymore. Maybe it has been fixed in the newer Rev versions, as I tried big numbers and they converted just fine.But I realised that my MidiLib needs some serious cleaning up!! In a midi file (as Kurt already explained), some (Hex) stuff is always there, like the Header , Tempo, TimeSignature and Key. The actual data for the Tempo (e.g. 120) etc. is given by you of course (in Hex). Track 1 contains all this information and the actual notes start in track 2. (In any case in a midi file with more than 1 track). After you have the whole Midifile in Hex, you convert it to Binary (with BinaryEncode). Of course, the binary encode can be done earlier on, like after each Hex duplet or Hex part has been established (I think I remember Kurt does it that way). In the header of each track, you'll need the specify the length of the data of that track (the number of Hex digits in that track). So basically you have to convert decimal data (like noteNrs, velocity, duration etc) to Hex and the whole Hex data to binary. I can send you my MidiLib, so you can see how I have done it. I will have to clean it up before I send it, it's too messy, but it works fine. I have not yet experimented with the QT synth, as I was (am) aiming to directly address Logic. But I guess I will try with the QT synth as well, as my bigger goal is quite a challange it seems. In my MidiLib, there is also a handler to import a MidiFile. I use it to import from Logic, then make variantions of the theme in my Rev stack and make a new MidiFile which I drag into my sequencer. Don't let the dataformat of the Midi file get to you. It takes a while to get it. I have been 'struggling' with it for some months untill the handler finally worked. Bit by bit, you'll get to understand it better. I'll be gladly helping you, but unfortunately I don't have the time to read the usergroup's mails on a daily basis. I hope this helps some, kind regards, Beat From ambassador at fourthworld.com Fri Feb 20 11:01:56 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Feb 2009 08:01:56 -0800 Subject: [ANN] chartsEngine - now on revSelect Message-ID: <499ED3F4.5080601@fourthworld.com> Malte Brill wrote: > Richard wrote: > >> One small note for us MC users: the initialization of the demo stack >> makes a call to something in the Rev libraries, so when running in any >> other IDEs it throws an error and doesn't load the library. > > > That would be the call to revLoadedStacks in the stack script of the > example stack. Any effective way to test, which IDE is being used? > Otherwise I would just wrap a try / catch around it and react > accordingly. Is the call to revLoadedStacks truly necessary? Maybe I'm overlooking something, but at first glance it appears the function merely distinguishes between different types of stacksInUse, but since the engine always requires only one stack of a given name does it matter whether it's been loaded by the IDE or is in the Plugins folder? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From pmbrig at gmail.com Fri Feb 20 12:26:59 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 20 Feb 2009 12:26:59 -0500 Subject: Problems uploading to RevOnline Message-ID: <6542A0B0-3F78-45BB-A3CD-D054143C91A3@gmail.com> FYI re problems uploading to RevOnline... Peter M. Brigham pmbrig at gmail.com Begin forwarded message: > From: Runtime Revolution Support > Date: February 20, 2009 5:44:21 AM EST > To: Peter Brigham MD > Subject: [Ticket#2009021910001167] Re: [Ticket#2009021610000128] Re: > Fwd: RevOnline problem > > Dear Peter Brigham, > > Thank you for your request. > > It probably wouldn't hurt to report this as a bug. We are currently > doing a > complete overhaul to revOnline, and it will be vastly improved in > 3.5. It may be > that this issue is already fixed, but if not, its worth reporting to > make sure it > gets looked at by our engineers. > > Regards, > > Heather > > 02/19/2009 16:13 - Peter Brigham MD wrote: > >> I think I found the problem. Double-clicking the stack icon opens the >> mainstack, of course, which serves just to open the data stack, a >> substack that will contain text that the user will want to save. The >> mainstack then closes itself, leaving only the data stack open. >> When I >> choose "Share this stack..." from the file menu the stack that >> appears >> at the top of the upload window in my RevOnline user space is the >> data >> stack, not the mainstack. I had to tweak the main stack to keep >> itself >> open (and not open the substack), then quit and reopen it so the >> mainstack stayed as >> the frontmost stack, then restore its card script to the original >> desired >> behavior & save it, then choose "Share this stack..." with the >> mainstack frontmost. When I did this, the name of the mainstack >> appeared at the top of the RevOnline upload window and I got a >> successful upload. >> >> Seems to me that RevOnline should be able to know how to locate the >> mainstack and then upload the whole stack system properly, no? The >> mainstack does appear in the application browser list of stacks in >> memory, so Rev knows it's there. Should I report this as a bug? >> >> Peter M. Brigham >> pmbrig at gmail.com >> >> On Feb 18, 2009, at 3:35 AM, Runtime Revolution Support wrote: >> >>> Dear Peter, >>> >>> Thank you for your request. >>> >>> Hmmm. I've looked at your record, and your user space info looks >>> perfectly normal. >>> >>> The current implementation of revonline is a bit quirky and erratic. >>> It does seem >>> to work for some people however, so the trick is to figure out >>> exactly what it >>> doesn't like about you/your stack... You are able to log in >>> successfully? Just not >>> upload? What is the exact name of the stack you are trying to >>> upload? >>> >>> Regards, >>> >>> Heather >>> >>> >>> >>> 02/16/2009 01:39 - Heather Nagey wrote: >>> >>>> >>>> >>>> Begin forwarded message: >>>> >>>>> From: Peter Brigham MD >>>>> Date: 13 February 2009 16:10:29 GMT >>>>> To: Heather Nagey >>>>> Subject: RevOnline problem >>>>> >>>>> Heather -- >>>>> >>>>> I can't get stacks uploaded to my userspace on RevOnline. Jacque >>>>> suggested there might be a problem with the RevOnline database? >>>>> Any >>>>> ideas? >>>>> >>>>> Peter M. Brigham >>>>> pmbrig at gmail.com >>>>> RevOnline username: pmbrig >>>>> >>>>> >>>>> Thread from UseRev list follows: >>>>> >>>>> ************ >>>>> >>>>> On Tue, 10 Feb 2009, Peter Brigham MD wrote: >>>>> >>>>> OK, this feels like a totally basic question to me, so I apologize >>>>> in >>>>> advance.... I know I asked about this last year sometime, but I >>>>> couldn't get it to work and I just gave up on it, so it's still a >>>>> problem for me. >>>>> >>>>> I want to share a stack by uploading it to my userspace on >>>>> RevOnline, >>>>> so I open the stack, select "Share this stack..." from the file >>>>> menu, >>>>> and the RevOnline window appears. I can see the name of the >>>>> stack in >>>>> question at the top, and I choose the category, fill in the >>>>> title & >>>>> description, then click "Upload." Nothing seems to happen in the >>>>> way >>>>> of confirmation (is this normal?). I then save my stack as >>>>> instructed >>>>> -- I guess Rev "fingerprints" the stack by adding a custom >>>>> property >>>>> or >>>>> something to allow me to update the stack later if I revise it. >>>>> Then I >>>>> go to my userspace and the new stack is not there. Nada. I must be >>>>> doing something wrong. Somehow last year I managed to get one >>>>> stack up >>>>> there, but I have no idea what I did to accomplish this. What am I >>>>> missing? >>>>> >>>>> Peter M. Brigham >>>>> pmbrig at gmail.com >>>>> RevOnline username: pmbrig >>>>> >>>>> ******** >>>>> >>>>> On Tue, 10 Feb 2009 17:58:2, "J. Landman Gay" >>>>> wrote: >>>>> >>>>> Peter Brigham MD wrote: >>>>> >>>>>> Somehow last year I managed to get one stack up there, >>>>>> but I have no idea what I did to accomplish this. What am I >>>>>> missing? >>>>> >>>>> I don't know, but whatever it is, I've been missing it too from >>>>> about >>>>> the same time. I haven't been able to upload since then either. I >>>>> pulled >>>>> a stack successfully over a year ago in order to re-upload a fixed >>>>> version and could never get it back online. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> >>>>> ******** >>>>> >>>>> On Wed, 11 Feb 2009, "J. Landman Gay" >>>>> wrote: >>>>> >>>>> Peter Brigham MD wrote: >>>>> >>>>>> So who would we contact at Rev to flag this as a problem? Is >>>>>> everyone >>>>>> having the same difficulty? >>>>> >>>>> I don't think it's everyone. I recently asked Heather about it and >>>>> found >>>>> out there was a database migration a while back where some of the >>>>> records didn't cross over successfully. She didn't have direct >>>>> access to >>>>> the database to fix it for me (my record's password got wiped,) >>>>> and I >>>>> didn't ask her to pursue it since it wasn't a big deal for me. >>>>> She'd >>>>> be >>>>> the one to contact though if you want someone to look into it. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> Email has been scanned for viruses by Altman Technologies' email >>>>> management service >>>>> >>>> >>>> Heather Nagey >>>> Customer Services Manager >>>> Runtime Revolution Ltd >>>> http://www.runrev.com >>>> follow me on twitter >>>> http://www.twitter.com/lainopik >>>> >>>> >>> >>> >>> >>> Heather Nagey >>> -- >>> Runtime Support Team ~ http://www.runrev.com >>> Runtime Revolution ~ User-Centric Development Tools >>> -- >>> >>> >> >> >> Email has been scanned for viruses by Altman Technologies' email >> management > service - www.altman.co.uk/emailsystems >> >> > > > > Heather Nagey > -- > Runtime Support Team ~ http://www.runrev.com > Runtime Revolution ~ User-Centric Development Tools > -- From katheryn.swynford at gmail.com Fri Feb 20 12:31:02 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Fri, 20 Feb 2009 09:31:02 -0800 Subject: Shakobox... choking on 32nd notes Message-ID: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> Hi, I suspect I'm probably about the only person using it, but, just in case somebody else does, has anybody else noticed Shakobox choking on multiple 32nd notes? I'm transcribing Bach's Tocatta & Fugue in D-Minor... maybe it's just a scripting error? Drat. Can we not copy-paste from the new Script Editor? :-( Judy http://revined.blogspot.com From revolution at derbrill.de Fri Feb 20 12:51:46 2009 From: revolution at derbrill.de (Malte Brill) Date: Fri, 20 Feb 2009 18:51:46 +0100 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: <20090219172255.C4E78288042@mail.runrev.com> References: <20090219172255.C4E78288042@mail.runrev.com> Message-ID: <747F81A8-1CEF-4A1F-BB75-D53ED739344B@derbrill.de> Richard wrote: > Is the call to revLoadedStacks truly necessary? No, but convenient. revLoadedStacks will report the stack as available, also when it is closed, but in memory while the openStacks would not. What I was trying to do there (not thinking about the Metacard guys and gals I must admit), was: look if chartsEngine is in use -> all well, demo will work look if chartsEngine is open, but not in use -> start using it, demo will work look if it is in memory, but not open, nor in use -> start using it, demo will work look if it is not in memory at all -> prompt user to locate the folder it lives in, load it, start using revLoadedStacks is handy here and has been around since quite a while. I use it quite often in standalones too. For the next version I will do what Klaus suggested though and check revAppVersion(), unless there are IDEs around that do not support that call??? However, the chartsenginelibrary itself does not rely on any calls to the revLibraries I am aware of. For now, I?ll have to ask the Metacard users to update me with any problems they see arise with both lib and demo, so I can get that fixed for 1.1. Maybe I should contact the great poobah (That?s Klaus at the moment, right?) for any further advise. Thanks for bringing this to my attention Richard. All the best, Malte From SparkOutYNY at gmail.com Fri Feb 20 12:53:12 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Fri, 20 Feb 2009 09:53:12 -0800 (PST) Subject: CGI database connection: now urlencode() problem In-Reply-To: <7c87a2a10902200616x6963ade9s39df447cae1589b8@mail.gmail.com> References: <22081311.post@talk.nabble.com> <22081611.post@talk.nabble.com> <7c87a2a10902181358u426312deof0927a7ef76c7686@mail.gmail.com> <22089491.post@talk.nabble.com> <22099577.post@talk.nabble.com> <22102298.post@talk.nabble.com> <7c87a2a10902200616x6963ade9s39df447cae1589b8@mail.gmail.com> Message-ID: <22125423.post@talk.nabble.com> Bom dia Andre, obrigado. I'm sure that urlEncode is actually working, as if I change The pertinent section is here: The main routine reads the template page into tPage, which contains "{{categories}}" marker. There is a query to retrieve the category list and that list is passed to the function function fnCategoriesDisplay pData local tLine, tCategories set the itemDelimiter to tab repeat for each line tLine in pData put " & quote & urlEncode(tLine) & " & tLine & " " & cr after tCategories --looks like the html structure is being parsed by the Nabble screen. Ho hum... end repeat return tCategories -- if instead, I return "Test Data here" then everything works. -- it's not that urlEncode hangs, it's when there's urlEncoded data that is being -- output that is the problem. end fnCategoriesDisplay After being returned, the {{categories}} marker is replaced with tCategories. Then I use: cgiOutPut format (tPage),"text/html" to output the page. If the categories are restricted to have nothing that needs to be urlEncoded, then these also output OK, but if there are any which do (almost all of them have spaces in at least) then the output through cgiOutput hangs. HOWEVER, as I was typing this message it occurred to me that the "format" statement might be the problem. (Legacy of cutting and pasting sample scripts...) I just tried removing that and used cgiOutput (tPage), "text/html" and it seems to have worked straight off. Sorry to be a nuisance, and obrigado muito again for your attention. Andre Garzia-3 wrote: > > Hi There, > > I don't believe my library interferes with URLEncode. Can you invoke > the script thru the shell normally? Can you post the piece of code > that contains the urlencode function, so we can check for something > non obvious? > > Cheers > andre > > On Thu, Feb 19, 2009 at 11:58 AM, SparkOut wrote: >> >> >> >> SparkOut wrote: >>> >>> I have got everything successfully working on both WAMP and Linux >>> webhost >>> to make database connections and very pleased to be getting on with >>> that. >>> However, I have another problem which is proving to be a blocker: if I >>> use >>> URLEncode("anything & everything") then the server just bombs. >>> I have isolated it down to definitely just the inclusion of a >>> URLEncode() >>> function. The URLEncode() function doesn't depend on any libraries to my >>> knowledge, but even so I've put the revbrowser into the externals, >>> similarly to the method that got the database connection working, to see >>> if that makes a difference, but it still fails. >>> I've tried with an old 2.9 engine from Rev Studio in case it was >>> something >>> in the Enterprise 3.5-dp releases, but same issue. Any ideas anyone or >>> is >>> this a bug? It works fine in the IDE, and as a standalone, it's only >>> when >>> the engine is being used as a cgi backend that it's a problem. >>> Thanks if you can shed any light on this for me. >>> Oh well, I've rolled my own function to deal with this for now, but I'd >>> really like to know if this is a bug or something I'm doing wrong, or >>> something I've got wrong in the setup with use in conjunction with >>> Andre's >>> RocketsCGI? >> >> -- >> View this message in context: >> http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22102298.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/CGI-database-connection-%28mySQL%29-tp22081311p22125423.html Sent from the Revolution - User mailing list archive at Nabble.com. From jperryl at ecs.fullerton.edu Fri Feb 20 12:56:41 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 20 Feb 2009 09:56:41 -0800 (PST) Subject: Shakobox... choking on 32nd notes In-Reply-To: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> References: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> Message-ID: Ooops. Make that, it's choking on the third round of 64th notes... on mouseUp put empty into fld "Tunes_Code" displayCode put "a5x g5x a5e rx g5x f5x e5x d5x c#5t rt" && \ "d5e rt a4x g4x a4e rx g4x f4x e4x d4x c#4t rt" && \ "d4e rt a2x g2x a2e rx g2x f2x ex2 d2x c#2t rx" && \ "d2e rq c#1e e1e g1e b1e c#3e e3e d3h" && \ "c#5x d5x e5x c#5x d5x e5x c#5x d5x e5x c#5x" && \ "d5x e5x f5x g5x e5x f5x g5x e5x f5x g5x e5x f5x" && \ "g5x a5x bb5x g5x a5x bb5x g5x a5x bb5x g5x a5x rq" && \ "c#6x d6x e6x c#6x d6x e6x c#6x d6x e6x c#6x d6x e6x" && \ "f6x g6x e6x f6x g6x e6x f6x g6x e6x f6x g6x a6x bb6x g6x" && \ "a6x bb6x g6x a6x bb6x g6x a6x rq" && \ "a6x g6x b6x e6x g6x b6x e6x f6x a6x d6x f6x a6x d6x e6x" && \ "g6x a6x e6x g6x a6x d6x f6x b5x d6x f6x b5x" into theSong sbplay 20,40,theSong end mouseUp Hey -- I can copy-paste in PINE! Woo-hoo! Judy http://revined.blogspot.com On Fri, 20 Feb 2009, Judy Perry wrote: > Hi, > I suspect I'm probably about the only person using it, but, just in case > somebody else does, has anybody else noticed Shakobox choking on multiple > 32nd notes? > > I'm transcribing Bach's Tocatta & Fugue in D-Minor... maybe it's just a > scripting error? > > Drat. Can we not copy-paste from the new Script Editor? > > :-( > > Judy > http://revined.blogspot.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri Feb 20 13:28:33 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 20 Feb 2009 12:28:33 -0600 Subject: Shakobox... choking on 32nd notes In-Reply-To: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> References: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> Message-ID: <499EF651.4080805@hyperactivesw.com> Judy Perry wrote: > Drat. Can we not copy-paste from the new Script Editor? You can. But make sure you aren't debugging, the field is locked when you're in that mode. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Feb 20 13:34:52 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 20 Feb 2009 12:34:52 -0600 Subject: [ANN] chartsEngine - now on revSelect In-Reply-To: <747F81A8-1CEF-4A1F-BB75-D53ED739344B@derbrill.de> References: <20090219172255.C4E78288042@mail.runrev.com> <747F81A8-1CEF-4A1F-BB75-D53ED739344B@derbrill.de> Message-ID: <499EF7CC.3070301@hyperactivesw.com> Malte Brill wrote: > Richard wrote: > > > Is the call to revLoadedStacks truly necessary? > > No, but convenient. revLoadedStacks will report the stack as available, > also when it is closed, but in memory while the openStacks would not. > What I was trying to do there (not thinking about the Metacard guys and > gals I must admit), was: > > look if chartsEngine is in use -> all well, demo will work > look if chartsEngine is open, but not in use -> start using it, demo > will work > look if it is in memory, but not open, nor in use -> start using it, > demo will work > look if it is not in memory at all -> prompt user to locate the folder > it lives in, load it, start using I think you can do this pretty easily with just regular code, since all you want to know is if the stack is in RAM. Putting a stack in use more than once won't hurt anything, so you don't need to worry about that. Therefore, the only thing you need to check is if "there is a stack ". Don't use a file path for the check because that will always return true if the file exists, but asking if there's a stack by its short name will only search the memory space. So if I've understood it right, this should work: if there is a stack then start using stack "mystack" else -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katheryn.swynford at gmail.com Fri Feb 20 21:31:10 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Fri, 20 Feb 2009 18:31:10 -0800 Subject: Shakobox... choking on 32nd notes In-Reply-To: <499EF651.4080805@hyperactivesw.com> References: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> <499EF651.4080805@hyperactivesw.com> Message-ID: <4be051070902201831n46558270jbd3e11975b057f9f@mail.gmail.com> Thank you for that, Jacque. Do people like this change in the Script Editor? I find it disconcerting to click the "compile" button in the editor, have it find no problems, close the editor, test the button, have the compile fail anyway, see an open script editor window with the offending line hilited... and am ready to go to comment it out or change it, only I have to go click some button before I can do that. Do most people really like this? Just wondering... Judy http://revined.blogspot.com On Fri, Feb 20, 2009 at 10:28 AM, J. Landman Gay wrote: > Judy Perry wrote: > > Drat. Can we not copy-paste from the new Script Editor? >> > > You can. But make sure you aren't debugging, the field is locked when > you're in that mode. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From nhan.tran at rmit.edu.vn Sat Feb 21 00:48:49 2009 From: nhan.tran at rmit.edu.vn (Nhan, Tran Thi Thanh) Date: Sat, 21 Feb 2009 12:48:49 +0700 Subject: How to parse one variable to Microsoft Word References: Message-ID: Hi all, Please help me with this issues: in my Run Rev application, when I click on button "Open file" will open file "template.doc" in Microsoft Word. How do I parse content of one field of card to this file? Regards From pepetoo at cox.net Sat Feb 21 01:07:30 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 20 Feb 2009 22:07:30 -0800 Subject: How to parse one variable to Microsoft Word In-Reply-To: References: Message-ID: Hi Tran, Check entry "Write to file" in Rev dictionary. That should handle it. Joe Wilkins On Feb 20, 2009, at 9:48 PM, Nhan, Tran Thi Thanh wrote: > > Hi all, > > Please help me with this issues: in my Run Rev application, when I > click on button "Open file" will open file "template.doc" in > Microsoft Word. How do I parse content of one field of card to this > file? > > Regards > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Please avoid sending me Word or PowerPoint attachments. See ---------------------------------------- Joe Lewis Wilkins pepetoo at cox.net From nhan.tran at rmit.edu.vn Sat Feb 21 01:21:47 2009 From: nhan.tran at rmit.edu.vn (Nhan, Tran Thi Thanh) Date: Sat, 21 Feb 2009 13:21:47 +0700 Subject: How to parse one variable to Microsoft Word References: Message-ID: Thanks, but the problem is : the template file has a lot of information (It's already existed in some place in hard drive) and I just want to put the variable at the positive position. May be, it's like "Mail Merge" but instead of using source from file, this template use source from variable. Regards -----Original Message----- From: use-revolution-bounces at lists.runrev.com on behalf of Joe Lewis Wilkins Sent: Sat 2/21/2009 1:07 PM To: How to use Revolution Subject: Re: How to parse one variable to Microsoft Word Hi Tran, Check entry "Write to file" in Rev dictionary. That should handle it. Joe Wilkins On Feb 20, 2009, at 9:48 PM, Nhan, Tran Thi Thanh wrote: > > Hi all, > > Please help me with this issues: in my Run Rev application, when I > click on button "Open file" will open file "template.doc" in > Microsoft Word. How do I parse content of one field of card to this > file? > > Regards > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Please avoid sending me Word or PowerPoint attachments. See ---------------------------------------- Joe Lewis Wilkins pepetoo at cox.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From pepetoo at cox.net Sat Feb 21 01:59:57 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 20 Feb 2009 22:59:57 -0800 Subject: How to parse one variable to Microsoft Word In-Reply-To: References: Message-ID: <07E7F0F2-78F5-4B0D-8586-B5DFD1C3471B@cox.net> On Feb 20, 2009, at 10:21 PM, Nhan, Tran Thi Thanh wrote: > Then put the template file into a variable and then put the field > after that variable. Then write the whole thing back to the template > or maybe a new template. > > Thanks, but the problem is : the template file has a lot of > information (It's already existed in some place in hard drive) and I > just want to put the variable at the positive position. May be, it's > like "Mail Merge" but instead of using source from file, this > template use source from variable. > > Regards > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com on behalf of Joe Lewis > Wilkins > Sent: Sat 2/21/2009 1:07 PM > To: How to use Revolution > Subject: Re: How to parse one variable to Microsoft Word > > Hi Tran, > > Check entry "Write to file" in Rev dictionary. That should handle it. > > Joe Wilkins > > On Feb 20, 2009, at 9:48 PM, Nhan, Tran Thi Thanh wrote: > >> >> Hi all, >> >> Please help me with this issues: in my Run Rev application, when I >> click on button "Open file" will open file "template.doc" in >> Microsoft Word. How do I parse content of one field of card to this >> file? >> >> Regards >> From mwieder at ahsoftware.net Sat Feb 21 02:17:59 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 20 Feb 2009 23:17:59 -0800 Subject: How to parse one variable to Microsoft Word In-Reply-To: References: Message-ID: <109655990484.20090220231759@ahsoftware.net> Tran- Friday, February 20, 2009, 10:21:47 PM, you wrote: > Thanks, but the problem is : the template file has a lot of > information (It's already existed in some place in hard drive) and I > just want to put the variable at the positive position. May be, it's > like "Mail Merge" but instead of using source from file, this > template use source from variable. What I do is read the template file into a variable and then use the replace command to insert the data. I have the key fields in the template file delimited by something like Hello $USERNAME$ and then in the script: put url tTemplateFile into tLetter replace "$USERNAME$" with tName in tLetter put tLetter into url tMergedFile -- -Mark Wieder mwieder at ahsoftware.net From SparkOutYNY at gmail.com Sat Feb 21 06:22:47 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Sat, 21 Feb 2009 03:22:47 -0800 (PST) Subject: How to parse one variable to Microsoft Word In-Reply-To: References: Message-ID: <22135096.post@talk.nabble.com> Nhan, Tran Thi Thanh wrote: > > > Hi all, > > Please help me with this issues: in my Run Rev application, when I click > on button "Open file" will open file "template.doc" in Microsoft Word. How > do I parse content of one field of card to this file? > > Regards > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > You could put the following VBScript into a custom property of your application. Before calling it, you can replace <> and the path to the document if necessary. Then do as vbscript. The "result" variable should be returned to Rev, so you can see if there was any problem with opening the document. Dim objWord, objDoc, objSelect, wdStory, result on Error Resume Next wdStory = 6 result = "OK" Set objWord = CreateObject("Word.Application") If Err <> 0 Then result = "Error opening Word application" End If If result = "OK" Then objWord.Visible = False With objWord Set objDoc = objWord.Documents.Open("<>") If Err <> 0 Then result = "Error opening template document" End If End With End If If result = "OK" Then Set objSelect = objWord.Selection objWord.Selection.HomeKey(wdStory) objSelect.Find.Forward = True objSelect.Find.Text = "{{replace me}}" objSelect.Find.Execute If objSelect.Find.Found Then objSelect.Text = "<>" End If objWord.Selection.HomeKey(wdStory) End If If result = "OK" Then objWord.Visible = True Set objSelect= Nothing set objDoc = Nothing Set objWord = Nothing Else set objDoc = Nothing objWord.Close objWord.Quit End If -- View this message in context: http://www.nabble.com/How-to-parse-one-variable-to-Microsoft-Word-tp22133088p22135096.html Sent from the Revolution - User mailing list archive at Nabble.com. From nhan.tran at rmit.edu.vn Sat Feb 21 12:00:38 2009 From: nhan.tran at rmit.edu.vn (Nhan, Tran Thi Thanh) Date: Sun, 22 Feb 2009 00:00:38 +0700 Subject: How to parse one variable to Microsoft Word References: <22135096.post@talk.nabble.com> Message-ID: Thanks SparkOut and all of you so much Because I'm not good in VBS so could you help me check this case: when I have more {{replace me}} than one in Template file, VBS just replace one {{replace me}} by "<>". Regards, -----Original Message----- From: use-revolution-bounces at lists.runrev.com on behalf of SparkOut Sent: Sat 2/21/2009 6:22 PM To: use-revolution at lists.runrev.com Subject: Re: How to parse one variable to Microsoft Word Nhan, Tran Thi Thanh wrote: > > > Hi all, > > Please help me with this issues: in my Run Rev application, when I click > on button "Open file" will open file "template.doc" in Microsoft Word. How > do I parse content of one field of card to this file? > > Regards > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > You could put the following VBScript into a custom property of your application. Before calling it, you can replace <> and the path to the document if necessary. Then do as vbscript. The "result" variable should be returned to Rev, so you can see if there was any problem with opening the document. Dim objWord, objDoc, objSelect, wdStory, result on Error Resume Next wdStory = 6 result = "OK" Set objWord = CreateObject("Word.Application") If Err <> 0 Then result = "Error opening Word application" End If If result = "OK" Then objWord.Visible = False With objWord Set objDoc = objWord.Documents.Open("<>") If Err <> 0 Then result = "Error opening template document" End If End With End If If result = "OK" Then Set objSelect = objWord.Selection objWord.Selection.HomeKey(wdStory) objSelect.Find.Forward = True objSelect.Find.Text = "{{replace me}}" objSelect.Find.Execute If objSelect.Find.Found Then objSelect.Text = "<>" End If objWord.Selection.HomeKey(wdStory) End If If result = "OK" Then objWord.Visible = True Set objSelect= Nothing set objDoc = Nothing Set objWord = Nothing Else set objDoc = Nothing objWord.Close objWord.Quit End If -- View this message in context: http://www.nabble.com/How-to-parse-one-variable-to-Microsoft-Word-tp22133088p22135096.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From SparkOutYNY at gmail.com Sat Feb 21 12:44:38 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Sat, 21 Feb 2009 09:44:38 -0800 (PST) Subject: How to parse one variable to Microsoft Word In-Reply-To: References: <22135096.post@talk.nabble.com> Message-ID: <22138560.post@talk.nabble.com> OK, I thought that "one field" with "one replacement" would be too simple :) There are quite a few parameters you can use with the Find method in VBS automation of Word. It's a bit tidier to wrap the settings in a "With" structure, and I've defined a few constants to make it clearer. Note that you could just call objSelect.Find.Execute with all the parameters defined after the statement, but it's easier to view it as below. Make sure you keep 10 commas before the wdReplaceAll parameter. Dim objWord, objDoc, objSelect, result on Error Resume Next Const wdStory = 6 Const wdFindContinue = 1 Const wdReplaceAll = 2 result = "OK" Set objWord = CreateObject("Word.Application") If Err <> 0 Then result = "Error opening Word application" End If If result = "OK" Then objWord.Visible = False With objWord Set objDoc = objWord.Documents.Open("<>") If Err <> 0 Then result = "Error opening template document" End If End With End If If result = "OK" Then Set objSelect = objWord.Selection objSelect.HomeKey(wdStory) With objSelect.Find .Text = "{{replace me}}" .Forward = True .MatchWholeWord = True .Wrap = wdFindContinue .Format = False .Replacement.Text = "<>" .Execute ,,,,,,,,,,wdReplaceAll End With objSelect.HomeKey(wdStory) End If If result = "OK" Then objWord.Visible = True Set objSelect= Nothing set objDoc = Nothing Set objWord = Nothing Else set objDoc = Nothing objWord.Close objWord.Quit End If Nhan, Tran Thi Thanh wrote: > > > > Thanks SparkOut and all of you so much > > Because I'm not good in VBS so could you help me check this case: when I > have more {{replace me}} than one in Template file, VBS just replace one > {{replace me}} by "<>". > > Regards, > > -- View this message in context: http://www.nabble.com/How-to-parse-one-variable-to-Microsoft-Word-tp22133088p22138560.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Feb 21 13:44:07 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Feb 2009 12:44:07 -0600 Subject: Shakobox... choking on 32nd notes In-Reply-To: <4be051070902201831n46558270jbd3e11975b057f9f@mail.gmail.com> References: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> <499EF651.4080805@hyperactivesw.com> <4be051070902201831n46558270jbd3e11975b057f9f@mail.gmail.com> Message-ID: <49A04B77.9040908@hyperactivesw.com> Judy Perry wrote: > I find it disconcerting to > click the "compile" button in the editor, have it find no problems, close > the editor, test the button, have the compile fail anyway, see an open > script editor window with the offending line hilited... and am ready to go > to comment it out or change it, only I have to go click some button before I > can do that. > > Do most people really like this? It's a trade-off, and I don't mind it. The editor needs to prevent changes to the script in order to display the variable values correctly at the point of error, and most of the time people do want to go directly to debug mode to see what's wrong. I suspect the older method of having to click "OK" or "Debug" was as annoying to some as the current behavior is to others. Command-Y will take you out of debug mode, and that's what I usually use if I don't want to debug. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From viktoras at ekoinf.net Sat Feb 21 14:53:35 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Sat, 21 Feb 2009 21:53:35 +0200 Subject: keystroke transformations In-Reply-To: <49A04B77.9040908@hyperactivesw.com> References: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> <499EF651.4080805@hyperactivesw.com> <4be051070902201831n46558270jbd3e11975b057f9f@mail.gmail.com> <49A04B77.9040908@hyperactivesw.com> Message-ID: <49A05BBF.6080102@ekoinf.net> I am trying to move cursor down on returnInField by setting field's script to on returnInField send "arrowKey down" to me end returnInField And it does not work.... Are there any ways to move cursor down on returnInField or on enterInField? Regards Viktoras From katheryn.swynford at gmail.com Sat Feb 21 16:26:10 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Sat, 21 Feb 2009 13:26:10 -0800 Subject: Shakobox... choking on 32nd notes In-Reply-To: <49A04B77.9040908@hyperactivesw.com> References: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> <499EF651.4080805@hyperactivesw.com> <4be051070902201831n46558270jbd3e11975b057f9f@mail.gmail.com> <49A04B77.9040908@hyperactivesw.com> Message-ID: <4be051070902211326td2d1050nb3fd1f6e3bde2c20@mail.gmail.com> Okay, that's good to know. Thank you! Judy http://revined.blogspot.com On Sat, Feb 21, 2009 at 10:44 AM, J. Landman Gay wrote: > > Command-Y will take you out of debug mode, and that's what I usually use if > I don't want to debug. > > From nhan.tran at rmit.edu.vn Sat Feb 21 20:48:53 2009 From: nhan.tran at rmit.edu.vn (Nhan, Tran Thi Thanh) Date: Sun, 22 Feb 2009 08:48:53 +0700 Subject: How to parse one variable to Microsoft Word References: <22135096.post@talk.nabble.com> <22138560.post@talk.nabble.com> Message-ID: Dear SparkOut If I want to find two or more "{{replace me}}" different and replace with "<>", I need to set up a array of objSelect.Find ? Do you have any ideas? Regards -----Original Message----- From: use-revolution-bounces at lists.runrev.com on behalf of SparkOut Sent: Sun 2/22/2009 12:44 AM To: use-revolution at lists.runrev.com Subject: RE: How to parse one variable to Microsoft Word OK, I thought that "one field" with "one replacement" would be too simple :) There are quite a few parameters you can use with the Find method in VBS automation of Word. It's a bit tidier to wrap the settings in a "With" structure, and I've defined a few constants to make it clearer. Note that you could just call objSelect.Find.Execute with all the parameters defined after the statement, but it's easier to view it as below. Make sure you keep 10 commas before the wdReplaceAll parameter. Dim objWord, objDoc, objSelect, result on Error Resume Next Const wdStory = 6 Const wdFindContinue = 1 Const wdReplaceAll = 2 result = "OK" Set objWord = CreateObject("Word.Application") If Err <> 0 Then result = "Error opening Word application" End If If result = "OK" Then objWord.Visible = False With objWord Set objDoc = objWord.Documents.Open("<>") If Err <> 0 Then result = "Error opening template document" End If End With End If If result = "OK" Then Set objSelect = objWord.Selection objSelect.HomeKey(wdStory) With objSelect.Find .Text = "{{replace me}}" .Forward = True .MatchWholeWord = True .Wrap = wdFindContinue .Format = False .Replacement.Text = "<>" .Execute ,,,,,,,,,,wdReplaceAll End With objSelect.HomeKey(wdStory) End If If result = "OK" Then objWord.Visible = True Set objSelect= Nothing set objDoc = Nothing Set objWord = Nothing Else set objDoc = Nothing objWord.Close objWord.Quit End If Nhan, Tran Thi Thanh wrote: > > > > Thanks SparkOut and all of you so much > > Because I'm not good in VBS so could you help me check this case: when I > have more {{replace me}} than one in Template file, VBS just replace one > {{replace me}} by "<>". > > Regards, > > -- View this message in context: http://www.nabble.com/How-to-parse-one-variable-to-Microsoft-Word-tp22133088p22138560.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Sat Feb 21 21:08:12 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 21 Feb 2009 18:08:12 -0800 Subject: How to parse one variable to Microsoft Word In-Reply-To: <22138560.post@talk.nabble.com> References: <22135096.post@talk.nabble.com> <22138560.post@talk.nabble.com> Message-ID: <51723803796.20090221180812@ahsoftware.net> SparkOut- Saturday, February 21, 2009, 9:44:38 AM, you wrote: > .Execute ,,,,,,,,,,wdReplaceAll rotfl Sometimes you gotta wonder about language designers... -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sun Feb 22 02:30:41 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 21 Feb 2009 23:30:41 -0800 Subject: keystroke transformations Message-ID: <49A0FF21.4010105@fourthworld.com> viktoras wrote: > I am trying to move cursor down on returnInField by setting field's > script to > > on returnInField > send "arrowKey down" to me > end returnInField > > And it does not work.... > Are there any ways to move cursor down on returnInField or on enterInField? That's the natural built-in behavior of the engine: when you strike either the Enter or Return keys, the cursor in the field moves down to the beginning of the next line. Is there something else at play here that I missed? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From viktoras at ekoinf.net Sun Feb 22 02:42:02 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Sun, 22 Feb 2009 09:42:02 +0200 Subject: keystroke transformations In-Reply-To: <49A0FF21.4010105@fourthworld.com> References: <49A0FF21.4010105@fourthworld.com> Message-ID: <49A101CA.1070305@ekoinf.net> Yes, therefore I wish to prevent this natural behaviour, as it also moves all the text into the new line. What I am after is blocking enter, return and passing arrow down instead, so the text in a field would remain intact, but cursor moves to the next line without any changes to the text. Viktoras Richard Gaskin wrote: > > That's the natural built-in behavior of the engine: when you strike > either the Enter or Return keys, the cursor in the field moves down to > the beginning of the next line. > > Is there something else at play here that I missed? > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sun Feb 22 03:24:54 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 22 Feb 2009 00:24:54 -0800 Subject: keystroke transformations Message-ID: <49A10BD6.5070308@fourthworld.com> viktoras wrote: > Richard Gaskin wrote: >> That's the natural built-in behavior of the engine: when you strike >> either the Enter or Return keys, the cursor in the field moves down >> to the beginning of the next line. >> >> Is there something else at play here that I missed? > > Yes, therefore I wish to prevent this natural behaviour, as it also > moves all the text into the new line. What I am after is blocking > enter, return and passing arrow down instead, so the text in a field > would remain intact, but cursor moves to the next line without any > changes to the text. Gotcha. Thanks for the clarification. Give this a whirl and see if it does what you need -- these handers would go in a field script: --------- on enterInField DoMoveDown end enterInField on returnInField DoMoveDown end returnInField on DoMoveDown put (word 2 of the selectedLine) into tLine if tLine = the number of lines of me then put cr after me end if select before line (tLine+1) of me end DoMoveDown -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From viktoras at ekoinf.net Sun Feb 22 04:04:51 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Sun, 22 Feb 2009 11:04:51 +0200 Subject: keystroke transformations In-Reply-To: <49A10BD6.5070308@fourthworld.com> References: <49A10BD6.5070308@fourthworld.com> Message-ID: <49A11533.9050102@ekoinf.net> Thanks Richard, it works! Viktoras Richard Gaskin wrote: > on enterInField > DoMoveDown > end enterInField > > on returnInField > DoMoveDown > end returnInField > > on DoMoveDown > put (word 2 of the selectedLine) into tLine > if tLine = the number of lines of me then > put cr after me > end if > select before line (tLine+1) of me > end DoMoveDown > > > > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From geradamas at yahoo.com Sun Feb 22 04:53:43 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 22 Feb 2009 01:53:43 -0800 (PST) Subject: Bashing My Buttons Again . . . Message-ID: <413772.42716.qm@web37503.mail.mud.yahoo.com> Humpf: nothing like a slightly idiotic title to a message to attract attention :) So, after spending far too much time re-doing my kitchen, finally got back to the 'Button Basher.rev' stack: It is at revOnline under 'Richmond' now featuring grey-faux-metallic odd-shaped buttons and coloured odd-shaped buttons and with those buttons a choice whether to export as PNGS or GIFS. [Frankly . . . neither are totally satisfactory] Please, download and Beta-test, and feedback . . . Despite, some comparisons that were made between my stack and the commercial one, I have no intention to "go commercial" with this one - so everybody will benefit from Beta-testing this. STILL TO DO: 1. Lots :) 2. Ability to nudge the text around the faces of the odd-shaped buttons. [This is not as hard as it seems; just feeling a bit lazy and demotivated right now.] 3. Re-do the primitives with feathered edges . . . what a grind! 4. Lots of really 'jazzy' aesthetic stuff . . . well, maybe, in about 2015! sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From SparkOutYNY at gmail.com Sun Feb 22 05:22:41 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Sun, 22 Feb 2009 02:22:41 -0800 (PST) Subject: How to parse one variable to Microsoft Word In-Reply-To: References: <22135096.post@talk.nabble.com> <22138560.post@talk.nabble.com> Message-ID: <22145264.post@talk.nabble.com> Nhan, Tran Thi Thanh wrote: > > > Dear SparkOut > > If I want to find two or more "{{replace me}}" different and replace with > "<>", I need to set up a array of > objSelect.Find ? Do you have any ideas? > > Regards > > Make the working part a sub procedure and call it with the arguments you need each time. You can make it an array if you want and walk it, but with two or three or just a few it's simpler without. -- Dim objWord, objDoc, objSelect, result on Error Resume Next Const wdStory = 6 Const wdFindContinue = 1 Const wdReplaceAll = 2 result = "OK" Set objWord = CreateObject("Word.Application") If Err <> 0 Then result = "Error opening Word application" End If If result = "OK" Then objWord.Visible = False With objWord Set objDoc = objWord.Documents.Open("{{path to doc}}") If Err <> 0 Then result = "Error opening template document" End If End With End If If result = "OK" Then Set objSelect = objWord.Selection objSelect.HomeKey(wdStory) doReplaceText "{{replace me}}","{{replacement text}}" doReplaceText "{{I need replacing}}","{{I was replaced}}" End If If result = "OK" Then objWord.Visible = True Set objSelect= Nothing set objDoc = Nothing Set objWord = Nothing Else set objDoc = Nothing objWord.Close objWord.Quit End If Sub doReplaceText (tReplaceMe, tReplacementText) objSelect.HomeKey(wdStory) With objSelect.Find .Text = tReplaceMe .Forward = True .MatchWholeWord = True .Wrap = wdFindContinue .Format = False .Replacement.Text = tReplacementText .Execute ,,,,,,,,,,wdReplaceAll End With objSelect.HomeKey(wdStory) End Sub -- View this message in context: http://www.nabble.com/How-to-parse-one-variable-to-Microsoft-Word-tp22133088p22145264.html Sent from the Revolution - User mailing list archive at Nabble.com. From rmicout at online.fr Sun Feb 22 10:26:20 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 22 Feb 2009 16:26:20 +0100 Subject: Music duration In-Reply-To: <83331313-317D-49B1-A99D-113C4CE3A8EA@gmx.net> References: <83331313-317D-49B1-A99D-113C4CE3A8EA@gmx.net> Message-ID: Hello Beat, Naturally I will be (so) glad to receive your MidiLib... Thank you Bons souvenirs de Paris Ren? Le 20 f?vr. 09 ? 15:55, Beat Cornaz a ?crit : > Hi Ren? , > > I have been abroad and could not react earlier. Fortunalety Kurt > has helped you out quite a bit. > > Maybe the following can be of use to you. The thing that took the > longest time for me in the Midi code to 'crack' was the 'Delta > time' , being the time to the next midi event (whether a Note on, > Note off or Midi message). As the Delta time cannot be fixed into a > fixed data format (it must be flexible tpo accomodate for long > Delta times), the Midi format uses 'Variable Length coding', which > can accomodate any Delta Time. > As it is some years ago that I have coded my 'MakeMidiFile' script, > I can't remember exactly how the Variable Length coding works, but > I can send you the > handler or post it here if someone else is ineterested. > > Another thing I remember, is that one of the Rev functions - > baseconvert() or BinaryDecode() would not work anymore as the > number to convert got too big. I have made a workaround. I just > looked in my MidiLib, but could not find it anymore. Maybe it has > been fixed in the newer Rev versions, as I tried big numbers and > they converted just fine.But I realised that my MidiLib needs some > serious cleaning up!! > > In a midi file (as Kurt already explained), some (Hex) stuff is > always there, like the Header , Tempo, TimeSignature and Key. The > actual data for the Tempo (e.g. 120) etc. is given by you of course > (in Hex). Track 1 contains all this information and the actual > notes start in track 2. (In any case in a midi file with more than > 1 track). After you have the whole Midifile in Hex, you convert it > to Binary (with BinaryEncode). Of course, the binary encode can be > done earlier on, like after each Hex duplet or Hex part has been > established (I think I remember Kurt does it that way). > > In the header of each track, you'll need the specify the length of > the data of that track (the number of Hex digits in that track). > > So basically you have to convert decimal data (like noteNrs, > velocity, duration etc) to Hex and the whole Hex data to binary. > > I can send you my MidiLib, so you can see how I have done it. I > will have to clean it up before I send it, it's too messy, but it > works fine. > I have not yet experimented with the QT synth, as I was (am) aiming > to directly address Logic. But I guess I will try with the QT synth > as well, as my bigger goal is quite a challange it seems. > > In my MidiLib, there is also a handler to import a MidiFile. I use > it to import from Logic, then make variantions of the theme in my > Rev stack and make a new MidiFile which I drag into my sequencer. > > Don't let the dataformat of the Midi file get to you. It takes a > while to get it. I have been 'struggling' with it for some months > untill the handler finally worked. Bit by bit, you'll get to > understand it better. I'll be gladly helping you, but > unfortunately I don't have the time to read the usergroup's mails > on a daily basis. > > I hope this helps some, > > kind regards, Beat > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rmicout at online.fr Sun Feb 22 10:46:30 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 22 Feb 2009 16:46:30 +0100 Subject: Shakobox... choking on 32nd notes In-Reply-To: References: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> Message-ID: <4388262C-E83E-4424-A547-5D527699A4FD@online.fr> Hello Judy, I try theSong with sbPlay (command...). There is (I think) extra space " " at lines 7 and 10 of theSong Cf. "here" below in your code... Bons souvenirs de Paris Ren? Le 20 f?vr. 09 ? 18:56, Judy Perry a ?crit : > Ooops. Make that, it's choking on the third round of 64th notes... > > on mouseUp > put empty into fld "Tunes_Code" > displayCode > put "a5x g5x a5e rx g5x f5x e5x d5x c#5t rt" && \ > "d5e rt a4x g4x a4e rx g4x f4x e4x d4x c#4t rt" && \ > "d4e rt a2x g2x a2e rx g2x f2x ex2 d2x c#2t rx" && \ > "d2e rq c#1e e1e g1e b1e c#3e e3e d3h" && \ > "c#5x d5x e5x c#5x d5x e5x c#5x d5x e5x c#5x" && \ > "d5x e5x f5x g5x e5x f5x g5x e5x f5x g5x e5x f5x" && \ > "g5x a5x bb5x "here" g5x a5x bb5x "here" g5x a5x bb5x "here" > g5x a5x rq" && \ > "c#6x d6x e6x c#6x d6x e6x c#6x d6x e6x c#6x d6x e6x" && \ > "f6x g6x e6x f6x g6x e6x f6x g6x e6x f6x g6x a6x bb6x g6x" && \ > "a6x bb6x "here" g6x a6x bb6x "here" g6x a6x rq" && \ > "a6x g6x b6x e6x g6x b6x e6x f6x a6x d6x f6x a6x d6x e6x" && \ > "g6x a6x e6x g6x a6x d6x f6x b5x d6x f6x b5x" into theSong > sbplay 20,40,theSong > end mouseUp > > Hey -- I can copy-paste in PINE! Woo-hoo! > > Judy > http://revined.blogspot.com > > On Fri, 20 Feb 2009, Judy Perry wrote: > >> Hi, >> I suspect I'm probably about the only person using it, but, just >> in case >> somebody else does, has anybody else noticed Shakobox choking on >> multiple >> 32nd notes? >> >> I'm transcribing Bach's Tocatta & Fugue in D-Minor... maybe it's >> just a >> scripting error? >> >> Drat. Can we not copy-paste from the new Script Editor? >> >> :-( >> >> Judy >> http://revined.blogspot.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rmicout at online.fr Sun Feb 22 10:49:19 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 22 Feb 2009 16:49:19 +0100 Subject: Shakobox... choking on 32nd notes In-Reply-To: References: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> Message-ID: <6734807B-3021-4170-B2F0-B39B356347FE@online.fr> Hello Judy, I try theSong with sbPlay (command...). There is (I think) extra space " " at lines 7, 9 and 10 of theSong Cf. "here" below in your code... Bons souvenirs de Paris Ren? PS : I have forgot(ten ?) line 9... Le 20 f?vr. 09 ? 18:56, Judy Perry a ?crit : > Ooops. Make that, it's choking on the third round of 64th notes... > > on mouseUp > put empty into fld "Tunes_Code" > displayCode > put "a5x g5x a5e rx g5x f5x e5x d5x c#5t rt" && \ > "d5e rt a4x g4x a4e rx g4x f4x e4x d4x c#4t rt" && \ > "d4e rt a2x g2x a2e rx g2x f2x ex2 d2x c#2t rx" && \ > "d2e rq c#1e e1e g1e b1e c#3e e3e d3h" && \ > "c#5x d5x e5x c#5x d5x e5x c#5x d5x e5x c#5x" && \ > "d5x e5x f5x g5x e5x f5x g5x e5x f5x g5x e5x f5x" && \ > "g5x a5x bb5x "here" g5x a5x bb5x "here" g5x a5x bb5x "here" > g5x a5x rq" && \ > "c#6x d6x e6x c#6x d6x e6x c#6x d6x e6x c#6x d6x e6x" && \ > "f6x g6x e6x f6x g6x e6x f6x g6x e6x f6x g6x a6x bb6x "here > also" g6x" && \ > "a6x bb6x "here" g6x a6x bb6x "here" g6x a6x rq" && \ > "a6x g6x b6x e6x g6x b6x e6x f6x a6x d6x f6x a6x d6x e6x" && \ > "g6x a6x e6x g6x a6x d6x f6x b5x d6x f6x b5x" into theSong > sbplay 20,40,theSong > end mouseUp > > Hey -- I can copy-paste in PINE! Woo-hoo! > > Judy > http://revined.blogspot.com > > On Fri, 20 Feb 2009, Judy Perry wrote: > >> Hi, >> I suspect I'm probably about the only person using it, but, just >> in case >> somebody else does, has anybody else noticed Shakobox choking on >> multiple >> 32nd notes? >> >> I'm transcribing Bach's Tocatta & Fugue in D-Minor... maybe it's >> just a >> scripting error? >> >> Drat. Can we not copy-paste from the new Script Editor? >> >> :-( >> >> Judy >> http://revined.blogspot.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pmbrig at gmail.com Sun Feb 22 12:41:29 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 22 Feb 2009 12:41:29 -0500 Subject: Gutenberg Reader Message-ID: <92AE1BCE-8991-48C2-9F4D-6E8E586B91ED@gmail.com> I've uploaded a stack to my userspace at RevOnline (user name pmbrig) called The Gutenberg Reader. Bug reports, comments, and feedback are appreciated. From the help text: "The Gutenberg Reader is literally an entire library of over 30,000 volumes, right on your desktop. Well, almost literally. The Reader is designed to import and display etexts generated by Project Gutenberg?. These are free public domain texts available online ? the Gutenberg catalog has over 30,000 books (and growing), and with their partners and affiliates makes over 100,000 titles available to anyone with internet access. Any of the Gutenberg texts are accessible within a couple minutes from within the Reader. "The Gutenberg pages are actually designed to be viewed with any web browser, without any additional application or software required, and you don't really have to use the Reader to access them. However, the Reader downloads a Gutenberg text and replaces simple quotes with curly quotation marks, double dashes with m-dashes, gets rid of the end-of-line characters within paragraphs, and presents the text in a book-like layout, using the fontface of your choice. You can navigate easily through the book with mouseclicks or using the arrowkeys, set a bookmark, and make notes on any passage. The result is a completely different reading experience from what you are probably used to on a computer screen." The Reader is also available in a standalone application at http://home.comcast.net/~pmbrig/Gutenberg.html Many thanks to all on this list who have helped me (mostly unknowingly) over the years I have been (mostly) lurking in the background. I have picked up countless tips on the vicissitudes of Rev without which I'd have been lost. Some of us benefit quietly from all the amazing information shared here, and we may not always speak up about it. a grateful amateur, Peter M. Brigham pmbrig at gmail.com From toncardona at mac.com Sun Feb 22 13:06:59 2009 From: toncardona at mac.com (=?ISO-8859-1?Q?Melit=F3n_Cardona_Torres?=) Date: Sun, 22 Feb 2009 19:06:59 +0100 Subject: Gutenberg Reader Message-ID: <1F3ABCF5-7933-4E2D-B7A8-42BAB1259FB5@mac.com> On Mac: downloaded, uncompressed, opened and ... nothing happens Am I missing anything? Cheeres Tob From psahores at free.fr Sun Feb 22 13:45:10 2009 From: psahores at free.fr (Pierre Sahores) Date: Sun, 22 Feb 2009 19:45:10 +0100 Subject: Gutenberg Reader In-Reply-To: <92AE1BCE-8991-48C2-9F4D-6E8E586B91ED@gmail.com> References: <92AE1BCE-8991-48C2-9F4D-6E8E586B91ED@gmail.com> Message-ID: <59649582-0526-428E-9C3C-1316D9C06C3D@free.fr> Peter, Great stack to parse and save the Gutemberg's books without having to download them ! Congratulations and thanks for sharing it with all of us ! The Mac OS X standalone don't start there for yet but the stack is running OK in the Rev 3.0 IDE. (Mac OS X 10.5.6 / MacBook Pro Core Duo 2 Go RAM). The Win32 standalone start and run fine under VirtualBox 2.14 / Win XP Pro. Again, thanks for this great piece of Rev ! Best Regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 22 f?vr. 09 ? 18:41, Peter Brigham MD a ?crit : > I've uploaded a stack to my userspace at RevOnline (user name > pmbrig) called The Gutenberg Reader. Bug reports, comments, and > feedback are appreciated. > > From the help text: > > "The Gutenberg Reader is literally an entire library of over 30,000 > volumes, right on your desktop. Well, almost literally. The Reader > is designed to import and display etexts generated by Project > Gutenberg?. These are free public domain texts available online ? > the Gutenberg catalog has over 30,000 books (and growing), and with > their partners and affiliates makes over 100,000 titles available to > anyone with internet access. Any of the Gutenberg texts are > accessible within a couple minutes from within the Reader. > > "The Gutenberg pages are actually designed to be viewed with any web > browser, without any additional application or software required, > and you don't really have to use the Reader to access them. However, > the Reader downloads a Gutenberg text and replaces simple quotes > with curly quotation marks, double dashes with m-dashes, gets rid of > the end-of-line characters within paragraphs, and presents the text > in a book-like layout, using the fontface of your choice. You can > navigate easily through the book with mouseclicks or using the > arrowkeys, set a bookmark, and make notes on any passage. The result > is a completely different reading experience from what you are > probably used to on a computer screen." > > The Reader is also available in a standalone application at > > http://home.comcast.net/~pmbrig/Gutenberg.html > > Many thanks to all on this list who have helped me (mostly > unknowingly) over the years I have been (mostly) lurking in the > background. I have picked up countless tips on the vicissitudes of > Rev without which I'd have been lost. Some of us benefit quietly > from all the amazing information shared here, and we may not always > speak up about it. > > a grateful amateur, > > Peter M. Brigham > pmbrig at gmail.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katheryn.swynford at gmail.com Sun Feb 22 14:07:59 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Sun, 22 Feb 2009 11:07:59 -0800 Subject: Shakobox... choking on 32nd notes In-Reply-To: <6734807B-3021-4170-B2F0-B39B356347FE@online.fr> References: <4be051070902200931mf35efdejf0e39ee50415027@mail.gmail.com> <6734807B-3021-4170-B2F0-B39B356347FE@online.fr> Message-ID: <4be051070902221107pe26ed1ctd6f82b5a57303d5e@mail.gmail.com> Hi Ren?, Thank you very much for spotting this! I was going cross-eyed looking at it. Eliminating those spaces does seem to solve the problem (well, I also split the tune into two, replaced the 64th notes with 32nds and doubled the tempo). There still seem to be some octave anomalies but I'll look at those again as soon as I uncross my eyes ;-) Thank you again! Judy http://revined.blogspot.com On Sun, Feb 22, 2009 at 7:49 AM, Ren? Micout wrote: > Hello Judy, > I try theSong with sbPlay (command...). > There is (I think) extra space " " at lines 7, 9 and 10 of theSong > Cf. "here" below in your code... > Bons souvenirs de Paris > Ren? > > PS : I have forgot(ten ?) line 9... > > Le 20 f?vr. 09 ? 18:56, Judy Perry a ?crit : > > > Ooops. Make that, it's choking on the third round of 64th notes... >> >> on mouseUp >> put empty into fld "Tunes_Code" >> displayCode >> put "a5x g5x a5e rx g5x f5x e5x d5x c#5t rt" && \ >> "d5e rt a4x g4x a4e rx g4x f4x e4x d4x c#4t rt" && \ >> "d4e rt a2x g2x a2e rx g2x f2x ex2 d2x c#2t rx" && \ >> "d2e rq c#1e e1e g1e b1e c#3e e3e d3h" && \ >> "c#5x d5x e5x c#5x d5x e5x c#5x d5x e5x c#5x" && \ >> "d5x e5x f5x g5x e5x f5x g5x e5x f5x g5x e5x f5x" && \ >> "g5x a5x bb5x "here" g5x a5x bb5x "here" g5x a5x bb5x "here" g5x a5x >> rq" && \ >> "c#6x d6x e6x c#6x d6x e6x c#6x d6x e6x c#6x d6x e6x" && \ >> "f6x g6x e6x f6x g6x e6x f6x g6x e6x f6x g6x a6x bb6x "here also" g6x" >> && \ >> "a6x bb6x "here" g6x a6x bb6x "here" g6x a6x rq" && \ >> >> "a6x g6x b6x e6x g6x b6x e6x f6x a6x d6x f6x a6x d6x e6x" && \ >> "g6x a6x e6x g6x a6x d6x f6x b5x d6x f6x b5x" into theSong >> sbplay 20,40,theSong >> end mouseUp >> >> Hey -- I can copy-paste in PINE! Woo-hoo! >> >> Judy >> http://revined.blogspot.com >> >> On Fri, 20 Feb 2009, Judy Perry wrote: >> >> Hi, >>> I suspect I'm probably about the only person using it, but, just in case >>> somebody else does, has anybody else noticed Shakobox choking on multiple >>> 32nd notes? >>> >>> I'm transcribing Bach's Tocatta & Fugue in D-Minor... maybe it's just a >>> scripting error? >>> >>> Drat. Can we not copy-paste from the new Script Editor? >>> >>> :-( >>> >>> Judy >>> http://revined.blogspot.com >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From effendi at wanadoo.fr Sun Feb 22 18:14:53 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 23 Feb 2009 00:14:53 +0100 Subject: Changing the screenRect within a stack Message-ID: Hi from Paris, I have a stack which has a specific window rect (don't we all ?). I want to run the stack on any Mac or PC computer, but I don't know the current screenRect setting for my possible target computers, and my stack window is large enough to provide display problems on other computers. Inside preOpenStack using the "get the screenRect" command, I can judge if the screenRect currently used on the computer will harbour my stack window. If the screenRect is not satisfactory, I can request that the user sets the screenRect using "System Preferences" on a Mac, or "Control Panel" on a PC, and then quit my stack. The user can modify the screenRect and relaunch my stack, but this is a PAIN ! What I REALLY want to do is to know ALL the possible screenrects for the target computer, change the screenRect dynamically for the duration of the stack run (choosing the next highest screenRect in the list which wil accomodate my window), and reset it back to the original value at the termination of the stack. Rev commands can't take me there, but I maybe I can do this by executing AppleScripts (or the equivalent on a PC) Anybody solved this problem ? Help gratefully received ... -Francis "Nothing should ever be done for the first time !" From ambassador at fourthworld.com Sun Feb 22 18:28:09 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 22 Feb 2009 15:28:09 -0800 Subject: Changing the screenRect within a stack Message-ID: <49A1DF89.5060302@fourthworld.com> You should be able to do it all for all supported platforms right in native Transcipt. See the Dictionary entries for : desktopChanged windowBoundingRect working screenRect -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From m.schonewille at economy-x-talk.com Sun Feb 22 18:48:43 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Feb 2009 00:48:43 +0100 Subject: Changing the screenRect within a stack In-Reply-To: References: Message-ID: <54EEEE2D-2431-40BE-A5AD-C8691854DBF7@economy-x-talk.com> Dear Francis, Please, stay away from my screen. it is MY screen and NOT yours. You simply have no right to change the system settings of my or anyone else's computer. Of course, this message isn't only meant for you, but for anyone who thinks of changing someone else's screen rect. Please, don't do it. Instead, you should detect the screensize and resize your stack window and the objects in it to accommodate the screensize. Never do the oppositem don't change the screen rect. You should also take into account the possibility that the user changes the screen resolution while your application is running. For this, you can catch the desktopChanged message and adjust the window and object sizes again (and indeed, you need to check the windowBoundingRect and (working) screenRect(s) too). Now, if you're really still not convinced, I can tell you there are a few command line utilities, but they need to be updated every now and then, because they can't cope with the many different screens and screen resolutions available these days. I believe it is possible to use the terminal or applescript on Mac OS X, but I haven't seen a good working solution. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 23 feb 2009, at 00:14, Francis Nugent Dixon wrote: > Hi from Paris, > > I have a stack which has a specific window rect > (don't we all ?). > > I want to run the stack on any Mac or PC computer, > but I don't know the current screenRect setting for > my possible target computers, and my stack window > is large enough to provide display problems on other > computers. > > Inside preOpenStack using the "get the screenRect" > command, I can judge if the screenRect currently > used on the computer will harbour my stack window. > If the screenRect is not satisfactory, I can request > that the user sets the screenRect using "System > Preferences" on a Mac, or "Control Panel" on a PC, > and then quit my stack. The user can modify the > screenRect and relaunch my stack, but this is a PAIN ! > > What I REALLY want to do is to know ALL the possible > screenrects for the target computer, change the screenRect > dynamically for the duration of the stack run (choosing > the next highest screenRect in the list which wil accomodate > my window), and reset it back to the original value at the > termination of the stack. > > Rev commands can't take me there, but I maybe I can do this > by executing AppleScripts (or the equivalent on a PC) > > Anybody solved this problem ? Help gratefully received ... > > -Francis From pepetoo at cox.net Sun Feb 22 18:52:01 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 22 Feb 2009 15:52:01 -0800 Subject: Changing the screenRect within a stack In-Reply-To: References: Message-ID: <34474A56-ED01-48B4-8FC4-BD6896877C36@cox.net> Hi Francis, Accustomed as I am to running a variety of applications pretty much at the same time and interchangeably, I feel you should stick with your first approach. Let the user determine what to do. Just make some suggestions, advising the user in advance of the various repercussions that might occur with different screen resolutions; OR, optionally, if the user's screen size is going to be too small, design your application accordingly - even providing horizontal and vertical scroll bars; or, as PDFs do, perhaps the ability to zoom or move around using the hand tool. You may be worrying too much, since many of us DO have a lot of real estate these days. Just announce the preferred screen size for best performance in advance as part of the system requirements and let the user worry about it. Surprise is the worst thing. Just some of my thoughts on a late Sunday afternoon. Joe Wilkins On Feb 22, 2009, at 3:14 PM, Francis Nugent Dixon wrote: > Hi from Paris, > > I have a stack which has a specific window rect > (don't we all ?). > > I want to run the stack on any Mac or PC computer, > but I don't know the current screenRect setting for > my possible target computers, and my stack window > is large enough to provide display problems on other > computers. > > Inside preOpenStack using the "get the screenRect" > command, I can judge if the screenRect currently > used on the computer will harbour my stack window. > If the screenRect is not satisfactory, I can request > that the user sets the screenRect using "System > Preferences" on a Mac, or "Control Panel" on a PC, > and then quit my stack. The user can modify the > screenRect and relaunch my stack, but this is a PAIN ! > > What I REALLY want to do is to know ALL the possible > screenrects for the target computer, change the screenRect > dynamically for the duration of the stack run (choosing > the next highest screenRect in the list which wil accomodate > my window), and reset it back to the original value at the > termination of the stack. > > Rev commands can't take me there, but I maybe I can do this > by executing AppleScripts (or the equivalent on a PC) > > Anybody solved this problem ? Help gratefully received ... > > -Francis > > "Nothing should ever be done for the first time !" From briany at qldlearning.com Sun Feb 22 20:15:36 2009 From: briany at qldlearning.com (Brian Yennie) Date: Sun, 22 Feb 2009 17:15:36 -0800 Subject: Changing the screenRect within a stack In-Reply-To: <54EEEE2D-2431-40BE-A5AD-C8691854DBF7@economy-x-talk.com> References: <54EEEE2D-2431-40BE-A5AD-C8691854DBF7@economy-x-talk.com> Message-ID: Mark, While I agree with you in principle, I think it's worth noting that an application can always ASK the user for permission to change the screen resolution and then do it for you with your approval. Also, there are some cases (such as full screen video players or kiosks) where it is perfectly acceptable behavior to take over your screen and return things to normal when it is suspended or terminated. So generally speaking, I agree with you -- but I think you're also jumping the gun a little bit here. > Dear Francis, > > Please, stay away from my screen. it is MY screen and NOT yours. You > simply have no right to change the system settings of my or anyone > else's computer. Of course, this message isn't only meant for you, > but for anyone who thinks of changing someone else's screen rect. > Please, don't do it. > > Instead, you should detect the screensize and resize your stack > window and the objects in it to accommodate the screensize. Never do > the oppositem don't change the screen rect. > > You should also take into account the possibility that the user > changes the screen resolution while your application is running. For > this, you can catch the desktopChanged message and adjust the window > and object sizes again (and indeed, you need to check the > windowBoundingRect and (working) screenRect(s) too). > > Now, if you're really still not convinced, I can tell you there are > a few command line utilities, but they need to be updated every now > and then, because they can't cope with the many different screens > and screen resolutions available these days. I believe it is > possible to use the terminal or applescript on Mac OS X, but I > haven't seen a good working solution. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > Dutch forum: http://runrev.info/rrforum From m.schonewille at economy-x-talk.com Sun Feb 22 20:23:04 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Feb 2009 02:23:04 +0100 Subject: Changing the screenRect within a stack In-Reply-To: References: <54EEEE2D-2431-40BE-A5AD-C8691854DBF7@economy-x-talk.com> Message-ID: Hi Brian, I agree in the case of full-screen video games, but we don't make those in Rev (yet?). I'm not sure that I agree in the case of video players. When a video player changes the screen resolution, the movie is often displayed with a bad screen geometry and I wouldn't recommend it. There is rarely need to change the screen resolution for kiosk applications, because those run on computers with system settings specifically adjusted to the software. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 23 feb 2009, at 02:15, Brian Yennie wrote: > Mark, > > While I agree with you in principle, I think it's worth noting that > an application can always ASK the user for permission to change the > screen resolution and then do it for you with your approval. Also, > there are some cases (such as full screen video players or kiosks) > where it is perfectly acceptable behavior to take over your screen > and return things to normal when it is suspended or terminated. From briany at qldlearning.com Sun Feb 22 20:50:00 2009 From: briany at qldlearning.com (Brian Yennie) Date: Sun, 22 Feb 2009 17:50:00 -0800 Subject: Changing the screenRect within a stack In-Reply-To: References: <54EEEE2D-2431-40BE-A5AD-C8691854DBF7@economy-x-talk.com> Message-ID: <7D1B455E-2154-4006-8F51-11EE1CA94974@qldlearning.com> Mark, Yes you are right about the kiosk - a bad example. In any case, my point was more that we don't know the particulars of the application in question. I share your distaste for badly behaved software, but surely there are some cases where it's ok for software to change your screen resolution without forcing you to go do it yourself. Video players do this all the time in order to *improve* the viewing. Yes, it can mess up your geometry if you changed to a "stretched" resolution, but it's also often desirable to have a 800x600 video play at it's native resolution instead of say, framing it on top of a 1600x1200 desktop. There can always be a pref in the software for this -- but I wouldn't put up with a video player that couldn't go full screen without directing me to go change system settings myself. If this is just a case of an interface design flaw and not some special app requirement, then I agree -- design around it without messing with the person's screen. > Hi Brian, > > I agree in the case of full-screen video games, but we don't make > those in Rev (yet?). I'm not sure that I agree in the case of video > players. When a video player changes the screen resolution, the > movie is often displayed with a bad screen geometry and I wouldn't > recommend it. There is rarely need to change the screen resolution > for kiosk applications, because those run on computers with system > settings specifically adjusted to the software. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > Dutch forum: http://runrev.info/rrforum From dunbarx at aol.com Sun Feb 22 21:24:56 2009 From: dunbarx at aol.com (dunbarx) Date: Sun, 22 Feb 2009 21:24:56 -0500 Subject: Changing the screenRect within a stack In-Reply-To: Message-ID: <0A4CE7FB.0D1A.42E8.B1D0.D471D3577FC9@aol.com> I agree with Mark. It is just a dangerous idea. I have monitors that go kaplooey if you choose unsupported, or unsupportable resolutions. This may be due more to the video card than the monitor itself, but you just never know... On Feb 22, 2009, at 6:14:53 PM, "Francis Nugent Dixon" wrote: From: "Francis Nugent Dixon" Subject: Changing the screenRect within a stack Date: February 22, 2009 6:14:53 PM EST To: use-revolution at lists.runrev.com Hi from Paris, I have a stack which has a specific window rect (don't we all ?). I want to run the stack on any Mac or PC computer, but I don't know the current screenRect setting for my possible target computers, and my stack window is large enough to provide display problems on other computers. Inside preOpenStack using the "get the screenRect" command, I can judge if the screenRect currently used on the computer will harbour my stack window. If the screenRect is not satisfactory, I can request that the user sets the screenRect using "System Preferences" on a Mac, or "Control Panel" on a PC, and then quit my stack. The user can modify the screenRect and relaunch my stack, but this is a PAIN ! What I REALLY want to do is to know ALL the possible screenrects for the target computer, change the screenRect dynamically for the duration of the stack run (choosing the next highest screenRect in the list which wil accomodate my window), and reset it back to the original value at the termination of the stack. Rev commands can't take me there, but I maybe I can do this by executing AppleScripts (or the equivalent on a PC) Anybody solved this problem ? Help gratefully received ... -Francis "Nothing should ever be done for the first time !" _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From wjm at wjm.org Mon Feb 23 09:12:12 2009 From: wjm at wjm.org (Bill Marriott) Date: Mon, 23 Feb 2009 09:12:12 -0500 Subject: Gutenberg Reader References: <92AE1BCE-8991-48C2-9F4D-6E8E586B91ED@gmail.com> Message-ID: Hi Peter, I am very interested in the Gutenberg texts, so I downloaded your application and gave it a try. Unfortunately, I'm the impatient sort and never figured out how to display one of the texts within your application. So, my one bit of [hopefully constructive] criticism then is that you make it very easy to browse and search for available texts, such that one is immediately presented with a list and only has to click a title they are interested in to jump right into reading it. - Bill From Andre.Bisseret at inria.fr Mon Feb 23 09:27:38 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 23 Feb 2009 15:27:38 +0100 Subject: strange error in a repeat loop Message-ID: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> Bonjour, I am completely stuck with a silly error I keep getting in a simple handler. Here it is : -------------------------------------- ON totaliser local total5 ,total6 ,total7,total8,total9,totalPort,totalG?n?,totalAnnul,cmdeDuMois,tLesVars --------------------- -- EMPTY IN VARIABLES put "total5,total6,total7,total8,total9,totalPort,totalG?n?,totalAnnul" into tLesVars REPEAT FOR each item meti in tLesVars put empty into meti END repeat put fld "chR?capDuMois" into cmdeDuMois -- field "chR?capDuMois" is a list with items separated by tab -- SUM OF COLUMNS set the itemdel to tab REPEAT FOR each line enil in cmdeDuMois add item 5 of enil to total5 add item 6 of enil to total6 add item 7 of enil to total7 add item 8 of enil to total8 add item 9 of enil to total9 -- THE ERROR IS POINTED OUT HERE add item 10 of enil to totalPort add item 11 of enil to totalG?n? add item 12 of enil to totalAnnul END repeat put total5 & tab & total6 & tab & total7 & tab & total8 & tab & total9\ & tab & totalPort & tab & totalG?n? & tab & totalAnnul into fld "chTotaux" end totaliser ------------------------------------------ For an hour now (at least) I got an error : Error 10: add: error in source expression Hint : repeat: error in statement Error at char 1 of line 246 in handler totaliser Code: 1 -------------------- this error is pointed out at line "add item 9 of enil to total9" If I suppress (comment) this only line the handler works well (except I don't get the total for column 9 !! ;-(( I wrote a lot of times such an handler ; first time I am stuck like this ! I don't understand at all and have no idea. Hoping some of you will see something (could be evident) I am missing ? Thanks a lot in advance for any idea Best regards from Grenoble Andr? From DunbarX at aol.com Mon Feb 23 09:34:15 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 23 Feb 2009 09:34:15 EST Subject: strange error in a repeat loop Message-ID: In a message dated 2/23/09 9:28:07 AM, Andre.Bisseret at inria.fr writes: > Thanks a lot in advance for any idea > No ideas, but did you try removing that line entirely and carefully retyping it? Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From th.douez at gmail.com Mon Feb 23 09:44:00 2009 From: th.douez at gmail.com (Thierry) Date: Mon, 23 Feb 2009 15:44:00 +0100 Subject: strange error in a repeat loop In-Reply-To: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> References: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> Message-ID: <1FF15429-5F50-4EA2-9207-262015E88E8C@gmail.com> Le 23 f?vr. 09 ? 15:27, Andre.Bisseret a ?crit : > <...> > REPEAT FOR each line enil in cmdeDuMois Test if you have 12 items in your line and that every item is not empty and is a number ! > add item 5 of enil to total5 > add item 6 of enil to total6 > add item 7 of enil to total7 > add item 8 of enil to total8 > add item 9 of enil to total9 -- THE ERROR IS POINTED OUT HERE Guess you have a wrong data line ???? HTH, Thierry > add item 10 of enil to totalPort > add item 11 of enil to totalG?n? > add item 12 of enil to totalAnnul > END repeat From DunbarX at aol.com Mon Feb 23 09:48:41 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 23 Feb 2009 09:48:41 EST Subject: strange error in a repeat loop Message-ID: In a message dated 2/23/09 9:44:26 AM, th.douez at gmail.com writes: > Test if you have 12 items in your line > and that every item is not empty and is a number ! > > >? ? ? ?? add item 5 of enil to total5 > >? ? ? ?? add item 6 of enil to total6 > >? ? ? ?? add item 7 of enil to total7 > >? ? ? ?? add item 8 of enil to total8 > >? ? ? ?? add item 9 of enil to total9 --? THE ERROR IS POINTED OUT HERE > > > > Guess you have a wrong data line ???? > Wouldn't that (I am more familiar with HC) give an error like "expected number here" instead of what seems to be a compile time error? Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From rjb at robelko.com Mon Feb 23 09:51:50 2009 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 23 Feb 2009 15:51:50 +0100 Subject: strange error in a repeat loop In-Reply-To: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> References: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> Message-ID: Is it possible that item 9 in one of the lines of fld "chR?capDuMois" is not a valid number? An invisible char sneaked in? This loop seems curious REPEAT FOR each item meti in tLesVars put empty into meti END repeat I think you mean REPEAT FOR each item meti in tLesVars do "put empty into" && meti END repeat You might want to rewrite this keeping your subtotals as elements of an array. This will make your code simpler. For example, the above repeat will be replace with put empty into tLesVars and the summation can be replaced with a repeat repeat with i=5 to 12 add item i of enil to tLesVars["total"&i] end repeat Robert On 23.02.09 at 15:27 +0100 Andre.Bisseret apparently wrote: >Bonjour, >I am completely stuck with a silly error I keep getting in a simple handler. >Here it is : >-------------------------------------- >ON totaliser > local >total5,total6,total7,total8,total9,totalPort,totalG?n?,totalAnnul,cmdeDuMois,tLesVars > --------------------- >-- EMPTY IN VARIABLES > put >"total5,total6,total7,total8,total9,totalPort,totalG?n?,totalAnnul" >into tLesVars > REPEAT FOR each item meti in tLesVars > put empty into meti > END repeat > put fld "chR?capDuMois" into cmdeDuMois -- >field "chR?capDuMois" is a list with items >separated by tab > > -- SUM OF COLUMNS > set the itemdel to tab > REPEAT FOR each line enil in cmdeDuMois > add item 5 of enil to total5 > add item 6 of enil to total6 > add item 7 of enil to total7 > add item 8 of enil to total8 > add item 9 of enil to total9 -- THE ERROR IS POINTED OUT HERE > add item 10 of enil to totalPort > add item 11 of enil to totalG?n? > add item 12 of enil to totalAnnul > END repeat > put total5 & tab & total6 & tab & total7 & tab & total8 & tab & total9\ > & tab & totalPort & tab & totalG?n? >& tab & totalAnnul into fld "chTotaux" >end totaliser >------------------------------------------ >For an hour now (at least) I got an error : >Error 10: add: error in source expression >Hint : repeat: error in statement >Error at char 1 of line 246 in handler totaliser >Code: 1 >-------------------- >this error is pointed out at line "add item 9 of enil to total9" >If I suppress (comment) this only line the >handler works well (except I don't get the total >for column 9 !! ;-(( > >I wrote a lot of times such an handler ; first >time I am stuck like this ! I don't understand >at all and have no idea. > >Hoping some of you will see something (could be evident) I am missing ? > >Thanks a lot in advance for any idea > >Best regards from Grenoble >Andr? From Andre.Bisseret at inria.fr Mon Feb 23 09:57:27 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 23 Feb 2009 15:57:27 +0100 Subject: strange error in a repeat loop In-Reply-To: <1FF15429-5F50-4EA2-9207-262015E88E8C@gmail.com> References: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> <1FF15429-5F50-4EA2-9207-262015E88E8C@gmail.com> Message-ID: Thanks Thierry for you quick answer ; just a question : why to test if I have 12 items in a line ? (why 12 ?) I am testing if I have somewhere an item that would not be a number (I think empty "accepts" add) Andr? Le 23 f?vr. 09 ? 15:44, Thierry a ?crit : > > Le 23 f?vr. 09 ? 15:27, Andre.Bisseret a ?crit : > >> <...> >> REPEAT FOR each line enil in cmdeDuMois > > Test if you have 12 items in your line > and that every item is not empty and is a number ! > >> add item 5 of enil to total5 >> add item 6 of enil to total6 >> add item 7 of enil to total7 >> add item 8 of enil to total8 >> add item 9 of enil to total9 -- THE ERROR IS POINTED OUT HERE > > > > Guess you have a wrong data line ???? > > HTH, > Thierry > > >> add item 10 of enil to totalPort >> add item 11 of enil to totalG?n? >> add item 12 of enil to totalAnnul >> END repeat > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From DunbarX at aol.com Mon Feb 23 09:57:53 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 23 Feb 2009 09:57:53 EST Subject: strange error in a repeat loop Message-ID: If there was the case where the handler tried to add , say, "E", to a number, the error would show up as something like this: ...execution error at line 4 (Operators +: error in left operand), char 21 where in HT you get "expected number here". But the error here seems more basic, like there is an errant char in the line itself. And I am not an expert in Rev at all, so I am interested in how this plays out. In HC I have struggled to find errors that just appear not possible to exist at all. Sometimes they go away all by themselves. Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From Andre.Bisseret at inria.fr Mon Feb 23 10:01:39 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 23 Feb 2009 16:01:39 +0100 Subject: strange error in a repeat loop In-Reply-To: <1FF15429-5F50-4EA2-9207-262015E88E8C@gmail.com> References: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> <1FF15429-5F50-4EA2-9207-262015E88E8C@gmail.com> Message-ID: Sorry Thierry for my question in my preceding post, In fact, I understand why 12 ! Thanks a lot Andr? Le 23 f?vr. 09 ? 15:44, Thierry a ?crit : > > Le 23 f?vr. 09 ? 15:27, Andre.Bisseret a ?crit : > >> <...> >> REPEAT FOR each line enil in cmdeDuMois > > Test if you have 12 items in your line > and that every item is not empty and is a number ! > >> add item 5 of enil to total5 >> add item 6 of enil to total6 >> add item 7 of enil to total7 >> add item 8 of enil to total8 >> add item 9 of enil to total9 -- THE ERROR IS POINTED OUT HERE > > > > Guess you have a wrong data line ???? > > HTH, > Thierry > > >> add item 10 of enil to totalPort >> add item 11 of enil to totalG?n? >> add item 12 of enil to totalAnnul >> END repeat > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From DunbarX at aol.com Mon Feb 23 10:15:45 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 23 Feb 2009 10:15:45 EST Subject: strange error in a repeat loop Message-ID: In a message dated 2/23/09 10:01:58 AM, Andre.Bisseret at inria.fr writes: > Sorry Thierry for my question in my preceding post, In fact, I? > understand why 12 ! > Thanks a lot > Andr? > > I don't. I get no error if the number of loops is different than the number of items, and empty is added just fine to a number, the same as adding 0. If there are more loops than items, the handler evaluates those items as empty, as it should. But it does not cause an error. ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2 Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From Andre.Bisseret at inria.fr Mon Feb 23 10:33:56 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 23 Feb 2009 16:33:56 +0100 Subject: strange error in a repeat loop In-Reply-To: References: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> Message-ID: <911DEF58-872E-423C-91E5-84BA18FDBDF2@inria.fr> YEsss ! Thanks a lot Thierry and Robert ; both of you where right : I had a couple of spaces in item 9 of line 1 of my field !! Kind of things I should have suspected ; but I was really "brain stuck" (not sure this is a good expression ;-))) Now, my handler is working nicely Robert thanks also for the revision of the first part of the handler and your suggestion of a simpler coding. I am continuously learning thanks to the conviviality of this list :-). Tanks again to both of you Best regard from Grenoble Andr? Le 23 f?vr. 09 ? 15:51, Robert Brenstein a ?crit : > Is it possible that item 9 in one of the lines of fld > "chR?capDuMois" is not a valid number? An invisible char sneaked in? > > This loop seems curious > > REPEAT FOR each item meti in tLesVars > put empty into meti > END repeat > > I think you mean > > > REPEAT FOR each item meti in tLesVars > do "put empty into" && meti > END repeat > > You might want to rewrite this keeping your subtotals as elements of > an array. This will make your code simpler. For example, the above > repeat will be replace with > > put empty into tLesVars > > and the summation can be replaced with a repeat > > repeat with i=5 to 12 > add item i of enil to tLesVars["total"&i] > end repeat > > Robert > > > On 23.02.09 at 15:27 +0100 Andre.Bisseret apparently wrote: >> Bonjour, >> I am completely stuck with a silly error I keep getting in a simple >> handler. >> Here it is : >> -------------------------------------- >> ON totaliser >> local >> total5 >> ,total6 >> ,total7 >> ,total8,total9,totalPort,totalG?n?,totalAnnul,cmdeDuMois,tLesVars >> --------------------- >> -- EMPTY IN VARIABLES >> put >> "total5,total6,total7,total8,total9,totalPort,totalG?n?,totalAnnul" >> into tLesVars >> REPEAT FOR each item meti in tLesVars >> put empty into meti >> END repeat >> put fld "chR?capDuMois" into cmdeDuMois -- field "chR?capDuMois" >> is a list with items separated by tab >> >> -- SUM OF COLUMNS >> set the itemdel to tab >> REPEAT FOR each line enil in cmdeDuMois >> add item 5 of enil to total5 >> add item 6 of enil to total6 >> add item 7 of enil to total7 >> add item 8 of enil to total8 >> add item 9 of enil to total9 -- THE ERROR IS POINTED OUT HERE >> add item 10 of enil to totalPort >> add item 11 of enil to totalG?n? >> add item 12 of enil to totalAnnul >> END repeat >> put total5 & tab & total6 & tab & total7 & tab & total8 & tab & >> total9\ >> & tab & totalPort & tab & totalG?n? & tab & totalAnnul >> into fld "chTotaux" >> end totaliser >> ------------------------------------------ >> For an hour now (at least) I got an error : >> Error 10: add: error in source expression >> Hint : repeat: error in statement >> Error at char 1 of line 246 in handler totaliser >> Code: 1 >> -------------------- >> this error is pointed out at line "add item 9 of enil to total9" >> If I suppress (comment) this only line the handler works well >> (except I don't get the total for column 9 !! ;-(( >> >> I wrote a lot of times such an handler ; first time I am stuck like >> this ! I don't understand at all and have no idea. >> >> Hoping some of you will see something (could be evident) I am >> missing ? >> >> Thanks a lot in advance for any idea >> >> Best regards from Grenoble >> Andr? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bdrunrev at gmail.com Mon Feb 23 10:36:27 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 23 Feb 2009 15:36:27 +0000 Subject: Gutenberg Reader In-Reply-To: References: <92AE1BCE-8991-48C2-9F4D-6E8E586B91ED@gmail.com> Message-ID: Hi Peter, I just wanted to say that I downloaded the app & it won't start on OS X 10.4.11 PPC. It just seems to immediately quit. Let me know if there's anything you want me to do to help diagnose the fault. Bernard On Mon, Feb 23, 2009 at 2:12 PM, Bill Marriott wrote: > Hi Peter, > > I am very interested in the Gutenberg texts, so I downloaded your > application and gave it a try. Unfortunately, I'm the impatient sort and > never figured out how to display one of the texts within your application. > So, my one bit of [hopefully constructive] criticism then is that you make > it very easy to browse and search for available texts, such that one is > immediately presented with a list and only has to click a title they are > interested in to jump right into reading it. > > - Bill > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bobs at twft.com Mon Feb 23 11:59:36 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 23 Feb 2009 08:59:36 -0800 Subject: strange error in a repeat loop In-Reply-To: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> References: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> Message-ID: Obviously the value here is not empty and is not a number. Did you try stepping through the code and seeing what the value is at the time you get the error? Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 23, 2009, at 6:27 AM, Andre.Bisseret wrote: > Bonjour, > I am completely stuck with a silly error I keep getting in a simple > handler. > Here it is : > -------------------------------------- > ON totaliser > local > total5 > ,total6 > ,total7 > ,total8,total9,totalPort,totalG?n?,totalAnnul,cmdeDuMois,tLesVars > --------------------- > -- EMPTY IN VARIABLES > put > "total5,total6,total7,total8,total9,totalPort,totalG?n?,totalAnnul" > into tLesVars > REPEAT FOR each item meti in tLesVars > put empty into meti > END repeat > put fld "chR?capDuMois" into cmdeDuMois -- field "chR?capDuMois" > is a list with items separated by tab > > -- SUM OF COLUMNS > set the itemdel to tab > REPEAT FOR each line enil in cmdeDuMois > add item 5 of enil to total5 > add item 6 of enil to total6 > add item 7 of enil to total7 > add item 8 of enil to total8 > add item 9 of enil to total9 -- THE ERROR IS POINTED OUT HERE > add item 10 of enil to totalPort > add item 11 of enil to totalG?n? > add item 12 of enil to totalAnnul > END repeat > put total5 & tab & total6 & tab & total7 & tab & total8 & tab & > total9\ > & tab & totalPort & tab & totalG?n? & tab & totalAnnul > into fld "chTotaux" > end totaliser > ------------------------------------------ > For an hour now (at least) I got an error : > Error 10: add: error in source expression > Hint : repeat: error in statement > Error at char 1 of line 246 in handler totaliser > Code: 1 > -------------------- > this error is pointed out at line "add item 9 of enil to total9" > If I suppress (comment) this only line the handler works well > (except I don't get the total for column 9 !! ;-(( > > I wrote a lot of times such an handler ; first time I am stuck like > this ! I don't understand at all and have no idea. > > Hoping some of you will see something (could be evident) I am > missing ? > > Thanks a lot in advance for any idea > > Best regards from Grenoble > Andr? > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rjb at robelko.com Mon Feb 23 12:40:55 2009 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 23 Feb 2009 18:40:55 +0100 Subject: strange error in a repeat loop In-Reply-To: <911DEF58-872E-423C-91E5-84BA18FDBDF2@inria.fr> References: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> <911DEF58-872E-423C-91E5-84BA18FDBDF2@inria.fr> Message-ID: On 23.02.09 at 16:33 +0100 Andre.Bisseret apparently wrote: >YEsss ! >Thanks a lot Thierry and Robert ; both of you where right : I had a >couple of spaces in item 9 of line 1 of my field !! >Kind of things I should have suspected ; but I was really "brain >stuck" (not sure this is a good expression ;-))) >Now, my handler is working nicely You can easily add a pre-check to avoid runtime errors: repeat with i=5 to 12 get item i of enil if it is not a number then -- 'not an integer' if more appropriate answer error "Not a number:" && it else add it to tLesVars["total"&i] end if end repeat The error msg may include the problem line number and item number, of course. Robert From toolbook at kestner.de Mon Feb 23 13:28:22 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 23 Feb 2009 19:28:22 +0100 Subject: OT: help for a one liner applescript? Message-ID: Hello, Having no Mac experience I wanted to write my first one liner applescript but failed even with such a basic. What I want to do is to launch an app "foo" on a CD "fooCD". My one and only script line looks like: Tell application "Finder" to open folder "Volumes:fooCD:foo.app" When trying to run this script it gives me the AppleScript error: "folder "Volumes:fooCD:foo.app"" can't be read. I get the same error, when starting with fooCD (without Volumes) When trying to make a two liner: Set x to "Volumes:fooCD:foo.app" as alias Tell application "Finder" to open folder x Pops the error: File "Volumes:fooCD:foo.app" could not be found Set x to "fooCD:foo.app" as alias Tell application "Finder" to open folder x Pops the error: alias "fooCD:foo.app" could not be converted into typ folder Any advice very appreciated Thanks Tiemo From dan at clearvisiontech.com Mon Feb 23 13:42:29 2009 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 23 Feb 2009 10:42:29 -0800 Subject: Do I use encrypt? In-Reply-To: <20090223180003.D190848A33B@mail.runrev.com> Message-ID: Greetings! Currently, my application writes data to a server using the put command: put someData into url ("ftp://uName:pWord at 123.45.6.78/folder/file.txt") A client is requesting that I not use clear text for the username/password. To do this, do I use the encrypt command? If so, how is this done? There is no sample in the docs. Thank you in advance! -Dan From andre at andregarzia.com Mon Feb 23 14:09:22 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 23 Feb 2009 16:09:22 -0300 Subject: Gutenberg Reader In-Reply-To: <92AE1BCE-8991-48C2-9F4D-6E8E586B91ED@gmail.com> References: <92AE1BCE-8991-48C2-9F4D-6E8E586B91ED@gmail.com> Message-ID: <7c87a2a10902231109x7c8ae098ieff88b03c55ace2f@mail.gmail.com> Peter, thanks for the software. Just to let you know, it actually runs fine on Linux under WINE. I downloaded the windows versions, launched it and it worked surprisingly well under WINE, I never thought WINE had hit such maturity. Check your main screen here: http://andregarzia.com/shots/screenshot_03.png And text viewing here: http://andregarzia.com/shots/screenshot_04.png I guess you're using RevBrowser for the Project Gutenberg website display, I was amazed to see RevBrowser working under linux thru WINE... Interesting times indeed. For those that doesn't know WINE is a compatibility layer that allows linux to run unmodified windows software, WINE is not an emulator, it translates win32 calls into something linux like. Cheers andre On Sun, Feb 22, 2009 at 2:41 PM, Peter Brigham MD wrote: > I've uploaded a stack to my userspace at RevOnline (user name pmbrig) called > The Gutenberg Reader. Bug reports, comments, and feedback are appreciated. > > From the help text: > > "The Gutenberg Reader is literally an entire library of over 30,000 volumes, > right on your desktop. Well, almost literally. The Reader is designed to > import and display etexts generated by Project Gutenberg?. These are free > public domain texts available online ? the Gutenberg catalog has over 30,000 > books (and growing), and with their partners and affiliates makes over > 100,000 titles available to anyone with internet access. Any of the > Gutenberg texts are accessible within a couple minutes from within the > Reader. > > "The Gutenberg pages are actually designed to be viewed with any web > browser, without any additional application or software required, and you > don't really have to use the Reader to access them. However, the Reader > downloads a Gutenberg text and replaces simple quotes with curly quotation > marks, double dashes with m-dashes, gets rid of the end-of-line characters > within paragraphs, and presents the text in a book-like layout, using the > fontface of your choice. You can navigate easily through the book with > mouseclicks or using the arrowkeys, set a bookmark, and make notes on any > passage. The result is a completely different reading experience from what > you are probably used to on a computer screen." > > The Reader is also available in a standalone application at > > http://home.comcast.net/~pmbrig/Gutenberg.html > > Many thanks to all on this list who have helped me (mostly unknowingly) over > the years I have been (mostly) lurking in the background. I have picked up > countless tips on the vicissitudes of Rev without which I'd have been lost. > Some of us benefit quietly from all the amazing information shared here, and > we may not always speak up about it. > > a grateful amateur, > > Peter M. Brigham > pmbrig at gmail.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From kray at sonsothunder.com Mon Feb 23 14:33:17 2009 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 23 Feb 2009 13:33:17 -0600 Subject: OT: help for a one liner applescript? In-Reply-To: Message-ID: > Having no Mac experience I wanted to write my first one liner applescript > but failed even with such a basic. What I want to do is to launch an app > "foo" on a CD "fooCD". My one and only script line looks like: > > Tell application "Finder" to open folder "Volumes:fooCD:foo.app" > > When trying to run this script it gives me the AppleScript error: "folder > "Volumes:fooCD:foo.app"" can't be read. I get the same error, when starting > with fooCD (without Volumes) Here you go: tell app "Finder" to launch application "/Applications/TextEdit.app" tell app "TextEdit" to activate HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bdrunrev at gmail.com Mon Feb 23 14:36:13 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 23 Feb 2009 19:36:13 +0000 Subject: Gutenberg Reader In-Reply-To: <7c87a2a10902231109x7c8ae098ieff88b03c55ace2f@mail.gmail.com> References: <92AE1BCE-8991-48C2-9F4D-6E8E586B91ED@gmail.com> <7c87a2a10902231109x7c8ae098ieff88b03c55ace2f@mail.gmail.com> Message-ID: Hi Andre, WINE has come along in leaps and bounds. I run Lotus Notes under WINE on my netbook. I'm pleased to hear that a Rev app runs under WINE. I'd be interested to see if you could run the Rev IDE under WINE too. I tried 6 months ago and it wouldn't work (lots of the button icons were blacked out, for example). Bernard On Mon, Feb 23, 2009 at 7:09 PM, Andre Garzia wrote: > Peter, > > thanks for the software. Just to let you know, it actually runs fine > on Linux under WINE. I downloaded the windows versions, launched it > and it worked surprisingly well under WINE, I never thought WINE had > hit such maturity. > > Check your main screen here: > > http://andregarzia.com/shots/screenshot_03.png > > And text viewing here: > > http://andregarzia.com/shots/screenshot_04.png > > I guess you're using RevBrowser for the Project Gutenberg website > display, I was amazed to see RevBrowser working under linux thru > WINE... > > Interesting times indeed. For those that doesn't know WINE is a > compatibility layer that allows linux to run unmodified windows > software, WINE is not an emulator, it translates win32 calls into > something linux like. > > Cheers > andre > > On Sun, Feb 22, 2009 at 2:41 PM, Peter Brigham MD > wrote: > > I've uploaded a stack to my userspace at RevOnline (user name pmbrig) > called > > The Gutenberg Reader. Bug reports, comments, and feedback are > appreciated. > > > > From the help text: > > > > "The Gutenberg Reader is literally an entire library of over 30,000 > volumes, > > right on your desktop. Well, almost literally. The Reader is designed to > > import and display etexts generated by Project Gutenberg?. These are free > > public domain texts available online ? the Gutenberg catalog has over > 30,000 > > books (and growing), and with their partners and affiliates makes over > > 100,000 titles available to anyone with internet access. Any of the > > Gutenberg texts are accessible within a couple minutes from within the > > Reader. > > > > "The Gutenberg pages are actually designed to be viewed with any web > > browser, without any additional application or software required, and you > > don't really have to use the Reader to access them. However, the Reader > > downloads a Gutenberg text and replaces simple quotes with curly > quotation > > marks, double dashes with m-dashes, gets rid of the end-of-line > characters > > within paragraphs, and presents the text in a book-like layout, using the > > fontface of your choice. You can navigate easily through the book with > > mouseclicks or using the arrowkeys, set a bookmark, and make notes on any > > passage. The result is a completely different reading experience from > what > > you are probably used to on a computer screen." > > > > The Reader is also available in a standalone application at > > > > http://home.comcast.net/~pmbrig/Gutenberg.html > > > > Many thanks to all on this list who have helped me (mostly unknowingly) > over > > the years I have been (mostly) lurking in the background. I have picked > up > > countless tips on the vicissitudes of Rev without which I'd have been > lost. > > Some of us benefit quietly from all the amazing information shared here, > and > > we may not always speak up about it. > > > > a grateful amateur, > > > > Peter M. Brigham > > pmbrig at gmail.com > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bdrunrev at gmail.com Mon Feb 23 14:41:03 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 23 Feb 2009 19:41:03 +0000 Subject: Do I use encrypt? In-Reply-To: References: <20090223180003.D190848A33B@mail.runrev.com> Message-ID: Hi Dan, I think you are out of luck when it comes to securing FTP. We've had several discussions on the list about this (and I believe there is an enhancement request to support sftp). The encrypt command is more for encrypting chunks of data rather than adding security to ftp transfers. Securing ftp requires the use of a server that provides a security layer and on Rev supporting that form of ftp security. Currently Rev does not support any kind of ftp security. Your best bet at the moment (if you must use ftp), is probably to use curl, and shell to that if it is available on your client platform (e.g. Linux or OS X, I think on Windows you might be able to package your own curl executable along with your Rev app). Bernard On Mon, Feb 23, 2009 at 6:42 PM, Dan Friedman wrote: > Greetings! > > Currently, my application writes data to a server using the put command: > > put someData into url ("ftp://uName:pWord at 123.45.6.78/folder/file.txt") > > A client is requesting that I not use clear text for the username/password. > To do this, do I use the encrypt command? If so, how is this done? There > is no sample in the docs. > > Thank you in advance! > > -Dan > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dan at clearvisiontech.com Mon Feb 23 14:59:30 2009 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 23 Feb 2009 11:59:30 -0800 Subject: Do I use encrypt? In-Reply-To: <20090223180003.D190848A33B@mail.runrev.com> Message-ID: Bernard, You said "if you must use ftp"... Is there another choice that provides a secure transfer that REV does support? -Dan > Hi Dan, > I think you are out of luck when it comes to securing FTP. We've had > several discussions on the list about this (and I believe there is an > enhancement request to support sftp). The encrypt command is more for > encrypting chunks of data rather than adding security to ftp transfers. > Securing ftp requires the use of a server that provides a security layer > and on Rev supporting that form of ftp security. Currently Rev does not > support any kind of ftp security. > Your best bet at the moment (if you must use ftp), is probably to use curl, > and shell to that if it is available on your client platform (e.g. Linux or > OS X, I think on Windows you might be able to package your own curl > executable along with your Rev app). > > Bernard > > On Mon, Feb 23, 2009 at 6:42 PM, Dan Friedman clearvisiontech.com>wrote: > >> Greetings! >> >> Currently, my application writes data to a server using the put command: >> >> put someData into url ("ftp://uName:pWord at 123.45.6.78/folder/file.txt") >> >> A client is requesting that I not use clear text for the username/password. >> To do this, do I use the encrypt command? If so, how is this done? There >> is no sample in the docs. >> >> Thank you in advance! >> >> -Dan From toolbook at kestner.de Mon Feb 23 15:06:19 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 23 Feb 2009 21:06:19 +0100 Subject: AW: OT: help for a one liner applescript? In-Reply-To: Message-ID: <1A3519F4C7BE4F6283A8787BE54456D5@Kestner.local> Oh boy, blind running on the wrong lane! Thanks so much :) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Ken Ray > Gesendet: Montag, 23. Februar 2009 20:33 > An: Use Revolution List > Betreff: Re: OT: help for a one liner applescript? > > > > Having no Mac experience I wanted to write my first one liner > applescript > > but failed even with such a basic. What I want to do is to launch an app > > "foo" on a CD "fooCD". My one and only script line looks like: > > > > Tell application "Finder" to open folder "Volumes:fooCD:foo.app" > > > > When trying to run this script it gives me the AppleScript error: > "folder > > "Volumes:fooCD:foo.app"" can't be read. I get the same error, when > starting > > with fooCD (without Volumes) > > Here you go: > > tell app "Finder" to launch application "/Applications/TextEdit.app" > tell app "TextEdit" to activate > > HTH, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From effendi at wanadoo.fr Mon Feb 23 16:50:08 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 23 Feb 2009 22:50:08 +0100 Subject: Changing the screenRect within a stack Message-ID: Hi from Paris, Thanks to all for your philosophical suggestions (but no practical solutions). And I was right ! Rev doesn't appear have the means to do all this ! I had (of course), thought about the raping of the users computer, but I already have programs that do this, but as long as they return to normal behaviour afterwards, I don't worry about a program which changes my screenrect. My monitors can handle more than 10 screenrects, and I change whenever I need to do so ! I had thought of ALL of the mechanisms which could help me (scrolling bars, reduction of all fields and buttons, depending on the available screenRect, but quite honestly, I don't have 6 months to dynamically modify windows, fields buttons, textsizes, etc, etc.for a stack that took me a day to write. And I think it ridiculous to write a stack which will run on any monitor when 17" and 19" are the common use, and screenRect was designed JUST FOR THAT PURPOSE ! I just want to change the screenRect, based upon what sizes are available in the host computers. And I will ! Of course, I will ask the user if he agrees ...... He can always say no....... ! So I reckon, I will have to find out how to do it myself. -Francis "nothing should ever be done for the first time !" From briany at qldlearning.com Mon Feb 23 17:02:54 2009 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 23 Feb 2009 14:02:54 -0800 Subject: Changing the screenRect within a stack In-Reply-To: References: Message-ID: <70CFB077-8A2C-4579-B152-755E71ABC757@qldlearning.com> Francis, Philosophical screen wars aside, here is a link that might get you started on MacOS. I think the short answer is that there is no easy way to do this in Rev or AppleScript, so you need to resort to a command-line utility. You can of course call it directly from Rev using shell() -- no need to get AppleScript involved. http://www.barbariangroup.com/posts/619-changing_screen_resolution_from_the_command_line_on_a_mac > Hi from Paris, > > Thanks to all for your philosophical suggestions > (but no practical solutions). And I was right ! Rev > doesn't appear have the means to do all this ! > I had (of course), thought about the raping of the > users computer, but I already have programs that do > this, but as long as they return to normal behaviour > afterwards, I don't worry about a program which > changes my screenrect. My monitors can handle more than > 10 screenrects, and I change whenever I need to do so ! > > I had thought of ALL of the mechanisms which could help > me (scrolling bars, reduction of all fields and buttons, > depending on the available screenRect, but quite honestly, > I don't have 6 months to dynamically modify windows, fields > buttons, textsizes, etc, etc.for a stack that took me a day > to write. And I think it ridiculous to write a stack which > will run on any monitor when 17" and 19" are the common use, > and screenRect was designed JUST FOR THAT PURPOSE ! > > I just want to change the screenRect, based upon what sizes > are available in the host computers. And I will ! > > Of course, I will ask the user if he agrees ...... > He can always say no....... ! > > So I reckon, I will have to find out how to do it myself. > > -Francis > > "nothing should ever be done for the first time !" From pmbrig at gmail.com Mon Feb 23 17:07:00 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 23 Feb 2009 17:07:00 -0500 Subject: Gutenberg Reader In-Reply-To: <20090223180003.D190848A33B@mail.runrev.com> References: <20090223180003.D190848A33B@mail.runrev.com> Message-ID: <56E145A7-2DC9-4DBA-805D-A6291AF8D4BC@gmail.com> On Mon, 23 Feb 2009 15:36:27, Bernard Devlin > Hi Peter, > I just wanted to say that I downloaded the app & it won't start on > OS X > 10.4.11 PPC. It just seems to immediately quit. Let me know if > there's > anything you want me to do to help diagnose the fault. > > Bernard > > On Mon, Feb 23, 2009 at 2:12 PM, Bill Marriott wrote: > >> Hi Peter, >> >> I am very interested in the Gutenberg texts, so I downloaded your >> application and gave it a try. Unfortunately, I'm the impatient >> sort and >> never figured out how to display one of the texts within your >> application. >> So, my one bit of [hopefully constructive] criticism then is that >> you make >> it very easy to browse and search for available texts, such that >> one is >> immediately presented with a list and only has to click a title >> they are >> interested in to jump right into reading it. >> >> - Bill and Meliton Cardona Torres (I think it's "Meliton", in my email it came through as "Melit?n") wrote; > On Mac: downloaded, uncompressed, opened and ... nothing happens > > Am I missing anything? > > Cheeres > > Tob and Pierre Sahores wrote: > Peter, > > Great stack to parse and save the Gutemberg's books without having to > download them ! Congratulations and thanks for sharing it with all of > us ! > > The Mac OS X standalone don't start there for yet but the stack is > running OK in the Rev 3.0 IDE. (Mac OS X 10.5.6 / MacBook Pro Core Duo > 2 Go RAM). > The Win32 standalone start and run fine under VirtualBox 2.14 / Win XP > Pro. Re: Bill Marriott's suggestion, I am reluctant to limit the user by presenting a pre-selected list of texts. I suppose I could build in an "example" button of some kind. I don't think there's any way of making the stack operation much simpler for those who are "impatient" but I'm open to suggestions. It's just a matter of clicking the "go Gutenberg" button, selecting a text, and clicking "import this page..." I am puzzled by the standalone not starting up on a couple Macs. For Bernard it's on a PPC using 10.4.11, and for Pierre is on a Pro Core Duo using 10.5.6. Don't know what happening, but something goes awry in the standalone build process. I have had a couple of other standalones I built and shared with friends fail to open as well, with no apparent pattern. Shouldn't the standalone builder handle everything for whatever system/architecture/platform? I don't know the first thing about how to solve this. Any ideas, anyone, on what could be going wrong here? Meliton, were you downloading the app or the stack? Peter M. Brigham pmbrig at gmail.com From SparkOutYNY at gmail.com Mon Feb 23 17:15:22 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Mon, 23 Feb 2009 14:15:22 -0800 (PST) Subject: Changing the screenRect within a stack In-Reply-To: <70CFB077-8A2C-4579-B152-755E71ABC757@qldlearning.com> References: <70CFB077-8A2C-4579-B152-755E71ABC757@qldlearning.com> Message-ID: <22171289.post@talk.nabble.com> Philosophical screen wars aside, though I'm more on Mark's side that for advocating the application changing the settings, as long as it's a refusable option though, that's OK. Here's a post with some links to command line tools - I've not checked any out though, so can't advise if any is better than any other, or whether they'll do the job well enough. http://groups.google.co.uk/group/microsoft.public.windows.server.scripting/msg/423d3f435989d049 http://groups.google.co.uk/group/microsoft.public.windows.server.scripting/msg/423d3f435989d049 Brian Yennie wrote: > > Francis, > > Philosophical screen wars aside, here is a link that might get you > started on MacOS. I think the short answer is that there is no easy > way to do this in Rev or AppleScript, so you need to resort to a > command-line utility. You can of course call it directly from Rev > using shell() -- no need to get AppleScript involved. > > http://www.barbariangroup.com/posts/619-changing_screen_resolution_from_the_command_line_on_a_mac > >> Hi from Paris, >> >> Thanks to all for your philosophical suggestions >> (but no practical solutions). And I was right ! Rev >> doesn't appear have the means to do all this ! >> I had (of course), thought about the raping of the >> users computer, but I already have programs that do >> this, but as long as they return to normal behaviour >> afterwards, I don't worry about a program which >> changes my screenrect. My monitors can handle more than >> 10 screenrects, and I change whenever I need to do so ! >> >> I had thought of ALL of the mechanisms which could help >> me (scrolling bars, reduction of all fields and buttons, >> depending on the available screenRect, but quite honestly, >> I don't have 6 months to dynamically modify windows, fields >> buttons, textsizes, etc, etc.for a stack that took me a day >> to write. And I think it ridiculous to write a stack which >> will run on any monitor when 17" and 19" are the common use, >> and screenRect was designed JUST FOR THAT PURPOSE ! >> >> I just want to change the screenRect, based upon what sizes >> are available in the host computers. And I will ! >> >> Of course, I will ask the user if he agrees ...... >> He can always say no....... ! >> >> So I reckon, I will have to find out how to do it myself. >> >> -Francis >> >> "nothing should ever be done for the first time !" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Changing-the-screenRect-within-a-stack-tp22153050p22171289.html Sent from the Revolution - User mailing list archive at Nabble.com. From tsj at unimelb.edu.au Mon Feb 23 17:22:46 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 24 Feb 2009 09:22:46 +1100 Subject: Gutenberg Reader In-Reply-To: <56E145A7-2DC9-4DBA-805D-A6291AF8D4BC@gmail.com> Message-ID: > I am puzzled by the standalone not starting up on a couple Macs. For > Bernard it's on a PPC using 10.4.11, and for Pierre is on a Pro Core > Duo using 10.5.6. Don't know what happening, but something goes awry > in the standalone build process. I have had a couple of other > standalones I built and shared with friends fail to open as well, with > no apparent pattern. Shouldn't the standalone builder handle > everything for whatever system/architecture/platform? I don't know the > first thing about how to solve this. Any ideas, anyone, on what could > be going wrong here? If you try opening the rev stacks inside the package Rev reports that they are corrupted. Perhaps you could manually replace those stacks. Terry... From jim at visitrieve.com Mon Feb 23 18:00:01 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 23 Feb 2009 13:00:01 -1000 Subject: Do I use encrypt? In-Reply-To: References: <20090223180003.D190848A33B@mail.runrev.com> Message-ID: <002801c9960a$7571a030$6054e090$@com> Hi Dan, Here is what you do: You create a CGI script in either Rev (if your server supports Rev CGI) or PHP on your server. The CGI script should accept params. Your Rev app address the CGI script with a post such as: Post "" to url "http://123.45.6.78/cgi-bin/" (assuming this is where your cgi-bin and CGI script is located. The CGI script takes the data and "knows" the passwords to your server's encrypted areas but this is all handled on the sever side. As to the data itself, you can encrypt it and pass the encrypted data up to the sever and CGI script can decrypt and write to the server directory and files. In the same fashion, you can pass encrypted data (and files and stacks) down to your application without ever sending passwords or user names over the Internet or even any clear text data in either direction. The beauty about using this method to download information is that it will go directly to your application and never even get written to the local hard drives. If the information is in stacks, you can go to the stacks, which can be locked, in memory. So even a sniffer run locally doesn't help a hacker. :-) Have fun! Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Dan Friedman > Sent: Monday, February 23, 2009 8:42 AM > To: RunRev Mail List > Subject: Do I use encrypt? > > Greetings! > > Currently, my application writes data to a server using the put > command: > > put someData into url > ("ftp://uName:pWord at 123.45.6.78/folder/file.txt") > > A client is requesting that I not use clear text for the > username/password. > To do this, do I use the encrypt command? If so, how is this done? > There > is no sample in the docs. > > Thank you in advance! > > -Dan > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bdrunrev at gmail.com Mon Feb 23 18:00:59 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 23 Feb 2009 23:00:59 +0000 Subject: Do I use encrypt? In-Reply-To: References: <20090223180003.D190848A33B@mail.runrev.com> Message-ID: Dan, it depends on how much control you have over the server side of things. You could use https and post the data there. But that probably depends on having a server-side application or CGI script that can process the data and put it into a file. Another option might be to use scp & shell. Again, depends on what client this is running on - on OS X and Linux scp is likely to be installed by default. On Windows it's again an issue having to bundle some similar software with your app. Bernard On Mon, Feb 23, 2009 at 7:59 PM, Dan Friedman wrote: > Bernard, > > You said "if you must use ftp"... Is there another choice that provides a > secure transfer that REV does support? > > -Dan > > > > Hi Dan, > > I think you are out of luck when it comes to securing FTP. We've had > > several discussions on the list about this (and I believe there is an > > enhancement request to support sftp). The encrypt command is more for > > encrypting chunks of data rather than adding security to ftp transfers. > > Securing ftp requires the use of a server that provides a security layer > > and on Rev supporting that form of ftp security. Currently Rev does not > > support any kind of ftp security. > > Your best bet at the moment (if you must use ftp), is probably to use > curl, > > and shell to that if it is available on your client platform (e.g. Linux > or > > OS X, I think on Windows you might be able to package your own curl > > executable along with your Rev app). > > > > Bernard > > > > On Mon, Feb 23, 2009 at 6:42 PM, Dan Friedman > clearvisiontech.com>wrote: > > > >> Greetings! > >> > >> Currently, my application writes data to a server using the put command: > >> > >> put someData into url (" > ftp://uName:pWord at 123.45.6.78/folder/file.txt") > >> > >> A client is requesting that I not use clear text for the > username/password. > >> To do this, do I use the encrypt command? If so, how is this done? > There > >> is no sample in the docs. > >> > >> Thank you in advance! > >> > >> -Dan > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From DunbarX at aol.com Mon Feb 23 19:07:43 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 23 Feb 2009 19:07:43 EST Subject: Embarrassed Newbie Message-ID: OK. I get groups. And I see the additional flexibility as opposed to the fixed bg object class in HC. So how (without a repeat loop that places a group on every card) does one place a newly created background group on every card? That is, if you already have a stack with 5000 cards, how do you put your brand new group (bg) on each one? All doc emphasis is that a bg copies its objects onto newly created cards, not the other way around. I don't see a "place group yourGroup on all cards" variation of the "place" command, though it seems there should be. This was easy in HC, one just moved the object(s) to the bg, which already exists, comforted to know you can access it at any time. Or not; groups as a substitute for bgs in some ways almost seem too insubstantial, though they seem powerful as local objects. Rev should have bgs as well as groups. It seems the group concept itself requires more careful initial planning when starting to design a new stack. Do I write a library routine and put it in my toolbox? Or do I wait for Jackie to tell me the obvious? And why I am wrong about needing bgs at all. I wonder which would be faster? Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From bobs at twft.com Mon Feb 23 19:14:53 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 23 Feb 2009 16:14:53 -0800 Subject: Embarrassed Newbie In-Reply-To: References: Message-ID: That is going to take a repeat loop I am sure. The command is: PLACE ONTO CARD You can use "this card" instead of card name if you go to each card in the loop, or you can get the name of every card first and use it as an index to your repeat loop. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 23, 2009, at 4:07 PM, DunbarX at aol.com wrote: > OK. I get groups. And I see the additional flexibility as opposed to > the > fixed bg object class in HC. > > So how (without a repeat loop that places a group on every card) > does one > place a newly created background group on every card? That is, if > you already > have a stack with 5000 cards, how do you put your brand new group > (bg) on each > one? All doc emphasis is that a bg copies its objects onto newly > created cards, > not the other way around. I don't see a "place group yourGroup on > all cards" > variation of the "place" command, though it seems there should be. > > This was easy in HC, one just moved the object(s) to the bg, which > already > exists, comforted to know you can access it at any time. Or not; > groups as a > substitute for bgs in some ways almost seem too insubstantial, > though they seem > powerful as local objects. Rev should have bgs as well as groups. It > seems the > group concept itself requires more careful initial planning when > starting to > design a new stack. > > Do I write a library routine and put it in my toolbox? Or do I wait > for > Jackie to tell me the obvious? And why I am wrong about needing bgs > at all. I > wonder which would be faster? > > Craig Newman > > > ************** > A Good Credit Score is 700 or Above. See yours in > just 2 easy steps! > (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 > 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Mon Feb 23 19:16:51 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 23 Feb 2009 16:16:51 -0800 Subject: Embarrassed Newbie In-Reply-To: References: Message-ID: BTW, according to the Dictionary, the group cannot be "nested" that is a part of another group. > That is going to take a repeat loop I am sure. The command is: > > PLACE ONTO CARD > > You can use "this card" instead of card name if you go to each card in > the loop, or you can get the name of every card first and use it as an > index to your repeat loop. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 23, 2009, at 4:07 PM, DunbarX at aol.com wrote: > >> OK. I get groups. And I see the additional flexibility as opposed to >> the >> fixed bg object class in HC. >> >> So how (without a repeat loop that places a group on every card) >> does one >> place a newly created background group on every card? That is, if >> you already >> have a stack with 5000 cards, how do you put your brand new group >> (bg) on each >> one? All doc emphasis is that a bg copies its objects onto newly >> created cards, >> not the other way around. I don't see a "place group yourGroup on >> all cards" >> variation of the "place" command, though it seems there should be. >> >> This was easy in HC, one just moved the object(s) to the bg, which >> already >> exists, comforted to know you can access it at any time. Or not; >> groups as a >> substitute for bgs in some ways almost seem too insubstantial, >> though they seem >> powerful as local objects. Rev should have bgs as well as groups. It >> seems the >> group concept itself requires more careful initial planning when >> starting to >> design a new stack. >> >> Do I write a library routine and put it in my toolbox? Or do I wait >> for >> Jackie to tell me the obvious? And why I am wrong about needing bgs >> at all. I >> wonder which would be faster? >> >> Craig Newman >> >> >> ************** >> A Good Credit Score is 700 or Above. See yours in >> just 2 easy steps! >> (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 >> 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Feb 23 20:46:13 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Feb 2009 17:46:13 -0800 Subject: Embarrassed Newbie Message-ID: <49A35165.4090403@fourthworld.com> DunbarX wrote: > OK. I get groups. And I see the additional flexibility as opposed to the > fixed bg object class in HC. > > So how (without a repeat loop that places a group on every card) does one > place a newly created background group on every card? That is, if you already > have a stack with 5000 cards, how do you put your brand new group (bg) on each > one? All doc emphasis is that a bg copies its objects onto newly created cards, > not the other way around. I don't see a "place group yourGroup on all cards" > variation of the "place" command, though it seems there should be. > > This was easy in HC, one just moved the object(s) to the bg, which already > exists, comforted to know you can access it at any time. Or not; groups as a > substitute for bgs in some ways almost seem too insubstantial, though they seem > powerful as local objects. Rev should have bgs as well as groups. It seems the > group concept itself requires more careful initial planning when starting to > design a new stack. Is this stack imported from HC? If so there should already be a bg on each card, and you can placed your new controls there. If not, writing a "place" loop won't take but a minute. A bigger concern might be the 5000 cards, which is what led me to believe this might have been imported from HC. Do you expect it to grow much more? One of the weaknesses of Rev is when the card structure is used as a database. Even Bill Atkinson said ,"HyperCard is not a database", but then didn't stop people from using cards that way, and since it paged in only the cards it could keep in memory it wasn't bad for some of that. But with Rev, you'll find having that many cards will have a noticeable performance degradation with saves and some other operations. You can likely reduce overall stack size, simplify your development, boost performance, and increase scalability by considering moving your data from fields on cards to custom properties in a single-card stack. It may sound much harder than it is. If it seems daunting, let's discuss that and see if we can get some handlers together for you to make it a snap. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From dunbarx at aol.com Mon Feb 23 21:44:51 2009 From: dunbarx at aol.com (dunbarx) Date: Mon, 23 Feb 2009 21:44:51 -0500 Subject: Embarrassed Newbie In-Reply-To: <49A35165.4090403@fourthworld.com> Message-ID: Thanks, Richard, et. al. Funny, I supposed, like usually happens in Rev, that there was a command that did that directly, as I said: ?"place group groupName in all/this/marked cards On Feb 23, 2009, at 8:46:13 PM, "Richard Gaskin" wrote: From: "Richard Gaskin" Subject: Re: Embarrassed Newbie Date: February 23, 2009 8:46:13 PM EST To: "How to use Revolution" DunbarX wrote: > OK. I get groups. And I see the additional flexibility as opposed to the? > fixed bg object class in HC. >? > So how (without a repeat loop that places a group on every card) does one? > place a newly created background group on every card? That is, if you already? > have a stack with 5000 cards, how do you put your brand new group (bg) on each? > one? All doc emphasis is that a bg copies its objects onto newly created cards,? > not the other way around. I don't see a "place group yourGroup on all cards"? > variation of the "place" command, though it seems there should be. >? > This was easy in HC, one just moved the object(s) to the bg, which already? > exists, comforted to know you can access it at any time. Or not; groups as a? > substitute for bgs in some ways almost seem too insubstantial, though they seem? > powerful as local objects. Rev should have bgs as well as groups. It seems the? > group concept itself requires more careful initial planning when starting to? > design a new stack. Is this stack imported from HC? If so there should already be a bg on? each card, and you can placed your new controls there. If not, writing a "place" loop won't take but a minute. A bigger concern might be the 5000 cards, which is what led me to? believe this might have been imported from HC. Do you expect it to grow? much more? One of the weaknesses of Rev is when the card structure is used as a? database. Even Bill Atkinson said ,"HyperCard is not a database", but? then didn't stop people from using cards that way, and since it paged in? only the cards it could keep in memory it wasn't bad for some of that.? But with Rev, you'll find having that many cards will have a noticeable? performance degradation with saves and some other operations. You can likely reduce overall stack size, simplify your development,? boost performance, and increase scalability by considering moving your? data from fields on cards to custom properties in a single-card stack. It may sound much harder than it is. If it seems daunting, let's? discuss that and see if we can get some handlers together for you to? make it a snap. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dunbarx at aol.com Mon Feb 23 21:52:29 2009 From: dunbarx at aol.com (dunbarx) Date: Mon, 23 Feb 2009 21:52:29 -0500 Subject: Embarrassed Newbie In-Reply-To: <49A35165.4090403@fourthworld.com> Message-ID: <8AB463CE.0EEC.469F.A220.D3A63BD05963@aol.com> Thanks, Richard, et. al. I actually assumed, as usual in Rev, that there was a command I simply missed: "place group yourGroup on all/this/marked cards" No problem with a repeat loop and a few parameters. The beauty, like you know what, is you can fabricate your own tools. I heard earlier about the speed penalties with large numbers of cards; no problem. I am not importing a HC stack, I am trying to learn how to drive. Craig Newman On Feb 23, 2009, at 8:46:13 PM, "Richard Gaskin" wrote: From: "Richard Gaskin" Subject: Re: Embarrassed Newbie Date: February 23, 2009 8:46:13 PM EST To: "How to use Revolution" DunbarX wrote: > OK. I get groups. And I see the additional flexibility as opposed to the? > fixed bg object class in HC. >? > So how (without a repeat loop that places a group on every card) does one? > place a newly created background group on every card? That is, if you already? > have a stack with 5000 cards, how do you put your brand new group (bg) on each? > one? All doc emphasis is that a bg copies its objects onto newly created cards,? > not the other way around. I don't see a "place group yourGroup on all cards"? > variation of the "place" command, though it seems there should be. >? > This was easy in HC, one just moved the object(s) to the bg, which already? > exists, comforted to know you can access it at any time. Or not; groups as a? > substitute for bgs in some ways almost seem too insubstantial, though they seem? > powerful as local objects. Rev should have bgs as well as groups. It seems the? > group concept itself requires more careful initial planning when starting to? > design a new stack. Is this stack imported from HC? If so there should already be a bg on? each card, and you can placed your new controls there. If not, writing a "place" loop won't take but a minute. A bigger concern might be the 5000 cards, which is what led me to? believe this might have been imported from HC. Do you expect it to grow? much more? One of the weaknesses of Rev is when the card structure is used as a? database. Even Bill Atkinson said ,"HyperCard is not a database", but? then didn't stop people from using cards that way, and since it paged in? only the cards it could keep in memory it wasn't bad for some of that.? But with Rev, you'll find having that many cards will have a noticeable? performance degradation with saves and some other operations. You can likely reduce overall stack size, simplify your development,? boost performance, and increase scalability by considering moving your? data from fields on cards to custom properties in a single-card stack. It may sound much harder than it is. If it seems daunting, let's? discuss that and see if we can get some handlers together for you to? make it a snap. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Tue Feb 24 01:55:21 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 24 Feb 2009 03:55:21 -0300 Subject: can an external make use of pthreads? Message-ID: <7c87a2a10902232255j24f94702pb09873f120f9648a@mail.gmail.com> Hello Folks, anyone here knows what happens if you execute some libexternal code inside a different thread? That is to say, if your external create a worker thread pool, is there anyway for those threads to tap into routines such as EvalExpr or GetVariable and the like? I've noticed strange behaviours here when doing that. Sometimes the call works but usually it does not. If a child thread can't call any revolution external code, then, does anyone here with better knowledge about pthreads, knows if it is possible to make a child thread exchange data with a master thread, right now, my main thread can call revolution stuff nicelly, so, if I can at least make the child threads talk with their parent, then things could be ok. This is a webserver external, it uses a pool of threads to process the connections. If it is a static file, then, it knows how to answer on its own and will not bother revolution engine, but if a dynamic page is requested, it asks the engine for data thru a callback (or at least this is the plan). So far, everything runs smooth and the server just did 2982 requests per second on my LAN but when I call EvalExpr or SendCardMessage from one of the worker threads, it always come up with EXTERNAL_FAILURE (but there are some rare cases, usually the first time a call is made by the first thread, then it sometimes work...) I was thinking it was some kind of heap corruption due to my poor string handling but then something just clicked on my mind and I wondered, would the threads be the ones to blame? I tought threads shared data, so I thought I'd be safe with them... anyone can spare a word or two? andre -- http://www.andregarzia.com All We Do Is Code. From Andre.Bisseret at inria.fr Tue Feb 24 02:47:04 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 24 Feb 2009 08:47:04 +0100 Subject: strange error in a repeat loop In-Reply-To: References: <40B40914-1EC0-41EB-AC4D-480EDE4A6F91@inria.fr> <911DEF58-872E-423C-91E5-84BA18FDBDF2@inria.fr> Message-ID: <79FC14DC-4614-4151-B2FF-721642281A5A@inria.fr> Bonjour, Bob and Robert (and all), Le 23 f?vr. 09 ? 18:40, Robert Brenstein a ?crit : > On 23.02.09 at 16:33 +0100 Andre.Bisseret apparently wrote: >> YEsss ! >> Thanks a lot Thierry and Robert ; both of you where right : I had a >> couple of spaces in item 9 of line 1 of my field !! >> Kind of things I should have suspected ; but I was really "brain >> stuck" (not sure this is a good expression ;-))) >> Now, my handler is working nicely > > You can easily add a pre-check to avoid runtime errors: > > repeat with i=5 to 12 > get item i of enil > if it is not a number then -- 'not an integer' if more appropriate > answer error "Not a number:" && it > else > add it to tLesVars["total"&i] > end if > end repeat > > The error msg may include the problem line number and item number, > of course. > > Robert ------------ Robert, I adopted all your suggestions and now, all is running like a charm. (It is the first time I use an array ;-)) ------------------------------------------------------------------------------------ Le 23 f?vr. 09 ? 17:59, Bob Sneidar a ?crit : > Obviously the value here is not empty and is not a number. > > Did you try stepping through the code and seeing what the value is > at the time you get the error? Thank you Bob ; right, some spaces were staying there in one item !! > From briany at qldlearning.com Tue Feb 24 03:04:21 2009 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 24 Feb 2009 00:04:21 -0800 Subject: can an external make use of pthreads? In-Reply-To: <7c87a2a10902232255j24f94702pb09873f120f9648a@mail.gmail.com> References: <7c87a2a10902232255j24f94702pb09873f120f9648a@mail.gmail.com> Message-ID: <25EA724F-752C-473D-BE20-548498B5C1D6@qldlearning.com> Andre, This is a shot in the dark, but from your description I wonder if Rev only maintains the callback address until your external returns. Then, it disposes of something under the assumption that your external doesn't need it any more, and things start to fail. This would explain why it works momentarily, but then goes bad. I wonder if it would be worth digging into libexternal itself and trying to figure out where things fail. It's also possible that Rev just can't deal with a callback coming from anywhere but the main thread. Here's one random idea -- what happens if you call back into the main thread, and then make the actual Rev callback from there? That way your main thread insulates Rev from talking directly to other threads, and still lives in the same thread as the Rev engine. > Hello Folks, > > anyone here knows what happens if you execute some libexternal code > inside a different thread? That is to say, if your external create a > worker thread pool, is there anyway for those threads to tap into > routines such as EvalExpr or GetVariable and the like? I've noticed > strange behaviours here when doing that. Sometimes the call works but > usually it does not. If a child thread can't call any revolution > external code, then, does anyone here with better knowledge about > pthreads, knows if it is possible to make a child thread exchange data > with a master thread, right now, my main thread can call revolution > stuff nicelly, so, if I can at least make the child threads talk with > their parent, then things could be ok. > > This is a webserver external, it uses a pool of threads to process the > connections. If it is a static file, then, it knows how to answer on > its own and will not bother revolution engine, but if a dynamic page > is requested, it asks the engine for data thru a callback (or at least > this is the plan). So far, everything runs smooth and the server just > did 2982 requests per second on my LAN but when I call EvalExpr or > SendCardMessage from one of the worker threads, it always come up with > EXTERNAL_FAILURE (but there are some rare cases, usually the first > time a call is made by the first thread, then it sometimes work...) > > I was thinking it was some kind of heap corruption due to my poor > string handling but then something just clicked on my mind and I > wondered, would the threads be the ones to blame? I tought threads > shared data, so I thought I'd be safe with them... > > anyone can spare a word or two? > > andre From toolbook at kestner.de Tue Feb 24 06:52:19 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 24 Feb 2009 12:52:19 +0100 Subject: OT: when was ditto implemented in OS X? Message-ID: Hello, does anybody knows by incident, in which OS X release ditto was implemented? I just got doubtful because I have read something about min 10.4, but wasn't sure about that source and didn't found any other docs in the net about that. I would like to set OS X min 10.3 as system requirements for my app. Am I on the safe side with that for ditto? Thanks Tiemo From lists at futilism.com Tue Feb 24 06:57:42 2009 From: lists at futilism.com (Mark Smith) Date: Tue, 24 Feb 2009 11:57:42 +0000 Subject: OT: when was ditto implemented in OS X? In-Reply-To: References: Message-ID: Ditto is present on a G4 I have that's running 10.3.9. Best, Mark On 24 Feb 2009, at 11:52, Tiemo Hollmann TB wrote: > Hello, > > does anybody knows by incident, in which OS X release ditto was > implemented? > I just got doubtful because I have read something about min 10.4, > but wasn't > sure about that source and didn't found any other docs in the net > about > that. > > I would like to set OS X min 10.3 as system requirements for my > app. Am I on > the safe side with that for ditto? > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From SparkOutYNY at gmail.com Tue Feb 24 07:17:57 2009 From: SparkOutYNY at gmail.com (SparkOut) Date: Tue, 24 Feb 2009 04:17:57 -0800 (PST) Subject: Embarrassed Newbie In-Reply-To: <8AB463CE.0EEC.469F.A220.D3A63BD05963@aol.com> References: <49A35165.4090403@fourthworld.com> <8AB463CE.0EEC.469F.A220.D3A63BD05963@aol.com> Message-ID: <22180524.post@talk.nabble.com> I'm sure you've already noted ( and anyway this isn't meant to address the question you mentioned in placing a bg group onto existing cards) but in the Property Inspector you can highlight the "behave like a background" checkbox (which is the same as scripting "set the backgroundBehaviour of...") and the bg group in question will be automatically placed on newly created cards. The scripted "place onto card " will be necessary for pre-existing cards, of course, as already discussed. dunbarx wrote: > > Thanks, Richard, et. al. > > I actually assumed, as usual in Rev, that there was a command I simply > missed: > > "place group yourGroup on all/this/marked cards" > > No problem with a repeat loop and a few parameters. The beauty, like you > know what, is you can fabricate your own tools. > > I heard earlier about the speed penalties with large numbers of cards; no > problem. > > I am not importing a HC stack, I am trying to learn how to drive. > > Craig Newman > > -- View this message in context: http://www.nabble.com/Embarrassed-Newbie-tp22173160p22180524.html Sent from the Revolution - User mailing list archive at Nabble.com. From v81104 at RMIT.EDU.VN Fri Feb 20 09:53:05 2009 From: v81104 at RMIT.EDU.VN (Nhan, Tran Thi Thanh) Date: Fri, 20 Feb 2009 21:53:05 +0700 Subject: How to compare bettwen .rev file References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com><499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> <01ce01c9934f$f8cfd7c0$ea6f8740$@com> Message-ID: Hi Jim Bufalini and Runrev community! Thanks so much for your answers. I appreciated and think that it is the best free tool right now @Jim Bufalini: I've downloaded "Changed Code Picker" and how to make it as standalone application? Regards Nhan To: 'How to use Revolution' Subject: RE: How to compare bettwen .rev file Hi Nhan, I just realized I answered a reply instead of the original question. ;-) There is a very excellent and completely free utility that Eric Chatonet developed called Changed Code Picker that compares two stacks and their substacks and highlights all changes made between the two. It has both complete Help as well as Preferences that allow you to, for example, ignore comment changes, etc. It will also tell you if both stacks and their substacks compare completely. You can find this at: http://www.sosmartsoftware.com/?r=revolution&l=en (fourth one down) Enjoy! Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Nhan, Tran Thi Thanh > Sent: Tuesday, February 17, 2009 5:53 PM > To: How to use Revolution > Subject: How to compare bettwen .rev file > > Dear all, > > Is there any one who can help answer this question? My group are > developing a project and how can we compare the difference between .rev > file to know what each one does on the same file because we usually > copy > the same file to each one's computer and modified. > > Thanks so much, > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jbufalini at visitrieve.com Tue Feb 24 07:25:55 2009 From: jbufalini at visitrieve.com (Jim Bufalini) Date: Tue, 24 Feb 2009 02:25:55 -1000 Subject: [ANN] ListMagic 1.1.2 Maintenance Release is now available Message-ID: <004d01c9967b$0a917b20$1fb47160$@com> Hello Everyone, ListMagic 1.1.2 is now available. Please download it from: http://www.sosmartsoftware.com/?r=revolution&l=en When you launch ListMagic, it will say ListMagic 1.1.2 in the title bar. If yours is already registered, then Registered version will also show in your ListMagic title bar. There is no need to re-register. To upgrade existing projects to the new version, simply go to your existing project. In ListMagic, go to the Installation tab, click on the "Install or modify a widget" button and then, on the next screen, and without changing anything, just click the "Modify" button. ListMagic will update all widgets, in all cards of the stack, and its own ListMagic library. If you have multiple stacks with ListMagic widgets, just repeat for each stack, by going to the stack, and clicking Modify again. You're done! This maintenance release corrects reported problems, as well as contains a couple of significant enhancements. Bugs fixed in 1.1.2: - Printing generated locked stack errors. Fixed - Cancelling printing could generate errors. Fixed - Sorting on print, export or extract could generate locked stack errors. Fixed - Right clicking on an item and selecting Edit from the context menu could select the wrong item. Fixed - Random errors if running GLX2 and VAB. Fixed - Requires you also run the latest beta of GLX2. - German language menus were incorrectly phrased. Fixed Enhancements: - You can now filter any column by any combination of characters or word(s). For example, if you have a Street Address column with 123 Some Street, 789 Some Drive, 555 Wilson Place, and 333 Center Drive, selecting filter and typing "s" will immediately knock out 333 Center Drive because it has no "s". Type "o" and the others still remain, because all three have "so." Type "m" and 555 Wilson Place is filtered out, leaving you only with the Some Street and Some Drive addresses. Of course, if have many people who live on Some Drive, and wanted to filter to only the Smiths on Some Drive, you just start entering Smith in the name column. Way cool. And all built-in and easy! - Print, Extract and Export all respect a filter. So, if you filter a list and then either Print, Extract or Export, only the filtered items print, etc. - You can use column names instead of numbers for sorting before a print, Export or Extract. So, if the second column of your list is Last Name, then LMPrint 2 and LMPrint "Last Name" both will sort by Last Name before printing. This is valuable if you allow your users to drag and drop columns into different positions in the list (built-in option feature of ListMagic). By using column names instead of numbers in your statements, you will always get the right sort without having to check first if they moved the columns. Best of all, it's still only two clicks to create a list with headers, resizable column widths, sorting by column, filtering by column, in-line editing, drag and drop column positioning, automatically resizing columns, selection lines and boxes, hidden columns, scrollbars, iTunes look and feel with selectable colors, formatted printing, import and export to file, and built-in messaging that allows you to easily do all manner of customizations (but only if you want to ;-). With all the built-in features, you don't have to do anything, because it's more than you probably need. Did I mention all with a couple of clicks? ;-) This release corrects all reported issues. Please report any problems or suggestions on this release to: support at sosmartsoftware.com Enjoy! Jim Bufalini From toolbook at kestner.de Tue Feb 24 07:43:40 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 24 Feb 2009 13:43:40 +0100 Subject: AW: OT: when was ditto implemented in OS X? In-Reply-To: Message-ID: <84E4910B5D934AFDBFE754EFA49250C4@Kestner.local> Thanks Mark, that's good to know Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Mark Smith > Gesendet: Dienstag, 24. Februar 2009 12:58 > An: How to use Revolution > Betreff: Re: OT: when was ditto implemented in OS X? > > Ditto is present on a G4 I have that's running 10.3.9. > > Best, > > Mark > > On 24 Feb 2009, at 11:52, Tiemo Hollmann TB wrote: > > > Hello, > > > > does anybody knows by incident, in which OS X release ditto was > > implemented? > > I just got doubtful because I have read something about min 10.4, > > but wasn't > > sure about that source and didn't found any other docs in the net > > about > > that. > > > > I would like to set OS X min 10.3 as system requirements for my > > app. Am I on > > the safe side with that for ditto? > > > > Thanks > > > > Tiemo > > > > > > > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Tue Feb 24 09:20:22 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 24 Feb 2009 09:20:22 EST Subject: Embarrassed Newbie Message-ID: In a message dated 2/24/09 7:18:17 AM, SparkOutYNY at gmail.com writes: Noted. I will write the "missing" command, add it to my tools in use and call it as required: placeGroup theGroup,cardDescriptor/this/all/marked ("/" since the char "|" displays badly) I suppose it is my first realization that rev is not just a superset of HC, but is its own entity. Nostalgia factor, you see. Whether the idea of groups, however they may be configured to act just like a "real' bg, is a fundamental improvement, truly obviating the need for a bg at all, is academic; it is so, and so it is. The nice thing about a HC-like bg is that all cards already have it. To my mind it offers an open playing field that can be accessed during development as required, whenever new or existing objects seem to fit in that space better. The group concept itself, requiring that they must be placed like any other object, ad hoc, ran up against the very small wall that I originally wrote about. This is fine as far as it goes, and the fix, naturally derived from the rev/HC common clay, is straightforward. The fact that a stack can have multiple "bgs" is likely a powerful feature. Craig Newman > > > I'm sure you've already noted ( and anyway this isn't meant to address the > question you mentioned in placing a bg group onto existing cards) but in the > Property Inspector you can highlight the "behave like a background" checkbox > (which is the same as scripting "set the backgroundBehaviour of...") and the > bg group in question will be automatically placed on newly created cards. > The scripted "place onto card " will be necessary for > pre-existing cards, of course, as already discussed. > ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From jim at visitrieve.com Tue Feb 24 10:18:41 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 24 Feb 2009 05:18:41 -1000 Subject: How to compare bettwen .rev file In-Reply-To: References: <499AB7D4.9030900@cogapp.com> <499B0287.4050704@hyperactivesw.com> <99F01FD5-6928-4D01-A632-FD1EE071A96A@mac.com><499B7125.1050401@hyperactivesw.com> <9B36946A-645D-45ED-9793-C2C6EF37274E@futilism.com> <01ce01c9934f$f8cfd7c0$ea6f8740$@com> Message-ID: <005901c99693$2d4dc480$87e94d80$@com> Hello Nhan, Hmm... Can you tell me why you would want to run Changed Code Picker as a standalone? It assumes you are running in the IDE. If you notice, you can open stack 2 into your editor (either Rev or GLX2). This allows copy/paste from stack 1 to 2 (in case you made any mistakes, which of course we never do ;-). Jim > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Nhan, Tran Thi Thanh > Sent: Friday, February 20, 2009 4:53 AM > To: How to use Revolution > Subject: RE: How to compare bettwen .rev file > > > > Hi Jim Bufalini and Runrev community! > > Thanks so much for your answers. I appreciated and think that it is the > best free tool right now > > @Jim Bufalini: I've downloaded "Changed Code Picker" and how to make it > as standalone application? > > Regards > Nhan > > To: 'How to use Revolution' > Subject: RE: How to compare bettwen .rev file > > Hi Nhan, > > I just realized I answered a reply instead of the original question. ;- > ) > > There is a very excellent and completely free utility that Eric > Chatonet > developed called Changed Code Picker that compares two stacks and their > substacks and highlights all changes made between the two. It has both > complete Help as well as Preferences that allow you to, for example, > ignore > comment changes, etc. It will also tell you if both stacks and their > substacks compare completely. > > You can find this at: http://www.sosmartsoftware.com/?r=revolution&l=en > (fourth one down) > > Enjoy! > > Jim Bufalini > > > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] On Behalf Of Nhan, Tran Thi Thanh > > Sent: Tuesday, February 17, 2009 5:53 PM > > To: How to use Revolution > > Subject: How to compare bettwen .rev file > > > > Dear all, > > > > Is there any one who can help answer this question? My group are > > developing a project and how can we compare the difference between > .rev > > file to know what each one does on the same file because we usually > > copy > > the same file to each one's computer and modified. > > > > Thanks so much, > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Tue Feb 24 11:12:48 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Feb 2009 10:12:48 -0600 Subject: Embarrassed Newbie In-Reply-To: References: Message-ID: <49A41C80.2010501@hyperactivesw.com> DunbarX at aol.com wrote: > The nice thing about a HC-like bg is that all cards already have it. To my > mind it offers an open playing field that can be accessed during development as > required, whenever new or existing objects seem to fit in that space better. Sometimes though you don't need any background. Rev doesn't require one, so you can just leave it off. If you need one, it's easy to create. > The group concept itself, requiring that they must be placed like any other > object, ad hoc, ran up against the very small wall that I originally wrote about. > This is fine as far as it goes, and the fix, naturally derived from the > rev/HC common clay, is straightforward. The fact that a stack can have multiple > "bgs" is likely a powerful feature. Very powerful. Picture a typical educational stack which has a title card, a second card to gather some demographics about the student, and then a series of sections, or "chapters", about a topic. This is a pretty common setup for educational material. There's a navigation panel, maybe with a clickable list for each chapter heading and "next" and "prev" buttons in it. Each "chapter" has a distinctive background. In HC you'd create a new background for each chapter and you'd have to duplicate the navigation panel on each of them. If you made a change to the navigation panel in one place, you'd need to make the same change for each chapter background in the stack. The title and demographic cards would probably have empty, unused backgrounds because nothing on those cards needs to be shared. In Rev, the title and demographic cards would have no background groups. The demographic card might use a few radio button groups to determine gender, interests, etc. about the student. Since these groups would not be shared, they would be card groups that live only on the demographic card. Again, no background required, and yet you still have the automatic radioBehavior that comes for free with groups. The navigation panel would be shared by all but the first two cards. Changing anything in it will immediately be reflected on every card that uses it. Each chapter would have its own, second background group that was shared only by those cards in the chapter. Perhaps one or two cards in a single chapter need to share an image; easily done. Those two cards would have three backgrounds: the navigation panel, the chapter background, and the shared image. And so on. Very powerful stuff. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From effendi at wanadoo.fr Tue Feb 24 11:43:31 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 24 Feb 2009 17:43:31 +0100 Subject: Changing the screenRect within a stack Message-ID: Hi from Brittany, Thanks to Brian and Sparkout for their valuable links. I will try to do a clean and politically acceptable job. Oh ! And a bigger belated thank you to Brian for all of his Hypercard externals I used for so many years ..... ! -Francis "Nothing should ever be done for the first time!" From psahores at free.fr Tue Feb 24 12:16:50 2009 From: psahores at free.fr (Pierre Sahores) Date: Tue, 24 Feb 2009 18:16:50 +0100 Subject: Gutenberg Reader In-Reply-To: <56E145A7-2DC9-4DBA-805D-A6291AF8D4BC@gmail.com> References: <20090223180003.D190848A33B@mail.runrev.com> <56E145A7-2DC9-4DBA-805D-A6291AF8D4BC@gmail.com> Message-ID: Peter, The Rev 3.0 application builder works fine, there, under Mac OS X. Are you building your app under OS X or under Windows ? Best Regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 23 f?vr. 09 ? 23:07, Peter Brigham MD a ?crit : > > On Mon, 23 Feb 2009 15:36:27, Bernard Devlin > >> Hi Peter, >> I just wanted to say that I downloaded the app & it won't start on >> OS X >> 10.4.11 PPC. It just seems to immediately quit. Let me know if >> there's >> anything you want me to do to help diagnose the fault. >> >> Bernard >> >> On Mon, Feb 23, 2009 at 2:12 PM, Bill Marriott wrote: >> >>> Hi Peter, >>> >>> I am very interested in the Gutenberg texts, so I downloaded your >>> application and gave it a try. Unfortunately, I'm the impatient >>> sort and >>> never figured out how to display one of the texts within your >>> application. >>> So, my one bit of [hopefully constructive] criticism then is that >>> you make >>> it very easy to browse and search for available texts, such that >>> one is >>> immediately presented with a list and only has to click a title >>> they are >>> interested in to jump right into reading it. >>> >>> - Bill > > and Meliton Cardona Torres (I think it's > "Meliton", in my email it came through as "Melit?n") wrote; > >> On Mac: downloaded, uncompressed, opened and ... nothing happens >> >> Am I missing anything? >> >> Cheeres >> >> Tob > > and Pierre Sahores wrote: > >> Peter, >> >> Great stack to parse and save the Gutemberg's books without having to >> download them ! Congratulations and thanks for sharing it with all of >> us ! >> >> The Mac OS X standalone don't start there for yet but the stack is >> running OK in the Rev 3.0 IDE. (Mac OS X 10.5.6 / MacBook Pro Core >> Duo >> 2 Go RAM). >> The Win32 standalone start and run fine under VirtualBox 2.14 / Win >> XP >> Pro. > > Re: Bill Marriott's suggestion, I am reluctant to limit the user by > presenting a pre-selected list of texts. I suppose I could build in > an "example" button of some kind. I don't think there's any way of > making the stack operation much simpler for those who are > "impatient" but I'm open to suggestions. It's just a matter of > clicking the "go Gutenberg" button, selecting a text, and clicking > "import this page..." > > I am puzzled by the standalone not starting up on a couple Macs. For > Bernard it's on a PPC using 10.4.11, and for Pierre is on a Pro Core > Duo using 10.5.6. Don't know what happening, but something goes awry > in the standalone build process. I have had a couple of other > standalones I built and shared with friends fail to open as well, > with no apparent pattern. Shouldn't the standalone builder handle > everything for whatever system/architecture/platform? I don't know > the first thing about how to solve this. Any ideas, anyone, on what > could be going wrong here? > > Meliton, were you downloading the app or the stack? > > Peter M. Brigham > pmbrig at gmail.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bobs at twft.com Tue Feb 24 12:24:08 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 24 Feb 2009 09:24:08 -0800 Subject: [ANN] ListMagic 1.1.2 Maintenance Release is now available In-Reply-To: <004d01c9967b$0a917b20$1fb47160$@com> References: <004d01c9967b$0a917b20$1fb47160$@com> Message-ID: Hi Jim. I am still throwing errors having to do with the locked stack. Whenever I try to add a widget, I get the error. Once I do I cannot close Listmagic or quit Revolution. I have to force quit the app. This time with version 1.1.2, it asked me for the password to the locked stack. I am thinking that the whole locked stack method that Eric used is breaking with Rev 3.0. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 24, 2009, at 4:25 AM, Jim Bufalini wrote: > Hello Everyone, > > ListMagic 1.1.2 is now available. Please download it from: > > http://www.sosmartsoftware.com/?r=revolution&l=en > > When you launch ListMagic, it will say ListMagic 1.1.2 in the title > bar. If > yours is already registered, then Registered version will also show > in your > ListMagic title bar. There is no need to re-register. > > To upgrade existing projects to the new version, simply go to your > existing > project. In ListMagic, go to the Installation tab, click on the > "Install or > modify a widget" button and then, on the next screen, and without > changing > anything, just click the "Modify" button. > > ListMagic will update all widgets, in all cards of the stack, and > its own > ListMagic library. If you have multiple stacks with ListMagic > widgets, just > repeat for each stack, by going to the stack, and clicking Modify > again. > You're done! > > This maintenance release corrects reported problems, as well as > contains a > couple of significant enhancements. > > Bugs fixed in 1.1.2: > > - Printing generated locked stack errors. > Fixed > > - Cancelling printing could generate errors. > Fixed > > - Sorting on print, export or extract could generate locked stack > errors. > Fixed > > - Right clicking on an item and selecting Edit from the context menu > could > select the wrong item. > Fixed > > - Random errors if running GLX2 and VAB. > Fixed - Requires you also run the latest beta of GLX2. > > - German language menus were incorrectly phrased. > Fixed > > Enhancements: > > - You can now filter any column by any combination of characters or > word(s). > For example, if you have a Street Address column with 123 Some > Street, 789 > Some Drive, 555 Wilson Place, and 333 Center Drive, selecting filter > and > typing "s" will immediately knock out 333 Center Drive because it > has no > "s". Type "o" and the others still remain, because all three have > "so." Type > "m" and 555 Wilson Place is filtered out, leaving you only with the > Some > Street and Some Drive addresses. Of course, if have many people who > live on > Some Drive, and wanted to filter to only the Smiths on Some Drive, > you just > start entering Smith in the name column. Way cool. And all built-in > and > easy! > > - Print, Extract and Export all respect a filter. So, if you filter > a list > and then either Print, Extract or Export, only the filtered items > print, > etc. > > - You can use column names instead of numbers for sorting before a > print, > Export or Extract. So, if the second column of your list is Last > Name, then > LMPrint 2 and LMPrint "Last Name" both will sort by Last Name before > printing. This is valuable if you allow your users to drag and drop > columns > into different positions in the list (built-in option feature of > ListMagic). > By using column names instead of numbers in your statements, you > will always > get the right sort without having to check first if they moved the > columns. > > Best of all, it's still only two clicks to create a list with headers, > resizable column widths, sorting by column, filtering by column, in- > line > editing, drag and drop column positioning, automatically resizing > columns, > selection lines and boxes, hidden columns, scrollbars, iTunes look > and feel > with selectable colors, formatted printing, import and export to > file, and > built-in messaging that allows you to easily do all manner of > customizations > (but only if you want to ;-). > > With all the built-in features, you don't have to do anything, > because it's > more than you probably need. Did I mention all with a couple of > clicks? ;-) > > This release corrects all reported issues. Please report any > problems or > suggestions on this release to: > > support at sosmartsoftware.com > > Enjoy! > > Jim Bufalini > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Tue Feb 24 12:29:20 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 24 Feb 2009 09:29:20 -0800 Subject: [ANN] ListMagic 1.1.2 Maintenance Release is now available In-Reply-To: References: <004d01c9967b$0a917b20$1fb47160$@com> Message-ID: <164EC563-D755-41F6-B644-5DA400079406@twft.com> Doggone! Sorry everyone. I didn't realize I was replying to the list until I sent this. I thot I was replying directly to Jim. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 24, 2009, at 9:24 AM, Bob Sneidar wrote: > Hi Jim. > > I am still throwing errors having to do with the locked stack. > Whenever I try to add a widget, I get the error. Once I do I cannot > close Listmagic or quit Revolution. I have to force quit the app. > > This time with version 1.1.2, it asked me for the password to the > locked stack. I am thinking that the whole locked stack method that > Eric used is breaking with Rev 3.0. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 24, 2009, at 4:25 AM, Jim Bufalini wrote: > >> Hello Everyone, >> >> ListMagic 1.1.2 is now available. Please download it from: >> >> http://www.sosmartsoftware.com/?r=revolution&l=en >> >> When you launch ListMagic, it will say ListMagic 1.1.2 in the title >> bar. If >> yours is already registered, then Registered version will also show >> in your >> ListMagic title bar. There is no need to re-register. >> >> To upgrade existing projects to the new version, simply go to your >> existing >> project. In ListMagic, go to the Installation tab, click on the >> "Install or >> modify a widget" button and then, on the next screen, and without >> changing >> anything, just click the "Modify" button. >> >> ListMagic will update all widgets, in all cards of the stack, and >> its own >> ListMagic library. If you have multiple stacks with ListMagic >> widgets, just >> repeat for each stack, by going to the stack, and clicking Modify >> again. >> You're done! >> >> This maintenance release corrects reported problems, as well as >> contains a >> couple of significant enhancements. >> >> Bugs fixed in 1.1.2: >> >> - Printing generated locked stack errors. >> Fixed >> >> - Cancelling printing could generate errors. >> Fixed >> >> - Sorting on print, export or extract could generate locked stack >> errors. >> Fixed >> >> - Right clicking on an item and selecting Edit from the context >> menu could >> select the wrong item. >> Fixed >> >> - Random errors if running GLX2 and VAB. >> Fixed - Requires you also run the latest beta of GLX2. >> >> - German language menus were incorrectly phrased. >> Fixed >> >> Enhancements: >> >> - You can now filter any column by any combination of characters or >> word(s). >> For example, if you have a Street Address column with 123 Some >> Street, 789 >> Some Drive, 555 Wilson Place, and 333 Center Drive, selecting >> filter and >> typing "s" will immediately knock out 333 Center Drive because it >> has no >> "s". Type "o" and the others still remain, because all three have >> "so." Type >> "m" and 555 Wilson Place is filtered out, leaving you only with the >> Some >> Street and Some Drive addresses. Of course, if have many people who >> live on >> Some Drive, and wanted to filter to only the Smiths on Some Drive, >> you just >> start entering Smith in the name column. Way cool. And all built-in >> and >> easy! >> >> - Print, Extract and Export all respect a filter. So, if you filter >> a list >> and then either Print, Extract or Export, only the filtered items >> print, >> etc. >> >> - You can use column names instead of numbers for sorting before a >> print, >> Export or Extract. So, if the second column of your list is Last >> Name, then >> LMPrint 2 and LMPrint "Last Name" both will sort by Last Name before >> printing. This is valuable if you allow your users to drag and drop >> columns >> into different positions in the list (built-in option feature of >> ListMagic). >> By using column names instead of numbers in your statements, you >> will always >> get the right sort without having to check first if they moved the >> columns. >> >> Best of all, it's still only two clicks to create a list with >> headers, >> resizable column widths, sorting by column, filtering by column, in- >> line >> editing, drag and drop column positioning, automatically resizing >> columns, >> selection lines and boxes, hidden columns, scrollbars, iTunes look >> and feel >> with selectable colors, formatted printing, import and export to >> file, and >> built-in messaging that allows you to easily do all manner of >> customizations >> (but only if you want to ;-). >> >> With all the built-in features, you don't have to do anything, >> because it's >> more than you probably need. Did I mention all with a couple of >> clicks? ;-) >> >> This release corrects all reported issues. Please report any >> problems or >> suggestions on this release to: >> >> support at sosmartsoftware.com >> >> Enjoy! >> >> Jim Bufalini >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From geradamas at yahoo.com Tue Feb 24 12:37:41 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 24 Feb 2009 09:37:41 -0800 (PST) Subject: [OT] Free Vector Illustrator for Macintosh. Message-ID: <337816.31961.qm@web37502.mail.mud.yahoo.com> >From Microsoft, no less; fell over this the other day:- http://www.macupdate.com/download.php/14792/E33Mac370en.sit works with Mac OS X, and with OS 8/9 on older Macs. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From pmbrig at gmail.com Tue Feb 24 12:48:35 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 24 Feb 2009 12:48:35 -0500 Subject: Gutenberg Reader In-Reply-To: <20090224114947.CFEC248A35C@mail.runrev.com> References: <20090224114947.CFEC248A35C@mail.runrev.com> Message-ID: OK, I manually replaced the three .rev stacks inside the package. Try downloading it again: http://home.comcast.net/~pmbrig/Gutenberg.html and let me know if this version opens for you. On Tue, 24 Feb 2009 09:22:46, Terry Judd wrote: >> I am puzzled by the standalone not starting up on a couple Macs. For >> Bernard it's on a PPC using 10.4.11, and for Pierre is on a Pro Core >> Duo using 10.5.6. Don't know what happening, but something goes awry >> in the standalone build process. I have had a couple of other >> standalones I built and shared with friends fail to open as well, >> with >> no apparent pattern. Shouldn't the standalone builder handle >> everything for whatever system/architecture/platform? I don't know >> the >> first thing about how to solve this. Any ideas, anyone, on what could >> be going wrong here? > > If you try opening the rev stacks inside the package Rev reports > that they > are corrupted. Perhaps you could manually replace those stacks. > > Terry... From stephenREVOLUTION2 at barncard.com Tue Feb 24 13:04:41 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 24 Feb 2009 10:04:41 -0800 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: <337816.31961.qm@web37502.mail.mud.yahoo.com> References: <337816.31961.qm@web37502.mail.mud.yahoo.com> Message-ID: Dear sir... before we click on this unidentified link, could you tell us what it is? Stephen Barncard ------------------------- San Francisco http://barncard.com 2009/2/24 Richmond Mathewson > >From Microsoft, no less; fell over this the other day:- > > http://www.macupdate.com/download.php/14792/E33Mac370en.sit > > works with Mac OS X, and with OS 8/9 on older Macs. > > sincerely, Richmond Mathewson. > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development Life > Cycle. > ____________________________________________________________ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Tue Feb 24 13:05:25 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 24 Feb 2009 10:05:25 -0800 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: References: <337816.31961.qm@web37502.mail.mud.yahoo.com> Message-ID: Never mind. I never read the subject field.. Stephen Barncard ------------------------- San Francisco http://barncard.com 2009/2/24 stephen barncard > Dear sir... before we click on this unidentified link, > could you tell us what it is? > > Stephen Barncard > ------------------------- > San Francisco > http://barncard.com > > > 2009/2/24 Richmond Mathewson > > >From Microsoft, no less; fell over this the other day:- >> >> http://www.macupdate.com/download.php/14792/E33Mac370en.sit >> >> works with Mac OS X, and with OS 8/9 on older Macs. >> >> sincerely, Richmond Mathewson. >> >> ____________________________________________________________ >> >> A Thorn in the flesh is better than a failed Systems Development Life >> Cycle. >> ____________________________________________________________ >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > From stephenREVOLUTION2 at barncard.com Tue Feb 24 13:10:14 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 24 Feb 2009 10:10:14 -0800 Subject: Gutenberg Reader In-Reply-To: References: <20090224114947.CFEC248A35C@mail.runrev.com> Message-ID: Still just see the zooming from the os then .... nothing ... Leopard .6 G5 dual Stephen Barncard ------------------------- San Francisco http://barncard.com 2009/2/24 Peter Brigham MD > OK, I manually replaced the three .rev stacks inside the package. Try > downloading it again: > > http://home.comcast.net/~pmbrig/Gutenberg.html > > and let me know if this version opens for you. > > On Tue, 24 Feb 2009 09:22:46, Terry Judd wrote: > > I am puzzled by the standalone not starting up on a couple Macs. For >>> Bernard it's on a PPC using 10.4.11, and for Pierre is on a Pro Core >>> Duo using 10.5.6. Don't know what happening, but something goes awry >>> in the standalone build process. I have had a couple of other >>> standalones I built and shared with friends fail to open as well, with >>> no apparent pattern. Shouldn't the standalone builder handle >>> everything for whatever system/architecture/platform? I don't know the >>> first thing about how to solve this. Any ideas, anyone, on what could >>> be going wrong here? >>> >> >> If you try opening the rev stacks inside the package Rev reports that they >> are corrupted. Perhaps you could manually replace those stacks. >> >> Terry... >> > > _______________________________________________ > > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jim at visitrieve.com Tue Feb 24 13:36:16 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 24 Feb 2009 08:36:16 -1000 Subject: [ANN] ListMagic 1.1.2 Maintenance Release is now available In-Reply-To: <164EC563-D755-41F6-B644-5DA400079406@twft.com> References: <004d01c9967b$0a917b20$1fb47160$@com> <164EC563-D755-41F6-B644-5DA400079406@twft.com> Message-ID: <006b01c996ae$c7ab2d90$570188b0$@com> Hey Bob, Well just "for the list," I've tested on 2.9 and 3.0 and no problems. Probably something really minor got messed in your stack because you were an early adaptor and on the bleeding edge. ;-) I'll work with you off-list to figure out what it is and then you can report on-list. :-) All the best, Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Bob Sneidar > Sent: Tuesday, February 24, 2009 7:29 AM > To: How to use Revolution > Subject: Re: [ANN] ListMagic 1.1.2 Maintenance Release is now available > > Doggone! Sorry everyone. I didn't realize I was replying to the list > until I sent this. I thot I was replying directly to Jim. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 24, 2009, at 9:24 AM, Bob Sneidar wrote: > > > Hi Jim. > > > > I am still throwing errors having to do with the locked stack. > > Whenever I try to add a widget, I get the error. Once I do I cannot > > close Listmagic or quit Revolution. I have to force quit the app. > > > > This time with version 1.1.2, it asked me for the password to the > > locked stack. I am thinking that the whole locked stack method that > > Eric used is breaking with Rev 3.0. > > > > Bob Sneidar > > IT Manager > > Logos Management > > Calvary Chapel CM > > > > On Feb 24, 2009, at 4:25 AM, Jim Bufalini wrote: > > > >> Hello Everyone, > >> > >> ListMagic 1.1.2 is now available. Please download it from: > >> > >> http://www.sosmartsoftware.com/?r=revolution&l=en > >> > >> When you launch ListMagic, it will say ListMagic 1.1.2 in the title > >> bar. If > >> yours is already registered, then Registered version will also show > >> in your > >> ListMagic title bar. There is no need to re-register. > >> > >> To upgrade existing projects to the new version, simply go to your > >> existing > >> project. In ListMagic, go to the Installation tab, click on the > >> "Install or > >> modify a widget" button and then, on the next screen, and without > >> changing > >> anything, just click the "Modify" button. > >> > >> ListMagic will update all widgets, in all cards of the stack, and > >> its own > >> ListMagic library. If you have multiple stacks with ListMagic > >> widgets, just > >> repeat for each stack, by going to the stack, and clicking Modify > >> again. > >> You're done! > >> > >> This maintenance release corrects reported problems, as well as > >> contains a > >> couple of significant enhancements. > >> > >> Bugs fixed in 1.1.2: > >> > >> - Printing generated locked stack errors. > >> Fixed > >> > >> - Cancelling printing could generate errors. > >> Fixed > >> > >> - Sorting on print, export or extract could generate locked stack > >> errors. > >> Fixed > >> > >> - Right clicking on an item and selecting Edit from the context > >> menu could > >> select the wrong item. > >> Fixed > >> > >> - Random errors if running GLX2 and VAB. > >> Fixed - Requires you also run the latest beta of GLX2. > >> > >> - German language menus were incorrectly phrased. > >> Fixed > >> > >> Enhancements: > >> > >> - You can now filter any column by any combination of characters or > >> word(s). > >> For example, if you have a Street Address column with 123 Some > >> Street, 789 > >> Some Drive, 555 Wilson Place, and 333 Center Drive, selecting > >> filter and > >> typing "s" will immediately knock out 333 Center Drive because it > >> has no > >> "s". Type "o" and the others still remain, because all three have > >> "so." Type > >> "m" and 555 Wilson Place is filtered out, leaving you only with the > >> Some > >> Street and Some Drive addresses. Of course, if have many people who > >> live on > >> Some Drive, and wanted to filter to only the Smiths on Some Drive, > >> you just > >> start entering Smith in the name column. Way cool. And all built-in > >> and > >> easy! > >> > >> - Print, Extract and Export all respect a filter. So, if you filter > >> a list > >> and then either Print, Extract or Export, only the filtered items > >> print, > >> etc. > >> > >> - You can use column names instead of numbers for sorting before a > >> print, > >> Export or Extract. So, if the second column of your list is Last > >> Name, then > >> LMPrint 2 and LMPrint "Last Name" both will sort by Last Name before > >> printing. This is valuable if you allow your users to drag and drop > >> columns > >> into different positions in the list (built-in option feature of > >> ListMagic). > >> By using column names instead of numbers in your statements, you > >> will always > >> get the right sort without having to check first if they moved the > >> columns. > >> > >> Best of all, it's still only two clicks to create a list with > >> headers, > >> resizable column widths, sorting by column, filtering by column, in- > >> line > >> editing, drag and drop column positioning, automatically resizing > >> columns, > >> selection lines and boxes, hidden columns, scrollbars, iTunes look > >> and feel > >> with selectable colors, formatted printing, import and export to > >> file, and > >> built-in messaging that allows you to easily do all manner of > >> customizations > >> (but only if you want to ;-). > >> > >> With all the built-in features, you don't have to do anything, > >> because it's > >> more than you probably need. Did I mention all with a couple of > >> clicks? ;-) > >> > >> This release corrects all reported issues. Please report any > >> problems or > >> suggestions on this release to: > >> > >> support at sosmartsoftware.com > >> > >> Enjoy! > >> > >> Jim Bufalini > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pepetoo at cox.net Tue Feb 24 13:40:27 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Tue, 24 Feb 2009 10:40:27 -0800 Subject: Gutenberg Reader In-Reply-To: References: <20090224114947.CFEC248A35C@mail.runrev.com> Message-ID: <57F0CE5E-732C-4BBF-8964-775738285A33@cox.net> Hey Peter, This one does exactly the same thing. Looks like it's going to open but does nothing. Back to the drawing board. Joe Wilkins On Feb 24, 2009, at 9:48 AM, Peter Brigham MD wrote: > OK, I manually replaced the three .rev stacks inside the package. > Try downloading it again: > > http://home.comcast.net/~pmbrig/Gutenberg.html > > and let me know if this version opens for you. From bobs at twft.com Tue Feb 24 13:47:10 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 24 Feb 2009 10:47:10 -0800 Subject: [ANN] ListMagic 1.1.2 Maintenance Release is now available In-Reply-To: <006b01c996ae$c7ab2d90$570188b0$@com> References: <004d01c9967b$0a917b20$1fb47160$@com> <164EC563-D755-41F6-B644-5DA400079406@twft.com> <006b01c996ae$c7ab2d90$570188b0$@com> Message-ID: <9B7A0691-041F-426B-8716-611ABCD1C630@twft.com> Hi Jim. I just wanted to let the list know, I used Listmagic on a brand new stack, and it works fine, so apparently there is something leftover in my existing stack that is not visible to Revolution, but that exists there nonetheless. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 24, 2009, at 10:36 AM, Jim Bufalini wrote: > Hey Bob, > > Well just "for the list," I've tested on 2.9 and 3.0 and no problems. > Probably something really minor got messed in your stack because you > were an > early adaptor and on the bleeding edge. ;-) I'll work with you off- > list to > figure out what it is and then you can report on-list. :-) > > All the best, > > Jim Bufalini > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Bob Sneidar >> Sent: Tuesday, February 24, 2009 7:29 AM >> To: How to use Revolution >> Subject: Re: [ANN] ListMagic 1.1.2 Maintenance Release is now >> available >> >> Doggone! Sorry everyone. I didn't realize I was replying to the list >> until I sent this. I thot I was replying directly to Jim. >> >> Bob Sneidar >> IT Manager >> Logos Management >> Calvary Chapel CM >> >> On Feb 24, 2009, at 9:24 AM, Bob Sneidar wrote: >> >>> Hi Jim. >>> >>> I am still throwing errors having to do with the locked stack. >>> Whenever I try to add a widget, I get the error. Once I do I cannot >>> close Listmagic or quit Revolution. I have to force quit the app. >>> >>> This time with version 1.1.2, it asked me for the password to the >>> locked stack. I am thinking that the whole locked stack method that >>> Eric used is breaking with Rev 3.0. >>> >>> Bob Sneidar >>> IT Manager >>> Logos Management >>> Calvary Chapel CM >>> >>> On Feb 24, 2009, at 4:25 AM, Jim Bufalini wrote: >>> >>>> Hello Everyone, >>>> >>>> ListMagic 1.1.2 is now available. Please download it from: >>>> >>>> http://www.sosmartsoftware.com/?r=revolution&l=en >>>> >>>> When you launch ListMagic, it will say ListMagic 1.1.2 in the title >>>> bar. If >>>> yours is already registered, then Registered version will also show >>>> in your >>>> ListMagic title bar. There is no need to re-register. >>>> >>>> To upgrade existing projects to the new version, simply go to your >>>> existing >>>> project. In ListMagic, go to the Installation tab, click on the >>>> "Install or >>>> modify a widget" button and then, on the next screen, and without >>>> changing >>>> anything, just click the "Modify" button. >>>> >>>> ListMagic will update all widgets, in all cards of the stack, and >>>> its own >>>> ListMagic library. If you have multiple stacks with ListMagic >>>> widgets, just >>>> repeat for each stack, by going to the stack, and clicking Modify >>>> again. >>>> You're done! >>>> >>>> This maintenance release corrects reported problems, as well as >>>> contains a >>>> couple of significant enhancements. >>>> >>>> Bugs fixed in 1.1.2: >>>> >>>> - Printing generated locked stack errors. >>>> Fixed >>>> >>>> - Cancelling printing could generate errors. >>>> Fixed >>>> >>>> - Sorting on print, export or extract could generate locked stack >>>> errors. >>>> Fixed >>>> >>>> - Right clicking on an item and selecting Edit from the context >>>> menu could >>>> select the wrong item. >>>> Fixed >>>> >>>> - Random errors if running GLX2 and VAB. >>>> Fixed - Requires you also run the latest beta of GLX2. >>>> >>>> - German language menus were incorrectly phrased. >>>> Fixed >>>> >>>> Enhancements: >>>> >>>> - You can now filter any column by any combination of characters or >>>> word(s). >>>> For example, if you have a Street Address column with 123 Some >>>> Street, 789 >>>> Some Drive, 555 Wilson Place, and 333 Center Drive, selecting >>>> filter and >>>> typing "s" will immediately knock out 333 Center Drive because it >>>> has no >>>> "s". Type "o" and the others still remain, because all three have >>>> "so." Type >>>> "m" and 555 Wilson Place is filtered out, leaving you only with the >>>> Some >>>> Street and Some Drive addresses. Of course, if have many people who >>>> live on >>>> Some Drive, and wanted to filter to only the Smiths on Some Drive, >>>> you just >>>> start entering Smith in the name column. Way cool. And all built-in >>>> and >>>> easy! >>>> >>>> - Print, Extract and Export all respect a filter. So, if you filter >>>> a list >>>> and then either Print, Extract or Export, only the filtered items >>>> print, >>>> etc. >>>> >>>> - You can use column names instead of numbers for sorting before a >>>> print, >>>> Export or Extract. So, if the second column of your list is Last >>>> Name, then >>>> LMPrint 2 and LMPrint "Last Name" both will sort by Last Name >>>> before >>>> printing. This is valuable if you allow your users to drag and drop >>>> columns >>>> into different positions in the list (built-in option feature of >>>> ListMagic). >>>> By using column names instead of numbers in your statements, you >>>> will always >>>> get the right sort without having to check first if they moved the >>>> columns. >>>> >>>> Best of all, it's still only two clicks to create a list with >>>> headers, >>>> resizable column widths, sorting by column, filtering by column, >>>> in- >>>> line >>>> editing, drag and drop column positioning, automatically resizing >>>> columns, >>>> selection lines and boxes, hidden columns, scrollbars, iTunes look >>>> and feel >>>> with selectable colors, formatted printing, import and export to >>>> file, and >>>> built-in messaging that allows you to easily do all manner of >>>> customizations >>>> (but only if you want to ;-). >>>> >>>> With all the built-in features, you don't have to do anything, >>>> because it's >>>> more than you probably need. Did I mention all with a couple of >>>> clicks? ;-) >>>> >>>> This release corrects all reported issues. Please report any >>>> problems or >>>> suggestions on this release to: >>>> >>>> support at sosmartsoftware.com >>>> >>>> Enjoy! >>>> >>>> Jim Bufalini >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Tue Feb 24 13:58:09 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 24 Feb 2009 10:58:09 -0800 Subject: [ANN] ListMagic 1.1.2 Maintenance Release is now available In-Reply-To: <006b01c996ae$c7ab2d90$570188b0$@com> References: <004d01c9967b$0a917b20$1fb47160$@com> <164EC563-D755-41F6-B644-5DA400079406@twft.com> <006b01c996ae$c7ab2d90$570188b0$@com> Message-ID: <5F66237A-C8AF-43CC-B51B-F59006AF9954@twft.com> Hi everyone. Concerning the ListMagic errors I was getting, I found what the problem was. I had left behind the property set CSSHeaders when I removed manually the ListMagic widget from my stack. Apparently ListMagic checks for the existence of this and assumes the existence of a widget. If you manually delete the widget but do NOT delete the CSSHeader property set, this will understandably cause a problem. All is working normally now and I can get back to working on the project. Thanks Jim for the very timely help on this matter. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 24, 2009, at 10:36 AM, Jim Bufalini wrote: > Hey Bob, > > Well just "for the list," I've tested on 2.9 and 3.0 and no problems. > Probably something really minor got messed in your stack because you > were an > early adaptor and on the bleeding edge. ;-) I'll work with you off- > list to > figure out what it is and then you can report on-list. :-) > > All the best, > > Jim Bufalini > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Bob Sneidar >> Sent: Tuesday, February 24, 2009 7:29 AM >> To: How to use Revolution >> Subject: Re: [ANN] ListMagic 1.1.2 Maintenance Release is now >> available >> >> Doggone! Sorry everyone. I didn't realize I was replying to the list >> until I sent this. I thot I was replying directly to Jim. >> >> Bob Sneidar >> IT Manager >> Logos Management >> Calvary Chapel CM >> >> On Feb 24, 2009, at 9:24 AM, Bob Sneidar wrote: >> >>> Hi Jim. >>> >>> I am still throwing errors having to do with the locked stack. >>> Whenever I try to add a widget, I get the error. Once I do I cannot >>> close Listmagic or quit Revolution. I have to force quit the app. >>> >>> This time with version 1.1.2, it asked me for the password to the >>> locked stack. I am thinking that the whole locked stack method that >>> Eric used is breaking with Rev 3.0. >>> >>> Bob Sneidar >>> IT Manager >>> Logos Management >>> Calvary Chapel CM >>> >>> On Feb 24, 2009, at 4:25 AM, Jim Bufalini wrote: >>> >>>> Hello Everyone, >>>> >>>> ListMagic 1.1.2 is now available. Please download it from: >>>> >>>> http://www.sosmartsoftware.com/?r=revolution&l=en >>>> >>>> When you launch ListMagic, it will say ListMagic 1.1.2 in the title >>>> bar. If >>>> yours is already registered, then Registered version will also show >>>> in your >>>> ListMagic title bar. There is no need to re-register. >>>> >>>> To upgrade existing projects to the new version, simply go to your >>>> existing >>>> project. In ListMagic, go to the Installation tab, click on the >>>> "Install or >>>> modify a widget" button and then, on the next screen, and without >>>> changing >>>> anything, just click the "Modify" button. >>>> >>>> ListMagic will update all widgets, in all cards of the stack, and >>>> its own >>>> ListMagic library. If you have multiple stacks with ListMagic >>>> widgets, just >>>> repeat for each stack, by going to the stack, and clicking Modify >>>> again. >>>> You're done! >>>> >>>> This maintenance release corrects reported problems, as well as >>>> contains a >>>> couple of significant enhancements. >>>> >>>> Bugs fixed in 1.1.2: >>>> >>>> - Printing generated locked stack errors. >>>> Fixed >>>> >>>> - Cancelling printing could generate errors. >>>> Fixed >>>> >>>> - Sorting on print, export or extract could generate locked stack >>>> errors. >>>> Fixed >>>> >>>> - Right clicking on an item and selecting Edit from the context >>>> menu could >>>> select the wrong item. >>>> Fixed >>>> >>>> - Random errors if running GLX2 and VAB. >>>> Fixed - Requires you also run the latest beta of GLX2. >>>> >>>> - German language menus were incorrectly phrased. >>>> Fixed >>>> >>>> Enhancements: >>>> >>>> - You can now filter any column by any combination of characters or >>>> word(s). >>>> For example, if you have a Street Address column with 123 Some >>>> Street, 789 >>>> Some Drive, 555 Wilson Place, and 333 Center Drive, selecting >>>> filter and >>>> typing "s" will immediately knock out 333 Center Drive because it >>>> has no >>>> "s". Type "o" and the others still remain, because all three have >>>> "so." Type >>>> "m" and 555 Wilson Place is filtered out, leaving you only with the >>>> Some >>>> Street and Some Drive addresses. Of course, if have many people who >>>> live on >>>> Some Drive, and wanted to filter to only the Smiths on Some Drive, >>>> you just >>>> start entering Smith in the name column. Way cool. And all built-in >>>> and >>>> easy! >>>> >>>> - Print, Extract and Export all respect a filter. So, if you filter >>>> a list >>>> and then either Print, Extract or Export, only the filtered items >>>> print, >>>> etc. >>>> >>>> - You can use column names instead of numbers for sorting before a >>>> print, >>>> Export or Extract. So, if the second column of your list is Last >>>> Name, then >>>> LMPrint 2 and LMPrint "Last Name" both will sort by Last Name >>>> before >>>> printing. This is valuable if you allow your users to drag and drop >>>> columns >>>> into different positions in the list (built-in option feature of >>>> ListMagic). >>>> By using column names instead of numbers in your statements, you >>>> will always >>>> get the right sort without having to check first if they moved the >>>> columns. >>>> >>>> Best of all, it's still only two clicks to create a list with >>>> headers, >>>> resizable column widths, sorting by column, filtering by column, >>>> in- >>>> line >>>> editing, drag and drop column positioning, automatically resizing >>>> columns, >>>> selection lines and boxes, hidden columns, scrollbars, iTunes look >>>> and feel >>>> with selectable colors, formatted printing, import and export to >>>> file, and >>>> built-in messaging that allows you to easily do all manner of >>>> customizations >>>> (but only if you want to ;-). >>>> >>>> With all the built-in features, you don't have to do anything, >>>> because it's >>>> more than you probably need. Did I mention all with a couple of >>>> clicks? ;-) >>>> >>>> This release corrects all reported issues. Please report any >>>> problems or >>>> suggestions on this release to: >>>> >>>> support at sosmartsoftware.com >>>> >>>> Enjoy! >>>> >>>> Jim Bufalini >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pmbrig at gmail.com Tue Feb 24 14:41:27 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 24 Feb 2009 14:41:27 -0500 Subject: Gutenberg Reader In-Reply-To: <20090224180004.510BE48A717@mail.runrev.com> References: <20090224180004.510BE48A717@mail.runrev.com> Message-ID: <63CECD1F-4824-41C2-A584-2C6383973CDC@gmail.com> On Tue, 24 Feb 2009 18:16:5, Pierre Sahores wrote > Peter, > > The Rev 3.0 application builder works fine, there, under Mac OS X. Are > you building your app under OS X or under Windows ? > > Best Regards, > -- > Pierre Sahores MacBook 2.1 GHz Intel Core 2 Duo, OSX 10.5.6, Rev Studio 3.0.0 build 750 I'm assuming you mean that you built a Reader standalone successfully on your system from the Reader stack. What hardware/system version are you using? Anyone have ideas on why the standalone builder won't build a Mac standalone for me that works on all CPUs/OSX versions? Or what a workaround might look like? I don't want to try to distribute a standalone widely under these conditions, so this is a deal-breaker for me if I can't solve it. Peter M. Brigham pmbrig at gmail.com From lan.kc.macmail at gmail.com Tue Feb 24 17:47:54 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 25 Feb 2009 06:47:54 +0800 Subject: OT: when was ditto implemented in OS X? In-Reply-To: References: Message-ID: ditto existed in the very first commercially available OS X. What has changed are the 'default' settings. Prior to 10.4 you had to specify the option -rsrc, since 10.4 -rsrc is the default behaviour - which interesting suggests that resource forks are becoming more common (of a problem), not less??? The following became default behaviours in 10.5: -extattr preserve extended attributes (requires --rsrc). -qtn preserve quarantine information. acl preserve Access Control Lists (ACLs). HTH On Tue, Feb 24, 2009 at 7:57 PM, Mark Smith wrote: > Ditto is present on a G4 I have that's running 10.3.9. > > Best, > > Mark > > > On 24 Feb 2009, at 11:52, Tiemo Hollmann TB wrote: > > Hello, >> >> does anybody knows by incident, in which OS X release ditto was >> implemented? >> I just got doubtful because I have read something about min 10.4, but >> wasn't >> sure about that source and didn't found any other docs in the net about >> that. >> >> I would like to set OS X min 10.3 as system requirements for my app. Am I >> on >> the safe side with that for ditto? >> >> Thanks >> >> Tiemo >> >> >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Tue Feb 24 17:55:31 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 25 Feb 2009 06:55:31 +0800 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: References: <337816.31961.qm@web37502.mail.mud.yahoo.com> Message-ID: On Wed, Feb 25, 2009 at 2:04 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Dear sir... before we click on this unidentified link, > could you tell us what it is? > > For those who wish to read before they commit: http://www.macupdate.com/info.php/id/14792/microsoft-expression HTH From psahores at free.fr Tue Feb 24 18:23:27 2009 From: psahores at free.fr (Pierre Sahores) Date: Wed, 25 Feb 2009 00:23:27 +0100 Subject: Gutenberg Reader In-Reply-To: <63CECD1F-4824-41C2-A584-2C6383973CDC@gmail.com> References: <20090224180004.510BE48A717@mail.runrev.com> <63CECD1F-4824-41C2-A584-2C6383973CDC@gmail.com> Message-ID: Le 24 f?vr. 09 ? 20:41, Peter Brigham MD a ?crit : > On Tue, 24 Feb 2009 18:16:5, Pierre Sahores wrote > >> Peter, >> >> The Rev 3.0 application builder works fine, there, under Mac OS X. >> Are >> you building your app under OS X or under Windows ? >> >> Best Regards, >> -- >> Pierre Sahores > > MacBook 2.1 GHz Intel Core 2 Duo, OSX 10.5.6, Rev Studio 3.0.0 build > 750 > > I'm assuming you mean that you built a Reader standalone > successfully on your system from the Reader stack. What hardware/ > system version are you using? MacBook Pro 2 GHz Intel Core 2 2 Go RAM, OSX 10.5.6, Rev Entreprise 3.0.0 build 750 > > > Anyone have ideas on why the standalone builder won't build a Mac > standalone for me that works on all CPUs/OSX versions? Or what a > workaround might look like? I don't want to try to distribute a > standalone widely under these conditions, so this is a deal-breaker > for me if I can't solve it. I remember yet that i went in such problems the first time i tried to use the Rev 3 standalone builder. The standalone application's original config was the responsable of this (default settings corrupted). I solved the problem in resetting each option (one after an other) of the standalone application's setting and all went then OK. Best, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com > > > Peter M. Brigham > pmbrig at gmail.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katheryn.swynford at gmail.com Tue Feb 24 18:37:06 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Tue, 24 Feb 2009 15:37:06 -0800 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: References: <337816.31961.qm@web37502.mail.mud.yahoo.com> Message-ID: <4be051070902241537ne10cb81n84bdd09351a89586@mail.gmail.com> Oh the dilemma! Whether to keep my machine a M$-free zone or d/o a free vector illustration program... Judy http://revined.blogspot.com On Tue, Feb 24, 2009 at 2:55 PM, Kay C Lan wrote: > > For those who wish to read before they commit: > > http://www.macupdate.com/info.php/id/14792/microsoft-expression > > HTH > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Tue Feb 24 18:40:38 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 25 Feb 2009 07:40:38 +0800 Subject: Gutenberg Reader In-Reply-To: <63CECD1F-4824-41C2-A584-2C6383973CDC@gmail.com> References: <20090224180004.510BE48A717@mail.runrev.com> <63CECD1F-4824-41C2-A584-2C6383973CDC@gmail.com> Message-ID: On Wed, Feb 25, 2009 at 3:41 AM, Peter Brigham MD wrote: > > MacBook 2.1 GHz Intel Core 2 Duo, OSX 10.5.6, Rev Studio 3.0.0 build 750 > > Peter, I have MacBook Pro 17" 2.1 GHz Intel Core 2 Duo, OSX 10.5.6, Rev Studio 3.0.0 build 750, and it's no go. If I open the package contents and open each of the three .rev files they basically open OK - some minor problem with stacks not finding one another. I did though have a problem with the file "Gutenberg Reader" which has no file extension. In the Finder it is reported as plain text, but when I opened it in BBEdit it was gibberish - maybe encrypted? I have BBEdit set up for Western (Mac OS Roman) so I tried a few of the other formats like UTF-8, UTF-16.... etc, but still gibberish. I then closed the file, BBEdit asked if I wanted to save the changes I made, I clicked "Don't Save", I then got a dialog about some unprintable characters, which I dismissed, BBEdit then crashed! BBEdit is the most rock solid program I've ever used, it is the yardstick by which I measure all others. If BBEdit is having trouble with the file "Gutenberg Reader" maybe it's a lead..... HTH From luis at anachreon.co.uk Tue Feb 24 18:40:37 2009 From: luis at anachreon.co.uk (Luis) Date: Tue, 24 Feb 2009 23:40:37 +0000 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: <4be051070902241537ne10cb81n84bdd09351a89586@mail.gmail.com> References: <337816.31961.qm@web37502.mail.mud.yahoo.com> <4be051070902241537ne10cb81n84bdd09351a89586@mail.gmail.com> Message-ID: <49A48575.5080000@anachreon.co.uk> Hiya, Apparently Xara is working on an OS X version of Xara Xtreme: http://www.xaraxtreme.org/ Cheers, Luis. Judy Perry wrote: > Oh the dilemma! > Whether to keep my machine a M$-free zone or d/o a free vector illustration > program... > > Judy > http://revined.blogspot.com > > > On Tue, Feb 24, 2009 at 2:55 PM, Kay C Lan wrote: > >> For those who wish to read before they commit: >> >> http://www.macupdate.com/info.php/id/14792/microsoft-expression >> >> HTH >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From lan.kc.macmail at gmail.com Tue Feb 24 19:10:25 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 25 Feb 2009 08:10:25 +0800 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: <4be051070902241537ne10cb81n84bdd09351a89586@mail.gmail.com> References: <337816.31961.qm@web37502.mail.mud.yahoo.com> <4be051070902241537ne10cb81n84bdd09351a89586@mail.gmail.com> Message-ID: On Wed, Feb 25, 2009 at 7:37 AM, Judy Perry wrote: > Oh the dilemma! > Whether to keep my machine a M$-free zone or d/o a free vector illustration > program... > > Dilemma... you're kidding right! Here, let me help you: http://www.bittbox.com/software/freeware-find-drawberry-a-free-vector-editor-for-os-x/ ;-) From luis at anachreon.co.uk Tue Feb 24 19:55:46 2009 From: luis at anachreon.co.uk (Luis) Date: Wed, 25 Feb 2009 00:55:46 +0000 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: References: <337816.31961.qm@web37502.mail.mud.yahoo.com> <4be051070902241537ne10cb81n84bdd09351a89586@mail.gmail.com> Message-ID: <49A49712.7090004@anachreon.co.uk> JFDraw: http://www.jfimagine.com/ :P Kay C Lan wrote: > On Wed, Feb 25, 2009 at 7:37 AM, Judy Perry wrote: > >> Oh the dilemma! >> Whether to keep my machine a M$-free zone or d/o a free vector illustration >> program... >> >> > Dilemma... you're kidding right! Here, let me help you: > > http://www.bittbox.com/software/freeware-find-drawberry-a-free-vector-editor-for-os-x/ > > ;-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From katheryn.swynford at gmail.com Tue Feb 24 20:32:16 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Tue, 24 Feb 2009 17:32:16 -0800 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: References: <337816.31961.qm@web37502.mail.mud.yahoo.com> <4be051070902241537ne10cb81n84bdd09351a89586@mail.gmail.com> Message-ID: <4be051070902241732v7104e236r4edcd0222b0a326e@mail.gmail.com> On Tue, Feb 24, 2009 at 4:10 PM, Kay C Lan wrote: > On Wed, Feb 25, 2009 at 7:37 AM, Judy Perry >wrote: > > > Oh the dilemma! > > Whether to keep my machine a M$-free zone or d/o a free vector > illustration > > program... > > > > > Dilemma... you're kidding right! Here, let me help you: > > > http://www.bittbox.com/software/freeware-find-drawberry-a-free-vector-editor-for-os-x/ > > ;-) --hehehe! Thanks! :-D Judy http://revined.blogspot.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katheryn.swynford at gmail.com Tue Feb 24 20:32:45 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Tue, 24 Feb 2009 17:32:45 -0800 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: <49A49712.7090004@anachreon.co.uk> References: <337816.31961.qm@web37502.mail.mud.yahoo.com> <4be051070902241537ne10cb81n84bdd09351a89586@mail.gmail.com> <49A49712.7090004@anachreon.co.uk> Message-ID: <4be051070902241732t6d72eb83i431bcdabbe176e8a@mail.gmail.com> On Tue, Feb 24, 2009 at 4:55 PM, Luis wrote: > JFDraw: http://www.jfimagine.com/ > > :P > --Thanks! :-D Judy http://revined.blogspot.com > > > > > Kay C Lan wrote: > >> On Wed, Feb 25, 2009 at 7:37 AM, Judy Perry > >wrote: >> >> Oh the dilemma! >>> Whether to keep my machine a M$-free zone or d/o a free vector >>> illustration >>> program... >>> >>> >>> Dilemma... you're kidding right! Here, let me help you: >> >> >> http://www.bittbox.com/software/freeware-find-drawberry-a-free-vector-editor-for-os-x/ >> >> ;-) >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lfredricks at proactive-intl.com Tue Feb 24 23:36:10 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 24 Feb 2009 20:36:10 -0800 Subject: [OT] Free Vector Illustrator for Macintosh. In-Reply-To: References: <337816.31961.qm@web37502.mail.mud.yahoo.com> Message-ID: > For those who wish to read before they commit: > > http://www.macupdate.com/info.php/id/14792/microsoft-expression This is a very cool program that MS got when they acquired a Chinese software company a few years back. It was (havent looked at it in while) sort of like Painter, except that it "paints" with vectors. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From mfstuart at cox.net Tue Feb 24 23:43:52 2009 From: mfstuart at cox.net (Mark Stuart) Date: Tue, 24 Feb 2009 20:43:52 -0800 Subject: Gutenberg Reader Message-ID: <000001c99703$a8b85ac0$850c0544@stuart> Peter wrote: OK, I manually replaced the three .rev stacks inside the package. Try downloading it again: I was able to view and search the Gutenberg list and "download" an eBook. Nice work Peter. Thanx, Mark Stuart From lan.kc.macmail at gmail.com Wed Feb 25 01:50:46 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 25 Feb 2009 14:50:46 +0800 Subject: Gutenberg Reader In-Reply-To: References: <20090224180004.510BE48A717@mail.runrev.com> <63CECD1F-4824-41C2-A584-2C6383973CDC@gmail.com> Message-ID: On Wed, Feb 25, 2009 at 7:40 AM, Kay C Lan wrote: > > BBEdit then crashed! > > On a slightly different note, quick as a flash Bare Bones were emailing me wanting more details of what made BBEdit crash. I can reproduce the crash simply by opening the Gutenberg Reader file that resides in the Mac OS folder in the app bundle, change it's text encoding from Western (Mac OS Roman) to Western (Windows Latin 1), I then close the document, I then choose 'Dont Save' from the dialog box, I am then presented with a window that says: Unmappable character(s) detected. This document contains one or more... There are three buttons, Show Unmappable Characters, Cancel or Save as UTF-8. If I click on Cancel the dialog box disappears, the document sits there for a couple of seconds, then disappears along with the entire BBEdit app, I then get the Crash Reporter dialog. I can definitely repeat this every single time. Bare Bones have asked if I could forward them the file? Peter would you mind if I did? If not, could you let me know some more details of what the file is so I can pass it on to the Bare Bones team. Thanks. From sundown at pacifier.com Wed Feb 25 02:26:18 2009 From: sundown at pacifier.com (-= JB =-) Date: Tue, 24 Feb 2009 23:26:18 -0800 Subject: Gutenberg Reader In-Reply-To: <000001c99703$a8b85ac0$850c0544@stuart> References: <000001c99703$a8b85ac0$850c0544@stuart> Message-ID: I am using a Mac with OS X 10.4.11 and it does not open. -=>JB<=- On Feb 24, 2009, at 8:43 PM, Mark Stuart wrote: > Peter wrote: > > OK, I manually replaced the three .rev stacks inside the package. Try > downloading it again: > > > > I was able to view and search the Gutenberg list and "download" an > eBook. > > Nice work Peter. > > > > Thanx, > > Mark Stuart > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From geradamas at yahoo.com Wed Feb 25 04:49:04 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 25 Feb 2009 01:49:04 -0800 (PST) Subject: [OT] Free Vector Illustrator for Macintosh. Message-ID: <237438.98153.qm@web37507.mail.mud.yahoo.com> It really is surprising how many FREE applications there are available. The problem is that finding them is often quite time-consuming. Therefore I have started listing some FREE and OPEN SOURCE applications on my website: http//:mail.maclaunch.com/richmond click on "SOFTWARE RESOURCES" at the moment things are a bit thin: but over the next few weeks I will try to put together a more comprehensive listing. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From geradamas at yahoo.com Wed Feb 25 04:50:48 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 25 Feb 2009 01:50:48 -0800 (PST) Subject: [OT] Free Vector Illustrator for Macintosh. Message-ID: <728007.73533.qm@web37505.mail.mud.yahoo.com> Uunh! Sorry about that stupid number: read http://mail.maclaunch.com/richmond sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From toolbook at kestner.de Wed Feb 25 05:38:30 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 25 Feb 2009 11:38:30 +0100 Subject: getting timeout with load URL Message-ID: <4F083903ABD14D278AFAE026CB54733A@Kestner.local> Hello, I am experiencing sometimes timeouts with a load URL at a beta tester. Testing the same download from same server at the same time, runs smooth. Obviously the bottleneck seems to be the internet connection or provider of the tester, though he is supposed to have a 2000 kBit line. On the other hand he can surf the net and downloads mails without a problem - beside of slow performance some times. Are there any options to tweak the load URL / internet connection from within Rev, like setting the timeout, retrying or anything else? Or do I just have to live with that behaviour and have to tell my customers to retry? Thanks for any experience Tiemo From luis at anachreon.co.uk Wed Feb 25 05:50:01 2009 From: luis at anachreon.co.uk (Luis) Date: Wed, 25 Feb 2009 10:50:01 +0000 Subject: getting timeout with load URL In-Reply-To: <4F083903ABD14D278AFAE026CB54733A@Kestner.local> References: <4F083903ABD14D278AFAE026CB54733A@Kestner.local> Message-ID: <0F2BB570-3469-4CC1-A79E-5205E4B287A8@anachreon.co.uk> Buy them a slower watch? Cheers, Luis. On 25 Feb 2009, at 10:38, Tiemo Hollmann TB wrote: > Hello, > > I am experiencing sometimes timeouts with a load URL at a beta tester. > Testing the same download from same server at the same time, runs > smooth. > Obviously the bottleneck seems to be the internet connection or > provider of > the tester, though he is supposed to have a 2000 kBit line. On the > other > hand he can surf the net and downloads mails without a problem - > beside of > slow performance some times. > > Are there any options to tweak the load URL / internet connection from > within Rev, like setting the timeout, retrying or anything else? Or > do I > just have to live with that behaviour and have to tell my customers to > retry? > > Thanks for any experience > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Wed Feb 25 05:52:15 2009 From: klaus at major-k.de (Klaus Major) Date: Wed, 25 Feb 2009 11:52:15 +0100 Subject: getting timeout with load URL In-Reply-To: <4F083903ABD14D278AFAE026CB54733A@Kestner.local> References: <4F083903ABD14D278AFAE026CB54733A@Kestner.local> Message-ID: <3443E965-B2F0-4576-A928-ACA0F029C6A4@major-k.de> Hi Tiemo, > Hello, > > I am experiencing sometimes timeouts with a load URL at a beta tester. > Testing the same download from same server at the same time, runs > smooth. > Obviously the bottleneck seems to be the internet connection or > provider of > the tester, though he is supposed to have a 2000 kBit line. On the > other > hand he can surf the net and downloads mails without a problem - > beside of > slow performance some times. > > Are there any options to tweak the load URL / internet connection from > within Rev, like setting the timeout, retrying or anything else? Or > do I > just have to live with that behaviour and have to tell my customers to > retry? > > Thanks for any experience you can get and set "the socketTimeOutInterval" like: ... put the socketTimeOutInterval into alt_interval set the socketTimeOutInterval to 20000 ## Do your internet stuff... set the socketTimeOutInterval to alt_interval ... that's the way we do it and it works fine so far :-) > Tiemo Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From m.schonewille at economy-x-talk.com Wed Feb 25 06:26:56 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Feb 2009 12:26:56 +0100 Subject: Menu problem Message-ID: <343DFCBA-8678-429F-8EC9-68749999AD32@economy-x-talk.com> Hello, Has anyone ever experience the following problem? I have a menubar, in which I need to enable and disable menus. For this, I use a simple repeat loop. put "Text Editor" into myStack repeat for each item myMenu in "File,Edit,Text" enable menu myMenu of stack myStack end repeat Once in a while, particularly in the IDE, I get an error when this script runs: Type: Chunk (no such object) Object name: script Line:(row 821 col 11) Hint: Text (The object name is script because of a Rev bug that occurs in try control structures, you can ignore this). Suppose that the error occurs at item "Text". This means that the following syntax was executed at the moment of the error: enable menu "Text" of stack "Text Editor" If I execute this line from the messag box while the script editor is still in edit mode, it runs fine. The question is whether anyone saw something similar and whether this may be another Revolution bug. I'm not looking for a solution. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! From revolution at derbrill.de Wed Feb 25 06:41:13 2009 From: revolution at derbrill.de (Malte Brill) Date: Wed, 25 Feb 2009 12:41:13 +0100 Subject: chartsEngine 1.0.1 In-Reply-To: <20090224114948.7A0D948A344@mail.runrev.com> References: <20090224114948.7A0D948A344@mail.runrev.com> Message-ID: <7D260DAE-8D1A-4924-8BEC-963BC6971F2D@derbrill.de> Hi all, we just uploaded a maintenance release of chartsEngine. - Typos in the docs have been fixed - if the chart fails to render because the data is corrupt or any other reason, the result will now contain the error code So after a chartsRefresh you can do the following: chartsRefresh tChart if the result is not empty then put the result answer "Something went wrong." end if ( you can parse the error codes nicely using http://runrev.info/error.html ) You can find the updated version here: http://downloads.runrev.com/revselect/chartsEngine_101.zip Cheers, Malte From resources at in-depth.com Wed Feb 25 07:02:17 2009 From: resources at in-depth.com (Resources) Date: Wed, 25 Feb 2009 04:02:17 -0800 Subject: [ANN] chartsEngine - now on revSelect Message-ID: <20090225120217.396781656@mail.in-depth.com> Hi All Rev Developers, I want to let you know about my recent experience with chartEngine. I am an ISP, WeHostMacs.com (small plug) and have been looking for a way to chart over a hundred thousand data points that I collect from my servers each month. The data points happen to be the load average of the CPU. Load average is a moving set of data that is reported at the 1, 5 and 15 minute marks. You can see your own if you are using a Mac, by entering "top" or "w" into your terminal window without the quotes. I am taking this data every minute over the months until I flush the data from the program. It becomes a huge data set. What this tells me is how the server is doing across the days, weeks and months. It is telling me if the server is ever overloaded and if so to what extent. So, in comes chartEngine to the rescue. I have been looking for a way to take this data and chart it so it would be much easier to see what all this massive data means. I started with the most likely candidate, MS Excel, a decent program to do charts in, but to my surprise I was stopped cold by a 32,000 data point limit. My jaw almost hit the ground. A program that cost $229.00 if you buy it a la carte can't chart more than 32,000 data points. Next up, DeltaGraph 5, another program that has been around for quite a while. During my testing of it I was shocked again. Just pasting in 812,544 data points on 270,848 lines blew-up the program. Hmmmmmm, was not expecting that. Finally, I gave chartEngine a try. First, Rev was able to handle that same data set that I tried to put in to DeltaGraph 5 in one field with no problem at all. Next I made my chart and clicked on the "Chart" button to see that my chart was made in 3706 millisecs - that gave me a big smile. Finally I had my graph and it was fast. Very fast. So at this point, I had to see if I could break it! Lets see. Lets try 1,000,000 lines with 3 data points per line or 3,0000,000 data points It took just 13,330 milliseconds. How about 3 million lines that should do the trick. Well, it came back in 45,553 millisecs. But, I wanted to see if it was slowing down. Well, it did but only by 13.3% while tripling the lines of data. The 1 million lines processed at 75.0 lines per millisecond. The 3 million lines processed at a rate of 65.7 lines per millisecond. Ok, let's kill it with 6 million lines or 18 million data points. Well, all I can say is that it whipped it out in only 104,746 milliseconds and it slowed down by in speed again by 12.8% while doubling the data. The rate at this point was 57.3 lines per millisecond. In conclusion all I can say is WOW, good job Malte. If you are looking for a fast and well written charting program I really don't think you can go wrong with chartEngine. I know of no other solution that can draw the number of data-points and as fast as chartEngine can - period. Regards, Jeff McWard WeHostMacs.com (800) 356-9566 (408) 253-8500 From toolbook at kestner.de Wed Feb 25 07:32:40 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 25 Feb 2009 13:32:40 +0100 Subject: AW: getting timeout with load URL In-Reply-To: <3443E965-B2F0-4576-A928-ACA0F029C6A4@major-k.de> Message-ID: <5EFE02BB0C854FE9906E4824552CD449@Kestner.local> Hi Klaus, That's what I was looking for. I didn't knew, that this takes also into account for the load command. I'll give it a try :) Thank you Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Klaus Major > Gesendet: Mittwoch, 25. Februar 2009 11:52 > An: How to use Revolution > Betreff: Re: getting timeout with load URL > > Hi Tiemo, > > > Hello, > > > > I am experiencing sometimes timeouts with a load URL at a beta tester. > > Testing the same download from same server at the same time, runs > > smooth. > > Obviously the bottleneck seems to be the internet connection or > > provider of > > the tester, though he is supposed to have a 2000 kBit line. On the > > other > > hand he can surf the net and downloads mails without a problem - > > beside of > > slow performance some times. > > > > Are there any options to tweak the load URL / internet connection from > > within Rev, like setting the timeout, retrying or anything else? Or > > do I > > just have to live with that behaviour and have to tell my customers to > > retry? > > > > Thanks for any experience > > you can get and set "the socketTimeOutInterval" like: > ... > put the socketTimeOutInterval into alt_interval > set the socketTimeOutInterval to 20000 > ## Do your internet stuff... > set the socketTimeOutInterval to alt_interval > ... > > that's the way we do it and it works fine so far :-) > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Wed Feb 25 10:14:36 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 25 Feb 2009 07:14:36 -0800 Subject: Paradigma Ships Valentina 4, Reports, Client for iPhone Message-ID: Paradigma Ships Valentina 4, Reports, Client for iPhone Paradigma Software (http://www.paradigmasoft.com) announces the release of ultra fast Valentina DB technology release 4 and the addition of several new products to the Valentina DB product line, including advanced reporting capabilities and new connectivity with the Apple iPhone. Valentina DB 4 provides over a year of development improvements to all Valentina based database products. Some features shared by all Valentina DB products include: * SQL to XML. Generate XML data from an SQL query from any Valentina DB database * SET/GET Properties in SQL. Use SQL to set and get properties of database objects using Stored Procedures * ISP Host Features. CREATE/DROP/GRANT/REVOKE User rights * Projects. Valentina DB 4 introduces a new project file format for storing databases, reports Valentina DB also incorporates hundreds of user requested improvements and fixes to improve overall robustness on all three operating systems: Windows, Linux and Mac OS X. Valentina 4 is the result of over one year of development. Valentina Reports A major addition to the Valentina DB product line is Valentina Reports and Valentina Reporting Services. Valentina Reports is a powerful, report creation and generation engine that drops right into the Valentina DB kernel. Because it interfaces directly with the Valentina DB kernel, it is possible to dynamically generate reports from any Valentina DB ADK or from any Valentina Server product. Reports features include: * Broad Compatibility. Generate reports for every major development environment, from Apple Cocoa framework applications to .net to C++ applications built on Linux to Adobe Director. Over 18+ platforms supported. * XML Enriched PDF Generation. Automatically generate business ready, formatted PDF reports with embedded XML, automatically assigned passwords and permissions. * Generate Reports from SQL. Valentina SQL can return a report right into a BLOB field of a cursor. This opens access to reports for such standard APIs as ODBC. * Charts and Graphs. Build applications that produce rich charts and graphs from numeric, financial, statistical and business data from your Valentina database. * Sub Reports. Combine multiple sub-reports into a single main report presentation; generate reports from multiple sources and display them side by side. * Web and Graphic Exports. Make your reports immediately useful to your users by exporting in a variety of presentation formats: HTML, JPG, PNG, LaTeX, text and more. * Barcodes. 36 industry standard barcodes, such as ISBN, EAN, Pharmacode, POSTNET and more and from within your Valentina DB enabled applications. Valentina Reports is an optional add-on for Valentina ADK and Valentina Developer Network products. Unlimited Report deployment is available for as little as $200. Valentina Client for iPhone -------------------------------------- A new feature added to Valentina Developer Network Professional Edition ($999) is a Valentina DB client for iPhone. This royalty free client library can be incorporated into iPhone applications and allow connectivity to Valentina Office Server or Valentina Embedded Server for building powerful client-server solutions for the Apple iPhone. Valentina Studio Pro -------------------------------------- Valentina Studio Pro is an advancement on the general purpose database creation and management tool, Valentina Studio Administrator (Mac OS X and Windows). Valentina Studio Pro, currently in open beta, introduces an advanced, polished interface and report design capabilities that can be used within Valentina Studio Pro, Valentina Office Server or saved for use with Valentina Reports. Users can register to get free serial numbers for Valentina Studio Pro on the Paradigma Software website. Valentina Office Server -------------------------------------- Valentina Office Server is the powerful, business ready database server on Windows, Mac OS X and Linux. Valentina Office Server 4 adds the new Valentina Reporting Services feature set, making it possible to create advanced server-side applications that can automatically create business ready reports. Valentina Reporting Services for Valentina Office Server does not increase the price of Valentina Office Server. Valentina Office Server includes a copy of Valentina Studio Administrator for performing database maintenance tasks. Valentina Office Server is available for $299.99 new or $179.99 and includes 12 months of free updates. Valentina Developer Network -------------------------------------- Valentina Developer Network lets developers build royalty free local, client-server and server solutions based on Valentina Embedded Server. VDN customers have more options for selecting which platforms they can deploy and can now add optional Valentina Reports to either local applications or as a part of Valentina Embedded Server. Valentina Developer Network Platform Edition includes any combination of any three Valentina ADK platforms, and is available for as low as $359.40 as an upgrade from Valentina ADK; $599 new. About Paradigma Software Paradigma Software launched its first product, the post-relational, columnar database technology Valentina, based on the groundbreaking work of Ruslan Zasukhin in advanced database research. Valentina maximizes available resources by making data based tasks extremely fast and efficient - even on industry standard Linux running on older hardware. Paradigma Software Incorporated was established in 1998 as an Oregon, USA based corporation. Paradigma Software has additional offices for development and sales in Germany and Japan. From geradamas at yahoo.com Wed Feb 25 11:15:59 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 25 Feb 2009 08:15:59 -0800 (PST) Subject: [OT] More happy news for Mac paupers. Message-ID: <612895.1593.qm@web37501.mail.mud.yahoo.com> OmniWeb, OmniDazzle, OmniDiskSweeper, and OmniObjectMeter are now all available for FREE: http://www.omnigroup.com/ Mind you OmniWeb is put in the shade by the release of the super-fast Safari 4! OmniDazzle is for really jazzy screenshots. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From toolbook at kestner.de Wed Feb 25 11:27:36 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 25 Feb 2009 17:27:36 +0100 Subject: AW: getting timeout with load URL In-Reply-To: <3443E965-B2F0-4576-A928-ACA0F029C6A4@major-k.de> Message-ID: <432EA189C9A9422FB319CB10EB6DB9BD@Kestner.local> I tried it with setting the socketTimeoutInterval to 20000 and even 30000 before the load url, but this guy still gets a timeout at most attempts. After 5-10 retries he can download the file of about 4MB. Any other tweak or any other idea, what could be going on here and where to look for? Thanks for any ideas Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Klaus Major > Gesendet: Mittwoch, 25. Februar 2009 11:52 > An: How to use Revolution > Betreff: Re: getting timeout with load URL > > Hi Tiemo, > > > Hello, > > > > I am experiencing sometimes timeouts with a load URL at a beta tester. > > Testing the same download from same server at the same time, runs > > smooth. > > Obviously the bottleneck seems to be the internet connection or > > provider of > > the tester, though he is supposed to have a 2000 kBit line. On the > > other > > hand he can surf the net and downloads mails without a problem - > > beside of > > slow performance some times. > > > > Are there any options to tweak the load URL / internet connection from > > within Rev, like setting the timeout, retrying or anything else? Or > > do I > > just have to live with that behaviour and have to tell my customers to > > retry? > > > > Thanks for any experience > > you can get and set "the socketTimeOutInterval" like: > ... > put the socketTimeOutInterval into alt_interval > set the socketTimeOutInterval to 20000 > ## Do your internet stuff... > set the socketTimeOutInterval to alt_interval > ... > > that's the way we do it and it works fine so far :-) > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Wed Feb 25 11:31:42 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 25 Feb 2009 06:31:42 -1000 Subject: getting timeout with load URL In-Reply-To: <432EA189C9A9422FB319CB10EB6DB9BD@Kestner.local> References: <3443E965-B2F0-4576-A928-ACA0F029C6A4@major-k.de> <432EA189C9A9422FB319CB10EB6DB9BD@Kestner.local> Message-ID: <00e301c99766$8b068b10$a113a130$@com> Hi Tiemo, Would you go here: http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en and down to tutorial #018 How to download data from the Internet. Download the tutorial. Everything you need to know should be there including using the load command. Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > Sent: Wednesday, February 25, 2009 6:28 AM > To: 'How to use Revolution' > Subject: AW: getting timeout with load URL > > I tried it with setting the socketTimeoutInterval to 20000 and even > 30000 > before the load url, but this guy still gets a timeout at most > attempts. > After 5-10 retries he can download the file of about 4MB. > > Any other tweak or any other idea, what could be going on here and > where to > look for? > > Thanks for any ideas > Tiemo > > > > > -----Urspr?ngliche Nachricht----- > > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] Im Auftrag von Klaus Major > > Gesendet: Mittwoch, 25. Februar 2009 11:52 > > An: How to use Revolution > > Betreff: Re: getting timeout with load URL > > > > Hi Tiemo, > > > > > Hello, > > > > > > I am experiencing sometimes timeouts with a load URL at a beta > tester. > > > Testing the same download from same server at the same time, runs > > > smooth. > > > Obviously the bottleneck seems to be the internet connection or > > > provider of > > > the tester, though he is supposed to have a 2000 kBit line. On the > > > other > > > hand he can surf the net and downloads mails without a problem - > > > beside of > > > slow performance some times. > > > > > > Are there any options to tweak the load URL / internet connection > from > > > within Rev, like setting the timeout, retrying or anything else? Or > > > do I > > > just have to live with that behaviour and have to tell my customers > to > > > retry? > > > > > > Thanks for any experience > > > > you can get and set "the socketTimeOutInterval" like: > > ... > > put the socketTimeOutInterval into alt_interval > > set the socketTimeOutInterval to 20000 > > ## Do your internet stuff... > > set the socketTimeOutInterval to alt_interval > > ... > > > > that's the way we do it and it works fine so far :-) > > > > > Tiemo > > > > Best > > > > Klaus > > > > -- > > Klaus Major > > klaus at major-k.de > > http://www.major-k.de > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Wed Feb 25 11:50:19 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 25 Feb 2009 17:50:19 +0100 Subject: AW: getting timeout with load URL In-Reply-To: <00e301c99766$8b068b10$a113a130$@com> Message-ID: Hi Jim, yes, I have followed this excellent roadbook from Eric and everything works fine so far. Up to now, where one beta tester got these mysterious timeouts (which I verified with URLStatus()). So it isn't a general problem, but seems to be an issue on his PC (Win XP) or his Provider line. I was wondering if there are other settings as the socketTimeoutInterval I can control from Rev or if I have to take it as it is? Thank you Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Jim Bufalini > Gesendet: Mittwoch, 25. Februar 2009 17:32 > An: 'How to use Revolution' > Betreff: RE: getting timeout with load URL > > Hi Tiemo, > > Would you go here: > > http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en > > and down to tutorial #018 How to download data from the Internet. Download > the tutorial. Everything you need to know should be there including using > the load command. > > Jim Bufalini > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > > Sent: Wednesday, February 25, 2009 6:28 AM > > To: 'How to use Revolution' > > Subject: AW: getting timeout with load URL > > > > I tried it with setting the socketTimeoutInterval to 20000 and even > > 30000 > > before the load url, but this guy still gets a timeout at most > > attempts. > > After 5-10 retries he can download the file of about 4MB. > > > > Any other tweak or any other idea, what could be going on here and > > where to > > look for? > > > > Thanks for any ideas > > Tiemo > > > > > > > > > -----Urspr?ngliche Nachricht----- > > > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > > bounces at lists.runrev.com] Im Auftrag von Klaus Major > > > Gesendet: Mittwoch, 25. Februar 2009 11:52 > > > An: How to use Revolution > > > Betreff: Re: getting timeout with load URL > > > > > > Hi Tiemo, > > > > > > > Hello, > > > > > > > > I am experiencing sometimes timeouts with a load URL at a beta > > tester. > > > > Testing the same download from same server at the same time, runs > > > > smooth. > > > > Obviously the bottleneck seems to be the internet connection or > > > > provider of > > > > the tester, though he is supposed to have a 2000 kBit line. On the > > > > other > > > > hand he can surf the net and downloads mails without a problem - > > > > beside of > > > > slow performance some times. > > > > > > > > Are there any options to tweak the load URL / internet connection > > from > > > > within Rev, like setting the timeout, retrying or anything else? Or > > > > do I > > > > just have to live with that behaviour and have to tell my customers > > to > > > > retry? > > > > > > > > Thanks for any experience > > > > > > you can get and set "the socketTimeOutInterval" like: > > > ... > > > put the socketTimeOutInterval into alt_interval > > > set the socketTimeOutInterval to 20000 > > > ## Do your internet stuff... > > > set the socketTimeOutInterval to alt_interval > > > ... > > > > > > that's the way we do it and it works fine so far :-) > > > > > > > Tiemo > > > > > > Best > > > > > > Klaus > > > > > > -- > > > Klaus Major > > > klaus at major-k.de > > > http://www.major-k.de > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Wed Feb 25 12:18:42 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 25 Feb 2009 07:18:42 -1000 Subject: getting timeout with load URL In-Reply-To: References: <00e301c99766$8b068b10$a113a130$@com> Message-ID: <00e401c9976d$1b8ffb20$52aff160$@com> Hi Tiemo, It's probably not a Rev issue but a machine specific issue. Please do a Google search on "socket keepalive windows." (keepalive is one word) Something on that machine is set wrong. You'll find a lot of information on this topic and what to look for on the machine. As far as Rev goes, the socketTimeOutInterval is all you normally have to adjust. Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > Sent: Wednesday, February 25, 2009 6:50 AM > To: 'How to use Revolution' > Subject: AW: getting timeout with load URL > > Hi Jim, > yes, I have followed this excellent roadbook from Eric and everything > works > fine so far. Up to now, where one beta tester got these mysterious > timeouts > (which I verified with URLStatus()). So it isn't a general problem, but > seems to be an issue on his PC (Win XP) or his Provider line. I was > wondering if there are other settings as the socketTimeoutInterval I > can > control from Rev or if I have to take it as it is? > Thank you > Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] Im Auftrag von Jim Bufalini > > Gesendet: Mittwoch, 25. Februar 2009 17:32 > > An: 'How to use Revolution' > > Betreff: RE: getting timeout with load URL > > > > Hi Tiemo, > > > > Would you go here: > > > > http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en > > > > and down to tutorial #018 How to download data from the Internet. > Download > > the tutorial. Everything you need to know should be there including > using > > the load command. > > > > Jim Bufalini > > > > > -----Original Message----- > > > From: use-revolution-bounces at lists.runrev.com [mailto:use- > revolution- > > > bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > > > Sent: Wednesday, February 25, 2009 6:28 AM > > > To: 'How to use Revolution' > > > Subject: AW: getting timeout with load URL > > > > > > I tried it with setting the socketTimeoutInterval to 20000 and even > > > 30000 > > > before the load url, but this guy still gets a timeout at most > > > attempts. > > > After 5-10 retries he can download the file of about 4MB. > > > > > > Any other tweak or any other idea, what could be going on here and > > > where to > > > look for? > > > > > > Thanks for any ideas > > > Tiemo > > > > > > > > > > > > > -----Urspr?ngliche Nachricht----- > > > > Von: use-revolution-bounces at lists.runrev.com [mailto:use- > revolution- > > > > bounces at lists.runrev.com] Im Auftrag von Klaus Major > > > > Gesendet: Mittwoch, 25. Februar 2009 11:52 > > > > An: How to use Revolution > > > > Betreff: Re: getting timeout with load URL > > > > > > > > Hi Tiemo, > > > > > > > > > Hello, > > > > > > > > > > I am experiencing sometimes timeouts with a load URL at a beta > > > tester. > > > > > Testing the same download from same server at the same time, > runs > > > > > smooth. > > > > > Obviously the bottleneck seems to be the internet connection or > > > > > provider of > > > > > the tester, though he is supposed to have a 2000 kBit line. On > the > > > > > other > > > > > hand he can surf the net and downloads mails without a problem > - > > > > > beside of > > > > > slow performance some times. > > > > > > > > > > Are there any options to tweak the load URL / internet > connection > > > from > > > > > within Rev, like setting the timeout, retrying or anything > else? Or > > > > > do I > > > > > just have to live with that behaviour and have to tell my > customers > > > to > > > > > retry? > > > > > > > > > > Thanks for any experience > > > > > > > > you can get and set "the socketTimeOutInterval" like: > > > > ... > > > > put the socketTimeOutInterval into alt_interval > > > > set the socketTimeOutInterval to 20000 > > > > ## Do your internet stuff... > > > > set the socketTimeOutInterval to alt_interval > > > > ... > > > > > > > > that's the way we do it and it works fine so far :-) > > > > > > > > > Tiemo > > > > > > > > Best > > > > > > > > Klaus > > > > > > > > -- > > > > Klaus Major > > > > klaus at major-k.de > > > > http://www.major-k.de > > > > > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revdev at pdslabs.net Wed Feb 25 12:38:08 2009 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 25 Feb 2009 09:38:08 -0800 Subject: getting timeout with load URL In-Reply-To: <00e401c9976d$1b8ffb20$52aff160$@com> References: <00e301c99766$8b068b10$a113a130$@com> <00e401c9976d$1b8ffb20$52aff160$@com> Message-ID: <49A58200.9020208@pdslabs.net> Hi Jim and others, My comment here moves us away from the original issue a bit, but... As far as I can tell, the socketTimeoutInterval doesn't seem to interact with the 'load' command. At least, the 'socketTimeout' message isn't sent when 'load' exceeds the socketTimeoutInterval. That's my experience. Am I missing something? Thanks - Phil Davis (re-sent because original went into 'moderation' queue due to size) Jim Bufalini wrote: > Hi Tiemo, > > It's probably not a Rev issue but a machine specific issue. Please do a > Google search on "socket keepalive windows." (keepalive is one word) > Something on that machine is set wrong. You'll find a lot of information on > this topic and what to look for on the machine. As far as Rev goes, the > socketTimeOutInterval is all you normally have to adjust. > > Jim Bufalini > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB >> Sent: Wednesday, February 25, 2009 6:50 AM >> To: 'How to use Revolution' >> Subject: AW: getting timeout with load URL >> >> Hi Jim, >> yes, I have followed this excellent roadbook from Eric and everything >> works >> fine so far. Up to now, where one beta tester got these mysterious >> timeouts >> (which I verified with URLStatus()). So it isn't a general problem, but >> seems to be an issue on his PC (Win XP) or his Provider line. I was >> wondering if there are other settings as the socketTimeoutInterval I >> can >> control from Rev or if I have to take it as it is? >> Thank you >> Tiemo >> >> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >>> bounces at lists.runrev.com] Im Auftrag von Jim Bufalini >>> Gesendet: Mittwoch, 25. Februar 2009 17:32 >>> An: 'How to use Revolution' >>> Betreff: RE: getting timeout with load URL >>> >>> Hi Tiemo, >>> >>> Would you go here: >>> >>> http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en >>> >>> and down to tutorial #018 How to download data from the Internet. >>> >> Download >> >>> the tutorial. Everything you need to know should be there including >>> >> using >> >>> the load command. >>> >>> Jim Bufalini >>> >>> >>>> -----Original Message----- >>>> From: use-revolution-bounces at lists.runrev.com [mailto:use- >>>> >> revolution- >> >>>> bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB >>>> Sent: Wednesday, February 25, 2009 6:28 AM >>>> To: 'How to use Revolution' >>>> Subject: AW: getting timeout with load URL >>>> >>>> I tried it with setting the socketTimeoutInterval to 20000 and even >>>> 30000 >>>> before the load url, but this guy still gets a timeout at most >>>> attempts. >>>> After 5-10 retries he can download the file of about 4MB. >>>> >>>> Any other tweak or any other idea, what could be going on here and >>>> where to >>>> look for? >>>> >>>> Thanks for any ideas >>>> Tiemo >>>> >>>> >>>> >>>> >>>>> -----Urspr?ngliche Nachricht----- >>>>> Von: use-revolution-bounces at lists.runrev.com [mailto:use- >>>>> >> revolution- >> >>>>> bounces at lists.runrev.com] Im Auftrag von Klaus Major >>>>> Gesendet: Mittwoch, 25. Februar 2009 11:52 >>>>> An: How to use Revolution >>>>> Betreff: Re: getting timeout with load URL >>>>> >>>>> Hi Tiemo, >>>>> >>>>> >>>>>> Hello, >>>>>> >>>>>> I am experiencing sometimes timeouts with a load URL at a beta >>>>>> >>>> tester. >>>> >>>>>> Testing the same download from same server at the same time, >>>>>> >> runs >> >>>>>> smooth. >>>>>> Obviously the bottleneck seems to be the internet connection or >>>>>> provider of >>>>>> the tester, though he is supposed to have a 2000 kBit line. On >>>>>> >> the >> >>>>>> other >>>>>> hand he can surf the net and downloads mails without a problem >>>>>> >> - >> >>>>>> beside of >>>>>> slow performance some times. >>>>>> >>>>>> Are there any options to tweak the load URL / internet >>>>>> >> connection >> >>>> from >>>> >>>>>> within Rev, like setting the timeout, retrying or anything >>>>>> >> else? Or >> >>>>>> do I >>>>>> just have to live with that behaviour and have to tell my >>>>>> >> customers >> >>>> to >>>> >>>>>> retry? >>>>>> >>>>>> Thanks for any experience >>>>>> >>>>> you can get and set "the socketTimeOutInterval" like: >>>>> ... >>>>> put the socketTimeOutInterval into alt_interval >>>>> set the socketTimeOutInterval to 20000 >>>>> ## Do your internet stuff... >>>>> set the socketTimeOutInterval to alt_interval >>>>> ... >>>>> >>>>> that's the way we do it and it works fine so far :-) >>>>> >>>>> >>>>>> Tiemo >>>>>> >>>>> Best >>>>> >>>>> Klaus >>>>> >>>>> -- >>>>> Klaus Major >>>>> klaus at major-k.de >>>>> http://www.major-k.de -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From toolbook at kestner.de Wed Feb 25 12:43:43 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 25 Feb 2009 18:43:43 +0100 Subject: AW: getting timeout with load URL In-Reply-To: <49A58200.9020208@pdslabs.net> Message-ID: Hi Phil, that's what I was wondering too, because the docs don't point into that direction. It refers only to the socket functions... Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Phil Davis > Gesendet: Mittwoch, 25. Februar 2009 18:38 > An: How to use Revolution > Betreff: Re: getting timeout with load URL > > Hi Jim and others, > > My comment here moves us away from the original issue a bit, but... > > As far as I can tell, the socketTimeoutInterval doesn't seem to interact > with the 'load' command. At least, the 'socketTimeout' message isn't > sent when 'load' exceeds the socketTimeoutInterval. That's my > experience. Am I missing something? > > Thanks - > Phil Davis > (re-sent because original went into 'moderation' queue due to size) > > > Jim Bufalini wrote: > > Hi Tiemo, > > > > It's probably not a Rev issue but a machine specific issue. Please do a > > Google search on "socket keepalive windows." (keepalive is one word) > > Something on that machine is set wrong. You'll find a lot of information > on > > this topic and what to look for on the machine. As far as Rev goes, the > > socketTimeOutInterval is all you normally have to adjust. > > > > Jim Bufalini > > > > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > >> bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > >> Sent: Wednesday, February 25, 2009 6:50 AM > >> To: 'How to use Revolution' > >> Subject: AW: getting timeout with load URL > >> > >> Hi Jim, > >> yes, I have followed this excellent roadbook from Eric and everything > >> works > >> fine so far. Up to now, where one beta tester got these mysterious > >> timeouts > >> (which I verified with URLStatus()). So it isn't a general problem, but > >> seems to be an issue on his PC (Win XP) or his Provider line. I was > >> wondering if there are other settings as the socketTimeoutInterval I > >> can > >> control from Rev or if I have to take it as it is? > >> Thank you > >> Tiemo > >> > >> > >>> -----Urspr?ngliche Nachricht----- > >>> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > >>> bounces at lists.runrev.com] Im Auftrag von Jim Bufalini > >>> Gesendet: Mittwoch, 25. Februar 2009 17:32 > >>> An: 'How to use Revolution' > >>> Betreff: RE: getting timeout with load URL > >>> > >>> Hi Tiemo, > >>> > >>> Would you go here: > >>> > >>> http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en > >>> > >>> and down to tutorial #018 How to download data from the Internet. > >>> > >> Download > >> > >>> the tutorial. Everything you need to know should be there including > >>> > >> using > >> > >>> the load command. > >>> > >>> Jim Bufalini > >>> > >>> > >>>> -----Original Message----- > >>>> From: use-revolution-bounces at lists.runrev.com [mailto:use- > >>>> > >> revolution- > >> > >>>> bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > >>>> Sent: Wednesday, February 25, 2009 6:28 AM > >>>> To: 'How to use Revolution' > >>>> Subject: AW: getting timeout with load URL > >>>> > >>>> I tried it with setting the socketTimeoutInterval to 20000 and even > >>>> 30000 > >>>> before the load url, but this guy still gets a timeout at most > >>>> attempts. > >>>> After 5-10 retries he can download the file of about 4MB. > >>>> > >>>> Any other tweak or any other idea, what could be going on here and > >>>> where to > >>>> look for? > >>>> > >>>> Thanks for any ideas > >>>> Tiemo > >>>> > >>>> > >>>> > >>>> > >>>>> -----Urspr?ngliche Nachricht----- > >>>>> Von: use-revolution-bounces at lists.runrev.com [mailto:use- > >>>>> > >> revolution- > >> > >>>>> bounces at lists.runrev.com] Im Auftrag von Klaus Major > >>>>> Gesendet: Mittwoch, 25. Februar 2009 11:52 > >>>>> An: How to use Revolution > >>>>> Betreff: Re: getting timeout with load URL > >>>>> > >>>>> Hi Tiemo, > >>>>> > >>>>> > >>>>>> Hello, > >>>>>> > >>>>>> I am experiencing sometimes timeouts with a load URL at a beta > >>>>>> > >>>> tester. > >>>> > >>>>>> Testing the same download from same server at the same time, > >>>>>> > >> runs > >> > >>>>>> smooth. > >>>>>> Obviously the bottleneck seems to be the internet connection or > >>>>>> provider of > >>>>>> the tester, though he is supposed to have a 2000 kBit line. On > >>>>>> > >> the > >> > >>>>>> other > >>>>>> hand he can surf the net and downloads mails without a problem > >>>>>> > >> - > >> > >>>>>> beside of > >>>>>> slow performance some times. > >>>>>> > >>>>>> Are there any options to tweak the load URL / internet > >>>>>> > >> connection > >> > >>>> from > >>>> > >>>>>> within Rev, like setting the timeout, retrying or anything > >>>>>> > >> else? Or > >> > >>>>>> do I > >>>>>> just have to live with that behaviour and have to tell my > >>>>>> > >> customers > >> > >>>> to > >>>> > >>>>>> retry? > >>>>>> > >>>>>> Thanks for any experience > >>>>>> > >>>>> you can get and set "the socketTimeOutInterval" like: > >>>>> ... > >>>>> put the socketTimeOutInterval into alt_interval > >>>>> set the socketTimeOutInterval to 20000 > >>>>> ## Do your internet stuff... > >>>>> set the socketTimeOutInterval to alt_interval > >>>>> ... > >>>>> > >>>>> that's the way we do it and it works fine so far :-) > >>>>> > >>>>> > >>>>>> Tiemo > >>>>>> > >>>>> Best > >>>>> > >>>>> Klaus > >>>>> > >>>>> -- > >>>>> Klaus Major > >>>>> klaus at major-k.de > >>>>> http://www.major-k.de > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Wed Feb 25 12:59:29 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Feb 2009 18:59:29 +0100 Subject: Menu problem In-Reply-To: <343DFCBA-8678-429F-8EC9-68749999AD32@economy-x-talk.com> References: <343DFCBA-8678-429F-8EC9-68749999AD32@economy-x-talk.com> Message-ID: <9D8BF6AE-3035-4DD9-8F11-99E58222AEE3@economy-x-talk.com> Hi again, It looks "the menu of stack myStack" is incorrect syntax, but it doesn't throw an error. Should this work the way I expect it, or should it throw an error? Any opinions? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 25 feb 2009, at 12:26, Mark Schonewille wrote: > Hello, > > Has anyone ever experience the following problem? I have a menubar, > in which I need to enable and disable menus. For this, I use a > simple repeat loop. > > put "Text Editor" into myStack > repeat for each item myMenu in "File,Edit,Text" > enable menu myMenu of stack myStack > end repeat > > Once in a while, particularly in the IDE, I get an error when this > script runs: > > Type: Chunk (no such object) > Object name: script > Line:(row 821 col 11) > Hint: Text > > (The object name is script because of a Rev bug that occurs in try > control structures, you can ignore this). > > Suppose that the error occurs at item "Text". This means that the > following syntax was executed at the moment of the error: > > enable menu "Text" of stack "Text Editor" > > If I execute this line from the messag box while the script editor > is still in edit mode, it runs fine. > > The question is whether anyone saw something similar and whether > this may be another Revolution bug. I'm not looking for a solution. > > -- > Best regards, > > Mark Schonewille From jim at visitrieve.com Wed Feb 25 13:01:12 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 25 Feb 2009 08:01:12 -1000 Subject: getting timeout with load URL In-Reply-To: References: <49A58200.9020208@pdslabs.net> Message-ID: <00eb01c99773$0bfd4270$23f7c750$@com> Hi Phil and Tiemo, I personally have never had to set the socketTimeOutInterval when using the load command because normally I am going through socket 80 which is the same socket that your web browser uses to access the Internet and this normally does not time out. So no, you are not missing anything. ;-) I've only had to use it when using other sockets with the open socket command for application to application communication. Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > Sent: Wednesday, February 25, 2009 7:44 AM > To: 'How to use Revolution' > Subject: AW: getting timeout with load URL > > Hi Phil, > that's what I was wondering too, because the docs don't point into that > direction. It refers only to the socket functions... > Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] Im Auftrag von Phil Davis > > Gesendet: Mittwoch, 25. Februar 2009 18:38 > > An: How to use Revolution > > Betreff: Re: getting timeout with load URL > > > > Hi Jim and others, > > > > My comment here moves us away from the original issue a bit, but... > > > > As far as I can tell, the socketTimeoutInterval doesn't seem to > interact > > with the 'load' command. At least, the 'socketTimeout' message isn't > > sent when 'load' exceeds the socketTimeoutInterval. That's my > > experience. Am I missing something? > > > > Thanks - > > Phil Davis > > (re-sent because original went into 'moderation' queue due to size) > > > > > > Jim Bufalini wrote: > > > Hi Tiemo, > > > > > > It's probably not a Rev issue but a machine specific issue. Please > do a > > > Google search on "socket keepalive windows." (keepalive is one > word) > > > Something on that machine is set wrong. You'll find a lot of > information > > on > > > this topic and what to look for on the machine. As far as Rev goes, > the > > > socketTimeOutInterval is all you normally have to adjust. > > > > > > Jim Bufalini > > > > > > > > >> -----Original Message----- > > >> From: use-revolution-bounces at lists.runrev.com [mailto:use- > revolution- > > >> bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > > >> Sent: Wednesday, February 25, 2009 6:50 AM > > >> To: 'How to use Revolution' > > >> Subject: AW: getting timeout with load URL > > >> > > >> Hi Jim, > > >> yes, I have followed this excellent roadbook from Eric and > everything > > >> works > > >> fine so far. Up to now, where one beta tester got these mysterious > > >> timeouts > > >> (which I verified with URLStatus()). So it isn't a general > problem, but > > >> seems to be an issue on his PC (Win XP) or his Provider line. I > was > > >> wondering if there are other settings as the socketTimeoutInterval > I > > >> can > > >> control from Rev or if I have to take it as it is? > > >> Thank you > > >> Tiemo > > >> > > >> > > >>> -----Urspr?ngliche Nachricht----- > > >>> Von: use-revolution-bounces at lists.runrev.com [mailto:use- > revolution- > > >>> bounces at lists.runrev.com] Im Auftrag von Jim Bufalini > > >>> Gesendet: Mittwoch, 25. Februar 2009 17:32 > > >>> An: 'How to use Revolution' > > >>> Betreff: RE: getting timeout with load URL > > >>> > > >>> Hi Tiemo, > > >>> > > >>> Would you go here: > > >>> > > >>> http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en > > >>> > > >>> and down to tutorial #018 How to download data from the Internet. > > >>> > > >> Download > > >> > > >>> the tutorial. Everything you need to know should be there > including > > >>> > > >> using > > >> > > >>> the load command. > > >>> > > >>> Jim Bufalini > > >>> > > >>> > > >>>> -----Original Message----- > > >>>> From: use-revolution-bounces at lists.runrev.com [mailto:use- > > >>>> > > >> revolution- > > >> > > >>>> bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB > > >>>> Sent: Wednesday, February 25, 2009 6:28 AM > > >>>> To: 'How to use Revolution' > > >>>> Subject: AW: getting timeout with load URL > > >>>> > > >>>> I tried it with setting the socketTimeoutInterval to 20000 and > even > > >>>> 30000 > > >>>> before the load url, but this guy still gets a timeout at most > > >>>> attempts. > > >>>> After 5-10 retries he can download the file of about 4MB. > > >>>> > > >>>> Any other tweak or any other idea, what could be going on here > and > > >>>> where to > > >>>> look for? > > >>>> > > >>>> Thanks for any ideas > > >>>> Tiemo > > >>>> > > >>>> > > >>>> > > >>>> > > >>>>> -----Urspr?ngliche Nachricht----- > > >>>>> Von: use-revolution-bounces at lists.runrev.com [mailto:use- > > >>>>> > > >> revolution- > > >> > > >>>>> bounces at lists.runrev.com] Im Auftrag von Klaus Major > > >>>>> Gesendet: Mittwoch, 25. Februar 2009 11:52 > > >>>>> An: How to use Revolution > > >>>>> Betreff: Re: getting timeout with load URL > > >>>>> > > >>>>> Hi Tiemo, > > >>>>> > > >>>>> > > >>>>>> Hello, > > >>>>>> > > >>>>>> I am experiencing sometimes timeouts with a load URL at a beta > > >>>>>> > > >>>> tester. > > >>>> > > >>>>>> Testing the same download from same server at the same time, > > >>>>>> > > >> runs > > >> > > >>>>>> smooth. > > >>>>>> Obviously the bottleneck seems to be the internet connection > or > > >>>>>> provider of > > >>>>>> the tester, though he is supposed to have a 2000 kBit line. On > > >>>>>> > > >> the > > >> > > >>>>>> other > > >>>>>> hand he can surf the net and downloads mails without a problem > > >>>>>> > > >> - > > >> > > >>>>>> beside of > > >>>>>> slow performance some times. > > >>>>>> > > >>>>>> Are there any options to tweak the load URL / internet > > >>>>>> > > >> connection > > >> > > >>>> from > > >>>> > > >>>>>> within Rev, like setting the timeout, retrying or anything > > >>>>>> > > >> else? Or > > >> > > >>>>>> do I > > >>>>>> just have to live with that behaviour and have to tell my > > >>>>>> > > >> customers > > >> > > >>>> to > > >>>> > > >>>>>> retry? > > >>>>>> > > >>>>>> Thanks for any experience > > >>>>>> > > >>>>> you can get and set "the socketTimeOutInterval" like: > > >>>>> ... > > >>>>> put the socketTimeOutInterval into alt_interval > > >>>>> set the socketTimeOutInterval to 20000 > > >>>>> ## Do your internet stuff... > > >>>>> set the socketTimeOutInterval to alt_interval > > >>>>> ... > > >>>>> > > >>>>> that's the way we do it and it works fine so far :-) > > >>>>> > > >>>>> > > >>>>>> Tiemo > > >>>>>> > > >>>>> Best > > >>>>> > > >>>>> Klaus > > >>>>> > > >>>>> -- > > >>>>> Klaus Major > > >>>>> klaus at major-k.de > > >>>>> http://www.major-k.de > > > > -- > > Phil Davis > > > > PDS Labs > > Professional Software Development > > http://pdslabs.net > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dam-pro.girard at laposte.net Wed Feb 25 13:20:54 2009 From: dam-pro.girard at laposte.net (Damien Girard) Date: Wed, 25 Feb 2009 19:20:54 +0100 Subject: Debugger inside rev stack? In-Reply-To: <9D8BF6AE-3035-4DD9-8F11-99E58222AEE3@economy-x-talk.com> References: <343DFCBA-8678-429F-8EC9-68749999AD32@economy-x-talk.com> <9D8BF6AE-3035-4DD9-8F11-99E58222AEE3@economy-x-talk.com> Message-ID: <49A58C06.1040402@laposte.net> Hi all, I am meeting a little problem with Rev 3.0, the debugger is not working at all if the stack name begins with "rev". Any known solution to that problem? Regards, Damien Girard Dam-pro, France. From mwieder at ahsoftware.net Wed Feb 25 13:26:50 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 25 Feb 2009 10:26:50 -0800 Subject: Menu problem In-Reply-To: <9D8BF6AE-3035-4DD9-8F11-99E58222AEE3@economy-x-talk.com> References: <343DFCBA-8678-429F-8EC9-68749999AD32@economy-x-talk.com> <9D8BF6AE-3035-4DD9-8F11-99E58222AEE3@economy-x-talk.com> Message-ID: <1621041733859.20090225102650@ahsoftware.net> Mark- Wednesday, February 25, 2009, 9:59:29 AM, you wrote: > It looks "the menu of stack myStack" is incorrect syntax, but it > doesn't throw an error. Should this work the way I expect it, or > should it throw an error? Any opinions? I'm of two minds about this. On the one hand, any expression like the of stack is evaluated by the compiler as a reference to a custom property. So technically I think it's not a bug as such. On the other hand, I'd be happy if the compiler had a bit more smarts in the way of catching keywords accidentally being used as property names. So I think my preference would be to write up the bug report. -- -Mark Wieder mwieder at ahsoftware.net From geradamas at yahoo.com Wed Feb 25 13:33:05 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 25 Feb 2009 10:33:05 -0800 (PST) Subject: Polygon Games Message-ID: <414908.69285.qm@web37502.mail.mud.yahoo.com> Just had an odd idea, and implemented it: "POLYGON GAMES.rev" at revOnline under 'Richmond' nothing much just now; wondering about integrating it into my "Button Basher". sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From toncardona at mac.com Wed Feb 25 13:35:59 2009 From: toncardona at mac.com (=?ISO-8859-1?Q?Melit=F3n_Cardona_Torres?=) Date: Wed, 25 Feb 2009 19:35:59 +0100 Subject: Menu problem Message-ID: <5BA0B66F-AF9E-4676-8ABD-FF90942BB739@mac.com> Could it be enable menuItem instead of enable menu? Best regards Ton From mwieder at ahsoftware.net Wed Feb 25 13:33:28 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 25 Feb 2009 10:33:28 -0800 Subject: Debugger inside rev stack? In-Reply-To: <49A58C06.1040402@laposte.net> References: <343DFCBA-8678-429F-8EC9-68749999AD32@economy-x-talk.com> <9D8BF6AE-3035-4DD9-8F11-99E58222AEE3@economy-x-talk.com> <49A58C06.1040402@laposte.net> Message-ID: <1291042132515.20090225103328@ahsoftware.net> Damien- Wednesday, February 25, 2009, 10:20:54 AM, you wrote: > I am meeting a little problem with Rev 3.0, the debugger is not working > at all if the stack name begins with "rev". > Any known solution to that problem? This is by design to prevent endless loops debugging IDE stacks. If you really need to debug through a stack starting with "rev" then try putting true into gREVDevelopment from the messagebox and see if that helps. But I think you're better off renaming your stack, at least until all the bugs are out. -- -Mark Wieder mwieder at ahsoftware.net From dam-pro.girard at laposte.net Wed Feb 25 13:54:39 2009 From: dam-pro.girard at laposte.net (Damien Girard) Date: Wed, 25 Feb 2009 19:54:39 +0100 Subject: Debugger inside rev stack? In-Reply-To: <1291042132515.20090225103328@ahsoftware.net> References: <343DFCBA-8678-429F-8EC9-68749999AD32@economy-x-talk.com> <9D8BF6AE-3035-4DD9-8F11-99E58222AEE3@economy-x-talk.com> <49A58C06.1040402@laposte.net> <1291042132515.20090225103328@ahsoftware.net> Message-ID: <49A593EF.2010908@laposte.net> Mark Wieder a ?crit : > Damien- > > Wednesday, February 25, 2009, 10:20:54 AM, you wrote: > > >> I am meeting a little problem with Rev 3.0, the debugger is not working >> at all if the stack name begins with "rev". >> > > >> Any known solution to that problem? >> > > This is by design to prevent endless loops debugging IDE stacks. If > you really need to debug through a stack starting with "rev" then try > putting true into gREVDevelopment from the messagebox and see if that > helps. But I think you're better off renaming your stack, at least > until all the bugs are out. > > Thanks, setting gREVDevelopment solved the problem. Regards, Damien From m.schonewille at economy-x-talk.com Wed Feb 25 14:07:10 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Feb 2009 20:07:10 +0100 Subject: Menu problem In-Reply-To: <1621041733859.20090225102650@ahsoftware.net> References: <343DFCBA-8678-429F-8EC9-68749999AD32@economy-x-talk.com> <9D8BF6AE-3035-4DD9-8F11-99E58222AEE3@economy-x-talk.com> <1621041733859.20090225102650@ahsoftware.net> Message-ID: <0819ACA8-0D5A-46D6-A0B5-B7B3C660D21E@economy-x-talk.com> Thanks Mark, I will probably report this problem as a bug. I'll wait a little longer for more opinions. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 25 feb 2009, at 19:26, Mark Wieder wrote: > > I'm of two minds about this. On the one hand, any expression like > > the of stack > > is evaluated by the compiler as a reference to a custom property. So > technically I think it's not a bug as such. On the other hand, I'd be > happy if the compiler had a bit more smarts in the way of catching > keywords accidentally being used as property names. So I think my > preference would be to write up the bug report. > > -- > -Mark Wieder > mwieder at ahsoftware.net > From m.schonewille at economy-x-talk.com Wed Feb 25 14:08:34 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Feb 2009 20:08:34 +0100 Subject: Menu problem In-Reply-To: <5BA0B66F-AF9E-4676-8ABD-FF90942BB739@mac.com> References: <5BA0B66F-AF9E-4676-8ABD-FF90942BB739@mac.com> Message-ID: Hi Ton, Thanks for your reply. I'm really not looking for a solution, I just want to know what the general opinion about this issues it, bug or nog bug. If someone thinks that a stack should have a menu property, that would be interesting too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 25 feb 2009, at 19:35, Melit?n Cardona Torres wrote: > Could it be > > enable menuItem instead of enable menu? > > Best regards > > Ton From DunbarX at aol.com Wed Feb 25 15:26:35 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 25 Feb 2009 15:26:35 EST Subject: messages, messages Message-ID: I am learning rev by rewriting my HC development tools. My tools stack s in use, its stack script sent "back". It traps messages as I navigate around other stacks, or within a stack, and gathers object info on whatever card comes to the front. So "opencard", "resumeStack" and the like are trapped in my tool stack. I am getting the "resumeStack" message sent to my tools stack when I close an already open stack. Why? Also, when I save a stack, all those little dialogs all seem to send "resumeStack" as well. If everything in rev is a stack, well, then I understand that part, but not the other. In HC, if I simply bring one or another stack window to the front, I get "suspendStack" and "resumeStack" only, which I understand. In learning to drive Rev, I need to believe I understand the IDE. Writing scripts and solving programming issues is not my problem. I still just cannot get around easily at all. Thanks to anyone... Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From geradamas at yahoo.com Wed Feb 25 15:40:56 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 25 Feb 2009 12:40:56 -0800 (PST) Subject: Polygon Games Message-ID: <546253.11049.qm@web37504.mail.mud.yahoo.com> UPDATED with an EXPORT button. "POLYGON GAMES.rev" at revOnline under 'Richmond' nothing much just now; wondering about integrating it into my "Button Basher". sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From sarah.reichelt at gmail.com Wed Feb 25 16:10:04 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 26 Feb 2009 07:10:04 +1000 Subject: messages, messages In-Reply-To: References: Message-ID: On Thu, Feb 26, 2009 at 6:26 AM, wrote: > I am learning rev by rewriting my HC development tools. > > My tools stack s in use, its stack script sent "back". It traps messages as I > navigate around other stacks, or within a stack, and gathers object info on > whatever card comes to the front. So "opencard", "resumeStack" and the like are > trapped in my tool stack. > > I am getting the "resumeStack" message sent to my tools stack when I close an > already open stack. Why? Because when you close one stack, another stack has to become the new topStack and it is resumed. If you check "the target" in your resumeStack handler, you will be able to see which stack is getting the resumeStack message. > Also, when I save a stack, all those little dialogs > all seem to send "resumeStack" as well. If everything in rev is a stack, well, > then I understand that part, but not the other. Yes, every part of the IDE is a stack. But nearly all the IDE stacks have names starting with "rev", so in your tools, you could check "the short name of the target" and if it starts with "rev", just pass the message. HTH, Sarah From DunbarX at aol.com Wed Feb 25 16:23:13 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 25 Feb 2009 16:23:13 EST Subject: messages, messages Message-ID: And as usual, as I look at it now, obvious and perfectly proper. My tools gadget in HC was an external window. Here it is a stack. It was the culprit. Typical. Thanks. Craig Newman In a message dated 2/25/09 4:10:18 PM, sarah.reichelt at gmail.com writes: > Because when you close one stack, another stack has to become the new > topStack and it is resumed. If you check "the target" in your > resumeStack handler, you will be able to see which stack is getting > the resumeStack message. > > > > Also, when I save a stack, all those little dialogs > > all seem to send "resumeStack" as well. If everything in rev is a stack, > well, > > then I understand that part, but not the other. > > Yes, every part of the IDE is a stack. But nearly all the IDE stacks > have names starting with "rev", so in your tools, you could check "the > short name of the target" and if it starts with "rev", just pass the > message. > > ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From geradamas at yahoo.com Wed Feb 25 16:32:09 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 25 Feb 2009 13:32:09 -0800 (PST) Subject: Polygon Games Message-ID: <146277.54529.qm@web37508.mail.mud.yahoo.com> On a Roll, On a Roll . . . of protracted silliness: "POLYGON GAMES.rev" at revOnline under 'Richmond' 3 pages of messing around with Polygons, and export buttons. Anybody coming up with an answer as to how to export the polygons surrounded by transparency would win my undying gratitude. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From mwieder at ahsoftware.net Wed Feb 25 17:26:25 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 25 Feb 2009 14:26:25 -0800 Subject: messages, messages In-Reply-To: References: Message-ID: <601056108890.20090225142625@ahsoftware.net> Craig- Wednesday, February 25, 2009, 12:26:35 PM, you wrote: > I am learning rev by rewriting my HC development tools. Playing Devil's Advocate here, I'm not entirely sure this is a good idea. I did the same thing when I was first starting out, as I'm sure everyone making that transition did, and the unlearning process probably set me back quite a bit. With some of the early stacks I converted, I should have rewitten them from scratch instead of trying to do things the HC way. -- -Mark Wieder mwieder at ahsoftware.net From dave.cragg at lacscentre.co.uk Wed Feb 25 17:54:56 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 25 Feb 2009 22:54:56 +0000 Subject: getting timeout with load URL In-Reply-To: <49A58200.9020208@pdslabs.net> References: <00e301c99766$8b068b10$a113a130$@com> <00e401c9976d$1b8ffb20$52aff160$@com> <49A58200.9020208@pdslabs.net> Message-ID: <184E755F-4082-4AA7-8D32-9594B37DEAAF@lacscentre.co.uk> On 25 Feb 2009, at 17:38, Phil Davis wrote: > As far as I can tell, the socketTimeoutInterval doesn't seem to > interact with the 'load' command. At least, the 'socketTimeout' > message isn't sent when 'load' exceeds the socketTimeoutInterval. > That's my experience. Am I missing something? That will be because libUrl is consuming the message. But the timeout should be referred to in any error message. (Note that the socketTimeoutInterval is the time the engine will wait for a response between successive reads and writes to the socket, not the total time of the load.) Tiemo, is this with ftp or http? If it's http, you might try setting the httpHeaders to "Connection: close" before making the load request. No promises, but I've seen problems before when the engine seems to regard a socket as open when it has been closed remotely. I haven't usually had a socketTimeout error in these cases, usually something more obscure. But there should be no harm in trying. Normally, libUrl will try to re-use a socket to the same server if it's still open. The "Connection: close" header will force the server to close the connection after serving the current request, and libUrl will then open a fresh connection for subsequent requests. Cheers Dave From ambassador at fourthworld.com Wed Feb 25 18:10:22 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 25 Feb 2009 15:10:22 -0800 Subject: messages, messages Message-ID: <49A5CFDE.4080802@fourthworld.com> Mark Wieder wrote: > Wednesday, February 25, 2009, 12:26:35 PM, you wrote: >> I am learning rev by rewriting my HC development tools. > > Playing Devil's Advocate here, I'm not entirely sure this is a good > idea. I did the same thing when I was first starting out, as I'm sure > everyone making that transition did, and the unlearning process > probably set me back quite a bit. With some of the early stacks I > converted, I should have rewitten them from scratch instead of trying > to do things the HC way. Maybe it's not so bad, kinda like backpacking: the most valuable lessons we learn are the ones that hurt the most. :) Some who transition from car camping to backpacking can't resist putting their iron skillet in their pack. 10 miles later they learn the value of a small titanium pan.* :) You can tell them before they go, but they'll often just say, "Heck, it can't be that bad" until they actually haul that iron over the mountain with their own two legs. Maybe learning Rev As a Second Language is not too different: if not for the earlier experience with HC some might not try Rev at all, and there's enough similarity that a good amount of what they move over will work with little or no modification. You can offer a list of Do's and Don't's, but really the only ones that will be remembered in the long run are the ones that were forgotten this morning which gave them a headache. There's just too much to know. While some learning takes place in one's head, a lot of it takes place in the hands, by doing, typing, retyping, clicking the Trace button and scratching your head. Learning is a full-contact sport. Sure, some of it will be hard, and along the way there will be much unlearning. But even unlearning is progress. Making mistakes means experimentation is happening, and that's a good thing. When I learn a new language my success is often measure by how many mistakes I'm making each day: if I'm making only a few, I'm not putting in enough time. :) * If you're ever looking for tasty one-pan recipes for the trail, this new book by an acquaintance of mine has completely upgraded my backcountry cuisine: . Camp dining can be more than GORP. :) -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From DunbarX at aol.com Wed Feb 25 18:11:30 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 25 Feb 2009 18:11:30 EST Subject: messages, messages Message-ID: Mark; I get what you are saying. I am not lkely to import many stacks. I certainly cannot import my tools gadget, as it is filled with externals, and is itself one (megaWindow). I am rewriting it though, and the re-coding is straightforward. It is the ingrained methodology in every aspect of HC that I (we?) must surmount. In a message dated 2/25/09 5:27:15 PM, mwieder at ahsoftware.net writes: > Playing Devil's Advocate here, I'm not entirely sure this is a good > idea. I did the same thing when I was first starting out, as I'm sure > everyone making that transition did, and the unlearning process > probably set me back quite a bit. With some of the early stacks I > converted, I should have rewitten them from scratch instead of trying > to do things the HC way. > ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From jacque at hyperactivesw.com Wed Feb 25 18:20:27 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Feb 2009 17:20:27 -0600 Subject: messages, messages In-Reply-To: References: Message-ID: <49A5D23B.5060705@hyperactivesw.com> DunbarX at aol.com wrote: > I get what you are saying. I am not lkely to import many stacks. I certainly > cannot import my tools gadget, as it is filled with externals That's the best part though -- finding out that everything we needed externals for in HC is already built into the engine, or very close. I had a mega-tools stack too. It's now a revised Rev stack that does everything it used to and has no externals. So satisfying. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Feb 25 19:38:17 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 25 Feb 2009 16:38:17 -0800 Subject: messages, messages In-Reply-To: <49A5D23B.5060705@hyperactivesw.com> References: <49A5D23B.5060705@hyperactivesw.com> Message-ID: <681064020843.20090225163817@ahsoftware.net> Jacque- Wednesday, February 25, 2009, 3:20:27 PM, you wrote: > I had a mega-tools stack too. It's now a revised Rev stack that does > everything it used to and has no externals. So satisfying. Very much so. One of my first conversions involved a stack with a huge external to do a lot of heavy-duty math processing that HC couldn't handle. Rev did all of it fast enough that I didn't need any of the external stuff anymore. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Feb 25 19:40:16 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 25 Feb 2009 16:40:16 -0800 Subject: messages, messages In-Reply-To: <49A5CFDE.4080802@fourthworld.com> References: <49A5CFDE.4080802@fourthworld.com> Message-ID: <1811064140656.20090225164016@ahsoftware.net> Richard- Wednesday, February 25, 2009, 3:10:22 PM, you wrote: > Sure, some of it will be hard, and along the way there will be much > unlearning. But even unlearning is progress. Making mistakes means > experimentation is happening, and that's a good thing. When I learn a > new language my success is often measure by how many mistakes I'm making > each day: if I'm making only a few, I'm not putting in enough time. :) "Where does good judgement come from? Experience. Where does experience come from? Bad judgement." -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Wed Feb 25 21:13:52 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 25 Feb 2009 18:13:52 -0800 Subject: Vector window shapes and the great mystery of ink effects Message-ID: <49A5FAE0.3030604@fourthworld.com> So I'm looking at OS X's increasingly popular transparent panels as described in: And I'm thinking, man, I would love to have rounded corners on resizable palettes. Then it hits me: could there be some way to layer graphics with different blendLevels and different ink effects so that I could define the visible window region with one graphic and have everything outside of it transparent with another graphic? So I started to play with various combinations, and the multiplicity of possible options made my head explode. Anyone know a way to do this? Am I dreaming? Sure, I know the corners would still not pass clicks through, but I'm okay with those few pixels if I could at least get the look right. Even more interesting, if such a magic combo could be found we could effectively punch visual holes in our windows, making resizable frames around anything underneath. Should I just make a request to use graphics as window shapes and move on? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From tsj at unimelb.edu.au Wed Feb 25 22:05:32 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 26 Feb 2009 14:05:32 +1100 Subject: Vector window shapes and the great mystery of ink effects In-Reply-To: <49A5FAE0.3030604@fourthworld.com> Message-ID: Richard - I'm not sure I get exactly what you mean but I think it would be useful to be able to use graphic objects rather than (or as well as) clipping paths for window shapes. As far as transparency goes it would also be great to be able to alter the transparency of the stack background without affecting the transparency of certain objects in the card level (as in the transparent panels section of the webpage you refer to). You could no doubt kludge such an effect using two superimposed stacks that are effectively 'linked' but I'm not sure we want to go there. As you say, transparent panels are all the rage (and whether they're good or bad design we're all used to them now) and it would make sense for them to native to Rev. You can do them in AIR (and presumably in Flash/Flex). Regards, Terry... On 26/02/09 1:13 PM, "Richard Gaskin" wrote: > So I'm looking at OS X's increasingly popular transparent panels as > described in: > delines/XHIGWindows/chapter_18_section_6.html#//apple_ref/doc/uid/20000961-TPX > REF17> > > And I'm thinking, man, I would love to have rounded corners on resizable > palettes. > > Then it hits me: could there be some way to layer graphics with > different blendLevels and different ink effects so that I could define > the visible window region with one graphic and have everything outside > of it transparent with another graphic? > > So I started to play with various combinations, and the multiplicity of > possible options made my head explode. > > Anyone know a way to do this? > Am I dreaming? > > Sure, I know the corners would still not pass clicks through, but I'm > okay with those few pixels if I could at least get the look right. > > Even more interesting, if such a magic combo could be found we could > effectively punch visual holes in our windows, making resizable frames > around anything underneath. > > Should I just make a request to use graphics as window shapes and move on? > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Wed Feb 25 23:13:19 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 25 Feb 2009 20:13:19 -0800 Subject: Vector window shapes and the great mystery of ink effects In-Reply-To: <49A5FAE0.3030604@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > So I'm looking at OS X's increasingly popular transparent panels as > described in: > delines/XHIGWindows/chapter_18_section_6.html#//apple_ref/doc/uid/20000961-TPX > REF17> > > And I'm thinking, man, I would love to have rounded corners on resizable > palettes. > > Then it hits me: could there be some way to layer graphics with > different blendLevels and different ink effects so that I could define > the visible window region with one graphic and have everything outside > of it transparent with another graphic? > > So I started to play with various combinations, and the multiplicity of > possible options made my head explode. > > Anyone know a way to do this? > Am I dreaming? Resizable = yes. Dynamically resizable = kind of, but practically this will depend on your situation. If you have set sizes/states for a palette (or any window) that you can standardize on, then you can either 1) set the size of your stack to any number of stored bitmaps that act as masks for the various window sizes you need, or 2) dynamically create the mask image on the fly using stored bitmap "pieces" (rounded corners, sides, etc). Both options are reliable in my experience, and work fast, with the limitation being that the stack must "jump" to the new size. The difficulty comes when you want to allow a user to dynamically resize a window: this means that as the user drags across their screen, you must dynamically create the mask used to render the window, assign the windowshape, adjust the mask art, generate a new mask, and reset the windowshape, etc. While this is possible, I assume you would also want to reposition/resize controls, which will impact the speed at which the masks can be created. Obviously this is a very brute force way to generate a "scalable" window. Setting the windowshape to the IDs of different mask images has become pretty fast (at least on OS X if not so much on Windows) but I think you will be hard pressed to do it dynamically. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From mfstuart at cox.net Wed Feb 25 23:41:42 2009 From: mfstuart at cox.net (Mark Stuart) Date: Wed, 25 Feb 2009 20:41:42 -0800 Subject: help Message-ID: <000001c997cc$8610f2b0$850c0544@stuart> From jacque at hyperactivesw.com Thu Feb 26 00:03:01 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Feb 2009 23:03:01 -0600 Subject: Linux volunteer Message-ID: <49A62285.7040306@hyperactivesw.com> I need a volunteer on Linux who is willing to just open a stack and take a screen shot for me. Well, maybe two screen shots. I'm lazy enough, I don't want to download 600 megs and run it in emulation to do it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Feb 26 00:37:26 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 25 Feb 2009 21:37:26 -0800 Subject: Vector window shapes and the great mystery of ink effects In-Reply-To: Message-ID: > I would love to have rounded corners on resizable palettes. BTW, allow me to throw out a shameless plug to you and those interested to vote for fixing (what I call) bug # 4198: on OS X, setting the windowshape of stack automatically enables the shadow of a stack, regardless if the stack's shadow is set to false. If you want to build a resizable custom window without a shadow, a stack with an animated mask, or even a stack that includes a custom shadow of your own design, it can't be done on OS X without the default system shadow becoming applied to the stack as soon as the stack's mask is changed. There are goofy workarounds like sending the stack offscreen while the shadow is re-removed, but this hack strays even farther away from the resizable palettes you asked for at the beginning of this thread. So please consider voting. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From revdev at pdslabs.net Thu Feb 26 00:38:06 2009 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 25 Feb 2009 21:38:06 -0800 Subject: help In-Reply-To: <000001c997cc$8610f2b0$850c0544@stuart> References: <000001c997cc$8610f2b0$850c0544@stuart> Message-ID: <49A62ABE.9010209@pdslabs.net> Obviously Mark has been taken by aliens! They left him no time to type a message. Mark Stuart wrote: > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From ambassador at fourthworld.com Thu Feb 26 01:46:53 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 25 Feb 2009 22:46:53 -0800 Subject: Linux volunteer Message-ID: <49A63ADD.2040005@fourthworld.com> J. Landman Gay wrote: > I need a volunteer on Linux who is willing to just open a stack and take > a screen shot for me. Well, maybe two screen shots. I'm lazy enough, I > don't want to download 600 megs and run it in emulation to do it. :) You just start the download before you turn in for the night, and you wake up to a whole new operating system. Well worth it, IMO. Not since the early days of the Mac have I seen a community with such ferver, and the OS itself has many good things going for it. I'm no Linux evangelist, but really there are few things in life as exciting as these early stages of what may well become the dominant OS one day, and certainly not for that price. ;) But if you need the screenshot now, send me the stack and I'll send you the pic. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From luis at anachreon.co.uk Thu Feb 26 04:38:54 2009 From: luis at anachreon.co.uk (Luis) Date: Thu, 26 Feb 2009 09:38:54 +0000 Subject: help In-Reply-To: <49A62ABE.9010209@pdslabs.net> References: <000001c997cc$8610f2b0$850c0544@stuart> <49A62ABE.9010209@pdslabs.net> Message-ID: No, it's in invisible ink: Print the email and put it in the oven at Gas Mark 3 (160C/325F) for 25 minutes and the message will reveal itself. Cheers, Luis. On 26 Feb 2009, at 05:38, Phil Davis wrote: > Obviously Mark has been taken by aliens! They left him no time to > type a message. > > > Mark Stuart wrote: >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Thu Feb 26 04:43:33 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 26 Feb 2009 10:43:33 +0100 Subject: help In-Reply-To: References: <000001c997cc$8610f2b0$850c0544@stuart> <49A62ABE.9010209@pdslabs.net> Message-ID: No, I believe he needs help with a Whitespace programme . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 26 feb 2009, at 10:38, Luis wrote: > No, it's in invisible ink: Print the email and put it in the oven at > Gas Mark 3 (160C/325F) for 25 minutes and the message will reveal > itself. > > Cheers, > > Luis. > From luis at anachreon.co.uk Thu Feb 26 04:46:52 2009 From: luis at anachreon.co.uk (Luis) Date: Thu, 26 Feb 2009 09:46:52 +0000 Subject: help In-Reply-To: References: <000001c997cc$8610f2b0$850c0544@stuart> <49A62ABE.9010209@pdslabs.net> Message-ID: <4E1E9B20-BD1B-4DAD-89E3-45CDA5701799@anachreon.co.uk> Or is this one of those moments in which something bad has actually happened, but we're blind to it? On 26 Feb 2009, at 09:38, Luis wrote: > No, it's in invisible ink: Print the email and put it in the oven > at Gas Mark 3 (160C/325F) for 25 minutes and the message will > reveal itself. > > Cheers, > > Luis. > > > On 26 Feb 2009, at 05:38, Phil Davis wrote: > >> Obviously Mark has been taken by aliens! They left him no time to >> type a message. >> >> >> Mark Stuart wrote: >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> -- >> Phil Davis >> >> PDS Labs >> Professional Software Development >> http://pdslabs.net >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From toolbook at kestner.de Thu Feb 26 04:59:06 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 26 Feb 2009 10:59:06 +0100 Subject: AW: help In-Reply-To: <000001c997cc$8610f2b0$850c0544@stuart> Message-ID: <0DD12572150041299D7B1A6BE8EDA52E@Kestner.local> No, I think finally the CERN scientists in Geneva succeeded in creating a black Hole! First it takes all Bytes from the internet. See also: http://www.livescience.com/environment/060919_black_holes.html > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Mark Stuart > Gesendet: Donnerstag, 26. Februar 2009 05:42 > An: use-revolution at lists.runrev.com > Betreff: help > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sanke at hrz.uni-kassel.de Thu Feb 26 05:31:55 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 26 Feb 2009 11:31:55 +0100 Subject: Polygon Games Message-ID: <49A66F9B.9020409@hrz.uni-kassel.de> On Wed Feb 25, 2009, Richmond Mathewson geradamas at yahoo.com wrote: > Anybody coming up with an answer as to how to export the polygons > surrounded by transparency would win my undying gratitude. > > sincerely, Richmond Mathewson. Richmond, Take a look at the various examples of stack . To get the transparency of a graphic you could use: "export snapshot from rect(rect of grc "polygon") of grc "polygon" to img "placeholder" as PNG" and - if necessary - when you want to include other properties of the polygon area like gradients or text on the polygon, then take another snapshot with the syntax "export snapshot from rect(rect of grc "polygon") of this card to img "placeholder2" as PNG" and set the alphadata of img "placeholder2" to the alphadata of img "placeholder". Best regards, Wilhelm Sanke From geradamas at yahoo.com Thu Feb 26 06:54:34 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 26 Feb 2009 03:54:34 -0800 (PST) Subject: Fun with Slide Controls Message-ID: <26561.76606.qm@web37505.mail.mud.yahoo.com> Of course any property of any control can be manipulated with a slide-control. [after all, all a computer program really is is a collection of numbers]. While this may be stating something crashingly obvious, it should be remembered when pondering on end-user control. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From rjb at robelko.com Thu Feb 26 07:41:07 2009 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 26 Feb 2009 13:41:07 +0100 Subject: Menu problem In-Reply-To: <1621041733859.20090225102650@ahsoftware.net> References: <343DFCBA-8678-429F-8EC9-68749999AD32@economy-x-talk.com> <9D8BF6AE-3035-4DD9-8F11-99E58222AEE3@economy-x-talk.com> <1621041733859.20090225102650@ahsoftware.net> Message-ID: On 25.02.09 at 10:26 -0800 Mark Wieder apparently wrote: >is evaluated by the compiler as a reference to a custom property. So >technically I think it's not a bug as such. On the other hand, I'd be >happy if the compiler had a bit more smarts in the way of catching >keywords accidentally being used as property names. So I think my >preference would be to write up the bug report. I think Mark is right about compiler seeing this as setting properties (custom or not). The error comes because you can't set the text property of a stack. It is a standard property but applies to fields, for example. In that sense, it would be a scripting error not a compiler bug. Robert From scott at tactilemedia.com Thu Feb 26 11:26:40 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 26 Feb 2009 08:26:40 -0800 Subject: Vector window shapes and the great mystery of ink effects In-Reply-To: <49A5FAE0.3030604@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > I'm thinking, man, I would love to have rounded corners on resizable > palettes. OK, I woke up this morning with an epiphany: inks and groups and all that funky stuff are unnecessary. It should be possible to dynamically create a mask using a simple scaling graphic object and an image for the mask data. So, while it's not a true solution, the above does allow for a resizable transparent stack with rounded corners. Execute the following in your message box: go url "http://www.tactilemedia.com/site_files/downloads/transtack.rev" The stack contains a couple of resizing controls -- the titlebar button at the top, and the slider that sets the roundradius of the stack's corners. This uses every trick I can think of to make the stack render properly, and while it works, you'll see the issue is one of scale & response. When resizing the stack to larger sizes, the creation/application of the bitmap mask apparently takes a toll on performance, so response slows down. (Funny it works better here on Vista than OS X). But again, if you can live with a stack that "jumps" to any number of preset sizes of your choosing (using a toggle control, menu option, or similar) the method used here should be perfectly acceptable. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From jhurley0305 at sbcglobal.net Thu Feb 26 11:47:31 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 26 Feb 2009 08:47:31 -0800 Subject: In search of a programmable pen tool In-Reply-To: <20090226094645.1C43148A47F@mail.runrev.com> References: <20090226094645.1C43148A47F@mail.runrev.com> Message-ID: <9953EECC-F82B-4BCB-8888-4F967E1DB71F@sbcglobal.net> I came across a web site a while back that allowed the user to drag a paint tool over the screen and the painted line was mirrored across several sectors of a circle creating a kaleidoscopic effect. Dazzling I thought. I don't see any way to approximate this in Run Rev. What would be nice is a pen tool which is a first class programmable Run Rev object with a mouseMove handler. Not likely any time soon. I can't even come close, as you can see in the stack "Paint Kaleidoscope" I just put up on my user space under Jim Hurley. If anybody has an answer to the question posed there (Why is this painted line so bad?) I would appreciate it. Jim Hurley P.S. (Also in my User Space is KaleidoBalls, a kaleidoscope stack using balls instead of a paint brush. You might want to check it out just for Scott Rossi's gradient library to make 3D objects.) From jacque at hyperactivesw.com Thu Feb 26 11:47:37 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Feb 2009 10:47:37 -0600 Subject: Linux volunteer In-Reply-To: <49A62285.7040306@hyperactivesw.com> References: <49A62285.7040306@hyperactivesw.com> Message-ID: <49A6C7A9.8060608@hyperactivesw.com> J. Landman Gay wrote: > I need a volunteer on Linux Thanks guys. I've had a bunch of volunteers, so I'm covered. Will get back to everyone who wrote later on in email. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From DunbarX at aol.com Thu Feb 26 11:54:36 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 26 Feb 2009 11:54:36 EST Subject: Crybaby Message-ID: I have a stack "A" of two cards, two fields on each. No code anywhere. I have another stack "B" with an "opencard" handler in the stack script , containing one line: "doThis". A handler "doThis" right below it has nothing in it. On openstack, Stack "B" is put in use. If I open stack "A" and move between the two cards, any text there is stable. If I then open stack "B", any navigation between cards in stack "A" is still stable. If I then open the msg box, any navigation between cards in stack "A" puts the text "/REVEXCLUDE02" in the first field of each card. The first field only. Also, the stack changes size somewhat as each card is displayed. I can reproduce this perfectly. I made a new stack with a similar empty "opencard" handler in it. Same problem with stack "A", or in fact any stack at all. It is the opening of the msg box that causes that wierd text to appear. I am on a fairly old PPC machine, OS 10.4.11. I am about to give up: I cannot work at all if i can't trap messages between stacks. Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From mfstuart at cox.net Thu Feb 26 11:57:32 2009 From: mfstuart at cox.net (mfstuart) Date: Thu, 26 Feb 2009 08:57:32 -0800 (PST) Subject: help In-Reply-To: <000001c997cc$8610f2b0$850c0544@stuart> References: <000001c997cc$8610f2b0$850c0544@stuart> Message-ID: <22228491.post@talk.nabble.com> Oh man, how embarrassing :( This email I didn't expect to get posted. I've been reading the Mailman website (http://www.gnu.org/software/mailman/index.html), and they have some "commands" that if you put it in the subject and submit it to your forum, the mailman will not post to the forum but respond by replying only to the sender with what matches to the command. At least that's how I understood it. So sorry about that chief :) Mark Stuart mfstuart wrote: > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/help-tp22217581p22228491.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Thu Feb 26 12:03:34 2009 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Feb 2009 09:03:34 -0800 Subject: help In-Reply-To: <49A62ABE.9010209@pdslabs.net> References: <000001c997cc$8610f2b0$850c0544@stuart> <49A62ABE.9010209@pdslabs.net> Message-ID: Heh heh. BTW I suppose this would be a good time to offer that it is best when posting to a list to put something about the problem in the subject line. I will typically delete posts with generic subjects, along with the ones which I know I will not be able to offer anything useful. That way I do not waste a lot of time reading posts only to discover I have nothing to say. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 25, 2009, at 9:38 PM, Phil Davis wrote: > Obviously Mark has been taken by aliens! They left him no time to > type a > message. > > > Mark Stuart wrote: >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Thu Feb 26 13:36:28 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Feb 2009 12:36:28 -0600 Subject: help In-Reply-To: <22228491.post@talk.nabble.com> References: <000001c997cc$8610f2b0$850c0544@stuart> <22228491.post@talk.nabble.com> Message-ID: <49A6E12C.8020405@hyperactivesw.com> mfstuart wrote: > I've been reading the Mailman website > (http://www.gnu.org/software/mailman/index.html), and they have some > "commands" that if you put it in the subject and submit it to your forum, > the mailman will not post to the forum but respond by replying only to the > sender with what matches to the command. > At least that's how I understood it. Usually instructions to the server must use a different address, often with "server" in it, but I don't see any indication on the Rev list page what it is. It's a very common mistake to send list commands to the public mailing list rather than to the server address, I see it all the time on some other lists I read. > So sorry about that chief :) Don't be sorry! The replies were hysterical, I laughed out loud. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dave.cragg at lacscentre.co.uk Thu Feb 26 15:33:54 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 26 Feb 2009 20:33:54 +0000 Subject: Crybaby In-Reply-To: References: Message-ID: Craig, On 26 Feb 2009, at 16:54, dunbarx at aol.com wrote: > I have another stack "B" with an "opencard" handler in the stack > script , > containing one line: "doThis". A handler "doThis" right below it has > nothing in > it. On openstack, Stack "B" is put in use. My first question was why you have an openCard handler in a "stack-in- use". It would seem to invite management problems, as it will trap *any* opencard message. (Apart from the fact that the Rev IDE consists of rev stacks, what would you expect to happen if you had two projects open at once?) > I cannot work at all if i can't trap messages between stacks. When I've built projects with multiple stacks, I've tended to create all the stacks as substacks of a single mainstack. The mainstack may have no user interface at all (hidden), but it can be used as a place to trap events for all the substacks in the project. So you can place an openCard handler there and be sure it will only trap openCard messages originating from the stacks in the project. I don't know the nature of your project, so this idea may not be practical. But I'd suggest trying to avoid placing handlers for navigation events (openCard, etc.) in a stack-in-use. Cheers Dave From runrev260805 at m-r-d.de Thu Feb 26 16:00:16 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 26 Feb 2009 21:00:16 +0000 Subject: The Revolution Dictionary is online for download - anyone noticed that already Message-ID: <00035011.49A710EF@the-office.us> Hi, did anyone of you already notice that the dictionary as Pdf is now online for download? Regards, Matthias From m.schonewille at economy-x-talk.com Thu Feb 26 16:06:26 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 26 Feb 2009 22:06:26 +0100 Subject: The Revolution Dictionary is online for download - anyone noticed that already In-Reply-To: <00035011.49A710EF@the-office.us> References: <00035011.49A710EF@the-office.us> Message-ID: <02C5D07D-A057-4943-A222-E1D392663D89@economy-x-talk.com> Hi Matthias! Yup, I read it on Twitter! ;-) 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 26-feb-2009, om 22:00 heeft runrev260805 at m-r-d.de het volgende geschreven: > Hi, > > did anyone of you already notice that the dictionary as Pdf is now > online for download? > > Regards, > > Matthias > From geradamas at yahoo.com Thu Feb 26 16:15:15 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 26 Feb 2009 13:15:15 -0800 (PST) Subject: The Revolution Dictionary is online for download - Where? Message-ID: <620314.91537.qm@web37507.mail.mud.yahoo.com> Thanks Matthias ! http://www.runrev.com/support/documentation/dictionary/ ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From m.schonewille at economy-x-talk.com Thu Feb 26 16:50:00 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 26 Feb 2009 22:50:00 +0100 Subject: Crybaby In-Reply-To: References: Message-ID: <8C458714-1F97-4E27-BF4A-8D10375D2E57@economy-x-talk.com> Hi Craig, What does the stacksInUse return, when this problem occurs? What are the actual names of the stacks? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 26 feb 2009, at 17:54, DunbarX at aol.com wrote: > I have a stack "A" of two cards, two fields on each. No code anywhere. > > I have another stack "B" with an "opencard" handler in the stack > script , > containing one line: "doThis". A handler "doThis" right below it has > nothing in > it. On openstack, Stack "B" is put in use. > > If I open stack "A" and move between the two cards, any text there > is stable. > If I then open stack "B", any navigation between cards in stack "A" > is still > stable. If I then open the msg box, any navigation between cards in > stack "A" > puts the text "/REVEXCLUDE02" in the first field of each card. The > first field > only. Also, the stack changes size somewhat as each card is > displayed. I can > reproduce this perfectly. > > I made a new stack with a similar empty "opencard" handler in it. Same > problem with stack "A", or in fact any stack at all. It is the > opening of the msg > box that causes that wierd text to appear. > > I am on a fairly old PPC machine, OS 10.4.11. I am about to give up: I > cannot work at all if i can't trap messages between stacks. > > Craig Newman From geradamas at yahoo.com Thu Feb 26 16:50:24 2009 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 26 Feb 2009 13:50:24 -0800 (PST) Subject: Resizable Non-Rectangular Windows . . . Message-ID: <745704.80777.qm@web37506.mail.mud.yahoo.com> Just uploaded a stack to revOnline: "SHAPELY.rev" under 'Richmond' This combines my latest obsession with scrollBars with a non-rectangular windowShape. The scrollBar resizes the window. HOWEVER: The scrollbar "goes all funny" with a non-rectangular windowShape: download it, play around with it, mutter rude things under your breath, and sort out the problem! sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ From DunbarX at aol.com Thu Feb 26 16:53:12 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 26 Feb 2009 16:53:12 EST Subject: Crybaby Message-ID: In a message dated 2/26/09 3:34:06 PM, dave.cragg at lacscentre.co.uk writes: > My first question was why you have an openCard handler in a "stack-in- > use". It would seem to invite management problems, as it will trap? > *any* opencard message. (Apart from the fact that the Rev IDE consists? > of rev stacks, what would you expect to happen if you had two projects? > open at once?) > Dave; Thanks for the replay That is its purpose, to monitor the state of any card in any stack that I am viewing. It is a utility stack that lurks in the background for general development, it is NOT a component of any particular project. The information is gathered whenever a card is opened. The IDE doesn't care about this. It is the mainstay of my HC world, and the current build in Rev works just fine, very stable, though currently it has far less capability since I am still constructing it. But I can only use it if I DO NOT open the msg box. That is a pain. If I ever do, all hell breaks loose, I cannot receive opencard messages at all, and very wierd behavior besets my open stacks. I have to quit and restart Rev to get back to normal. Reliably reproducable, as I said; though in this case it is of little comfort. Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From DunbarX at aol.com Thu Feb 26 17:24:55 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 26 Feb 2009 17:24:55 EST Subject: Crybaby Message-ID: Hey, Mark. My utility stack is called "Wizard". Whether working fine without ever having opened the msg box, or useless after I do, the stacksInUse returns only the "Wizard" stack. My test stack, the only other one open, is not included of course. It works fine, you see, without msg open. And if ever I do open the msg box, I cannot get back. Closing msg has no effect, and I have to quit Rev and relaunch. Interestingly, I also trap "resumeStack", and these messages are sent even with msg open. It is only opencard that is curtailed. Somebody must know what "/REVEXCLUDED02" means I have no issues at all if I never open msg, so I cannot believe it is anything I have authored that is causing this. Anyone ever have to reload Rev itself? Craig Newman In a message dated 2/26/09 4:50:18 PM, m.schonewille at economy-x-talk.com writes: > Hi Craig, > > What does the stacksInUse return, when this problem occurs? What are? > the actual names of the stacks? > ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From pmbrig at gmail.com Thu Feb 26 17:35:21 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 26 Feb 2009 17:35:21 -0500 Subject: Gutenberg Reader In-Reply-To: <20090225104958.737EC48A3DE@mail.runrev.com> References: <20090225104958.737EC48A3DE@mail.runrev.com> Message-ID: <6AB17EE3-BDFE-483C-8145-D9B1DF0F8EDE@gmail.com> On Wed, 25 Feb 2009 00:23:27, Pierre Sahores wrote: >> Anyone have ideas on why the standalone builder won't build a Mac >> standalone for me that works on all CPUs/OSX versions? Or what a >> workaround might look like? I don't want to try to distribute a >> standalone widely under these conditions, so this is a deal-breaker >> for me if I can't solve it. > > I remember yet that i went in such problems the first time i tried to > use the Rev 3 standalone builder. The standalone application's > original config was the responsable of this (default settings > corrupted). I solved the problem in resetting each option (one after > an other) of the standalone application's setting and all went then > OK. > > Best, > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com OK, did this. Would appreciate it if those for whom the application didn't open would try the current version now. Peter M. Brigham pmbrig at gmail.com From m.schonewille at economy-x-talk.com Thu Feb 26 17:36:14 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 26 Feb 2009 23:36:14 +0100 Subject: Crybaby In-Reply-To: References: Message-ID: <0B4A1A95-AB29-4877-B449-545CAE30CCFF@economy-x-talk.com> Hi Craig, "/REVEXCLUDED02" is put into fld 1 of the message box by a script of the message box while the message box is open and that field is invisible. Yo could try commenting out the part of the code that puts it there. Just enter edit script of stack "Message box" in the message box and comment out the line containing "/ REVEXCLUDED02". I don't know what side effects it will have. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 26 feb 2009, at 23:24, DunbarX at aol.com wrote: > Hey, Mark. > > My utility stack is called "Wizard". Whether working fine without > ever having > opened the msg box, or useless after I do, the stacksInUse returns > only the > "Wizard" stack. My test stack, the only other one open, is not > included of > course. > > It works fine, you see, without msg open. And if ever I do open the > msg box, > I cannot get back. Closing msg has no effect, and I have to quit Rev > and > relaunch. Interestingly, I also trap "resumeStack", and these > messages are sent > even with msg open. It is only opencard that is curtailed. > > Somebody must know what "/REVEXCLUDED02" means > > I have no issues at all if I never open msg, so I cannot believe it is > anything I have authored that is causing this. Anyone ever have to > reload Rev > itself? > > Craig Newman From pmbrig at gmail.com Thu Feb 26 17:40:35 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 26 Feb 2009 17:40:35 -0500 Subject: Gutenberg Reader In-Reply-To: <20090225104958.737EC48A3DE@mail.runrev.com> References: <20090225104958.737EC48A3DE@mail.runrev.com> Message-ID: On Wed, 25 Feb 2009 14:50:46, Kay C Lan wrote: > On Wed, Feb 25, 2009 at 7:40 AM, Kay C Lan > wrote: > >> >> BBEdit then crashed! >> >> > On a slightly different note, quick as a flash Bare Bones were > emailing me > wanting more details of what made BBEdit crash. I can reproduce the > crash > simply by opening the Gutenberg Reader file that resides in the Mac OS > folder in the app bundle, change it's text encoding from Western > (Mac OS > Roman) to Western (Windows Latin 1), I then close the document, I then > choose 'Dont Save' from the dialog box, I am then presented with a > window > that says: > > Unmappable character(s) detected. > > This document contains one or more... > > There are three buttons, Show Unmappable Characters, Cancel or Save as > UTF-8. If I click on Cancel the dialog box disappears, the document > sits > there for a couple of seconds, then disappears along with the entire > BBEdit > app, I then get the Crash Reporter dialog. > > I can definitely repeat this every single time. > > Bare Bones have asked if I could forward them the file? > > Peter would you mind if I did? > > If not, could you let me know some more details of what the file is > so I can > pass it on to the Bare Bones team. > > Thanks. Please, be my guest, send it off to them. Peter M. Brigham pmbrig at gmail.com From pepetoo at cox.net Thu Feb 26 17:40:31 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 26 Feb 2009 14:40:31 -0800 Subject: Gutenberg Reader In-Reply-To: <6AB17EE3-BDFE-483C-8145-D9B1DF0F8EDE@gmail.com> References: <20090225104958.737EC48A3DE@mail.runrev.com> <6AB17EE3-BDFE-483C-8145-D9B1DF0F8EDE@gmail.com> Message-ID: Where do we get it, Peter? Joe Wilkins On Feb 26, 2009, at 2:35 PM, Peter Brigham MD wrote: > OK, did this. Would appreciate it if those for whom the application > didn't open would try the current version now. > > Peter M. Brigham > pmbrig at gmail.com From sarah.reichelt at gmail.com Thu Feb 26 17:42:37 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 27 Feb 2009 08:42:37 +1000 Subject: Vector window shapes and the great mystery of ink effects In-Reply-To: References: <49A5FAE0.3030604@fourthworld.com> Message-ID: > OK, I woke up this morning with an epiphany: inks and groups and all that > funky stuff are unnecessary. ?It should be possible to dynamically create a > mask using a simple scaling graphic object and an image for the mask data. > > So, while it's not a true solution, the above does allow for a resizable > transparent stack with rounded corners. ?Execute the following in your > message box: > > ?go url "http://www.tactilemedia.com/site_files/downloads/transtack.rev" Awesome as usual Scott :-) Cheers, Sarah From DunbarX at aol.com Thu Feb 26 18:14:16 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 26 Feb 2009 18:14:16 EST Subject: Crybaby Message-ID: Yikes, Mark! Well, the text in my test stack is now stable, which really was the main thing. After msg opens, I still cannot send "opencard" messages down the path, even explicitly from a handler, though "resumeStack" is still doing fine. I wonder if any other messages are clogged. Thank you. I never thought along the lines that msg is a stack or even had a script. This is a cool thing about Rev; everything is a stack. My utility gives me all the info about the tool palette, revMenuBar, etc. My msg box has somehow clogged my heirarchy. Commenting out that line deflected, but did not solve this issue. Craig In a message dated 2/26/09 5:36:51 PM, m.schonewille at economy-x-talk.com writes: > Hi Craig, > > "/REVEXCLUDED02" is put into fld 1 of the message box by a script of? > the message box while the message box is open and that field is? > invisible. Yo could try commenting out the part of the code that puts? > it there. Just enter > > edit script of stack "Message box" > > in the message box and comment out the line containing "/ > REVEXCLUDED02". I don't know what side effects it will have. > > ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From sarah.reichelt at gmail.com Thu Feb 26 18:15:17 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 27 Feb 2009 09:15:17 +1000 Subject: Fwd: Gutenberg Reader In-Reply-To: <63CECD1F-4824-41C2-A584-2C6383973CDC@gmail.com> References: <20090224180004.510BE48A717@mail.runrev.com> <63CECD1F-4824-41C2-A584-2C6383973CDC@gmail.com> Message-ID: > Anyone have ideas on why the standalone builder won't build a Mac standalone > for me that works on all CPUs/OSX versions? Or what a workaround might look > like? I don't want to try to distribute a standalone widely under these > conditions, so this is a deal-breaker for me if I can't solve it. I downloaded the Mac app and had the same problem as everyone else - it bounces in the Dock once and then goes away. Checking the Console log, I see: 27/02/2009 9:01:53 AM com.apple.launchd[143] ([0x0-0x302302].com..Gutenberg Reader[8747]) posix_spawnp("/Users/sarah/Desktop/Gutenberg Reader.app/Contents/MacOS/Gutenberg Reader", ...): Permission denied 27/02/2009 9:01:53 AM com.apple.launchd[143] ([0x0-0x302302].com..Gutenberg Reader[8747]) Exited with exit code: 1 So it is a permissions error. Mac apps are really folders, they just don't look like it, but as such, they don't like being distributed in their standard format. You have used zip, which usually works but in this case, it seems to be having problems. Are you creating the zip file on a Mac or on another system? If you have access to a Mac, I suggest you try creating a disk image (.dmg) instead as that is the more usual method for Mac distribution. Disk Utility can make a basic image and Drop DMG allows more options. I re-compiled the stack I downloaded from Rev Online and the standalone works fine. If you like, I can send it to you in a disk image. Regards, Sarah From DunbarX at aol.com Thu Feb 26 18:25:16 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 26 Feb 2009 18:25:16 EST Subject: Crybaby Message-ID: Mark; I was wrong, with msg open, explicit "opencard" messages can be sent from my test stack down the message path. It is just that normal navigation, like go next card, does not invoke it. This behavior is set somehow when msg opens, and persists, since dismissing msg does not restore this ordinary functionality. Still must relaunch to get back to normal. Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From JimAultWins at yahoo.com Thu Feb 26 18:32:39 2009 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 26 Feb 2009 15:32:39 -0800 Subject: Crybaby In-Reply-To: Message-ID: On 2/26/09 1:53 PM, "DunbarX at aol.com" wrote: > > In a message dated 2/26/09 3:34:06 PM, dave.cragg at lacscentre.co.uk writes: > > >> My first question was why you have an openCard handler in a "stack-in- >> use". It would seem to invite management problems, as it will trap? >> *any* opencard message. (Apart from the fact that the Rev IDE consists? >> of rev stacks, what would you expect to happen if you had two projects? >> open at once?) >> > Dave; Try using this" edit the script of a button "frontscript" to be on opencard answer "got open in front" end opencard Now open the Message Watcher window, click Supress, then uncheck "not Used", click OK Now type into the message box "insert the script of button "frontscript" into front --- your testing should show some of the invisible activity that using message paths in the development environment will create. Look carefully at the script of the Message Stack to see how 'open' messages are handled by user scripts and engine events. You should see that a number of stacks are used in Revolution in order to build the user interface that allows the programmer to build solutions without learning even more code. Even switching views/functions on the message box window will fire an opencard, because that is what is happening in the message box stack. This may give you the answer to your situation. Other ideas to explore are: 1 -- if "message box" is among the openstacks then 2 -- use a back script to trap opencard, send your in-use stack a "gotOpenCard" message, then pass opencard 3 -- modify the Message Box script to send the 'gotOpenCard' to you Hope this helps, Jim Ault Las Vegas On 2/26/09 1:53 PM, "DunbarX at aol.com" wrote: > > In a message dated 2/26/09 3:34:06 PM, dave.cragg at lacscentre.co.uk writes: > > >> My first question was why you have an openCard handler in a "stack-in- >> use". It would seem to invite management problems, as it will trap? >> *any* opencard message. (Apart from the fact that the Rev IDE consists? >> of rev stacks, what would you expect to happen if you had two projects? >> open at once?) >> > Dave; > > Thanks for the replay > > That is its purpose, to monitor the state of any card in any stack that I am > viewing. It is a utility stack that lurks in the background for general > development, it is NOT a component of any particular project. The information > is > gathered whenever a card is opened. The IDE doesn't care about this. > > It is the mainstay of my HC world, and the current build in Rev works just > fine, very stable, though currently it has far less capability since I am > still > constructing it. But I can only use it if I DO NOT open the msg box. That is a > pain. If I ever do, all hell breaks loose, I cannot receive opencard messages > at all, and very wierd behavior besets my open stacks. I have to quit and > restart Rev to get back to normal. Reliably reproducable, as I said; though in > this case it is of little comfort. > > Craig Newman > > > ************** > A Good Credit Score is 700 or Above. See yours in > just 2 easy steps! > (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http: > %2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 > 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Thu Feb 26 18:38:31 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 26 Feb 2009 18:38:31 EST Subject: Crybaby Message-ID: Thanks, Jim. Will try all that tomorrow. I wonder if just putting "pass opencard' in the msg script might do something. But am I the first person to notice this? No way, there is something in my rig... Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From alex at tweedly.net Thu Feb 26 18:47:52 2009 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 26 Feb 2009 23:47:52 +0000 Subject: In search of a programmable pen tool In-Reply-To: <9953EECC-F82B-4BCB-8888-4F967E1DB71F@sbcglobal.net> References: <20090226094645.1C43148A47F@mail.runrev.com> <9953EECC-F82B-4BCB-8888-4F967E1DB71F@sbcglobal.net> Message-ID: <49A72A28.2080700@tweedly.net> James Hurley wrote: > I came across a web site a while back that allowed the user to drag a > paint tool over the screen and the painted line was mirrored across > several sectors of a circle creating a kaleidoscopic effect. Dazzling > I thought. > > I don't see any way to approximate this in Run Rev. What would be nice > is a pen tool which is a first class programmable Run Rev object with > a mouseMove handler. Not likely any time soon. > > I can't even come close, as you can see in the stack "Paint > Kaleidoscope" I just put up on my user space under Jim Hurley. > > If anybody has an answer to the question posed there (Why is this > painted line so bad?) I would appreciate it. Jim, I don't see any painted line at all (Rev Studio 3.0, Win Vista) -- Alex From rjb at robelko.com Thu Feb 26 18:46:04 2009 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 27 Feb 2009 00:46:04 +0100 Subject: Crybaby In-Reply-To: References: Message-ID: On 26.02.09 at 15:32 -0800 Jim Ault apparently wrote: >This may give you the answer to your situation. > >Other ideas to explore are: >1 -- if "message box" is among the openstacks then > >2 -- use a back script to trap opencard, send your in-use stack a >"gotOpenCard" message, then pass opencard > >3 -- modify the Message Box script to send the 'gotOpenCard' to you > >Hope this helps, > >Jim Ault >Las Vegas I would think that using a backscript for trapping all messages for such a utility is a more suitable approach anyway. Robert From kray at sonsothunder.com Thu Feb 26 19:15:33 2009 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 26 Feb 2009 18:15:33 -0600 Subject: Vector window shapes and the great mystery of ink effects In-Reply-To: Message-ID: > OK, I woke up this morning with an epiphany: inks and groups and all that > funky stuff are unnecessary. It should be possible to dynamically create a > mask using a simple scaling graphic object and an image for the mask data. > > So, while it's not a true solution, the above does allow for a resizable > transparent stack with rounded corners. Execute the following in your > message box: > > go url "http://www.tactilemedia.com/site_files/downloads/transtack.rev" Very nice, Scott! Do you see any way of being able to have non-blended controls on top a blended stack? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mwieder at ahsoftware.net Thu Feb 26 20:00:15 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 26 Feb 2009 17:00:15 -0800 Subject: Crybaby In-Reply-To: References: Message-ID: <51151739531.20090226170015@ahsoftware.net> Robert- Thursday, February 26, 2009, 3:46:04 PM, you wrote: > I would think that using a backscript for trapping all messages for > such a utility is a more suitable approach anyway. Depends on what you're trying to accomplish. A fronscript handler would catch the messages *before* anyone else gets them, allowing you to decide what to do with the message before passing it on. The same handler in a backscript would only catch the message if everyone before it passed the message on. -- -Mark Wieder mwieder at ahsoftware.net From rjb at robelko.com Thu Feb 26 20:24:39 2009 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 27 Feb 2009 02:24:39 +0100 Subject: Crybaby In-Reply-To: <51151739531.20090226170015@ahsoftware.net> References: <51151739531.20090226170015@ahsoftware.net> Message-ID: On 26.02.09 at 17:00 -0800 Mark Wieder apparently wrote: >Robert- > >Thursday, February 26, 2009, 3:46:04 PM, you wrote: > >> I would think that using a backscript for trapping all messages for >> such a utility is a more suitable approach anyway. > >Depends on what you're trying to accomplish. A fronscript handler >would catch the messages *before* anyone else gets them, allowing you >to decide what to do with the message before passing it on. The same >handler in a backscript would only catch the message if everyone >before it passed the message on. > >-- >-Mark Wieder > mwieder at ahsoftware.net Yes, I meant frontscript. Robert From ambassador at fourthworld.com Thu Feb 26 20:35:30 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 26 Feb 2009 17:35:30 -0800 Subject: Vector window shapes and the great mystery of ink effects Message-ID: <49A74362.3070705@fourthworld.com> Scott Rossi wrote: > OK, I woke up this morning with an epiphany: inks and groups and all that > funky stuff are unnecessary. It should be possible to dynamically create a > mask using a simple scaling graphic object and an image for the mask data. > > So, while it's not a true solution, the above does allow for a resizable > transparent stack with rounded corners. Execute the following in your > message box: > > go url "http://www.tactilemedia.com/site_files/downloads/transtack.rev" Nicely done, and very cool for a great many uses. I'm looking for something smoothly dynamic, so I went ahead and submitted a request: Ability to use vector graphics for dynamic window shapes While I was at it I submitted a related request to be able to modify the appearance of slider controls: Ability to set color/pattern elements for sliders -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From mwieder at ahsoftware.net Thu Feb 26 21:24:44 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 26 Feb 2009 18:24:44 -0800 Subject: Crybaby In-Reply-To: References: <51151739531.20090226170015@ahsoftware.net> Message-ID: <1171156808171.20090226182444@ahsoftware.net> Robert- Thursday, February 26, 2009, 5:24:39 PM, you wrote: > Yes, I meant frontscript. I knew that. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Feb 26 21:28:33 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 26 Feb 2009 18:28:33 -0800 Subject: Crybaby In-Reply-To: References: Message-ID: <211157037609.20090226182833@ahsoftware.net> DunbarX- Thursday, February 26, 2009, 3:14:16 PM, you wrote: > My msg box has somehow clogged my heirarchy. Commenting out that line > deflected, but did not solve this issue. Well, the message box is, and needs to be, a little weird. It has to deal with some system messages in a way that normal stacks don't normally need to think about. For instance, it gets the debug execution context so that it can interact with variables while you're debugging. I wouldn't be too put out of shape about it interfering with what you're trying to do, although you're getting some very interesting symptoms. -- -Mark Wieder mwieder at ahsoftware.net From dunbarx at aol.com Thu Feb 26 23:55:48 2009 From: dunbarx at aol.com (dunbarx) Date: Thu, 26 Feb 2009 23:55:48 -0500 Subject: Crybaby In-Reply-To: <211157037609.20090226182833@ahsoftware.net> Message-ID: I don't know, shooting a simple message like openCard right off of its path is profoundly disturbing. That's why I cannot believe it is not a problem with my own program or environment. I will try two brand new stacks and see if I can make them talk to each other; maybe my utility stack is corrupted. If not, I wonder if only openCard is affected; as I said, resumeStack is not. And thanks to Mark, I looked inside the msg scripts. The word opencard does not appear at all, so my tongue in cheek thought that I would simply ?pass it is likely pointless. I'll try anyway. The message box must be as benign as possible. It is a tool that sits apart and watches; interacting when called to do so. It is supposed to help us, not screw us up. In my travail, I am still developing my utility stack. I am using buttons to send simple system commands, since I cannot use msg at all. It has somehow inserted itself into the message path, which is why it inserted that weird text into what it thought was its own field, but actually was sent to a field in my test stack. It has to be intercepting openCard somehow. Thanks to all who are replying, though. It is heartening and encouraging.. Does anyone in Scotland know what that "/REVEXCLUDED02" is for? Craig Newman On Feb 26, 2009, at 9:28:33 PM, "Mark Wieder" wrote: Well, the message box is, and needs to be, a little weird. It has to deal with some system messages in a way that normal stacks don't normally need to think about. For instance, it gets the debug execution context so that it can interact with variables while you're debugging. I wouldn't be too put out of shape about it interfering with what you're trying to do, although you're getting some very interesting symptoms. From jacque at hyperactivesw.com Fri Feb 27 01:28:55 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Feb 2009 00:28:55 -0600 Subject: Crybaby In-Reply-To: References: Message-ID: <49A78827.80404@hyperactivesw.com> dunbarx wrote: > I don't know, shooting a simple message like openCard right off of > its path is profoundly disturbing. In ten years I've never seen anything like that, and it seems like no one else has either. You're original. :) > Does anyone in Scotland know what that "/REVEXCLUDED02" is for? Probably, but they don't read this list routinely. What's going on shouldn't be happening though, so it's worth a bug report if you can create a small, reproducible example. The bug database is at and any Rev user can enter reports there. That's the only way the team will see it. I have noticed a problem with the 3.0 message box lately myself, but it doesn't match your symptoms. What I've been seeing since the last release is the message box losing track of which stack it's supposed to point to. The name of the stack at the top of the message box is dimmed and commands sometimes go to the wrong stack, or go nowhere. Closing and re-opening the message box fixes it. It's a new bug and I'm watching for a reproducible recipe, but it seems to pop up on a whim. There's a message watcher stack in the IDE, if you only want to track messages. That one works correctly and accomodates all the IDE busy-ness that goes on. The IDE is throwing hundreds of messages around behind our backs, you'll be amazed if you turn off all suppression and watch the message list for a while. Oh, and also, it's safer not to start any of your handler names with "rev" either, just like stack names. All the internal Rev messages start with "rev". It almost sounds like your script has a "rev" handler in it somewhere that could make the IDE think your backscript is a rev script. That'd throw a wrench in things if it happens. But a plain old "openstack" shouldn't be a problem. I'd look for other handler names that might conflict. From m.schonewille at economy-x-talk.com Fri Feb 27 04:19:21 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 27 Feb 2009 10:19:21 +0100 Subject: Crybaby In-Reply-To: <49A78827.80404@hyperactivesw.com> References: <49A78827.80404@hyperactivesw.com> Message-ID: Hi Jacuq and Craig, Right, I see that too. The message box doesn't remember what the current stack is and, worse, it doesn't remember when it needs to refer to itself sometimes. This has several weird effects, one of them being . I can very well imagine that Graig's problem has the same cause as bug 7743. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 27 feb 2009, at 07:28, J. Landman Gay wrote: > dunbarx wrote: >> I don't know, shooting a simple message like openCard right off of >> its path is profoundly disturbing. > > In ten years I've never seen anything like that, and it seems like > no one else has either. You're original. :) > >> Does anyone in Scotland know what that "/REVEXCLUDED02" is for? > > Probably, but they don't read this list routinely. What's going on > shouldn't be happening though, so it's worth a bug report if you can > create a small, reproducible example. The bug database is at > and any Rev user can enter reports there. That's the only way the > team will see it. > > I have noticed a problem with the 3.0 message box lately myself, but > it doesn't match your symptoms. What I've been seeing since the last > release is the message box losing track of which stack it's supposed > to point to. The name of the stack at the top of the message box is > dimmed and commands sometimes go to the wrong stack, or go nowhere. > Closing and re-opening the message box fixes it. It's a new bug and > I'm watching for a reproducible recipe, but it seems to pop up on a > whim. > > There's a message watcher stack in the IDE, if you only want to > track messages. That one works correctly and accomodates all the IDE > busy-ness that goes on. The IDE is throwing hundreds of messages > around behind our backs, you'll be amazed if you turn off all > suppression and watch the message list for a while. > > Oh, and also, it's safer not to start any of your handler names with > "rev" either, just like stack names. All the internal Rev messages > start with "rev". It almost sounds like your script has a "rev" > handler in it somewhere that could make the IDE think your > backscript is a rev script. That'd throw a wrench in things if it > happens. But a plain old "openstack" shouldn't be a problem. I'd > look for other handler names that might conflict. From bdrunrev at gmail.com Fri Feb 27 04:32:35 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 27 Feb 2009 09:32:35 +0000 Subject: Crybaby In-Reply-To: <49A78827.80404@hyperactivesw.com> References: <49A78827.80404@hyperactivesw.com> Message-ID: On Fri, Feb 27, 2009 at 6:28 AM, J. Landman Gay wrote: > dunbarx wrote: > >> I don't know, shooting a simple message like openCard right off of >> its path is profoundly disturbing. >> > > In ten years I've never seen anything like that, and it seems like no one > else has either. You're original. :) > > Does anyone in Scotland know what that "/REVEXCLUDED02" is for? >> > > I regret to say that I too must be an original. I have had the /REVEXCLUDED02 message, but I've never tried anything as ambitious as Craig. I'm one of those users whose only used a frontscript or backscript about once a year, and barely even put things "in use". I saw that sometime last year, and searched the forum but saw no-one else had ever noted it, so just gave up on it. Unfortunately I can't know remember the details. > I have noticed a problem with the 3.0 message box lately myself, but it > doesn't match your symptoms. What I've been seeing since the last release is > the message box losing track of which stack it's supposed to point to. The > name of the stack at the top of the message box is dimmed and commands > sometimes go to the wrong stack, or go nowhere. Closing and re-opening the > message box fixes it. It's a new bug and I'm watching for a reproducible > recipe, but it seems to pop up on a whim. > > I've seen this too. I've also had this problem with the message box: http://quality.runrev.com/qacenter/show_bug.cgi?id=7356 Bernard From rmicout at online.fr Fri Feb 27 05:31:01 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 27 Feb 2009 11:31:01 +0100 Subject: Polygon Games In-Reply-To: <414908.69285.qm@web37502.mail.mud.yahoo.com> References: <414908.69285.qm@web37502.mail.mud.yahoo.com> Message-ID: <5C736DE1-62B4-40D2-B6B3-917629C9622E@online.fr> Hello Richmond, Very interesting, thank you ! Bons souvenirs de Paris Ren? Le 25 f?vr. 09 ? 19:33, Richmond Mathewson a ?crit : > Just had an odd idea, and implemented it: > > "POLYGON GAMES.rev" at revOnline under 'Richmond' > > nothing much just now; wondering about integrating it into > my "Button Basher". > > sincerely, Richmond Mathewson. > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development > Life Cycle. > ____________________________________________________________ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From toolbook at kestner.de Fri Feb 27 06:58:19 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 27 Feb 2009 12:58:19 +0100 Subject: OT: How to zip two program bundles in one zip? Message-ID: <444D54D6F9D84EDC9F50656C07B60583@Kestner.local> Hello, I have an update routine, where I put my updates in a zip file, download the zip, unzip it and copy the content files to the different target dirs. This works fine with single files and also with one program bundle. But if I put two program bundles in one zip, the update gets messed up, probably, because the content of the two bundles get mixed up in the zip file and don't keep their structure. That's how I see it so far. Handling program bundles is so complicated for me, coming from windows. Is there any chance to keep two program bundles separate in one zip - without zipping or imaging every single bundle before zipping them together? Are there any Mac-Zip tools, how can do that job? Thanks for any hint Tiemo From klaus at major-k.de Fri Feb 27 07:04:13 2009 From: klaus at major-k.de (Klaus Major) Date: Fri, 27 Feb 2009 13:04:13 +0100 Subject: OT: How to zip two program bundles in one zip? In-Reply-To: <444D54D6F9D84EDC9F50656C07B60583@Kestner.local> References: <444D54D6F9D84EDC9F50656C07B60583@Kestner.local> Message-ID: <48E91573-60B4-4434-9E2A-AF63321E0AE2@major-k.de> Hi Tiemo, > Hello, > > I have an update routine, where I put my updates in a zip file, > download the > zip, unzip it and copy the content files to the different target > dirs. This > works fine with single files and also with one program bundle. But > if I put > two program bundles in one zip, the update gets messed up, probably, > because > the content of the two bundles get mixed up in the zip file and > don't keep > their structure. That's how I see it so far. Handling program > bundles is so > complicated for me, coming from windows. > > Is there any chance to keep two program bundles separate in one zip - > without zipping or imaging every single bundle before zipping them > together? > Are there any Mac-Zip tools, how can do that job? DITTO! :-D I use to copy all my app bundles into an extra folder (maybe in the temporary directory) ZIP that folder, and UNZIP that folder on the target machine again in the temp folder and then copy the app bundles to the correct target folders. ALL done with DITTO :-) > Thanks for any hint > > Tiemo Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From toolbook at kestner.de Fri Feb 27 07:57:46 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 27 Feb 2009 13:57:46 +0100 Subject: AW: OT: How to zip two program bundles in one zip? In-Reply-To: <48E91573-60B4-4434-9E2A-AF63321E0AE2@major-k.de> Message-ID: <32CB9F7A893D4B0EA6D2579571A6B3A3@Kestner.local> I should have known that, Klaus! Thank you, you saved my day! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Klaus Major > Gesendet: Freitag, 27. Februar 2009 13:04 > An: How to use Revolution > Betreff: Re: OT: How to zip two program bundles in one zip? > > Hi Tiemo, > > > Hello, > > > > I have an update routine, where I put my updates in a zip file, > > download the > > zip, unzip it and copy the content files to the different target > > dirs. This > > works fine with single files and also with one program bundle. But > > if I put > > two program bundles in one zip, the update gets messed up, probably, > > because > > the content of the two bundles get mixed up in the zip file and > > don't keep > > their structure. That's how I see it so far. Handling program > > bundles is so > > complicated for me, coming from windows. > > > > Is there any chance to keep two program bundles separate in one zip - > > without zipping or imaging every single bundle before zipping them > > together? > > Are there any Mac-Zip tools, how can do that job? > > DITTO! :-D > > I use to copy all my app bundles into an extra folder (maybe in the > temporary directory) > ZIP that folder, and UNZIP that folder on the target machine again in > the temp folder > and then copy the app bundles to the correct target folders. > > ALL done with DITTO :-) > > > Thanks for any hint > > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Fri Feb 27 07:58:37 2009 From: klaus at major-k.de (Klaus Major) Date: Fri, 27 Feb 2009 13:58:37 +0100 Subject: AW: OT: How to zip two program bundles in one zip? In-Reply-To: <32CB9F7A893D4B0EA6D2579571A6B3A3@Kestner.local> References: <32CB9F7A893D4B0EA6D2579571A6B3A3@Kestner.local> Message-ID: <8486A38A-42EE-420D-8723-FCB1867B0001@major-k.de> Hi Tiemo, > I should have known that, Klaus! EXACTLY! :-D > Thank you, you saved my day! You're welcome! > Tiemo Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From DunbarX at aol.com Fri Feb 27 10:07:36 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 27 Feb 2009 10:07:36 EST Subject: Crybaby Interesting News Message-ID: OK, 1- Create a new mainstack of two cards. Name it "A". 2- Create another new mainstack. Name it "B". Write an openstack handler in "B" that puts the stack script into "back", and an opencard handler that simply beeps. 3- Go to stack "A" and move from card to card. I get beeps from stack "B". 4- Open the msg box. All beeping stops. I tried similar messages, like "closeCard". No beeps. BUT... I added a button to stack "A", and added mouse-like handlers in stack "B", say, "mouseEnter", and they all work; glorious beeps. Msg is trapping navigational messages, but not mouse messages (or others?). Harrumph. It might be important to this group, so what I ask is, can some kind soul try this? I need to know if it is just me. If not, I am proud to report what I consider a major, mind numbing bug, and call for an immediate upgrade to Rev 4. If so, and I still suspect this, I need sympathy. I must remember to be careful of what I wish for; I wanted to get to the marrow of Rev, just like I have with HC. I forgot this might involve work and frustration... Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From pmbrig at gmail.com Fri Feb 27 10:12:02 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 27 Feb 2009 10:12:02 -0500 Subject: Gutenberg Reader Message-ID: <362D7D7C-9E0F-4E9C-AEDF-73DFB6CD351A@gmail.com> > Where do we get it, Peter? > > Joe Wilkins > > On Feb 26, 2009, at 2:35 PM, Peter Brigham MD wrote: > >> OK, did this. Would appreciate it if those for whom the application >> didn't open would try the current version now. >> >> Peter M. Brigham >> pmbrig at gmail.com The stack is available under my userspace in RevOnline: username pmbrig The app is available at: http://home.comcast.net/~pmbrig/Gutenberg.html Peter M. Brigham pmbrig at gmail.com From pmbrig at gmail.com Fri Feb 27 10:34:28 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 27 Feb 2009 10:34:28 -0500 Subject: Gutenberg Reader Message-ID: On Fri, 27 Feb 2009 09:15:1, Sarah Reichelt wrote: >> Anyone have ideas on why the standalone builder won't build a Mac >> standalone >> for me that works on all CPUs/OSX versions? Or what a workaround >> might look >> like? I don't want to try to distribute a standalone widely under >> these >> conditions, so this is a deal-breaker for me if I can't solve it. > > I downloaded the Mac app and had the same problem as everyone else - > it bounces in the Dock once and then goes away. Checking the Console > log, I see: > > 27/02/2009 9:01:53 AM com.apple.launchd[143] > ([0x0-0x302302].com..Gutenberg Reader[8747]) > posix_spawnp("/Users/sarah/Desktop/Gutenberg > Reader.app/Contents/MacOS/Gutenberg Reader", ...): Permission denied > 27/02/2009 9:01:53 AM com.apple.launchd[143] > ([0x0-0x302302].com..Gutenberg Reader[8747]) Exited with exit code: 1 > > So it is a permissions error. Mac apps are really folders, they just > don't look like it, but as such, they don't like being distributed in > their standard format. You have used zip, which usually works but in > this case, it seems to be having problems. Are you creating the zip > file on a Mac or on another system? If you have access to a Mac, I > suggest you try creating a disk image (.dmg) instead as that is the > more usual method for Mac distribution. Disk Utility can make a basic > image and Drop DMG allows more options. > > I re-compiled the stack I downloaded from Rev Online and the > standalone works fine. If you like, I can send it to you in a disk > image. > > Regards, > Sarah Aha! Done. The Mac version of the app is now in .dmg form at: http://home.comcast.net/~pmbrig/Gutenberg.html Hope this solves the problems people have been having. Let me know! And many thanks to all those who have been helping me test this out. Much appreciated! This list is invaluable. Peter M. Brigham pmbrig at gmail.com From jim at visitrieve.com Fri Feb 27 11:05:30 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 27 Feb 2009 06:05:30 -1000 Subject: Main stack and substack order in the message path Message-ID: <018f01c998f5$36e422a0$a4ac67e0$@com> Hi All, I wonder if someone can explain this to me and the way around it. Let's say you have main stack A with a substack that is a lib called ABC and you start using ABC on launch. You then launch a completely different main stack called X with an identical substack lib called XYZ and then start using XYZ on launch of main stack X. >From a card of stack A you execute a command or function that is in both libs. It executes out of XYZ instead of ABC! The obverse can also be true. Wouldn't it be logical that the substack of the main stack of the card would be searched in the message path before the substack of another completely different main stack? Is this a bug? Is it a known issue? And, anyone have a work around? By this I mean, a way to insure that a main stack always uses its own substack before the substack of a completely different main stack. This is assuming, of course, you have no control over the launch order and I don't want change a gazillion statements to calls. ;-) Jim Bufalini From pepetoo at cox.net Fri Feb 27 11:35:30 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 27 Feb 2009 08:35:30 -0800 Subject: Gutenberg Reader In-Reply-To: <362D7D7C-9E0F-4E9C-AEDF-73DFB6CD351A@gmail.com> References: <362D7D7C-9E0F-4E9C-AEDF-73DFB6CD351A@gmail.com> Message-ID: <79F8112C-7A28-4200-8DB2-F2835EEDA9BC@cox.net> Thanks, Peter. This is a marvelous resource. Now to read them all! (huge smile) I just wish everything were much larger. I'll see what I can do with the stack one day. Joe Wilkins OSX Leopard, MacPro On Feb 27, 2009, at 7:12 AM, Peter Brigham MD wrote: > The stack is available under my userspace in RevOnline: > username pmbrig > > The app is available at: > http://home.comcast.net/~pmbrig/Gutenberg.html > > Peter M. Brigham > pmbrig at gmail.com From Andre.Bisseret at inria.fr Fri Feb 27 11:44:08 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Fri, 27 Feb 2009 17:44:08 +0100 Subject: Crybaby Interesting News In-Reply-To: References: Message-ID: <8DAE61E2-F029-4F43-8C3C-8B170FBFCE3E@inria.fr> Le 27 f?vr. 09 ? 16:07, DunbarX at aol.com a ?crit : > OK, > > 1- Create a new mainstack of two cards. Name it "A". > 2- Create another new mainstack. Name it "B". Write an openstack > handler in > "B" that puts the stack script into "back", and an opencard handler > that simply > beeps. > 3- Go to stack "A" and move from card to card. I get beeps from > stack "B". > 4- Open the msg box. All beeping stops. > > I tried similar messages, like "closeCard". No beeps. I just created the 2 stacks that you are suggesting : In the script of stack B, I have the 2 following handlers : ON openstack insert the script of this stack into back END openstack ON openCard beep 2 END openCard And I confirm that I get the same behavior : with msg box closed I get beeps from stack B when moving from card to card in stack A. No beep when msg box is opened. More, after some moves from card to card in A, I get an Errors window that is empty and freezes (can't "ignore" or get the script) And sometimes, I am trapped in an infinite loop with this window that can be stopped with "cmd period " Best regards from Grenoble Andr? > > BUT... > > I added a button to stack "A", and added mouse-like handlers in > stack "B", > say, "mouseEnter", and they all work; glorious beeps. Msg is trapping > navigational messages, but not mouse messages (or others?). Harrumph. > > It might be important to this group, so what I ask is, can some kind > soul try > this? I need to know if it is just me. > > If not, I am proud to report what I consider a major, mind numbing > bug, and > call for an immediate upgrade to Rev 4. > > If so, and I still suspect this, I need sympathy. I must remember to > be > careful of what I wish for; I wanted to get to the marrow of Rev, > just like I have > with HC. I forgot this might involve work and frustration... > > Craig Newman > > > ************** > A Good Credit Score is 700 or Above. See yours in > just 2 easy steps! > (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668 > 072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Feb 27 11:45:22 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 27 Feb 2009 08:45:22 -0800 Subject: Main stack and substack order in the message path In-Reply-To: <018f01c998f5$36e422a0$a4ac67e0$@com> References: <018f01c998f5$36e422a0$a4ac67e0$@com> Message-ID: <1371208446531.20090227084522@ahsoftware.net> Jim- Friday, February 27, 2009, 8:05:30 AM, you wrote: > Wouldn't it be logical that the substack of the main stack of the card would > be searched in the message path before the substack of another completely In some alternate universe perhaps. But substacks are not automatically placed into the message hierarchy, and changing this would completely disrupt the operation of most stacks. And, as you've discovered, the order in which stacks are used as libraries can make a difference. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Fri Feb 27 11:49:11 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 27 Feb 2009 08:49:11 -0800 Subject: Main stack and substack order in the message path In-Reply-To: <018f01c998f5$36e422a0$a4ac67e0$@com> Message-ID: Recently, Jim Bufalini wrote: > Let's say you have main stack A with a substack that is a lib called ABC and > you start using ABC on launch. You then launch a completely different main > stack called X with an identical substack lib called XYZ and then start > using XYZ on launch of main stack X. > >> From a card of stack A you execute a command or function that is in both > libs. It executes out of XYZ instead of ABC! The obverse can also be true. > > Wouldn't it be logical that the substack of the main stack of the card would > be searched in the message path before the substack of another completely > different main stack? Is this a bug? Is it a known issue? And, anyone have a > work around? By this I mean, a way to insure that a main stack always uses > its own substack before the substack of a completely different main stack. > This is assuming, of course, you have no control over the launch order and I > don't want change a gazillion statements to calls. ;-) I could be wrong but I believe that the order of library stack to be used is determined by the order opened: the scripts of the most recent stack opened would be used before any others. I know this is true of frontscripts. The workaround might be to have stack A call "start using stack ABC" (and the same with the other stack) to make sure the substack is used first when necessary. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From ambassador at fourthworld.com Fri Feb 27 11:55:36 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 27 Feb 2009 08:55:36 -0800 Subject: Crybaby Interesting News Message-ID: <49A81B08.9040900@fourthworld.com> Craig wrote: > OK, > > 1- Create a new mainstack of two cards. Name it "A". > 2- Create another new mainstack. Name it "B". Write an openstack handler in > "B" that puts the stack script into "back", and an opencard handler that simply > beeps. > 3- Go to stack "A" and move from card to card. I get beeps from stack "B". > 4- Open the msg box. All beeping stops. When I do this I get beeps when navigating in B, regardless whether the Message Box is open or not. That is, unless the Message Box has focus, in which case the arrowKeys navigate the MB's history, as is normal. Once I click in stack B to bring focus back there the beeps return as expected. What plugins do you have installed? One thing to keep in mind about backscripts is that they're great for handing messages where you want that behavior to be overridable by objects closer to the front of the message path. If you want to trap messages regardless of whether they're also handled by the control, card, or stack, use a frontScript (and always pass messages trapped in a frontScript or else none of the downstream scripts will get that message). For more info on frontScript, backScripts, and libraries this article may be helpful: Extending the Runtime Revolution Message Path: An introduction to using Libraries, FrontScripts, and BackScripts in Runtime Revolution's Transcript Programming Language -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From jim at visitrieve.com Fri Feb 27 12:03:41 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 27 Feb 2009 07:03:41 -1000 Subject: Main stack and substack order in the message path In-Reply-To: <1371208446531.20090227084522@ahsoftware.net> References: <018f01c998f5$36e422a0$a4ac67e0$@com> <1371208446531.20090227084522@ahsoftware.net> Message-ID: <019001c998fd$576d2b90$064782b0$@com> Hi Mark, > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Mark Wieder > Sent: Friday, February 27, 2009 6:45 AM > To: How to use Revolution > Subject: Re: Main stack and substack order in the message path > > Jim- > > Friday, February 27, 2009, 8:05:30 AM, you wrote: > > > Wouldn't it be logical that the substack of the main stack of the > card would > > be searched in the message path before the substack of another > completely > > In some alternate universe perhaps. But substacks are not > automatically placed into the message hierarchy, and changing this > would completely disrupt the operation of most stacks. And, as you've > discovered, the order in which stacks are used as libraries can make a > difference. I didn't say automatically. Each lib is placed by a start using statement in the preOpenStack script of the main stack. But, I'm beginning to see the issue... Jim Bufalini From mwieder at ahsoftware.net Fri Feb 27 12:13:00 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 27 Feb 2009 09:13:00 -0800 Subject: Main stack and substack order in the message path In-Reply-To: <019001c998fd$576d2b90$064782b0$@com> References: <018f01c998f5$36e422a0$a4ac67e0$@com> <1371208446531.20090227084522@ahsoftware.net> <019001c998fd$576d2b90$064782b0$@com> Message-ID: <1231210104203.20090227091300@ahsoftware.net> Jim- Friday, February 27, 2009, 9:03:41 AM, you wrote: > I didn't say automatically. Each lib is placed by a start using statement in Silly me. I assumed you meant that substacks would be used automatically. On rereading I see it differently. -- -Mark Wieder mwieder at ahsoftware.net From DunbarX at aol.com Fri Feb 27 12:23:03 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 27 Feb 2009 12:23:03 EST Subject: Crybaby Interesting News Message-ID: AHA! Well, it isn't me, which is rare. I also have gotten that insane loop and freeze stuff, but it stopped when I commented out the "/REVEXCLUDE02" line in the msg stack script. Anyone but me think this is a cancer growing on the Revidency? Craig Newman In a message dated 2/27/09 11:44:31 AM, Andre.Bisseret at inria.fr writes: > And I confirm that I get the same behavior : with msg box closed I get? > beeps from stack B when moving? from card to card in stack A. > No beep when msg box is opened. > More, after some moves from card to card in A, I get an Errors window? > that is empty and freezes (can't "ignore" or get the script) > And sometimes, I am? trapped in an infinite loop with this window that? > can be stopped with "cmd period " > > ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From mwieder at ahsoftware.net Fri Feb 27 12:27:05 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 27 Feb 2009 09:27:05 -0800 Subject: Crybaby Interesting News In-Reply-To: References: Message-ID: <831210949796.20090227092705@ahsoftware.net> DunbarX- Friday, February 27, 2009, 7:07:36 AM, you wrote: > 2- Create another new mainstack. Name it "B". Write an openstack handler in > "B" that puts the stack script into "back", and an opencard handler that simply > beeps. I'm a wee bit confused about this part. Why would you want an openStack handler in a backscript that puts the stack script into the back? When you open the message box do you see its stack script in the list of backscripts? -- -Mark Wieder mwieder at ahsoftware.net From jim at visitrieve.com Fri Feb 27 12:59:31 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 27 Feb 2009 07:59:31 -1000 Subject: Main stack and substack order in the message path In-Reply-To: References: <018f01c998f5$36e422a0$a4ac67e0$@com> Message-ID: <019401c99905$24952490$6dbf6db0$@com> Hi Scott, > The workaround might be to have stack A call "start using stack ABC" > (and > the same with the other stack) to make sure the substack is used first > when > necessary. This is done and it is actually the problem. I actually discovered this in two ways working on an update for ListMagic. When you first install a ListMagic widget into your project, ListMagic clones its lib, renames it, and places the renamed lib stack as a substack of the main stack of your project and adds a start using statement to your project's main stack's preOpenStack. When a new version of ListMagic comes out, and you add a new widget, or modify an existing widget in a project, ListMagic checks, and if it sees that it is a newer version than the one you have in your project, it asks for permission to update the lib in your project and all widgets. But, if you don't do either and just have your project and ListMagic running at the same time in the IDE, then it is possible to have two different version libs running at the same time and there is no way to control if a user has launched their project first or ListMagic. Or, for that matter, two of their own projects, where one has been updated to the latest lib and one has not. Which one did they launch first? This now explains to me how people can be reporting an issue that has been fixed. I ask them are you sure you are running the latest version? And they say "Yes!" Hmmm... The other way I discovered it is that right now, when you delete a ListMagic widget from a card by simply selecting either the list or header with the browse tool and hitting the delete key, ListMagic automatically removes everything to do with the widget you are deleting from the card. If it is the last widget in all cards of the stack, ListMagic completely removes ListMagic from your stack except for deleting the ListMagic substack lib itself. Because people were doing this manually and forgetting to remove the "start using" statement from the preOpenStack of their project's main stack, I decided to add this delete of the ListMagic lib and "start using" statement to the automated delete process and used a "Delete me". I was surprised to find this executing out of the ListMagic lib and not the test project lib where I had hit the delete key and was doing the delete. :-( Jim Bufalini From DunbarX at aol.com Fri Feb 27 13:16:45 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 27 Feb 2009 13:16:45 EST Subject: Crybaby Interesting News Message-ID: Richard: Do you mean navigating in "A"? The receiving stack is "B". I have no plug-ins at all. I am a newbie. Have you seen that at least one other person sees this behavior? Craig Newman In a message dated 2/27/09 11:56:07 AM, ambassador at fourthworld.com writes: > When I do this I get beeps when navigating in B, regardless whether the > Message Box is open or not.? That is, unless the Message Box has focus, > in which case the arrowKeys navigate the MB's history, as is normal. > Once I click in stack B to bring focus back there the beeps return as > expected. > > What plugins do you have installed? > > ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From scott at tactilemedia.com Fri Feb 27 13:21:23 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 27 Feb 2009 10:21:23 -0800 Subject: Main stack and substack order in the message path In-Reply-To: <019401c99905$24952490$6dbf6db0$@com> Message-ID: Recently, Jim Bufalini wrote: >> The workaround might be to have stack A call "start using stack ABC" >> (and >> the same with the other stack) to make sure the substack is used first >> when >> necessary. > > This is done and it is actually the problem. > > I actually discovered this in two ways working on an update for ListMagic. > When you first install a ListMagic widget into your project, ListMagic > clones its lib, renames it, and places the renamed lib stack as a substack > of the main stack of your project and adds a start using statement to your > project's main stack's preOpenStack. > > When a new version of ListMagic comes out, and you add a new widget, or > modify an existing widget in a project, ListMagic checks, and if it sees > that it is a newer version than the one you have in your project, it asks > for permission to update the lib in your project and all widgets. > > But, if you don't do either and just have your project and ListMagic running > at the same time in the IDE, then it is possible to have two different > version libs running at the same time and there is no way to control if a > user has launched their project first or ListMagic. > > Or, for that matter, two of their own projects, where one has been updated > to the latest lib and one has not. Which one did they launch first? Perhaps I didn't explain the above well enough, or maybe I'm not interpreting your situation accurately, but what I meant was, you call "start using stack ABC" *EVERY TIME* you need to reference the library of a specific stack, not just at startup. This (should) ensure that the library you need is the first one to be accessed. I do this with certain frontscripts that I need to be "really" in front at all times. If you're doing this already, then I don't have any alternate suggestions other than to reconsider your update strategy. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From DunbarX at aol.com Fri Feb 27 13:29:13 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 27 Feb 2009 13:29:13 EST Subject: Crybaby Interesting News Message-ID: In a message dated 2/27/09 12:28:03 PM, mwieder at ahsoftware.net writes: > I'm a wee bit confused about this part. Why would you want an > openStack handler in a backscript that puts the stack script into the > back? > I want the utility stack to insinuate itself into the message heirarchy whenever I open it. In HC, I place it in use on openstack, so it receives messages from all stacks. In Rev, I see there are more options, and I have not learned enough to know which might be best, or whether one of several might do. But my issue here is simple, clean message passing in the way I always (HC) understood it. I want a stack that receives all messages from all stacks. Fortunately, I have it; my stack works fine. I just cannot have the msg box open at the same time. I am not experienced enough to find how this might be best implemented in Rev, (Stackinuse, backscripts, etc.) I just want what I consider basic functionality, and I want to feel that my HC expertise is valid here, at least in principle. I think I have found a bug. I am surprised, actually, that others are not more alarmed. Craig Newman ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From bobs at twft.com Fri Feb 27 13:33:54 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 27 Feb 2009 10:33:54 -0800 Subject: Main stack and substack order in the message path In-Reply-To: <018f01c998f5$36e422a0$a4ac67e0$@com> References: <018f01c998f5$36e422a0$a4ac67e0$@com> Message-ID: <2E74A55B-6CB6-4567-A3C2-BD3FEBA76A7E@twft.com> It looks like Start Using inserts the script of the stack into the front of the message path, meaning it will receive all messages first. You can just see why that would be a good idea! You want the stack you last opened to be the one that gets the messages. You can alternatively use the Insert Script command and insert the script in the back. That will ensure that the last thing opened will get the message last. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 27, 2009, at 8:05 AM, Jim Bufalini wrote: > Hi All, > > I wonder if someone can explain this to me and the way around it. > > Let's say you have main stack A with a substack that is a lib called > ABC and > you start using ABC on launch. You then launch a completely > different main > stack called X with an identical substack lib called XYZ and then > start > using XYZ on launch of main stack X. > >> From a card of stack A you execute a command or function that is in >> both > libs. It executes out of XYZ instead of ABC! The obverse can also be > true. > > Wouldn't it be logical that the substack of the main stack of the > card would > be searched in the message path before the substack of another > completely > different main stack? Is this a bug? Is it a known issue? And, > anyone have a > work around? By this I mean, a way to insure that a main stack > always uses > its own substack before the substack of a completely different main > stack. > This is assuming, of course, you have no control over the launch > order and I > don't want change a gazillion statements to calls. ;-) > > Jim Bufalini > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Feb 27 13:39:12 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Feb 2009 12:39:12 -0600 Subject: Crybaby In-Reply-To: References: <49A78827.80404@hyperactivesw.com> Message-ID: <49A83350.4090803@hyperactivesw.com> Bernard Devlin wrote: > I regret to say that I too must be an original. Well you can't both be original. I take it back. :) > I have had the > /REVEXCLUDED02 message, but I've never tried anything as ambitious as Craig. > I'm one of those users whose only used a frontscript or backscript about > once a year, and barely even put things "in use". I saw that sometime last > year, and searched the forum but saw no-one else had ever noted it, so just > gave up on it. Unfortunately I can't know remember the details. Since I've never seen it myself I can only guess, but this sure looks like an internal debugging message. And the behavior that Craig described about how his stack resized slightly seems to indicate that Rev thinks the user stack is the message box for some reason -- because the message box does resize depending on which pane is open. And we've all had some trouble with the 3.0 message box -- only now you say that it happened a year ago to you (version 2.9?) so that's not it either. I'm wondering if you or Craig had gRevDevelopment set to true when the trouble occured. That global is undocumented since it isn't really something most people should set. It's a global toggle for when the team is working on the IDE stacks, and setting it to true during normal development is bound to have bizarre consequences. I'm inclined to think that users should need a license to know about it. :) But since someone else has reproduced the problem, that global doesn't sound like the culprit either. I'm at a loss. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From len-morgan at crcom.net Fri Feb 27 13:45:50 2009 From: len-morgan at crcom.net (len-morgan at crcom.net) Date: Fri, 27 Feb 2009 12:45:50 -0600 (CST) Subject: Single File Details Message-ID: <29679.64.40.211.158.1235760350.squirrel@auth2.crcom.net> I can't seem to find a command for this: I want to get a list of files to be converted (they happen to be wav files but it doesn't really matter). As I go through each file in the list, I want to be able to update a progress bar that indicates how far through the list I am and another one that indicates how far through the current file I am. The first requirement was easy and is working. I need to be able to find out the file size so I can calculate the current progress in that one file. I know I can use "the detailed files" to get all of the info on all of the files in the default directory but is there something that will allow me to get just the information on a single file? I am currently using "answer file" to get the list of files (returns one per line) so I COULD get the detailed files from that since they will only be allowed to select files from a single directory at a time (that IS true isn't it?). Any ideas would be appreciated. While I'm here.... :-) , has anyone written scripts that will read through and process a wav file and would be willing to share what they've learned? Might save me some time. If not, I'll contribute what I end up with when I'm done. len morgan From jacque at hyperactivesw.com Fri Feb 27 13:58:26 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Feb 2009 12:58:26 -0600 Subject: Crybaby Interesting News In-Reply-To: References: Message-ID: <49A837D2.3000904@hyperactivesw.com> DunbarX at aol.com wrote: > I want the utility stack to insinuate itself into the message heirarchy > whenever I open it. In HC, I place it in use on openstack, so it receives messages > from all stacks. In Rev, I see there are more options, and I have not learned > enough to know which might be best, or whether one of several might do. > > But my issue here is simple, clean message passing in the way I always (HC) > understood it. I want a stack that receives all messages from all stacks. > Fortunately, I have it; my stack works fine. I just cannot have the msg box open at > the same time. > > I am not experienced enough to find how this might be best implemented in > Rev, (Stackinuse, backscripts, etc.) I just want what I consider basic > functionality, and I want to feel that my HC expertise is valid here, at least in > principle. I think I have found a bug. I am surprised, actually, that others are > not more alarmed. Light bulb just went on...maybe. You may have set up a bad loop. Presumably the openstack handler that puts your stack in use is in the stack script? If so, when it goes into use, it is going to catch every openstack, including the IDE stacks, and put *those* in use too. After that, who knows what mess will happen. You'll have duelling openstack handlers occuring in random orders. If that's not what's happening, then skip the rest of this. But if it is, the short answer is to put your openstack handler, the one that puts the stack in use, in the script of the first card of your wizard stack. It will receive the openstack message only once when it actually opens. When its stack script is put into use, the card script is not in the hierarchy and won't mess with the stacksInUse. A better approach may be to forget about stacksInUse and put your utility handlers into a button instead. When the wizard opens, insert the script of the button into back. This gives you more control over which messages get caught -- only the handers in that button script will be active and you don't have to worry about the repercussion of stack hierarchy and system messages. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jim at visitrieve.com Fri Feb 27 14:12:00 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 27 Feb 2009 09:12:00 -1000 Subject: Main stack and substack order in the message path In-Reply-To: References: <019401c99905$24952490$6dbf6db0$@com> Message-ID: <019501c9990f$44b21350$ce1639f0$@com> Thanks Mark, Scott, and Bob Scott, that's the trick. A combination of StacksInUse and reissuing a *start using* revises the order. So, if the correct stack is not first in StackInUse, then a start using will put it there. Thanks everyone! Aloha from Hawaii Jim Bufalni > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Scott Rossi > Sent: Friday, February 27, 2009 8:21 AM > To: Revolution Mail List > Subject: Re: Main stack and substack order in the message path > > Recently, Jim Bufalini wrote: > > >> The workaround might be to have stack A call "start using stack ABC" > >> (and > >> the same with the other stack) to make sure the substack is used > first > >> when > >> necessary. > > > > This is done and it is actually the problem. > > > > I actually discovered this in two ways working on an update for > ListMagic. > > When you first install a ListMagic widget into your project, > ListMagic > > clones its lib, renames it, and places the renamed lib stack as a > substack > > of the main stack of your project and adds a start using statement to > your > > project's main stack's preOpenStack. > > > > When a new version of ListMagic comes out, and you add a new widget, > or > > modify an existing widget in a project, ListMagic checks, and if it > sees > > that it is a newer version than the one you have in your project, it > asks > > for permission to update the lib in your project and all widgets. > > > > But, if you don't do either and just have your project and ListMagic > running > > at the same time in the IDE, then it is possible to have two > different > > version libs running at the same time and there is no way to control > if a > > user has launched their project first or ListMagic. > > > > Or, for that matter, two of their own projects, where one has been > updated > > to the latest lib and one has not. Which one did they launch first? > > Perhaps I didn't explain the above well enough, or maybe I'm not > interpreting your situation accurately, but what I meant was, you call > "start using stack ABC" *EVERY TIME* you need to reference the library > of a > specific stack, not just at startup. This (should) ensure that the > library > you need is the first one to be accessed. I do this with certain > frontscripts that I need to be "really" in front at all times. If > you're > doing this already, then I don't have any alternate suggestions other > than > to reconsider your update strategy. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Fri Feb 27 14:12:53 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 27 Feb 2009 20:12:53 +0100 Subject: Single File Details In-Reply-To: <29679.64.40.211.158.1235760350.squirrel@auth2.crcom.net> References: <29679.64.40.211.158.1235760350.squirrel@auth2.crcom.net> Message-ID: <3B01C67D-0F03-4044-9872-302F56EF458D@economy-x-talk.com> Hi Len, Use the lineoffset function to find the URL-encoded file name in the detailed files. When you know which line you need, you can take the file size and resource fork size to calculate the total file size. What exactly are you doing with the WAV files? If you use a command line utility to convert them, you will probably be unable to report any progress during the conversion of one file. Can you give more details? 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 27-feb-2009, om 19:45 heeft len-morgan at crcom.net het volgende geschreven: > I can't seem to find a command for this: > > I want to get a list of files to be converted (they happen to be > wav files > but it doesn't really matter). As I go through each file in the > list, I > want to be able to update a progress bar that indicates how far > through > the list I am and another one that indicates how far through the > current > file I am. > > The first requirement was easy and is working. I need to be able > to find > out the file size so I can calculate the current progress in that one > file. I know I can use "the detailed files" to get all of the info > on all > of the files in the default directory but is there something that will > allow me to get just the information on a single file? > > I am currently using "answer file" to get the list of files > (returns one > per line) so I COULD get the detailed files from that since they > will only > be allowed to select files from a single directory at a time (that > IS true > isn't it?). > > Any ideas would be appreciated. > > While I'm here.... :-) , has anyone written scripts that will read > through > and process a wav file and would be willing to share what they've > learned? > Might save me some time. If not, I'll contribute what I end up > with when > I'm done. > > len morgan > From DunbarX at aol.com Fri Feb 27 14:36:40 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 27 Feb 2009 14:36:40 EST Subject: Crybaby Grows up Message-ID: So I was looking at the actual openstack handler, which was: "insert the script of this stack into back" (also was "start using this stack") And thought I would change it to: "insert the script of stack myStack into back" Fixed. Done. And it all makes sense. I am relieved that it was me and not Rev. One MINUTE later Jackie writes with basically the same idea. In HC, my gadget is an external window, actually a more complex object to manage, but one that never could have this sort of issue. The very ordinariness of having a regular stack do the job opened the possibility of the trap I fell into. Thanks to all. I got my hands dirty, which is what I really need. Can't wait to uncomment that stupid "/REVEXCLUDE02" line. Is there anything to discuss about why putting the msg stack script into "back" is not a good idea? Craig Newman In a message dated 2/27/09 1:58:52 PM, jacque at hyperactivesw.com writes: > > Light bulb just went on...maybe. You may have set up a bad loop. > ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From bobs at twft.com Fri Feb 27 14:42:55 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 27 Feb 2009 11:42:55 -0800 Subject: Main stack and substack order in the message path In-Reply-To: <019501c9990f$44b21350$ce1639f0$@com> References: <019401c99905$24952490$6dbf6db0$@com> <019501c9990f$44b21350$ce1639f0$@com> Message-ID: Hawaii you say! My Dad lives on Oahu, in Kailua. :-) Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 27, 2009, at 11:12 AM, Jim Bufalini wrote: > Thanks Mark, Scott, and Bob > > Scott, that's the trick. A combination of StacksInUse and reissuing > a *start > using* revises the order. So, if the correct stack is not first in > StackInUse, then a start using will put it there. > > Thanks everyone! > > Aloha from Hawaii > Jim Bufalni > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Scott Rossi >> Sent: Friday, February 27, 2009 8:21 AM >> To: Revolution Mail List >> Subject: Re: Main stack and substack order in the message path >> >> Recently, Jim Bufalini wrote: >> >>>> The workaround might be to have stack A call "start using stack >>>> ABC" >>>> (and >>>> the same with the other stack) to make sure the substack is used >> first >>>> when >>>> necessary. >>> >>> This is done and it is actually the problem. >>> >>> I actually discovered this in two ways working on an update for >> ListMagic. >>> When you first install a ListMagic widget into your project, >> ListMagic >>> clones its lib, renames it, and places the renamed lib stack as a >> substack >>> of the main stack of your project and adds a start using statement >>> to >> your >>> project's main stack's preOpenStack. >>> >>> When a new version of ListMagic comes out, and you add a new widget, >> or >>> modify an existing widget in a project, ListMagic checks, and if it >> sees >>> that it is a newer version than the one you have in your project, it >> asks >>> for permission to update the lib in your project and all widgets. >>> >>> But, if you don't do either and just have your project and ListMagic >> running >>> at the same time in the IDE, then it is possible to have two >> different >>> version libs running at the same time and there is no way to control >> if a >>> user has launched their project first or ListMagic. >>> >>> Or, for that matter, two of their own projects, where one has been >> updated >>> to the latest lib and one has not. Which one did they launch first? >> >> Perhaps I didn't explain the above well enough, or maybe I'm not >> interpreting your situation accurately, but what I meant was, you >> call >> "start using stack ABC" *EVERY TIME* you need to reference the >> library >> of a >> specific stack, not just at startup. This (should) ensure that the >> library >> you need is the first one to be accessed. I do this with certain >> frontscripts that I need to be "really" in front at all times. If >> you're >> doing this already, then I don't have any alternate suggestions other >> than >> to reconsider your update strategy. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & Design >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Fri Feb 27 14:46:27 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 27 Feb 2009 20:46:27 +0100 Subject: Crybaby Grows up In-Reply-To: References: Message-ID: Hi Craig, I'm glad you got it fixed. Lots of front scripts in the IDE send messages to the message box. If you put the message box both (almost) at the bottom and at the to of the message hierarchy, you get a big mess. Usually, I don't insert stack scripts into front or back. For this purpose, I use buttons or substacks that are not part of my user interface. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum Please visit and click on "Stem" --Thank you! On 27 feb 2009, at 20:36, DunbarX at aol.com wrote: > So I was looking at the actual openstack handler, which was: > > "insert the script of this stack into back" (also was "start using > this > stack") > > And thought I would change it to: > > "insert the script of stack myStack into back" > > Fixed. Done. And it all makes sense. I am relieved that it was me > and not > Rev. > > One MINUTE later Jackie writes with basically the same idea. > > In HC, my gadget is an external window, actually a more complex > object to > manage, but one that never could have this sort of issue. The very > ordinariness > of having a regular stack do the job opened the possibility of the > trap I fell > into. > > Thanks to all. I got my hands dirty, which is what I really need. > Can't > wait to uncomment that stupid "/REVEXCLUDE02" line. > > Is there anything to discuss about why putting the msg stack script > into > "back" is not a good idea? > > Craig Newman > From bobs at twft.com Fri Feb 27 14:53:24 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 27 Feb 2009 11:53:24 -0800 Subject: Crybaby Grows up In-Reply-To: References: Message-ID: Just depends on what your scripts do. If your utility scripts are trying to intercept normal handlers and execute BEFORE the messages get to anything else, you would want them in front. If your scripts want to execute AFTER everything else may have possible gotten the messages, you would want it in back. I think the general idea was, that if you opened a substack, you would want that stack's handlers to execute first, since you might be doing something special in that stack. Also, if a common message like openstack was intercepted, and then NOT PASSED, and your library was in the back, it would never get the openstack message. Some think it's a good idea to always pass the message on unless you specifically want to stop the message when you intercept it. I subscribe to that notion myself. I think I learned that at the Monterey conference from either Trvor or Jerry. So I always include a pass statement at the end of my handlers unless otherwise intended. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Feb 27, 2009, at 11:36 AM, DunbarX at aol.com wrote: > Is there anything to discuss about why putting the msg stack script > into > "back" is not a good idea? > > Craig Newman From scott at tactilemedia.com Fri Feb 27 15:29:21 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 27 Feb 2009 12:29:21 -0800 Subject: Vector window shapes and the great mystery of ink effects In-Reply-To: Message-ID: Recently, Ken Ray wrote: >> go url "http://www.tactilemedia.com/site_files/downloads/transtack.rev" > > Very nice, Scott! Do you see any way of being able to have non-blended > controls on top a blended stack? Sure, there's one way I can think of, but it's a bit of a pain, and to do it dynamically would be make resizability even *less* practical. You can place all the card controls, along with a graphic (which acts as the "transparency level" for the stack) in a group, and create the mask image for the stack from the export of the group. See here for an example: go url "http://www.tactilemedia.com/site_files/downloads/transtack2.rev" This should work on Mac and Windows, but each platform has its idiosyncrasies. Notice that the tab group on Mac is off because this is inherently a translucent control, and the sliders are off on both platforms because they have an irregular shape that needs to move, so all of these controls won't blend right with the background unless special care is taken to support their appearance. This technique is a fairly heinous way to create what you're asking -- it should really be done at the engine level -- but if you're stack runs at a fixed size, or it can "jump" resize to fixed dimensions, it's relatively possible to build and maintain. Doing so just requires some fortitude to make sure the card controls are always included properly in the mask image. BTW, there are 2 issues the Rev guys need to address here (besides including the above ability in the engine). First there's a weird intermittent bug that allows the user to click *through* a stack with a windowshape applied. Also, there's that irritating shadow bug on OS X I mentioned earlier that really needs to be addressed to facilitate building this kind of stuff. Just so you know. :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From lists at futilism.com Fri Feb 27 15:52:57 2009 From: lists at futilism.com (Mark Smith) Date: Fri, 27 Feb 2009 20:52:57 +0000 Subject: Single File Details In-Reply-To: <29679.64.40.211.158.1235760350.squirrel@auth2.crcom.net> References: <29679.64.40.211.158.1235760350.squirrel@auth2.crcom.net> Message-ID: Len, I have a stack that reads the headers of WAV, AIFF, AU and SD2 files and gives you an array of the various audio properties - sample rate, number of channels etc. If that would be useful to you, it's here: http://maspub.s3.amazonaws.com/audiofileinfo.zip Best, Mark On 27 Feb 2009, at 18:45, len-morgan at crcom.net wrote: > I can't seem to find a command for this: > > I want to get a list of files to be converted (they happen to be > wav files > but it doesn't really matter). As I go through each file in the > list, I > want to be able to update a progress bar that indicates how far > through > the list I am and another one that indicates how far through the > current > file I am. > > The first requirement was easy and is working. I need to be able > to find > out the file size so I can calculate the current progress in that one > file. I know I can use "the detailed files" to get all of the info > on all > of the files in the default directory but is there something that will > allow me to get just the information on a single file? > > I am currently using "answer file" to get the list of files > (returns one > per line) so I COULD get the detailed files from that since they > will only > be allowed to select files from a single directory at a time (that > IS true > isn't it?). > > Any ideas would be appreciated. > > While I'm here.... :-) , has anyone written scripts that will read > through > and process a wav file and would be willing to share what they've > learned? > Might save me some time. If not, I'll contribute what I end up > with when > I'm done. > > len morgan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Fri Feb 27 15:56:41 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 27 Feb 2009 10:56:41 -1000 Subject: Main stack and substack order in the message path In-Reply-To: References: <019401c99905$24952490$6dbf6db0$@com> <019501c9990f$44b21350$ce1639f0$@com> Message-ID: <019901c9991d$e44888f0$acd99ad0$@com> Same Island, Hawaii Kai ;-) > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Bob Sneidar > Sent: Friday, February 27, 2009 9:43 AM > To: How to use Revolution > Subject: Re: Main stack and substack order in the message path > > Hawaii you say! My Dad lives on Oahu, in Kailua. :-) > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On Feb 27, 2009, at 11:12 AM, Jim Bufalini wrote: > > > Thanks Mark, Scott, and Bob > > > > Scott, that's the trick. A combination of StacksInUse and reissuing > > a *start > > using* revises the order. So, if the correct stack is not first in > > StackInUse, then a start using will put it there. > > > > Thanks everyone! > > > > Aloha from Hawaii > > Jim Bufalni > > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com [mailto:use- > revolution- > >> bounces at lists.runrev.com] On Behalf Of Scott Rossi > >> Sent: Friday, February 27, 2009 8:21 AM > >> To: Revolution Mail List > >> Subject: Re: Main stack and substack order in the message path > >> > >> Recently, Jim Bufalini wrote: > >> > >>>> The workaround might be to have stack A call "start using stack > >>>> ABC" > >>>> (and > >>>> the same with the other stack) to make sure the substack is used > >> first > >>>> when > >>>> necessary. > >>> > >>> This is done and it is actually the problem. > >>> > >>> I actually discovered this in two ways working on an update for > >> ListMagic. > >>> When you first install a ListMagic widget into your project, > >> ListMagic > >>> clones its lib, renames it, and places the renamed lib stack as a > >> substack > >>> of the main stack of your project and adds a start using statement > >>> to > >> your > >>> project's main stack's preOpenStack. > >>> > >>> When a new version of ListMagic comes out, and you add a new > widget, > >> or > >>> modify an existing widget in a project, ListMagic checks, and if it > >> sees > >>> that it is a newer version than the one you have in your project, > it > >> asks > >>> for permission to update the lib in your project and all widgets. > >>> > >>> But, if you don't do either and just have your project and > ListMagic > >> running > >>> at the same time in the IDE, then it is possible to have two > >> different > >>> version libs running at the same time and there is no way to > control > >> if a > >>> user has launched their project first or ListMagic. > >>> > >>> Or, for that matter, two of their own projects, where one has been > >> updated > >>> to the latest lib and one has not. Which one did they launch first? > >> > >> Perhaps I didn't explain the above well enough, or maybe I'm not > >> interpreting your situation accurately, but what I meant was, you > >> call > >> "start using stack ABC" *EVERY TIME* you need to reference the > >> library > >> of a > >> specific stack, not just at startup. This (should) ensure that the > >> library > >> you need is the first one to be accessed. I do this with certain > >> frontscripts that I need to be "really" in front at all times. If > >> you're > >> doing this already, then I don't have any alternate suggestions > other > >> than > >> to reconsider your update strategy. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, Multimedia & Design > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Feb 27 16:35:11 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Feb 2009 15:35:11 -0600 Subject: Crybaby Grows up In-Reply-To: References: Message-ID: <49A85C8F.6070806@hyperactivesw.com> DunbarX at aol.com wrote: > So I was looking at the actual openstack handler, which was: > > "insert the script of this stack into back" (also was "start using this > stack") > > And thought I would change it to: > > "insert the script of stack myStack into back" > > Fixed. Done. And it all makes sense. I am relieved that it was me and not > Rev. The "this stack" issue trips up everyone. In a multi-window environment, "this" stack isn't always what you think it is. If your script is in a topstack, it's often "this stack", only you can set the defaultstack property and then it isn't. If your stack is a palette, a lot of times "this stack" isn't the palette, it's the one that has focus (which is good, because that's how you make toolbars.) "This" stack can actually be just about any stack, depending on what the script is doing, the style of the stack the script is in, the mode of the stack, and probably some other stuff. Takes some getting used to, and even after you think you know it, it bites you when you aren't looking. I still get hit with it when I'm not paying attention. > One MINUTE later Jackie writes with basically the same idea. I'm always late to the party. :) > Is there anything to discuss about why putting the msg stack script into > "back" is not a good idea? Oh yeah, and all the other IDE stacks too. The message box has lots of specialized and snarly scripts in it (that's a technical term) that should only ever apply to itself. It has to do some work-arounds to interpret what you've typed so that the evaluation is in the right context and points to the right user stack. I assume that inserting it into the back could cause it to do it's little song and dance on every open stack, re-evaluating everything in it's own context, and leaving a wake of chaos. There be dragons. Don't go there... For a generic stack utility, it's a good idea to just filter out and ignore any IDE stacks. Check to see if the first 3 characters of the stack name are "rev" and ignore those. For HC compatibility, three stacks don't start with "rev" so you have to check for those by name: "message box", "answer dialog", and "ask dialog". So: get the short name of the target -- presumably the stack if char 1 to 3 of it = "rev" or \ it is among the items of "message box,answer dialog,ask dialog" then exit -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From DunbarX at aol.com Fri Feb 27 16:37:52 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 27 Feb 2009 16:37:52 EST Subject: Crybaby Grows up Message-ID: Bob. Yes, and I am undisciplined in that unless I really need to lock it down. But as I just learned again, sometimes passing messages can cause unwanted things to happen downstream. I find sometimes that my HC gadget does not respond to a stack I am working on, and I know instantly that I trapped one or other message locally and did not pass it. I am thinking of using "preOpenCard", since I have never needed to dress up a card before displaying it, and am less likely to trap it locally. Craig Newman In a message dated 2/27/09 2:53:45 PM, bobs at twft.com writes: > Some think it's a good idea to always pass the message on unless you? > specifically want to stop the message when you intercept it. I? > subscribe to that notion myself. I think I learned that at the? > Monterey conference from either Trvor or Jerry. So I always include a? > pass statement at the end of my handlers unless otherwise intended. > ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID %3D62%26bcd%3DfebemailfooterNO62) From sarah.reichelt at gmail.com Fri Feb 27 17:19:57 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 28 Feb 2009 08:19:57 +1000 Subject: Gutenberg Reader In-Reply-To: References: Message-ID: > Aha! Done. The Mac version of the app is now in .dmg form at: > http://home.comcast.net/~pmbrig/Gutenberg.html > > Hope this solves the problems people have been having. Let me know! Thanks Peter. The app works perfectly from the dmg. Cheers, Sarah From DunbarX at aol.com Fri Feb 27 17:25:33 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 27 Feb 2009 17:25:33 EST Subject: Crybaby Grows up Message-ID: Hi. Exactly. In my utility stack handlers (as in HC), I do not have to even consider the test stack, so, if I say: on opencard put the name of btn 1 into fld "utilityField" of stack "wizard" end opencard I get the name of the button in the test stack, as expected. I do have to specify the stack in which to put the data, though. As expected. I assumed "this stack" worked the same. Since my HC utility is a floating palette, I had to deal with this sort of thing explicitly. in Rev, I can understand that a suite of stacks may require more care. I filtered the "rev" stacks out a while back. Smart to name them so. Thanks, though. This is what I meant by driving. Hands clutching the wheel still a bit too tightly, but still. Craig In a message dated 2/27/09 4:35:57 PM, jacque at hyperactivesw.com writes: > The "this stack" issue trips up everyone. In a multi-window environment, > "this" stack isn't always what you think it is. If your script is in a > topstack, it's often "this stack", only you can set the defaultstack > property and then it isn't. ************** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault. aspx%3Fsc%3D668072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62) From rjb at robelko.com Fri Feb 27 12:04:59 2009 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 27 Feb 2009 18:04:59 +0100 Subject: Main stack and substack order in the message path In-Reply-To: References: Message-ID: On 27.02.09 at 08:49 -0800 Scott Rossi apparently wrote: > >I could be wrong but I believe that the order of library stack to be used is >determined by the order opened: the scripts of the most recent stack opened >would be used before any others. I know this is true of frontscripts. > >The workaround might be to have stack A call "start using stack ABC" (and >the same with the other stack) to make sure the substack is used first when >necessary. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design > I believe you are right. For stacks in use, the order of putting them in use is relevant and one call put the same stack in use again to shift it to the top of library stacks again. Robert From sims at ezpzapps.com Sat Feb 28 00:43:52 2009 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 28 Feb 2009 06:43:52 +0100 Subject: Gutenberg Reader In-Reply-To: References: Message-ID: <37E28C75-73AA-48F1-B772-44BA211F33E7@ezpzapps.com> On Feb 27, 2009, at 11:19 PM, Sarah Reichelt wrote: >> Aha! Done. The Mac version of the app is now in .dmg form at: >> http://home.comcast.net/~pmbrig/Gutenberg.html >> >> Hope this solves the problems people have been having. Let me know! Works here also. The "Quit" from menubar and "command Q" that we discussed also work fine if I am out of the Reader (I assume - if the revBrowser is closed). Maybe you need to add a step (closing down the revBrowser) to the quit script. I'm going to go get that damn White Whale now!! sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From chipp at chipp.com Sat Feb 28 02:17:16 2009 From: chipp at chipp.com (Chipp Walters) Date: Sat, 28 Feb 2009 01:17:16 -0600 Subject: Vector window shapes and the great mystery of ink effects In-Reply-To: References: Message-ID: <665591460902272317w58e23366ie916ac6c629bdedc@mail.gmail.com> Nicely done, Scott. From jhurley0305 at sbcglobal.net Sat Feb 28 02:33:09 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Fri, 27 Feb 2009 23:33:09 -0800 Subject: In search of a programmable pen tool In-Reply-To: <20090227103118.753302891A9@mail.runrev.com> References: <20090227103118.753302891A9@mail.runrev.com> Message-ID: <75E24F1F-C094-4ADA-822F-FDA12369F6E5@sbcglobal.net> > > Message: 20 > Date: Thu, 26 Feb 2009 23:47:52 +0000 > From: Alex Tweedly > Subject: Re: In search of a programmable pen tool > To: How to use Revolution > Message-ID: <49A72A28.2080700 at tweedly.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > James Hurley wrote: >> I came across a web site a while back that allowed the user to drag a >> paint tool over the screen and the painted line was mirrored across >> several sectors of a circle creating a kaleidoscopic effect. Dazzling >> I thought. >> >> I don't see any way to approximate this in Run Rev. What would be >> nice >> is a pen tool which is a first class programmable Run Rev object with >> a mouseMove handler. Not likely any time soon. >> >> I can't even come close, as you can see in the stack "Paint >> Kaleidoscope" I just put up on my user space under Jim Hurley. >> >> If anybody has an answer to the question posed there (Why is this >> painted line so bad?) I would appreciate it. > Jim, I don't see any painted line at all (Rev Studio 3.0, Win Vista) > > -- Alex > > Alex, I'm not surprised. Run Rev is a little shaky where it comes to the pen. It works on the Mac but is fragile. But you can see what I was trying to do by painting with the pen by what can be done drawing with graphic lines--see Kaleidoscope in following message. Or just: go url "http://www.jamesphurley.com/Kaleidoscope.rev" Jim Hurley From jhurley0305 at sbcglobal.net Sat Feb 28 02:33:14 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Fri, 27 Feb 2009 23:33:14 -0800 Subject: ANN: Draw kaleidoscopic effects In-Reply-To: <20090227103118.753302891A9@mail.runrev.com> References: <20090227103118.753302891A9@mail.runrev.com> Message-ID: <8856000D-5920-4FA6-9487-F9AFE322903F@sbcglobal.net> I failed in my attempt to find a way to use the pen tool to paint kaleidoscopic effects. This stack (see below) draws the effects instead. Painting would be better. More options. Well, except for the fact that I can't do it. Every time I try to drag the pen in a mouseMove handler, RR locks up on me. If you can find a way, let me know. To see the stack run this in the message box: go url "http://www.jamesphurley.com/Kaleidoscope.rev" Jim Hurley From klaus at major-k.de Sat Feb 28 06:25:47 2009 From: klaus at major-k.de (Klaus Major) Date: Sat, 28 Feb 2009 12:25:47 +0100 Subject: ANN: Draw kaleidoscopic effects In-Reply-To: <8856000D-5920-4FA6-9487-F9AFE322903F@sbcglobal.net> References: <20090227103118.753302891A9@mail.runrev.com> <8856000D-5920-4FA6-9487-F9AFE322903F@sbcglobal.net> Message-ID: <842F9F98-5828-4C87-A408-DD9EFDC37F00@major-k.de> Hi James, > I failed in my attempt to find a way to use the pen tool to paint > kaleidoscopic effects. This stack (see below) draws the effects > instead. Painting would be better. More options. Well, except for > the fact that I can't do it. Every time I try to drag the pen in a > mouseMove handler, RR locks up on me. If you can find a way, let me > know. > > To see the stack run this in the message box: > > go url "http://www.jamesphurley.com/Kaleidoscope.rev" That's pretty cool! Chapeau! It runs a lot smoother when you add a "lock screen" and "unlock screen" at the beginning/end of the "mousemove" handler! At least it does her on my MacMini 1.66. > Jim Hurley Best Klaus -- Klaus Major klaus at major-k.de http://www.major-k.de From nhan.tran at rmit.edu.vn Sat Feb 28 09:05:26 2009 From: nhan.tran at rmit.edu.vn (Nhan, Tran Thi Thanh) Date: Sat, 28 Feb 2009 21:05:26 +0700 Subject: Pivot table in excel References: <20090227103118.753302891A9@mail.runrev.com><8856000D-5920-4FA6-9487-F9AFE322903F@sbcglobal.net> <842F9F98-5828-4C87-A408-DD9EFDC37F00@major-k.de> Message-ID: Hi all, I'm learning about creating a pivot table in excel 2003 through VBA. Could you give your advice? When I click to a button then export list to excel and create a pivot table. Many thanks. Nhan From jhurley0305 at sbcglobal.net Sat Feb 28 13:28:02 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 28 Feb 2009 10:28:02 -0800 Subject: ANN: Draw kaleidoscopic effects In-Reply-To: <20090228180004.ABD3B48A322@mail.runrev.com> References: <20090228180004.ABD3B48A322@mail.runrev.com> Message-ID: > > > ------------------------------ > > Message: 25 > Date: Fri, 27 Feb 2009 23:33:14 -0800 > From: James Hurley > Subject: ANN: Draw kaleidoscopic effects > To: use-revolution at lists.runrev.com > Message-ID: <8856000D-5920-4FA6-9487-F9AFE322903F at sbcglobal.net> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > I failed in my attempt to find a way to use the pen tool to paint > kaleidoscopic effects. This stack (see below) draws the effects > instead. Painting would be better. More options. Well, except for the > fact that I can't do it. Every time I try to drag the pen in a > mouseMove handler, RR locks up on me. If you can find a way, let me > know. > > To see the stack run this in the message box: > > go url "http://www.jamesphurley.com/Kaleidoscope.rev" > > Jim Hurley > > > ------------------------------ > > Message: 26 > Date: Sat, 28 Feb 2009 12:25:47 +0100 > From: Klaus Major > Subject: Re: ANN: Draw kaleidoscopic effects > To: How to use Revolution > Message-ID: <842F9F98-5828-4C87-A408-DD9EFDC37F00 at major-k.de> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > Hi James, > >> >> >> To see the stack run this in the message box: >> >> go url "http://www.jamesphurley.com/Kaleidoscope.rev" > > That's pretty cool! Chapeau! > > It runs a lot smoother when you add a "lock screen" and "unlock > screen" > at the beginning/end of the "mousemove" handler! > > At least it does her on my MacMini 1.66. > >> Jim Hurley > > Best > > Klaus > > -- > Klaus Major > klaus at major-k.de > http://www.major-k.de Klaus, Yes. I continue to forget the value of locking the screen until all the screen work is done for a given mouseMove cycle. Makes all the difference in the world. I made the same mistake with KaleidoBalls. Thanks, Jim > From mdswindell at cruzio.com Sat Feb 28 15:13:58 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 28 Feb 2009 12:13:58 -0800 Subject: Drawing a graph by script Message-ID: What would be the best way to draw a simple graph by script? All I need is a rectangle with horizontal lines drawn across it at the correct intervals (height/100) or whatever the number of lines is to be. I've been looking in the docs but still not sure how to implement this. I also played around with using a list field and setting the line height, but this isn't as accurate as I'd like. Thanks, Mark From dunbarx at aol.com Sat Feb 28 16:15:12 2009 From: dunbarx at aol.com (dunbarx) Date: Sat, 28 Feb 2009 16:15:12 -0500 Subject: Drawing a graph by script In-Reply-To: Message-ID: <3822EAAA.60A0.442D.8E7C.F69F84BD4182@aol.com> Do you mean a line graph? I did this in HC years ago, to create an oscilloscope displaying a voltage waveform from an external source, It's easy and fun, You need a delimited list of points "x,y" and draw a line from one to the other, daisy chain style. In HC you had to choose the line tool and drag from one point to the next, keeping track of the, er, track so you could erase it every time the graph updated. I suspect in Rev you can create a line graphic object with start and endpoints as desired, and just either reconfigure it or delete it as required. ?Hope this helps. If you are a beginner like me, write back and you will get much more detailed help from this list. Craig Newman On Feb 28, 2009, at 3:13:58 PM, "Mark Swindell" wrote: What would be the best way to draw a simple graph by script? All I need is a rectangle with horizontal lines drawn across it at the? correct intervals (height/100) or whatever the number of lines is to? be. I've been looking in the docs but still not sure how to implement? this. I also played around with using a list field and setting the? line height, but this isn't as accurate as I'd like. From viktoras at ekoinf.net Sat Feb 28 17:44:45 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Sun, 01 Mar 2009 00:44:45 +0200 Subject: Drawing a graph by script In-Reply-To: References: Message-ID: <49A9BE5D.60606@ekoinf.net> a few examples in the revUp newsletter: http://www.runrev.com/newsletter/january/issue64/newsletter3.php regards Viktoras Mark Swindell wrote: > What would be the best way to draw a simple graph by script? > > All I need is a rectangle with horizontal lines drawn across it at the > correct intervals (height/100) or whatever the number of lines is to > be. I've been looking in the docs but still not sure how to implement > this. I also played around with using a list field and setting the > line height, but this isn't as accurate as I'd like. > > Thanks, > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution >