From JimAultWins at yahoo.com Sun Apr 1 03:29:09 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 01 Apr 2007 00:29:09 -0700 Subject: What's wrong with Globals? In-Reply-To: <121143571805.20070331104056@ahsoftware.net> Message-ID: On 3/31/07 11:40 AM, "Mark Wieder" wrote: > Jim- > > As usual, an excellent writeup on custom property sets Thanks for the comment :-) > Saturday, March 31, 2007, 12:32:01 AM, you wrote: > >Jim wrote: >> [aside: globals are what I reach for when I am not sure where I am going >> with my design. If this process goes on long enough, it becomes very messy. >> I then can see how I should have designed my data storage and access, but >> what a job to fix it :-)] > Mark wrote: > I've stopped doing that for exactly that reason. Now when I feel > tempted to do that I'll make a local variable with get and set > handlers, then later on figure out the best way to deal with it. > > Usually I will do what you do and end up with custom property sets, > but sometimes I will end up with local arrays. I do wish arrays > behaved themselves better, though. One characteristic that is shared between globals, cust props, and databases... they all hide the data and only show it when asked. globals == variable watcher cust props === inspector palette(painfull), variable watcher(painfull), extract-conbine into a field or msg box or clipboard-Excel databases === queries, joins, indices, relationships Excel === comfort food for tabular data always visible if you scroll far enough you can see and touch all of you data. Jim Ault From geradamas at yahoo.com Sun Apr 1 08:52:12 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 1 Apr 2007 13:52:12 +0100 (BST) Subject: Paint Bucket Not working as advertised Message-ID: <245222.32667.qm@web37507.mail.mud.yahoo.com> Maybe this is a stupid question, But, Hey, I spend most of my life asking stupid questions: I'm a philosopher:- Why would anyone use the paint tools in RR ? As far as I can see they are some sort of odd, evolutionary legacy (rather like my appendix) left over from HyperCard - when things were balck and white and bitmapped. And, as such, they are not up to much. Of course, if you really do insist, you could use my "port" of the Metacard paint tools: http://tech.groups.yahoo.com/group/RRgraphix/files/ NewPaintTools.rev.zip I use an external graphics package (GIMP) and import the results. My feeling is that Runtime Revolution is a RAD and not a graphics-editing package; and the sooner folk start realising that the sooner RR will see the light and drop the paint tools (which are awful) all together. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ All New Yahoo! Mail ? Tired of unwanted email come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html From bvg at mac.com Sun Apr 1 10:33:19 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 1 Apr 2007 16:33:19 +0200 Subject: Paint Bucket Not working as advertised In-Reply-To: <245222.32667.qm@web37507.mail.mud.yahoo.com> References: <245222.32667.qm@web37507.mail.mud.yahoo.com> Message-ID: <744abc9535dba44fc3fea9c35c8f66e2@mac.com> On 01 Apr 2007, at 14:52, Richmond Mathewson wrote: > ... > My feeling is that Runtime Revolution is a RAD and not > a graphics-editing package; and the sooner folk start > realising that the sooner RR will see the light and > drop the paint tools (which are awful) all together. I disagree with that. Although I agree that Rev is a RAD, in addition I think that all RADs should have a simple and fast way to draw bitmaps, and the drawing tools are currently the only (simple) way to do that. On the other side, I'm all for a better replacement, or an improvement of these tools. Sincerely yours Bjoernke von Gierke -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From mwieder at ahsoftware.net Sun Apr 1 15:05:50 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Apr 2007 12:05:50 -0700 Subject: REVO-lotion In-Reply-To: <460F0686.70705@hyperactivesw.com> References: <460F0686.70705@hyperactivesw.com> Message-ID: <63231465720.20070401120550@ahsoftware.net> Jacque- I won't be able to download the new Revolotion today. I'll be busy. http://www.saintstupid.com -- -Mark Wieder mwieder at ahsoftware.net From luis at anachreon.co.uk Sun Apr 1 20:53:07 2007 From: luis at anachreon.co.uk (Luis) Date: Mon, 2 Apr 2007 01:53:07 +0100 Subject: Paint Buicket Not working as advertised In-Reply-To: <89545036-AB5D-4413-A32C-737C1018BB17@Cox.Net> References: <460F0686.70705@hyperactivesw.com> <89545036-AB5D-4413-A32C-737C1018BB17@Cox.Net> Message-ID: <73DDF24E-F365-4BEF-94C8-6D4111BBA732@anachreon.co.uk> No one got the joke at all... :( Cheers, Luis. On 1 Apr 2007, at 3:02, Joe Lewis Wilkins wrote: > The brush tool doesn't work at all. The bucket works but doesn't > automatically change to the browse tool when not over an image. > > Joe > > On Mar 31, 2007, at 6:55 PM, Luis wrote: > >> Tried the brush? >> >> :P >> >> Cheers, >> >> Luis. >> >> >> On 1 Apr 2007, at 2:38, Joe Lewis Wilkins wrote: >> >>> Hi everyone, >>> >>> Well, I've been trying to use the paint bucket, but it's not >>> working as the docs say it does: >>> >>> If you try to paint with the bucket on a card that has no images, >>> an image the size of the card is created to hold the painting. If >>> the current card already has one or more images, painting outside >>> the image has no effect. >>> >>> using the statemnt "choose bucket tool " changes the cursor to a >>> paint bucket, but it stays that way evern over other objects. >>> Must be a bug! >>> >>> Joe Wilkins >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 Sun Apr 1 20:56:43 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 1 Apr 2007 17:56:43 -0700 Subject: Paint Buicket Not working as advertised In-Reply-To: <73DDF24E-F365-4BEF-94C8-6D4111BBA732@anachreon.co.uk> References: <460F0686.70705@hyperactivesw.com> <89545036-AB5D-4413-A32C-737C1018BB17@Cox.Net> <73DDF24E-F365-4BEF-94C8-6D4111BBA732@anachreon.co.uk> Message-ID: <0D9F86E4-1962-4F38-B62E-BD84582D42FE@Cox.Net> Sorry, Luis. I'm just a stick in the mud! I still don't see a joke. It must be in the translation. Maybe Richmond or Andre get it. Joe Wilkins On Apr 1, 2007, at 5:53 PM, Luis wrote: > No one got the joke at all... :( > > Cheers, > > Luis. > > > On 1 Apr 2007, at 3:02, Joe Lewis Wilkins wrote: > >> The brush tool doesn't work at all. The bucket works but doesn't >> automatically change to the browse tool when not over an image. >> >> Joe >> >> On Mar 31, 2007, at 6:55 PM, Luis wrote: >> >>> Tried the brush? >>> >>> :P >>> >>> Cheers, >>> >>> Luis. >>> >>> >>> On 1 Apr 2007, at 2:38, Joe Lewis Wilkins wrote: >>> >>>> Hi everyone, >>>> >>>> Well, I've been trying to use the paint bucket, but it's not >>>> working as the docs say it does: >>>> >>>> If you try to paint with the bucket on a card that has no >>>> images, an image the size of the card is created to hold the >>>> painting. If the current card already has one or more images, >>>> painting outside the image has no effect. >>>> >>>> using the statemnt "choose bucket tool " changes the cursor to >>>> a paint bucket, but it stays that way evern over other objects. >>>> Must be a bug! >>>> >>>> Joe Wilkins >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution 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 calhorner at xtra.Co.NZ Sun Apr 1 22:31:13 2007 From: calhorner at xtra.Co.NZ (Cal Horner) Date: Mon, 2 Apr 2007 14:31:13 +1200 (New Zealand Standard Time) Subject: Framed Message-ID: <46106AF1.000005.03628@CALSBIGPC> Ken You are exactly right! Mark, I was trying to keep from starting another long discussion as to the merits of Rev. To me Rev is a tool set that works well when one is creating an application that is used in one or two offices But, if you are committed to a large project, and I'm not necessarily advocating large projects, you should have a different set of tools in mind To me, the best tool that Rev has to offer is this forum. Cal From mark at maseurope.net Mon Apr 2 04:19:36 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 2 Apr 2007 10:19:36 +0200 Subject: Framed In-Reply-To: <46106AF1.000005.03628@CALSBIGPC> References: <46106AF1.000005.03628@CALSBIGPC> Message-ID: On 2 Apr 2007, at 04:31, Cal Horner wrote: > Mark, > I was trying to keep from starting another long discussion as to > the merits > of Rev. Cal, I'm with you on that! I was just intrigued by the word 'artistic' (particularly since there's just been a discussion about the merits or otherwise of the paint tools), but I think I see what you mean, now. Best, Mark From simon.harper at manchester.ac.uk Mon Apr 2 04:36:38 2007 From: simon.harper at manchester.ac.uk (Simon HARPER) Date: Mon, 2 Apr 2007 09:36:38 +0100 Subject: Yet Another Question Message-ID: <5B6D549C-2614-48F7-B6D9-2767EA05C1CD@manchester.ac.uk> Sorry to keep hassling the list! OK so I'm creating a series of notes - now I understand that normally I'd just make a new card for each. However how do I handle it if each notes is 2 cards (ie I use 2 tabs)? Cheers Si. ==== Simon Harper 2.44 Kilburn Building University of Manchester (UK) Pri: simon.harper at manchester.ac.uk Alt: sharper at cs.man.ac.uk From mb.userev at harbourhosting.co.uk Mon Apr 2 05:26:55 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Mon, 02 Apr 2007 10:26:55 +0100 Subject: Yet Another Question In-Reply-To: <5B6D549C-2614-48F7-B6D9-2767EA05C1CD@manchester.ac.uk> References: <5B6D549C-2614-48F7-B6D9-2767EA05C1CD@manchester.ac.uk> Message-ID: <4610CC5F.2080303@harbourhosting.co.uk> Simon HARPER wrote: > Sorry to keep hassling the list! > > OK so I'm creating a series of notes - now I understand that normally > I'd just make a new card for each. However how do I handle it if each > notes is 2 cards (ie I use 2 tabs)? > > > Cheers > Si. Simon, In a way you answer your own question, it sounds to me like you would put a tab button on the card, with 2 tabs. Then have two groups, one for each set of data, which are alternately shown and hidden by clicking the tabs. If you expect to have a large-ish number of notes, it could become inefficient to store them in a stack. Duplicating cards containing many controls will eventually bloat the stack size, so you would likely need to think about backgrounded groups to avoid this. When I do this sort of thing though, I typically would make only one card, having two groups, and a tabbed button to toggle the groups on and off. The actual data would be held externally, or at least separately from the display interface, maybe in text files or whatever is appropriate. Then just fetched and displayed on demand. Martin Baxter From simon.harper at manchester.ac.uk Mon Apr 2 05:51:40 2007 From: simon.harper at manchester.ac.uk (Simon HARPER) Date: Mon, 2 Apr 2007 10:51:40 +0100 Subject: Variable transfers Between Stacks and Sub-Stacks. In-Reply-To: <8C08C4F2-BB36-4038-AA7D-3F9A49282A94@looktowindward.com> References: <1278EA3A-D305-4FA6-8346-2DD48540EECC@manchester.ac.uk> <8C08C4F2-BB36-4038-AA7D-3F9A49282A94@looktowindward.com> Message-ID: Hi there Dave, Thanks for this - and I wonder if it is possible to get more details on your inter stack manager. Cheers Si. ==== Simon Harper 2.44 Kilburn Building University of Manchester (UK) Pri: simon.harper at manchester.ac.uk Alt: sharper at cs.man.ac.uk On 29 Mar 2007, at 13:33, Dave wrote: > Hi, > > I've written my own Message/Event Handling system which solves this > problem plus a whole lot more. > > Basically it works like this: > > You have one stack that is the repository for all "Inter/Intra- > Stack" data - Call it "DataManager". The other stacks (Call then > "StackA" and "StackB" gain access to the DataManager via the start > using stack "DataManager" statement. There are then (at a minimum) > two functions in the "DataManager" - "GetData" and "PutData". > > The "PutData" and "GetData" functions take the form: > > function PutData theKey,theData > > -- Store "theData" using "theKey" in a Custom Property Set (Array) > of the "DataManager" stack. > > end PutData > > function GetData theKey > > -- Retreive "theData" using "theKey" from a Custom Property Set > (Array) of the "DataManager" stack. > > return theData > end GetData > > Using this method there is no need for an additional external file > and it can be used in lots of different projects. Also since the > data is de-coupled from the Stacks that use it, whole stacks (or > objects within Stacks) can be re-used in different projects. > > This is the basic technique, in order handle all requirements > (Setting Factory Defaults and Dynamically updating values), you > have to build on this. > > My ISM (Inter Stack Manager) module handles all this and a whole > lot more. In order to do this it keeps a list of objects that are > "Listening" for data of a certain "Key" and sends the data to a > handler when it is changed. Using this method allows you to cut and > paste objects (including Groups) from one stack to another without > changing a line of code! > > If you'd like more information of this, feel free to contact me. > > All the Best > Dave > > > On 29 Mar 2007, at 12:52, Sarah Reichelt wrote: > >>> So I've a main stack and sub-stack for preferences. I save and load >>> the variables as a stack (not text of xml - just yet) when I open >>> and >>> close the substack. However, is there best practice for how to load >>> the variables on startup of the mainstack and then use them in the >>> mainstack - refereshing if people change the preferences (in the >>> sub- >>> stack) while the application is running? >> >> If the data in the sub-stack is stored in a field, then it's >> really easy: >> put field "Data" of stack "Sub" into myVariable >> >> The mainStack always "knows" where it's sub-stacks are and can grab >> data from them directly. >> >> There is no need to use global variables (which are persistant and >> will not respond to change unless you script it), just use field data >> and retrieve it every time you need it. That way any changes will be >> implemented automatically. >> >> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution 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 at maseurope.net Mon Apr 2 06:02:37 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 2 Apr 2007 12:02:37 +0200 Subject: Rotate/Set angle Message-ID: <4F6C1378-E76C-4B48-ACF2-4262B4744E7E@maseurope.net> Hi, is anyone else finding that the 'rotate' command is even more broken than it used to be? If I , and then , not only does it now have jagged black lines all around it, but the size of it's rect increases with each rotation. If I , the jagged black border still appears, but at least the rect doesn't get bigger each time. This is on Mac OS 10.4.8, Revolution Studio 2.8.0 build 370. There seem to be various bugs at the qa centre related to it, but the one I reported a couple of versions ago seems to have disappeared completely, so I'll re-report it if no-one else already has.... Best, Mark From viktoras at ekoinf.net Mon Apr 2 07:12:30 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Mon, 2 Apr 2007 14:12:30 +0300 (FLE Daylight Time) Subject: Rotate/Set angle References: <4F6C1378-E76C-4B48-ACF2-4262B4744E7E@maseurope.net> Message-ID: <4610E51E.000001.02020@MAZYTIS> I would give 10 points from my votes for this report as soon as you post it (just let me know)! However there exists a report #1186 (Images at angle should remain smooth) opened in 2004. The category it is assigned to is "Enhancement" so it will likely remain unnoticed by the engineers at Runrev - and it is still unconfirmed. I think severity should be at least "Normal" or maybe "Major" to draw their attention. With those jagged lines and now unstable size the rotate command in its current implementation is almost unusable :-(. Should we re-submit the new report with higher rate of severity, or vote for the existing one? By the way is there a way to re-rate the severity of this report or only the person who submitted can do this? Viktoras -------Original Message------- From: Mark Smith Date: 04/02/07 13:03:03 To: How to use Revolution Subject: Rotate/Set angle Hi, is anyone else finding that the 'rotate' command is even more broken than it used to be? If I , and then , not only does it now have jagged black lines all around it, but the size of it's rect increases with each rotation. If I , the jagged black border still appears, but at least the rect doesn't get bigger each time. This is on Mac OS 10.4.8, Revolution Studio 2.8.0 build 370. There seem to be various bugs at the qa centre related to it, but the one I reported a couple of versions ago seems to have disappeared completely, so I'll re-report it if no-one else already has.... Best, 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 viktoras at ekoinf.net Mon Apr 2 07:29:19 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Mon, 2 Apr 2007 14:29:19 +0300 (FLE Daylight Time) Subject: Rotate/Set angle References: <4610E51E.000001.02020@MAZYTIS> Message-ID: <4610E90F.000003.02020@MAZYTIS> There is also report #3480 (rotate image by unnecesarily increases image dimensions) which relates to report #4098 (rotation looses the quality and transparency of the rotated image), both having severity "Normal" and already confirmed by Runrev... I'm voting for the #4098. V. From geradamas at yahoo.com Mon Apr 2 07:46:21 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 2 Apr 2007 12:46:21 +0100 (BST) Subject: Rotate/Set angle Message-ID: <74270.2624.qm@web37501.mail.mud.yahoo.com> A trick that you can use is this: import your image (let's call it "XX") then group image "XX" (Yes, I know it is daft to make a group consisting of one image - but, although I am daft, I can actually produce a result) let's call the group "GGG" now, if you use 'set the angle of img "XX" to xyz' (where 'xyz' is an angle) the rect of the group "GGG" will remain the same, so the silly effects produced by rotating the image will not be seen. just uploaded "Rotten Rotation.rev" to RevOnline - illustrates this point. and, quite frankly, if RR haven't sorted this problem out in 3 years then it is either because to do so is very tricky, or they can't be bothered: - either way, don't hold your breath and, either, adapt (like the above method) or move to another RAD that better suits your needs. sincerely, Richmond Mathewson sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html From viktoras at ekoinf.net Mon Apr 2 09:13:48 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Mon, 2 Apr 2007 16:13:48 +0300 (FLE Daylight Time) Subject: copy protection References: <74270.2624.qm@web37501.mail.mud.yahoo.com> Message-ID: <4611018B.000001.02088@MAZYTIS> Hi, what tricks do you usually use to tie an application to a CD to prevent it from being copied ? Are there any "native" tricks that can be implemented in Rev? No extremely strong protection is required, just to prevent ordinary users copying and redistributing a live cd database app until about 200 copies of it are sold. Well I know the most simple way is to write "Please do not make copies of this CD", but usually it is not very efficient ;-) Best! Viktoras From sanke at hrz.uni-kassel.de Mon Apr 2 12:46:33 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 02 Apr 2007 18:46:33 +0200 Subject: Rotate/Set angle Message-ID: <46113369.1000502@hrz.uni-kassel.de> On Mon Apr 2, 2007, Richmond Mathewson geradamas at yahoo.com wrote: > A trick that you can use is this: > > import your image (let's call it "XX") > > then group image "XX" (Yes, I know it is daft to make > a group consisting of one image - but, although I am > daft, I can actually produce a result) > > let's call the group "GGG" > > now, if you use 'set the angle of img "XX" to xyz' > (where 'xyz' is an angle) the rect of the group "GGG" > will remain the same, so the silly effects produced by > rotating the image will not be seen. > > just uploaded "Rotten Rotation.rev" to RevOnline - > illustrates this point. > (snip) > sincerely, Richmond Mathewson Using "set the angle" preserves the rect in any case, whether you group the image or not - tested on Windows and with engines 2.6.1 and 2.8. But the jagged borders appear when you set the angle other than to 90 or a multiple of 90. Regards, Wilhelm Sanke From scott at tactilemedia.com Mon Apr 2 13:50:57 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 02 Apr 2007 10:50:57 -0700 Subject: ShellCommand Changed? Message-ID: When starting up Rev 2.8 on Windows (Vista), the shellCommand property is set to "cmd.exe". After running revGoURL to launch a Web browser, the shellCommand is set to the full disk path to cmd.exe. Is this expected behavior? I believe this breaks previous usage of shell command, in that now one must script: if "cmd.exe" is in the shellCommand... Or did this change some time ago and I just missed it? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From kray at sonsothunder.com Mon Apr 2 14:39:14 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 2 Apr 2007 13:39:14 -0500 Subject: ShellCommand Changed? In-Reply-To: References: Message-ID: <20070402133914383875.c235855c@sonsothunder.com> On Mon, 02 Apr 2007 10:50:57 -0700, Scott Rossi wrote: > When starting up Rev 2.8 on Windows (Vista), the shellCommand property is > set to "cmd.exe". After running revGoURL to launch a Web browser, the > shellCommand is set to the full disk path to cmd.exe. > > Is this expected behavior? I believe this breaks previous usage of shell > command, in that now one must script: > > if "cmd.exe" is in the shellCommand... > > Or did this change some time ago and I just missed it? Yup, I just checked, and this goes all the way back to 2.1.2. I didn't know this was the case however, so you're right - any code that does: if the shellCommand = "cmd.exe" then will fail and you'd need to use the "is in" construct you mentioned above. To be 100% sure, you'd need to do this: if char -7 to -1 of the shellCommand = "cmd.exe" then (although the likelihood there might be "cmd.exe" in the path and have it NOT be the target file is extremely small). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Mon Apr 2 14:41:05 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 2 Apr 2007 13:41:05 -0500 Subject: ShellCommand Changed? In-Reply-To: References: Message-ID: <20070402134105755515.c12db24a@sonsothunder.com> On Mon, 02 Apr 2007 10:50:57 -0700, Scott Rossi wrote: > When starting up Rev 2.8 on Windows (Vista), the shellCommand property is > set to "cmd.exe". After running revGoURL to launch a Web browser, the > shellCommand is set to the full disk path to cmd.exe. > > Is this expected behavior? I believe this breaks previous usage of shell > command, in that now one must script: > > if "cmd.exe" is in the shellCommand... > > Or did this change some time ago and I just missed it? Actually this is because the shellCommand gets set to $COMSPEC when you do revGoURL, and that contains the whole path... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From livfoss at mac.com Mon Apr 2 17:53:12 2007 From: livfoss at mac.com (Graham Samuel) Date: Mon, 2 Apr 2007 23:53:12 +0200 Subject: What's wrong with Globals? Message-ID: Forgive me if this conversation has ended, but my internet connection has been in meltdown... just got back on line. I most frequently use globals because there aren't global constants. I use them very largely for strings containing stuff like error messages or even very simple strings like "OK", so that I can refer to these indirectly in scripts, thus allowing me to switch (human) languages by redefining the globals in just one script of the program. I guess I could have used custom property sets with exactly the same effect, and with the advantage that I wouldn't have to initialise them during the startup of my app, but like many others I didn't understand these when I started, and I tend to re-use stuff I wrote before. I guess there isn't much difference between writing answer gcOK -- 'gcOK' is a global with a string in it. and answer (the gcOK of stack "allTheConstantStrings") -- 'the gcOK' is a property of some object. but the second statement seems to have more characters in it, since it involves referring to the object in which the property is stored. If there are a lot of such references, my scripts are going to get longer. I also use globals when I have a quantity which needs to be used in different scripts in different stacks, i.e globally: a very obvious point, but I really don't see what is wrong with that. I do accept that I have to be disciplined about changing their values. I do use properties (I tend to use these for global status stuff like 'the soundOn of this stack'), parameter-passing and message-passing extensively, but to me globals feel right for quite a lot of things. I shall now wait for someone to tell me why this is a really wrong- headed approach. I'm always willing to learn - really. Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From mark at maseurope.net Mon Apr 2 18:20:03 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 3 Apr 2007 00:20:03 +0200 Subject: What's wrong with Globals? In-Reply-To: References: Message-ID: Well, I'm certainly not going to presume to criticise your method, but in the spirit of "you show me yours, I'll show you mine", what I tend to do is to have a stack in my apps which is put 'in use' at startup, and which has various getters and setters. The actual data it returns could be in cps, script locals, text files, databases or somewhere on t'internet, the calling handlers don't have to know. So: answer gcOK() in a handler calls the gcOK() function in my library stack which might be function gcOK return "OK?" -- literal end gcOK or function cgOK return the okMessage of me -- cp end gcOK or function gcOK return sOkMessage -- script local end gcOK or function gcOK get URL (http://www.google.com/search?q=OK" --parse html and find what you need return whatYouFound end gcOK etc. This approach proved very handy indeed recently, when the data (retrieved from the web) for one of my apps changed format, but all I had to do was re-write a couple of getter functions, the job was done, and I felt quite smug. Script locals are quite a neat way of achieving data-hiding when used this way. Best, Mark On 2 Apr 2007, at 23:53, Graham Samuel wrote: > Forgive me if this conversation has ended, but my internet > connection has been in meltdown... just got back on line. > > I most frequently use globals because there aren't global > constants. I use them very largely for strings containing stuff > like error messages or even very simple strings like "OK", so that > I can refer to these indirectly in scripts, thus allowing me to > switch (human) languages by redefining the globals in just one > script of the program. I guess I could have used custom property > sets with exactly the same effect, and with the advantage that I > wouldn't have to initialise them during the startup of my app, but > like many others I didn't understand these when I started, and I > tend to re-use stuff I wrote before. I guess there isn't much > difference between writing > > answer gcOK -- 'gcOK' is a global with a string in it. > > and > > answer (the gcOK of stack "allTheConstantStrings") -- 'the gcOK' > is a property of some object. > > but the second statement seems to have more characters in it, since > it involves referring to the object in which the property is > stored. If there are a lot of such references, my scripts are going > to get longer. > > I also use globals when I have a quantity which needs to be used in > different scripts in different stacks, i.e globally: a very obvious > point, but I really don't see what is wrong with that. I do accept > that I have to be disciplined about changing their values. I do use > properties (I tend to use these for global status stuff like 'the > soundOn of this stack'), parameter-passing and message-passing > extensively, but to me globals feel right for quite a lot of things. > > I shall now wait for someone to tell me why this is a really wrong- > headed approach. I'm always willing to learn - really. > > Graham > > > ---------------------------------------- > Graham Samuel / The Living Fossil Co. / UK and France > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Mon Apr 2 18:27:28 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 2 Apr 2007 15:27:28 -0700 Subject: What's wrong with Globals? In-Reply-To: References: Message-ID: Graham and everyone else who is interested or should be, Since I started this thread with what I thought was a fairly naive question with a pretty obvious conclusion, perhaps I should summarize the input - if that is possible, what with some of the quite lengthy monologues. I believe that Richard and Jim have made the most poignant arguments both for and against the use of globals; and I was leaning very sharply in the CP direction until Graham made a very good point: CPs do tend to involve writing a lot more code, and I have to learn something that I've not used before; hence probably subject to some errors in usage on my part - typos and otherwise. So I intend to learn the CP approach down the road a bit, but continue in the meanwhile with my use of Globals as I have in the past. The code for CPs IS pretty "elaborate" and not totally intuitive; at least to me. I can definitely see some advantages to the CP approach, but maybe I'm too far gone to change at this point in my life. Hey! I wouldn't even be using RR at all were it not for Apple's failure to support HC on OSX. I used HC last night to make a material list that I needed to parse and get to the manufacturer this morning. It didn't need to be cross platform or even in color, so... Of course I did it on my 9.2 Mac; something I'll probably keep around for many years to come, though I'd love to get a new one on which I can run 9.2. It was a great OS! Thanks to everyone for their opinions and perspectives. I think we all learned a lot. Joe Wilkins On Apr 2, 2007, at 2:53 PM, Graham Samuel wrote: > Forgive me if this conversation has ended, but my internet > connection has been in meltdown... just got back on line. > > I most frequently use globals because there aren't global > constants. I use them very largely for strings containing stuff > like error messages or even very simple strings like "OK", so that > I can refer to these indirectly in scripts, thus allowing me to > switch (human) languages by redefining the globals in just one > script of the program. I guess I could have used custom property > sets with exactly the same effect, and with the advantage that I > wouldn't have to initialise them during the startup of my app, but > like many others I didn't understand these when I started, and I > tend to re-use stuff I wrote before. I guess there isn't much > difference between writing > > answer gcOK -- 'gcOK' is a global with a string in it. > > and > > answer (the gcOK of stack "allTheConstantStrings") -- 'the gcOK' > is a property of some object. > > but the second statement seems to have more characters in it, since > it involves referring to the object in which the property is > stored. If there are a lot of such references, my scripts are going > to get longer. > > I also use globals when I have a quantity which needs to be used in > different scripts in different stacks, i.e globally: a very obvious > point, but I really don't see what is wrong with that. I do accept > that I have to be disciplined about changing their values. I do use > properties (I tend to use these for global status stuff like 'the > soundOn of this stack'), parameter-passing and message-passing > extensively, but to me globals feel right for quite a lot of things. > > I shall now wait for someone to tell me why this is a really wrong- > headed approach. I'm always willing to learn - really. > > Graham > > > ---------------------------------------- > Graham Samuel / The Living Fossil Co. / UK and France > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 2 18:38:38 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 02 Apr 2007 15:38:38 -0700 Subject: ShellCommand Changed? In-Reply-To: <20070402133914383875.c235855c@sonsothunder.com> Message-ID: On 4/2/07 11:39 AM, "Ken Ray" wrote: > if char -7 to -1 of the shellCommand = "cmd.exe" then > > (although the likelihood there might be "cmd.exe" in the path and have > it NOT be the target file is extremely small). Perhaps this would be a little safer: if char -8 to -1 of ("\" & the shellCommand) = "\cmd.exe" then Jim Ault Las Vegas On 4/2/07 11:39 AM, "Ken Ray" wrote: > On Mon, 02 Apr 2007 10:50:57 -0700, Scott Rossi wrote: > >> When starting up Rev 2.8 on Windows (Vista), the shellCommand property is >> set to "cmd.exe". After running revGoURL to launch a Web browser, the >> shellCommand is set to the full disk path to cmd.exe. >> >> Is this expected behavior? I believe this breaks previous usage of shell >> command, in that now one must script: >> >> if "cmd.exe" is in the shellCommand... >> >> Or did this change some time ago and I just missed it? > > Yup, I just checked, and this goes all the way back to 2.1.2. I didn't > know this was the case however, so you're right - any code that does: > > if the shellCommand = "cmd.exe" then > > will fail and you'd need to use the "is in" construct you mentioned > above. To be 100% sure, you'd need to do this: > > if char -7 to -1 of the shellCommand = "cmd.exe" then > > (although the likelihood there might be "cmd.exe" in the path and have > it NOT be the target file is extremely small). From chipp at chipp.com Mon Apr 2 18:48:29 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 2 Apr 2007 17:48:29 -0500 Subject: Framed In-Reply-To: <46106AF1.000005.03628@CALSBIGPC> References: <46106AF1.000005.03628@CALSBIGPC> Message-ID: <7aa52a210704021548n6f24d199ve28a1fe517188e46@mail.gmail.com> Cal, On 4/1/07, Cal Horner wrote: > I was trying to keep from starting another long discussion as to the merits > of Rev. > To me Rev is a tool set that works well when one is creating an application > that is used in one or two offices > > But, if you are committed to a large project, and I'm not necessarily > advocating large projects, you should have a different set of tools in mind > I agree with your first statement, but can't let the second one go without some sort of rebuttal. I would suggest Rev is a tool that works best for creating an application where only a handful of developers are building it. There a numerous examples of commercial Rev apps being used in more than a couple of offices. But, having lots of programmers working on the same Rev app, becomes difficult. Not knowing your definition of a "Large Project", it's hard to critique that statement. But currently I'm working on a large (IMO) CRM and Business Process project management software app, designed to deploy to of thousands of users, and includes contact management, calendaring, messaging, business process management including reports and graphs, full administration capabilities, coaching and more. It's taken 6 months just to blueprint the project and create the interfaces for the 30+ stacks including 12+ files. Currently there are: Total number of controls: 7828 Total number of buttons: 1285 Total number of custom images for buttons and other: 1552 Total number of fields: 633 And we're not done yet, by a long shot. It will end up being programmed by 2 Rev programmers (perhaps with some help from a few others) and a couple server guys. -Chipp From devin_asay at byu.edu Mon Apr 2 18:49:44 2007 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 2 Apr 2007 16:49:44 -0600 Subject: What's wrong with Globals? In-Reply-To: References: Message-ID: <10D99DBC-E66E-4841-8C3E-BCE8B5C80A19@byu.edu> On Apr 2, 2007, at 4:27 PM, Joe Lewis Wilkins wrote: > Graham and everyone else who is interested or should be, > > Since I started this thread with what I thought was a fairly naive > question with a pretty obvious conclusion, perhaps I should > summarize the input - if that is possible, what with some of the > quite lengthy monologues. > > I believe that Richard and Jim have made the most poignant > arguments both for and against the use of globals; and I was > leaning very sharply in the CP direction until Graham made a very > good point: CPs do tend to involve writing a lot more code, and I > have to learn something that I've not used before; hence probably > subject to some errors in usage on my part - typos and otherwise. No one has mentioned what may be the most compelling reason to use custom properties in certain cases--the setProp structure. I used this for the first time about a year ago (I just had never noticed it before) and it opened up a whole new world for me. In a nutshell, one can use a setProp structure, whenever a custom property's value is set, to do whatever one wants. For instance, I was recently writing an app in which certain visual and behavioral things needed to change when a sound file was playing versus stopped. So I created a custom property isPlaying for the card and did something like this: setProp isPlaying if isPlaying then set the icon of btn "play" to disable field "dialog" else set the icon of btn "play" to enable field "dialog" end if pass isPlaying end isPlaying Every time I start playing the sound file I also set the isPlaying of the card to true, then set it to false again when it stops. I've simplified the example here quite a bit, but this structure makes it much easier than trying to remember in which handlers you need to enable/disable things, change icons, etc. You can also use setProp structures to validate data, to make sure it's in the property format or type or whatever. Cheers. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Mon Apr 2 18:51:41 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Apr 2007 17:51:41 -0500 Subject: What's wrong with Globals? In-Reply-To: References: Message-ID: <461188FD.9090107@hyperactivesw.com> Joe Lewis Wilkins wrote: > CPs do tend to > involve writing a lot more code, and I have to learn something that I've > not used before; hence probably subject to some errors in usage on my > part - typos and otherwise. Custom properties aren't any different than built-in properties, really. They don't take any more code, and you don't have to learn anything new. You probably use properties all the time without even thinking about it: put the name of btn 1 into var set the name of btn 1 to var CPs are just the same: put the myprop of btn 1 into var set the myprop of btn 1 to var They're identical. The only difference is that you can define an unlimited number of properties; you aren't confined to the finite set the engine provides. Forget about custom property sets for now, and ignore the array notation; just the above is very useful all by itself. After you've done some playing around with the above, dividing CPs into sets will fall into place naturally with very little mental adjustment. I think this is a tricky concept to grok when first moving from HC, because HC has neither custom properties nor arrays. New HC converts might be better served by deleting all references to arrays in list posts until they've experimented with the basic constructs first. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From fmoyer at aol.com Mon Apr 2 19:20:29 2007 From: fmoyer at aol.com (Fred moyer) Date: Mon, 2 Apr 2007 19:20:29 -0400 Subject: Mysterious Processor Use - Again Message-ID: I saw a post to the list from back in April, 2006 about this. I'm seeing it now with Rev. 2.8. For no apparent reason, the fan on my Powerbook will turn on. I open Activity Monitor and see that Revolution is hogging the CPU with 40 - 70% of the CPU. I have no pendingmessages, no throbbing default buttons, no players. Whenever this happens I start closing stacks. Inevitably, it is when I shut a palette that the Activity Monitor goes down to normal. Just now it was after I closed the "Message Box" that the racing stopped. Does anyone know about this? Is it a bug? Is there some handler desperately trying to keep a palette frontmost that is causing the problem? I don't have a recipe -- it is intermittent. From ambassador at fourthworld.com Mon Apr 2 19:32:44 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Apr 2007 16:32:44 -0700 Subject: Mysterious Processor Use - Again Message-ID: <4611929C.3030207@fourthworld.com> Fred moyer wrote: > I saw a post to the list from back in April, 2006 about this. I'm > seeing it now with Rev. 2.8. For no apparent reason, the fan on my > Powerbook will turn on. I open Activity Monitor and see that > Revolution is hogging the CPU with 40 - 70% of the CPU. I have no > pendingmessages, no throbbing default buttons, no players. > > Whenever this happens I start closing stacks. Inevitably, it is when > I shut a palette that the Activity Monitor goes down to normal. Just > now it was after I closed the "Message Box" that the racing stopped. > Does anyone know about this? Is it a bug? Is there some handler > desperately trying to keep a palette frontmost that is causing the > problem? I don't have a recipe -- it is intermittent. Seems like you found the cause: global variables can be updated at any time by any script, so the Variable Watcher posts messages to itself to update periodically so it can show current values. 70% sounds a bit high, and may warrant an enhancement request. I don't know the frequency of updates, but my hunch is that they could probably do the update less often and no one would notice but it would free up some clock cycles. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Mon Apr 2 19:35:15 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 02 Apr 2007 16:35:15 -0700 Subject: Startup without IDE on Windows? Message-ID: Is there a key combination for this? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From list at dreamscapesoftware.com Mon Apr 2 19:38:44 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Mon, 02 Apr 2007 18:38:44 -0500 Subject: copy protection In-Reply-To: <4611018B.000001.02088@MAZYTIS> References: <74270.2624.qm@web37501.mail.mud.yahoo.com> <4611018B.000001.02088@MAZYTIS> Message-ID: <46119404.5010708@dreamscapesoftware.com> Viktoras Didziulis wrote: > what tricks do you usually use to tie an application to a CD to prevent it > from being copied ? Are there any "native" tricks that can be implemented in > Rev? Well, I do believe that Sony attempted to use the AutoStart feature of most systems on a root level in order to thwart the copy of discs... but then some hackers figured out a way to exploit Sony's software to deliver viruses. And I'm pretty sure Sony was sued and lost. I don't know the specifics, but I would do some searches. Derek Bump Dreamscape Software ____________________________________________ Compress photos easily with JPEGCompress www.dreamscapesoftware.com From pepetoo at Cox.Net Mon Apr 2 20:07:59 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 2 Apr 2007 17:07:59 -0700 Subject: What's wrong with Globals? In-Reply-To: <461188FD.9090107@hyperactivesw.com> References: <461188FD.9090107@hyperactivesw.com> Message-ID: <3479E64B-45DD-44AF-9C53-8543CE86BE60@Cox.Net> Jacque, That was more or less my intention. BTW, I haven't heard the word GROK in ages. Somewhat similar origin timeframe to that of the word GOOGLE or Robbie the Robot, if I'm not mistaken. Joe Wilkins On Apr 2, 2007, at 3:51 PM, J. Landman Gay wrote: > Joe Lewis Wilkins wrote: >> CPs do tend to >> involve writing a lot more code, and I have to learn something >> that I've not used before; hence probably subject to some errors >> in usage on my part - typos and otherwise. > > Custom properties aren't any different than built-in properties, > really. They don't take any more code, and you don't have to learn > anything new. You probably use properties all the time without even > thinking about it: > > put the name of btn 1 into var > set the name of btn 1 to var > > CPs are just the same: > > put the myprop of btn 1 into var > set the myprop of btn 1 to var > > They're identical. The only difference is that you can define an > unlimited number of properties; you aren't confined to the finite > set the engine provides. > > Forget about custom property sets for now, and ignore the array > notation; just the above is very useful all by itself. After you've > done some playing around with the above, dividing CPs into sets > will fall into place naturally with very little mental adjustment. > > I think this is a tricky concept to grok when first moving from HC, > because HC has neither custom properties nor arrays. New HC > converts might be better served by deleting all references to > arrays in list posts until they've experimented with the basic > constructs first. :) > > -- > 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 scott at tactilemedia.com Mon Apr 2 20:12:23 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 02 Apr 2007 17:12:23 -0700 Subject: Grappling Hook? Message-ID: I have a situation with a reliable crash that I believe I have found a workaround for, but I don't understand why it works. Perhaps someone can hazard a guess as to why? I've built a Windows Rev app that runs from a USB stick which launches a 3rd party app, and can open a directory on the stick for the user. The problem is, when these actions are done in this order, and then the Rev-app is shut down, the Rev app crashes. These are the steps and pseudo-code that lead to the crash: launch pathTo3rdPartyApp.exe get shell("start explorer.exe /root," & quote & pathToDirectory & quote) stop using stack myTempLibraryStack delete stack myTempLibraryStack quit When the above events occur in the described order, I get a reliable crash. On a whim, I placed "get the openProcesses" before I stop using the library stack, and it seems I can quit without a problem. It's almost as if the combination of launching the 3rd party app and opening the desktop folder apply some kind of grappling hook to the system that refuses to release unless the openProcesses is queried. Possible explanations? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From jacque at hyperactivesw.com Mon Apr 2 21:00:01 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Apr 2007 20:00:01 -0500 Subject: Startup without IDE on Windows? In-Reply-To: References: Message-ID: <4611A711.3000509@hyperactivesw.com> Scott Rossi wrote: > Is there a key combination for this? You can double-click a stack with the command key held down. It's the opposite of MC's behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 2 21:01:29 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Apr 2007 20:01:29 -0500 Subject: Startup without IDE on Windows? In-Reply-To: <4611A711.3000509@hyperactivesw.com> References: <4611A711.3000509@hyperactivesw.com> Message-ID: <4611A769.1010203@hyperactivesw.com> J. Landman Gay wrote: > Scott Rossi wrote: >> Is there a key combination for this? > > You can double-click a stack with the command key held down. It's the > opposite of MC's behavior. > Oops. Doesn't seem to work any more. :( -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 2 21:12:38 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Apr 2007 20:12:38 -0500 Subject: What's wrong with Globals? In-Reply-To: <3479E64B-45DD-44AF-9C53-8543CE86BE60@Cox.Net> References: <461188FD.9090107@hyperactivesw.com> <3479E64B-45DD-44AF-9C53-8543CE86BE60@Cox.Net> Message-ID: <4611AA06.9000905@hyperactivesw.com> Joe Lewis Wilkins wrote: > Jacque, > > That was more or less my intention. BTW, I haven't heard the word GROK > in ages. Somewhat similar origin timeframe to that of the word GOOGLE or > Robbie the Robot, if I'm not mistaken. Coined by Heinlein, in "Stranger in a Strange Land", 1961. It's in dictionaries now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tereza at califex.com Mon Apr 2 21:16:22 2007 From: tereza at califex.com (Tereza Snyder) Date: Mon, 2 Apr 2007 20:16:22 -0500 Subject: What's wrong with Globals? In-Reply-To: <3479E64B-45DD-44AF-9C53-8543CE86BE60@Cox.Net> References: <461188FD.9090107@hyperactivesw.com> <3479E64B-45DD-44AF-9C53-8543CE86BE60@Cox.Net> Message-ID: <1A5738D9-A048-4F78-9431-899CECE96D7E@califex.com> On Apr 2, 2007, at 7:07 PM, Joe Lewis Wilkins wrote: > That was more or less my intention. BTW, I haven't heard the word > GROK in ages. Somewhat similar origin timeframe to that of the word > GOOGLE or Robbie the Robot, if I'm not mistaken. "Grok" comes from Robert Heinlein's "Stranger in a Strange Land" ca. 1963! A landmark of my adolescence. t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From JimAultWins at yahoo.com Mon Apr 2 22:31:14 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 02 Apr 2007 19:31:14 -0700 Subject: What's wrong with Globals? In-Reply-To: Message-ID: Just a quick perspective, nothing long or involved, and no code. Off the top of my head I think there are a few people who would like custom properties and grok them right away --object oriented programmers (OOP) like Flash --database designers, organizing lots of related tables --graphic designers. Yep, graphic designers Anyone who is proficient with Photoshop works with images in layers. Each layer can have numerous properties (visible, opacity, blend level, gradient, pixels). This is essential in their work. It is a visual array of properties stored with each layer. Three layers can have exactly the same properties (copies of each other) except layer number. Three buttons in Rev can have exactly the same custom properties, and the same built-in properties except number, id, and layer. I agree that your style of programming is better served by using globals. There are pitfalls and extra attention to detail required for both methods. Jim Ault Las Vegas On 4/2/07 3:27 PM, "Joe Lewis Wilkins" wrote: > Graham and everyone else who is interested or should be, > > Since I started this thread with what I thought was a fairly naive > question with a pretty obvious conclusion, perhaps I should summarize > the input - if that is possible, what with some of the quite lengthy > monologues. > > I believe that Richard and Jim have made the most poignant arguments > both for and against the use of globals; and I was leaning very > sharply in the CP direction until Graham made a very good point: CPs > do tend to involve writing a lot more code, and I have to learn > something that I've not used before; hence probably subject to some > errors in usage on my part - typos and otherwise. > > So I intend to learn the CP approach down the road a bit, but > continue in the meanwhile with my use of Globals as I have in the > past. The code for CPs IS pretty "elaborate" and not totally > intuitive; at least to me. I can definitely see some advantages to > the CP approach, but maybe I'm too far gone to change at this point > in my life. Hey! I wouldn't even be using RR at all were it not for > Apple's failure to support HC on OSX. I used HC last night to make a > material list that I needed to parse and get to the manufacturer this > morning. It didn't need to be cross platform or even in color, so... > Of course I did it on my 9.2 Mac; something I'll probably keep around > for many years to come, though I'd love to get a new one on which I > can run 9.2. It was a great OS! > > Thanks to everyone for their opinions and perspectives. I think we > all learned a lot. > From wjm at wjm.org Mon Apr 2 23:38:22 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 2 Apr 2007 23:38:22 -0400 Subject: Mysterious Processor Use - Again References: <4611929C.3030207@fourthworld.com> Message-ID: Would this be handled by idleRate? > 70% sounds a bit high, and may warrant an enhancement request. I don't > know the frequency of updates, but my hunch is that they could probably do > the update less often and no one would notice but it would free up some > clock cycles. From ambassador at fourthworld.com Mon Apr 2 23:51:36 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Apr 2007 20:51:36 -0700 Subject: Mysterious Processor Use - Again Message-ID: <4611CF48.4050700@fourthworld.com> Bill Marriott wrote: >> 70% sounds a bit high, and may warrant an enhancement request. >> I don't know the frequency of updates, but my hunch is that >> they could probably do the update less often and no one would >> notice but it would free up some clock cycles. > > Would this be handled by idleRate? Hard to say since it was just a wild guess. But as long as I'm guessing, I'll guess that they're using "send in x millisecs", where "x" is a value that could be a bit larger. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From userev at canelasoftware.com Tue Apr 3 00:08:42 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 02 Apr 2007 21:08:42 -0700 Subject: copy protection In-Reply-To: <4611018B.000001.02088@MAZYTIS> References: <74270.2624.qm@web37501.mail.mud.yahoo.com> <4611018B.000001.02088@MAZYTIS> Message-ID: <596C0139-BAD6-474E-A645-21BDA59EB9DC@canelasoftware.com> On Apr 2, 2007, at 6:13 AM, Viktoras Didziulis wrote: > Hi, > what tricks do you usually use to tie an application to a CD to > prevent it > from being copied ? Are there any "native" tricks that can be > implemented in > Rev? No extremely strong protection is required, just to prevent > ordinary > users copying and redistributing a live cd database app until about > 200 > copies of it are sold. Well I know the most simple way is to write > "Please > do not make copies of this CD", but usually it is not very > efficient ;-) Preventing a CD from being copied is not possible. Preventing content on a CD from being usable after being copied is possible to some degree. If your product fills a small niche, then you have a chance with protection. It just won't be worth cracking if the app does not apply to the general public or provide some notoriety of some sort. Mark Talluto -- CANELA Software http://www.canelasoftware.com From cowhead at mac.com Tue Apr 3 00:23:36 2007 From: cowhead at mac.com (www.MeltingPotBar.com) Date: Tue, 3 Apr 2007 13:23:36 +0900 Subject: Lost All Audioclip playback on Intel Mac Message-ID: <00E00A52-18C7-4673-80F1-3E3624B20AC2@mac.com> All audioclips have stopped playing on the intel. The same stacks have normal audio on other machines. Have downloaded a new version of both media and studio for the intel but to no avail. I can import a new audioclip, it shows it is there, but it is totally silent. It will however, play external files with a player just fine. Attempts to play from the message box result in silence, but it puts a number in the return field, which increases by 1 each time you attempt to play. Put the playLoudness returns either 0 or 65,750. Trying to set the playLoudness from the messagebox does not yield an error, but it also does not seem to change as "put the playLoudness" immediately afterwards shows no change in number. Any help or similar experiences would be greatly appreciated! Mark in Japan From jacque at hyperactivesw.com Tue Apr 3 00:45:14 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Apr 2007 23:45:14 -0500 Subject: Lost All Audioclip playback on Intel Mac In-Reply-To: <00E00A52-18C7-4673-80F1-3E3624B20AC2@mac.com> References: <00E00A52-18C7-4673-80F1-3E3624B20AC2@mac.com> Message-ID: <4611DBDA.9020407@hyperactivesw.com> www.MeltingPotBar.com wrote: > All audioclips have stopped playing on the intel. The same stacks have > normal audio on other machines. Have downloaded a new version of both > media and studio for the intel but to no avail. I can import a new > audioclip, it shows it is there, but it is totally silent. It will > however, play external files with a player just fine. Attempts to play > from the message box result in silence, but it puts a number in the > return field, which increases by 1 each time you attempt to play. Put > the playLoudness returns either 0 or 65,750. Trying to set the > playLoudness from the messagebox does not yield an error, but it also > does not seem to change as "put the playLoudness" immediately afterwards > shows no change in number. > Any help or similar experiences would be greatly appreciated! This happens to me every time I run Audacity. Apple has a Knowledge Base article about it: Basically, some apps set the sample rate higher than other apps can play back. It isn't just Rev; I also lose all system sounds when it happens. You need to use MIDI Setup to reset your audio sample rate to 44100.0 Hz. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at Cox.Net Tue Apr 3 01:28:47 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 2 Apr 2007 22:28:47 -0700 Subject: Today's Macinstruct Podcast In-Reply-To: <430B7202-14AF-4753-819E-8002B14B6097@widged.com> References: <430B7202-14AF-4753-819E-8002B14B6097@widged.com> Message-ID: <304118E2-F69D-4EAE-BA89-1D97269CBC43@Cox.Net> In case have not recently visited and viewed today's Podcast presentation of an interview with Robin Williams, the Mac author, it would be well worth your time. I always thought Robin was a comedian. Well, she is a little funny, but you be the judge. Joe Wilkins From lan.kc.macmail at gmail.com Tue Apr 3 01:29:14 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 3 Apr 2007 13:29:14 +0800 Subject: exportscripts.rev In-Reply-To: References: Message-ID: On 3/30/07, Jerry Daniels wrote: > > I'm sorry, but I CANNOT confirm that. Use the tool menu on Galaxy > Projects to find and replace a string. I apologise Jerry, I should have been more specific, Unfortunately many of my opportunities to post to the list are when I'm away from my Rev computer so I'm posting from (leaking) memory. This is with Galaxy Free 1.5.0r11, OSX 10.4.9, Rev Studio 2.8.0 build 370. With Galaxy Free there is no 'Projects' so I use the Rev IDE to do Stack wide Find and Replace All. Although returning to the Galaxy Free Script Editor shows that the script is now 'dirty', the Find and Replace All has not changed anything. As soon as you 'apply' or save your stack you are back to as it was before the Find and Replace All. I can't seem to figure out how to do a stack wide Find and Replace All with Galaxy Free running. The simple work around is not to have Galaxy Free running on the few occasions I decide to do a Stack wide Find and Replace All; a small price to pay for such an excellent Free product. I hope this clarifies why I made the original post:-) From JimAultWins at yahoo.com Tue Apr 3 02:53:31 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 02 Apr 2007 23:53:31 -0700 Subject: Lost All Audioclip playback on Intel Mac In-Reply-To: <00E00A52-18C7-4673-80F1-3E3624B20AC2@mac.com> Message-ID: yes, what Jaque said, but I also had the experience where reboot reset the volume to less than 50%. I thought my speakers had gone bad. Jim Ault Las Vegas On 4/2/07 9:23 PM, "www.MeltingPotBar.com" wrote: > All audioclips have stopped playing on the intel. The same stacks > have normal audio on other machines. Have downloaded a new version > of both media and studio for the intel but to no avail. I can import > a new audioclip, it shows it is there, but it is totally silent. It > will however, play external files with a player just fine. Attempts > to play from the message box result in silence, but it puts a number > in the return field, which increases by 1 each time you attempt to > play. Put the playLoudness returns either 0 or 65,750. Trying to > set the playLoudness from the messagebox does not yield an error, but > it also does not seem to change as "put the playLoudness" immediately > afterwards shows no change in number. > Any help or similar experiences would be greatly appreciated! > > Mark in Japan From pepetoo at Cox.Net Tue Apr 3 02:54:42 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 2 Apr 2007 23:54:42 -0700 Subject: Menu stays hilited In-Reply-To: <304118E2-F69D-4EAE-BA89-1D97269CBC43@Cox.Net> References: <430B7202-14AF-4753-819E-8002B14B6097@widged.com> <304118E2-F69D-4EAE-BA89-1D97269CBC43@Cox.Net> Message-ID: Not terrible, but when I make a certain Menu selection it acts as expected; but, when the associated commandkey is used, the action expected is performed but the menu remains hilited. I even added an "unhilite" menu at the appropriate place - but no luck. Ideas? The item, in case it may be relevant, stops music playing and is only available when music IS playing. TIA, Joe Wilkins From simon.harper at manchester.ac.uk Tue Apr 3 03:49:16 2007 From: simon.harper at manchester.ac.uk (Simon HARPER) Date: Tue, 3 Apr 2007 08:49:16 +0100 Subject: What's wrong with Globals? In-Reply-To: References: Message-ID: So as a newbie, would I be right in thinking that you can call any function from the library stack in any other stack, or must the library stack be the mainstack. Also you say "put 'in use' at startup" do you have to do this via a specific command? Cheers Si. ==== Simon Harper 2.44 Kilburn Building University of Manchester (UK) Pri: simon.harper at manchester.ac.uk Alt: sharper at cs.man.ac.uk On 2 Apr 2007, at 23:20, Mark Smith wrote: > Well, I'm certainly not going to presume to criticise your method, > but in the spirit of "you show me yours, I'll show you mine", what > I tend to do is to have a stack in my apps which is put 'in use' at > startup, and which has various getters and setters. The actual data > it returns could be in cps, script locals, text files, databases or > somewhere on t'internet, the calling handlers don't have to know. So: > > answer gcOK() in a handler calls the gcOK() function in my library > stack which might be > > function gcOK > return "OK?" -- literal > end gcOK > > or > > function cgOK > return the okMessage of me -- cp > end gcOK > > or > > function gcOK > return sOkMessage -- script local > end gcOK > > or > > function gcOK > get URL (http://www.google.com/search?q=OK" > --parse html and find what you need > return whatYouFound > end gcOK > > etc. > > This approach proved very handy indeed recently, when the data > (retrieved from the web) for one of my apps changed format, but all > I had to do was re-write a couple of getter functions, the job was > done, and I felt quite smug. > > Script locals are quite a neat way of achieving data-hiding when > used this way. > > Best, > > Mark > > > > On 2 Apr 2007, at 23:53, Graham Samuel wrote: > >> Forgive me if this conversation has ended, but my internet >> connection has been in meltdown... just got back on line. >> >> I most frequently use globals because there aren't global >> constants. I use them very largely for strings containing stuff >> like error messages or even very simple strings like "OK", so that >> I can refer to these indirectly in scripts, thus allowing me to >> switch (human) languages by redefining the globals in just one >> script of the program. I guess I could have used custom property >> sets with exactly the same effect, and with the advantage that I >> wouldn't have to initialise them during the startup of my app, but >> like many others I didn't understand these when I started, and I >> tend to re-use stuff I wrote before. I guess there isn't much >> difference between writing >> >> answer gcOK -- 'gcOK' is a global with a string in it. >> >> and >> >> answer (the gcOK of stack "allTheConstantStrings") -- 'the gcOK' >> is a property of some object. >> >> but the second statement seems to have more characters in it, >> since it involves referring to the object in which the property is >> stored. If there are a lot of such references, my scripts are >> going to get longer. >> >> I also use globals when I have a quantity which needs to be used >> in different scripts in different stacks, i.e globally: a very >> obvious point, but I really don't see what is wrong with that. I >> do accept that I have to be disciplined about changing their >> values. I do use properties (I tend to use these for global status >> stuff like 'the soundOn of this stack'), parameter-passing and >> message-passing extensively, but to me globals feel right for >> quite a lot of things. >> >> I shall now wait for someone to tell me why this is a really wrong- >> headed approach. I'm always willing to learn - really. >> >> Graham >> >> >> ---------------------------------------- >> Graham Samuel / The Living Fossil Co. / UK and France >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 at maseurope.net Tue Apr 3 04:14:24 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 3 Apr 2007 10:14:24 +0200 Subject: What's wrong with Globals? In-Reply-To: References: Message-ID: <9C10DFE8-D590-4EB3-AA0B-5DE360B4B008@maseurope.net> Si, the syntax is , which puts the script of stack "someStack" into the message path ie. available to all other open stacks. The script of a mainstack of an app is already in the message path, so you wouldn't need to put a mainstack 'in use'. is probably the most common way that library stacks (stacks containing lots of re-usable handlers) are implemented. Many of us have built up collections of generally useful handlers which we put in a library stack, and put 'in use' (both in compiled apps, and in the IDE) so we don't have to re-write them for every project. For instance, quite a few people coming to Rev from other languages ask here about a 'trim' function (to trim white space from the beginning and end of a string), which is not a built in function, but is very commonly wanted, so many of us will have written one like: function trim pString return word 1 to -1 of pString end trim and rather than having to write this function for every project, you can put it in the script of a library stack containing many such useful functions, and copy that stack into each project you start, and put it 'in use' at startup. It also makes it possible for people to write libraries of handlers that they can then share with or sell to others. RevOnline contains many libraries that people have decided to share, and so there is a great deal of extra functionality available to us that is not part of the regular Rev install. Best, Mark On 3 Apr 2007, at 09:49, Simon HARPER wrote: > So as a newbie, would I be right in thinking that you can call any > function from the library stack in any other stack, or must the > library stack be the mainstack. Also you say "put 'in use' at > startup" do you have to do this via a specific command? > > > Cheers > Si. > > ==== > Simon Harper > 2.44 Kilburn Building > University of Manchester (UK) > > Pri: simon.harper at manchester.ac.uk > Alt: sharper at cs.man.ac.uk > > > On 2 Apr 2007, at 23:20, Mark Smith wrote: > >> Well, I'm certainly not going to presume to criticise your method, >> but in the spirit of "you show me yours, I'll show you mine", what >> I tend to do is to have a stack in my apps which is put 'in use' >> at startup, and which has various getters and setters. The actual >> data it returns could be in cps, script locals, text files, >> databases or somewhere on t'internet, the calling handlers don't >> have to know. So: >> >> answer gcOK() in a handler calls the gcOK() function in my library >> stack which might be >> >> function gcOK >> return "OK?" -- literal >> end gcOK >> >> or >> >> function cgOK >> return the okMessage of me -- cp >> end gcOK >> >> or >> >> function gcOK >> return sOkMessage -- script local >> end gcOK >> >> or >> >> function gcOK >> get URL (http://www.google.com/search?q=OK" >> --parse html and find what you need >> return whatYouFound >> end gcOK >> >> etc. >> >> This approach proved very handy indeed recently, when the data >> (retrieved from the web) for one of my apps changed format, but >> all I had to do was re-write a couple of getter functions, the job >> was done, and I felt quite smug. >> >> Script locals are quite a neat way of achieving data-hiding when >> used this way. >> >> Best, >> >> Mark >> >> >> >> On 2 Apr 2007, at 23:53, Graham Samuel wrote: >> >>> Forgive me if this conversation has ended, but my internet >>> connection has been in meltdown... just got back on line. >>> >>> I most frequently use globals because there aren't global >>> constants. I use them very largely for strings containing stuff >>> like error messages or even very simple strings like "OK", so >>> that I can refer to these indirectly in scripts, thus allowing me >>> to switch (human) languages by redefining the globals in just one >>> script of the program. I guess I could have used custom property >>> sets with exactly the same effect, and with the advantage that I >>> wouldn't have to initialise them during the startup of my app, >>> but like many others I didn't understand these when I started, >>> and I tend to re-use stuff I wrote before. I guess there isn't >>> much difference between writing >>> >>> answer gcOK -- 'gcOK' is a global with a string in it. >>> >>> and >>> >>> answer (the gcOK of stack "allTheConstantStrings") -- 'the >>> gcOK' is a property of some object. >>> >>> but the second statement seems to have more characters in it, >>> since it involves referring to the object in which the property >>> is stored. If there are a lot of such references, my scripts are >>> going to get longer. >>> >>> I also use globals when I have a quantity which needs to be used >>> in different scripts in different stacks, i.e globally: a very >>> obvious point, but I really don't see what is wrong with that. I >>> do accept that I have to be disciplined about changing their >>> values. I do use properties (I tend to use these for global >>> status stuff like 'the soundOn of this stack'), parameter-passing >>> and message-passing extensively, but to me globals feel right for >>> quite a lot of things. >>> >>> I shall now wait for someone to tell me why this is a really >>> wrong-headed approach. I'm always willing to learn - really. >>> >>> Graham >>> >>> >>> ---------------------------------------- >>> Graham Samuel / The Living Fossil Co. / UK and France >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 jbv.silences at club-internet.fr Tue Apr 3 04:47:25 2007 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 03 Apr 2007 10:47:25 +0200 Subject: Question (more or less) about arrays Message-ID: <4612149C.3FD494DF@club-internet.fr> Hi all, Please test this little script : on mouseUp put 0 into var[1] put 0 into var[2] if var = empty then put 0 else put 1 end if end mouseUp In order to check if array "var" contains any element, the following test must be used instead : if the keys of var = empty then I was just wondering if you guys would find this behaviour "normal" ? I've just lost more than 1 hour trying to debug a script in which I need to test the content of different variables (some arrays, some made of lines of items), and thought (naively ?) that any array would be considered as "not empty" as soon as it contains at least 1 key... Obviously I was wrong, as it seems that "empty" applies only to variables containing straight text... I don't have any recent Rev doc at hand, only an old MC version, and the doc doesn't say much on this topic... May be Rev docs are more explicit... Best, JB From mark at maseurope.net Tue Apr 3 04:58:47 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 3 Apr 2007 10:58:47 +0200 Subject: Question (more or less) about arrays In-Reply-To: <4612149C.3FD494DF@club-internet.fr> References: <4612149C.3FD494DF@club-internet.fr> Message-ID: JB, there are various requests in place at the qa center for enhancements to both the implementation and documentation of arrays in Rev (type 'array' into the search field, and you'll see them). As it stands, Revs arrays are just different from normal variables, and what you've found is the normal behaviour, so maybe you might want to vote for a documentation update at least. Best, Mark On 3 Apr 2007, at 10:47, jbv wrote: > Hi all, > > Please test this little script : > > on mouseUp > put 0 into var[1] > put 0 into var[2] > if var = empty then > put 0 > else > put 1 > end if > end mouseUp > > In order to check if array "var" contains any element, > the following test must be used instead : > if the keys of var = empty then > > I was just wondering if you guys would find this behaviour > "normal" ? I've just lost more than 1 hour trying to debug a > script in which I need to test the content of different variables > (some arrays, some made of lines of items), and thought > (naively ?) that any array would be considered as "not empty" > as soon as it contains at least 1 key... > Obviously I was wrong, as it seems that "empty" applies only > to variables containing straight text... > > I don't have any recent Rev doc at hand, only an old MC version, > and the doc doesn't say much on this topic... May be Rev docs > are more explicit... > > Best, > 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 jc at spl21.net Tue Apr 3 05:10:00 2007 From: jc at spl21.net (John Craig) Date: Tue, 03 Apr 2007 10:10:00 +0100 Subject: Export snapshot - with mouse cursor Message-ID: <461219E8.90204@spl21.net> Does anyone know if it's possible to include the mouse cursor using 'export snapshot'? Thanks, JC From joel.guillod at net2000.ch Tue Apr 3 05:29:45 2007 From: joel.guillod at net2000.ch (Joel Guillod) Date: Tue, 3 Apr 2007 11:29:45 +0200 Subject: is that a bug? In-Reply-To: <20070329165235.EEDB5489074@mail.runrev.com> References: <20070329165235.EEDB5489074@mail.runrev.com> Message-ID: <3FF2C9DB-163E-49EA-89B5-7718CDCE025B@net2000.ch> This expression returns the expected result: selectedNode() is the cEditedNodeID of grp "grClassEditor" But when exchanging the two operands the following expressions do always return TRUE even with (): the cEditedNodeID of grp "grClassEditor" is selectedNode() (the cEditedNodeID of grp "grClassEditor") is selectedNode() I am absolutely sure of the values returned by both operands and make extensive check for this surprising result. Same result on 2.8.0,370 and 2.7.4,291: Is this a bug? Or can anyone give me some ligth? Thanks JG From viktoras at ekoinf.net Tue Apr 3 05:34:49 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Tue, 3 Apr 2007 12:34:49 +0300 (FLE Daylight Time) Subject: copy protection References: <596C0139-BAD6-474E-A645-21BDA59EB9DC@canelasoftware.com> Message-ID: <46121FB9.000001.00492@MAZYTIS> Exactly. Can somebody share a few tricks to make content on a CD being unusable after being copied? Its a small niche soft (specialized biodiversity database and an e-book). Likely there will be no attempts to crack it, however we would like to be able to sell at least 200 copies of the CD before illegal copies made by ordinary users start circulating around Viktoras >Preventing content on a CD from being usable after being copied is possible to >some degree. If your product fills a small niche, then you have a >chance with protection. It just won't be worth cracking if the app >does not apply to the general public or provide some notoriety of >some sort. >Mark Talluto -- >CANELA Software >http://www.canelasoftware.com From eric.chatonet at sosmartsoftware.com Tue Apr 3 07:33:19 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 3 Apr 2007 13:33:19 +0200 Subject: How to get a JPEG from a favicon file? Message-ID: <3985B7EE-8BED-40AC-A6BB-386C37BA25A0@sosmartsoftware.com> Hello, Of course this is on Win32. I would like to display fav icons into an urls list (handling such a list is not the problem ;-) I'm able to retrieve a favicon.ico file from a website. But then how can I get an image that will be able to be displayed in Rev from such a file? Any idea really welcome :-) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From larsbrehmer at mac.com Tue Apr 3 08:31:02 2007 From: larsbrehmer at mac.com (Lars Brehmer) Date: Tue, 03 Apr 2007 12:31:02 -0000 Subject: find and replace Message-ID: Hi all, I am trying to duplicate the find and replace tool in the rev IDE in a button script. I have a large project in macOSX that needs a few dozen little tweeks when I make a Windows standalone. I put these all into a button so when I make a new Windows standalone just one click gives me all the little changes. The one thing I haven't succeeded in is a single word that appears in about 20 button and stack scripts. It seems that "visualEffect reval" needs to be "visualEffect wipe" to get the same result in Windows. So for now I just do a find and replace with the "scripts" box checked, but it would be nice to include this in my tweek button in order to doo all tweeks without opening Rev. I assume it's just a question of getting the syntax correct for: replace "reveal" with "wipe" in this stack and its stack files -- using the find and replace tool with scripts checked What should it be? Cheers, Lars From m.schonewille at economy-x-talk.com Tue Apr 3 08:37:40 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 3 Apr 2007 14:37:40 +0200 Subject: How to get a JPEG from a favicon file? In-Reply-To: <3985B7EE-8BED-40AC-A6BB-386C37BA25A0@sosmartsoftware.com> References: <3985B7EE-8BED-40AC-A6BB-386C37BA25A0@sosmartsoftware.com> Message-ID: <858C3BA7-0ECA-43A7-8A0F-2D59179D31CF@economy-x-talk.com> Hi Eric, If you're lucky, the format of the favicon file is in a well-known picture format, like PNG, GIF etc. You should be able to check the headers of the file and treat it accordingly. Just set the imagedata of your image object to the data of the ico file. If you're not lucky, the file is really in ico format. It is possible to analyse it and eventually display it in an image object, but I haven't done that myself. I would be interested though... 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 3-apr-2007, om 13:33 heeft Eric Chatonet het volgende geschreven: > Hello, > > Of course this is on Win32. > I would like to display fav icons into an urls list (handling such > a list is not the problem ;-) > I'm able to retrieve a favicon.ico file from a website. > But then how can I get an image that will be able to be displayed > in Rev from such a file? > Any idea really welcome :-) > > Best regards from Paris, > > Eric Chatonet. From dave at looktowindward.com Tue Apr 3 09:25:22 2007 From: dave at looktowindward.com (Dave) Date: Tue, 3 Apr 2007 14:25:22 +0100 Subject: Changing layers of Objects and Groups In-Reply-To: References: Message-ID: <0BE6DD9F-5023-4F7E-B89F-17E555FC7919@looktowindward.com> Hi, I'm using RunRev V 2.8.0.370 and having some problems changing layers of Objects and Groups. I have the following layout GroupA GroupB (Inside GroupA) Object1OfGroupB Object1OfGroupB Object1OfGroupB GroupC (Inside GroupA) Object1OfGroupC Object1OfGroupC Object1OfGroupC GroupD (Inside GroupA) Object1OfGroupD Object1OfGroupD Object1OfGroupD GroupE (not in a Group) I have set "relayerGroupedControls" to true via the message box. I then try to change the later of "GroupE" so that it is "GroupA", but it always ends up in one of the other groups (B,C or D) not in GroupA. Any ideas??? Thanks a lot All the Best Dave From jerry at daniels-mara.com Tue Apr 3 09:28:03 2007 From: jerry at daniels-mara.com (Jerry Daniels) Date: Tue, 3 Apr 2007 08:28:03 -0500 Subject: exportscripts.rev In-Reply-To: References: Message-ID: <253FD06A-722E-4090-8114-C76F9C181482@daniels-mara.com> AH...all becomes clear now! That's an interesting problem. Galaxy in this case is under the impression that you may have changed your script and just not compiled it since Galaxy is a stateless editor and the Rev editor is not. When we do a global search and replace with Galaxy Projects, we update the object so that Galaxy Scripts knows the string has been replaced and the object re-compiled. Best, Jerry Daniels Makers of Galaxy 1.5 http://www.daniels-mara.com/new_in_galaxy_1_5.htm On Apr 3, 2007, at 12:29 AM, Kay C Lan wrote: > On 3/30/07, Jerry Daniels wrote: >> >> I'm sorry, but I CANNOT confirm that. Use the tool menu on Galaxy >> Projects to find and replace a string. > > > I apologise Jerry, I should have been more specific, Unfortunately > many of > my opportunities to post to the list are when I'm away from my Rev > computer > so I'm posting from (leaking) memory. > > This is with Galaxy Free 1.5.0r11, OSX 10.4.9, Rev Studio 2.8.0 > build 370. > > With Galaxy Free there is no 'Projects' so I use the Rev IDE to do > Stack > wide Find and Replace All. Although returning to the Galaxy Free > Script > Editor shows that the script is now 'dirty', the Find and Replace > All has > not changed anything. As soon as you 'apply' or save your stack you > are back > to as it was before the Find and Replace All. > > I can't seem to figure out how to do a stack wide Find and Replace > All with > Galaxy Free running. The simple work around is not to have Galaxy Free > running on the few occasions I decide to do a Stack wide Find and > Replace > All; a small price to pay for such an excellent Free product. > > I hope this clarifies why I made the original post:-) > _______________________________________________ > use-revolution mailing list > use-revolution 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 eric.chatonet at sosmartsoftware.com Tue Apr 3 09:37:12 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 3 Apr 2007 15:37:12 +0200 Subject: How to get a JPEG from a favicon file? In-Reply-To: <858C3BA7-0ECA-43A7-8A0F-2D59179D31CF@economy-x-talk.com> References: <3985B7EE-8BED-40AC-A6BB-386C37BA25A0@sosmartsoftware.com> <858C3BA7-0ECA-43A7-8A0F-2D59179D31CF@economy-x-talk.com> Message-ID: Hi Mark, Thanks for the pointer. Unfortunately, an ico file is not recognized as an image file by Rev and does not seem to have any specific header :-( I'm stuck... Le 3 avr. 07 ? 14:37, Mark Schonewille a ?crit : > Hi Eric, > > If you're lucky, the format of the favicon file is in a well-known > picture format, like PNG, GIF etc. You should be able to check the > headers of the file and treat it accordingly. Just set the > imagedata of your image object to the data of the ico file. > > If you're not lucky, the file is really in ico format. It is > possible to analyse it and eventually display it in an image > object, but I haven't done that myself. I would be interested > though... > > Best, > > Mark Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Tue Apr 3 09:43:18 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 3 Apr 2007 15:43:18 +0200 Subject: How to get a JPEG from a favicon file? In-Reply-To: References: <3985B7EE-8BED-40AC-A6BB-386C37BA25A0@sosmartsoftware.com> <858C3BA7-0ECA-43A7-8A0F-2D59179D31CF@economy-x-talk.com> Message-ID: Hi Eric, This means that you are dealing with an actual ico format. Sometimes, people use a png, jpg or gif file and change the extension into .ico, sometimes people know how to make a real ico file and use that. Looking at the binary contents of an arbitrary ico file, I see that it contains an embedded PNG picture (I assume this could also be a different format). Maybe you can simple pull that out? 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 3-apr-2007, om 15:37 heeft Eric Chatonet het volgende geschreven: > Hi Mark, > > Thanks for the pointer. > Unfortunately, an ico file is not recognized as an image file by > Rev and does not seem to have any specific header :-( > I'm stuck... > > Best regards from Paris, > > Eric Chatonet. From eric.chatonet at sosmartsoftware.com Tue Apr 3 10:02:02 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 3 Apr 2007 16:02:02 +0200 Subject: How to get a JPEG from a favicon file? In-Reply-To: References: <3985B7EE-8BED-40AC-A6BB-386C37BA25A0@sosmartsoftware.com> <858C3BA7-0ECA-43A7-8A0F-2D59179D31CF@economy-x-talk.com> Message-ID: <8B946D32-48F1-45DD-A9AF-E35CFAA469DF@sosmartsoftware.com> Mark, Yes you are right: people often use gif, png or jpeg files for favicons but this can be known parsing the html code where you can find something like: My problem is with '.ico' files. Le 3 avr. 07 ? 15:43, Mark Schonewille a ?crit : > Hi Eric, > > This means that you are dealing with an actual ico format. > Sometimes, people use a png, jpg or gif file and change the > extension into .ico, sometimes people know how to make a real ico > file and use that. > > Looking at the binary contents of an arbitrary ico file, I see that > it contains an embedded PNG picture (I assume this could also be a > different format). Maybe you can simple pull that out? > > Best, > > Mark Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From ambassador at fourthworld.com Tue Apr 3 10:11:23 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2007 07:11:23 -0700 Subject: Question (more or less) about arrays Message-ID: <4612608B.6070106@fourthworld.com> Mark Smith wrote: > On 3 Apr 2007, at 10:47, jbv wrote: >> In order to check if array "var" contains any element, >> the following test must be used instead : >> if the keys of var = empty then >> >> I was just wondering if you guys would find this behaviour >> "normal" ? ... > JB, there are various requests in place at the qa center for > enhancements to both the implementation and documentation of arrays > in Rev (type 'array' into the search field, and you'll see them). > > As it stands, Revs arrays are just different from normal variables, > and what you've found is the normal behaviour, so maybe you might > want to vote for a documentation update at least. But here's the tough question: if "var" contains an array, then no valid data can be returned by accessing it without the name of one of its keys. So what should "var" return when checked directly? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Apr 3 10:15:18 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2007 07:15:18 -0700 Subject: What's wrong with Globals? Message-ID: <46126176.8020401@fourthworld.com> Mark Smith wrote: > is probably the most common way that library stacks > (stacks containing lots of re-usable handlers) are implemented. Many > of us have built up collections of generally useful handlers which we > put in a library stack, and put 'in use' (both in compiled apps, and > in the IDE) so we don't have to re-write them for every project. For more background on using libraries, frontScripts, and backScripts to extended the Revolution message path: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From viktoras at ekoinf.net Tue Apr 3 10:33:59 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Tue, 3 Apr 2007 17:33:59 +0300 (FLE Daylight Time) Subject: How to get a JPEG from a favicon file? References: <3985B7EE-8BED-40AC-A6BB-386C37BA25A0@sosmartsoftware.com> Message-ID: <461265D7.000001.02588@MAZYTIS> One way to make favicon.ico is to create 16x16 picture in old good windows bmp format and replace extension .bmp with .ico. Actually lots of websites use this sort of favicon.ico file which (in this case) is just bmp... Viktoras From kray at sonsothunder.com Tue Apr 3 10:35:16 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 3 Apr 2007 09:35:16 -0500 Subject: is that a bug? In-Reply-To: <3FF2C9DB-163E-49EA-89B5-7718CDCE025B@net2000.ch> References: <20070329165235.EEDB5489074@mail.runrev.com> <3FF2C9DB-163E-49EA-89B5-7718CDCE025B@net2000.ch> Message-ID: <20070403093516529265.26972485@sonsothunder.com> On Tue, 3 Apr 2007 11:29:45 +0200, Joel Guillod wrote: > This expression returns the expected result: > > selectedNode() is the cEditedNodeID of grp "grClassEditor" Joel, what is the expected result here? > But when exchanging the two operands the following expressions do > always return TRUE even with (): > > the cEditedNodeID of grp "grClassEditor" is selectedNode() > (the cEditedNodeID of grp "grClassEditor") is selectedNode() Both of these are equivalent, AFAICT. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From viktoras at ekoinf.net Tue Apr 3 10:42:35 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Tue, 3 Apr 2007 17:42:35 +0300 (FLE Daylight Time) Subject: Question (more or less) about arrays References: <4612608B.6070106@fourthworld.com> Message-ID: <461267DA.000003.02588@MAZYTIS> in Perl it would return a scalar context of variable in this case it is size of an array (e.g. number of elements) e.g. $var_size = @var thence one can write for ($i = 0; $i < @var; $i++) { #prints all elements of array @var to STDOUT print $var($i); } Viktoras -------Original Message------- From: Richard Gaskin Date: 03/04/2007 17:11:45 To: How to use Revolution Subject: Re: Question (more or less) about arrays Mark Smith wrote: > On 3 Apr 2007, at 10:47, jbv wrote: >> In order to check if array "var" contains any element, >> the following test must be used instead : >> if the keys of var = empty then >> >> I was just wondering if you guys would find this behaviour >> "normal" ? ... > JB, there are various requests in place at the qa center for > enhancements to both the implementation and documentation of arrays > in Rev (type 'array' into the search field, and you'll see them). > > As it stands, Revs arrays are just different from normal variables, > and what you've found is the normal behaviour, so maybe you might > want to vote for a documentation update at least. But here's the tough question: if "var" contains an array, then no valid data can be returned by accessing it without the name of one of its keys. So what should "var" return when checked directly? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.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 sims at ezpzapps.com Tue Apr 3 10:43:51 2007 From: sims at ezpzapps.com (Jim Sims) Date: Tue, 3 Apr 2007 16:43:51 +0200 Subject: How to get a JPEG from a favicon file? In-Reply-To: <8B946D32-48F1-45DD-A9AF-E35CFAA469DF@sosmartsoftware.com> References: <3985B7EE-8BED-40AC-A6BB-386C37BA25A0@sosmartsoftware.com> <858C3BA7-0ECA-43A7-8A0F-2D59179D31CF@economy-x-talk.com> <8B946D32-48F1-45DD-A9AF-E35CFAA469DF@sosmartsoftware.com> Message-ID: <693BDB6F-9AAB-4CAB-A6EC-93FB0C5B4D96@ezpzapps.com> On Apr 3, 2007, at 4:02 PM, Eric Chatonet wrote: > Yes you are right: people often use gif, png or jpeg files for > favicons but this can be known parsing the html code where you can > find something like: > > > My problem is with '.ico' files. I thought about this issue some time ago and all I could think of was to use altBrowser to display the ico and then export snapshot that area for making the jpg. I never actually did this as I didn't need the dang things that badly ;-) ciao, sims From jbv.silences at club-internet.fr Tue Apr 3 11:10:38 2007 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 03 Apr 2007 17:10:38 +0200 Subject: Question (more or less) about arrays References: <4612608B.6070106@fourthworld.com> Message-ID: <46126E6B.87C3D9DD@club-internet.fr> Richard Gaskin a *crit : > > But here's the tough question: if "var" contains an array, then no > valid data can be returned by accessing it without the name of one of > its keys. So what should "var" return when checked directly? > One option is to return the same thing as when using "the keys of var", IOW the list of the keys of the array... Anyway, returning empty is probably the most disturbing option ! JB From len-morgan at crcom.net Tue Apr 3 10:53:17 2007 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 03 Apr 2007 09:53:17 -0500 Subject: "New Table Object" (sort of) Problem Message-ID: <46126A5D.5050706@crcom.net> I'm trying to create a REAL table object (hopefully reusable), and I'm getting close. What I've done is create a Header group that has non-functioning buttons (for right now) that goes across the top. I then created a group of fields that butt up against each other and formatted to the same width as the header group. This group will be one row of my table. I will need as many copies of this group as there are rows returned from a query. This works fine as long as there are fewer rows returned than the size of the screen. I'm copying the row group into another group that I want to use as a scrolled container with a scrollbar on the side so any rows that go "below" the area of this group should not be visible until they are scrolled into view (and the rows above should go away as they are scrolled off the top of the containing group. The problem is that the new rows just keep on going right to the bottom of the screen. How can I make a scrolled box of groups? Thanks Len Morgan From revlist at azurevision.co.uk Tue Apr 3 11:07:03 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 3 Apr 2007 16:07:03 +0100 Subject: "New Table Object" (sort of) Problem In-Reply-To: <46126A5D.5050706@crcom.net> References: <46126A5D.5050706@crcom.net> Message-ID: On 3 Apr 2007, at 15:53, Len Morgan wrote: > The problem is that the new rows just keep on going right to the > bottom of the screen. How can I make a scrolled box of groups? Make a group of all the 'row' groups, then set the vscroll of that group to true, then set the height of the group to a small enough amount that it no longer goes off the bottom of the stack. If the table ends up wider than the stack you may also need to set the hscroll to true as well. Ian From cowhead at mac.com Tue Apr 3 11:07:50 2007 From: cowhead at mac.com (www.MeltingPotBar.com) Date: Wed, 4 Apr 2007 00:07:50 +0900 Subject: Lost All Audioclip playback on Intel Mac Message-ID: <955C5952-059F-48B0-B5EE-A6C4E9372BB2@mac.com> Oh, I love this list. I thought it pretty much had to be an OS problem. Thank's guys. YOU wrote: "This happens to me every time I run Audacity. Apple has a Knowledge Base article about it: " Mark Mitchell Japan From devin_asay at byu.edu Tue Apr 3 11:12:28 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 3 Apr 2007 09:12:28 -0600 Subject: "New Table Object" (sort of) Problem In-Reply-To: <46126A5D.5050706@crcom.net> References: <46126A5D.5050706@crcom.net> Message-ID: <83064441-CBC8-43D2-AF29-598B6C3E1D35@byu.edu> On Apr 3, 2007, at 8:53 AM, Len Morgan wrote: > I'm trying to create a REAL table object (hopefully reusable), and > I'm getting close. What I've done is create a Header group that > has non-functioning buttons (for right now) that goes across the > top. I then created a group of fields that butt up against each > other and formatted to the same width as the header group. This > group will be one row of my table. I will need as many copies of > this group as there are rows returned from a query. > This works fine as long as there are fewer rows returned than the > size of the screen. I'm copying the row group into another group > that I want to use as a scrolled container with a scrollbar on the > side so any rows that go "below" the area of this group should not > be visible until they are scrolled into view (and the rows above > should go away as they are scrolled off the top of the containing > group. > > The problem is that the new rows just keep on going right to the > bottom of the screen. How can I make a scrolled box of groups? Len, Did you lock the size and location of the containing group? If you don't the group will automatically resize as you add new objects, up to the size of the card. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From ambassador at fourthworld.com Tue Apr 3 11:15:44 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2007 08:15:44 -0700 Subject: Question (more or less) about arrays Message-ID: <46126FA0.2060901@fourthworld.com> jbv wrote: > Richard Gaskin a *crit : >> But here's the tough question: if "var" contains an array, then no >> valid data can be returned by accessing it without the name of one of >> its keys. So what should "var" return when checked directly? > > One option is to return the same thing as when using "the keys of var", > IOW the list of the keys of the array... How would one distinguish between an array and a non-array which contains any return-delimited list? I don't think it's a bad idea, just playing with it a bit as we try to hone in on what exactly we might request for this. > Anyway, returning empty is probably the most disturbing option ! I'll agree that it's less than helpful, but if we thought about it long enough I'm sure we could come up with something worse. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Tue Apr 3 11:21:31 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 3 Apr 2007 08:21:31 -0700 Subject: Changing layers of Objects and Groups In-Reply-To: <0BE6DD9F-5023-4F7E-B89F-17E555FC7919@looktowindward.com> References: <0BE6DD9F-5023-4F7E-B89F-17E555FC7919@looktowindward.com> Message-ID: On Apr 3, 2007, at 6:25 AM, Dave wrote: > GroupA > GroupB (Inside GroupA) > Object1OfGroupB > Object1OfGroupB > Object1OfGroupB > GroupC (Inside GroupA) > Object1OfGroupC > Object1OfGroupC > Object1OfGroupC > GroupD (Inside GroupA) > Object1OfGroupD > Object1OfGroupD > Object1OfGroupD > > > GroupE (not in a Group) > > I have set "relayerGroupedControls" to true via the message box. > > I then try to change the later of "GroupE" so that it is "GroupA", > but it always ends up in one of the other groups (B,C or D) not in > GroupA. > > Any ideas??? Ahh, relayering objects in groups. The way that groups are implemented in Rev (using indexes) means that you see some unexpected behavior when trying to move objects in and around other grouped objects. There is a solution though. If you wanted to move GroupE into GroupA you would set the layer of GroupE to the layer of GroupA + 1. If you wanted to move GroupE to the end of GroupA (after GroupD) you would set the layer of group "GroupE" to the layer of group "GroupA" + 1 set the layer of group "GroupD" to the layer of group "GroupA" + 1 set the layer of group "GroupC" to the layer of group "GroupA" + 1 set the layer of group "GroupB" to the layer of group "GroupA" + 1 There may be other ways of accomplishing this but I have not been able to find it. The only reliable method (meaning controls don't become children of a group unintentionally) I've found is the above technique. I would love to hear if someone has another solution though. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From luis at anachreon.co.uk Tue Apr 3 11:22:02 2007 From: luis at anachreon.co.uk (Luis) Date: Tue, 03 Apr 2007 16:22:02 +0100 Subject: How to get a JPEG from a favicon file? In-Reply-To: <693BDB6F-9AAB-4CAB-A6EC-93FB0C5B4D96@ezpzapps.com> References: <3985B7EE-8BED-40AC-A6BB-386C37BA25A0@sosmartsoftware.com> <858C3BA7-0ECA-43A7-8A0F-2D59179D31CF@economy-x-talk.com> <8B946D32-48F1-45DD-A9AF-E35CFAA469DF@sosmartsoftware.com> <693BDB6F-9AAB-4CAB-A6EC-93FB0C5B4D96@ezpzapps.com> Message-ID: <4612711A.6020802@anachreon.co.uk> Hiya, Found some info milling around the net: From: http://www.favicon.com/ 'What is an ico file? An ico file is actually a repository of bitmap like images. They are used because in some locations a 16x16 pixel image is desired, and sometimes a 32x32 image may be needed. Sometimes a 16 color image is desired, and sometimes a 256 color icon is desired. This repository is scanned for the image size/color count appropriate for the location and the computer's color capability. If the image is not ideal, it may be compressed, expanded, and/or colors may be modified producing unexpected results. Isn't an ICO file just a renamed BMP? NO. Although some people have said an ico is a BMP, this is not true. Think of an ICO file as a repository of BMP images. It has its own format.' Generalised info: http://www.yourhtmlsource.com/promotion/favicon.html And, as always: http://en.wikipedia.org/wiki/Favicon Cheers, Luis. Jim Sims wrote: > > On Apr 3, 2007, at 4:02 PM, Eric Chatonet wrote: > >> Yes you are right: people often use gif, png or jpeg files for >> favicons but this can be known parsing the html code where you can >> find something like: >> >> >> My problem is with '.ico' files. > > I thought about this issue some time ago and all I could think of was > to use altBrowser to display the ico and then export snapshot that area for > making the jpg. I never actually did this as I didn't need the dang things > that badly ;-) > > ciao, > 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 jbv.silences at club-internet.fr Tue Apr 3 11:52:43 2007 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 03 Apr 2007 17:52:43 +0200 Subject: Question (more or less) about arrays References: <46126FA0.2060901@fourthworld.com> Message-ID: <4612784A.44546F8C@club-internet.fr> Richard Gaskin a *crit : > > > > One option is to return the same thing as when using "the keys of var", > > IOW the list of the keys of the array... > > How would one distinguish between an array and a non-array which > contains any return-delimited list? Well, actually, my problem was to detect if a var was empty or not, no matter if it was an array or a regular variable. At least my proposition solves my original problem. As for your question, may be could there be a command named "the arrayNames" that would list the variables containing arrays ? Therefore we could use some simple test such as : if my var is not empty and my var is among the arrayNames I'm sure someone will come up with a better idea... JB From dave at looktowindward.com Tue Apr 3 11:45:06 2007 From: dave at looktowindward.com (Dave) Date: Tue, 3 Apr 2007 16:45:06 +0100 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <46126FA0.2060901@fourthworld.com> References: <46126FA0.2060901@fourthworld.com> Message-ID: <3DCB2CE5-CCA8-4302-B103-1697F0BB0122@looktowindward.com> Hi, Has anyone managed to figure out a work around for the non beep bug present in RunRev 2.7.4 Onwards? I've tried this on both Intel and PowerPC but can't get a beep! Thanks a lot All the Best Dave From mark at maseurope.net Tue Apr 3 11:45:55 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 3 Apr 2007 17:45:55 +0200 Subject: Question (more or less) about arrays In-Reply-To: <4612608B.6070106@fourthworld.com> References: <4612608B.6070106@fourthworld.com> Message-ID: Exactly. I really can't think of a better behaviour, however strange it is to have a large array appear empty when accessed directly. However, it might be a good idea to have a small list of the more 'unintuitive' features of rev arrays in the user guide when they gvet around to the section on arrays. These things do catch people out. Best, Mark On 3 Apr 2007, at 16:11, Richard Gaskin wrote: > But here's the tough question: if "var" contains an array, then no > valid data can be returned by accessing it without the name of one > of its keys. So what should "var" return when checked directly? From dave at looktowindward.com Tue Apr 3 11:48:42 2007 From: dave at looktowindward.com (Dave) Date: Tue, 3 Apr 2007 16:48:42 +0100 Subject: Changing layers of Objects and Groups In-Reply-To: References: <0BE6DD9F-5023-4F7E-B89F-17E555FC7919@looktowindward.com> Message-ID: On 3 Apr 2007, at 16:21, Trevor DeVore wrote: > On Apr 3, 2007, at 6:25 AM, Dave wrote: > >> GroupA >> GroupB (Inside GroupA) >> Object1OfGroupB >> Object1OfGroupB >> Object1OfGroupB >> GroupC (Inside GroupA) >> Object1OfGroupC >> Object1OfGroupC >> Object1OfGroupC >> GroupD (Inside GroupA) >> Object1OfGroupD >> Object1OfGroupD >> Object1OfGroupD >> >> >> GroupE (not in a Group) >> >> I have set "relayerGroupedControls" to true via the message box. >> >> I then try to change the later of "GroupE" so that it is "GroupA", >> but it always ends up in one of the other groups (B,C or D) not in >> GroupA. >> >> Any ideas??? > > Ahh, relayering objects in groups. The way that groups are > implemented in Rev (using indexes) means that you see some > unexpected behavior when trying to move objects in and around other > grouped objects. > > There is a solution though. If you wanted to move GroupE into > GroupA you would set the layer of GroupE to the layer of GroupA + > 1. If you wanted to move GroupE to the end of GroupA (after > GroupD) you would > > set the layer of group "GroupE" to the layer of group "GroupA" + 1 > set the layer of group "GroupD" to the layer of group "GroupA" + 1 > set the layer of group "GroupC" to the layer of group "GroupA" + 1 > set the layer of group "GroupB" to the layer of group "GroupA" + 1 > > There may be other ways of accomplishing this but I have not been > able to find it. The only reliable method (meaning controls don't > become children of a group unintentionally) I've found is the above > technique. I would love to hear if someone has another solution > though. Hi Trevor, I tried that, but it doesn't work, at least in RunRev 2.8.0.370 on Intel Mac it doesn't. Given the following setup: 01 GroupA 02 GroupB (Inside GroupA) 03 Object1OfGroupB 04 Object1OfGroupB 05 Object1OfGroupB 06 GroupC (Inside GroupA) 07 Object1OfGroupC 08 Object1OfGroupC 09 Object1OfGroupC 10 GroupD (Inside GroupA) 11 Object1OfGroupD 12 Object1OfGroupD 13 Object1OfGroupD 14 GroupE (not in a Group) If I set the later of GroupE to 1, it becomes layer 1 and GroupA becomes layer 2. If I set the layer of GroupE to 2, it becomes layer 2 (inside GroupB) and all the other object layers increase by one. I can't seem to find a way to add a group to an outer Group that just contains Groups. The new group is either put before the group or inside one of the sub-groups. All the best Dave From dave at looktowindward.com Tue Apr 3 11:50:59 2007 From: dave at looktowindward.com (Dave) Date: Tue, 3 Apr 2007 16:50:59 +0100 Subject: Question (more or less) about arrays In-Reply-To: <4612784A.44546F8C@club-internet.fr> References: <46126FA0.2060901@fourthworld.com> <4612784A.44546F8C@club-internet.fr> Message-ID: On 3 Apr 2007, at 16:52, jbv wrote: > > > Richard Gaskin a *crit : > >>> >>> One option is to return the same thing as when using "the keys of >>> var", >>> IOW the list of the keys of the array... >> >> How would one distinguish between an array and a non-array which >> contains any return-delimited list? > > Well, actually, my problem was to detect if a var was empty or not, no > matter if it was an array or a regular variable. > At least my proposition solves my original problem. > > As for your question, may be could there be a command named "the > arrayNames" > that would list the variables containing arrays ? > Therefore we could use some simple test such as : > if my var is not empty and my var is among the arrayNames > > I'm sure someone will come up with a better idea... Maybe it would be better to just add a "type" function? e.g. Something like: if revType(myVar) = "Array" then ............................. All the Best Dave From ambassador at fourthworld.com Tue Apr 3 11:54:48 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2007 08:54:48 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ Message-ID: <461278C8.4090009@fourthworld.com> Dave wrote: > Has anyone managed to figure out a work around for the non beep bug > present in RunRev 2.7.4 Onwards? > > I've tried this on both Intel and PowerPC but can't get a beep! I just tested the beep command on OS X in the latest version (2.8.0, build 370) and it seems to work well. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Tue Apr 3 12:08:06 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 3 Apr 2007 09:08:06 -0700 Subject: Changing layers of Objects and Groups In-Reply-To: References: <0BE6DD9F-5023-4F7E-B89F-17E555FC7919@looktowindward.com> Message-ID: <940D0EBE-73B8-49CE-A610-69CE89E1A60E@mangomultimedia.com> On Apr 3, 2007, at 8:48 AM, Dave wrote: > I tried that, but it doesn't work, at least in RunRev 2.8.0.370 on > Intel Mac it doesn't. Given the following setup: > > 01 GroupA > 02 GroupB (Inside GroupA) > 03 Object1OfGroupB > 04 Object1OfGroupB > 05 Object1OfGroupB > 06 GroupC (Inside GroupA) > 07 Object1OfGroupC > 08 Object1OfGroupC > 09 Object1OfGroupC > 10 GroupD (Inside GroupA) > 11 Object1OfGroupD > 12 Object1OfGroupD > 13 Object1OfGroupD > > > 14 GroupE (not in a Group) > > > If I set the later of GroupE to 1, it becomes layer 1 and GroupA > becomes layer 2. If I set the layer of GroupE to 2, it becomes > layer 2 (inside GroupB) and all the other object layers increase by > one. Dave, I just tried the setup you have above and it worked. I started with the following: GroupA GroupB Control Control GroupC Control Control GroupD Control Control GroupE Control I then ran this code: set the layer of group "GroupE" to the layer of group "GroupA" + 1 set the layer of group "GroupD" to the layer of group "GroupA" + 1 set the layer of group "GroupC" to the layer of group "GroupA" + 1 set the layer of group "GroupB" to the layer of group "GroupA" + 1 and ended up with this: GroupA GroupB Control Control GroupC Control Control GroupD Control Control GroupE Control I can send you an example stack if you wish. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From mark at maseurope.net Tue Apr 3 12:08:36 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 3 Apr 2007 18:08:36 +0200 Subject: Rev Prefs Message-ID: My installation of Rev Studio 2.8.0 has just dumped all my preferences (I haven't installed or un-installed anything), and will not reliably save any changes I make to them (sometimes it saves some, sometimes others, sometimes none, but never all, so far). I seem to remember having this problem a long time ago (pre 2.7), and the problem just cured itself, eventually. Has anyone come across this, and is there a known cure? Best, Mark From dave at looktowindward.com Tue Apr 3 12:16:24 2007 From: dave at looktowindward.com (Dave) Date: Tue, 3 Apr 2007 17:16:24 +0100 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <461278C8.4090009@fourthworld.com> References: <461278C8.4090009@fourthworld.com> Message-ID: Hi, I've just tried it again under Versions 2.6.6.152, 2.7.4.291, 2.8.0..350 and 2.8.0.370 and it only works in 2.6.6.152,. I am using an Intel Mac, but last time I tried, it didn't work on PowerPC either. Are you using Intel or PowerPC? I've tried it by typing "beep" in the message box as well as with a test script with a single button that just says: on mouseUp beep end mouseUp I think someone else mentioned this problem on the list before. Other apps beep and so does 2.6.6.152. All the Best Dave On 3 Apr 2007, at 16:54, Richard Gaskin wrote: > Dave wrote: >> Has anyone managed to figure out a work around for the non beep >> bug present in RunRev 2.7.4 Onwards? >> I've tried this on both Intel and PowerPC but can't get a beep! > > I just tested the beep command on OS X in the latest version > (2.8.0, build 370) and it seems to work well. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.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 dave at looktowindward.com Tue Apr 3 12:17:35 2007 From: dave at looktowindward.com (Dave) Date: Tue, 3 Apr 2007 17:17:35 +0100 Subject: Changing layers of Objects and Groups In-Reply-To: <940D0EBE-73B8-49CE-A610-69CE89E1A60E@mangomultimedia.com> References: <0BE6DD9F-5023-4F7E-B89F-17E555FC7919@looktowindward.com> <940D0EBE-73B8-49CE-A610-69CE89E1A60E@mangomultimedia.com> Message-ID: Yes please do send the script, I was doing this via the IDE, I'm guessing you are doing it in a Script? Also is relayerGroupedControls set to true? Thanks a lot All the Best Dave On 3 Apr 2007, at 17:08, Trevor DeVore wrote: > On Apr 3, 2007, at 8:48 AM, Dave wrote: > >> I tried that, but it doesn't work, at least in RunRev 2.8.0.370 on >> Intel Mac it doesn't. Given the following setup: >> >> 01 GroupA >> 02 GroupB (Inside GroupA) >> 03 Object1OfGroupB >> 04 Object1OfGroupB >> 05 Object1OfGroupB >> 06 GroupC (Inside GroupA) >> 07 Object1OfGroupC >> 08 Object1OfGroupC >> 09 Object1OfGroupC >> 10 GroupD (Inside GroupA) >> 11 Object1OfGroupD >> 12 Object1OfGroupD >> 13 Object1OfGroupD >> >> >> 14 GroupE (not in a Group) >> >> >> If I set the later of GroupE to 1, it becomes layer 1 and GroupA >> becomes layer 2. If I set the layer of GroupE to 2, it becomes >> layer 2 (inside GroupB) and all the other object layers increase >> by one. > > Dave, > > I just tried the setup you have above and it worked. I started > with the following: > > GroupA > GroupB > Control > Control > GroupC > Control > Control > GroupD > Control > Control > GroupE > Control > > I then ran this code: > > set the layer of group "GroupE" to the layer of group "GroupA" + 1 > set the layer of group "GroupD" to the layer of group "GroupA" + 1 > set the layer of group "GroupC" to the layer of group "GroupA" + 1 > set the layer of group "GroupB" to the layer of group "GroupA" + 1 > > and ended up with this: > > GroupA > GroupB > Control > Control > GroupC > Control > Control > GroupD > Control > Control > GroupE > Control > > I can send you an example stack if you wish. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > trevor at bluemangolearning.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 simon.harper at manchester.ac.uk Tue Apr 3 12:20:49 2007 From: simon.harper at manchester.ac.uk (Simon HARPER) Date: Tue, 3 Apr 2007 17:20:49 +0100 Subject: Yet another Newbie Question Message-ID: Hi there, so I've a couple of questions (which may be silly) 1) If I create version 1 of an application which saves data as a stack - then create version 2 which adds functionality (but probably doesn't change the data format) how do I get the stack data from version 1 into the newly installed version 2? 2) It seems that a good idea is to create a Library and Data Manager stack, so now I'm wondering is it 'better' to push all data to disk, as say xml or text, then reload it all into an array in the Data Manager and then step through the array and perform all other actions on the array - if you like - a kind of abstraction? which leads me to the question - is there the concept of a record structure as in c/c++ or is it best to use a 2 dimensional array? Sorry once again if this is all obvious. Cheers Si. ==== Simon Harper 2.44 Kilburn Building University of Manchester (UK) Pri: simon.harper at manchester.ac.uk Alt: sharper at cs.man.ac.uk From jacque at hyperactivesw.com Tue Apr 3 12:57:33 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Apr 2007 11:57:33 -0500 Subject: "New Table Object" (sort of) Problem In-Reply-To: <46126A5D.5050706@crcom.net> References: <46126A5D.5050706@crcom.net> Message-ID: <4612877D.1010206@hyperactivesw.com> Len Morgan wrote: > I'm trying to create a REAL table object (hopefully reusable), and I'm > getting close. What I've done is create a Header group that has > non-functioning buttons (for right now) that goes across the top. I > then created a group of fields that butt up against each other and > formatted to the same width as the header group. This group will be one > row of my table. I will need as many copies of this group as there are > rows returned from a query. I did something similar a few years ago. It does not auto-size; you have to know ahead of time how many rows you need. But maybe something in there would be useful: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Tue Apr 3 13:06:46 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 3 Apr 2007 10:06:46 -0700 Subject: Changing layers of Objects and Groups In-Reply-To: References: <0BE6DD9F-5023-4F7E-B89F-17E555FC7919@looktowindward.com> <940D0EBE-73B8-49CE-A610-69CE89E1A60E@mangomultimedia.com> Message-ID: On Apr 3, 2007, at 9:17 AM, Dave wrote: > Yes please do send the script, I was doing this via the IDE, I'm > guessing you are doing it in a Script? I just pasted the commands into the message box. I've added a button with the script in the example stack though. > Also is relayerGroupedControls set to true? Yes. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From bryan at deepfoo.com Tue Apr 3 13:25:08 2007 From: bryan at deepfoo.com (Bryan McCormick) Date: Tue, 03 Apr 2007 13:25:08 -0400 Subject: Sarah, Sean or another time bandit - help needed on dates calcs Message-ID: <46128DF4.5070806@deepfoo.com> OK, I have persnickety date issues (thankfully just dates) which I think Sarah or Sean or another time bandit may be able to help with. Here is the issue. I have a collection of date pairs that look perfectly innocent, something like "8/11/2003" to "8/11/2004" for which I need to calculate the daysBetween. No problem right? Sarah's handy dandy (and it is ever so minxy and cool) date & items stack to the rescue. Easy peasy. In part yes since the weekNumISO I am guessing is part of the solution. Except that the problem is I must: A) count only weekdays between since this is a "business days" problem based on a five day week. -- easy enough except when the dates span multiple years right? -- but wait, do I or don't I need to count each instance of a Saturday and Sunday over each week between the dates to be totally sure? B) I have to take account of standard US holiday closings -- excluding those that fell on a weekend and thus have to be accounted for since they were observed on different days. C) I need to add in specific dates of the year to exclude from the calculation when the business itself was closed other than on holidays. -- thankfully these at least are known and there is history for them -- again this looks "ugly" like days themselves will need to be poked off the list. as an example, the week of 9/11 in NYC shut down many businesses for weeks so those dates need to be excluded on a case by case basis As with my other problems posted to the list, all of the huff and puff is before I even get to the analysis part of the job. Oddly that part is dead easy by comparison. This date arithmetic is not so easy. I browsed the list, thought it through, poked around some more, and nothing brilliant came to mind other than to ask smarter people. ---------------------------------------- PS - The archive of the mail list has many wonderful things in it but it seems like a treasure trove ignored. It has become in some ways so big it is getting hard to walk through it all and threads do not seem to cross year bounds so there are many, many instances where same/similar posts (perhaps this one even) are done over and over and over. Has anyone thought of simply reorging this into something that could be made into more of a "real" how to build things with Rev product? I would think it would help sell the product. Just my dime (2c adjusted for inflation since 1970). From stephenREVOLUTION at barncard.com Tue Apr 3 13:28:03 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 3 Apr 2007 10:28:03 -0700 Subject: Revcon Las Vegas In-Reply-To: References: Message-ID: Am I the only one that is not looking forward to a Revcon in Las Vegas? I personally don't like the glitz and the crowds (and some folks do...), but I also got to thinking about the really serious downside of living and working in casinos... the thousands of Tobacco Smokers... (my apologies to my smoking friends..) Because of the hotels' tradition of crowd mitigation, we'll have to walk through that haze and noise of a casino several times a day just to get between our rooms and the conference. It's their way or the highway. Cheap rooms to be sure, but at what price? On the other hand, there's FlyAway... http://www.flyawayindoorskydiving.com/ -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From fmoyer at aol.com Tue Apr 3 13:32:54 2007 From: fmoyer at aol.com (Fred moyer) Date: Tue, 3 Apr 2007 13:32:54 -0400 Subject: use-revolution Digest, Vol 43, Issue 3 In-Reply-To: <20070403074735.1FE40489033@mail.runrev.com> References: <20070403074735.1FE40489033@mail.runrev.com> Message-ID: <31461FB8-EA5A-4FED-A8DD-FE06F13D6EC0@aol.com> >> For no apparent reason, the fan on my >> Powerbook will turn on. I open Activity Monitor and see that >> Revolution is hogging the CPU with 40 - 70% of the CPU. I have no >> pendingmessages, no throbbing default buttons, no players. >> >> Whenever this happens I start closing stacks. Inevitably, it is when >> I shut a palette that the Activity Monitor goes down to normal. Just >> now it was after I closed the "Message Box" that the racing stopped. >> Does anyone know about this? Is it a bug? Is there some handler >> desperately trying to keep a palette frontmost that is causing the >> problem? I don't have a recipe -- it is intermittent. > > Seems like you found the cause: global variables can be updated at > any > time by any script, so the Variable Watcher posts messages to > itself to > update periodically so it can show current values. Sorry, but did you possibly misread what I wrote? Closing the Message Box (not the Variable Watcher) brought the cpu back down to normal. But I don't know much about the inner workings of Revolution, so maybe there's some connection between the Message Box and Variable Watcher that I don't know about. Again, this issue is intermittent. But I've only noticed it with 2.8. Sometimes, closeing a palette that I created will slow it down. Twice, I think (not sure about this) closing the Application Browser slowed things down. Anyway, has anyone else seen similar issues? I often run Activity Monitor while running Revolution and that's why I see these changes. Incidentally, the throbbing default button will consistently boost cpu use around 15 percentage points, a lot more than other apps with throbbing default buttons. (With other apps, I don't see any change when a throbbing default button shows up.) Fred From lfredricks at proactive-intl.com Tue Apr 3 13:35:03 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 3 Apr 2007 10:35:03 -0700 Subject: Revcon Las Vegas In-Reply-To: References: Message-ID: <026701c77616$69e3e6d0$6401a8c0@YOUR68B8D1092F> > Am I the only one that is not looking forward to a Revcon in > Las Vegas? > I personally don't like the glitz and the crowds (and some > folks do...), but I also got to thinking about the really > serious downside of living and working in casinos... > > the thousands of Tobacco Smokers... (my apologies to my > smoking friends..) > > Because of the hotels' tradition of crowd mitigation, we'll > have to walk through that haze and noise of a casino several > times a day just to get between our rooms and the conference. > It's their way or the highway. Cheap rooms to be sure, but at > what price? I know what you mean Stephen. The venue we are looking at (more info coming in the next few weeks) is VERY non strip/non downtown, yet accessible to the strip with a short walk. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.com From jacque at hyperactivesw.com Tue Apr 3 13:40:24 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Apr 2007 12:40:24 -0500 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: References: <461278C8.4090009@fourthworld.com> Message-ID: <46129188.4080804@hyperactivesw.com> Dave wrote: > Hi, > > I've just tried it again under Versions 2.6.6.152, 2.7.4.291, 2.8.0..350 > and 2.8.0.370 and it only works in 2.6.6.152,. I am using an Intel Mac, > but last time I tried, it didn't work on PowerPC either. I've never had it fail in any version, on any OS, on any hardware -- except after using Audacity in OS X, as I mentioned in another thread. Did you check the MIDI Setup app to see if the sound output is at the right Hz? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Tue Apr 3 13:57:17 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 03 Apr 2007 10:57:17 -0700 Subject: copy protection In-Reply-To: <46121FB9.000001.00492@MAZYTIS> References: <596C0139-BAD6-474E-A645-21BDA59EB9DC@canelasoftware.com> <46121FB9.000001.00492@MAZYTIS> Message-ID: <839CABE2-B14C-43C3-9E52-6C5B2AFA0FC8@canelasoftware.com> On Apr 3, 2007, at 2:34 AM, Viktoras Didziulis wrote: > Exactly. Can somebody share a few tricks to make content on a CD being > unusable after being copied? Its a small niche soft (specialized > biodiversity database and an e-book). Likely there will be no > attempts to > crack it, however we would like to be able to sell at least 200 > copies of > the CD before illegal copies made by ordinary users start > circulating around Is the content going to be played through a Rev based application you developed? If so, you could encrypt the data on the CD. Decrypt it in the Rev app and play it. The encryption options built into Rev are very powerful and will protect your content very well. The only problem is if the data is video or audio. They may take up too much space to import directly into your app. You would then have to decrypt them to a *secret* place and play them from there. When they are no longer playing you could delete them. This is where the security drops in a big way. Your protected files are naked so to speak for a period of time. As you said, you audience may not be savvy enough to locate the files. You could name them something very random. There is a function in rev called tempName that would be useful in situations like this. If the media being protected is small enough, you could come up with a scheme that keeps everything in memory and plays it from within your Rev app. This would provide the maximum amount of protection. The best part is that these methods would not take you very long to develop. Key things to look up in the Rev dictionary: 1. tempName for saving out decrypted data for temp use 2. encrypt 3. decrypt 4. customProperties (if you decide to store protected data inside of a Rev stack or App) 5. deleteFile and/or deleteFolder to get rid of the temporarily decrypted data 6. specialFolderPath to find a good place to store you temp decrypted data Mark Talluto -- CANELA Software http://www.canelasoftware.com From len-morgan at crcom.net Tue Apr 3 14:02:19 2007 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 03 Apr 2007 13:02:19 -0500 Subject: "New Table Object" (sort of) Problem Message-ID: <461296AB.206@crcom.net> Well, I'm getting close! Between locking the size and position and setting vScroll to true, I can now create a variable length table that will scroll if it get too large. Next Problem: How do I remove the groups when I do the next query? Can I get a list of the groups that are within another group? Something like: repeat with g in (the groups in group "resultsGroup" remove group g end repeat I realize that the repeat command isn't "legal" but I think you get the idea. I KNOW I've seen a command that will give you the list of fields in a group (although I can't seem to find that either) but I want a list of groups that are contained within another group. Thanks again!!!! I'm getting there! len From sanke at hrz.uni-kassel.de Tue Apr 3 14:07:04 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 03 Apr 2007 20:07:04 +0200 Subject: [ANN] "Imagedata Toolkit Preview 3" released Message-ID: <461297C8.6080008@hrz.uni-kassel.de> On Fri Mar 30, 2007, Sivakatirswami katir at hindu.org wrote: > Aloha, Wilhelm: > > Well this is certainly very, very impressive. It will be interesting > to see how this runs on my new 17 in Intel MacBook Pro... > > Only one problem: My photo processing needs are rather "prosaic" as > I'm working in a production environment where I have to take > a lot of incoming Digital camera images and do a simply chore: > > 1) downsize for web, bicubic (now available by setting the imageQuality > setting > and I've tested and it really works, quality is tops) > 2) run auto levels > 3) unsharp mask to a prespecified set of values. > > I would rarely, if ever use any of the "art" functions of your suite... > > Right now I usie droplets to drive Adobe's ImageReady, but I would really > love to be able to do this from inside revolution. But your interface > is a bit daunting and I'm not sure how I can extract a small subset > of functions from your tool kit to set up a lean automated work flow. > > I'll look into the scripts and see if there is any way to ferret out > extraction > of specific routines... but any advice you have before I start hacking > this thing will not doubt be useful. > > It certainly is encouraging that this is now even possible (I was going to > start cracking open the docs on Core Image , but not looking forward > to it) > > Sivakatirswami There are currently 3 versions of "unsharp mask" filters to be found in the "Imagedata Toolkits": A 5x5-matrix filter in version 2 of the toolkit which I took from "photo.net" and ported to Revolution and two 3x3-matrix filters in version 3 of the toolkit - with some changes as of today - . I no longer include the group with the 5x5 matrix options in version 3 because the execution of the filter script takes about 20 seconds (2 GHz Windows computer) as there is not yet a suitable dll-external. I would be very grateful if anybody is out there who is able to blow up the existing 3x3-matrix external to 5x5 according to my proposals. The two 3x3-matrix unsharp filters (toolkit 3 - newest version of April 3) can make use of Derek Bump's "convolve.dll", which is included in the zip-file. Execution time for 640x480 images is about 180 milliseconds and somewhat longer when applied to larger pictures. I computed the matrix values for the 3x3 filters on the basis of the 5x5 filter above. The quality of all 3 unsharp-mask filters is at least as good and certainly better than the default setting of the unsharp mask of Paintshop Pro, but with Paintshop you can set certain parameters whereas with my toolkit you must experiment with the matrix values (this is possible) to find other configurations (which you can then save as a user-defined filter). If you want to extract the necessary scripts from the "Imagedata Toolkit" you need the following parts: - convolve.dll - button "apply Windows DLL (DB)" to launch the DLL or - button "apply scripted version" not using the dll (execution time about 7 seconds) needed for MacOS and other platforms - button "remove borders 5" to remove the black borders produced by the DLL (the script of this correcting button must be slightly changed as it is meant for a fixed image size of 640X480, but it is relatively easy to adapt to "any" size). - then of cause the scripts of buttons "unsharp mask" and "unsharp mask 2" (hidden) that put the values into the matrix field. For batch processing it would be advisable to combine these scripts into a single or two buttons and especially to remove the intermediate matrix field - you could place the matrix values directly into the "apply" buttons. If you think exploring these unsharp filters is worthwhile and you would need any support I would be happy to provide it. Best regards, Wilhelm Sanke From kray at sonsothunder.com Tue Apr 3 14:07:11 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 3 Apr 2007 13:07:11 -0500 Subject: Changing layers of Objects and Groups In-Reply-To: References: <0BE6DD9F-5023-4F7E-B89F-17E555FC7919@looktowindward.com> Message-ID: <20070403130711713032.a41b45f9@sonsothunder.com> On Tue, 3 Apr 2007 16:48:42 +0100, Dave wrote: >>> I then try to change the later of "GroupE" so that it is "GroupA", >>> but it always ends up in one of the other groups (B,C or D) not in >>> GroupA. >>> >>> Any ideas??? Here's a scriptlet that specifically sets a control to be brought to the "front" of all other controls in a group; perhaps it would inspire a solution: http://www.sonsothunder.com/devres/revolution/tips/stk003.htm Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From stephenREVOLUTION at barncard.com Tue Apr 3 15:17:48 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 3 Apr 2007 12:17:48 -0700 Subject: Yet another Newbie Question In-Reply-To: References: Message-ID: a data stack using custom properties and property sets is one of the best ways to store arrays in Rev (and data in general). You can also put data inside the data using text lists inside a custom property. This of course puts stricter limits on what goes into certain places. key1 data data2 data3 key2 data data2 data3 key3 data data2 data3 an entire array of datasets can be punched into or retrieved from a stack in one line of code. Loop through the arrays in a script to copy over, or use the clone command. lots of ways to accomplish the tasks. In MacOS X the data could live a stack inside a package, just outside the app or a stack in a special folder that is designated in the OS. (see specialfolderpath in the docs) Text files work for certain data situations like listings that need to be occasionally manipulated by the user, but have no structure, XML is searchable and structured, but bulky - large files. They both need to be loaded in from disk. With custom properties, if you know generally where some of your data is, searching can be very fast. Also access time is very fast, almost as fast as variables, because it's all held in ram. >Hi there, >so I've a couple of questions (which may be silly) > >1) If I create version 1 of an application which saves data as a >stack - then create version 2 which adds functionality (but probably >doesn't change the data format) how do I get the stack data from >version 1 into the newly installed version 2? > >2) It seems that a good idea is to create a Library and Data Manager >stack, so now I'm wondering is it 'better' to push all data to disk, >as say xml or text, then reload it all into an array in the Data >Manager and then step through the array and perform all other >actions on the array - if you like - a kind of abstraction? which >leads me to the question - is there the concept of a record >structure as in c/c++ or is it best to use a 2 dimensional array? > >Sorry once again if this is all obvious. > >Cheers >Si. > >==== >Simon Harper -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Tue Apr 3 15:35:41 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2007 12:35:41 -0700 Subject: Revcon Las Vegas Message-ID: <4612AC8D.9080505@fourthworld.com> Stephen Barncard wrote: > Am I the only one that is not looking forward to a Revcon in Las Vegas? > I personally don't like the glitz and the crowds... Vegas isn't my first choice either, but it has one thing going for it -- it's a short drive from Red Rock Canyon, nearly 200,000 acres of desert wilderness: Mark Weider, Tariel Gogoberidze, and others have expressed an interest in a desert campout following the conference. So in keeping with the tradition of making Yahoo groups for every little thing, I've made a new group for planning this adventure: The group is open to anyone interested in attending. If you love the desert and can deal with sub-freezing desert nights, this should be a good time. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From cford at sc.edu Tue Apr 3 15:46:52 2007 From: cford at sc.edu (Curt Ford) Date: Tue, 3 Apr 2007 15:46:52 -0400 Subject: dynamically adding links with textStyle, linkText, and an ask dialog Message-ID: In my project I want to let users enter text into a field, then highlight some text to add a link; the field contents are then saved to a text file to be read in later & displayed with an active link. This works fine, attached to a button for adding a link: on mouseUp set the textStyle of the selectedText to "link" set the linkText of the selectedText to "http://www.google.com" put the HTMLText of fld "source" into fld "resultHTML" --a check to see how it looks end mouseUp But when I try to let the user enter a link with: on mouseUp ask "Please enter a link:" put it into tLink set the textStyle of the selectedText to "link" set the linkText of the selectedText to tLink put the HTMLText of fld "source" into fld "resultHTML" end mouseUp ..the link ends up following the text that was selected; so if in "one two three" the "two" was highlighted, the result is:

one two three

Is there a way I can keep the ask dialog box from interfering with the selection? Curt Dr. Curtis Ford Instructor of Russian and Linguistics Dept of Languages, Literatures and Cultures University of South Carolina cford at sc.edu From ambassador at fourthworld.com Tue Apr 3 16:10:19 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2007 13:10:19 -0700 Subject: Yet another Newbie Question Message-ID: <4612B4AB.3050407@fourthworld.com> Stephen Barncard wrote: > a data stack using custom properties and property sets is one of the > best ways to store arrays in Rev (and data in general). > > You can also put data inside the data using text lists inside a > custom property. This of course puts stricter limits on what goes > into certain places. > > key1 data data2 data3 > key2 data data2 data3 > key3 data data2 data3 > > an entire array of datasets can be punched into or retrieved from a > stack in one line of code. Loop through the arrays in a script to > copy over, or use the clone command. > > lots of ways to accomplish the tasks. Some tips along those lines for using stacks for data storage: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From devin_asay at byu.edu Tue Apr 3 16:18:47 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 3 Apr 2007 14:18:47 -0600 Subject: "New Table Object" (sort of) Problem In-Reply-To: <461296AB.206@crcom.net> References: <461296AB.206@crcom.net> Message-ID: <1DC50578-A092-4D9F-9266-36E3A65813CF@byu.edu> On Apr 3, 2007, at 12:02 PM, Len Morgan wrote: > Well, I'm getting close! Between locking the size and position and > setting vScroll to true, I can now create a variable length table > that will scroll if it get too large. > > Next Problem: > > How do I remove the groups when I do the next query? Can I get a > list of the groups that are within another group? Something like: > > repeat with g in (the groups in group "resultsGroup" > remove group g > end repeat > > I realize that the repeat command isn't "legal" but I think you get > the idea. I KNOW I've seen a command that will give you the list > of fields in a group (although I can't seem to find that either) > but I want a list of groups that are contained within another group. You can check the number of controls in a group. Since the name of the control contains the type of object it is you could do something like this: repeat with i = the number of controls in group "resultsGroup" down to 1 if the name of control i of group "resultsGroup" contains "group" then remove control i of group "resultsGroup" end if end repeat I would start at the top and increment downward, since removing controls from the group will throw off the count if you count upward. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From devin_asay at byu.edu Tue Apr 3 16:24:22 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 3 Apr 2007 14:24:22 -0600 Subject: dynamically adding links with textStyle, linkText, and an ask dialog In-Reply-To: References: Message-ID: <10704110-C719-4888-8818-61075B1AEF3E@byu.edu> On Apr 3, 2007, at 1:46 PM, Curt Ford wrote: > In my project I want to let users enter text into a field, then > highlight some text to add a link; the field contents are then > saved to a text file to be read in later & displayed with an active > link. > > This works fine, attached to a button for adding a link: > > on mouseUp > set the textStyle of the selectedText to "link" > set the linkText of the selectedText to "http://www.google.com" > put the HTMLText of fld "source" into fld "resultHTML" --a check > to see how it looks > end mouseUp > > But when I try to let the user enter a link with: > > on mouseUp > ask "Please enter a link:" > put it into tLink > set the textStyle of the selectedText to "link" > set the linkText of the selectedText to tLink > put the HTMLText of fld "source" into fld "resultHTML" > end mouseUp > > ..the link ends up following the text that was selected; so if in > "one two three" the "two" was highlighted, the result is: > >

one two three font>

> > Is there a way I can keep the ask dialog box from interfering with > the selection? Curt, The ask dialog will change the selection, so the best approach may be to save the selectedChunk information in a variable while you do the ask dialog, then restore it after the dialog is dismissed. put the selectedChunk into tSelChunk ask "Please enter a link:" put it into tLink select tSelChunk -- or whatever the precise syntax would be -- do the rest of your business here. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From JimCarwardine at OwnYourFuture-net.com Tue Apr 3 16:40:24 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Tue, 03 Apr 2007 17:40:24 -0300 Subject: Loading Enterprise on a PC... In-Reply-To: <10704110-C719-4888-8818-61075B1AEF3E@byu.edu> Message-ID: Hi Folks... I just downloaded Enterprise to my PC Parallels window. Then I copied a stack to the Parallels Shared folder. When I try and open it on the PC side, I can see the stack sitting in the shared folder, but I can't double click it and open it in Rev. I can't see it if I choose File/Open from inside Rev... Is there something I've missed? Jim -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From mb.userev at harbourhosting.co.uk Tue Apr 3 17:13:50 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Tue, 03 Apr 2007 22:13:50 +0100 Subject: Loading Enterprise on a PC... In-Reply-To: References: Message-ID: <4612C38E.8020609@harbourhosting.co.uk> Jim Carwardine wrote: > Hi Folks... I just downloaded Enterprise to my PC Parallels window. Then I > copied a stack to the Parallels Shared folder. When I try and open it on > the PC side, I can see the stack sitting in the shared folder, but I can't > double click it and open it in Rev. I can't see it if I choose File/Open > from inside Rev... Is there something I've missed? Jim does the stack's filename end with .rev ? Martin Baxter From ambassador at fourthworld.com Tue Apr 3 17:43:40 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2007 14:43:40 -0700 Subject: use-revolution Digest, Vol 43, Issue 3 Message-ID: <4612CA8C.1050701@fourthworld.com> Fred moyer wrote: >> Seems like you found the cause: global variables can be updated at >> any >> time by any script, so the Variable Watcher posts messages to >> itself to >> update periodically so it can show current values. > > Sorry, but did you possibly misread what I wrote? Closing the Message > Box (not the Variable Watcher) brought the cpu back down to normal. > But I don't know much about the inner workings of Revolution, so > maybe there's some connection between the Message Box and Variable > Watcher that I don't know about. > > Again, this issue is intermittent. But I've only noticed it with 2.8. > Sometimes, closeing a palette that I created will slow it down. > Twice, I think (not sure about this) closing the Application Browser > slowed things down. The Message Box contains panes which display pending messages, global vars, and more. But I'm not sure that's the root cause now, at least not by itself. I've left Rev open a while in the background with the Message Box open, and it never uses more than about 2-5% of CPU time. Any plugins running in your installation? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bvg at mac.com Tue Apr 3 19:58:55 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 4 Apr 2007 01:58:55 +0200 Subject: Question (more or less) about arrays In-Reply-To: References: <46126FA0.2060901@fourthworld.com> <4612784A.44546F8C@club-internet.fr> Message-ID: how should an array behave in an xtalk language? In my opinion it should try to anticipate the use people would want of it, as well as behaving the same every time (consistence). With that in mind, I would let an array accessed trough "put myArray" return the same as when one would do this: combine myArray using (the linedelimiter) and (the itemdelimiter) put myArray split myArray using (the linedelimiter) and (the itemdelimiter) So an array would basically give it's content, but remain an array. This of course would allow to get the myCustompropertyset of an object the same way. If one want's to test whether something is an array one would need to do the same as today, namely test whether the keys of myArray is empty. Maybe an addition to the "is a" for arrays would be nice too? And while we're at it where are the "is among the keys" and "is among the elements" tests? Arrays are fun to improve :) Bj?rnke On 03 Apr 2007, at 17:50, Dave wrote: > > On 3 Apr 2007, at 16:52, jbv wrote: > >> >> >> Richard Gaskin a *crit : >> >>>> >>>> One option is to return the same thing as when using "the keys of >>>> var", >>>> IOW the list of the keys of the array... >>> >>> How would one distinguish between an array and a non-array which >>> contains any return-delimited list? >> >> Well, actually, my problem was to detect if a var was empty or not, no >> matter if it was an array or a regular variable. >> At least my proposition solves my original problem. >> >> As for your question, may be could there be a command named "the >> arrayNames" >> that would list the variables containing arrays ? >> Therefore we could use some simple test such as : >> if my var is not empty and my var is among the arrayNames >> >> I'm sure someone will come up with a better idea... > > Maybe it would be better to just add a "type" function? > > e.g. Something like: > > if revType(myVar) = "Array" then > ............................. > > > All the Best > Dave -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From JimCarwardine at OwnYourFuture-net.com Tue Apr 3 21:04:37 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Tue, 03 Apr 2007 22:04:37 -0300 Subject: Loading Enterprise on a PC... In-Reply-To: <4612C38E.8020609@harbourhosting.co.uk> Message-ID: No it didn't... Thanks, Martin... Jim on 4/3/07 6:13 PM, Martin Baxter wrote: > Jim Carwardine wrote: >> Hi Folks... I just downloaded Enterprise to my PC Parallels window. Then I >> copied a stack to the Parallels Shared folder. When I try and open it on >> the PC side, I can see the stack sitting in the shared folder, but I can't >> double click it and open it in Rev. I can't see it if I choose File/Open >> from inside Rev... Is there something I've missed? Jim > > does the stack's filename end with .rev ? > > Martin Baxter > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From JimCarwardine at OwnYourFuture-net.com Tue Apr 3 21:15:48 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Tue, 03 Apr 2007 22:15:48 -0300 Subject: Loading Enterprise on a PC... In-Reply-To: Message-ID: Should have tried it first... I put the .rev on the end of my file name and the system recognized it as a rev file but got this message when I tried to open it both from inside rev and by double clicking on the file... Revolution Engine for Win32 has encountered a problem and needs to close. We are sorry for the inconvenience. Any ideas? Jim on 4/3/07 10:04 PM, Jim Carwardine wrote: > No it didn't... Thanks, Martin... Jim > > > on 4/3/07 6:13 PM, Martin Baxter wrote: > >> Jim Carwardine wrote: >>> Hi Folks... I just downloaded Enterprise to my PC Parallels window. Then I >>> copied a stack to the Parallels Shared folder. When I try and open it on >>> the PC side, I can see the stack sitting in the shared folder, but I can't >>> double click it and open it in Rev. I can't see it if I choose File/Open >>> from inside Rev... Is there something I've missed? Jim >> >> does the stack's filename end with .rev ? >> >> Martin Baxter >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From JimAultWins at yahoo.com Tue Apr 3 21:38:54 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 03 Apr 2007 18:38:54 -0700 Subject: Revcon Las Vegas In-Reply-To: Message-ID: I agree about the smoking hazards in the casinos. I only go in to a casino to see a show or eat at a restaurant, which is about 6 times a year. There are several places that are not like the big casino and are not smoke-filled and crowded. My preference is to be away from the strip and at a place that does not even have gambling, but does have competitive rates and good service. The Tuscany hotel comes to mind, although there is some gaming, it is more of a get-away. Jim Ault Las Vegas On 4/3/07 10:28 AM, "Stephen Barncard" wrote: > Am I the only one that is not looking forward to a Revcon in Las Vegas? > I personally don't like the glitz and the crowds (and some folks > do...), but I also got to thinking about the really serious downside > of living and working in casinos... > > the thousands of Tobacco Smokers... (my apologies to my smoking friends..) > > Because of the hotels' tradition of crowd mitigation, we'll have to > walk through that haze and noise of a casino several times a day just > to get between our rooms and the conference. It's their way or the > highway. Cheap rooms to be sure, but at what price? > > On the other hand, there's FlyAway... > > http://www.flyawayindoorskydiving.com/ > From ambassador at fourthworld.com Tue Apr 3 22:18:23 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Apr 2007 19:18:23 -0700 Subject: revPrintText/pageHeights broken in v2.8? Message-ID: <46130AEF.9080903@fourthworld.com> It seems that there may be a problem with the pageHeights property in v2.8. I'm still pinning down the source of the problem, but have any of you found that revPrintText is printing with some lines missing between pages? If so, can you verify that this worked correctly in earlier versions? Do any of your own print routines which rely on the pageHeights property work well in v2.8? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION at barncard.com Tue Apr 3 22:31:20 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 3 Apr 2007 19:31:20 -0700 Subject: Revcon Las Vegas In-Reply-To: References: Message-ID: It would be great to have lodging and conference in the same building somehow...get-away is good... >and good service. The Tuscany hotel comes to mind, although there is some >gaming, it is more of a get-away. > >Jim Ault >Las Vegas > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From sims at ezpzapps.com Tue Apr 3 23:09:24 2007 From: sims at ezpzapps.com (Jim Sims) Date: Wed, 4 Apr 2007 05:09:24 +0200 Subject: Revcon Las Vegas In-Reply-To: References: Message-ID: <2CD0A62C-AEC4-4207-A9BA-9DD92538D563@ezpzapps.com> On Apr 4, 2007, at 4:31 AM, Stephen Barncard wrote: > It would be great to have lodging and conference in the same > building somehow When planning the EuroRevCon we made this a must. The hotel usually likes this as they can add items to the package but on the other hand it gave us bargaining power when negotiating with all the hotels. We were able to get free conference facilities and low cost buffet lunches right in the conference room. To plan such an event well one must deal with many details. These events are about meeting people and learning things - not traveling to/from hotel/conference. ciao, sims From janschenkel at yahoo.com Wed Apr 4 01:04:25 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 3 Apr 2007 22:04:25 -0700 (PDT) Subject: find and replace In-Reply-To: Message-ID: <175245.24895.qm@web60516.mail.yahoo.com> --- Lars Brehmer wrote: > Hi all, > > I am trying to duplicate the find and replace tool > in the rev IDE in > a button script. I have a large project in macOSX > that needs a few > dozen little tweeks when I make a Windows > standalone. I put these > all into a button so when I make a new Windows > standalone just one > click gives me all the little changes. The one > thing I haven't > succeeded in is a single word that appears in about > 20 button and > stack scripts. It seems that "visualEffect reval" > needs to be > "visualEffect wipe" to get the same result in > Windows. So for now I > just do a find and replace with the "scripts" box > checked, but it > would be nice to include this in my tweek button in > order to doo all > tweeks without opening Rev. I assume it's just a > question of getting > the syntax correct for: > > replace "reveal" with "wipe" in this stack and its > stack files -- > using the find and replace tool with scripts checked > > What should it be? > > Cheers, > > Lars > Hi Lars, You'd have to go through all the cards, then through all the controls on that card, to get the script, replace reveal with wipe, and then set the script of the control again. ## on mouseUp put the number of cards into tNumCards repeat with i = 1 to tNumCards go card i put the number of controls into tNumControls repeat with j = 1 to tNumControls get the script of control j replace "reveal" with "wipe" in it set the script of control j to it end repeat end repeat answer "Done!" end mouseUp ## Wouldn't it be easier if you kept the transition separate in a custom handler that you could call from other places? ## on MyVisualEffect pEffect switch pEffect case "wipe" case "reveal" if the platform is "MacOS" then visual effect wipe else visual effect reveal end if break default do ("visual effect && pEffect) break end switch end MyVisualEffect ## That way you can centralize this sort of platform-specific modifications. Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 From dave at looktowindward.com Wed Apr 4 04:28:09 2007 From: dave at looktowindward.com (Dave) Date: Wed, 4 Apr 2007 09:28:09 +0100 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <46129188.4080804@hyperactivesw.com> References: <461278C8.4090009@fourthworld.com> <46129188.4080804@hyperactivesw.com> Message-ID: On 3 Apr 2007, at 18:40, J. Landman Gay wrote: > Dave wrote: >> Hi, >> I've just tried it again under Versions 2.6.6.152, 2.7.4.291, >> 2.8.0..350 and 2.8.0.370 and it only works in 2.6.6.152,. I am >> using an Intel Mac, but last time I tried, it didn't work on >> PowerPC either. > > I've never had it fail in any version, on any OS, on any hardware > -- except after using Audacity in OS X, as I mentioned in another > thread. Did you check the MIDI Setup app to see if the sound output > is at the right Hz? > > Yes, I checked that when I saw your post on this subject. However I can't see it is that since it works under 2.6.6.152 and it works with other applications. Tis a mystery! I am thinking of using AppleScript as a workaround. All the Best Dave From dave at looktowindward.com Wed Apr 4 04:48:23 2007 From: dave at looktowindward.com (Dave) Date: Wed, 4 Apr 2007 09:48:23 +0100 Subject: Yet another Newbie Question In-Reply-To: References: Message-ID: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com> Hi, If you intend to build standalone apps you should be aware that you CANNOT write back data to the Stack that is the "main" application. There are a number of ways around this which also address your questions below. The method I use is to have one stack that is the main application "Splash" screen. This stack doesn't have to actually display anything and is really just a place holder to load the RunRev Engine. This stack then calls up .rev files (that are buried in the App Bundle on MacOS X). I use the following folder structure: SplashStack.app (Bundle) SplashStack.app/Contents/MacOS/MakeTestMovie (Real Application or Standalone) SplashStack.app/Contents/MacOS/RunRime (RunTime Folder Created by RunRev when you build a standalone) SplashStack.app/Contents/MacOS/RunRime/Database/ (This folder is used to contain Data files used by your app) SplashStack.app/Contents/MacOS/RunRime/Externals/ (This folder is used to contain External files used by your app) SplashStack.app/Contents/MacOS/RunRime/Images/ (This folder is used to contain Images files used by your app) SplashStack.app/Contents/MacOS/RunRime/Stacks (This folder is used to contain the real Stack Files files for your app) You can set all this up in the Standalone settings panel which is run run the Splash Screen Stack. Depending on what you are doing you may also need some code in the Splash Screen Stack that runs when a Standalone is saved and copies files to the right places. I need to do this with my apps. Using this approach if you want to use a stack to hold your data, then you just use a separate stack that just holds the data. Then versions 1, 2, 3 etc. just access this stack so you have no need to worry about transferring data between versions. You can equally well use separate data files or a mixture of the two techniques. The other advantage of this approach is that you can also re-use stacks in other applications and it makes adding or updating an application as simple as replacing just the file(s) in question. My ISM module and the framework basically work like this. Hope this helps Dave On 3 Apr 2007, at 17:20, Simon HARPER wrote: > Hi there, > so I've a couple of questions (which may be silly) > > 1) If I create version 1 of an application which saves data as a > stack - then create version 2 which adds functionality (but > probably doesn't change the data format) how do I get the stack > data from version 1 into the newly installed version 2? > > 2) It seems that a good idea is to create a Library and Data > Manager stack, so now I'm wondering is it 'better' to push all data > to disk, as say xml or text, then reload it all into an array in > the Data Manager and then step through the array and perform all > other actions on the array - if you like - a kind of abstraction? > which leads me to the question - is there the concept of a record > structure as in c/c++ or is it best to use a 2 dimensional array? > > Sorry once again if this is all obvious. > > Cheers > Si. > > ==== > Simon Harper > 2.44 Kilburn Building > University of Manchester (UK) > > Pri: simon.harper at manchester.ac.uk > Alt: sharper at cs.man.ac.uk > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 nickp at didata.bw Wed Apr 4 06:35:36 2007 From: nickp at didata.bw (Nic Prioleau) Date: Wed, 4 Apr 2007 12:35:36 +0200 Subject: Using Shell to copy files References: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com> Message-ID: <01cd01c776a4$fb46be20$480aa8c0@didata.bw> Hi all, having tried, with no result, to copy files using revCopyFile, I decided to try and use shell("copy"). The way I am doing it may seem a little odd but my syntax is this... put quote & "copy "&source&space&tLocalPath"e into tTest set the hideConsoleWindows to true get shell(tTest) This works fine but only if the folder I am copying to does not have any spaces in it's name. Can someone tell me how I would get around this problem. It's obviously a DOS issue but I am not sure of the syntax. Thanks Nic ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From dave at looktowindward.com Wed Apr 4 06:38:02 2007 From: dave at looktowindward.com (Dave) Date: Wed, 4 Apr 2007 11:38:02 +0100 Subject: Using Shell to copy files In-Reply-To: <01cd01c776a4$fb46be20$480aa8c0@didata.bw> References: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com> <01cd01c776a4$fb46be20$480aa8c0@didata.bw> Message-ID: <2DFE1580-B0FE-4B92-A516-AE53AC880C04@looktowindward.com> Hi, What problems are you having with the revCopyFile command? AFAIK it works ok. This is a better way of doing since depending on what you are doing, using the shell or an external copy command may cause problems if you open the new file too quickly. All the Best Dave On 4 Apr 2007, at 11:35, Nic Prioleau wrote: > Hi all, > > having tried, with no result, to copy files using revCopyFile, I > decided to try and use shell("copy"). The way I am doing it may > seem a little odd but my syntax is this... > > put quote & "copy "&source&space&tLocalPath"e into tTest > set the hideConsoleWindows to true > get shell(tTest) > > This works fine but only if the folder I am copying to does not > have any spaces in it's name. > > Can someone tell me how I would get around this problem. It's > obviously a DOS issue but I am not sure of the syntax. > > Thanks > Nic > > > ###################################################################### > ############### > This e-mail message has been scanned for Viruses and Content and > cleared by MailMarshal > ###################################################################### > ############### > _______________________________________________ > use-revolution mailing list > use-revolution 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 nickp at didata.bw Wed Apr 4 06:52:47 2007 From: nickp at didata.bw (Nic Prioleau) Date: Wed, 4 Apr 2007 12:52:47 +0200 Subject: Using Shell to copy files References: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com><01cd01c776a4$fb46be20$480aa8c0@didata.bw> <2DFE1580-B0FE-4B92-A516-AE53AC880C04@looktowindward.com> Message-ID: <01e401c776a7$62013210$480aa8c0@didata.bw> Yeah I hear you... Problem is my revCopyFile is returning a 1, so I am not too sure what this means(other than it's in error). Does this command also worry about spaces in the folder names? ----- Original Message ----- From: "Dave" To: "How to use Revolution" Sent: Wednesday, April 04, 2007 12:38 PM Subject: Re: Using Shell to copy files > Hi, > > What problems are you having with the revCopyFile command? AFAIK it works > ok. This is a better way of doing since depending on what you are doing, > using the shell or an external copy command may cause problems if you > open the new file too quickly. > > All the Best > Dave > > On 4 Apr 2007, at 11:35, Nic Prioleau wrote: > >> Hi all, >> >> having tried, with no result, to copy files using revCopyFile, I decided >> to try and use shell("copy"). The way I am doing it may seem a little >> odd but my syntax is this... >> >> put quote & "copy "&source&space&tLocalPath"e into tTest >> set the hideConsoleWindows to true >> get shell(tTest) >> >> This works fine but only if the folder I am copying to does not have any >> spaces in it's name. >> >> Can someone tell me how I would get around this problem. It's obviously >> a DOS issue but I am not sure of the syntax. >> >> Thanks >> Nic >> >> >> ###################################################################### >> ############### >> This e-mail message has been scanned for Viruses and Content and cleared >> by MailMarshal >> ###################################################################### >> ############### >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 > ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From dave at looktowindward.com Wed Apr 4 07:01:27 2007 From: dave at looktowindward.com (Dave) Date: Wed, 4 Apr 2007 12:01:27 +0100 Subject: Using Shell to copy files In-Reply-To: <01e401c776a7$62013210$480aa8c0@didata.bw> References: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com><01cd01c776a4$fb46be20$480aa8c0@didata.bw> <2DFE1580-B0FE-4B92-A516-AE53AC880C04@looktowindward.com> <01e401c776a7$62013210$480aa8c0@didata.bw> Message-ID: Hi, AFAIK it works ok with spaces, paste your code into an email and I'll take a look, it works fine for me. All the Best Dave On 4 Apr 2007, at 11:52, Nic Prioleau wrote: > Yeah I hear you... Problem is my revCopyFile is returning a 1, so I > am not too sure what this means(other than it's in error). Does > this command also worry about spaces in the folder names? > > ----- Original Message ----- From: "Dave" > To: "How to use Revolution" > Sent: Wednesday, April 04, 2007 12:38 PM > Subject: Re: Using Shell to copy files > > >> Hi, >> >> What problems are you having with the revCopyFile command? AFAIK >> it works ok. This is a better way of doing since depending on >> what you are doing, using the shell or an external copy command >> may cause problems if you open the new file too quickly. >> >> All the Best >> Dave >> >> On 4 Apr 2007, at 11:35, Nic Prioleau wrote: >> >>> Hi all, >>> >>> having tried, with no result, to copy files using revCopyFile, I >>> decided to try and use shell("copy"). The way I am doing it may >>> seem a little odd but my syntax is this... >>> >>> put quote & "copy "&source&space&tLocalPath"e into tTest >>> set the hideConsoleWindows to true >>> get shell(tTest) >>> >>> This works fine but only if the folder I am copying to does not >>> have any spaces in it's name. >>> >>> Can someone tell me how I would get around this problem. It's >>> obviously a DOS issue but I am not sure of the syntax. >>> >>> Thanks >>> Nic >>> >>> >>> #################################################################### >>> ## ############### >>> This e-mail message has been scanned for Viruses and Content and >>> cleared by MailMarshal >>> #################################################################### >>> ## ############### >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 > > > ###################################################################### > ############### > This e-mail message has been scanned for Viruses and Content and > cleared by MailMarshal > ###################################################################### > ############### > _______________________________________________ > use-revolution mailing list > use-revolution 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 nickp at didata.bw Wed Apr 4 07:24:13 2007 From: nickp at didata.bw (Nic Prioleau) Date: Wed, 4 Apr 2007 13:24:13 +0200 Subject: Using Shell to copy files References: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com><01cd01c776a4$fb46be20$480aa8c0@didata.bw><2DFE1580-B0FE-4B92-A516-AE53AC880C04@looktowindward.com><01e401c776a7$62013210$480aa8c0@didata.bw> Message-ID: <01f101c776ab$c63b78e0$480aa8c0@didata.bw> Hi Dave, Here's the source.... put the effective filename of this stack into tLocalPath set the itemDelimiter to "/" put "" into item -1 of tLocalPath if tempSFile = tempLFile then if line 5 of thisSLine > line 5 of thisLFile then put tServerPath & tempSFile into source -- So source looks like this "\\83.143.28.54\netcaresource\filesToDownload\AeroMedical.qrl" -- And tLocalPath = "C:/Netcare991 Source/" revCopyFile source,tLocalPath if the result is empty then put tempSFile & " File Updated Sucessfully..."&cr after tempMessage end if end if end if Thanks for your assistance there Dave... Nic ----- Original Message ----- From: "Dave" To: "How to use Revolution" Sent: Wednesday, April 04, 2007 1:01 PM Subject: Re: Using Shell to copy files > Hi, > > AFAIK it works ok with spaces, paste your code into an email and I'll > take a look, it works fine for me. > > All the Best > Dave > > On 4 Apr 2007, at 11:52, Nic Prioleau wrote: > >> Yeah I hear you... Problem is my revCopyFile is returning a 1, so I am >> not too sure what this means(other than it's in error). Does this >> command also worry about spaces in the folder names? >> >> ----- Original Message ----- From: "Dave" >> To: "How to use Revolution" >> Sent: Wednesday, April 04, 2007 12:38 PM >> Subject: Re: Using Shell to copy files >> >> >>> Hi, >>> >>> What problems are you having with the revCopyFile command? AFAIK it >>> works ok. This is a better way of doing since depending on what you >>> are doing, using the shell or an external copy command may cause >>> problems if you open the new file too quickly. >>> >>> All the Best >>> Dave >>> >>> On 4 Apr 2007, at 11:35, Nic Prioleau wrote: >>> >>>> Hi all, >>>> >>>> having tried, with no result, to copy files using revCopyFile, I >>>> decided to try and use shell("copy"). The way I am doing it may seem >>>> a little odd but my syntax is this... >>>> >>>> put quote & "copy "&source&space&tLocalPath"e into tTest >>>> set the hideConsoleWindows to true >>>> get shell(tTest) >>>> >>>> This works fine but only if the folder I am copying to does not have >>>> any spaces in it's name. >>>> >>>> Can someone tell me how I would get around this problem. It's >>>> obviously a DOS issue but I am not sure of the syntax. >>>> >>>> Thanks >>>> Nic >>>> >>>> >>>> #################################################################### ## >>>> ############### >>>> This e-mail message has been scanned for Viruses and Content and >>>> cleared by MailMarshal >>>> #################################################################### ## >>>> ############### >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution 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 >> >> >> ###################################################################### >> ############### >> This e-mail message has been scanned for Viruses and Content and cleared >> by MailMarshal >> ###################################################################### >> ############### >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 > ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From robmann at gp-racing.com Wed Apr 4 07:43:32 2007 From: robmann at gp-racing.com (robmann at gp-racing.com) Date: Wed, 04 Apr 2007 07:43:32 -0400 Subject: autosave revaltArchive? Message-ID: <20070404074332.rp6iavo30eg4swgk@gp-racing.com> I added altArchive plugin and now every 3rd thing I do in rev it autosaves and archives the stack how do I change this? Thanks Rob From larsbrehmer at mac.com Wed Apr 4 07:48:20 2007 From: larsbrehmer at mac.com (Lars Brehmer) Date: Wed, 4 Apr 2007 14:48:20 +0300 Subject: find and replace Message-ID: <731140FA-AA15-4470-A281-17162F2F9065@mac.com> Thanks a million Jan! > Wouldn't it be easier if you kept the transition > separate in a custom handler that you could call from > other places? The custom handler is definitely the way to go! It's almost embarassing, because I've been using custom handlers forever, but always a custom handler in a script that is only used in that script. Now I know! Cheers, Lars From dave at looktowindward.com Wed Apr 4 08:42:51 2007 From: dave at looktowindward.com (Dave) Date: Wed, 4 Apr 2007 13:42:51 +0100 Subject: Using Shell to copy files In-Reply-To: <01f101c776ab$c63b78e0$480aa8c0@didata.bw> References: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com><01cd01c776a4$fb46be20$480aa8c0@didata.bw><2DFE1580-B0FE-4B92-A516-AE53AC880C04@looktowindward.com><01e401c776a7$62013210$480aa8c0@didata.bw> <01f101c776ab$c63b78e0$480aa8c0@didata.bw> Message-ID: Hi, I've had a look and on the face of it the code seems ok. I only have a Mac, so I can't test it here. One thing I noticed from the docs: Note: In a standalone application the Common library is implemented as a hidden group and made available when the group receives its first openBackground message. During the first part of the application's startup process, before this message is sent, the revCopyFilecommand is not yet available. This may affect attempts to use this command in startup, preOpenStack, openStack, or preOpenCardhandlers in the main stack. Once the application has finished starting up, the library is available and the revCopyFilecommand can be used in any handler. Not sure if this has any bearing. Otherwise, here are some suggestions: 1. add the lines: if there is a file source then answer "There is file:" && source end if to Just before the revCopyFile call. 2. Change the source folder to be on the same Machine as the destination folder as a Test, if this works then it's something to do with the source file being on a different machine. 3. Try it without spaces in the path and name, I've tried it on a mac and it works ok, but don't have a PC. All the Best Dave On 4 Apr 2007, at 12:24, Nic Prioleau wrote: > Hi Dave, > Here's the source.... > > put the effective filename of this stack into tLocalPath > set the itemDelimiter to "/" > put "" into item -1 of tLocalPath > > if tempSFile = tempLFile then > if line 5 of thisSLine > line 5 of thisLFile then > put tServerPath & tempSFile into source -- So source looks > like this "\\83.143.28.54\netcaresource\filesToDownload > \AeroMedical.qrl" > > -- And tLocalPath = "C:/Netcare991 Source/" > revCopyFile source,tLocalPath > if the result is empty then > put tempSFile & " File Updated Sucessfully..."&cr after > tempMessage > end if > end if > end if > > Thanks for your assistance there Dave... > Nic > ----- Original Message ----- From: "Dave" > To: "How to use Revolution" > Sent: Wednesday, April 04, 2007 1:01 PM > Subject: Re: Using Shell to copy files > > >> Hi, >> >> AFAIK it works ok with spaces, paste your code into an email and >> I'll take a look, it works fine for me. >> >> All the Best >> Dave >> >> On 4 Apr 2007, at 11:52, Nic Prioleau wrote: >> >>> Yeah I hear you... Problem is my revCopyFile is returning a 1, so >>> I am not too sure what this means(other than it's in error). >>> Does this command also worry about spaces in the folder names? >>> >>> ----- Original Message ----- From: "Dave" >>> To: "How to use Revolution" >>> Sent: Wednesday, April 04, 2007 12:38 PM >>> Subject: Re: Using Shell to copy files >>> >>> >>>> Hi, >>>> >>>> What problems are you having with the revCopyFile command? >>>> AFAIK it works ok. This is a better way of doing since >>>> depending on what you are doing, using the shell or an external >>>> copy command may cause problems if you open the new file too >>>> quickly. >>>> >>>> All the Best >>>> Dave >>>> >>>> On 4 Apr 2007, at 11:35, Nic Prioleau wrote: >>>> >>>>> Hi all, >>>>> >>>>> having tried, with no result, to copy files using revCopyFile, >>>>> I decided to try and use shell("copy"). The way I am doing it >>>>> may seem a little odd but my syntax is this... >>>>> >>>>> put quote & "copy "&source&space&tLocalPath"e into tTest >>>>> set the hideConsoleWindows to true >>>>> get shell(tTest) >>>>> >>>>> This works fine but only if the folder I am copying to does >>>>> not have any spaces in it's name. >>>>> >>>>> Can someone tell me how I would get around this problem. It's >>>>> obviously a DOS issue but I am not sure of the syntax. >>>>> >>>>> Thanks >>>>> Nic >>>>> >>>>> >>>>> ################################################################## >>>>> ## ## ############### >>>>> This e-mail message has been scanned for Viruses and Content >>>>> and cleared by MailMarshal >>>>> ################################################################## >>>>> ## ## ############### >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution 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 >>> >>> >>> #################################################################### >>> ## ############### >>> This e-mail message has been scanned for Viruses and Content and >>> cleared by MailMarshal >>> #################################################################### >>> ## ############### >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 > > > ###################################################################### > ############### > This e-mail message has been scanned for Viruses and Content and > cleared by MailMarshal > ###################################################################### > ############### > _______________________________________________ > use-revolution mailing list > use-revolution 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 nickp at didata.bw Wed Apr 4 09:04:56 2007 From: nickp at didata.bw (Nic Prioleau) Date: Wed, 4 Apr 2007 15:04:56 +0200 Subject: Using Shell to copy files References: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com><01cd01c776a4$fb46be20$480aa8c0@didata.bw><2DFE1580-B0FE-4B92-A516-AE53AC880C04@looktowindward.com><01e401c776a7$62013210$480aa8c0@didata.bw><01f101c776ab$c63b78e0$480aa8c0@didata.bw> Message-ID: <000e01c776b9$d80c4aa0$480aa8c0@didata.bw> Ok, I have found the problem but not the solution... Perhaps you may have an idea... The server from which I am copying is asking for a username & password to gain access. Is there a way to pass the username and password? Thanks again... Nic ----- Original Message ----- From: "Dave" To: "How to use Revolution" Sent: Wednesday, April 04, 2007 2:42 PM Subject: Re: Using Shell to copy files > Hi, > > I've had a look and on the face of it the code seems ok. I only have a > Mac, so I can't test it here. One thing I noticed from the docs: > > Note: In a standalone application the Common library is implemented as a > hidden group and made available when the group receives its first > openBackground message. During the first part of the application's > startup process, before this message is sent, the revCopyFilecommand is > not yet available. This may affect attempts to use this command in > startup, preOpenStack, openStack, or preOpenCardhandlers in the main > stack. Once the application has finished starting up, the library is > available and the revCopyFilecommand can be used in any handler. > > Not sure if this has any bearing. > > Otherwise, here are some suggestions: > > 1. add the lines: > > if there is a file source then > answer "There is file:" && source > end if > > to Just before the revCopyFile call. > > 2. Change the source folder to be on the same Machine as the destination > folder as a Test, if this works then it's something to do with the source > file being on a different machine. > > 3. Try it without spaces in the path and name, I've tried it on a mac > and it works ok, but don't have a PC. > > > All the Best > Dave > > On 4 Apr 2007, at 12:24, Nic Prioleau wrote: > >> Hi Dave, >> Here's the source.... >> >> put the effective filename of this stack into tLocalPath >> set the itemDelimiter to "/" >> put "" into item -1 of tLocalPath >> >> if tempSFile = tempLFile then >> if line 5 of thisSLine > line 5 of thisLFile then >> put tServerPath & tempSFile into source -- So source looks like >> this "\\83.143.28.54\netcaresource\filesToDownload \AeroMedical.qrl" >> -- >> And tLocalPath = "C:/Netcare991 Source/" >> revCopyFile source,tLocalPath >> if the result is empty then >> put tempSFile & " File Updated Sucessfully..."&cr after >> tempMessage >> end if >> end if >> end if >> >> Thanks for your assistance there Dave... >> Nic >> ----- Original Message ----- From: "Dave" >> To: "How to use Revolution" >> Sent: Wednesday, April 04, 2007 1:01 PM >> Subject: Re: Using Shell to copy files >> >> >>> Hi, >>> >>> AFAIK it works ok with spaces, paste your code into an email and I'll >>> take a look, it works fine for me. >>> >>> All the Best >>> Dave >>> >>> On 4 Apr 2007, at 11:52, Nic Prioleau wrote: >>> >>>> Yeah I hear you... Problem is my revCopyFile is returning a 1, so I >>>> am not too sure what this means(other than it's in error). Does this >>>> command also worry about spaces in the folder names? >>>> >>>> ----- Original Message ----- From: "Dave" >>>> To: "How to use Revolution" >>>> Sent: Wednesday, April 04, 2007 12:38 PM >>>> Subject: Re: Using Shell to copy files >>>> >>>> >>>>> Hi, >>>>> >>>>> What problems are you having with the revCopyFile command? AFAIK it >>>>> works ok. This is a better way of doing since depending on what you >>>>> are doing, using the shell or an external copy command may cause >>>>> problems if you open the new file too quickly. >>>>> >>>>> All the Best >>>>> Dave >>>>> >>>>> On 4 Apr 2007, at 11:35, Nic Prioleau wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> having tried, with no result, to copy files using revCopyFile, I >>>>>> decided to try and use shell("copy"). The way I am doing it may >>>>>> seem a little odd but my syntax is this... >>>>>> >>>>>> put quote & "copy "&source&space&tLocalPath"e into tTest >>>>>> set the hideConsoleWindows to true >>>>>> get shell(tTest) >>>>>> >>>>>> This works fine but only if the folder I am copying to does not >>>>>> have any spaces in it's name. >>>>>> >>>>>> Can someone tell me how I would get around this problem. It's >>>>>> obviously a DOS issue but I am not sure of the syntax. >>>>>> >>>>>> Thanks >>>>>> Nic >>>>>> >>>>>> >>>>>> ################################################################## ## >>>>>> ## ############### >>>>>> This e-mail message has been scanned for Viruses and Content and >>>>>> cleared by MailMarshal >>>>>> ################################################################## ## >>>>>> ## ############### >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution 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 >>>> >>>> >>>> #################################################################### ## >>>> ############### >>>> This e-mail message has been scanned for Viruses and Content and >>>> cleared by MailMarshal >>>> #################################################################### ## >>>> ############### >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution 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 >> >> >> ###################################################################### >> ############### >> This e-mail message has been scanned for Viruses and Content and cleared >> by MailMarshal >> ###################################################################### >> ############### >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 > ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From simon.harper at manchester.ac.uk Wed Apr 4 09:05:51 2007 From: simon.harper at manchester.ac.uk (Simon HARPER) Date: Wed, 4 Apr 2007 14:05:51 +0100 Subject: Yet another Newbie Question In-Reply-To: References: Message-ID: <22B8C7E3-9B9F-42CE-84A7-F3D0AD2184B5@manchester.ac.uk> Thanks for this. Cheers Si. ==== Simon Harper 2.44 Kilburn Building University of Manchester (UK) Pri: simon.harper at manchester.ac.uk Alt: sharper at cs.man.ac.uk On 3 Apr 2007, at 20:17, Stephen Barncard wrote: > a data stack using custom properties and property sets is one of > the best ways to store arrays in Rev (and data in general). > > You can also put data inside the data using text lists inside a > custom property. This of course puts stricter limits on what goes > into certain places. > > key1 data data2 data3 > key2 data data2 data3 > key3 data data2 data3 > > an entire array of datasets can be punched into or retrieved from a > stack in one line of code. Loop through the arrays in a script to > copy over, or use the clone command. > > lots of ways to accomplish the tasks. > > In MacOS X the data could live a stack inside a package, just > outside the app or a stack in a special folder that is designated > in the OS. (see specialfolderpath in the docs) > > Text files work for certain data situations like listings that need > to be occasionally manipulated by the user, but have no structure, > XML is searchable and structured, but bulky - large files. They > both need to be loaded in from disk. > > With custom properties, if you know generally where some of your > data is, searching can be very fast. Also access time is very > fast, almost as fast as variables, because it's all held in ram. > > > >> Hi there, >> so I've a couple of questions (which may be silly) >> >> 1) If I create version 1 of an application which saves data as a >> stack - then create version 2 which adds functionality (but >> probably doesn't change the data format) how do I get the stack >> data from version 1 into the newly installed version 2? >> >> 2) It seems that a good idea is to create a Library and Data >> Manager stack, so now I'm wondering is it 'better' to push all >> data to disk, as say xml or text, then reload it all into an array >> in the Data Manager and then step through the array and perform >> all other actions on the array - if you like - a kind of >> abstraction? which leads me to the question - is there the concept >> of a record structure as in c/c++ or is it best to use a 2 >> dimensional array? >> >> Sorry once again if this is all obvious. >> >> Cheers >> Si. >> >> ==== >> Simon Harper > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 nickp at didata.bw Wed Apr 4 09:20:37 2007 From: nickp at didata.bw (Nic Prioleau) Date: Wed, 4 Apr 2007 15:20:37 +0200 Subject: Copying files and Folder permissions Message-ID: <001b01c776bc$08d0cf60$480aa8c0@didata.bw> Hello the gurus... Can anyone suggest the easiest way of checking files in a location on the server for instance, comparing the modification dates with the files on the user's disk and if the one on the server is later than one on user's disk, it copies the file? I have a working script but it's real beginner stuff and the issue I'm having is that the server location needs a username and password before the script can do its thing! I was initially using a nice small script using URL & binfile but one cannot compare the modificiation date on the file (As far as I know anyway) I have included my script for your entertainment... on checkFiles put empty into tempMessage put empty into tLocalPath put empty into tServerPath put the effective filename of this stack into tLocalPath set the itemDelimiter to "/" put "" into item -1 of tLocalPath put the serverFileDownloadURL of this cd into tURL ---(http://ipaddress/netcaresource/filesToDownload) put the serverFileDownloadPath of this cd into tServerPath ---(\\ipaddress\netcaresource\filesToDownload\) put folder_content(tServerPath) into Serverfiles put folder_content(tLocalPath) into Localfiles put the number of lines in Serverfiles into SLines put the number of lines in Localfiles into LLines repeat with i = 1 to SLines show group "updateGroup" doImBusy put the line i of Serverfiles into thisSLine replace "," with cr in thisSLine put first line of thisSLine into tempSFile put Localfiles into testLocal replace comma with space in testLocal if tempSFile is among the words of testLocal then repeat with j = 1 to LLines put the line j of LocalFiles into thisLFile replace comma with cr in thisLFile put first line of thisLFile into tempLFile if tempSFile = tempLFile then --If the file names match if line 5 of thisSLine > line 5 of thisLFile then ---- If the server version is greater put "Updating...." into fld "theAction" put tempLFile into fld "theFileName" put tURL & tempSFile into pFileName put URL tURL into URL ("binfile:"&pFileName) put tServerPath&tempSFile into theFile put tLocalPath&tempSFile into tFileName revCopyFile theFile,tFileName --- Copy the file if the result is empty then put tempSFile & " File Updated Sucessfully..."&cr after tempMessage end if end if end if end repeat else ---- If the file does not exist at all put "Downloading...." into fld "theAction" put tempSFile into fld "theFileName" put tURL & tempSFile into pFileName put URL tURL into URL ("binfile:"&pFileName) put tServerPath&tempSFile into theFile put tLocalPath&tempSFile into tFileName revCopyFile theFile,tFileName -- Copy the file if the result is empty then put tempSFile & " This new file Added Successfully..."&cr after tempMessage end if end if end repeat doImNotBusy hide group "updateGroup" end checkFiles function folder_content tFolder put the directory into olddir set the directory to tFolder put the detailed files into tFiles set the directory to olddir return tFiles end folder_content Please if anyone has an easier way or is able to assist with authentication issue, I'll be most grateful!!! Thanks Regards Nic ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From Roger.E.Eller at sealedair.com Wed Apr 4 09:25:13 2007 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 4 Apr 2007 09:25:13 -0400 Subject: Using Shell to copy files In-Reply-To: <000e01c776b9$d80c4aa0$480aa8c0@didata.bw> Message-ID: On 04/04/2007 at 09:04 AM, "Nic Prioleau" wrote: > Ok, I have found the problem but not the solution... Perhaps you may have an > idea... > > The server from which I am copying is asking for a username & password to > gain access. Is there a way to pass the username and password? > > Thanks again... > Nic I have encountered similar situations. What I do (since I don't know how to pass authentication inside a UNC path) is run a VBscript via shell when the application starts. This VBscript will map the network share to a drive letter. Once that is done, you can either access the remote server by drive letter or UNC path designation. Such VBscripts are easily found in a google search. Roger Eller From ambassador at fourthworld.com Wed Apr 4 11:07:45 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Apr 2007 08:07:45 -0700 Subject: revPrintText/pageHeights broken in v2.8? Message-ID: <4613BF41.2050209@fourthworld.com> Yesterday I'd written: > It seems that there may be a problem with the pageHeights property in > v2.8. I'm still pinning down the source of the problem, but have any of > you found that revPrintText is printing with some lines missing between > pages? > > If so, can you verify that this worked correctly in earlier versions? > > Do any of your own print routines which rely on the pageHeights property > work well in v2.8? I've since found the source of the problem: If the stack being printed is hidden, the rendering of the printed page will yield unpredictable results. In some cases no text will appear, in other cases (such as my tests using revPrintText via Rev's File->Print Field menu item) the resulting printout will have lines missing between pages. None of this was reproducible in v2.7.4. I've logged a bug report at: The workaround is to move the window offscreen rather than hiding it. If moved offscreen but still visible all printing tests I've done get good results. It might be helpful to have input from others on this issue, since it's still unclear to me whether the problem is in the buffering of the window or something to do with the pageHeights property. If you've found any anomalies with printing hidden windows in Rev in v2.8, or have had missing lines in printouts using revPrintText, please consider adding your recipes to that BZ report. Because RunRev remains had at work on updates to v2.8, timing may be critical in seeing this addressed sooner rather than later. So if you've discovered printing anomalies like these please take a moment to post your recipe to that report at your earliest convenience. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dave at looktowindward.com Wed Apr 4 11:45:40 2007 From: dave at looktowindward.com (Dave) Date: Wed, 4 Apr 2007 16:45:40 +0100 Subject: Using Shell to copy files In-Reply-To: <000e01c776b9$d80c4aa0$480aa8c0@didata.bw> References: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com><01cd01c776a4$fb46be20$480aa8c0@didata.bw><2DFE1580-B0FE-4B92-A516-AE53AC880C04@looktowindward.com><01e401c776a7$62013210$480aa8c0@didata.bw><01f101c776ab$c63b78e0$480aa8c0@didata.bw> <000e01c776b9$d80c4aa0$480aa8c0@didata.bw> Message-ID: Sorry, I don't know much about Windows! All the Best Dave On 4 Apr 2007, at 14:04, Nic Prioleau wrote: > Ok, I have found the problem but not the solution... Perhaps you > may have an idea... > > The server from which I am copying is asking for a username & > password to gain access. Is there a way to pass the username and > password? > > Thanks again... > Nic > ----- Original Message ----- From: "Dave" > To: "How to use Revolution" > Sent: Wednesday, April 04, 2007 2:42 PM > Subject: Re: Using Shell to copy files > > >> Hi, >> >> I've had a look and on the face of it the code seems ok. I only >> have a Mac, so I can't test it here. One thing I noticed from the >> docs: >> >> Note: In a standalone application the Common library is >> implemented as a hidden group and made available when the group >> receives its first openBackground message. During the first part >> of the application's startup process, before this message is >> sent, the revCopyFilecommand is not yet available. This may >> affect attempts to use this command in startup, preOpenStack, >> openStack, or preOpenCardhandlers in the main stack. Once the >> application has finished starting up, the library is available >> and the revCopyFilecommand can be used in any handler. >> >> Not sure if this has any bearing. >> >> Otherwise, here are some suggestions: >> >> 1. add the lines: >> >> if there is a file source then >> answer "There is file:" && source >> end if >> >> to Just before the revCopyFile call. >> >> 2. Change the source folder to be on the same Machine as the >> destination folder as a Test, if this works then it's something to >> do with the source file being on a different machine. >> >> 3. Try it without spaces in the path and name, I've tried it on >> a mac and it works ok, but don't have a PC. >> >> >> All the Best >> Dave >> >> On 4 Apr 2007, at 12:24, Nic Prioleau wrote: >> >>> Hi Dave, >>> Here's the source.... >>> >>> put the effective filename of this stack into tLocalPath >>> set the itemDelimiter to "/" >>> put "" into item -1 of tLocalPath >>> >>> if tempSFile = tempLFile then >>> if line 5 of thisSLine > line 5 of thisLFile then >>> put tServerPath & tempSFile into source -- So source >>> looks like this "\\83.143.28.54\netcaresource\filesToDownload >>> \AeroMedical.qrl" >>> >>> -- And tLocalPath = "C:/Netcare991 Source/" >>> revCopyFile source,tLocalPath >>> if the result is empty then >>> put tempSFile & " File Updated Sucessfully..."&cr >>> after tempMessage >>> end if >>> end if >>> end if >>> >>> Thanks for your assistance there Dave... >>> Nic >>> ----- Original Message ----- From: "Dave" >>> To: "How to use Revolution" >>> Sent: Wednesday, April 04, 2007 1:01 PM >>> Subject: Re: Using Shell to copy files >>> >>> >>>> Hi, >>>> >>>> AFAIK it works ok with spaces, paste your code into an email >>>> and I'll take a look, it works fine for me. >>>> >>>> All the Best >>>> Dave >>>> >>>> On 4 Apr 2007, at 11:52, Nic Prioleau wrote: >>>> >>>>> Yeah I hear you... Problem is my revCopyFile is returning a 1, >>>>> so I am not too sure what this means(other than it's in >>>>> error). Does this command also worry about spaces in the >>>>> folder names? >>>>> >>>>> ----- Original Message ----- From: "Dave" >>>>> >>>>> To: "How to use Revolution" >>>>> Sent: Wednesday, April 04, 2007 12:38 PM >>>>> Subject: Re: Using Shell to copy files >>>>> >>>>> >>>>>> Hi, >>>>>> >>>>>> What problems are you having with the revCopyFile command? >>>>>> AFAIK it works ok. This is a better way of doing since >>>>>> depending on what you are doing, using the shell or an >>>>>> external copy command may cause problems if you open the new >>>>>> file too quickly. >>>>>> >>>>>> All the Best >>>>>> Dave >>>>>> >>>>>> On 4 Apr 2007, at 11:35, Nic Prioleau wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> having tried, with no result, to copy files using >>>>>>> revCopyFile, I decided to try and use shell("copy"). The way >>>>>>> I am doing it may seem a little odd but my syntax is this... >>>>>>> >>>>>>> put quote & "copy "&source&space&tLocalPath"e into tTest >>>>>>> set the hideConsoleWindows to true >>>>>>> get shell(tTest) >>>>>>> >>>>>>> This works fine but only if the folder I am copying to does >>>>>>> not have any spaces in it's name. >>>>>>> >>>>>>> Can someone tell me how I would get around this problem. It's >>>>>>> obviously a DOS issue but I am not sure of the syntax. >>>>>>> >>>>>>> Thanks >>>>>>> Nic >>>>>>> >>>>>>> >>>>>>> ################################################################ >>>>>>> ## ## ## ############### >>>>>>> This e-mail message has been scanned for Viruses and Content >>>>>>> and cleared by MailMarshal >>>>>>> ################################################################ >>>>>>> ## ## ## ############### >>>>>>> _______________________________________________ >>>>>>> use-revolution mailing list >>>>>>> use-revolution 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 >>>>> >>>>> >>>>> ################################################################## >>>>> ## ## ############### >>>>> This e-mail message has been scanned for Viruses and Content >>>>> and cleared by MailMarshal >>>>> ################################################################## >>>>> ## ## ############### >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution 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 >>> >>> >>> #################################################################### >>> ## ############### >>> This e-mail message has been scanned for Viruses and Content and >>> cleared by MailMarshal >>> #################################################################### >>> ## ############### >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 > > > ###################################################################### > ############### > This e-mail message has been scanned for Viruses and Content and > cleared by MailMarshal > ###################################################################### > ############### > _______________________________________________ > use-revolution mailing list > use-revolution 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 bill at bluewatermaritime.com Wed Apr 4 11:50:44 2007 From: bill at bluewatermaritime.com (Bill) Date: Wed, 04 Apr 2007 11:50:44 -0400 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: Message-ID: I have rev 2.8 build 350 on powerbook g4 When I type beep (in message box) it beeps once When I type beep one it beeps once When I type beep two it beeps once When I type beep three it beeps twice When I type beep four it beeps three times Etc. On 4/3/07 12:16 PM, "Dave" wrote: > Hi, > > I've just tried it again under Versions 2.6.6.152, 2.7.4.291, > 2.8.0..350 and 2.8.0.370 and it only works in 2.6.6.152,. I am using > an Intel Mac, but last time I tried, it didn't work on PowerPC either. > > Are you using Intel or PowerPC? > > I've tried it by typing "beep" in the message box as well as with a > test script with a single button that just says: > > on mouseUp > beep > end mouseUp > > I think someone else mentioned this problem on the list before. > > Other apps beep and so does 2.6.6.152. > > All the Best > Dave > > On 3 Apr 2007, at 16:54, Richard Gaskin wrote: > >> Dave wrote: >>> Has anyone managed to figure out a work around for the non beep >>> bug present in RunRev 2.7.4 Onwards? >>> I've tried this on both Intel and PowerPC but can't get a beep! >> >> I just tested the beep command on OS X in the latest version >> (2.8.0, build 370) and it seems to work well. >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> ___________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.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 | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 2087 Rio Grande, PR 00745 From dave at looktowindward.com Wed Apr 4 12:26:53 2007 From: dave at looktowindward.com (Dave) Date: Wed, 4 Apr 2007 17:26:53 +0100 Subject: Enable/Disable in Group/Control Weirdness In-Reply-To: <4612CA8C.1050701@fourthworld.com> References: <4612CA8C.1050701@fourthworld.com> Message-ID: Hi, In a test stack I have a group with a button in it: GroupX ButtonX Both are disabled initially. If I do this: disable group "GroupX" disable button "ButtonX" then: enable group "GroupX" Both the Group and the button are enabled? Is this correct? To me this seems like bad behavior. In my real stack I have group that has a number of controls (70+), there is a master condition that will disable the whole group, if this condition is met then the group is enabled and as other conditions are met controls are enabled as necessary. To handle this, initially I disable the group, enable all controls that meet the primary condition, then disable all controls that need further conditions. That way once the primary condition becomes true, the group is enabled and all the controls that are enabled by the primary condition are enabled too - or at least that's what I wanted to do, but with the behavior described above all controls are enabled when the group is enabled! Any ideas? All the Best Dave From viktoras at ekoinf.net Wed Apr 4 13:29:14 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 4 Apr 2007 20:29:14 +0300 (FLE Daylight Time) Subject: logos and copyrights References: Message-ID: <4613E06A.000005.04088@MAZYTIS> Hi, do we need to get a permission from Apple to use their logos (MAC and Universal) on our software and CDs to simply indicate that it works on macosx and is a universal binary? What about MS Windows logo? Or is it safer to just simply write it in system requirements in plain text? Well at least the little penguin logo is safe to use... Viktoras From jacque at hyperactivesw.com Wed Apr 4 13:30:39 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Apr 2007 12:30:39 -0500 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: References: Message-ID: <4613E0BF.7050102@hyperactivesw.com> Bill wrote: > I have rev 2.8 build 350 on powerbook g4 > > When I type beep (in message box) it beeps once > When I type beep one it beeps once > When I type beep two it beeps once > When I type beep three it beeps twice > When I type beep four it beeps three times > > Etc. Normal behavior. See the docs: "Cross-platform note: Windows and OS X do not execute the beep command if it's issued while a beep is playing. This means that if you specify a numberOfTimes on a Windows or OS X system, the user might hear fewer beeps because not all of them are sent to the speaker. To ensure that the user hears a specific number of beeps, use a loop with a wait command (where the wait time is at least as long as the beep sound's duration) after each beep:" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Apr 4 13:34:26 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Apr 2007 12:34:26 -0500 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: References: <461278C8.4090009@fourthworld.com> <46129188.4080804@hyperactivesw.com> Message-ID: <4613E1A2.9040302@hyperactivesw.com> Dave wrote: > > On 3 Apr 2007, at 18:40, J. Landman Gay wrote: > >> Dave wrote: >>> Hi, >>> I've just tried it again under Versions 2.6.6.152, 2.7.4.291, >>> 2.8.0..350 and 2.8.0.370 and it only works in 2.6.6.152,. I am using >>> an Intel Mac, but last time I tried, it didn't work on PowerPC either. >> >> I've never had it fail in any version, on any OS, on any hardware -- >> except after using Audacity in OS X, as I mentioned in another thread. >> Did you check the MIDI Setup app to see if the sound output is at the >> right Hz? >> >> > > Yes, I checked that when I saw your post on this subject. However I > can't see it is that since it works under 2.6.6.152 and it works with > other applications. I've never heard of beep not working, except on some Windows systems without compatible sound cards. So yes, a mystery. Have you checked the global "playloudness" property? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lfredricks at proactive-intl.com Wed Apr 4 13:41:06 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 4 Apr 2007 10:41:06 -0700 Subject: logos and copyrights In-Reply-To: <4613E06A.000005.04088@MAZYTIS> References: <4613E06A.000005.04088@MAZYTIS> Message-ID: <00c401c776e0$6c9cb670$6401a8c0@YOUR68B8D1092F> > do we need to get a permission from Apple to use their logos (MAC and > Universal) on our software and CDs to simply indicate that it > works on macosx and is a universal binary? What about MS > Windows logo? Or is it safer to just simply write it in > system requirements in plain text? Absolutely. As long as you follow Apple's guidelines, I havent had them turn me down before. But they insist on permission. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.com From scott at tactilemedia.com Wed Apr 4 13:42:21 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 04 Apr 2007 10:42:21 -0700 Subject: logos and copyrights In-Reply-To: <4613E06A.000005.04088@MAZYTIS> Message-ID: Recently, Viktoras Didziulis wrote: > do we need to get a permission from Apple to use their logos (MAC and > Universal) on our software and CDs to simply indicate that it works on > macosx and is a universal binary? What about MS Windows logo? Or is it safer > to just simply write it in system requirements in plain text? If you're looking to get some official certification from Apple and/or Microsoft, you'll probably have to submit your package art for some kind of review process (which takes time). I *do* know that Apple does not allow application of their "Made for iPod" logo unless they approve *all copy* on the box design (and they are very picky for iPod products). However, I believe many folks simply apply system logos to show compatibility at a glance. I would guess as long as you make no claims to being an Apple or Microsoft certified product, use of the OS images is probably OK. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From stephenREVOLUTION at barncard.com Wed Apr 4 13:46:46 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 4 Apr 2007 10:46:46 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <4613E0BF.7050102@hyperactivesw.com> References: <4613E0BF.7050102@hyperactivesw.com> Message-ID: often a sound file works better than a beep for signaling repeat with n = 1 to 4 play "beep.aif" wait until the sound is done end repeat >Bill wrote: >>I have rev 2.8 build 350 on powerbook g4 >> >>When I type beep (in message box) it beeps once >>When I type beep one it beeps once >>When I type beep two it beeps once >>When I type beep three it beeps twice >>When I type beep four it beeps three times >> >>Etc. > >Normal behavior. See the docs: > >"Cross-platform note: Windows and OS X do not execute the beep >command if it's issued while a beep is playing. This means that if >you specify a numberOfTimes on a Windows or OS X system, the user >might hear fewer beeps because not all of them are sent to the >speaker. To ensure that the user hears a specific number of beeps, >use a loop with a wait command (where the wait time is at least as >long as the beep sound's duration) after each beep:" > >-- >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 -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From bvg at mac.com Wed Apr 4 13:50:29 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 4 Apr 2007 19:50:29 +0200 Subject: logos and copyrights In-Reply-To: <4613E06A.000005.04088@MAZYTIS> References: <4613E06A.000005.04088@MAZYTIS> Message-ID: <5b34408f924b829e07f1f663e286ec91@mac.com> The Mac and Universal logos are property of Apple, the Windows logo of Microsoft. However both have rather restrictive regulations and intrusive hoops for you to jump trough before they allow the use of their Icons. (Just recently the topic came up for me) Basically as a small developer with limited time and ressources you have three options: 1. Ask both companies for allowing the use of their Icons, applying for the respective compatibility programs. 2. Take the Icons without asking, at the possibility of a cease and desist order or other legal prosecution. 3. Use descriptive Text (there's some rules even for that). Related Links (thanks Heather!): http://www.apple.com/legal/trademark/guidelinesfor3rdparties.html http://developer.apple.com/softwarelicensing/agreements/maclogo.html http://www.microsoft.com/about/legal/intellectualproperty/trademarks/ logo/programs.mspx PS: I'm gonna go with option 2, as I won't sell anything, and will have a very narrow user group. On 04 Apr 2007, at 19:29, Viktoras Didziulis wrote: > Hi, > > do we need to get a permission from Apple to use their logos (MAC and > Universal) on our software and CDs to simply indicate that it works on > macosx and is a universal binary? What about MS Windows logo? Or is it > safer > to just simply write it in system requirements in plain text? > > Well at least the little penguin logo is safe to use... > > 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 > From viktoras at ekoinf.net Wed Apr 4 13:54:44 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 4 Apr 2007 20:54:44 +0300 (FLE Daylight Time) Subject: logos and copyrights References: <4613E06A.000005.04088@MAZYTIS> Message-ID: <4613E663.000007.04088@MAZYTIS> Thanks for extremely prompt replies! I have just found all the Apple logo legal stuff here: http://devworld.apple.com/softwarelicensing/agreements/maclogo.html All the best! Viktoras From ambassador at fourthworld.com Wed Apr 4 14:10:10 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Apr 2007 11:10:10 -0700 Subject: logos and copyrights Message-ID: <4613EA02.4090507@fourthworld.com> Viktoras Didziulis wrote: > do we need to get a permission from Apple to use their logos (MAC and > Universal) on our software and CDs to simply indicate that it works on > macosx and is a universal binary? What about MS Windows logo? Or is it safer > to just simply write it in system requirements in plain text? Apple's logo requirements are fairly simple, pretty much just a simple form you can download, fill in, and mail to them: I'm told Microsoft has similar requirements, but I can only find info at their site for use of special-purpose logos, those which make claims for specific certification. I've written the contact address they give three times over the last few years for clarificaton on use of the general Windows logo, and have not heard back. > Well at least the little penguin logo is safe to use... I thought that was trademarked. Where in the broad Linux world is its usage defined? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From chipp at chipp.com Wed Apr 4 14:25:26 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Apr 2007 13:25:26 -0500 Subject: Using Shell to copy files In-Reply-To: <000e01c776b9$d80c4aa0$480aa8c0@didata.bw> References: <2FFCAA33-445C-4549-95C8-A546D829CE11@looktowindward.com> <01cd01c776a4$fb46be20$480aa8c0@didata.bw> <2DFE1580-B0FE-4B92-A516-AE53AC880C04@looktowindward.com> <01e401c776a7$62013210$480aa8c0@didata.bw> <01f101c776ab$c63b78e0$480aa8c0@didata.bw> <000e01c776b9$d80c4aa0$480aa8c0@didata.bw> Message-ID: <7aa52a210704041125h2e626893ud1d589967822f5c4@mail.gmail.com> Nic, Here are some ideas: Try opening a folder using the tip posted at sonsothunder.com. It will prompt the user you for a username/pass combo and you should be good to go. Also, check out the function shortFilePath() From chipp at chipp.com Wed Apr 4 14:28:28 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Apr 2007 13:28:28 -0500 Subject: Enable/Disable in Group/Control Weirdness In-Reply-To: References: <4612CA8C.1050701@fourthworld.com> Message-ID: <7aa52a210704041128j649b5891qe467a5b55d2ddf32@mail.gmail.com> Yep, that's how it works. I use it to advantage in many of my projects. If you want to disable some controls in a previously enabled group, use the disable command. So: enable grp "fred" disable btn "go to bed" From chipp at chipp.com Wed Apr 4 14:32:14 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Apr 2007 13:32:14 -0500 Subject: autosave revaltArchive? In-Reply-To: <20070404074332.rp6iavo30eg4swgk@gp-racing.com> References: <20070404074332.rp6iavo30eg4swgk@gp-racing.com> Message-ID: <7aa52a210704041132p4effc7c6qd0a78a5ef70f8160@mail.gmail.com> Nope, revAltArchive does not auto-save. It only saves when you press it's icon from the altPluginToolbar. There's another utility that autosaves, but it's not revAltArchive. Did you get it from here: http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm -Chipp On 4/4/07, robmann at gp-racing.com wrote: > > I added altArchive plugin and now every 3rd thing I do in rev it > autosaves and archives the stack how do I change this? > > From revdev at pdslabs.net Wed Apr 4 14:40:09 2007 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 04 Apr 2007 11:40:09 -0700 Subject: revPrintText/pageHeights broken in v2.8? In-Reply-To: <4613BF41.2050209@fourthworld.com> References: <4613BF41.2050209@fourthworld.com> Message-ID: <4613F109.1030404@pdslabs.net> Good sleuthing, Richard! Thanks for sharing this. Phil Davis Richard Gaskin wrote: > Yesterday I'd written: > >> It seems that there may be a problem with the pageHeights property in >> v2.8. I'm still pinning down the source of the problem, but have any >> of you found that revPrintText is printing with some lines missing >> between pages? >> >> If so, can you verify that this worked correctly in earlier versions? >> >> Do any of your own print routines which rely on the pageHeights >> property work well in v2.8? > > I've since found the source of the problem: If the stack being printed > is hidden, the rendering of the printed page will yield unpredictable > results. In some cases no text will appear, in other cases (such as my > tests using revPrintText via Rev's File->Print Field menu item) the > resulting printout will have lines missing between pages. > > None of this was reproducible in v2.7.4. > > I've logged a bug report at: > > > The workaround is to move the window offscreen rather than hiding it. If > moved offscreen but still visible all printing tests I've done get good > results. > > It might be helpful to have input from others on this issue, since it's > still unclear to me whether the problem is in the buffering of the > window or something to do with the pageHeights property. If you've > found any anomalies with printing hidden windows in Rev in v2.8, or have > had missing lines in printouts using revPrintText, please consider > adding your recipes to that BZ report. > > Because RunRev remains had at work on updates to v2.8, timing may be > critical in seeing this addressed sooner rather than later. So if > you've discovered printing anomalies like these please take a moment to > post your recipe to that report at your earliest convenience. > From mb.userev at harbourhosting.co.uk Wed Apr 4 14:59:13 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Wed, 04 Apr 2007 19:59:13 +0100 Subject: Loading Enterprise on a PC... In-Reply-To: References: Message-ID: <4613F581.6060001@harbourhosting.co.uk> Jim Carwardine wrote: > Should have tried it first... I put the .rev on the end of my file name and > the system recognized it as a rev file but got this message when I tried to > open it both from inside rev and by double clicking on the file... > > Revolution Engine for Win32 has encountered a problem > and needs to close. We are sorry for the inconvenience. > > Any ideas? Jim > > Hi again Jim, First I would open Revolution in windows, suspend messages, and then try again to open the stack through the "open stack" menu command. If the stack then opens OK I would suspect the problem is caused by something in a script that runs when the stack opens. Comment stuff out to try and trace what it is. On the other hand, if Revolution still crashes, I would first suspect that the stack file may have got damaged in copying between filesystems. In that case I'd go back to the original file, make sure that has a .rev file extension and .zip or .gz it, copy it across again, decompress it at the destination of course and and try it again, to see if that makes a difference. Martin Baxter From bill at bluewatermaritime.com Wed Apr 4 15:24:05 2007 From: bill at bluewatermaritime.com (Bill) Date: Wed, 04 Apr 2007 15:24:05 -0400 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <4613E0BF.7050102@hyperactivesw.com> Message-ID: Thanks for explaining it for me. This is another example of RunRev doing something that you smart "high falutin" programmers understand and find acceptable but that I (as an amateur and former HyperCard user) find as something that should just be fixed like the gray background color that appears white. Maybe this is a two camps thing between those that understand programming and those like me who want to use RunRev to do stuff like I formerly used HyperCard and like I use Photoshop or Excel and when I use it to do stuff I'd like it to make sense at least for the simple things I understand. In other words I understand "beep twice" and I expect the software to understand it too. I am glad I can talk about this stuff to the list here because I tried using the bug report way once and was told that the invisible gray background is a feature and I'm sure I would be told that the command to tell the number of times to beep which doesn't work without adding another command is a feature too. On 4/4/07 1:30 PM, "J. Landman Gay" wrote: >> When I type beep (in message box) it beeps once >> When I type beep one it beeps once >> When I type beep two it beeps once >> When I type beep three it beeps twice >> When I type beep four it beeps three times >> >> Etc. > > Normal behavior. See the docs: > > "Cross-platform note: Windows and OS X do not execute the beep command > if it's issued while a beep is playing. From pepetoo at Cox.Net Wed Apr 4 15:32:02 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Wed, 4 Apr 2007 12:32:02 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: References: Message-ID: <1C38F77E-47B9-4242-96DA-F82E8606E3D6@Cox.Net> I noticed the "beep" problem almost immediately. To my way of thinking it seemed that it might just be because the computers are so fast these days that one of them covers up the other one. So I just put in a short wait statement after each one and my problem was solved. Maybe that's something RR should automatically do, but maybe not. Any time I have some doubt as to whether something I'm used to using in HC works in RR, I just test it in the msg box. Otherwise, I agree with you 200%. Joe Wilkins On Apr 4, 2007, at 12:24 PM, Bill wrote: > > Thanks for explaining it for me. This is another example of RunRev > doing > something that you smart "high falutin" programmers understand and > find > acceptable but that I (as an amateur and former HyperCard user) > find as > something that should just be fixed like the gray background color > that > appears white. > > Maybe this is a two camps thing between those that understand > programming > and those like me who want to use RunRev to do stuff like I > formerly used > HyperCard and like I use Photoshop or Excel and when I use it to do > stuff > I'd like it to make sense at least for the simple things I understand. > > In other words I understand "beep twice" and I expect the software to > understand it too. > > I am glad I can talk about this stuff to the list here because I > tried using > the bug report way once and was told that the invisible gray > background is a > feature and I'm sure I would be told that the command to tell the > number of > times to beep which doesn't work without adding another command is > a feature > too. > > On 4/4/07 1:30 PM, "J. Landman Gay" wrote: > >>> When I type beep (in message box) it beeps once >>> When I type beep one it beeps once >>> When I type beep two it beeps once >>> When I type beep three it beeps twice >>> When I type beep four it beeps three times >>> >>> Etc. >> >> Normal behavior. See the docs: >> >> "Cross-platform note: Windows and OS X do not execute the beep >> command >> if it's issued while a beep is playing. > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 cford at sc.edu Wed Apr 4 16:26:23 2007 From: cford at sc.edu (Curt Ford) Date: Wed, 4 Apr 2007 16:26:23 -0400 Subject: dynamically adding links with textStyle.. Message-ID: <2646656C-4E82-4DDF-A453-FA3C4683DC61@sc.edu> Thanks, Devin, I had been making this much harder than necessary, worrying about whether I'd need to manipulate HTML or Unicode directly if the selectedText was in Russian, but this works fine now for setting a link, regardless of language: on mouseUp --save the selection before the 'ask..' makes it go away put the selectedChunk into tSelection --tSelection will now contain something like "char 1 to 4 of fld 1" ask "Please enter a link:" put it into tLink select tSelection set the linkText of the selectedText to tLink set the textStyle of the selectedText to "link" put the HTMLText of fld "source" into fld "resultHTML" end mouseUp To let the user edit an existing link, this works well too: on mouseUp --save the selection and its linkText before the 'ask..' makes it go away put the selectedChunk into tSelection put the linkText of the selectedChunk into tOldLink ask "Please edit the link:" with tOldLink put it into tNewLink --reselect what was selected before select tSelection set the linkText of the selectedText to tNewLink set the textStyle of the selectedText to "link" put the HTMLText of fld "source" into fld "resultHTML" end mouseUp ..where the last lines are just a check to see what I end up with. Thanks! -Curt Dr. Curtis Ford Instructor of Russian and Linguistics Dept of Languages, Literatures and Cultures University of South Carolina From larsbrehmer at mac.com Wed Apr 4 16:30:13 2007 From: larsbrehmer at mac.com (Lars Brehmer) Date: Wed, 4 Apr 2007 23:30:13 +0300 Subject: Windows question Message-ID: <26934398-25A5-473E-A631-57FD316E747C@mac.com> What would cause a standalone made with Rev to not show up in the open applications alt+tab window and not collapse to the task bar? I have an application made on a Mac that I am testing in Windows and it does not show up with the other open apps with alt+tab. The interesting thing is that I have similar applications I have made that DO show up there, and I made them the same way with the exact same .ico file for the icons. Furthermore, when I minimize this app to the task bar, it doesn't actually do that - it collapses to a small rectangular box just above the task bar that needs to be double clicked, not single clicked to expand again. Obviously something is wrong, and even though I am an admitted idiot when it comes to Windows, as far as I know nothing was done differently with my Windows apps that behave properly in these two respects and this one that doesn't. Everything else in this app seems to work flawlessly in Windows. Any ideas out there? ... a little bit later... Ok, I have been fooling around and tried something for the first time, namely create the Windows standalone on my Windows test machine. I never did this before because it has always worked fine on the Mac and I am an idiot with Windows. Here is what happened - the standalone was created just fine, and it collapses properly to the task bar AND it shows up in the alt+tab open applications list. This is an acceptable solution, but there is one new problem - the application icon doesn't work. I copied the .ico file over to the Windows machine with the other files and in the standalone application settings chose it as the icon, but I just get some generic icon in my standalone. Now, this happens sometimes in OSX, but I know that if I create an archive of it and unstuff it, the icon then works. Is there a way to do something similar in Windows? I am still curious why the standalone generated in OSX misbehaves with alt+tab and minimize because I prefer working on my Mac. But if i need to do the standalones in Windows, so be it - but how do I get the icons to work? Revolution 2.6 (both Mac and Windows) OS 10.4.9 Windows XP Home Cheers! Lars From mark_powell at symantec.com Wed Apr 4 17:22:06 2007 From: mark_powell at symantec.com (Mark Powell) Date: Wed, 4 Apr 2007 14:22:06 -0700 Subject: Copying files and Folder permissions References: <001b01c776bc$08d0cf60$480aa8c0@didata.bw> Message-ID: HI Nic: Can't speak to your overall question, but did want to alert you to detailed files bug in 2.8 that has been discussed here, in case you have not encountered it. If you use v 2.8, modification dates start showing 1969 due to a misplaced zero in item 5. Plus there is a similar issue with the permissions item. Mark From chipp at chipp.com Wed Apr 4 18:10:53 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Apr 2007 17:10:53 -0500 Subject: Windows question In-Reply-To: <26934398-25A5-473E-A631-57FD316E747C@mac.com> References: <26934398-25A5-473E-A631-57FD316E747C@mac.com> Message-ID: <7aa52a210704041510u7865dd23g66e1afd86b617901@mail.gmail.com> Lars, Perhaps you have the stacks decorations set to empty? If so, then it won't show up in the task bar. I believe also applications which window type are set to palette have the same issue. From wjm at wjm.org Wed Apr 4 18:25:10 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 4 Apr 2007 18:25:10 -0400 Subject: is that a bug? References: <20070329165235.EEDB5489074@mail.runrev.com><3FF2C9DB-163E-49EA-89B5-7718CDCE025B@net2000.ch> <20070403093516529265.26972485@sonsothunder.com> Message-ID: Is SelectedNode() a custom function of yours, or an undocumented one in Revolution? From wjm at wjm.org Wed Apr 4 18:33:16 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 4 Apr 2007 18:33:16 -0400 Subject: logos and copyrights References: <4613E06A.000005.04088@MAZYTIS> <5b34408f924b829e07f1f663e286ec91@mac.com> Message-ID: Some publishers also come up with descriptive but unofficial graphics to identify compatibility. They might use a blue "M" and a red "W" to identify Mac and Windows compatibility "Bj?rnke von Gierke" wrote: > Basically as a small developer with limited time and ressources you have > three options: > > 1. Ask both companies for allowing the use of their Icons, applying for > the respective compatibility programs. > 2. Take the Icons without asking, at the possibility of a cease and > desist order or other legal prosecution. > 3. Use descriptive Text (there's some rules even for that). From wjm at wjm.org Wed Apr 4 18:40:34 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 4 Apr 2007 18:40:34 -0400 Subject: revPrintText/pageHeights broken in v2.8? References: <4613BF41.2050209@fourthworld.com> Message-ID: Richard, I just tried your example stack in Report #4601 and had exactly the same (apparently correct) result printing both off-screen and hidden. I was able to test with two drivers: Adobe PDF and HP C3180. I'm using 2.8.0 build 370 on Windows. "Richard Gaskin" wrote in message news:4613BF41.2050209 at fourthworld.com... > Yesterday I'd written: > >> It seems that there may be a problem with the pageHeights property in >> v2.8. I'm still pinning down the source of the problem, but have any of >> you found that revPrintText is printing with some lines missing between >> pages? >> >> If so, can you verify that this worked correctly in earlier versions? >> >> Do any of your own print routines which rely on the pageHeights property >> work well in v2.8? > > I've since found the source of the problem: If the stack being printed is > hidden, the rendering of the printed page will yield unpredictable > results. In some cases no text will appear, in other cases (such as my > tests using revPrintText via Rev's File->Print Field menu item) the > resulting printout will have lines missing between pages. > > None of this was reproducible in v2.7.4. > > I've logged a bug report at: > > > The workaround is to move the window offscreen rather than hiding it. If > moved offscreen but still visible all printing tests I've done get good > results. > > It might be helpful to have input from others on this issue, since it's > still unclear to me whether the problem is in the buffering of the window > or something to do with the pageHeights property. If you've found any > anomalies with printing hidden windows in Rev in v2.8, or have had missing > lines in printouts using revPrintText, please consider adding your recipes > to that BZ report. > > Because RunRev remains had at work on updates to v2.8, timing may be > critical in seeing this addressed sooner rather than later. So if you've > discovered printing anomalies like these please take a moment to post your > recipe to that report at your earliest convenience. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com > http://www.FourthWorld.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 Wed Apr 4 19:29:24 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Apr 2007 16:29:24 -0700 Subject: revPrintText/pageHeights broken in v2.8? Message-ID: <461434D4.4030502@fourthworld.com> Bill Marriott wrote: > Richard, > > I just tried your example stack in Report #4601 and had exactly the same > (apparently correct) result printing both off-screen and hidden. I was able > to test with two drivers: Adobe PDF and HP C3180. I'm using 2.8.0 build 370 > on Windows. Seems like we're narrowing it down: I tested on OS X 10.4.8. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com > "Richard Gaskin" wrote > in message news:4613BF41.2050209 at fourthworld.com... >> Yesterday I'd written: >> >>> It seems that there may be a problem with the pageHeights property in >>> v2.8. I'm still pinning down the source of the problem, but have any of >>> you found that revPrintText is printing with some lines missing between >>> pages? >>> >>> If so, can you verify that this worked correctly in earlier versions? >>> >>> Do any of your own print routines which rely on the pageHeights property >>> work well in v2.8? >> >> I've since found the source of the problem: If the stack being printed is >> hidden, the rendering of the printed page will yield unpredictable >> results. In some cases no text will appear, in other cases (such as my >> tests using revPrintText via Rev's File->Print Field menu item) the >> resulting printout will have lines missing between pages. >> >> None of this was reproducible in v2.7.4. >> >> I've logged a bug report at: >> >> >> The workaround is to move the window offscreen rather than hiding it. If >> moved offscreen but still visible all printing tests I've done get good >> results. >> >> It might be helpful to have input from others on this issue, since it's >> still unclear to me whether the problem is in the buffering of the window >> or something to do with the pageHeights property. If you've found any >> anomalies with printing hidden windows in Rev in v2.8, or have had missing >> lines in printouts using revPrintText, please consider adding your recipes >> to that BZ report. From sarah.reichelt at gmail.com Wed Apr 4 19:39:20 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 5 Apr 2007 09:39:20 +1000 Subject: revPrintText/pageHeights broken in v2.8? In-Reply-To: <461434D4.4030502@fourthworld.com> References: <461434D4.4030502@fourthworld.com> Message-ID: On 4/5/07, Richard Gaskin wrote: > Bill Marriott wrote: > > > Richard, > > > > I just tried your example stack in Report #4601 and had exactly the same > > (apparently correct) result printing both off-screen and hidden. I was able > > to test with two drivers: Adobe PDF and HP C3180. I'm using 2.8.0 build 370 > > on Windows. > > Seems like we're narrowing it down: I tested on OS X 10.4.8. > I just tested your stack on OS X 10.4.9 and I get the bug too. Off-screen works fine, hidden prints page 1 OK, but not the others. (Tested using Print Preview only.) Sarah From hughesmike2 at hotmail.com Wed Apr 4 19:57:50 2007 From: hughesmike2 at hotmail.com (Mike Hughes) Date: Wed, 04 Apr 2007 23:57:50 +0000 Subject: Simple Speech Recognition Message-ID: What is the story with Speech Recognition and Rev? Let's say you have a Rev stack open, and perhaps a button called "Steve". Is there a way for the stack to listen for you to say "Steve" and then click the button for you? (Something similar to the built-in speech recognition controls in Apple's Chess) TIA, Mike _________________________________________________________________ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117 From robmann at gp-racing.com Wed Apr 4 20:28:00 2007 From: robmann at gp-racing.com (Robert Mann) Date: Wed, 4 Apr 2007 20:28:00 -0400 Subject: autosave revaltArchive? Message-ID: Yes I did down load from site, loaded most of the plugins from site to try out, what else could be running to cause a autosave and a new archive file to be created every 3rd thing I do? Thanks Rob Chipp Walters Wed, 04 Apr 2007 11:32:17 -0700 Nope, revAltArchive does not auto-save. It only saves when you press it's icon from the altPluginToolbar. There's another utility that autosaves, but it's not revAltArchive. Did you get it from here: http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm - From chipp at chipp.com Wed Apr 4 21:43:16 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Apr 2007 20:43:16 -0500 Subject: autosave revaltArchive? In-Reply-To: References: Message-ID: <7aa52a210704041843l4b843beavbe2970efeea0929b@mail.gmail.com> There's a plugin called revSmartSave which ships with Rev which might be running. Try taking it out of your plugins folder and see if it doesn't help. On 4/4/07, Robert Mann wrote: > > Yes I did down load from site, loaded most of the plugins from site to try > out, what else could be running to cause a autosave and a new archive file > to be created every 3rd thing I do? > From Roger.E.Eller at sealedair.com Wed Apr 4 21:58:26 2007 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 4 Apr 2007 21:58:26 -0400 Subject: Using Shell to copy files In-Reply-To: <7aa52a210704041125h2e626893ud1d589967822f5c4@mail.gmail.com> Message-ID: > Nic, > > Here are some ideas: > > Try opening a folder using the tip posted at sonsothunder.com. It will > prompt the user you for a username/pass combo and you should be good to go. > Also, check out the function shortFilePath() I just tried the sonsothunder.com tip and found that it works fine if the network location is mapped to a drive letter (even prompts for password if not connected). However, if you use a UNC path to a server which you have not yet entered a user/pass, it does NOT prompt for user/pass. All it does in this situation is opens the C:/ drive. Roger Eller From jacque at hyperactivesw.com Wed Apr 4 21:55:09 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Apr 2007 20:55:09 -0500 Subject: revPrintText/pageHeights broken in v2.8? In-Reply-To: References: <461434D4.4030502@fourthworld.com> Message-ID: <461456FD.3060001@hyperactivesw.com> Sarah Reichelt wrote: > On 4/5/07, Richard Gaskin wrote: >> Bill Marriott wrote: >> >> > Richard, >> > >> > I just tried your example stack in Report #4601 and had exactly the >> same >> > (apparently correct) result printing both off-screen and hidden. I >> was able >> > to test with two drivers: Adobe PDF and HP C3180. I'm using 2.8.0 >> build 370 >> > on Windows. >> >> Seems like we're narrowing it down: I tested on OS X 10.4.8. >> > > I just tested your stack on OS X 10.4.9 and I get the bug too. > Off-screen works fine, hidden prints page 1 OK, but not the others. > (Tested using Print Preview only.) And a report just came through the support queue about footers not printing on OS X, but they print okay on Windows (using revPrintText). Wonder if it's related to this problem. They both involve the bottom of the page. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Apr 4 22:12:51 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Apr 2007 21:12:51 -0500 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: References: Message-ID: <46145B23.4030000@hyperactivesw.com> Bill wrote: > I am glad I can talk about this stuff to the list here because I tried using > the bug report way once and was told that the invisible gray background is a > feature and I'm sure I would be told that the command to tell the number of > times to beep which doesn't work without adding another command is a feature > too. I'm glad you talk here too. :) I don't think RR would tell you that the beep thing is a "feature", I think it is just the way different operating systems work. The Rev docs are consistent in identifying Mac OS and Mac OS X as different operating systems. The "beep" entry talks about Windows and Mac OS X having the problem, but it doesn't mention Mac OS or Linux. I think Rev's beep command would probably work just as you expect on a native OS 9 machine. (Maybe someone with a native OS 9 Mac could take a look?) It seems to me that the docs are explaining a system limitation, but I agree that the engine could probably be altered without too much trouble to support multiple beeps on any OS. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Apr 4 22:23:52 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Apr 2007 21:23:52 -0500 Subject: Windows question In-Reply-To: <26934398-25A5-473E-A631-57FD316E747C@mac.com> References: <26934398-25A5-473E-A631-57FD316E747C@mac.com> Message-ID: <46145DB8.7050903@hyperactivesw.com> Lars Brehmer wrote: > What would cause a standalone made with Rev to not show up in the open > applications alt+tab window and not collapse to the task bar? Generally, any stack that is not a top-level stack (palettes, modeless, etc) will act like that. > > ... a little bit later... > > Ok, I have been fooling around and tried something for the first time, > namely create the Windows standalone on my Windows test machine. I > never did this before because it has always worked fine on the Mac and I > am an idiot with Windows. Here is what happened - the standalone was > created just fine, and it collapses properly to the task bar AND it > shows up in the alt+tab open applications list. That shouldn't happen. I mean, the behavior you describe should happen, but it should happen when you build with a Mac too. Did you change the stack's mode before you built it on Windows? > But if i need > to do the standalones in Windows, so be it - but how do I get the icons > to work? You shouldn't have to build on Windows, it's very odd. If it's reproducible, I hope you'll put it into the bug database. I haven't tried a Windows standalone in 2.8, but it was working fine in 2.7.x. So if it's broken, it's a new bug and now would be a good time to report it. For the icons, did you try using a Windows icon editor to save them? I usually make my .ico files in Windows. I haven't ever had much luck making them on a Mac (there are commercial utilities that are supposed to work, but there are so many free Windows editors that I've never purchased a Mac one.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Apr 4 23:31:56 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 4 Apr 2007 20:31:56 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: References: Message-ID: <11494938304.20070404203156@ahsoftware.net> Bill- Wednesday, April 4, 2007, 12:24:05 PM, you wrote: > the bug report way once and was told that the invisible gray background is a > feature and I'm sure I would be told that the command to tell the number of That's BZ #3570. It's been confirmed as a bug, not as a feature, although its status is still set to "new". -- -Mark Wieder mwieder at ahsoftware.net From iangmcknight at googlemail.com Thu Apr 5 00:06:54 2007 From: iangmcknight at googlemail.com (Ian McKnight) Date: Thu, 5 Apr 2007 05:06:54 +0100 Subject: Lock screen and 'Go card' not working Message-ID: Hi My apologies in advance for the simple nature of this request but I must be missing something really obvious. I have a stack containing 2 cards. One card (the 2nd card in the stack) is used to set preferences which are used to create a table of fields on the 1st card by first, going to card 1, cloning and renaming a hidden group and assembling the table then going back to card 2. The scripts are located at the stack level and this process works as expected. However I want to hide the creation of this 'table' from the user so I lock screen go card 1 -- create table go card 2 unlock screen but the lock screen doesn't work, I still see the table being put together. I am using Studio 2.8.0 build 370 Thanks in advance. -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From ambassador at fourthworld.com Thu Apr 5 00:21:27 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Apr 2007 21:21:27 -0700 Subject: Lock screen and 'Go card' not working Message-ID: <46147947.7080505@fourthworld.com> Ian McKnight wrote: > I have a stack containing 2 cards. One card (the 2nd card in the > stack) is used to set preferences which are used to create a table of > fields on the 1st card by first, going to card 1, cloning and renaming > a hidden group and assembling the table then going back to card 2. The > scripts are located at the stack level and this process works as > expected. > > However I want to hide the creation of this 'table' from the user so I > > lock screen > go card 1 > > -- create table > > go card 2 > unlock screen > > but the lock screen doesn't work, I still see the table being put together. I suspect the "create table" part is where the trouble lies. Care to share what goes on there? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From iangmcknight at googlemail.com Thu Apr 5 02:09:51 2007 From: iangmcknight at googlemail.com (Ian McKnight) Date: Thu, 5 Apr 2007 07:09:51 +0100 Subject: Lock screen and 'Go card' not working In-Reply-To: <46147947.7080505@fourthworld.com> References: <46147947.7080505@fourthworld.com> Message-ID: Hi Richard To create my table I have a hidden group consisting of 6 fields on card 1. When the script executes this group is selected, cloned, made visible and the clone renamed. This is then re-cloned anything from 6 to 10 times, with each new group being renamed, its constituent fields renamed and then moved into position on the card. When finished all the new groups are selected and then grouped into 1 'supergroup', I checked the docs and made sure that Script Debug Mode was off, it was. On 05/04/07, Richard Gaskin wrote: > > I suspect the "create table" part is where the trouble lies. Care to > share what goes on there? > > -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From eric.chatonet at sosmartsoftware.com Thu Apr 5 04:05:37 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 5 Apr 2007 10:05:37 +0200 Subject: Lock screen and 'Go card' not working In-Reply-To: References: <46147947.7080505@fourthworld.com> Message-ID: <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> Hi Ian, I suspect that unlock screen automatically occurs when you set the visible of an object to true. Could you return to cd 2 before setting the visibility for all these objects? Or, better, do all the job from cd 2: clone grp "Master" of cd 1, set the name of last grp of cd 1 to , etc. Hope this helps. Best regards from Paris, Eric Chatonet. Le 5 avr. 07 ? 08:09, Ian McKnight a ?crit : > Hi Richard > > To create my table I have a hidden group consisting of 6 fields on > card 1. When the script executes this group is selected, cloned, made > visible and the clone renamed. This is then re-cloned anything from 6 > to 10 times, with each new group being renamed, its constituent fields > renamed and then moved into position on the card. When finished all > the new groups are selected and then grouped into 1 'supergroup', > > I checked the docs and made sure that Script Debug Mode was off, it > was. > > On 05/04/07, Richard Gaskin wrote: > >> >> I suspect the "create table" part is where the trouble lies. Care to >> share what goes on there? >> >> > > -- > Regards > > Ian ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From dave at looktowindward.com Thu Apr 5 04:11:39 2007 From: dave at looktowindward.com (Dave) Date: Thu, 5 Apr 2007 09:11:39 +0100 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <46145B23.4030000@hyperactivesw.com> References: <46145B23.4030000@hyperactivesw.com> Message-ID: <7DBE59FD-35EB-489E-B2FE-C84C91F3F497@looktowindward.com> On 5 Apr 2007, at 03:12, J. Landman Gay wrote: > Bill wrote: > >> I am glad I can talk about this stuff to the list here because I >> tried using >> the bug report way once and was told that the invisible gray >> background is a >> feature and I'm sure I would be told that the command to tell the >> number of >> times to beep which doesn't work without adding another command is >> a feature >> too. > > I'm glad you talk here too. :) > > I don't think RR would tell you that the beep thing is a "feature", > I think it is just the way different operating systems work. The > Rev docs are consistent in identifying Mac OS and Mac OS X as > different operating systems. The "beep" entry talks about Windows > and Mac OS X having the problem, but it doesn't mention Mac OS or > Linux. I think Rev's beep command would probably work just as you > expect on a native OS 9 machine. (Maybe someone with a native OS 9 > Mac could take a look?) > > It seems to me that the docs are explaining a system limitation, > but I agree that the engine could probably be altered without too > much trouble to support multiple beeps on any OS. AFAIK, it's the same on Mac OS 9. All the Best Dave From dave at looktowindward.com Thu Apr 5 04:21:30 2007 From: dave at looktowindward.com (Dave) Date: Thu, 5 Apr 2007 09:21:30 +0100 Subject: Enable/Disable in Group/Control Weirdness In-Reply-To: <7aa52a210704041128j649b5891qe467a5b55d2ddf32@mail.gmail.com> References: <4612CA8C.1050701@fourthworld.com> <7aa52a210704041128j649b5891qe467a5b55d2ddf32@mail.gmail.com> Message-ID: <3A0EB197-5BC1-4266-84D7-A699E6F390B5@looktowindward.com> On 4 Apr 2007, at 19:28, Chipp Walters wrote: > Yep, that's how it works. I use it to advantage in many of my > projects. It this feature documented anywhere? I looked at the documentation and can't seem to find anything that mentions it. Specifically are there other attributes that get clobbered when you do something to the group? > If you want to disable some controls in a previously enabled group, > use the > disable command. > > So: > > enable grp "fred" > disable btn "go to bed" That's ok in this simple case but when you have lots of controls in a side it gets old pretty quickly. I really can't see this behavior as being desirable, nor can I see the sense in doing it this way. What is the rational behind it? All the Best Dave From viktoras at ekoinf.net Thu Apr 5 04:46:45 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Thu, 5 Apr 2007 11:46:45 +0300 (FLE Daylight Time) Subject: logos and copyrights References: Message-ID: <4614B775.000001.03868@MAZYTIS> has anyone come up with a single logo indicating multiplatform ( MacUniversalWinLinSolBsdetc...") or 3-platform ("MWL") applications. I guess it could emerge in the nearest future as more and more companies and developers turn multiplatform and putting all the logos of different OS'es may simply take too much space on CD label, and time to get all the proper licenses for their usage. "Designed for Windows" is definitely not what i need, because it is rather "compatible with" or "works on" Windows and seems like there is no correct alternative... One of the large companies I know now porting some of its Windows products to at least Linux and Solaris is ESRI (major GIS software provider - ArcInfo ArcView, etc): http://www.esri.com/software/arcgis/arcreader/download.html. By the way, and this is a different topic, if there are people working with GIS (Geographical Information Systems) - what comparable alternatives to ArcInfo (ArcGIS, etc.) are available for Macs ? All the best Viktoras -------Original Message------- From: Bill Marriott Date: 05/04/2007 01:36:01 To: use-revolution at lists.runrev.com Subject: Re: logos and copyrights Some publishers also come up with descriptive but unofficial graphics to identify compatibility. They might use a blue "M" and a red "W" to identify Mac and Windows compatibility From mb.userev at harbourhosting.co.uk Thu Apr 5 05:21:38 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 05 Apr 2007 10:21:38 +0100 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <46145B23.4030000@hyperactivesw.com> References: <46145B23.4030000@hyperactivesw.com> Message-ID: <4614BFA2.5080406@harbourhosting.co.uk> J. Landman Gay wrote: > problem, but it doesn't mention Mac OS or Linux. I think Rev's beep > command would probably work just as you expect on a native OS 9 machine. > (Maybe someone with a native OS 9 Mac could take a look?) > The last version of RR for OS9 is 2.6.1, and here on my 233MHz beige G3 multiple beeping works fine. The final 2 beeps seem to always have a shorter interval between them than the earlier ones. Martin Baxter From luis at anachreon.co.uk Thu Apr 5 05:34:30 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 05 Apr 2007 10:34:30 +0100 Subject: GIS (Was: Re: logos and copyrights) In-Reply-To: <4614B775.000001.03868@MAZYTIS> References: <4614B775.000001.03868@MAZYTIS> Message-ID: <4614C2A6.2030803@anachreon.co.uk> Hiya, These are some links I've had on my list for a while, hope they help. It's been a while since I last looked at them, but I've noted quite a few updates looking through them now. GeaBios for online linking: http://www.geabios.com/html/services/maps/PublicMap.htm WebGISdev: http://www.webgisdev.com/home.htm FreeGIS Links: http://freegis.org/ GeoServer (Free JAVA GIS): http://docs.codehaus.org/display/GEOS/Home The Jump Project: http://www.jump-project.org/ QGIS (Has a Mac Universal package): http://download.qgis.org/qgis/ mapyrus (generates PS, PDF, SVG and web): http://sourceforge.net/projects/mapyrus GRASS GIS and Mapserver building for OS X: http://www.kyngchaos.com/macosx Main GRASS GIS site: http://grass.itc.it/ GRASS GIS binaries (includes OS X version that does not need X11): http://grass.itc.it/grass62/ GIS Map Tools: http://www.maptools.org/ iMap 3: http://www.biovolution.com/imap/ Cheers, Luis. Viktoras Didziulis wrote: > has anyone come up with a single logo indicating multiplatform ( > MacUniversalWinLinSolBsdetc...") or 3-platform ("MWL") applications. I guess > it could emerge in the nearest future as more and more companies and > developers turn multiplatform and putting all the logos of different OS'es > may simply take too much space on CD label, and time to get all the proper > licenses for their usage. "Designed for Windows" is definitely not what i > need, because it is rather "compatible with" or "works on" Windows and seems > like there is no correct alternative... > > One of the large companies I know now porting some of its Windows products > to at least Linux and Solaris is ESRI (major GIS software provider - ArcInfo > ArcView, etc): http://www.esri.com/software/arcgis/arcreader/download.html. > By the way, and this is a different topic, if there are people working with > GIS (Geographical Information Systems) - what comparable alternatives to > ArcInfo (ArcGIS, etc.) are available for Macs ? > > All the best > Viktoras > > > > -------Original Message------- > > From: Bill Marriott > Date: 05/04/2007 01:36:01 > To: use-revolution at lists.runrev.com > Subject: Re: logos and copyrights > > Some publishers also come up with descriptive but unofficial graphics to > identify compatibility. They might use a blue "M" and a red "W" to identify > Mac and Windows compatibility > _______________________________________________ > use-revolution mailing list > use-revolution 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 larsbrehmer at mac.com Thu Apr 5 07:04:51 2007 From: larsbrehmer at mac.com (Lars Brehmer) Date: Thu, 5 Apr 2007 14:04:51 +0300 Subject: Windows question Message-ID: Hey there Chip and Jaqueline (and anyone who can help!) > >> I have an application made on a Mac that I am testing in Windows >> and it does not show up with the other open apps with alt+tab. The >> interesting thing is that I have similar applications I have made >> that DO show up there, and I made them the same way with the exact >> same .ico file for the icons. Furthermore, when I minimize this >> app to the task bar, it doesn't actually do that - it collapses to >> a small rectangular box just above the task bar that needs to be >> double clicked, not single clicked to expand again. Obviously >> something is wrong > > Perhaps you have the stacks decorations set to empty? If so, then > it won't > show up in the task bar. I believe also applications which window > type are > set to palette have the same issue. Chip; Well, this apparently isn't quite correct. I have other standalones with decorations set to empty and they behave just fine. And no palette windows either. And even more interesting is the following - this is an app that needs a bunch of tweeks when I make the Windows standalone - mostly things like object positions and fonts, etc. But the big problem lies in something I have been struggling with for a long time. The Mac version has a window shape and decorations set to empty. Yet it collapses into the task bar correctly! It show up in the alt+tab open applications list! The shape is simply a rectangle with rounded corners. Several scripts use visual effect reveal (which has to be changed to wipe in windows to do the same thing). Visual effects DO NOT work in Windows with this windowshape! But they do work just fine with a regular rectangle shape. So I change the stack shape to a regular rectangle as one of my tweeks. Now the visual effects work but it does not collapse into the taskbar AND does not show up in the alt+tab apps list. So to summaraize, I can either have the shape I want and no visual effects or the visual effects but not the shape that I want. In both cases the decorations are empty. I have redone the Windows standalone on the mac and the Windows machine and in both cases once with the tweeks being done before the standalone is made and once with the tweeks done after the standalone is done, but always with the same results. I just cannot get both the shape and the effects that I want in Windows! But then again I am a windows idiot and fully realize my shortcomings there. My Windows testing machine is a cheap HP running XP home on a Celeron processor (Oh my god - could this be the reason effects don't work in Windows???? It never occurred to me before! Anyone?) If anyone has a minute to check this out, contact me offline and I will get the app to you with detailed instructions on recreating this bizarre problem. >> >> ... a little bit later... >> >> Ok, I have been fooling around and tried something for the first >> time, namely create the Windows standalone on my Windows test >> machine. I never did this before because it has always worked >> fine on the Mac and I am an idiot with Windows. Here is what >> happened - the standalone was created just fine, and it collapses >> properly to the task bar AND it shows up in the alt+tab open >> applications list. This is an acceptable solution, but there is >> one new problem - the application icon doesn't work. > > You shouldn't have to build on Windows, it's very odd. If it's > reproducible, I hope you'll put it into the bug database. I haven't > tried a Windows standalone in 2.8, but it was working fine in > 2.7.x. So > if it's broken, it's a new bug and now would be a good time to > report it. Jaqueline: I goofed - this doesn't actually work - I made the standalone in Windows but forgot to do the tweeks that cause the collapse/alt+tab problems in the first place, so I will continue to make my standalone on the Mac. Cheers! Lars From dave at looktowindward.com Thu Apr 5 07:25:14 2007 From: dave at looktowindward.com (Dave) Date: Thu, 5 Apr 2007 12:25:14 +0100 Subject: How does "ask file with type" work? In-Reply-To: <46147947.7080505@fourthworld.com> References: <46147947.7080505@fourthworld.com> Message-ID: <18D6B63C-5AF6-4E06-9973-AD65C3AC1435@looktowindward.com> Hi, I have a script with the following ask statement: ask file "Enter Name of New Script File" with myScriptFolderPath with type "rev" What is this supposed to do? This is what I want to happen: The choose file dialog is displayed. The user enters a file name with or without an extension (or is forced to enter an extension) and the extension appended to file name. If the file exists they are prompted to replace the current file or not. At the moment, if the user enters a file without an extension this name is passed back. This is ok and it's easy to handle, but it means that I will have two different "File Exists, Replace this file?" dialogs which is messy and inconsistent. The alternative is to do my own choose file dialog, but it will be a lot of work to replicate the OS Version, especially when running on multiple platforms. Any ideas or suggestions? All the Best Dave From iangmcknight at googlemail.com Thu Apr 5 08:12:57 2007 From: iangmcknight at googlemail.com (Ian McKnight) Date: Thu, 5 Apr 2007 13:12:57 +0100 Subject: Lock screen and 'Go card' not working In-Reply-To: <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> Message-ID: Hi Eric Thanks for the suggestions. I have just made the master group visible on my card 1 and removed the statement to make it visible from the script but it is still occurring. Script debug mode is off and I am seeing the entire script execute - so the lock screen command is not locking because the very next line is go card and that's what I see. I also tried staying on card 2 and doing it remotely, and when I remove the go card 1 command I get this error: Chunk: can't select object that isn't open Object TTmaster Line select grp "masterColumnGrp" of cd "timeTable" of this stack Hint cloneGroup Here is a more detailed outline of what the script does when called from card 2: lock screen go card 1 (cd "timetable") check for a pre-existing table group if there is one delete it clone the hidden master group, make it visible, rename the clone, rename its fields fill it with the days of the week position the new group repeat for the number of columns required clone the hidden master group, make it visible, rename the clone, rename its fields fill one field with the column number position the new group end repeat select all groups on the card group them rename this 'super-group' go card 2 unlock screen Thanks fo On 05/04/07, Eric Chatonet wrote: > Hi Ian, > > I suspect that unlock screen automatically occurs when you set the > visible of an object to true. > Could you return to cd 2 before setting the visibility for all these > objects? > Or, better, do all the job from cd 2: clone grp "Master" of cd 1, set > the name of last grp of cd 1 to , etc. > Hope this helps. > > Best regards from Paris, > Eric Chatonet. > -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From eric.chatonet at sosmartsoftware.com Thu Apr 5 08:56:17 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 5 Apr 2007 14:56:17 +0200 Subject: Lock screen and 'Go card' not working In-Reply-To: References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> Message-ID: Hi Ian, Unfortunately, you can't select an object that is onto another card. And I ended with weird results when executing something like: group and while I am on card 2: The group was created but appeared on cd 2 and was removed from cd 1: curious... On the other hand: As you know it: lock and unlock screen go by pairs. So have you tried to lock the screen twice or three times and unlock it until the lock screen = false? Really dirty but worth a try ;-) You can also add in some places: put the lockscreen & cr after msg to understand which statement makes the lock screen reset to false... Best regards from Paris, Eric Chatonet. Le 5 avr. 07 ? 14:12, Ian McKnight a ?crit : > Hi Eric > > Thanks for the suggestions. I have just made the master group visible > on my card 1 and removed the statement to make it visible from the > script but it is still occurring. Script debug mode is off and I am > seeing the entire script execute - so the lock screen command is not > locking because the very next line is go card and that's what I see. > > > I also tried staying on card 2 and doing it remotely, and when I > remove the go card 1 command I get this error: > > Chunk: can't select object that isn't open > Object TTmaster > Line select grp "masterColumnGrp" of cd "timeTable" of this stack > Hint cloneGroup > > > Here is a more detailed outline of what the script does when called > from card 2: > > lock screen > go card 1 (cd "timetable") > > check for a pre-existing table group > if there is one delete it > > clone the hidden master group, make it visible, rename the clone, > rename its fields > fill it with the days of the week > position the new group > > repeat for the number of columns required > clone the hidden master group, make it visible, rename the clone, > rename its fields > fill one field with the column number > position the new group > end repeat > > select all groups on the card > group them > rename this 'super-group' > > go card 2 > unlock screen > > > Thanks fo > On 05/04/07, Eric Chatonet wrote: >> Hi Ian, >> >> I suspect that unlock screen automatically occurs when you set the >> visible of an object to true. >> Could you return to cd 2 before setting the visibility for all these >> objects? >> Or, better, do all the job from cd 2: clone grp "Master" of cd 1, set >> the name of last grp of cd 1 to , etc. >> Hope this helps. >> >> Best regards from Paris, >> Eric Chatonet. >> > > > -- > Regards > > Ian ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From dave at looktowindward.com Thu Apr 5 09:42:21 2007 From: dave at looktowindward.com (Dave) Date: Thu, 5 Apr 2007 14:42:21 +0100 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <4613E1A2.9040302@hyperactivesw.com> References: <461278C8.4090009@fourthworld.com> <46129188.4080804@hyperactivesw.com> <4613E1A2.9040302@hyperactivesw.com> Message-ID: <6A26CC51-1FDB-4C57-A761-C213D2DCF22A@looktowindward.com> On 4 Apr 2007, at 18:34, J. Landman Gay wrote: > Dave wrote: >> On 3 Apr 2007, at 18:40, J. Landman Gay wrote: >>> Dave wrote: >>>> Hi, >>>> I've just tried it again under Versions 2.6.6.152, 2.7.4.291, >>>> 2.8.0..350 and 2.8.0.370 and it only works in 2.6.6.152,. I am >>>> using an Intel Mac, but last time I tried, it didn't work on >>>> PowerPC either. >>> >>> I've never had it fail in any version, on any OS, on any hardware >>> -- except after using Audacity in OS X, as I mentioned in another >>> thread. Did you check the MIDI Setup app to see if the sound >>> output is at the right Hz? >>> >>> >> Yes, I checked that when I saw your post on this subject. However >> I can't see it is that since it works under 2.6.6.152 and it works >> with other applications. > > I've never heard of beep not working, except on some Windows > systems without compatible sound cards. So yes, a mystery. Have you > checked the global "playloudness" property? playloudness was set to 100. However I have managed to make it work! I went into Sound panel of the System Preferences and selected a different sound, tried it and it worked. I then set it back to the original sound, tried it again and it now it works ok!!!!! I have tried this in 2.7.4, 2.8.0.350 and 2.8.0.370 and it works in all three as well as in 2.6.6.152. Looks like something weird happened sometime after version 2.6.6.1.52, since this version has always "beeped" correctly. All the Best and Happy Easter Dave From len-morgan at crcom.net Thu Apr 5 09:49:59 2007 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 05 Apr 2007 08:49:59 -0500 Subject: Try/Catch Problem Message-ID: <4614FE87.8050104@crcom.net> I'm trying to do a simple error trap: try addNew() catch err put "You got error: " & err end try This script won't compile and it says the error is the "catch" statement. The docs say that try has to be on a line by itself (which I've done). The docs give NO EXAMPLE CODE so I can't see from them what I'm doing wrong. Any ideas or pointers to where I can look? Thanks, Len Morgan From dave at looktowindward.com Thu Apr 5 09:59:05 2007 From: dave at looktowindward.com (Dave) Date: Thu, 5 Apr 2007 14:59:05 +0100 Subject: Try/Catch Problem In-Reply-To: <4614FE87.8050104@crcom.net> References: <4614FE87.8050104@crcom.net> Message-ID: <5449FC5B-1018-4AF2-A590-BA1D00F9F46B@looktowindward.com> > try > addNew() > catch err > put "You got error: " & err > end try I know the docs are hopeless. It's nothing to do with the "try", you can't call a function without using a "get" or "put", so it should be: get addNew() or put addNew() into xxx Hope this Helps All the Best Dave On 5 Apr 2007, at 14:49, Len Morgan wrote: > I'm trying to do a simple error trap: > > try > addNew() > catch err > put "You got error: " & err > end try > > This script won't compile and it says the error is the "catch" > statement. > > The docs say that try has to be on a line by itself (which I've > done). The docs give NO EXAMPLE CODE so I can't see from them what > I'm doing wrong. > > Any ideas or pointers to where I can look? > > Thanks, > > 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 iangmcknight at googlemail.com Thu Apr 5 10:46:11 2007 From: iangmcknight at googlemail.com (Ian McKnight) Date: Thu, 5 Apr 2007 15:46:11 +0100 Subject: Lock screen and 'Go card' not working In-Reply-To: References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> Message-ID: Hi Eric Inspired! I've just tried that and I'm getting strange results: I'm building a timetable grid. So I clone a master column and populate it with the days of the week. To achieve this I call the following handler on cloneGroup tnewGrpName select grp "masterColumnGrp" of cd "timeTable" of this stack clone the selectedObject select it set the visible of it to true put the lockscreen &&&cr after msg ----------------------- set the name of the selectedobject to tnewgrpName select empty end cloneGroup For the first call lockscreen is true I now start a loop to clone the same master column but the first topmost field is populated with the loop counter value. The same cloneGroup handler is used here also. Again for each loop lockscreen is also true. The only handler that is called after this in the loop simply changes field names and populates fields with data. However as soon as the loop finishes the lockscreen is false! Here is the code for the loop concerned repeat with theNextPeriod = 1 to thePeriodDay put tgrpNameStem& theNextPeriod into tGrpName -- renames the cloned group -- leave a space after the day column and -- make a space to indicate break and lunch if theNextPeriod = 1 or theNextPeriod = tbreakAfter+1 or theNextPeriod = tLunchAfter +1 then put tbreakGap into tGap else put tColGap into tGap end if -- 64 pixels is the width of 1 period field put (item 1 of theStartLoc + 64 + tGap )&comma& (item 2 of theStartLoc) into theStartLoc cloneGroup tGrpName changeFieldNames theNextPeriod, tgrpName -- display the period number in the top most field put theNextPeriod into fld (tColumnName & theNextPeriod) of grp tGrpName of cd "timeTable" -- move the new column into position set the loc of grp tGrpName of cd "timeTable" to theStartLoc end repeat put the lockscreen &&"3"&cr after msg ------------------ this is now false For a 6 period day the lockscreen is true -- at the start of this loop true :1 -- remains true for each of 6 iterations true :2 true :3 true :4 true :5 true :6 true 3 -- at the end of the loop I can' t see why moving groups and renaming fields within them should cause locksccreen to change state! Thanks again lockscreen is true On 05/04/07, Eric Chatonet wrote: > Hi Ian, > > On the other hand: > As you know it: lock and unlock screen go by pairs. > So have you tried to lock the screen twice or three times and unlock > it until the lock screen = false? > Really dirty but worth a try ;-) > You can also add in some places: put the lockscreen & cr after msg to > understand which statement makes the lock screen reset to false... > > Best regards from Paris, > Eric Chatonet. > > Le 5 avr. 07 ? 14:12, Ian McKnight a ?crit : > -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From henk at iglow-media.nl Thu Apr 5 11:00:39 2007 From: henk at iglow-media.nl (Henk van der Velden) Date: Thu, 05 Apr 2007 17:00:39 +0200 Subject: How does "ask file with type" work? Message-ID: <73D1A6CD-3218-4AF5-8DF7-6B5ABE7CA566@iglow-media.nl> Hi Dave, There is a sample stack "FileFiltering" at my userspace "henk" at Revonline, showing the different options of the answer file command. If you know the extension of the file that is going to be saved, you could check whether an extension is added to the filename of not. If there's no extension, you could add it to the filename by script, and then do the file save. Hope this helps, Henk > > How does "ask file with type" work? > Dave > Thu, 05 Apr 2007 04:46:41 -0700 > > Hi, > > I have a script with the following ask statement: > > ask file "Enter Name of New Script File" with myScriptFolderPath > with type "rev" > What is this supposed to do? > > This is what I want to happen: > > The choose file dialog is displayed. > The user enters a file name with or without an extension (or is > forced to enter an extension) and the extension appended to file name. > If the file exists they are prompted to replace the current file or > not. > > At the moment, if the user enters a file without an extension this > name is passed back. This is ok and it's easy to handle, but it > means that I will have two different "File Exists, Replace this > file?" dialogs which is messy and inconsistent. > > The alternative is to do my own choose file dialog, but it will be > a lot of work to replicate the OS Version, especially when running > on multiple platforms. > Any ideas or suggestions? > > All the Best > Dave > From iangmcknight at googlemail.com Thu Apr 5 11:04:06 2007 From: iangmcknight at googlemail.com (Ian McKnight) Date: Thu, 5 Apr 2007 16:04:06 +0100 Subject: Lock screen and 'Go card' not working In-Reply-To: References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> Message-ID: Hi It's definitely something in the loop I just described. When I loop 6 times and put 16 lock screen statements at the top of the main script everything works as it should ie I don't see card 1. However if I loop 7 times (for a 7 period day) I must put an extra 2 lock screen messages at the top of the script to have the same affect. Something in the loop seems to be cancelling the lock screen statements. for completeness only I reproduce the changeFieldNames handler on changeFieldNames theNextPeriod, tgrpName set the name of fld tcolumnName of grp tgrpName of cd "timeTable" to tcolumnName& theNextPeriod repeat with theDay = 1 to 5 put "period-" & (theDay) & "/" into tPername put "Colour-" & (theDay) & "/" into tPerColourName set the name of field tPername of grp tgrpName of cd "timeTable" to tPername&theNextPeriod set the name of field tPerColourname of grp tgrpName of cd "timeTable" to tPerColourname&theNextPeriod end repeat end changeFieldNames I have to say that I don't know what could be causing this :( Thanks again for you suggestions. Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From dave at looktowindward.com Thu Apr 5 11:28:54 2007 From: dave at looktowindward.com (Dave) Date: Thu, 5 Apr 2007 16:28:54 +0100 Subject: How does "ask file with type" work? In-Reply-To: <73D1A6CD-3218-4AF5-8DF7-6B5ABE7CA566@iglow-media.nl> References: <73D1A6CD-3218-4AF5-8DF7-6B5ABE7CA566@iglow-media.nl> Message-ID: On 5 Apr 2007, at 16:00, Henk van der Velden wrote: > Hi Dave, > > There is a sample stack "FileFiltering" at my userspace "henk" at > Revonline, showing the different options of the answer file command. > > If you know the extension of the file that is going to be saved, > you could check whether an extension is added to the filename of > not. If there's no extension, you could add it to the filename by > script, and then do the file save. > > Hope this helps, > Henk > Thanks a lot, the problem with adding the extension outside the choose file dialog is that if the file already exist it then bypasses the "Replace File" Dialog that is displayed inside the choose file dialog. e.g. Choose File Dialog, User enters "Fred" (Fred.rev already exists), but since the .rev extension is not added until after the dialog is dismissed the "replace file" warning dialog is not shown. Then the user script adds the .rev, it has to check if the file exists and then display a dialog of it's own. This gives an inconsistent interface to the user and is generally bad GUI practice. I was wondering if there is a way to get the ask file dialog to append the file extension, that why the check for the file being replaced would be handled just once and would therefore give consistent results. All the Best Dave > >> >> How does "ask file with type" work? >> Dave >> Thu, 05 Apr 2007 04:46:41 -0700 >> >> Hi, >> >> I have a script with the following ask statement: >> >> ask file "Enter Name of New Script File" with myScriptFolderPath >> with type "rev" >> What is this supposed to do? >> >> This is what I want to happen: >> >> The choose file dialog is displayed. >> The user enters a file name with or without an extension (or is >> forced to enter an extension) and the extension appended to file >> name. >> If the file exists they are prompted to replace the current file >> or not. >> >> At the moment, if the user enters a file without an extension this >> name is passed back. This is ok and it's easy to handle, but it >> means that I will have two different "File Exists, Replace this >> file?" dialogs which is messy and inconsistent. >> >> The alternative is to do my own choose file dialog, but it will be >> a lot of work to replicate the OS Version, especially when running >> on multiple platforms. >> Any ideas or suggestions? >> >> All the Best >> Dave >> > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 5 11:42:15 2007 From: dave at looktowindward.com (Dave) Date: Thu, 5 Apr 2007 16:42:15 +0100 Subject: Amazing but true..... In-Reply-To: References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> Message-ID: <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> It's really beyond me how any company can release a product where something as basic as ordering groups in a hierarchy hasn't worked properly for over three years, and, has in fact, got progressively worse!!!!! Sometimes one just has to wonder what's going on............................ All the Best and Have a Great Easter Dave From bobwarren at howsoft.com Thu Apr 5 11:42:32 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Thu, 05 Apr 2007 12:42:32 -0300 Subject: logos and copyrights Message-ID: <461518E8.1050407@howsoft.com> Anyone like to visit my site? http://www.howsoft.com :-P Bob From jbv.silences at club-internet.fr Thu Apr 5 12:11:11 2007 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 05 Apr 2007 18:11:11 +0200 Subject: Identifying an IP address Message-ID: <46151F8D.9F4DC3DD@club-internet.fr> Hi list, does anyone have a function that checks a string and returns true if it contains an IP address ? In the data I'm working with, if a string contains an IP, the whole string is the IP (which means there isn't any extra junk). I guess this should make things easier... so far I'm running a test on strings that returns true if it contains only numbers and dots... but I wonder if that's enough... Thanks, JB From simplsol at aol.com Thu Apr 5 11:48:45 2007 From: simplsol at aol.com (simplsol at aol.com) Date: Thu, 05 Apr 2007 11:48:45 -0400 Subject: Revcon Las Vegas In-Reply-To: Message-ID: <8C945B1077CF0EC-2AC-4068@webmail-md11.sysops.aol.com> Stephen, I've stayed at a lot of Vegas hotels over the years (it is on the way to and from customers in Colorado). One of my favorites is Main Street Station (in the Downtown, off the Strip). You can enter the lobby from the parking structure and take an elevator to your room without entering the casino. Their meals (especially Sunday morning buffet) are among the best in e city known for good, cheap food. By the way, for those concerned about this, in 25+ years I've probably gambled less than $30 total in all of Nevada. You don't have to gamble to have a good time in LV. Paul Looney -----Original Message----- From: JimAultWins at yahoo.com To: use-revolution at lists.runrev.com Sent: Tue, 3 Apr 2007 6:38 PM Subject: Re: Revcon Las Vegas I agree about the smoking hazards in the casinos. I only go in to a casino to see a show or eat at a restaurant, which is about 6 times a year. There are several places that are not like the big casino and are not smoke-filled and crowded. My preference is to be away from the strip and at a place that does not even have gambling, but does have competitive rates and good service. The Tuscany hotel comes to mind, although there is some gaming, it is more of a get-away. Jim Ault Las Vegas On 4/3/07 10:28 AM, "Stephen Barncard" wrote: > Am I the only one that is not looking forward to a Revcon in Las Vegas? > I personally don't like the glitz and the crowds (and some folks > do...), but I also got to thinking about the really serious downside > of living and working in casinos... > > the thousands of Tobacco Smokers... (my apologies to my smoking friends..) > > Because of the hotels' tradition of crowd mitigation, we'll have to > walk through that haze and noise of a casino several times a day just > to get between our rooms and the conference. It's their way or the > highway. Cheap rooms to be sure, but at what price? > > On the other hand, there's FlyAway... > > http://www.flyawayindoorskydiving.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 ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com. From eric.chatonet at sosmartsoftware.com Thu Apr 5 11:10:59 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 5 Apr 2007 17:10:59 +0200 Subject: Lock screen and 'Go card' not working Message-ID: <80389972-FEC3-406B-AED0-4F052D4AE020@sosmartsoftware.com> Hi again, I would suspect that selecting an object (i.e. changing the tool) sets automatically the lockscreen to false. You might try to avoid any selection by using directly: clone grp "masterColumnGrp" Let me know ;-) Best regards from Paris, Eric Chatonet. Le 5 avr. 07 ? 16:46, Ian McKnight a ?crit : > Hi Eric > > Inspired! I've just tried that and I'm getting strange results: > > I'm building a timetable grid. So I clone a master column and populate > it with the days of the week. To achieve this I call the following > handler > > on cloneGroup tnewGrpName > select grp "masterColumnGrp" of cd "timeTable" of this stack > clone the selectedObject > select it > set the visible of it to true > > put the lockscreen &&&cr after msg ----------------------- > > set the name of the selectedobject to tnewgrpName > select empty > end cloneGroup > > For the first call lockscreen is true > > I now start a loop to clone the same master column but the first > topmost field is populated with the loop counter value. The same > cloneGroup handler is used here also. Again for each loop lockscreen > is also true. > > The only handler that is called after this in the loop simply changes > field names and populates fields with data. > > However as soon as the loop finishes the lockscreen is false! > > Here is the code for the loop concerned > > repeat with theNextPeriod = 1 to thePeriodDay > put tgrpNameStem& theNextPeriod into tGrpName -- renames the > cloned group > > -- leave a space after the day column and > -- make a space to indicate break and lunch > if theNextPeriod = 1 or theNextPeriod = tbreakAfter+1 or > theNextPeriod = tLunchAfter +1 > then > put tbreakGap into tGap > else > put tColGap into tGap > end if > > -- 64 pixels is the width of 1 period field > put (item 1 of theStartLoc + 64 + tGap )&comma& (item 2 of > theStartLoc) into theStartLoc > > cloneGroup tGrpName > changeFieldNames theNextPeriod, tgrpName > > -- display the period number in the top most field > put theNextPeriod into fld (tColumnName & theNextPeriod) of grp > tGrpName of cd "timeTable" > > -- move the new column into position > set the loc of grp tGrpName of cd "timeTable" to theStartLoc > end repeat > > put the lockscreen &&"3"&cr after msg ------------------ this is > now false > > > For a 6 period day the lockscreen is > > true -- at the start of this loop > true :1 -- remains true for each of 6 iterations > true :2 > true :3 > true :4 > true :5 > true :6 > > true 3 -- at the end of the loop > > I can' t see why moving groups and renaming fields within them should > cause locksccreen to change state! > > Thanks again > > > > lockscreen is true > > On 05/04/07, Eric Chatonet wrote: >> Hi Ian, >> > >> On the other hand: >> As you know it: lock and unlock screen go by pairs. >> So have you tried to lock the screen twice or three times and unlock >> it until the lock screen = false? >> Really dirty but worth a try ;-) >> You can also add in some places: put the lockscreen & cr after msg to >> understand which statement makes the lock screen reset to false... >> >> Best regards from Paris, >> Eric Chatonet. >> >> Le 5 avr. 07 ? 14:12, Ian McKnight a ?crit : >> > > > -- > Regards > > Ian ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Thu Apr 5 11:52:35 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 5 Apr 2007 17:52:35 +0200 Subject: Identifying an IP address In-Reply-To: <46151F8D.9F4DC3DD@club-internet.fr> References: <46151F8D.9F4DC3DD@club-internet.fr> Message-ID: <0CE985E9-1944-46DF-A8F3-29F5DAA5BBC9@sosmartsoftware.com> Bonjour, Regex! http://regexlib.com/default.aspx Le 5 avr. 07 ? 18:11, jbv a ?crit : > Hi list, > > does anyone have a function that checks a string > and returns true if it contains an IP address ? > In the data I'm working with, if a string contains > an IP, the whole string is the IP (which means > there isn't any extra junk). I guess this should make > things easier... > > so far I'm running a test on strings that returns true > if it contains only numbers and dots... but I wonder > if that's enough... > > Thanks, > JB Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From simplsol at aol.com Thu Apr 5 11:53:21 2007 From: simplsol at aol.com (simplsol at aol.com) Date: Thu, 05 Apr 2007 11:53:21 -0400 Subject: Amazing but true..... In-Reply-To: <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> Message-ID: <8C945B1ABF3A7EB-2AC-40B6@webmail-md11.sysops.aol.com> Dave, I've used Geoff Canyon's Rev Navigator for layering all objects (including groups) for years. It has worked well for me (and I use it a lot) from version 2.2 through 2.7.2 (which I'm using now). Would you define the "issue" more specifically? Paul Looney -----Original Message----- From: dave at looktowindward.com To: use-revolution at lists.runrev.com Sent: Thu, 5 Apr 2007 8:42 AM Subject: Amazing but true..... It's really beyond me how any company can release a product where something as basic as ordering groups in a hierarchy hasn't worked properly for over three years, and, has in fact, got progressively worse!!!!!? ? Sometimes one just has to wonder what's going on............................? ? All the Best and Have a Great Easter? Dave? ? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com. =0 From soapdog at mac.com Thu Apr 5 11:53:37 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 5 Apr 2007 12:53:37 -0300 Subject: Revcon Las Vegas In-Reply-To: <8C945B1077CF0EC-2AC-4068@webmail-md11.sysops.aol.com> References: <8C945B1077CF0EC-2AC-4068@webmail-md11.sysops.aol.com> Message-ID: <9E0C7170-A4F5-421D-9E87-85D5DC03128F@mac.com> I don't think they allow brazilians near casinos... :-) Andre On Apr 5, 2007, at 12:48 PM, simplsol at aol.com wrote: > Stephen, > I've stayed at a lot of Vegas hotels over the years (it is on the > way to and from customers in Colorado). One of my favorites is Main > Street Station (in the Downtown, off the Strip). You can enter the > lobby from the parking structure and take an elevator to your room > without entering the casino. Their meals (especially Sunday morning > buffet) are among the best in e city known for good, cheap food. > > By the way, for those concerned about this, in 25+ years I've > probably gambled less than $30 total in all of Nevada. You don't > have to gamble to have a good time in LV. > Paul Looney From JimAultWins at yahoo.com Thu Apr 5 11:58:46 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 05 Apr 2007 08:58:46 -0700 Subject: Lock screen and 'Go card' not working In-Reply-To: Message-ID: I don't know about the new versions of Rev, but the original HCard lock screen was a "stack of them", such that if you wanted to unlock the screen during a single handler, you had to do as many unlock's as lock's. The method I used was something in a repeat loop. Your quick workaround may be to call the lock screen 5 times in a row to see if that works. Just a guess, but easy to try. Jim Ault Las Vegas On 4/5/07 7:46 AM, "Ian McKnight" wrote: > Hi Eric > > Inspired! I've just tried that and I'm getting strange results: > > I'm building a timetable grid. So I clone a master column and populate > it with the days of the week. To achieve this I call the following > handler > > on cloneGroup tnewGrpName > select grp "masterColumnGrp" of cd "timeTable" of this stack > clone the selectedObject > select it > set the visible of it to true > > put the lockscreen &&&cr after msg ----------------------- > > set the name of the selectedobject to tnewgrpName > select empty > end cloneGroup > > For the first call lockscreen is true > > I now start a loop to clone the same master column but the first > topmost field is populated with the loop counter value. The same > cloneGroup handler is used here also. Again for each loop lockscreen > is also true. > > The only handler that is called after this in the loop simply changes > field names and populates fields with data. > > However as soon as the loop finishes the lockscreen is false! > > Here is the code for the loop concerned > > repeat with theNextPeriod = 1 to thePeriodDay > put tgrpNameStem& theNextPeriod into tGrpName -- renames the cloned group > > -- leave a space after the day column and > -- make a space to indicate break and lunch > if theNextPeriod = 1 or theNextPeriod = tbreakAfter+1 or > theNextPeriod = tLunchAfter +1 > then > put tbreakGap into tGap > else > put tColGap into tGap > end if > > -- 64 pixels is the width of 1 period field > put (item 1 of theStartLoc + 64 + tGap )&comma& (item 2 of > theStartLoc) into theStartLoc > > cloneGroup tGrpName > changeFieldNames theNextPeriod, tgrpName > > -- display the period number in the top most field > put theNextPeriod into fld (tColumnName & theNextPeriod) of grp > tGrpName of cd "timeTable" > > -- move the new column into position > set the loc of grp tGrpName of cd "timeTable" to theStartLoc > end repeat > > put the lockscreen &&"3"&cr after msg ------------------ this is now false > > > For a 6 period day the lockscreen is > > true -- at the start of this loop > true :1 -- remains true for each of 6 iterations > true :2 > true :3 > true :4 > true :5 > true :6 > > true 3 -- at the end of the loop > > I can' t see why moving groups and renaming fields within them should > cause locksccreen to change state! > > Thanks again > > > > lockscreen is true > > On 05/04/07, Eric Chatonet wrote: >> Hi Ian, >> > >> On the other hand: >> As you know it: lock and unlock screen go by pairs. >> So have you tried to lock the screen twice or three times and unlock >> it until the lock screen = false? >> Really dirty but worth a try ;-) >> You can also add in some places: put the lockscreen & cr after msg to >> understand which statement makes the lock screen reset to false... >> >> Best regards from Paris, >> Eric Chatonet. >> >> Le 5 avr. 07 ? 14:12, Ian McKnight a ?crit : >> > From ambassador at fourthworld.com Thu Apr 5 12:40:02 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Apr 2007 09:40:02 -0700 Subject: How does "ask file with type" work? Message-ID: <46152662.5040904@fourthworld.com> Dave wrote: > Thanks a lot, the problem with adding the extension outside the > choose file dialog is that if the file already exist it then bypasses > the "Replace File" Dialog that is displayed inside the choose file > dialog. e.g. I believe this new form of "ask file" is designed to work as you describe, but is currently broken: in v2.8 build 360 it returns the type of the file, and I could find no way to obtain the path. I just BZ'd it: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From iangmcknight at googlemail.com Thu Apr 5 12:48:05 2007 From: iangmcknight at googlemail.com (Ian McKnight) Date: Thu, 5 Apr 2007 17:48:05 +0100 Subject: Lock screen and 'Go card' not working In-Reply-To: <80389972-FEC3-406B-AED0-4F052D4AE020@sosmartsoftware.com> References: <80389972-FEC3-406B-AED0-4F052D4AE020@sosmartsoftware.com> Message-ID: Hi Eric Thanks for the suggestion but I believe that I have to select the object at some stage because it needs to be moved and renamed etc. Thanks again -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From iangmcknight at googlemail.com Thu Apr 5 12:51:27 2007 From: iangmcknight at googlemail.com (Ian McKnight) Date: Thu, 5 Apr 2007 17:51:27 +0100 Subject: Lock screen and 'Go card' not working In-Reply-To: References: Message-ID: Hi Jim You suggestion has done the trick! I put a lock screen command into a loop with a multiplier based on the number of times my master group is cloned and guess what? they all cancel out at the end- and I don't see the move to card 1 at all. Really strange! Anyway thanks for your help and to everyone else who gave advice. -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From chipp at chipp.com Thu Apr 5 12:52:39 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 5 Apr 2007 11:52:39 -0500 Subject: Amazing but true..... In-Reply-To: <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> Message-ID: <7aa52a210704050952h215ac1d7l90ca3a68047e791c@mail.gmail.com> Works fine for me. I must be missing something all these years. It certainly hasn't affected any of Altuit's commercial projects. On 4/5/07, Dave wrote: > > It's really beyond me how any company can release a product where > something as basic as ordering groups in a hierarchy hasn't worked > properly for over three years, and, has in fact, got progressively > worse!!!!! > From jacque at hyperactivesw.com Thu Apr 5 12:54:25 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Apr 2007 11:54:25 -0500 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <4614BFA2.5080406@harbourhosting.co.uk> References: <46145B23.4030000@hyperactivesw.com> <4614BFA2.5080406@harbourhosting.co.uk> Message-ID: <461529C1.9080201@hyperactivesw.com> Martin Baxter wrote: > J. Landman Gay wrote: >> problem, but it doesn't mention Mac OS or Linux. I think Rev's beep >> command would probably work just as you expect on a native OS 9 >> machine. (Maybe someone with a native OS 9 Mac could take a look?) >> > > The last version of RR for OS9 is 2.6.1, and here on my 233MHz beige G3 > multiple beeping works fine. The final 2 beeps seem to always have a > shorter interval between them than the earlier ones. Thanks to both you and Dave for testing. It's something to add to my trivia file. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 5 13:01:24 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Apr 2007 12:01:24 -0500 Subject: How does "ask file with type" work? In-Reply-To: <18D6B63C-5AF6-4E06-9973-AD65C3AC1435@looktowindward.com> References: <46147947.7080505@fourthworld.com> <18D6B63C-5AF6-4E06-9973-AD65C3AC1435@looktowindward.com> Message-ID: <46152B64.6070503@hyperactivesw.com> Dave wrote: > Hi, > > I have a script with the following ask statement: > > ask file "Enter Name of New Script File" with myScriptFolderPath with > type "rev" > > What is this supposed to do? The "types" parameter fills in the popup button in Windows file dialogs. It doesn't do anything on other systems. This allows Windows users to choose a file type for their new file. > > This is what I want to happen: > > The choose file dialog is displayed. > The user enters a file name with or without an extension (or is forced > to enter an extension) and the extension appended to file name. > If the file exists they are prompted to replace the current file or not. > > At the moment, if the user enters a file without an extension this name > is passed back. This is ok and it's easy to handle, but it means that I > will have two different "File Exists, Replace this file?" dialogs which > is messy and inconsistent. There isn't a good way around this. The most common approach is to provide a default file name that includes the extension. Most users will take the hint and use the extension, particularly Windows users because they are used to this. Mac users vary. They are more accustomed to not needing file extensions and they may remove it. The best thing would be to just allow the user to specify any name they want, with or without an extension. That way, whatever they enter will likely match their previous file name. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Thu Apr 5 13:03:23 2007 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 5 Apr 2007 10:03:23 -0700 (PDT) Subject: 2 dimensional Arrays In-Reply-To: <09A6FBE1-D0D5-4F6A-8D7D-226EA191FABA@iglow-media.nl> Message-ID: Thanks, Otto & Ken! I'd been wondering how to fake them! Judy On Wed, 14 Mar 2007, Henk van der Velden wrote: > Hi Otto, > > Rev doesn't support 2 dimensional arrays, so you have to kind of fake > them. > You can also take a look at > http://www.sonsothunder.com/devres/revolution/tips/arry001.htm From devin_asay at byu.edu Thu Apr 5 13:10:31 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 5 Apr 2007 11:10:31 -0600 Subject: revPrintText/pageHeights broken in v2.8? In-Reply-To: <461456FD.3060001@hyperactivesw.com> References: <461434D4.4030502@fourthworld.com> <461456FD.3060001@hyperactivesw.com> Message-ID: On Apr 4, 2007, at 7:55 PM, J. Landman Gay wrote: > Sarah Reichelt wrote: >> On 4/5/07, Richard Gaskin wrote: >>> Bill Marriott wrote: >>> >>> > Richard, >>> > >>> > I just tried your example stack in Report #4601 and had exactly >>> the same >>> > (apparently correct) result printing both off-screen and >>> hidden. I was able >>> > to test with two drivers: Adobe PDF and HP C3180. I'm using >>> 2.8.0 build 370 >>> > on Windows. >>> >>> Seems like we're narrowing it down: I tested on OS X 10.4.8. >>> >> I just tested your stack on OS X 10.4.9 and I get the bug too. >> Off-screen works fine, hidden prints page 1 OK, but not the others. >> (Tested using Print Preview only.) > > And a report just came through the support queue about footers not > printing on OS X, but they print okay on Windows (using > revPrintText). Wonder if it's related to this problem. They both > involve the bottom of the page. This sounds like my report. I cross-referenced Richard's bug report because they seem related, but not identical. Bottom line is revPrintText is broken in several ways on OSX. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From lists at mangomultimedia.com Thu Apr 5 13:10:48 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 5 Apr 2007 10:10:48 -0700 Subject: Amazing but true..... In-Reply-To: <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> Message-ID: <32DCF636-CCFB-4A69-BE4C-0AF73A62BA50@mangomultimedia.com> On Apr 5, 2007, at 8:42 AM, Dave wrote: > It's really beyond me how any company can release a product where > something as basic as ordering groups in a hierarchy hasn't worked > properly for over three years, and, has in fact, got progressively > worse!!!!! > > Sometimes one just has to wonder what's going > on............................ What group reordering isn't working? In the engine or one of the Rev tools. Once you understand how to reorder grouped controls in the engine I've found it to work flawlessly. There is a bit of a learning curve though. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From JimAultWins at yahoo.com Thu Apr 5 13:18:44 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 05 Apr 2007 10:18:44 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <461529C1.9080201@hyperactivesw.com> Message-ID: On 4/5/07 9:54 AM, "J. Landman Gay" wrote: > Martin Baxter wrote: >> J. Landman Gay wrote: >>> problem, but it doesn't mention Mac OS or Linux. I think Rev's beep >>> command would probably work just as you expect on a native OS 9 >>> machine. (Maybe someone with a native OS 9 Mac could take a look?) >>> >> >> The last version of RR for OS9 is 2.6.1, and here on my 233MHz beige G3 >> multiple beeping works fine. The final 2 beeps seem to always have a >> shorter interval between them than the earlier ones. > > Thanks to both you and Dave for testing. It's something to add to my > trivia file. ;) I guess from my old days with HCard, the beep command did not always work as expected, but what did you expect from a free program that came with the computer? I think of the beep command in Rev as one of the things that has been included for backward compatibility. New users would have no way of knowing about the legacy features, and the docs do not cover every nuance, nook and crany, so it *is* more of an exercise in trivia. A very good reason for this list and its activity. Perhaps we should let newcomers realize a little more about the long history of xTalk and that it is not a perfect environment, and was not originated by Rev. They took it cross-platform, almost effortlessly for the programmer, which is amazing. There needs to be some patience with getting to know something that is so good, but not perfect. Jim Ault Las Vegas From lfredricks at proactive-intl.com Thu Apr 5 13:23:24 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 5 Apr 2007 10:23:24 -0700 Subject: Revcon Las Vegas In-Reply-To: <8C945B1077CF0EC-2AC-4068@webmail-md11.sysops.aol.com> References: <8C945B1077CF0EC-2AC-4068@webmail-md11.sysops.aol.com> Message-ID: <031701c777a7$20f04710$6401a8c0@YOUR68B8D1092F> > I've stayed at a lot of Vegas hotels over the years (it is on > the way to and from customers in Colorado). One of my > favorites is Main Street Station (in the Downtown, off the > Strip). You can enter the lobby from the parking structure > and take an elevator to your room without entering the > casino. Their meals (especially Sunday morning buffet) are > among the best in e city known for good, cheap food. > > By the way, for those concerned about this, in 25+ years I've > probably gambled less than $30 total in all of Nevada. You > don't have to gamble to have a good time in LV. Yes! I used to go to Comdex (later CES) and take my family. There are some good shows to go to, nice restaurants, and for the uber nerd: Star Trek: The Experience at the Hilton. It's a museum plus ride plus bar (Quark's). Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.com From ambassador at fourthworld.com Thu Apr 5 13:27:38 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Apr 2007 10:27:38 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ Message-ID: <4615318A.8060806@fourthworld.com> Jim Ault wrote: > I think of the beep command in Rev as one of the things that has been > included for backward compatibility. New users would have no way of knowing > about the legacy features, and the docs do not cover every nuance, nook and > crany, so it *is* more of an exercise in trivia. A very good reason for > this list and its activity. The beep command is generally useful enough that it should be expected to work, legacy or no. But in recent years the number of times computers beep at you has greatly declined; these days the beep is used only in the rarest of data-loss confirmations. And it's nearly unheard of to beep at a user multiple times; I suspect this rarity is why any issues with multi-beep sequences hasn't been discovered before. Users have a difficult enough life as it is, why would we want to beep at them multiple times? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From tereza at califex.com Thu Apr 5 15:14:28 2007 From: tereza at califex.com (Tereza Snyder) Date: Thu, 5 Apr 2007 14:14:28 -0500 Subject: Lock screen and 'Go card' not working In-Reply-To: References: <80389972-FEC3-406B-AED0-4F052D4AE020@sosmartsoftware.com> Message-ID: On Apr 5, 2007, at 11:48 AM, Ian McKnight wrote: > Thanks for the suggestion but I believe that I have to select the > object at some stage because it needs to be moved and renamed etc. You don't need to select an object to move it or rename it or group it. If you have its long ID, which you can obtain after you make it either with "create" or with "clone": e.g. clone grp "unsweetened" put the long ID of it into tMyGrp1 set the topleft of tMyGrp1 to tTopLeft1 set the name of tMyGrp1 to "special dark" clone grp "unsweetened" put the long ID of it into tMyGrp2 set the topleft of tMyGrp2 to tTopLeft2 set the name of tMyGrp2 to "semi sweet" then later, you can group the objects you created with the "group" command: group tMyGrp1 and tMyGrp2 and grp "unsweetened" I create, clone and copy objects constantly in scripts, and I _never_ have to use "select" t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From iangmcknight at googlemail.com Thu Apr 5 15:47:36 2007 From: iangmcknight at googlemail.com (Ian McKnight) Date: Thu, 5 Apr 2007 20:47:36 +0100 Subject: Lock screen and 'Go card' not working In-Reply-To: References: <80389972-FEC3-406B-AED0-4F052D4AE020@sosmartsoftware.com> Message-ID: Hi Tereza I had looped through the names in the groupnames property, selecting each group as I went and building a complicated do statement. It's nice to be reminded that there is nearly always a simpler way to do things in Revolution. Thanks for the tip. On 05/04/07, Tereza Snyder wrote: > > You don't need to select an object to move it or rename it or group > it. If you have its long ID, which you can obtain after you make it > either with "create" or with "clone": e.g. > > clone grp "unsweetened" > put the long ID of it into tMyGrp1 > set the topleft of tMyGrp1 to tTopLeft1 > set the name of tMyGrp1 to "special dark" > > clone grp "unsweetened" > put the long ID of it into tMyGrp2 > set the topleft of tMyGrp2 to tTopLeft2 > set the name of tMyGrp2 to "semi sweet" > > > then later, you can group the objects you created with the "group" > command: > > group tMyGrp1 and tMyGrp2 and grp "unsweetened" > > I create, clone and copy objects constantly in scripts, and I _never_ > have to use "select" > > t > -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From revlist at azurevision.co.uk Thu Apr 5 15:50:35 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 5 Apr 2007 20:50:35 +0100 Subject: Lock screen and 'Go card' not working In-Reply-To: References: <80389972-FEC3-406B-AED0-4F052D4AE020@sosmartsoftware.com> Message-ID: <33F1139D-1F1E-4048-A57C-0936F41305A9@azurevision.co.uk> On 5 Apr 2007, at 20:14, Tereza Snyder wrote: > You don't need to select an object to move it or rename it or group > it. If you have its long ID, which you can obtain after you make it > either with "create" or with "clone": e.g. > > clone grp "unsweetened" > put the long ID of it into tMyGrp1 > set the topleft of tMyGrp1 to tTopLeft1 > set the name of tMyGrp1 to "special dark" It's also possible to refer to the 'last' object, although it's not as foolproof as the long ID: clone grp "unsweetened" set the topleft of the last group to tTopLeft1 set the name of the last group to "special dark" lone grp "unsweetened" set the topleft of the last group to tTopLeft2 set the name of the last group to "semi sweet" Ian From jonathandlynch at gmail.com Thu Apr 5 15:55:16 2007 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 5 Apr 2007 15:55:16 -0400 Subject: "New Table Object" (sort of) Problem In-Reply-To: <46126A5D.5050706@crcom.net> References: <46126A5D.5050706@crcom.net> Message-ID: <31e1938c0704051255n1e2a10d1wbf4a3f7b1cfa7193@mail.gmail.com> Hi Len... You are welcome to use the table object I created - and tweak it as you need. It does a bunch of things. http://revolution.widged.com/stacks/open/components/spreadsheet_object.rev On 4/3/07, Len Morgan wrote: > > I'm trying to create a REAL table object (hopefully reusable), and I'm > getting close. What I've done is create a Header group that has > non-functioning buttons (for right now) that goes across the top. I > then created a group of fields that butt up against each other and > formatted to the same width as the header group. This group will be one > row of my table. I will need as many copies of this group as there are > rows returned from a query. > > This works fine as long as there are fewer rows returned than the size > of the screen. I'm copying the row group into another group that I want > to use as a scrolled container with a scrollbar on the side so any rows > that go "below" the area of this group should not be visible until they > are scrolled into view (and the rows above should go away as they are > scrolled off the top of the containing group. > > The problem is that the new rows just keep on going right to the bottom > of the screen. How can I make a scrolled box of groups? > > Thanks > > 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 > -- Do all things with love From schaubeck at mac.com Thu Apr 5 18:39:31 2007 From: schaubeck at mac.com (Jim Schaubeck) Date: Thu, 05 Apr 2007 15:39:31 -0700 Subject: Filtering Columns in Tables Message-ID: <1E6B47B3-0111-1000-C939-49C0A71C0AB4-Webmail-10021@mac.com> Hello all, I'm trying to code a way so a user can click on the title of a particular column in a table field to select filters for that column. Much like you can use a spreadsheet and add filter boxes in the header cells to select the specific contents for that column. After selecting the particular contents, the spreadsheet will now only show the lines that have that same data in the filtered column. I want to duplicate that look in a rev app The tough part for me is I have 30 columns & need horizontal scrolling. This eliminates stationary buttons that would do this easily. The buttons in the spreadsheet move horizontally while scrolling. Do you folks have any ideas how to do this? Jim... From hughesmike2 at hotmail.com Thu Apr 5 19:01:58 2007 From: hughesmike2 at hotmail.com (Mike Hughes) Date: Thu, 05 Apr 2007 23:01:58 +0000 Subject: Simple Speech Recognition Message-ID: Is there any way to use speech recognition in Rev via AppleScript? Cheers, Mike >From: "Mike Hughes" >Reply-To: How to use Revolution >To: use-revolution at lists.runrev.com >Subject: Simple Speech Recognition >Date: Wed, 04 Apr 2007 23:57:50 +0000 > >What is the story with Speech Recognition and Rev? > >Let's say you have a Rev stack open, and perhaps a button called "Steve". >Is there a way for the stack to listen for you to say "Steve" and then >click the button for you? > >(Something similar to the built-in speech recognition controls in Apple's >Chess) > >TIA, > >Mike > >_________________________________________________________________ >Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings >https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4056&p=5117 > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE From brentj84062 at gmail.com Thu Apr 5 19:46:07 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Thu, 5 Apr 2007 17:46:07 -0600 Subject: Simple Speech Recognition In-Reply-To: References: Message-ID: Hello. You've got a few options with Speech Recognition, unless you want to get down and dirty with the Speech Recognition frameworks (read: a revolution external). AppleScript does support speech recognition, however I have never tried it out in Revolution. Another option would be to "define a keyboard command" for every action you want to complete (Revolution does detect the keyboard "input" so you can handle messages via keydown type messages). Another option might be to use a third party Speech framework MakeItSo (http:// homepage.mac.com/bonura/Professional/). I've never worked very hard with it, nor have I tried to run it with Revolution. It might be what you're looking for, however. Thanks, Brent Anderson The Christa McAuliffe Space Education Center www.spacecamputah.org On Apr 5, 2007, at 5:01 PM, Mike Hughes wrote: > Is there any way to use speech recognition in Rev via AppleScript? > > Cheers, > > Mike > >> From: "Mike Hughes" >> Reply-To: How to use Revolution >> To: use-revolution at lists.runrev.com >> Subject: Simple Speech Recognition >> Date: Wed, 04 Apr 2007 23:57:50 +0000 >> >> What is the story with Speech Recognition and Rev? >> >> Let's say you have a Rev stack open, and perhaps a button called >> "Steve". Is there a way for the stack to listen for you to say >> "Steve" and then click the button for you? >> >> (Something similar to the built-in speech recognition controls in >> Apple's Chess) >> >> TIA, >> >> Mike >> >> _________________________________________________________________ >> Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check >> savings https://www2.nextag.com/goto.jsp?product=100000035&url=% >> 2fst.jsp&tm=y&search=mortgage_text_links_88_h2bbb&disc=y&vers=925&s=4 >> 056&p=5117 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _________________________________________________________________ > The average US Credit Score is 675. The cost to see yours: $0 by > Experian. http://www.freecreditreport.com/pm/default.aspx? > sc=660600&bcd=EMAILFOOTERAVERAGE > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Thu Apr 5 21:28:03 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Thu, 5 Apr 2007 18:28:03 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <4615318A.8060806@fourthworld.com> References: <4615318A.8060806@fourthworld.com> Message-ID: Richard. it has nothing to do with beeping at users. Multiple beeps are VERY useful when debugging without entery the debugging mode and following every or most lines of the code. Often much more convenient than ssetting break points. IMHO, Joe Wilkins On Apr 5, 2007, at 10:27 AM, Richard Gaskin wrote: > Jim Ault wrote: >> I think of the beep command in Rev as one of the things that has been >> included for backward compatibility. New users would have no way >> of knowing >> about the legacy features, and the docs do not cover every nuance, >> nook and >> crany, so it *is* more of an exercise in trivia. A very good >> reason for >> this list and its activity. > > The beep command is generally useful enough that it should be > expected to work, legacy or no. > > But in recent years the number of times computers beep at you has > greatly declined; these days the beep is used only in the rarest of > data-loss confirmations. > > And it's nearly unheard of to beep at a user multiple times; I > suspect this rarity is why any issues with multi-beep sequences > hasn't been discovered before. > > Users have a difficult enough life as it is, why would we want to > beep at them multiple times? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: 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 Thu Apr 5 22:58:11 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 6 Apr 2007 08:28:11 +0530 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: References: <4615318A.8060806@fourthworld.com> Message-ID: On 4/6/07, Joe Lewis Wilkins wrote: > > Richard. it has nothing to do with beeping at users. Multiple beeps > are VERY useful when debugging without entery the debugging mode and > following every or most lines of the code. Often much more convenient > than ssetting break points. An excellent point. I do seem to remember in HC I spent a lot of time listening to beep combinations as my scripts ran to confirm 'entry' into certain segments. Now I seem to do a lot of waiting for the debugger to open at breakpoints, do a couple of 'steps' to confirm correct branching and then pressing 'run'. I know I can put text into the msg box, but usually I'm busy watching data change in fields so it would be more convenient to have audible 'markers'. If I remember correctly it was much easier in HC to play notes of different pitch and duration. From ambassador at fourthworld.com Fri Apr 6 00:31:26 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Apr 2007 21:31:26 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ Message-ID: <4615CD1E.2030703@fourthworld.com> Joe Lewis wrote: > Richard. it has nothing to do with beeping at users. Multiple beeps > are VERY useful when debugging without entery the debugging mode and > following every or most lines of the code. Often much more convenient > than ssetting break points. Gotcha. Thanks for the background. I've never used beep for debugging, but I can see where it could be useful. Has there been a BZ report filed for this one? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pepetoo at Cox.Net Fri Apr 6 00:43:01 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Thu, 5 Apr 2007 21:43:01 -0700 Subject: Really weird occurence in Saving a Mac Stand alone In-Reply-To: References: <4615318A.8060806@fourthworld.com> Message-ID: <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> Hi All, You've got to hand it to me. I DO have the weirdest things happen. I saved a Standalone. I opened the Mac OSX version. Played with it a bit, then decided I wanted to save a copy. So I selected the Save A copy As... with the following handler in the File menu: case "Save A Copy As..." answer folder "Select destination folder for backup: " if the result is "Cancel" then exit menupick revCopyFile (the effective fileName of this stack), it break Then I went looking to see if the changes I'd made were actually saved, but lo and behold a PC exe version was where the saved copy should have been. Any thoughts? TIA, Joe Wilkins From pepetoo at Cox.Net Fri Apr 6 01:11:13 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Thu, 5 Apr 2007 22:11:13 -0700 Subject: Really weird occurence in Saving a Mac Stand alone In-Reply-To: <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> References: <4615318A.8060806@fourthworld.com> <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> Message-ID: A thought! Since the handler doesn't actually provide the dialog I had wanted and there is no way to give the stack a name in "it" in which to save the stack, could it be that it has something in it that causes the copy saved to be an PC executable? I don't see how that could have happened, but??? Joe Wilkins On Apr 5, 2007, at 9:43 PM, Joe Lewis Wilkins wrote: > Hi All, > > You've got to hand it to me. I DO have the weirdest things happen. > > I saved a Standalone. I opened the Mac OSX version. Played with it > a bit, then decided I wanted to save a copy. So I selected the Save > A copy As... with the following handler in the File menu: > > case "Save A Copy As..." > answer folder "Select destination folder for backup: " > if the result is "Cancel" then exit menupick > revCopyFile (the effective fileName of this stack), it > break > > Then I went looking to see if the changes I'd made were actually > saved, but lo and behold a PC exe version was where the saved copy > should have been. > > Any thoughts? > TIA, > Joe Wilkins > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 6 01:41:43 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Apr 2007 00:41:43 -0500 Subject: Really weird occurence in Saving a Mac Stand alone In-Reply-To: <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> References: <4615318A.8060806@fourthworld.com> <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> Message-ID: <4615DD97.7000407@hyperactivesw.com> Joe Lewis Wilkins wrote: > Hi All, > > You've got to hand it to me. I DO have the weirdest things happen. > > I saved a Standalone. I opened the Mac OSX version. Played with it a > bit, then decided I wanted to save a copy. So I selected the Save A copy > As... with the following handler in the File menu: > > case "Save A Copy As..." > answer folder "Select destination folder for backup: " > if the result is "Cancel" then exit menupick > revCopyFile (the effective fileName of this stack), it > break > > Then I went looking to see if the changes I'd made were actually saved, > but lo and behold a PC exe version was where the saved copy should have > been. > > Any thoughts? I can't say I've ever tried to save a copy of a standalone from within itself. But are you sure it's a PC executable? Or does the Finder just think it is, and is assigning the wrong icon? I'm betting that the creator/type codes weren't set, and the Finder has no idea what kind of file that is. I'm also wondering if you actually got an executable file, or just a copy of the main stack. Are the file sizes on disk the same between the two copies? If they are the same, then you might be able to use a creator/type editor to change the type to "APPL" and you'd be in business. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at Cox.Net Fri Apr 6 01:56:26 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Thu, 5 Apr 2007 22:56:26 -0700 Subject: Really weird occurence in Saving a Mac Stand alone In-Reply-To: <4615DD97.7000407@hyperactivesw.com> References: <4615318A.8060806@fourthworld.com> <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> <4615DD97.7000407@hyperactivesw.com> Message-ID: Jacque, thanks for the thoughts. I'm trying something else first, since I think I just confused the compiler with the parameters provided from the dialog I was using. If I can't, I'll try as you've suggested. It makes some sense. File names are so touchy! On Apr 5, 2007, at 10:41 PM, J. Landman Gay wrote: > Joe Lewis Wilkins wrote: >> Hi All, >> You've got to hand it to me. I DO have the weirdest things happen. >> I saved a Standalone. I opened the Mac OSX version. Played with it >> a bit, then decided I wanted to save a copy. So I selected the >> Save A copy As... with the following handler in the File menu: >> case "Save A Copy As..." >> answer folder "Select destination folder for backup: " >> if the result is "Cancel" then exit menupick >> revCopyFile (the effective fileName of this stack), it >> break >> Then I went looking to see if the changes I'd made were actually >> saved, but lo and behold a PC exe version was where the saved copy >> should have been. >> Any thoughts? > > I can't say I've ever tried to save a copy of a standalone from > within itself. But are you sure it's a PC executable? Or does the > Finder just think it is, and is assigning the wrong icon? I'm > betting that the creator/type codes weren't set, and the Finder has > no idea what kind of file that is. > > I'm also wondering if you actually got an executable file, or just > a copy of the main stack. Are the file sizes on disk the same > between the two copies? If they are the same, then you might be > able to use a creator/type editor to change the type to "APPL" and > you'd be in business. > > -- > 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 christian.langers at education.lu Fri Apr 6 02:25:26 2007 From: christian.langers at education.lu (Christian Langers) Date: Fri, 6 Apr 2007 08:25:26 +0200 Subject: Amazing but true..... In-Reply-To: <32DCF636-CCFB-4A69-BE4C-0AF73A62BA50@mangomultimedia.com> References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> <32DCF636-CCFB-4A69-BE4C-0AF73A62BA50@mangomultimedia.com> Message-ID: <1CC002C0-2428-4564-AA87-070DB63B00E6@education.lu> Hello Trevor, you got me interested : > Once you understand how to reorder grouped controls in the engine > I've found it to work flawlessly. There is a bit of a learning > curve though. How and where can one learn about the engine ? Thanks, Christian from Luxembourg Le 5 avr. 07 ? 19:10, Trevor DeVore a ?crit : > On Apr 5, 2007, at 8:42 AM, Dave wrote: > >> It's really beyond me how any company can release a product where >> something as basic as ordering groups in a hierarchy hasn't worked >> properly for over three years, and, has in fact, got progressively >> worse!!!!! >> >> Sometimes one just has to wonder what's going >> on............................ > > What group reordering isn't working? In the engine or one of the > Rev tools. Once you understand how to reorder grouped controls in > the engine I've found it to work flawlessly. There is a bit of a > learning curve though. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > trevor at bluemangolearning.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 iangmcknight at googlemail.com Fri Apr 6 03:51:00 2007 From: iangmcknight at googlemail.com (Ian McKnight) Date: Fri, 6 Apr 2007 08:51:00 +0100 Subject: Lock screen and 'Go card' not working In-Reply-To: <33F1139D-1F1E-4048-A57C-0936F41305A9@azurevision.co.uk> References: <80389972-FEC3-406B-AED0-4F052D4AE020@sosmartsoftware.com> <33F1139D-1F1E-4048-A57C-0936F41305A9@azurevision.co.uk> Message-ID: Hi Thanks to everyone who gave me help and advice I have rewritten my handlers following your advice and removed all occurrences of select etc. However I still have to use multiple occurrences of lock screen but many fewer. In fact, I only have to use and extra two more than the number of columns in my table. This suggests to me that cloning and deleting groups 'interferes' with lock screen in some way. Again many thanks to all for the help -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From jbv.silences at club-internet.fr Fri Apr 6 05:06:30 2007 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 06 Apr 2007 11:06:30 +0200 Subject: Identifying an IP address References: <46151F8D.9F4DC3DD@club-internet.fr> <0CE985E9-1944-46DF-A8F3-29F5DAA5BBC9@sosmartsoftware.com> Message-ID: <46160D95.2E79F689@club-internet.fr> Eric, > Bonjour, > > Regex! > http://regexlib.com/default.aspx > yes, I'm using Regex : put "(\d{1,3}\.){3}\d{1,3}" into myRegex get matchtext(myIP , myRegex) but this one detects only 4 patterns of 1 to 3 digits separated by dots, hence my original concern : it will also include non valide IPs such as 999.999.999.999, as well as private IPs... I made quite a lot of google searches but didn't find any regex that's 100% efficient... I'm afraid I'll have to use a Transcript function instead, which will probably mean slower code... JB From JimAultWins at yahoo.com Fri Apr 6 05:04:16 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 06 Apr 2007 02:04:16 -0700 Subject: Identifying an IP address In-Reply-To: <46160D95.2E79F689@club-internet.fr> Message-ID: Since you have not specified rules for the valid IP addresses I am assuming that each part needs to be a 1-3 digit number and limited to the numbering ranges, eg 255 max. RegEx will have to be constructed very intricately to do this kind of filtering, so you will be better off building your own filter. Are you locating IP addresses in a block of text or lines? Are you testing a single address? Do you need to know what is wrong with address to notify a user? Chunk expressions run very fast, so this might be the best option --------------- get ipString replace "." with 0 in it if it is not a number then -- typo get ipString & null replace "." with cr in it if the number of lines in it <> 4 then --wrong number of parts repeat for each line LNN in it if LNN > 255 then --out of range end repeat if line 1 of it =192 and line 2 of it = 168 then --local network IP Jim Ault Las Vegas On 4/6/07 2:06 AM, "jbv" wrote: > > > Eric, > >> Bonjour, >> >> Regex! >> http://regexlib.com/default.aspx >> > > yes, I'm using Regex : > > put "(\d{1,3}\.){3}\d{1,3}" into myRegex > get matchtext(myIP , myRegex) > > but this one detects only 4 patterns of 1 to 3 digits separated > by dots, hence my original concern : it will also include non > valide IPs such as 999.999.999.999, as well as private IPs... > > I made quite a lot of google searches but didn't find any > regex that's 100% efficient... > I'm afraid I'll have to use a Transcript function instead, which > will probably mean slower code... > > 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 eric.miclo at wanadoo.fr Fri Apr 6 06:13:10 2007 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Fri, 6 Apr 2007 12:13:10 +0200 Subject: Really weird occurence in Saving a Mac Stand alone In-Reply-To: References: <4615318A.8060806@fourthworld.com> <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> <4615DD97.7000407@hyperactivesw.com> Message-ID: Hello, Doesn't it just copy the file that is inside the "application bundle folder/Contents/MacOS" folder? The defaultFolder for a MacOS standalone is the same as the above folder (something that I ever found strange) and not the actual folder containing the application bundle. Best, ?rIC Le 6 avr. 07 ? 07:56, Joe Lewis Wilkins a ?crit : > Jacque, thanks for the thoughts. I'm trying something else first, > since I think I just confused the compiler with the parameters > provided from the dialog I was using. If I can't, I'll try as > you've suggested. It makes some sense. File names are so touchy! > > On Apr 5, 2007, at 10:41 PM, J. Landman Gay wrote: > >> Joe Lewis Wilkins wrote: >>> Hi All, >>> You've got to hand it to me. I DO have the weirdest things happen. >>> I saved a Standalone. I opened the Mac OSX version. Played with >>> it a bit, then decided I wanted to save a copy. So I selected the >>> Save A copy As... with the following handler in the File menu: >>> case "Save A Copy As..." >>> answer folder "Select destination folder for backup: " >>> if the result is "Cancel" then exit menupick >>> revCopyFile (the effective fileName of this stack), it >>> break >>> Then I went looking to see if the changes I'd made were actually >>> saved, but lo and behold a PC exe version was where the saved >>> copy should have been. >>> Any thoughts? >> >> I can't say I've ever tried to save a copy of a standalone from >> within itself. But are you sure it's a PC executable? Or does the >> Finder just think it is, and is assigning the wrong icon? I'm >> betting that the creator/type codes weren't set, and the Finder >> has no idea what kind of file that is. >> >> I'm also wondering if you actually got an executable file, or just >> a copy of the main stack. Are the file sizes on disk the same >> between the two copies? If they are the same, then you might be >> able to use a creator/type editor to change the type to "APPL" and >> you'd be in business. >> >> -- >> 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 > > -- My NeXT computer will Be a Mac too! -- From revlist at azurevision.co.uk Fri Apr 6 08:14:45 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 6 Apr 2007 13:14:45 +0100 Subject: Filtering Columns in Tables In-Reply-To: <1E6B47B3-0111-1000-C939-49C0A71C0AB4-Webmail-10021@mac.com> References: <1E6B47B3-0111-1000-C939-49C0A71C0AB4-Webmail-10021@mac.com> Message-ID: <8B43F170-313F-4FAA-8F1E-E670B9A63226@azurevision.co.uk> On 5 Apr 2007, at 23:39, Jim Schaubeck wrote: > Hello all, > I'm trying to code a way so a user can click on the title of a > particular column in a table field to select filters for that > column. Much like you can use a spreadsheet and add filter boxes > in the header cells to select the specific contents for that > column. After selecting the particular contents, the spreadsheet > will now only show the lines that have that same data in the > filtered column. I want to duplicate that look in a rev app The > tough part for me is I have 30 columns & need horizontal > scrolling. This eliminates stationary buttons that would do this > easily. The buttons in the spreadsheet move horizontally while > scrolling. Do you folks have any ideas how to do this? > > Jim... Group the buttons and the table, set the lockloc of the group to true and it's width to suit the size you want it to show and set the hscroll of the group to true. The buttons and table should then move sideways together. Ian From jc at spl21.net Fri Apr 6 09:02:46 2007 From: jc at spl21.net (John Craig) Date: Fri, 06 Apr 2007 14:02:46 +0100 Subject: image data Message-ID: <461644F6.2010506@spl21.net> Is there a property I can use to set the actual image data of an image object? (example: JPG format) (Not imageData). I know I can 'put tData into image testImage', but can I 'set [property] of image "testImage" to tJPGData'? Thanks, JC From chipp at chipp.com Fri Apr 6 09:46:10 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 6 Apr 2007 08:46:10 -0500 Subject: image data In-Reply-To: <461644F6.2010506@spl21.net> References: <461644F6.2010506@spl21.net> Message-ID: <7aa52a210704060646p2f30cf14udf4bbf4cefc3a29e@mail.gmail.com> see: set the imagedata of img "xyz" to tVar you might also want to look at the alphadata as well. From stephenREVOLUTION at barncard.com Fri Apr 6 10:01:57 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 6 Apr 2007 07:01:57 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: References: <4615318A.8060806@fourthworld.com> Message-ID: I have used duck, fart, squawk and announced sounds (like 1,2,3,4,5) to trace and debug since HC began. When a long-worked-on routine to gather many SQL conuries in a recursive handler finally worked, I got this hilarious stutter-duck sound that indicated success. At that point I was laughing so uncontrollably that I had to stop for the day. sqb >On 4/6/07, Joe Lewis Wilkins wrote: >> >>Richard. it has nothing to do with beeping at users. Multiple beeps >>are VERY useful when debugging without entery the debugging mode and >>following every or most lines of the code. Often much more convenient >>than ssetting break points. > > >An excellent point. I do seem to remember in HC I spent a lot of time >listening to beep combinations as my scripts ran to confirm 'entry' into >certain segments. Now I seem to do a lot of waiting for the debugger to open >at breakpoints, do a couple of 'steps' to confirm correct branching and then >pressing 'run'. > >I know I can put text into the msg box, but usually I'm busy watching data >change in fields so it would be more convenient to have audible 'markers'. >If I remember correctly it was much easier in HC to play notes of different >pitch and duration. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Fri Apr 6 10:49:16 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Apr 2007 07:49:16 -0700 Subject: How does "ask file with type" work? Message-ID: <46165DEC.8030909@fourthworld.com> Earlier I'd written: > Dave wrote: >> Thanks a lot, the problem with adding the extension outside the >> choose file dialog is that if the file already exist it then bypasses >> the "Replace File" Dialog that is displayed inside the choose file >> dialog. e.g. > > I believe this new form of "ask file" is designed to work as you > describe, but is currently broken: in v2.8 build 360 it returns the > type of the file, and I could find no way to obtain the path. > > I just BZ'd it: > It seems I was too quick to take Dave's report at face value. Lead engineer Mark Waddingham looked into this less than 24 hours after I posted it, and let me know that the behavior of the "ask file" command appears to be fine. Dave would have rec'd the same notice if only he would choose to log bug reports to the one place where they will get an engineer's attention. If you supply a default name, the name portion preceding the file name extension is selected, preserving the file type extension. That works well. Also, any problem with the "ask file" command not returning the path appears to be limited to the Message Box, but works well in any other script. Details are noted in that BZ report linked to above. So this comes down to Dave's suggestion that the ask file command somehow force a file type extension when the user has deleted it from the prompt, and also provide its own notification of any conflicts with existing files. OS X allows the developer to supply a file extension, and Rev provides a means for doing that. But apparently the OS doesn't prevent the user from going out of their way to delete file type extensions in its dialog, and the "ask file" command (when used outside of the Message Box) faithfully returns exactly what the user entered. Dave's concern was for the circumstance in which a user might delete the file extension in the prompt, and if the program chooses to then add a file type extension it may conflict with an existing file name and require prompting for the user. Addressing that is, as Jacque pointed out, the responsibility of the developer, and there's nothing Rev nor OS X could do about that. If a program elects to alter what a user has entered into that dialog, it is the responsibility of that program to check for conflicts and provide appropriate notification. So while I did find a bug in the IDE's Message Box, Dave's problem is not Rev's. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rcozens at pon.net Fri Apr 6 11:12:06 2007 From: rcozens at pon.net (Rob Cozens) Date: Fri, 06 Apr 2007 08:12:06 -0700 Subject: Amazing but true..... In-Reply-To: <7aa52a210704050952h215ac1d7l90ca3a68047e791c@mail.gmail.co m> References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> <7aa52a210704050952h215ac1d7l90ca3a68047e791c@mail.gmail.com> Message-ID: Chipp, et al: >Works fine for me. I must be missing something all these years. While Dave wasn't specific, I presume he is referring to the fact that one must be editing a group if one wants to change the layering of controls within that group, while one must not be editing a group if one wants to change the layer of the group as a whole. Rob Cozens, CCW Serendipity Software Company From wouter.abraham at scarlet.be Fri Apr 6 11:17:09 2007 From: wouter.abraham at scarlet.be (wouter) Date: Fri, 6 Apr 2007 17:17:09 +0200 Subject: Identifying an IP address In-Reply-To: <46160D95.2E79F689@club-internet.fr> References: <46151F8D.9F4DC3DD@club-internet.fr> <0CE985E9-1944-46DF-A8F3-29F5DAA5BBC9@sosmartsoftware.com> <46160D95.2E79F689@club-internet.fr> Message-ID: <60544F71-B955-4A67-9B91-F884DA39E473@scarlet.be> JB, On 06 Apr 2007, at 11:06, jbv wrote: -snip- > > yes, I'm using Regex : > > put "(\d{1,3}\.){3}\d{1,3}" into myRegex > get matchtext(myIP , myRegex) > > but this one detects only 4 patterns of 1 to 3 digits separated > by dots, hence my original concern : it will also include non > valide IPs such as 999.999.999.999, as well as private IPs... if you want to check an ip number without a port number attached try this: put "^((\d|[01]?\d\d|2[0-4]\d|25[0-5])\.){3}(\d|[01]?\d\d|2[0-4]\d|25 [0-5])$" into myRegex Greetings, Wouter From pepetoo at Cox.Net Fri Apr 6 11:21:07 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Fri, 6 Apr 2007 08:21:07 -0700 Subject: Really weird occurence in Saving a Mac Stand alone In-Reply-To: References: <4615318A.8060806@fourthworld.com> <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> <4615DD97.7000407@hyperactivesw.com> Message-ID: Eric, Thanks for your thoughts and observations. I'm still exploring the problem. It's obvious, I think, that there is some confusion some place. Joe Wilkins On Apr 6, 2007, at 3:13 AM, ?ric Miclo wrote: > Hello, > > Doesn't it just copy the file that is inside the "application > bundle folder/Contents/MacOS" folder? > The defaultFolder for a MacOS standalone is the same as the above > folder (something that I ever found strange) and not the actual > folder containing the application bundle. > > Best, > > ?rIC > > Le 6 avr. 07 ? 07:56, Joe Lewis Wilkins a ?crit : > >> Jacque, thanks for the thoughts. I'm trying something else first, >> since I think I just confused the compiler with the parameters >> provided from the dialog I was using. If I can't, I'll try as >> you've suggested. It makes some sense. File names are so touchy! >> >> On Apr 5, 2007, at 10:41 PM, J. Landman Gay wrote: >> >>> Joe Lewis Wilkins wrote: >>>> Hi All, >>>> You've got to hand it to me. I DO have the weirdest things happen. >>>> I saved a Standalone. I opened the Mac OSX version. Played with >>>> it a bit, then decided I wanted to save a copy. So I selected >>>> the Save A copy As... with the following handler in the File menu: >>>> case "Save A Copy As..." >>>> answer folder "Select destination folder for backup: " >>>> if the result is "Cancel" then exit menupick >>>> revCopyFile (the effective fileName of this stack), it >>>> break >>>> Then I went looking to see if the changes I'd made were actually >>>> saved, but lo and behold a PC exe version was where the saved >>>> copy should have been. >>>> Any thoughts? >>> >>> I can't say I've ever tried to save a copy of a standalone from >>> within itself. But are you sure it's a PC executable? Or does the >>> Finder just think it is, and is assigning the wrong icon? I'm >>> betting that the creator/type codes weren't set, and the Finder >>> has no idea what kind of file that is. >>> >>> I'm also wondering if you actually got an executable file, or >>> just a copy of the main stack. Are the file sizes on disk the >>> same between the two copies? If they are the same, then you might >>> be able to use a creator/type editor to change the type to "APPL" >>> and you'd be in business. >>> >>> -- >>> 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 >> >> > > -- My NeXT computer will Be a Mac too! -- > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 mangomultimedia.com Fri Apr 6 11:23:58 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 6 Apr 2007 08:23:58 -0700 Subject: Amazing but true..... In-Reply-To: <1CC002C0-2428-4564-AA87-070DB63B00E6@education.lu> References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> <32DCF636-CCFB-4A69-BE4C-0AF73A62BA50@mangomultimedia.com> <1CC002C0-2428-4564-AA87-070DB63B00E6@education.lu> Message-ID: On Apr 5, 2007, at 11:25 PM, Christian Langers wrote: > Hello Trevor, > > you got me interested : > >> Once you understand how to reorder grouped controls in the engine >> I've found it to work flawlessly. There is a bit of a learning >> curve though. > > How and where can one learn about the engine ? In my case it was lots of trial and error to see how the engine behaved when relayering controls in groups. I just created a test stack and started experimenting. I needed to figure it out so I could represent custom objects using nested groups and reorder records that were displayed in groups that were scrolled using a parent group. The fact that a Rev group uses a range of layers (indexes) to determine which controls are contained within it is what makes things difficult. In Revolution you can't say "make this control the third control in group "A". You have to adjust the layer of the control as well as other controls already in the group. If groups were true nested objects that knew something about their immediate children things would be different. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From lists at mangomultimedia.com Fri Apr 6 11:25:46 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 6 Apr 2007 08:25:46 -0700 Subject: image data In-Reply-To: <461644F6.2010506@spl21.net> References: <461644F6.2010506@spl21.net> Message-ID: <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> On Apr 6, 2007, at 6:02 AM, John Craig wrote: > Is there a property I can use to set the actual image data of an > image object? (example: JPG format) (Not imageData). > I know I can 'put tData into image testImage', but can I 'set > [property] of image "testImage" to tJPGData'? the text property of an image is the actual image data. So: set the text of image "testImage" to tJPGData -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From eric.chatonet at sosmartsoftware.com Fri Apr 6 11:29:04 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 6 Apr 2007 17:29:04 +0200 Subject: image data In-Reply-To: <461644F6.2010506@spl21.net> References: <461644F6.2010506@spl21.net> Message-ID: <57ADB4F9-44CB-4CE6-8EDB-61CF3622AA9A@sosmartsoftware.com> Hi John, As imageData is a specific beast*, I would prefer to use 'set the text of img "TesImage" to tJPGData' * The imageData, unlike the contents of the image container, is based on the picture as it's presented on the screen, not stored in the image object. This means that if you resize an image, the content of the image does not change, but its imageData does. Le 6 avr. 07 ? 15:02, John Craig a ?crit : > Is there a property I can use to set the actual image data of an > image object? (example: JPG format) (Not imageData). > I know I can 'put tData into image testImage', but can I 'set > [property] of image "testImage" to tJPGData'? > > Thanks, > > JC Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From lists at mangomultimedia.com Fri Apr 6 11:29:23 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 6 Apr 2007 08:29:23 -0700 Subject: Amazing but true..... In-Reply-To: References: <46147947.7080505@fourthworld.com> <8386CFB4-FE47-49ED-8C09-1FF649825CB8@sosmartsoftware.com> <8F9C397D-6F45-40C9-BA28-A7956874BDF1@looktowindward.com> <7aa52a210704050952h215ac1d7l90ca3a68047e791c@mail.gmail.com> Message-ID: <94C721FA-1546-4CCA-BC2A-94C26629732E@mangomultimedia.com> On Apr 6, 2007, at 8:12 AM, Rob Cozens wrote: > Chipp, et al: > >> Works fine for me. I must be missing something all these years. > > While Dave wasn't specific, I presume he is referring to the fact > that one must be editing a group if one wants to change the > layering of controls within that group, while one must not be > editing a group if one wants to change the layer of the group as a > whole. Rob, Are you referring to the development environment or in general? I ask because you can relayer groups and controls within a group without editing the group. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From userev at canelasoftware.com Fri Apr 6 11:45:02 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 06 Apr 2007 08:45:02 -0700 Subject: How does "ask file with type" work? In-Reply-To: <46165DEC.8030909@fourthworld.com> References: <46165DEC.8030909@fourthworld.com> Message-ID: <2BFF48AE-9042-4C80-BCB7-D19A53254D25@canelasoftware.com> On Apr 6, 2007, at 7:49 AM, Richard Gaskin wrote: > If a program elects to alter what a user has entered into that > dialog, it is the responsibility of that program to check for > conflicts and provide appropriate notification. One example of this is to account for character length in the file name if the program is adding the extension itself. With a 31 character limit on the Mac one must account for the extension in that count. Mark Talluto -- CANELA Software http://www.canelasoftware.com From jc at spl21.net Fri Apr 6 12:25:51 2007 From: jc at spl21.net (John Craig) Date: Fri, 06 Apr 2007 17:25:51 +0100 Subject: image data In-Reply-To: <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> Message-ID: <4616748F.5090504@spl21.net> Thanks for the replies! The 'text' is what I was after :-) Trevor DeVore wrote: > On Apr 6, 2007, at 6:02 AM, John Craig wrote: > >> Is there a property I can use to set the actual image data of an >> image object? (example: JPG format) (Not imageData). >> I know I can 'put tData into image testImage', but can I 'set >> [property] of image "testImage" to tJPGData'? > > the text property of an image is the actual image data. So: > > set the text of image "testImage" to tJPGData > > > --Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > trevor at bluemangolearning.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 Fri Apr 6 12:27:52 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Apr 2007 09:27:52 -0700 Subject: Linux installaton Message-ID: <46167508.5040804@fourthworld.com> I'll be making my first ports to Linux this year, and I use my own custom installer for Mac and Win and am looking to extend that for the Linux installs as well. On Mac and Win it's expected that an installer will take care of putting any files in the appropriate places, setting up any associations needed between the app and its document file types, and make sure icons display appropriately for both the app and its documents. My understanding is that the various window managers for Linux each have their own mechanisms for these, and that they aren't the same. Is that correct? Is there a single site you could recommend to get familiar with how to write installers for Linux that provide a smooth user experience? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdev at pdslabs.net Fri Apr 6 13:25:35 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 Apr 2007 10:25:35 -0700 Subject: Identifying an IP address In-Reply-To: <46151F8D.9F4DC3DD@club-internet.fr> References: <46151F8D.9F4DC3DD@club-internet.fr> Message-ID: <4616828F.4020808@pdslabs.net> If you just want to detect the presence of IP address lines, you could do something like: filter tList with "[1-255].[0-255].[0-255].[1-255]" return (the number of lines in tList <> 0) Phil Davis jbv wrote: > Hi list, > > does anyone have a function that checks a string > and returns true if it contains an IP address ? > In the data I'm working with, if a string contains > an IP, the whole string is the IP (which means > there isn't any extra junk). I guess this should make > things easier... > > so far I'm running a test on strings that returns true > if it contains only numbers and dots... but I wonder > if that's enough... > > Thanks, > JB From viktoras at ekoinf.net Fri Apr 6 15:13:50 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Fri, 6 Apr 2007 22:13:50 +0300 (FLE Daylight Time) Subject: Linux installaton References: <46167508.5040804@fourthworld.com> Message-ID: <46169BEC.000001.03152@MAZYTIS> I did not try these tools yet (my project is just a directory that can be copied and pasted anywhere), but I know they exist: http://autopackage.org/ http://bitrock.com/ http://www.lokigames.com/development/setup.php3 By the way, just tried executable (livecd which is to be released soon) compiled with Rev 2.6 for Linux and was a bit surprised that it works on Puppy! Also on PCLinux. Ubuntu (of course...) under Gnome and XFCE. However there were problems with KDE - Konqueror refuses to run an executable even if it sees that it is executable. Seems that the only way to run it under KDE is through console or shell script. All the best Viktoras -------Original Message------- From: Richard Gaskin Date: 06/04/2007 19:49:59 To: How to use Revolution Subject: Linux installaton I'll be making my first ports to Linux this year, and I use my own custom installer for Mac and Win and am looking to extend that for the Linux installs as well. On Mac and Win it's expected that an installer will take care of putting any files in the appropriate places, setting up any associations needed between the app and its document file types, and make sure icons display appropriately for both the app and its documents. My understanding is that the various window managers for Linux each have their own mechanisms for these, and that they aren't the same. Is that correct? Is there a single site you could recommend to get familiar with how to write installers for Linux that provide a smooth user experience? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.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 revdev at pdslabs.net Fri Apr 6 16:07:50 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 Apr 2007 13:07:50 -0700 Subject: revZip issues in standalones? Message-ID: <4616A896.8060300@pdslabs.net> Has anyone else seen this? In my dev environment, all revZip functionality works as expected. But when I make a standalone ("SA" below) and try it there, revZip seems completely unsupported. When building a SA I've tried manual inclusion of libraries as well as automatic inclusion. Both resulting SA's gave me the same errors. When I got errors in 2.7.3-based SA's, I started building SA's with 2.8.0 and got similar results. No joy. I started with all revZip commands in a plugin of my SA app. When errors happened I added a revZipOpenArchives() call in an openStack handler of the SA to force inclusion of revZip lib in the SA. Still no joy. Intel Mac, OS 10.4.9. Any ideas? Comments? Thanks - Phil Davis From wdurden at gmail.com Fri Apr 6 16:58:50 2007 From: wdurden at gmail.com (wayne durden) Date: Fri, 6 Apr 2007 16:58:50 -0400 Subject: trying to get image functionality as in RB Message-ID: <29bc7bd40704061358x73666a37ya9a7561b95f59a16@mail.gmail.com> Hi all! I am trying to rebuild an app I have in RB which takes an image dropped on it and resizes it. I am able to duplicate the app for images on the local computer file system, but with my RB app I can drag an image from a browser which is actually the primary use of it.. (i.e., take an image from a web page, drop it on the app and get a smaller version which is also copied to the clipboard for pasting elsewhere). Is there a way to get an image from a browser into an image on a card by drag an drop? I can and have handled all the other aspects, resizing, copying to clipboard, I just can't figure out the drag and drop from the browser part... Thanks for any thoughts... Wayne From jhonken at webdsp.com Fri Apr 6 17:29:53 2007 From: jhonken at webdsp.com (Jeff Honken) Date: Fri, 6 Apr 2007 17:29:53 -0400 Subject: Non Graphical Application Message-ID: <000001c77892$b772c960$031410ac@DellLaptop> I'd like to use runrev to program a linux program but I don't require the graphics. I've tried some test programs but it seems that runrev needs the graphic libraries for Linux. Has anyone programmed any non graphical programs in the past? From bobwarren at howsoft.com Fri Apr 6 17:47:11 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Fri, 06 Apr 2007 18:47:11 -0300 Subject: Linux installaton Message-ID: <4616BFDF.3050802@howsoft.com> I can't give you any details, but I might have a tip that leads you in the right direction. This year, for the first time, my wife did our income tax declarations using Linux, and as you know, Linux has been officially adopted by the Brazilian government. The software was installed using InstallShield, and it was very impressive. You might also like to look at the installer used by Xara which is also very impressive, though this might be their own rather than a commercially-available installer (I can't quite remember). Bob From bobwarren at howsoft.com Fri Apr 6 18:25:23 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Fri, 06 Apr 2007 19:25:23 -0300 Subject: Linux installaton Message-ID: <4616C8D3.2030108@howsoft.com> Richard wrote: >I'll be making my first ports to Linux this year, and I use my own custom installer for Mac and Win and am looking to extend that for the Linux installs as well. On Mac and Win it's expected that an installer will take care of putting any files in the appropriate places, setting up any associations needed between the app and its document file types, and make sure icons display appropriately for both the app and its documents. My understanding is that the various window managers for Linux each have their own mechanisms for these, and that they aren't the same. Is that correct? Is there a single site you could recommend to get familiar with how to write installers for Linux that provide a smooth user experience? ----------------------------------------------------- Richard: In fact the utility I mentioned is called "InstallShield X". There's another that might be worth looking at: "Autopackage". Bob From kray at sonsothunder.com Fri Apr 6 18:27:19 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 6 Apr 2007 17:27:19 -0500 Subject: trying to get image functionality as in RB In-Reply-To: <29bc7bd40704061358x73666a37ya9a7561b95f59a16@mail.gmail.com> References: <29bc7bd40704061358x73666a37ya9a7561b95f59a16@mail.gmail.com> Message-ID: <20070406172719602432.38d2f96e@sonsothunder.com> On Fri, 6 Apr 2007 16:58:50 -0400, wayne durden wrote: > Hi all! I am trying to rebuild an app I have in RB which takes an image > dropped on it and resizes it. I am able to duplicate the app for images on > the local computer file system, but with my RB app I can drag an image from > a browser which is actually the primary use of it.. (i.e., take an image > from a web page, drop it on the app and get a smaller version which is also > copied to the clipboard for pasting elsewhere). > > Is there a way to get an image from a browser into an image on a card by > drag an drop? I can and have handled all the other aspects, resizing, > copying to clipboard, I just can't figure out the drag and drop from the > browser part... Sure... here's a way, assuming you already have an image object on the card and you're dropping onto it (this is the script of the image object): on dragEnter set the acceptDrop to true pass dragEnter end dragEnter on dragDrop if the dragData["image"] is not empty then put the dragData["image"] into me else beep end if end dragDrop For more info on D-n-D, see this tip: http://www.sonsothunder.com/devres/revolution/tips/mous002.htm Hope this helps, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Fri Apr 6 18:29:10 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 6 Apr 2007 17:29:10 -0500 Subject: revZip issues in standalones? In-Reply-To: <4616A896.8060300@pdslabs.net> References: <4616A896.8060300@pdslabs.net> Message-ID: <20070406172910686942.17040f32@sonsothunder.com> On Fri, 06 Apr 2007 13:07:50 -0700, Phil Davis wrote: > Has anyone else seen this? > > In my dev environment, all revZip functionality works as expected. > But when I make a standalone ("SA" below) and try it there, revZip > seems completely unsupported. > > When building a SA I've tried manual inclusion of libraries as well > as automatic inclusion. Both resulting SA's gave me the same errors. > > When I got errors in 2.7.3-based SA's, I started building SA's with > 2.8.0 and got similar results. No joy. > > I started with all revZip commands in a plugin of my SA app. When > errors happened I added a revZipOpenArchives() call in an openStack > handler of the SA to force inclusion of revZip lib in the SA. Still > no joy. > > Intel Mac, OS 10.4.9. > > Any ideas? Comments? Is it possible that the revZip.bundle file isn't included with your standalone? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From wdurden at gmail.com Fri Apr 6 18:57:49 2007 From: wdurden at gmail.com (wayne durden) Date: Fri, 6 Apr 2007 18:57:49 -0400 Subject: trying to get image functionality as in RB In-Reply-To: <20070406172719602432.38d2f96e@sonsothunder.com> References: <29bc7bd40704061358x73666a37ya9a7561b95f59a16@mail.gmail.com> <20070406172719602432.38d2f96e@sonsothunder.com> Message-ID: <29bc7bd40704061557h1c1fb069qd923360bcebad694@mail.gmail.com> Thank you Ken! I will give that a go shortly. It looks like it will shorten the existing method I was using that was handling the local files as well. Thank you very much! Wayne On 4/6/07, Ken Ray wrote: > > On Fri, 6 Apr 2007 16:58:50 -0400, wayne durden wrote: > > > Hi all! I am trying to rebuild an app I have in RB which takes an image > > dropped on it and resizes it. I am able to duplicate the app for images > on > > the local computer file system, but with my RB app I can drag an image > from > > a browser which is actually the primary use of it.. (i.e., take an image > > from a web page, drop it on the app and get a smaller version which is > also > > copied to the clipboard for pasting elsewhere). > > > > Is there a way to get an image from a browser into an image on a card by > > drag an drop? I can and have handled all the other aspects, resizing, > > copying to clipboard, I just can't figure out the drag and drop from the > > browser part... > > Sure... here's a way, assuming you already have an image object on the > card and you're dropping onto it (this is the script of the image > object): > > on dragEnter > set the acceptDrop to true > pass dragEnter > end dragEnter > > on dragDrop > if the dragData["image"] is not empty then > put the dragData["image"] into me > else > beep > end if > end dragDrop > > For more info on D-n-D, see this tip: > > http://www.sonsothunder.com/devres/revolution/tips/mous002.htm > > Hope this helps, > > > > 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 ambassador at fourthworld.com Fri Apr 6 19:14:52 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Apr 2007 16:14:52 -0700 Subject: Linux installation Message-ID: <4616D46C.4000704@fourthworld.com> Bob Warren wrote: > I can't give you any details, but I might have a tip that leads you in > the right direction. This year, for the first time, my wife did our > income tax declarations using Linux, and as you know, Linux has been > officially adopted by the Brazilian government. The software was > installed using InstallShield, and it was very impressive. > > You might also like to look at the installer used by Xara which is also > very impressive, though this might be their own rather than a > commercially-available installer (I can't quite remember). Thanks for the info, Bob. But rather than using an existing installer I'm aiming to write my own. So what I'm looking for is info on what each of the window managers (KDE, Gnome -- other popular ones?) requires for an app to: - Set up document file type associations - Assign icons for the app and the documents - Add shortcuts to the Start menu -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdev at pdslabs.net Fri Apr 6 20:02:59 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 Apr 2007 17:02:59 -0700 Subject: revZip issues in standalones? In-Reply-To: <20070406172910686942.17040f32@sonsothunder.com> References: <4616A896.8060300@pdslabs.net> <20070406172910686942.17040f32@sonsothunder.com> Message-ID: <4616DFB3.5060704@pdslabs.net> Ken Ray wrote: > On Fri, 06 Apr 2007 13:07:50 -0700, Phil Davis wrote: >> In my dev environment, all revZip functionality works as expected. >> But when I make a standalone ("SA" below) and try it there, revZip >> seems completely unsupported. ---snip--- > > Is it possible that the revZip.bundle file isn't included with your > standalone? It's beyond possible - it's actual! ;o) Thanks Ken. Now... where does the bundle come from & go to? I assume I COPY this: /Runtime/Mac OS X/Universal/Externals/revzip.bundle And PASTE it into my UB app package here: /Contents/MacOS/Externals/ (here) Any idea if this is correct? I did this but it still isn't working. :-\ Do you know if I need to change a plist or ??? At this point I'm pretty much in the dark. Many thanks - Phil From revdev at pdslabs.net Fri Apr 6 20:12:56 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 Apr 2007 17:12:56 -0700 Subject: Non Graphical Application In-Reply-To: <000001c77892$b772c960$031410ac@DellLaptop> References: <000001c77892$b772c960$031410ac@DellLaptop> Message-ID: <4616E208.5040009@pdslabs.net> Jeff Honken wrote: > I'd like to use runrev to program a linux program but I don't require > the graphics. I've tried some test programs but it seems that runrev > needs the graphic libraries for Linux. Has anyone programmed any non > graphical programs in the past? Hi Jeff, When you say 'no graphics', do you mean you want a command-line interface only, or something else? If CLI only, you can write a runrev script with a text editor, and start it out by turning off the GUI, by making line 1 of the script something like this: #! -ui Thanks - Phil Davis From jacque at hyperactivesw.com Fri Apr 6 20:23:57 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Apr 2007 19:23:57 -0500 Subject: Non Graphical Application In-Reply-To: <000001c77892$b772c960$031410ac@DellLaptop> References: <000001c77892$b772c960$031410ac@DellLaptop> Message-ID: <4616E49D.5030102@hyperactivesw.com> Jeff Honken wrote: > I'd like to use runrev to program a linux program but I don't require > the graphics. I've tried some test programs but it seems that runrev > needs the graphic libraries for Linux. Has anyone programmed any non > graphical programs in the past? Right now, the graphic libraries are required. As I understand it, dependencies are being reconsidered for the next Linux engine and some dependencies will be removed. So stay tuned. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Fri Apr 6 20:38:36 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 Apr 2007 17:38:36 -0700 Subject: revZip issues in standalones? In-Reply-To: <4616DFB3.5060704@pdslabs.net> References: <4616A896.8060300@pdslabs.net> <20070406172910686942.17040f32@sonsothunder.com> <4616DFB3.5060704@pdslabs.net> Message-ID: <4616E80C.4010700@pdslabs.net> I found the answer - see below. Phil Davis wrote: > Ken Ray wrote: >> On Fri, 06 Apr 2007 13:07:50 -0700, Phil Davis wrote: >>> In my dev environment, all revZip functionality works as expected. >>> But when I make a standalone ("SA" below) and try it there, revZip >>> seems completely unsupported. > ---snip--- >> >> Is it possible that the revZip.bundle file isn't included with your >> standalone? > > It's beyond possible - it's actual! ;o) Thanks Ken. Now... where does > the bundle come from & go to? > > I assume I COPY this: > /Runtime/Mac OS X/Universal/Externals/revzip.bundle Also copy this: /Runtime/Mac OS X/Universal/Externals/Externals.txt > > And PASTE it into my UB app package here: > /Contents/MacOS/Externals/ (here) Paste BOTH the above files here, and revZip works! Thanks for the help Ken - Phil From soapdog at mac.com Fri Apr 6 21:57:23 2007 From: soapdog at mac.com (Andre Garzia) Date: Fri, 6 Apr 2007 22:57:23 -0300 Subject: Non Graphical Application In-Reply-To: <4616E208.5040009@pdslabs.net> References: <000001c77892$b772c960$031410ac@DellLaptop> <4616E208.5040009@pdslabs.net> Message-ID: This still link against the libraries, if they are not present in the system, this will fail. even if it is a console script. andre On Apr 6, 2007, at 9:12 PM, Phil Davis wrote: > Jeff Honken wrote: >> I'd like to use runrev to program a linux program but I don't require >> the graphics. I've tried some test programs but it seems that runrev >> needs the graphic libraries for Linux. Has anyone programmed any non >> graphical programs in the past? > > Hi Jeff, > > When you say 'no graphics', do you mean you want a command-line > interface only, or something else? > > If CLI only, you can write a runrev script with a text editor, and > start it out by turning off the GUI, by making line 1 of the script > something like this: > > #! -ui > > > Thanks - > Phil Davis > _______________________________________________ > use-revolution mailing list > use-revolution 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 jhonken at webdsp.com Fri Apr 6 22:31:02 2007 From: jhonken at webdsp.com (Jeff Honken) Date: Fri, 6 Apr 2007 22:31:02 -0400 Subject: Non Graphical Application In-Reply-To: <4616E49D.5030102@hyperactivesw.com> Message-ID: <000601c778bc$c9b92f90$031410ac@DellLaptop> Thanks for the reply. I've been holding my breath for that new version for Linux. It's very long in coming and I'm running out of breath. I'm glad that 2.6.1 was fairly stable. -----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, April 06, 2007 8:24 PM To: How to use Revolution Subject: Re: Non Graphical Application Jeff Honken wrote: > I'd like to use runrev to program a linux program but I don't require > the graphics. I've tried some test programs but it seems that runrev > needs the graphic libraries for Linux. Has anyone programmed any non > graphical programs in the past? Right now, the graphic libraries are required. As I understand it, dependencies are being reconsidered for the next Linux engine and some dependencies will be removed. So stay tuned. -- 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 jhonken at webdsp.com Fri Apr 6 22:34:11 2007 From: jhonken at webdsp.com (Jeff Honken) Date: Fri, 6 Apr 2007 22:34:11 -0400 Subject: Non Graphical Application In-Reply-To: <4616E208.5040009@pdslabs.net> Message-ID: <000701c778bd$3a5d8cf0$031410ac@DellLaptop> Phil, I'm wanting a Linux app that doesn't require an interface. I just want to kick it off from the unix prompt and execute my non graphical code such as ftping a file or changing a mysql database. Jeff -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Phil Davis Sent: Friday, April 06, 2007 8:13 PM To: How to use Revolution Subject: Re: Non Graphical Application Jeff Honken wrote: > I'd like to use runrev to program a linux program but I don't require > the graphics. I've tried some test programs but it seems that runrev > needs the graphic libraries for Linux. Has anyone programmed any non > graphical programs in the past? Hi Jeff, When you say 'no graphics', do you mean you want a command-line interface only, or something else? If CLI only, you can write a runrev script with a text editor, and start it out by turning off the GUI, by making line 1 of the script something like this: #! -ui Thanks - Phil Davis _______________________________________________ use-revolution mailing list use-revolution 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 Fri Apr 6 22:57:41 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 06 Apr 2007 19:57:41 -0700 Subject: trying to get image functionality as in RB In-Reply-To: <29bc7bd40704061557h1c1fb069qd923360bcebad694@mail.gmail.com> Message-ID: > On 4/6/07, Ken Ray wrote: On 4/6/07 3:57 PM, "wayne durden" wrote: > Thank you Ken! I will give that a go shortly. It looks like it will > shorten the existing method I was using that was handling the local files as > well. > >> >> Sure... here's a way, assuming you already have an image object on the >> card and you're dropping onto it (this is the script of the image >> object): >> >> on dragEnter >> set the acceptDrop to true >> pass dragEnter >> end dragEnter >> >> on dragDrop >> if the dragData["image"] is not empty then >> put the dragData["image"] into me >> else >> beep >> end if >> end dragDrop >> >> For more info on D-n-D, see this tip: >> >> http://www.sonsothunder.com/devres/revolution/tips/mous002.htm The dragDrop also works from things like iPhoto and several catalog programs, such as iView Media Pro. One technique I use is to make an image, put a transparent button over it, group them, and this becomes a 'landing point' for my drop. Then the following steps... --for the transparent button --note: this is not the exact code, but a shorter summarized version set the cpOrigImg => the imagedata of the dropped img set the cpOrigWidth of btn "transp" the width of the dropped img set the cpOrigHeight of btn "transp" the height of the dropped img create img set the imagedata of the last img to the cpOrigImg of btn "transp" set the height of the last img to thumbHeight set the width of the last img to thumbWidth set the imagedata of img "underTranspBtn" to the imageData of the last img set the height of the last img to cpOrigHeight of btn "transp" set the width of the last img to cpOrigWidth of btn "transp" set the imagedata of the last image to the cpOrigImg of btn "transp" save this stack -- --now you can adjust the last img all you want, then UNDO changes simply by set the height of the last img to cpOrigHeight of btn "transp" set the width of the last img to cpOrigWidth of btn "transp" set the imagedata of the last image to the cpOrigImg of btn "transp" This may not be useful in your case. It is a way of allowing the original drag to be 'cached', since gathering images from various sources could mean you have to remember where you got them, and set up to do the drag again. This makes it more convenient to simply have a button "reset last img". Jim Ault Las Vegas From wdurden at gmail.com Fri Apr 6 23:37:01 2007 From: wdurden at gmail.com (wayne durden) Date: Fri, 6 Apr 2007 23:37:01 -0400 Subject: trying to get image functionality as in RB In-Reply-To: References: <29bc7bd40704061557h1c1fb069qd923360bcebad694@mail.gmail.com> Message-ID: <29bc7bd40704062037u5804ed1er27f298cf6fb2a160@mail.gmail.com> Thanks for the additional thoughts Jim! I swear you regulars must do nothing but wait at the computer to write code for the rest of us. I don't see how you all have time for regular paying work :) Thanks again! Wayne On 4/6/07, Jim Ault wrote: > > > On 4/6/07, Ken Ray wrote: > On 4/6/07 3:57 PM, "wayne durden" wrote: > > > Thank you Ken! I will give that a go shortly. It looks like it will > > shorten the existing method I was using that was handling the local > files as > > well. > > > >> > >> Sure... here's a way, assuming you already have an image object on the > >> card and you're dropping onto it (this is the script of the image > >> object): > >> > >> on dragEnter > >> set the acceptDrop to true > >> pass dragEnter > >> end dragEnter > >> > >> on dragDrop > >> if the dragData["image"] is not empty then > >> put the dragData["image"] into me > >> else > >> beep > >> end if > >> end dragDrop > >> > >> For more info on D-n-D, see this tip: > >> > >> http://www.sonsothunder.com/devres/revolution/tips/mous002.htm > > The dragDrop also works from things like iPhoto and several catalog > programs, such as iView Media Pro. > > One technique I use is to make an image, put a transparent button over it, > group them, and this becomes a 'landing point' for my drop. Then the > following steps... > > --for the transparent button > --note: this is not the exact code, but a shorter summarized version > > set the cpOrigImg => the imagedata of the dropped img > set the cpOrigWidth of btn "transp" the width of the dropped img > set the cpOrigHeight of btn "transp" the height of the dropped img > create img > set the imagedata of the last img to the cpOrigImg of btn "transp" > set the height of the last img to thumbHeight > set the width of the last img to thumbWidth > set the imagedata of img "underTranspBtn" to the imageData of the last img > set the height of the last img to cpOrigHeight of btn "transp" > set the width of the last img to cpOrigWidth of btn "transp" > set the imagedata of the last image to the cpOrigImg of btn "transp" > save this stack -- > --now you can adjust the last img all you want, then UNDO changes simply > by > > set the height of the last img to cpOrigHeight of btn "transp" > set the width of the last img to cpOrigWidth of btn "transp" > set the imagedata of the last image to the cpOrigImg of btn "transp" > > This may not be useful in your case. It is a way of allowing the original > drag to be 'cached', since gathering images from various sources could > mean > you have to remember where you got them, and set up to do the drag again. > This makes it more convenient to simply have a button "reset last img". > > 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 revdev at pdslabs.net Sat Apr 7 00:26:05 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 Apr 2007 21:26:05 -0700 Subject: Non Graphical Application In-Reply-To: References: <000001c77892$b772c960$031410ac@DellLaptop> <4616E208.5040009@pdslabs.net> Message-ID: <46171D5D.2040706@pdslabs.net> Thanks Andre. As in most things, "context is everything". I'm at a bonehead level when it comes to Linux, so I can use all the help I can get. Are those libraries you mention the .so files we read about here from time to time? Thanks - Phil Andre Garzia wrote: > This still link against the libraries, if they are not present in the > system, this will fail. > even if it is a console script. > > andre > On Apr 6, 2007, at 9:12 PM, Phil Davis wrote: > >> Jeff Honken wrote: >>> I'd like to use runrev to program a linux program but I don't require >>> the graphics. I've tried some test programs but it seems that runrev >>> needs the graphic libraries for Linux. Has anyone programmed any non >>> graphical programs in the past? >> >> Hi Jeff, >> >> When you say 'no graphics', do you mean you want a command-line >> interface only, or something else? >> >> If CLI only, you can write a runrev script with a text editor, and >> start it out by turning off the GUI, by making line 1 of the script >> something like this: >> >> #! -ui >> >> >> Thanks - >> Phil Davis >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Sat Apr 7 01:25:16 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Fri, 6 Apr 2007 22:25:16 -0700 Subject: Determining a User's Name In-Reply-To: <4615DD97.7000407@hyperactivesw.com> References: <4615318A.8060806@fourthworld.com> <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> <4615DD97.7000407@hyperactivesw.com> Message-ID: <00914EEB-6DD0-4443-9AC4-2A16270CE662@Cox.Net> Hi All, Anyway to determine the computer user's name with RR; both Mac and Windows? I want to personalize a dialog query. TIA, Joe Wilkins From JimAultWins at yahoo.com Sat Apr 7 01:52:07 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 06 Apr 2007 22:52:07 -0700 Subject: trying to get image functionality as in RB In-Reply-To: <29bc7bd40704062037u5804ed1er27f298cf6fb2a160@mail.gmail.com> Message-ID: On 4/6/07 8:37 PM, "wayne durden" wrote: > Thanks for the additional thoughts Jim! I swear you regulars must do > nothing but wait at the computer to write code for the rest of us. I don't > see how you all have time for regular paying work :) > > Thanks again! > > Wayne I am in the middle of starting up two businesses.. one I own and the other I am a 50% partner. Both are centered around an array of Rev apps. When I working, I am in my office, at the computer, programming. I work 7 days a week during this crunch time, but I like it. My wife understands and is looking forward to getting back to regular life in a couple months when things are up an running. This *is* my regular paying work and my investment in my future. Jim Ault Las Vegas From kray at sonsothunder.com Sat Apr 7 03:22:59 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 7 Apr 2007 02:22:59 -0500 Subject: Determining a User's Name In-Reply-To: <00914EEB-6DD0-4443-9AC4-2A16270CE662@Cox.Net> References: <4615318A.8060806@fourthworld.com> <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> <4615DD97.7000407@hyperactivesw.com> <00914EEB-6DD0-4443-9AC4-2A16270CE662@Cox.Net> Message-ID: <20070407022259904085.2dcd7533@sonsothunder.com> On Fri, 6 Apr 2007 22:25:16 -0700, Joe Lewis Wilkins wrote: > Hi All, > > Anyway to determine the computer user's name with RR; both Mac and > Windows? I want to personalize a dialog query. You can use the environment variable $USER on Mac and $USERNAME on Windows: put $USER into tUserName -- Mac OS X put $USERNAME into tUserName -- Windows Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From revdev at pdslabs.net Sat Apr 7 03:39:40 2007 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 07 Apr 2007 00:39:40 -0700 Subject: Determining a User's Name In-Reply-To: <00914EEB-6DD0-4443-9AC4-2A16270CE662@Cox.Net> References: <4615318A.8060806@fourthworld.com> <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> <4615DD97.7000407@hyperactivesw.com> <00914EEB-6DD0-4443-9AC4-2A16270CE662@Cox.Net> Message-ID: <46174ABC.5050905@pdslabs.net> Joe - Would environment variables work? - on Mac OS X there's $USER - on Win XP there's $USERNAME So you could do this: function currentUser switch the platform case "MacOS" return $USER break case "Win32" return $USERNAME break end switch end currentUser Or there might be a different variable you want to use. Check out 'globalNames' in the docs. HTH - Phil Davis Joe Lewis Wilkins wrote: > Hi All, > > Anyway to determine the computer user's name with RR; both Mac and > Windows? I want to personalize a dialog query. > > TIA, > > Joe Wilkins From palcibiades-first at yahoo.co.uk Sat Apr 7 04:34:46 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 7 Apr 2007 09:34:46 +0100 Subject: Linux installation Message-ID: <200704070934.47119.palcibiades-first@yahoo.co.uk> The only part of this I'm certain of is the desktop icon/link In terms of icons on desktops, it is not the window manager that counts. If you put the application into /opt and put an link and associated icon into /home/user/Desktop, in whatever WM they are using, if it supports icons on desktops, it will end up there and either single or double clicking it will start the app. Now you will probably wonder how to do that exactly from a rev installer....don't know! File associations - a way in may be to google on "shebang" for links to this. In terms of the menus, still less certain here, you only need to put the link into one WM (Gnome lets say) and the rest pick it up from there. The thing to find out about is /etc/xdg/menus. I believe you need to put entries someplace in there, but don't know the details. Hope this is a start Peter From palcibiades-first at yahoo.co.uk Sat Apr 7 05:45:49 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 7 Apr 2007 10:45:49 +0100 Subject: Linux installation - menus Message-ID: <200704071045.49879.palcibiades-first@yahoo.co.uk> http://standards.freedesktop.org/menu-spec/latest/ is probably the first place to go for how to do menus independently of WMs. Peter From pepetoo at Cox.Net Sat Apr 7 07:10:54 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sat, 7 Apr 2007 04:10:54 -0700 Subject: Determining a User's Name In-Reply-To: <46174ABC.5050905@pdslabs.net> References: <4615318A.8060806@fourthworld.com> <951AD078-8216-4A07-9079-EAF3ED1E3FC1@Cox.Net> <4615DD97.7000407@hyperactivesw.com> <00914EEB-6DD0-4443-9AC4-2A16270CE662@Cox.Net> <46174ABC.5050905@pdslabs.net> Message-ID: <43CC60BB-BCFB-4A4B-B65C-B3845A7FBE26@Cox.Net> Boy! It took you guys long enough! (Hugh smile) Thanks a lot, I suspected some such, but my searches for username turned up nothing in the Dictionary. Great List. Joe Wilkins On Apr 7, 2007, at 12:39 AM, Phil Davis wrote: > Joe - > > Would environment variables work? > > - on Mac OS X there's $USER > > - on Win XP there's $USERNAME > > > So you could do this: > > > function currentUser > switch the platform > case "MacOS" > return $USER > break > case "Win32" > return $USERNAME > break > end switch > end currentUser > > > Or there might be a different variable you want to use. Check out > 'globalNames' in the docs. > > HTH - > Phil Davis > > > > Joe Lewis Wilkins wrote: >> Hi All, >> Anyway to determine the computer user's name with RR; both Mac and >> Windows? I want to personalize a dialog query. >> TIA, >> Joe Wilkins > _______________________________________________ > use-revolution mailing list > use-revolution 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 at maseurope.net Sat Apr 7 07:32:41 2007 From: mark at maseurope.net (Mark Smith) Date: Sat, 7 Apr 2007 12:32:41 +0100 Subject: Users language Message-ID: Can anyone tell me if it's possible to discover the language that a users computer is using? Is there a $USER - type environment variable which would give us "English", "French" or whatever? Thanks, Mark From eric.chatonet at sosmartsoftware.com Sat Apr 7 07:58:25 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 7 Apr 2007 13:58:25 +0200 Subject: Users language In-Reply-To: References: Message-ID: Hi Mark, Your solution is in Trevor's GetUserLang stack on RevOnline. Le 7 avr. 07 ? 13:32, Mark Smith a ?crit : > Can anyone tell me if it's possible to discover the language that a > users computer is using? Is there a $USER - type environment > variable which would give us "English", "French" or whatever? Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From bill at bluewatermaritime.com Sat Apr 7 10:11:44 2007 From: bill at bluewatermaritime.com (Bill) Date: Sat, 07 Apr 2007 10:11:44 -0400 Subject: Work around for Beep not working on RunRev 2.7.x+ In-Reply-To: <4615318A.8060806@fourthworld.com> Message-ID: You have a point. Maybe it would be easier to just make the beep only able to beep once. I also just got an email (from bugzilla) saying the WYSIWIG conflict of the background appearing white has been resolved. It was a minor bug but fixed now. On 4/5/07 1:27 PM, "Richard Gaskin" wrote: > Jim Ault wrote: >> I think of the beep command in Rev as one of the things that has been >> included for backward compatibility. New users would have no way of knowing >> about the legacy features, and the docs do not cover every nuance, nook and >> crany, so it *is* more of an exercise in trivia. A very good reason for >> this list and its activity. > > The beep command is generally useful enough that it should be expected > to work, legacy or no. > > But in recent years the number of times computers beep at you has > greatly declined; these days the beep is used only in the rarest of > data-loss confirmations. > > And it's nearly unheard of to beep at a user multiple times; I suspect > this rarity is why any issues with multi-beep sequences hasn't been > discovered before. > > Users have a difficult enough life as it is, why would we want to beep > at them multiple times? From bobwarren at howsoft.com Sat Apr 7 10:23:03 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Sat, 07 Apr 2007 11:23:03 -0300 Subject: Linux installaton Message-ID: <4617A947.80808@howsoft.com> I wrote: >You might also like to look at the installer used by Xara which is also very impressive, though this might be their own rather than a commercially-available installer (I can't quite remember). ---------------------------------------------------------- Richard: In fact, Xara uses "Autopackage". It could be more economically interesting than InstallShield X. That said, perhaps InstallShield X would give you greater versatility in deploying the same installer on all 3 platforms. As for the detail of setting up file/app associations, I cannot elaborate since I have never used either of these utilities. Bob From mark at maseurope.net Sat Apr 7 10:57:31 2007 From: mark at maseurope.net (Mark Smith) Date: Sat, 7 Apr 2007 15:57:31 +0100 Subject: Users language In-Reply-To: References: Message-ID: <4A2BC675-EB97-439A-987E-E9F42E0B10A6@maseurope.net> Thanks, Eric (and Trevor, of course). Got it. Best, Mark On 7 Apr 2007, at 12:58, Eric Chatonet wrote: > Hi Mark, > > Your solution is in Trevor's GetUserLang stack on RevOnline. > > Le 7 avr. 07 ? 13:32, Mark Smith a ?crit : > >> Can anyone tell me if it's possible to discover the language that >> a users computer is using? Is there a $USER - type environment >> variable which would give us "English", "French" or whatever? > > Best regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > http://www.sosmartsoftware.com/ > eric.chatonet at sosmartsoftware.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 revolution at derbrill.de Sat Apr 7 11:26:51 2007 From: revolution at derbrill.de (Malte Brill) Date: Sat, 7 Apr 2007 17:26:51 +0200 Subject: [ANN] New game made with Rev In-Reply-To: <20070201180006.B06B948900D@mail.runrev.com> References: <20070201180006.B06B948900D@mail.runrev.com> Message-ID: <4C21D420-BB6B-41DC-8D4E-DCE7BC479732@derbrill.de> Hi all, as it is derbrill "birth week" (5 years in business, how fast time flies) I have been a busy bee the last few weeks and made a new game. ZACK! is a strategy game that?s delightfully addictive! Based on the concept of placing tiles to build bridges, each tile must match the color of adjacent pieces. It starts simply: there are four basic colors to the tiles. Building straight bridges is easy. You are also given the occasional joker that allows any color to be adjacent to the piece. As you progress, ZACK! first adds two more colors ? and, then, 60 ?combo? colors. It's a puzzle. It's strategy. It's addictive. It's ZACK! Available for Mac OS X (universal binary) und Windows. Check out the free trial now. ZACK! is available immediately from http://www.derbrill.de for Windows, Vista and Macintosh computers. It is offered as shareware. The trial version allows you to launch 19 times before requiring a payment. Trivia note: ZACK! got it?s name from the sounds CEO Malte Brill makes when playing the game. All the best and happy hollidays, Malte From soapdog at mac.com Sat Apr 7 12:14:53 2007 From: soapdog at mac.com (Andre Garzia) Date: Sat, 7 Apr 2007 13:14:53 -0300 Subject: [ANN] New game made with Rev In-Reply-To: <4C21D420-BB6B-41DC-8D4E-DCE7BC479732@derbrill.de> References: <20070201180006.B06B948900D@mail.runrev.com> <4C21D420-BB6B-41DC-8D4E-DCE7BC479732@derbrill.de> Message-ID: <54C44E26-39D0-4178-A6D0-3267154C6704@mac.com> I was there playing, armed with instinct and strategy, I made careful choices... I know Malte has an online highscore board and I decided that I'd play to top that... after many rounds, the game used secret weapons, I thought that we had only four colors plus the bicolor tiles but then purple, orange... I was overwhelmed and lost, went to see the board and my score is there in the middle, I still have a long way to go... Malte, I loved the game!!! :D Andre On Apr 7, 2007, at 12:26 PM, Malte Brill wrote: > Hi all, > > as it is derbrill "birth week" (5 years in business, how fast time > flies) I have been a busy bee the last few weeks and made a new game. > > ZACK! is a strategy game that?s delightfully addictive! Based on > the concept of placing tiles to build bridges, each tile must match > the color of adjacent pieces. > > It starts simply: there are four basic colors to the tiles. > Building straight bridges is easy. You are also given the > occasional joker that allows any color to be adjacent to the piece. > As you progress, ZACK! first adds two more colors ? and, then, 60 > ?combo? colors. > > It's a puzzle. It's strategy. It's addictive. It's ZACK! > > Available for Mac OS X (universal binary) und Windows. > > Check out the free trial now. > > ZACK! is available immediately from http://www.derbrill.de for > Windows, Vista and Macintosh computers. It is offered as shareware. > > The trial version allows you to launch 19 times before requiring a > payment. > > Trivia note: ZACK! got it?s name from the sounds CEO Malte Brill > makes when playing the game. > > All the best and happy hollidays, > > 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 bobwarren at howsoft.com Sat Apr 7 13:06:03 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Sat, 07 Apr 2007 14:06:03 -0300 Subject: Linux installation Message-ID: <4617CF7B.1000306@howsoft.com> Richard wrote: >Thanks for the info, Bob. But rather than using an existing installer I'm aiming to write my own. So what I'm looking for is info on what each of the window managers (KDE, Gnome -- other popular ones?) requires for an app to: - Set up document file type associations - Assign icons for the app and the documents - Add shortcuts to the Start menu ---------------------------------------- Wow! I bow to greater courage! There are quite a few clever people in this world, but I'm not one of them, so I'll let the more technically-minded colleagues help if they can. For my own applications at present (which are surely different in their demands to yours), I'm very happy to go in the other direction: a simple folder on the Desktop and end of story! No "Registry", no setup, nothing in the menus, a simple manual operation for file/app associations if necessary, and no hassle. However, if you manage to make headway in your attempt, I'm sure that there will be many people who appreciate it. For ideas on the general approach required to do the things you want, you might like to see how it is done (albeit not 100% successfully yet) in Gambas. If the IDE is not installed, all Gambas progs require a setup. "Standalones" (as in Rev and Rebol for example) cannot be produced in Gambas, so the production of a setup (which in Gambas is achieved through the IDE itself) becomes essential. Bob From ambassador at fourthworld.com Sat Apr 7 14:10:30 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Apr 2007 11:10:30 -0700 Subject: Work around for Beep not working on RunRev 2.7.x+ Message-ID: <4617DE96.3070505@fourthworld.com> Bill wrote: > > On 4/5/07 1:27 PM, "Richard Gaskin" wrote: > >> Users have a difficult enough life as it is, why would we want >> to beep at them multiple times? > > You have a point. Maybe it would be easier to just make the beep > only able to beep once. And on balance I can see the value in using it for some types of debugging. But I also wonder whether cleaning up the debugger might address the core issue even better. > I also just got an email (from bugzilla) saying the WYSIWIG > conflict of the background appearing white has been resolved. > It was a minor bug but fixed now. Good to hear. I've seen a LOT of BZ reports fixed recently, and I just did a "Check for Updates" and got a new beta with dozens and dozens of fixes. Things are looking good.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From runrev at aboutmyfiles.com Sat Apr 7 18:40:20 2007 From: runrev at aboutmyfiles.com (Mark E. Powell) Date: Sat, 07 Apr 2007 22:40:20 +0000 Subject: Metadata from Office documents Message-ID: Anyone have a tried and true method of extracting metadata from Microsoft Office documents (Windows). Microsoft's site is a bit confusing in this area. Thanks Mark From ambassador at fourthworld.com Sat Apr 7 19:44:28 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Apr 2007 16:44:28 -0700 Subject: [OT] Hungarian in space Message-ID: <46182CDC.3050405@fourthworld.com> Looks like Charles Simonyi, former Microsoft engineer and the programmer who brought us Hungarian code notation, is on the launch pad: BAIKONUR, Kazakhstan - Russian engineers made last-minute preparations for the Saturday launch of a Soyuz capsule bound for the international space station with two cosmonauts and U.S. billionaire Charles Simonyi aboard. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Sat Apr 7 22:57:06 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Apr 2007 21:57:06 -0500 Subject: A string doesn't equal itself Message-ID: <46185A02.8000804@hyperactivesw.com> Bizarre. Get this: put "09114E715806" = "09114E715806" returns false. Is it interpreting this string as a number with an exponent? Something about math libraries? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brentj84062 at gmail.com Sat Apr 7 23:24:15 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Sat, 7 Apr 2007 21:24:15 -0600 Subject: A string doesn't equal itself In-Reply-To: <46185A02.8000804@hyperactivesw.com> References: <46185A02.8000804@hyperactivesw.com> Message-ID: <73000142-0FEF-449B-8679-6AC5CC113D89@gmail.com> Hello. I would imagine that it is making a false detection of your string as a number. I replaced the Es with Fs and it worked fine. Until Revolution comes out with a correction, you'll have to make the comparison using a function to process the data. A sure-fire way to get this to work would be to compare the base64 versions of the strings. It's very odd that revolution doesn't interpret the two strings the same (and, therefore, as equal). It makes you wonder what's going on under the hood. Thanks, Brent Anderson The Christa McAuliffe Space Education Center www.spacecamputah.org From jacque at hyperactivesw.com Sun Apr 8 00:00:09 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Apr 2007 23:00:09 -0500 Subject: A string doesn't equal itself In-Reply-To: <73000142-0FEF-449B-8679-6AC5CC113D89@gmail.com> References: <46185A02.8000804@hyperactivesw.com> <73000142-0FEF-449B-8679-6AC5CC113D89@gmail.com> Message-ID: <461868C9.1050904@hyperactivesw.com> Brent Anderson wrote: > Hello. > > I would imagine that it is making a false detection of your string as a > number. I replaced the Es with Fs and it worked fine. Until Revolution > comes out with a correction, you'll have to make the comparison using a > function to process the data. A sure-fire way to get this to work would > be to compare the base64 versions of the strings. > > It's very odd that revolution doesn't interpret the two strings the same > (and, therefore, as equal). It makes you wonder what's going on under > the hood. That's what I suspected. Rev thinks that a "number" containing a single "E" is an exponent written in scientific notation. What I think is happening is that this "large" number forces Rev to use the math libraries that return fuzzy results when working with numbers containing many decimal places. I fixed it by surrounding the variables with specifically inserted quote marks, which forces Rev to do a string comparison (mainly because I never thought to use base64 on them.) put quote & stringOne & quote into tFirst put quote & stringTwo & quote into tSecond put tFirst = tSecond --> returns true Rev's interesting numeric interpretation could mess up anyone who is generating serial keys like I am. Watch out for "numbers" with a single "E" in them. My app has generated hundreds of serial keys that all worked without error until today, when this odd one came through. All other alpha-numeric sequences seem to work fine without any special treatment. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 8 00:08:32 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Apr 2007 23:08:32 -0500 Subject: Filtering Columns in Tables In-Reply-To: <1E6B47B3-0111-1000-C939-49C0A71C0AB4-Webmail-10021@mac.com> References: <1E6B47B3-0111-1000-C939-49C0A71C0AB4-Webmail-10021@mac.com> Message-ID: <46186AC0.5010309@hyperactivesw.com> Jim Schaubeck wrote: > Hello all, I'm trying to code a way so a user can click on the title > of a particular column in a table field to select filters for that > column. Much like you can use a spreadsheet and add filter boxes in > the header cells to select the specific contents for that column. > After selecting the particular contents, the spreadsheet will now > only show the lines that have that same data in the filtered column. > I want to duplicate that look in a rev app The tough part for me is > I have 30 columns & need horizontal scrolling. This eliminates > stationary buttons that would do this easily. The buttons in the > spreadsheet move horizontally while scrolling. Do you folks have any > ideas how to do this? I'm not clear whether you need help with the line filtering, or the interface for getting user input about what to filter. Could you explain more? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revolution at jaedworks.com Sun Apr 8 01:15:46 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 7 Apr 2007 22:15:46 -0700 Subject: A string doesn't equal itself In-Reply-To: <73000142-0FEF-449B-8679-6AC5CC113D89@gmail.com> References: <46185A02.8000804@hyperactivesw.com> <73000142-0FEF-449B-8679-6AC5CC113D89@gmail.com> Message-ID: At 9:24 PM -0600 4/7/2007, Brent Anderson wrote: >It's very odd that revolution doesn't interpret the two strings the >same (and, therefore, as equal). It makes you wonder what's going on >under the hood. I'm guessing it's an overflow problem, because it varies depending on the numbers used. For example, if the number on the left is 1, the comparison fails only if the number on the right is greater than 308. Increasing the number on the left decreases the critical number on the right. Yeesh. It looks like all three of us are on Macs. Has anyone tried this on an Intel chip and/or Windows? -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From JimAultWins at yahoo.com Sun Apr 8 02:15:28 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 07 Apr 2007 23:15:28 -0700 Subject: A string doesn't equal itself - simple workaround In-Reply-To: <46185A02.8000804@hyperactivesw.com> Message-ID: Workaround On 4/7/07 7:57 PM, "J. Landman Gay" wrote: > Bizarre. Get this: > > put "09114E715806" = "09114E715806" > > returns false. > > Is it interpreting this string as a number with an exponent? Something > about math libraries? false: put char 1 to -1 of ("09114"&"e"&"715806") = \ char 1 to -1 of ("09114e7"&"15806") true: put char 1 to -1 of ("09114"&"eA"&"715806") = \ char 1 to -1 of ("09114eA7"&"15806") Also true: put "09114e715806"&null = "09114e715806"&null Looks like another case where appending null is an answer to workaround xtalk oddities where one programmers feature is another's gotcha. Another example of a good use of Null repeat with x = 1 to the number of lines in (fld havingEmptyLastLine & null) put the number of items of (gInventory & null) into maxCount Jim Ault Las Vegas From revolution at derbrill.de Sun Apr 8 10:35:37 2007 From: revolution at derbrill.de (Malte Brill) Date: Sun, 8 Apr 2007 16:35:37 +0200 Subject: A string doesn't equal itself In-Reply-To: <20070204180004.7D7AC488FC6@mail.runrev.com> References: <20070204180004.7D7AC488FC6@mail.runrev.com> Message-ID: <557D49A9-9A00-4BE2-B066-60D75077CB55@derbrill.de> Same on INTEL Mac All the best, Malte > Yeesh. It looks like all three of us are on Macs. Has anyone tried > this on an Intel chip and/or Windows? From jacque at hyperactivesw.com Sun Apr 8 11:46:22 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 08 Apr 2007 10:46:22 -0500 Subject: A string doesn't equal itself In-Reply-To: References: <46185A02.8000804@hyperactivesw.com> <73000142-0FEF-449B-8679-6AC5CC113D89@gmail.com> Message-ID: <46190E4E.3040309@hyperactivesw.com> Jeanne A. E. DeVoto wrote: > Yeesh. It looks like all three of us are on Macs. Has anyone tried this > on an Intel chip and/or Windows? Same result on Windows under Parallels. "09114e715806" <> "09114e715806". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 8 11:50:55 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 08 Apr 2007 10:50:55 -0500 Subject: A string doesn't equal itself In-Reply-To: References: <46185A02.8000804@hyperactivesw.com> <73000142-0FEF-449B-8679-6AC5CC113D89@gmail.com> Message-ID: <46190F5F.5050404@hyperactivesw.com> Jeanne A. E. DeVoto wrote: > Yeesh. It looks like all three of us are on Macs. Has anyone tried this > on an Intel chip and/or Windows? Just to be thorough, it also fails in Ubuntu. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun Apr 8 12:08:04 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 08 Apr 2007 09:08:04 -0700 Subject: A string doesn't equal itself Message-ID: <46191364.1000802@fourthworld.com> J. Landman Gay wrote: > Jeanne A. E. DeVoto wrote: >> Yeesh. It looks like all three of us are on Macs. Has anyone tried this >> on an Intel chip and/or Windows? > > Same result on Windows under Parallels. "09114e715806" <> "09114e715806". What's the BZ report # for this? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tereza at califex.com Sun Apr 8 12:26:30 2007 From: tereza at califex.com (Tereza Snyder) Date: Sun, 8 Apr 2007 11:26:30 -0500 Subject: Problems with passworded stacks? Message-ID: I've been working on an application in "splash-stack" form: it's composed a small stack that will be the executable and several other stacks, many of them library stacks. The application is coming along nicely and works fine in the IDE and as a standalone. Recently, however, there's arisen a need to show it around, and to protect my scripting investment, the stacks were passworded: and now the application doesn't work! Oddly, there are no errors. From what I can tell from its behavior, messages that should be sent aren't being sent, or aren't being received. Objects that should move, don't. Perhaps "waits" aren't waiting, or "do's" aren't doing. Before I dive into a messy debugging session, I want to ask, are known issues with passworded stacks, especially in a context of heavy message-sending? Has anyone else seen this kind of thing? Using Rev 2.8.0 on MacOS X 10.4.9, t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From pepetoo at Cox.Net Sun Apr 8 12:45:56 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 8 Apr 2007 09:45:56 -0700 Subject: An Error while saving a stand alone application In-Reply-To: <46190F5F.5050404@hyperactivesw.com> References: <46185A02.8000804@hyperactivesw.com> <73000142-0FEF-449B-8679-6AC5CC113D89@gmail.com> <46190F5F.5050404@hyperactivesw.com> Message-ID: <3F730CC7-7AEC-4864-BC54-F42A420B131D@Cox.Net> Hi all, I guess it was inevitable, but a stack that I have saved to a stand alone several times, successfully, now presents me with an Error while saving dialog and abotss the process. How can I determine what I have introduced into the stack that would cause this. I have made some fairly major changes, but not real complications. I added and deleted a couple of cards, but nothing earth shattering. Thoughts as to how to proceed would be appreciated. I don't like the prospect of starting over again. TIA, Joe Wilkins From JimAultWins at yahoo.com Sun Apr 8 13:51:13 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 08 Apr 2007 10:51:13 -0700 Subject: An Error while saving a stand alone application In-Reply-To: <3F730CC7-7AEC-4864-BC54-F42A420B131D@Cox.Net> Message-ID: On 4/8/07 9:45 AM, "Joe Lewis Wilkins" wrote: > > I guess it was inevitable, but a stack that I have saved to a stand > alone several times, successfully, now presents me with an Error > while saving dialog and abotss the process. > > How can I determine what I have introduced into the stack that would > cause this. I have made some fairly major changes, but not real > complications. I added and deleted a couple of cards, but nothing > earth shattering. > > Thoughts as to how to proceed would be appreciated. I don't like the > prospect of starting over again. I do very limited amount of compiling, but try compiling with the stack script set to empty then add back in some of the handlers, to see if there is a compile error that occurs.. process of elimination to isolate the culprit(s). Jim Ault Las Vegas From revolution at derbrill.de Sun Apr 8 13:57:32 2007 From: revolution at derbrill.de (Malte Brill) Date: Sun, 8 Apr 2007 19:57:32 +0200 Subject: Problems with passworded stacks? In-Reply-To: <20070206180004.DED0D488F29@mail.runrev.com> References: <20070206180004.DED0D488F29@mail.runrev.com> Message-ID: Hi Tereza, are you copying or cloning anything in your protected stack? That won ?t work. Hope that helps, Malte From pepetoo at Cox.Net Sun Apr 8 14:04:04 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 8 Apr 2007 11:04:04 -0700 Subject: An Error while saving a stand alone application In-Reply-To: <3F730CC7-7AEC-4864-BC54-F42A420B131D@Cox.Net> References: <46185A02.8000804@hyperactivesw.com> <73000142-0FEF-449B-8679-6AC5CC113D89@gmail.com> <46190F5F.5050404@hyperactivesw.com> <3F730CC7-7AEC-4864-BC54-F42A420B131D@Cox.Net> Message-ID: Hi everyone who is not doing the Easter thingl, Recently, I was doing something, actually using the message box to set some object scripts on diffeent cards; in the process of doing this the colored spinning wheel appeared and went on forever, to the point that I had to do a Force Quit. Could this possibly have damaged RR to the point that I now need to reinstall it? I'm using 2.80 build 350. I noticed some are using a build 370. Also, is there a preferred location for development stacks? Ooops! I forgot. It is Easter Sunday and I may be the only guy on the list. (smile) TIA, Joe Wilkins On Apr 8, 2007, at 9:45 AM, Joe Lewis Wilkins wrote: > Hi all, > > I guess it was inevitable, but a stack that I have saved to a stand > alone several times, successfully, now presents me with an Error > while saving dialog and abotss the process. > > How can I determine what I have introduced into the stack that > would cause this. I have made some fairly major changes, but not > real complications. I added and deleted a couple of cards, but > nothing earth shattering. > > Thoughts as to how to proceed would be appreciated. I don't like > the prospect of starting over again. > > TIA, > > Joe Wilkins > _______________________________________________ > use-revolution mailing list > use-revolution 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 Sun Apr 8 14:10:22 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 8 Apr 2007 11:10:22 -0700 Subject: An Error while saving a stand alone application In-Reply-To: References: Message-ID: Good thought, Jim. I've tried almost everything else. Thanks, Joe Wilkins On Apr 8, 2007, at 10:51 AM, Jim Ault wrote: > On 4/8/07 9:45 AM, "Joe Lewis Wilkins" wrote: >> >> I guess it was inevitable, but a stack that I have saved to a stand >> alone several times, successfully, now presents me with an Error >> while saving dialog and abotss the process. >> >> How can I determine what I have introduced into the stack that would >> cause this. I have made some fairly major changes, but not real >> complications. I added and deleted a couple of cards, but nothing >> earth shattering. >> >> Thoughts as to how to proceed would be appreciated. I don't like the >> prospect of starting over again. > > I do very limited amount of compiling, but > try compiling with the stack script set to empty > > then add back in some of the handlers, to see if there is a compile > error > that occurs.. process of elimination to isolate the culprit(s). > > 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 revolution at derbrill.de Sun Apr 8 14:17:43 2007 From: revolution at derbrill.de (Malte Brill) Date: Sun, 8 Apr 2007 20:17:43 +0200 Subject: New homepage structure or where my tutorials are now... In-Reply-To: <20070206180004.DED0D488F29@mail.runrev.com> References: <20070206180004.DED0D488F29@mail.runrev.com> Message-ID: <370DCBD7-2345-403B-8A84-5D369D49163F@derbrill.de> Hi all, I have received a few mails asking why I have removed my tutorials from my homepage. Good news: I didn't. :-) I just restructured my site. All dev related stuff can be found here from now on: http://derbrill.de/developers.php?lang=en Sorry for the inconvenience. Malte From geradamas at yahoo.com Sun Apr 8 14:21:39 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 8 Apr 2007 19:21:39 +0100 (BST) Subject: RR Documentation format Message-ID: <428714.33542.qm@web37511.mail.mud.yahoo.com> I have been working recently with the RR 2.8 Beta builds, but find myself continually starting up DreamCard 2.6.1 because I find the format of the Documentation stack ( /front-end) much more to my taste and easier to use. I wonder of RunRev took soundings before they changed the format? Let's have an impromptu survey comparing various recensions of the Documentation: BUT, we all know the documentation itself lags behind somewhat, and that has been stated exhaustively, so let's ignore that facet. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From jacque at hyperactivesw.com Sun Apr 8 14:45:16 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 08 Apr 2007 13:45:16 -0500 Subject: A string doesn't equal itself In-Reply-To: <46191364.1000802@fourthworld.com> References: <46191364.1000802@fourthworld.com> Message-ID: <4619383C.9020408@hyperactivesw.com> Richard Gaskin wrote: > J. Landman Gay wrote: > >> Jeanne A. E. DeVoto wrote: >>> Yeesh. It looks like all three of us are on Macs. Has anyone tried >>> this on an Intel chip and/or Windows? >> >> Same result on Windows under Parallels. "09114e715806" <> "09114e715806". > > What's the BZ report # for this? > I'm not yet convinced it's a bug. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wjm at wjm.org Sun Apr 8 19:25:42 2007 From: wjm at wjm.org (Bill Marriott) Date: Sun, 8 Apr 2007 19:25:42 -0400 Subject: Problems with passworded stacks? References: <20070206180004.DED0D488F29@mail.runrev.com> Message-ID: Well, it will work, but you have to unlock the stack at runtime with the correct passkey. "Malte Brill" wrote, > are you copying or cloning anything in your protected stack? That won?t > work. From revolution at derbrill.de Sun Apr 8 20:00:28 2007 From: revolution at derbrill.de (Malte Brill) Date: Mon, 9 Apr 2007 02:00:28 +0200 Subject: Problems with passworded stacks? In-Reply-To: <20070209171805.83DC3489059@mail.runrev.com> References: <20070209171805.83DC3489059@mail.runrev.com> Message-ID: This renders the password useless, as it allows access to the scripts then, unless you revert the stack or remove it from memory and reopen it. Bill Marriott wrote: > Well, it will work, but you have to unlock the stack at runtime > with the > correct passkey. "Malte Brill" wrote, > are you copying or cloning anything in your protected stack? That won?t > work. From tereza at califex.com Sun Apr 8 20:59:29 2007 From: tereza at califex.com (Tereza Snyder) Date: Sun, 8 Apr 2007 19:59:29 -0500 Subject: Problems with passworded stacks? In-Reply-To: References: <20070209171805.83DC3489059@mail.runrev.com> Message-ID: On Apr 8, 2007, at 7:00 PM, Malte Brill wrote: > This renders the password useless, as it allows access to the > scripts then, unless you revert the stack or remove it from memory > and reopen it. > > Bill Marriott wrote: > >> Well, it will work, but you have to unlock the stack at runtime >> with the >> correct passkey. > > "Malte Brill" wrote, > > > are you copying or cloning anything in your protected stack? That > won?t > > work. I discovered that if I unpassword two of my stacks (where most of the action is) behavior in the application returns to normal. There is some copying and cloning going on, and that does explain some of the misbehavior, but NOT all of it. Bill, you mean if I unlock the stacks at runtime, the stacks will run normally? Can I do that just once during execution and they'll be unlocked in memory for the duration? If so, maybe I can set the passkey(s) at startup EXCEPT in the presence of the IDE and thereby deny script-reading. Does that sound as if it would work? t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From len-morgan at crcom.net Sun Apr 8 22:30:25 2007 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 08 Apr 2007 21:30:25 -0500 Subject: Automatically updating a stack - How Do I Do It? Message-ID: <4619A541.5090802@crcom.net> As I'm getting my app finished up, I've come up with a question about how exactly to update a stack from a server. The software will be loaded on a workstation initially and stackRunner will get the process going. I'd like the app to check for newer versions on my server at startup. I've stored a custom property in each stack that has a version and a build number but it occurs to me that I can't get that information until I "start using" the stack. Once that's done, if I find (through a onPreOpenStack handler) that the server has a newer version, how can I download the newer version? Will I have to notify the user that a new version has been downloaded and require them to restart? Can I change a running stack (reload the updated version without reloading the OS cached version). Is there a better way to handle this before the stacks are ever opened (like encoding the version/build number into the filename of the stack? Should I just notify the user that there is a new version available and have them push a button to download it, then restart the program? I'd like to notify the user that a new version is being downloaded but don't want to require much more from them if at all possible. Note that my app is spread across several stacks and I want this update ability in all of them but not have to download the entire set of stacks if only one of them has changed if I can avoid it. If there is a tutorial available that already explains this, please point me to it. Thanks!! Len Morgan From ambassador at fourthworld.com Sun Apr 8 23:21:24 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 08 Apr 2007 20:21:24 -0700 Subject: A string doesn't equal itself Message-ID: <4619B134.5070402@fourthworld.com> J. Landman Gay wrote: > Richard Gaskin wrote: >> J. Landman Gay wrote: >> >>> Jeanne A. E. DeVoto wrote: >>>> Yeesh. It looks like all three of us are on Macs. Has anyone tried >>>> this on an Intel chip and/or Windows? >>> >>> Same result on Windows under Parallels. "09114e715806" <> "09114e715806". >> >> What's the BZ report # for this? >> > > I'm not yet convinced it's a bug. Whether representations of strings or numbers, in either case a symbol must be equal to itself. A = A is the root of all logic. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Mon Apr 9 01:16:32 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Apr 2007 22:16:32 -0700 Subject: A string doesn't equal itself In-Reply-To: <46191364.1000802@fourthworld.com> References: <46191364.1000802@fourthworld.com> Message-ID: <31351149656.20070408221632@ahsoftware.net> Richard- Sunday, April 8, 2007, 9:08:04 AM, you wrote: > What's the BZ report # for this? This isn't a bug, the way I see it. Strings should be quoted. Backwards compatibility with HC still allows for unquoted strings, but they can lead to this sort of trouble. "3" isn't the same as 3. And numerical values will always be subject to the limits of digital approximation of continuous values. The problem Jacque ran into is that in not quoting the alphanumeric string that represented a serial number she allowed the engine to process the equality operator numerically. And gave it values beyond those it could be expected to handle with a default margin of error. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Apr 9 01:19:09 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Apr 2007 22:19:09 -0700 Subject: image data In-Reply-To: <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> Message-ID: <93351305710.20070408221909@ahsoftware.net> Trevor- Friday, April 6, 2007, 8:25:46 AM, you wrote: > the text property of an image is the actual image data. So: > set the text of image "testImage" to tJPGData This is one of those cases where I feel the language loses its intuitiveness... I know you have to do this, but it makes absolutely no sense to me. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Mon Apr 9 01:59:35 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 08 Apr 2007 22:59:35 -0700 Subject: A string doesn't equal itself Message-ID: <4619D647.1080304@fourthworld.com> Mark Wieder wrote: > Sunday, April 8, 2007, 9:08:04 AM, you wrote: > >> What's the BZ report # for this? > > This isn't a bug, the way I see it. Strings should be quoted. > Backwards compatibility with HC still allows for unquoted strings, but > they can lead to this sort of trouble. "3" isn't the same as 3. And > numerical values will always be subject to the limits of digital > approximation of continuous values. > > The problem Jacque ran into is that in not quoting the alphanumeric > string that represented a serial number she allowed the engine to > process the equality operator numerically. And gave it values beyond > those it could be expected to handle with a default margin of error. Whether a string or a number, the symbol was the same on both sides. A=A. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kray at sonsothunder.com Mon Apr 9 02:00:24 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 9 Apr 2007 01:00:24 -0500 Subject: A string doesn't equal itself In-Reply-To: <31351149656.20070408221632@ahsoftware.net> References: <46191364.1000802@fourthworld.com> <31351149656.20070408221632@ahsoftware.net> Message-ID: <20070409010024976110.820f781f@sonsothunder.com> On Sun, 8 Apr 2007 22:16:32 -0700, Mark Wieder wrote: > string that represented a serial number she allowed the engine to > process the equality operator numerically. And gave it values beyond > those it could be expected to handle with a default margin of error. Actually, Mark, this was her post: > put "09114E715806" = "09114E715806" So she *did* quote it. I'd agree with you if it weren't quoted, but as it was, I would expect this to be interpreted as a string and not a number. Just my 2 cents, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pepetoo at Cox.Net Mon Apr 9 02:41:06 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 8 Apr 2007 23:41:06 -0700 Subject: A string doesn't equal itself In-Reply-To: <20070409010024976110.820f781f@sonsothunder.com> References: <46191364.1000802@fourthworld.com> <31351149656.20070408221632@ahsoftware.net> <20070409010024976110.820f781f@sonsothunder.com> Message-ID: <14D9FB72-7BB0-4FF0-B274-27BC1DAE6479@Cox.Net> The interesting aspect about this is, if the "E" is changed to any other letter, the result is true; so there appears to be some RR attempt to interpret this as some kind of number. Joe Wilkins On Apr 8, 2007, at 11:00 PM, Ken Ray wrote: > On Sun, 8 Apr 2007 22:16:32 -0700, Mark Wieder wrote: > >> string that represented a serial number she allowed the engine to >> process the equality operator numerically. And gave it values beyond >> those it could be expected to handle with a default margin of error. > > Actually, Mark, this was her post: > >> put "09114E715806" = "09114E715806" > > So she *did* quote it. I'd agree with you if it weren't quoted, but as > it was, I would expect this to be interpreted as a string and not a > number. > > 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 wjm at wjm.org Mon Apr 9 03:15:38 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 9 Apr 2007 03:15:38 -0400 Subject: Problems with passworded stacks? References: <20070209171805.83DC3489059@mail.runrev.com> Message-ID: Tereza, >>> Bill, you mean if I unlock the stacks at runtime, the stacks will run normally? Can I do that just once during execution and they'll be unlocked in memory for the duration? If so, maybe I can set the passkey(s) at startup EXCEPT in the presence of the IDE and thereby deny script-reading. Does that sound as if it would work? <<< Yes, exactly. Passwords prevent certain modifications to a stack so you either have to come up with a different method of operation, or unlock them during runtime the way you describe. Some different approaches would be adjusting objects that already exist, or segregating stuff that needs to be modified into a sub-stack that is not protected (passwords apply to a particular stack, not the whole file). From mark at maseurope.net Mon Apr 9 05:26:24 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 9 Apr 2007 10:26:24 +0100 Subject: A string doesn't equal itself In-Reply-To: <20070409010024976110.820f781f@sonsothunder.com> References: <46191364.1000802@fourthworld.com> <31351149656.20070408221632@ahsoftware.net> <20070409010024976110.820f781f@sonsothunder.com> Message-ID: <1F1E2BB0-01B0-4FC4-8227-B4208A5E4029@maseurope.net> And just for completeness, this also return false: put "09114E715806" is "09114E715806" (I wondered if 'is' instead of '=' might produce a different result). Best, Mark On 9 Apr 2007, at 07:00, Ken Ray wrote: > On Sun, 8 Apr 2007 22:16:32 -0700, Mark Wieder wrote: > >> string that represented a serial number she allowed the engine to >> process the equality operator numerically. And gave it values beyond >> those it could be expected to handle with a default margin of error. > > Actually, Mark, this was her post: > >> put "09114E715806" = "09114E715806" > > So she *did* quote it. I'd agree with you if it weren't quoted, but as > it was, I would expect this to be interpreted as a string and not a > number. > > 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 martinblackman at gmail.com Mon Apr 9 05:31:35 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Mon, 9 Apr 2007 17:31:35 +0800 Subject: XP and Vista question In-Reply-To: <45F4D89A.8020204@howsoft.com> References: <45F4D89A.8020204@howsoft.com> Message-ID: <79d1bee70704090231r41ca903s4acf431f0bf07328@mail.gmail.com> Not sure if this link has already been posted but here is a fascinating analysis of the costs & repercussions of Vista's DRM http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.html#author There are many nice quotes in the article, here is just one- "Because Windows dominates the market and device vendors are unlikely to design and manufacture two different versions of their products, non-Windows users will be paying for Windows Vista content-protection measures in products even if they never run Windows on them." From effendi at wanadoo.fr Mon Apr 9 06:58:27 2007 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 9 Apr 2007 12:58:27 +0200 Subject: HC converted stacks Message-ID: Hi from Paris, I will be without Classic on my new iMac G5, so I took the much delayed plunge, and in one day, converted my many HC stacks to Revolution (2.6.1 Build 152). Things seemed to work quite well, although I will have to modify many of my scripts, as I leaned heavily on external XCMDs and XFCNs (many thanks to Mr. Rinaldi et alia). I will end up rebuilding them all entirely, simply because Rev stacks can be so much more "jazzy" to look at. But, until then, I want to clean up the scripts a little, so that the stacks execute to some degree of efficiency. However, a few problems are bugging me and I don't know how or why they occur. When I open a HC converted stack, Examples : 1 - When I select a field or button with the pointer tool, the "up", "down", "left" and "right" arrows on the keybord don't work any more. I can't move my fields/buttons step by step. 2 - I get strange errors flagged, such as "Repeat: error in statement" for a script command" "repeat forever", and "Handler: error in statement" for a script command "go to card 1". I can find NO errors in my scripts. Can anybody shed any light on either of these problems ? Are there any important "Do's" and "Don'ts" for those converting stacks from HC ? From Andre.Bisseret at inria.fr Mon Apr 9 09:40:30 2007 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Mon, 9 Apr 2007 15:40:30 +0200 Subject: HC converted stacks In-Reply-To: References: Message-ID: <7399619A-4AC8-41F9-9C41-EC5296171813@inria.fr> Bonjour Francis, You might want to read the tutorial of HyperActive that is devoted to translating stack from HyperCard to Revolution. I used it and saved time thank to this tutorial. The address : http://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html Best regards from Grenoble Andr? Le 9 avr. 07 ? 12:58, Francis Nugent Dixon a ?crit : > Hi from Paris, > > I will be without Classic on my new iMac G5, so I took the much > delayed plunge, and in one day, converted my many HC stacks to > Revolution (2.6.1 Build 152). Things seemed to work quite well, > although I will have to modify many of my scripts, as I leaned > heavily on external XCMDs and XFCNs (many thanks to Mr. Rinaldi et > alia). I will end up rebuilding them all entirely, simply because > Rev stacks can be so much more "jazzy" to look at. But, until then, > I want to clean up the scripts a little, so that the stacks execute > to some degree of efficiency. > > However, a few problems are bugging me and I don't know how or why > they occur. When I open a HC converted stack, Examples : > > 1 - When I select a field or button with the pointer tool, the > "up", "down", "left" and "right" arrows on the keybord don't work > any more. I can't move my fields/buttons step by step. > > 2 - I get strange errors flagged, such as "Repeat: error in > statement" for a script command" "repeat forever", and "Handler: > error in statement" for a script command "go to card 1". I can find > NO errors in my scripts. > > Can anybody shed any light on either of these problems ? Are there > any important "Do's" and "Don'ts" for those converting stacks from > HC ? > _______________________________________________ > use-revolution mailing list > use-revolution 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 Mon Apr 9 09:46:36 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 9 Apr 2007 06:46:36 -0700 Subject: Problem saving a standalone In-Reply-To: References: <20070206180004.DED0D488F29@mail.runrev.com> Message-ID: Hi all, In my search to find out why my stack is aborting the Save a standalone process, it appears that the last thing that is being done is copying externals. Since they haven't changed at all since I previously compiled the stack, it must be the very next thing that is the hang up. Anyone have an ideas as to what that might be. I don't have anything else ready to comple so that I can watch the process, but maybe one of you do? TIA, Joe Wilkins From Tom.Cole at asu.edu Mon Apr 9 11:04:40 2007 From: Tom.Cole at asu.edu (Thomas Cole) Date: Mon, 9 Apr 2007 08:04:40 -0700 Subject: Vista Question Message-ID: I haven't been reading all the posts lately, so excuse me if you have talked this to death and I ask the most basic of questions. Vista is coming out. Will the software I created on my Mac using the old studio version of Revolution 2.7.1 have any problems with Vista? I don't have video or anything -- just a couple of pictures and a lot of sorting and buttons and stuff to manipulate user input in a grammar game. Thanks, Tom From jacque at hyperactivesw.com Mon Apr 9 12:23:43 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Apr 2007 11:23:43 -0500 Subject: A string doesn't equal itself In-Reply-To: <20070409010024976110.820f781f@sonsothunder.com> References: <46191364.1000802@fourthworld.com> <31351149656.20070408221632@ahsoftware.net> <20070409010024976110.820f781f@sonsothunder.com> Message-ID: <461A688F.6070704@hyperactivesw.com> Ken Ray wrote: > On Sun, 8 Apr 2007 22:16:32 -0700, Mark Wieder wrote: > >> string that represented a serial number she allowed the engine to >> process the equality operator numerically. And gave it values beyond >> those it could be expected to handle with a default margin of error. > > Actually, Mark, this was her post: > >> put "09114E715806" = "09114E715806" > > So she *did* quote it. I'd agree with you if it weren't quoted, but as > it was, I would expect this to be interpreted as a string and not a > number. I'm torn between the two opinions. In a way, I agree with Mark. The flexibility of xtalk allows us to be very lax about variable typing -- we don't really have to do it at all. I believe the engine evaluates even quoted literals to try to type them. For example, this works: set the brush to "4" If the engine were not evaluating the string, this example would fail. That means that even quoted literals are not always literals if they are numbers. I think it would be difficult to fix this problem without severely restricting the flexibility of the engine in general. We would be forced into pseudo-typing all variables by only using quotation marks when we really do mean exact literals. That wouldn't necessarily be a terrible thing, but it would break backward compatibility with traditional xtalk. The consequences of the engine change could affect lots more than the single, unique problem we're trying to fix. Here's another thing that works right now: put "4/9/2007" is a date This isn't just a string. It is a string with numbers in it, and Rev has to evaluate them as such. The character "4" is not the number "4", which allows Rev to determine that "4/ew/2007" is not a date (an improvement over HC, which did think "ew" was a date.) If we remove the ability to parse quoted dates as numbers, then how do you solve the issue where 1/1/2007 becomes an (incorrect) division command? On the other side, as Richard says, a string should always equal itself. And in fact, it does, provided you force the engine to evaluate it as a string. I accomplished this by specifically adding quotation marks around the variables that contain the so-called "number". Jim points out that adding a null character does the same thing. I think the engine performs flawlessly except in this one, narrow circumstance where there is a single "E" inside a group of numbers. I would be okay with RR just adding documentation clarifiying the possible pitfalls of using numerical strings. On the other hand, this behavior could throw people who weren't expecting it (and it threw me until I understood what was happening.) On the third hand, I've worked with numerical strings in Rev/MC for almost 10 years now and this issue has only occured once. It's a minor issue, though significant to the developer when it happens. I guess I'll report it, and let the team figure out the best way to handle it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tereza at califex.com Mon Apr 9 13:16:24 2007 From: tereza at califex.com (Tereza Snyder) Date: Mon, 9 Apr 2007 12:16:24 -0500 Subject: image data In-Reply-To: <93351305710.20070408221909@ahsoftware.net> References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> <93351305710.20070408221909@ahsoftware.net> Message-ID: <4ED5529D-ADF4-401D-913E-6DCC08A4E3D2@califex.com> On Apr 9, 2007, at 12:19 AM, Mark Wieder wrote: > Trevor wrote: > >> the text property of an image is the actual image data. So: > >> set the text of image "testImage" to tJPGData > Then Mark Wieder wrote: > This is one of those cases where I feel the language loses its > intuitiveness... I know you have to do this, but it makes absolutely > no sense to me. > Wasn't "the contents" the same as "the text" at one time? I was sure it was so, but I just tested it and "the contents" of an image returns empty, whereas "the text" does not. But I'm sure that once upon a time?maybe in Metacard days?it was a synonym. Am I nuts? Does anyone else remember this? Even if it wasn't ever the case, it ought to be. I'm with Mark. Referring to "the text" of an image makes absolutely no sense to me. t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From lfredricks at proactive-intl.com Mon Apr 9 14:59:32 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 9 Apr 2007 11:59:32 -0700 Subject: Enteprise Upgrades - Free Vista Upgrade and/or Parallels Offer Running Out Message-ID: <030501c77ad9$35eec1c0$6401a8c0@YOUR68B8D1092F> http://www.runrev.com/offers/vista/ Hi all, Ive been contacted by a few folks over the weekend about the special offer and if its still live - it is! But its going away very likely sometime not all that long after our European side team members get back from "Easter Monday". In a nutshell this is: With any Enterprise purchase including new licenses, upgrades from Media or Studio, or update packs, use the code MFVISTAFREE and get Vista upgrade free Or With any Studio purchase over $250, including new purchases, renewal packs ond upgrades from Media, use the code MFPARALLELSFREE - get Parallels for free The Vista upgrade is shipped to you via Amazon, and the Parallels is a download/serial you get via Parallels. Folks in the USA: If your Enterprise license especially is going to expire soon, this is a great deal - the early update for Enterprise is $499, but the "late" update to Enterprise is $749. An update just stacks on top of whatever time you have left, so you arent losing anything by buying now - besides, don't you have a fat tax rebate coming? :-) Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.com From effendi at wanadoo.fr Mon Apr 9 16:08:35 2007 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 9 Apr 2007 22:08:35 +0200 Subject: HC converted stacks Message-ID: Hi from Paris, > Bonjour Francis, > You might want to read the tutorial of HyperActive that is devoted to > translating stack from HyperCard to Revolution. > I used it and saved time thank to this tutorial. > Merci Andr? -Francis "Nothing should ever be done for the first time - But I've spent my life just doing that !" From cszasz at mac.com Mon Apr 9 18:25:28 2007 From: cszasz at mac.com (Charles Szasz) Date: Mon, 9 Apr 2007 18:25:28 -0400 Subject: Problem with Imbedded file Message-ID: I saved a RTF file as a custom property of my app stack with the following code: answer file "Store which file?" --> I selected the file "template.rtf" set the customPropertySet of this stack to empty set the uRtFile of this stack to url ("file:" & ".rtf") set the uShortFilename of this stack to last item of it save this stack This script works. The following script also works. It opens the RTF file to add field information from my card to the fields in the .rtf file. put the effective filename of this stack into tPath set the itemdelimiter to "/" put "template.rtf" into last item of tPath put URL ("file:"& tPath) into tRTFdata ---------> Code to fill fields. if field "vmiFld" of card "index" > "" then replace "(1)" with the rtftext of field "vmiFld" of card "index" in tRTFdata else replace "(1)" with "" in tRTFdata end if etc..... Then export the RFT file: ask file "Save file as:" put it into tNewFilePath put tRTFdata into URL ("file:" & tNewFilePath & ".rtf") This export code works in the IDE of Rev 2.7.4 . However, it does NOT work in the standalone! I get the message that I cannot open the RTF file using TextEdit after I export the file. I have been working on this for four days with the same results. I would appreciate ANY suggestions! Charles Szasz cszasz at mac.com From dave.cragg at lacscentre.co.uk Mon Apr 9 18:44:17 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 9 Apr 2007 23:44:17 +0100 Subject: image data In-Reply-To: <4ED5529D-ADF4-401D-913E-6DCC08A4E3D2@califex.com> References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> <93351305710.20070408221909@ahsoftware.net> <4ED5529D-ADF4-401D-913E-6DCC08A4E3D2@califex.com> Message-ID: <837BED52-8641-4AE4-AF2B-ED63F12C4987@lacscentre.co.uk> On 9 Apr 2007, at 18:16, Tereza Snyder wrote: > > Wasn't "the contents" the same as "the text" at one time? I was > sure it was so, but I just tested it and "the contents" of an image > returns empty, whereas "the text" does not. But I'm sure that once > upon a time?maybe in Metacard days?it was a synonym. Am I nuts? > Does anyone else remember this? Perhaps you're thinking of "put mydata into image 1". This is what I've always used. I can't bring myself to use "text". :-) Cheers Dave From rishi at puredata.com.au Mon Apr 9 21:12:48 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Tue, 10 Apr 2007 11:12:48 +1000 Subject: Linux installaton In-Reply-To: <46167508.5040804@fourthworld.com> References: <46167508.5040804@fourthworld.com> Message-ID: <200704101112.48770.rishi@puredata.com.au> On Saturday 07 April 2007 02:27, Richard Gaskin wrote: > > My understanding is that the various window managers for Linux each have > their own mechanisms for these, and that they aren't the same. Is that > correct? Yep, afraid so... BUT there is the Linux Standard Base: http://www.linux-foundation.org/en/LSB however this is still filtering through to actual implementation... > > Is there a single site you could recommend to get familiar with how to > write installers for Linux that provide a smooth user experience? RPM is a very widely used software package delivery system. http://www.rpm.org/ -- Rishi -------------- From rishi at puredata.com.au Mon Apr 9 21:34:44 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Tue, 10 Apr 2007 11:34:44 +1000 Subject: Linux installation In-Reply-To: <4616D46C.4000704@fourthworld.com> References: <4616D46C.4000704@fourthworld.com> Message-ID: <200704101134.44250.rishi@puredata.com.au> On Saturday 07 April 2007 09:14, Richard Gaskin wrote: > I'm aiming to write my own. So what I'm looking for is info on what > each of the window managers (KDE, Gnome -- other popular ones?) requires > for an app to: > > - Set up document file type associations > - Assign icons for the app and the documents > - Add shortcuts to the Start menu KDE filesystem hierarchy: http://techbase.kde.org/SysAdmin/KDE_Filesystem_Hierarchy KDE development tutorials: http://techbase.kde.org/Development/Tutorials Freedesktop.org Specifications: http://freedesktop.org/wiki/Specifications (icons, menus applinks etc) The KDE Kmenu follows this specification: http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html A bunch of links on standards and documentation here: http://vlug.org/linux/links/Documentation/Standards/index.html -- Rishi -------------- From mwieder at ahsoftware.net Mon Apr 9 21:50:37 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 Apr 2007 18:50:37 -0700 Subject: A string doesn't equal itself In-Reply-To: <20070409010024976110.820f781f@sonsothunder.com> References: <46191364.1000802@fourthworld.com> <31351149656.20070408221632@ahsoftware.net> <20070409010024976110.820f781f@sonsothunder.com> Message-ID: <31425194497.20070409185037@ahsoftware.net> Ken- Sunday, April 8, 2007, 11:00:24 PM, you wrote: > Just my 2 cents, I see your two and raise you a nickle. You're absolutely right about that. I went back and read it again. This looks quite buggy to me. IMO the quotes should prevent dereferencing and evaluation as a number. Yuck! Of possible interest is that the breakpoint is around 1.796931348E308: put "1.796931348E308" = "1.796931348E308" returns true put "1.796931349E308" = "1.796931349E308" returns false -- -Mark Wieder mwieder at ahsoftware.net From revolution at jaedworks.com Mon Apr 9 20:06:25 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 9 Apr 2007 17:06:25 -0700 Subject: image data In-Reply-To: <93351305710.20070408221909@ahsoftware.net> References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> <93351305710.20070408221909@ahsoftware.net> Message-ID: At 10:19 PM -0700 4/8/2007, Mark Wieder wrote: >> the text property of an image is the actual image data. So: > >> set the text of image "testImage" to tJPGData > >This is one of those cases where I feel the language loses its >intuitiveness... I know you have to do this, but it makes absolutely >no sense to me. It's historical. In HyperCard 1.0, only fields had settable contents, so the "text" property made perfect sense. When HyperCard 2.0 introduced buttons with contents, it still used "the text", and of course with images we go completely off the rails. For what it's worth, "put XXX into " does the same thing as "set the text of to XXX", and is considerably more intuitive. But I wouldn't object at all to adding a synonymous "content" property or something similar. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From jacque at hyperactivesw.com Tue Apr 10 01:07:17 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Apr 2007 00:07:17 -0500 Subject: image data In-Reply-To: References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> <93351305710.20070408221909@ahsoftware.net> Message-ID: <461B1B85.50907@hyperactivesw.com> Jeanne A. E. DeVoto wrote: > At 10:19 PM -0700 4/8/2007, Mark Wieder wrote: >>> the text property of an image is the actual image data. So: >> >>> set the text of image "testImage" to tJPGData >> >> This is one of those cases where I feel the language loses its >> intuitiveness... I know you have to do this, but it makes absolutely >> no sense to me. > > > It's historical. I glanced at this and read "it's hysterical". So it is. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jc at spl21.net Tue Apr 10 04:48:50 2007 From: jc at spl21.net (John Craig) Date: Tue, 10 Apr 2007 09:48:50 +0100 Subject: image data In-Reply-To: References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> <93351305710.20070408221909@ahsoftware.net> Message-ID: <461B4F72.9000500@spl21.net> Jeanne A. E. DeVoto wrote: > For what it's worth, "put XXX into " does the same thing as > "set the text of to XXX", and is considerably more intuitive. > But I wouldn't object at all to adding a synonymous "content" property > or something similar. I had a variable 'pObject' which contained the name/id of an image. 'put tData into pObject' would just throw the data into a variable called pObject, so rather than using a slower 'do...', I wanted the property name to set. One of those times where the intuitive way just wouldn't work - unless, of course, there's an easier way. From chipp at chipp.com Tue Apr 10 04:50:20 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 10 Apr 2007 03:50:20 -0500 Subject: RevZip anyone? Message-ID: <7aa52a210704100150t4c4e96a8p98c8b82a637a76aa@mail.gmail.com> Does anyone have a demo stack showing the use of RevZip...or a simple wrapper for it? TIA, Chipp From chipp at chipp.com Tue Apr 10 04:52:27 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 10 Apr 2007 03:52:27 -0500 Subject: Automatically updating a stack - How Do I Do It? In-Reply-To: <4619A541.5090802@crcom.net> References: <4619A541.5090802@crcom.net> Message-ID: <7aa52a210704100152y26330131lc95279d7ccac1dae@mail.gmail.com> Len, You're welcome to check out my version of the solution: http://www.altuit.com/webs/altuit2/MagicCarpetAAA/default.htm From chipp at chipp.com Tue Apr 10 06:27:41 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 10 Apr 2007 05:27:41 -0500 Subject: RevZip anyone? In-Reply-To: <7aa52a210704100150t4c4e96a8p98c8b82a637a76aa@mail.gmail.com> References: <7aa52a210704100150t4c4e96a8p98c8b82a637a76aa@mail.gmail.com> Message-ID: <7aa52a210704100327v72289102h3737684744f77d82@mail.gmail.com> Well, no responses. So I created a simple wrapper which will UnZip all files in a zip file to a folder maintaining original hierarchy. If there are nested files within the zip file, it will create the folders necessary. Thanks to Bj?rnke von Gierke for his sample stack. Please test it if you can on Mac OSX. Thanks. To access it enter into the message box: go URL "http://www.gadgetplugins.com/chippstuff/altUnZipAll.rev" check the card script for the altUnZip handler From chipp at chipp.com Tue Apr 10 06:44:52 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 10 Apr 2007 05:44:52 -0500 Subject: image data In-Reply-To: <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> Message-ID: <7aa52a210704100344w1f17f99flab0d50a9d9f44d17@mail.gmail.com> On 4/6/07, Trevor DeVore wrote: > the text property of an image is the actual image data. So: > > set the text of image "testImage" to tJPGData Trevor, Just to be clear. The imageData property is different from the text of an image. You can manipulate the imageData, but AFAIK you cannot manipulate the bytes of the text of an image (or at least last I heard no one has figured out how to). The text of an image contains the transparency and the RGB of the image. I also think it contains the type of image as well (PNG, JPG, BMP, GIF, etc.) best, Chipp From mark at maseurope.net Tue Apr 10 07:17:57 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 10 Apr 2007 12:17:57 +0100 Subject: RevZip anyone? In-Reply-To: <7aa52a210704100327v72289102h3737684744f77d82@mail.gmail.com> References: <7aa52a210704100150t4c4e96a8p98c8b82a637a76aa@mail.gmail.com> <7aa52a210704100327v72289102h3737684744f77d82@mail.gmail.com> Message-ID: <27C8B066-8EB2-4F6F-9F63-1300227BC8A4@maseurope.net> Chipp, worked fine on the two archives I gave it, folder structures intact. One small caveat (I don't know if this is addressable) is that one of the archives contained some old PICT files, and in the unzipped folder they had lost their file-type, and so would open in a text editor rather than the default image viewer (Apple Preview, on my system) when double clicked. Apart from that, no problem. OS 10.4.8 Best, Mark On 10 Apr 2007, at 11:27, Chipp Walters wrote: > go URL "http://www.gadgetplugins.com/chippstuff/altUnZipAll.rev" From wjm at wjm.org Tue Apr 10 07:54:35 2007 From: wjm at wjm.org (Bill Marriott) Date: Tue, 10 Apr 2007 07:54:35 -0400 Subject: A string doesn't equal itself References: <46191364.1000802@fourthworld.com><31351149656.20070408221632@ahsoftware.net><20070409010024976110.820f781f@sonsothunder.com> <31425194497.20070409185037@ahsoftware.net> Message-ID: As I recall from high school, in scientific notation the whole part of a number expressed this way must be <=1 and <10. Possibly a satisfactory enhancement would be to follow a stricter protocol for scientific notation... strings with a single "E" in them being a number if and only if they contain a decimal point after a single leading non-zero digit? 09114E715806 = text string 0.9114E715806 = text string 09.114E715806 = text string 9E715806 = text string (hm) 9.114E715806 = number You could be even stricter by requiring it be an uppercase "E" with a + or - sign following. 9.114e715806 = text string 9.114E715806 = text string 9.1E715806 = text string 91.14E+715806 = text string 9.114E+715806 = number If you are feeding the engine "9.114E+715806" it seems you couldn't really complain that it treats it as a number. Of course, who knows what is built-in to math routines on modern systems vs. what is written in Rev, and what havoc this could play with performance. If implementing this made everything 2% slower in all situations, would you rather special case it on your own with the & null workaround? "Mark Wieder" wrote in message news:31425194497.20070409185037 at ahsoftware.net... > Ken- > > Sunday, April 8, 2007, 11:00:24 PM, you wrote: > >> Just my 2 cents, > > I see your two and raise you a nickle. You're absolutely right about > that. I went back and read it again. This looks quite buggy to me. IMO > the quotes should prevent dereferencing and evaluation as a number. > Yuck! > > Of possible interest is that the breakpoint is around 1.796931348E308: > > put "1.796931348E308" = "1.796931348E308" > returns true > put "1.796931349E308" = "1.796931349E308" > returns false > > -- > -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 revolution at derbrill.de Tue Apr 10 10:54:21 2007 From: revolution at derbrill.de (Malte Brill) Date: Tue, 10 Apr 2007 16:54:21 +0200 Subject: [ANN] New game made with Rev In-Reply-To: <20070209181738.86DBB488F4E@mail.runrev.com> References: <20070209181738.86DBB488F4E@mail.runrev.com> Message-ID: <2D8C95CA-4182-4FEC-85A6-348C5D6024D1@derbrill.de> Hi Andre, thanks for the feedback. :-) Seems one needs to put a bit of energy into playing to get into the top 5 :-) And to avoid frustration I updated the highscore list, to also display the last 40 entries sorted from best to lowest score. Check it here: http://www.derbrill.de/zack/viewscore2.php?lang=en All the best, Malte > I was there playing, armed with instinct and strategy, I made careful > choices... I know Malte has an online highscore board and I decided > that I'd play to top that... after many rounds, the game used secret > weapons, I thought that we had only four colors plus the bicolor > tiles but then purple, orange... I was overwhelmed and lost, went to > see the board and my score is there in the middle, I still have a > long way to go... > > Malte, I loved the game!!! :D > From jacque at hyperactivesw.com Tue Apr 10 12:39:23 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Apr 2007 11:39:23 -0500 Subject: A string doesn't equal itself In-Reply-To: References: <46191364.1000802@fourthworld.com><31351149656.20070408221632@ahsoftware.net><20070409010024976110.820f781f@sonsothunder.com> <31425194497.20070409185037@ahsoftware.net> Message-ID: <461BBDBB.7020302@hyperactivesw.com> Bill Marriott wrote: > As I recall from high school, in scientific notation the whole part of a > number expressed this way must be <=1 and <10. > > Possibly a satisfactory enhancement would be to follow a stricter protocol > for scientific notation... strings with a single "E" in them being a number > if and only if they contain a decimal point after a single leading non-zero > digit? > > 09114E715806 = text string > 0.9114E715806 = text string > 09.114E715806 = text string > 9E715806 = text string (hm) > > 9.114E715806 = number This would be okay with me. > You could be even stricter by requiring it be an uppercase "E" with a + or - > sign following. This one I like less. Xtalk has always been case insensitive, and introducing a single instance of case sensitivity could cause trouble. In any case, I think documentation is the answer. No matter how the problem is resolved at the engine level, people will need to be aware of the potential issues. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Tue Apr 10 12:51:15 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 10 Apr 2007 09:51:15 -0700 Subject: image data In-Reply-To: <7aa52a210704100344w1f17f99flab0d50a9d9f44d17@mail.gmail.com> References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> <7aa52a210704100344w1f17f99flab0d50a9d9f44d17@mail.gmail.com> Message-ID: <227009D0-FE0A-4DB4-9740-B7276FF55565@mangomultimedia.com> On Apr 10, 2007, at 3:44 AM, Chipp Walters wrote: > Just to be clear. The imageData property is different from the text of > an image. You can manipulate the imageData, but AFAIK you cannot > manipulate the bytes of the text of an image (or at least last I heard > no one has figured out how to). > > The text of an image contains the transparency and the RGB of the > image. I also think it contains the type of image as well (PNG, JPG, > BMP, GIF, etc.) The "text" of the image is the actual image data as you would find stored in a file on disk. So if you need to save an image to disk and open it in Photoshop you could store the "text" of the image to a file: put the text of image "MyImage" into URL ("binfile:/Users/Mr User/ desktop/my image.png") The imageData is the data that is displayed on the screen. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From jacque at hyperactivesw.com Tue Apr 10 13:01:12 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Apr 2007 12:01:12 -0500 Subject: HC converted stacks In-Reply-To: References: Message-ID: <461BC2D8.7020701@hyperactivesw.com> Francis Nugent Dixon wrote: > However, a few problems are bugging me and I don't know how or why they > occur. When I open a HC converted stack, Examples : > > 1 - When I select a field or button with the pointer tool, the "up", > "down", "left" and "right" arrows on the keybord don't work any more. I > can't move my fields/buttons step by step. I notice this occasionally in any stack, it isn't just your HC conversion. Usually closing the stack and then re-opening it will fix it. > > 2 - I get strange errors flagged, such as "Repeat: error in statement" > for a script command" "repeat forever", and "Handler: error in > statement" for a script command "go to card 1". I can find NO errors in > my scripts. These should all work, so there must be something else causing it. If you could post the scripts that error we can help you track it down. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Tue Apr 10 13:00:05 2007 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 10 Apr 2007 19:00:05 +0200 Subject: A string doesn't equal itself In-Reply-To: <4619D647.1080304@fourthworld.com> References: <4619D647.1080304@fourthworld.com> Message-ID: > >Whether a string or a number, the symbol was the same on both sides. > >A=A. > >-- > Richard Gaskin > Fourth World Media Corporation Well, yes and no, Richard. Recall the recent discussion about floating point numbers. What must be happening here is that the conversion to floating numbers picks some random garbage numbers at far off places and makes the strings mathematically different. Robert From pevensen at siboneylg.com Tue Apr 10 14:04:01 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 10 Apr 2007 13:04:01 -0500 Subject: Changing the Application menu name on OS X Message-ID: <6.2.1.2.2.20070410130237.066f4a30@exchange.slg.com> Is there any way to change the default application menu name on Mac OS X. I have a stack that changes it's name (i.e., title bar name) depending on a configuration file. The default application menu in the upper left (next to the apple), however, doesn't change. Is there some way to change menu name? Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From sanke at hrz.uni-kassel.de Tue Apr 10 14:07:43 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 10 Apr 2007 20:07:43 +0200 Subject: imagedata Message-ID: <461BD26F.3030609@hrz.uni-kassel.de> Another interesting difference between "text" and the "imagedata" of an image is the different file size, e.g. I have got a JPG file here of 261 KB. The saved "text" of that file is of the same size - as interestingly is the compressed text, too. The saved imagedata of that image comprises 1200 KB, if compressed 835 KB. This difference in size is certainly relevant when you wish to store images in custom properties. However, apparently "text of the image" data cannot be manipulated in a consistent way (as Chipp Walters also pointed out - we had discussed that a while ago on the Metacard list), so for changing images by way of filters of otherwise you have to use the "imagedata". --Wilhelm Sanke From revolution at jaedworks.com Tue Apr 10 01:42:34 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 9 Apr 2007 22:42:34 -0700 Subject: Automatically updating a stack - How Do I Do It? In-Reply-To: <4619A541.5090802@crcom.net> References: <4619A541.5090802@crcom.net> Message-ID: At 9:30 PM -0500 4/8/2007, Len Morgan wrote: >I'd like the app to check for newer versions on my server at >startup. I've stored a custom property in each stack that has a >version and a build number but it occurs to me that I can't get that >information until I "start using" the stack. Once that's done, if I >find (through a onPreOpenStack handler) that the server has a newer >version, how can I download the newer version? Will I have to >notify the user that a new version has been downloaded and require >them to restart? Can I change a running stack (reload the updated >version without reloading the OS cached version). The easiest way to do this is probably to download the new version and save it to the old location, then use the "revert" command to reload the new stack. ("revert" actually reads from the disk file, so in this case, it will read in the version newly stored in the original location.) This only works for separate stacks, however, not for the standalone itself. To replace the standalone, you need to download the new one and then prompt the user to quit and relaunch. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From len-morgan at crcom.net Tue Apr 10 14:22:54 2007 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 10 Apr 2007 13:22:54 -0500 Subject: Automatically updating a stack - How Do I Do It? Message-ID: <461BD5FE.3030703@crcom.net> Thanks for the link Chipp. That seems like a very workable method for my app. It did brings up a couple of questions though: 1) At step 5 of the "Instructions" page, you say "...then check the version of it..." (the mainstack). Can a custom property be read without launching or loading the stack that contains it? I had always thought that you had to "start using stackfile" before you could read any properties from it. It this is not the case, are custom properties the ONLY thing you can read (and set?) without opening/running the stack? 2) This kind of goes with question above: is the Vers property of the mainstack stored in the main stack file or is it in the altSplash launcher? 3) When you have an application like MagicCarpet for example, that consists of a main app and plugins and maybe a few other files/images as well, do you only have one version number (i.e., the version of the mainstack and then just re-download EVERYTHING if any of the component parts has a change or does each file have it's own Vers variable that the mainstack checks (like the altSplash launcher does) and only download those parts that have changed? 4) On Windows, is the "All Users" folder writable by any user or just readable? I always thought that this folder required Administrator privileges to write. 5) What are the distribution/use terms for altSplash? Do I need to buy a copy of MagicCarpet to be able to use it legally or just so I'll sleep better at night? :-) I'm going to buy it anyway but I just thought I'd ask in case there are any other restrictions on it's use. Thanks again, Len Morgan Chipp Walters wrote: >Len, > You're welcome to check out my version of the solution: > http://www.altuit.com/webs/altuit2/MagicCarpetAAA/default.htm From kray at sonsothunder.com Tue Apr 10 14:32:58 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 10 Apr 2007 13:32:58 -0500 Subject: Changing the Application menu name on OS X In-Reply-To: <6.2.1.2.2.20070410130237.066f4a30@exchange.slg.com> References: <6.2.1.2.2.20070410130237.066f4a30@exchange.slg.com> Message-ID: <20070410133258950538.84b4349d@sonsothunder.com> On Tue, 10 Apr 2007 13:04:01 -0500, Peter T. Evensen wrote: > Is there any way to change the default application menu name on Mac > OS X. I have a stack that changes it's name (i.e., title bar name) > depending on a configuration file. The default application menu in > the upper left (next to the apple), however, doesn't change. Is > there some way to change menu name? Sorry, Peter, the name comes from a value in the info.plist file inside the application bundle on OS X. Although you could change it programmatically, you wouldn't see the change until you quit and relaunched the app, and even then I'm not sure it that would work without changing the corresponding engine name to be the same as what's in the info.plist. Doable, but not easy. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From geradamas at yahoo.com Tue Apr 10 15:21:11 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 10 Apr 2007 20:21:11 +0100 (BST) Subject: Back to the Future: Classic support? Message-ID: <544409.56196.qm@web37515.mail.mud.yahoo.com> My kids' G3 Combo drive iMac was having a "bit of a crunchy time" with Mac OS 10.4 so I scrubbed it and loaded up Mac 9.2.1 - took it downstairs to the school and bought the macMini upstairs for the kids (OK, OK, I know I shouldn't spoil the monsters). The G3 iMac is just the ticket for showing Longman DVDs and listening CDs to the long-suffering students I teach. The students use my RR programs on the Ubuntu boxes - however, for Demo purposes it might not be a bad thing to show some of them on the G3 upfront - so loaded RR 2.0.1 "Free" and some things did not work too well. So? will the upcoming 2.9 feature Classic support - and will there be a Revolution player for classic that can handle the new stack format? further to that - I am thinking of going to Scotland in the summer and liberating the 3 PPC Macs I have mouldering in my attic there - and, just possibly using them instead of the Ubuntu boxes from then on. Why? Ease of use for students. sincerely, Richmond Macintosh. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From chipp at chipp.com Tue Apr 10 15:26:34 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 10 Apr 2007 14:26:34 -0500 Subject: Automatically updating a stack - How Do I Do It? In-Reply-To: <461BD5FE.3030703@crcom.net> References: <461BD5FE.3030703@crcom.net> Message-ID: <7aa52a210704101226u1073b996g767c2875a459e091@mail.gmail.com> Hi Len, See below.. > 1) At step 5 of the "Instructions" page, you say "...then check the version of it..." (the mainstack). Can a custom property be read without launching or loading the stack that contains it? I had always thought that you had to "start using stackfile" before you could read any properties from it. It this is not the case, are custom properties the ONLY thing you can read (and set?) without opening/running the stack? Yes, you can get the value of a fld from a closed stack, but you might want to make sure it's a stack first...and you *should* close it (delete stack) after reading it. if there is a stack "C:/test.rev" then put fld "vers" of stack "C:/test.rev" into tVersion > 2) This kind of goes with question above: is the Vers property of the mainstack stored in the main stack file or is it in the altSplash launcher? MainStack. The launcher has it's own version which gets checked. If the launcher needs redownloading, I generally open a web page and let the user download a new launcher. This is rarely done, as the code which gets modified is typically in the mainstack or substacks. > 3) When you have an application like MagicCarpet for example, that consists of a main app and plugins and maybe a few other files/images as well, do you only have one version number (i.e., the version of the mainstack and then just re-download EVERYTHING if any of the component parts has a change or does each file have it's own Vers variable that the mainstack checks (like the altSplash launcher does) and only download those parts that have changed? I have another library which I use in my mainstack to manage the versioning of all 'other' stacks, and files (using checksum), and other stuff. > 4) On Windows, is the "All Users" folder writable by any user or just readable? I always thought that this folder required Administrator privileges to write. You can use any of the specialFolderPath vars you like. My latest version allows also for the creation of portable apps, which can be installed anywhere (including a thumb drive). I prefer this as it's easier to manage a single folder of files rather than dispersed all over the drive. > 5) What are the distribution/use terms for altSplash? Do I need to buy a copy of MagicCarpet to be able to use it legally or just so I'll sleep better at night? :-) I'm going to buy it anyway but I just thought I'd ask in case there are any other restrictions on it's use. Feel free to use it in your own commercial or personal apps. best, Chipp From revolution at jaedworks.com Tue Apr 10 16:36:11 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 10 Apr 2007 13:36:11 -0700 Subject: image data In-Reply-To: <7aa52a210704100344w1f17f99flab0d50a9d9f44d17@mail.gmail.com> References: <461644F6.2010506@spl21.net> <66E95366-AFF0-435D-9BC1-1895A17A9857@mangomultimedia.com> <7aa52a210704100344w1f17f99flab0d50a9d9f44d17@mail.gmail.com> Message-ID: At 5:44 AM -0500 4/10/2007, Chipp Walters wrote: >Just to be clear. The imageData property is different from the text of >an image. You can manipulate the imageData, but AFAIK you cannot >manipulate the bytes of the text of an image (or at least last I heard >no one has figured out how to). You can do it if you understand the format that particular image is in (JPEG, PNG, etc.) But it's a pain, since the image formats Rev supports are none of them as simple as the 4-bytes-per-pixel, uncompressed, no-headers format of the imageData. If you want to manipulate pixels, you'd have to come up with a routine to translate the image contents into some format that's very like the imageData in any case. So in practice it just makes a lot more sense to manipulate the imageData if you are doing filtering or similar operations. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From sanke at hrz.uni-kassel.de Tue Apr 10 17:13:57 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 10 Apr 2007 23:13:57 +0200 Subject: image data Message-ID: <461BFE15.4090401@hrz.uni-kassel.de> On Tue Apr 10, 2007, Jeanne A. E. DeVoto revolution at jaedworks.com wrote: > You can do it if you understand the format that particular image is > in (JPEG, PNG, etc.) But it's a pain, since the image formats Rev > supports are none of them as simple as the 4-bytes-per-pixel, > uncompressed, no-headers format of the imageData. > > If you want to manipulate pixels, you'd have to come up with a > routine to translate the image contents into some format that's very > like the imageData in any case. So in practice it just makes a lot > more sense to manipulate the imageData if you are doing filtering or > similar operations. > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com I would very much like to try out to come up with a routine to manipulate pixels on the basis of the "text of image" property (to compare it with the possibilities the imagedata format offers). Where could I find background information for such an approach? --Wilhelm Sanke From shaosean at wehostmacs.com Tue Apr 10 17:51:38 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Tue, 10 Apr 2007 17:51:38 -0400 Subject: Back to the Future: Classic support? Message-ID: <407f5e024e0c264b88d60fda1381390d@wehostmacs.com> Even if Rev doesn't ever bring Classic and *NIX support up to par with the Mac OS X and Windows versions, I'd love to see them do a goodwill gesture and fix the database support in compiled applications for Mac Classic. Database support works fine in the IDE, but not in compiled applications and due to that I lost out on doing some fun projects :-( -Sean ps.. 2.5 and 2.6 were tested, the database to access was MySQL and the other database connectors may actually work but I never had access to those kinds of databases. From josh at dvcreators.net Tue Apr 10 18:15:49 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 10 Apr 2007 15:15:49 -0700 Subject: XP and Vista question In-Reply-To: <79d1bee70704090231r41ca903s4acf431f0bf07328@mail.gmail.com> References: <45F4D89A.8020204@howsoft.com> <79d1bee70704090231r41ca903s4acf431f0bf07328@mail.gmail.com> Message-ID: I was just about to post that same link. The paper, a dry, pictureless but very informative and cleverly written tome called "A Cost Analysis of Windows Vista Content Protection", describes troubles with the Content Protection specification of Vista, Microsoft?s next operating system. Here is the "Executive Executive Summary": "The Vista Content Protection specification could very well constitute the longest suicide note in history." Ostensibly, professional media applications, like editing, motion graphics and audio applications from Adobe, Avid/DigiDesign, Discreet and many other Windows developers will somehow be able to bypass or disable this protection scheme, but it might be such a laborious process that some developers will lean towards OS X or Linux, or, if cross-platform, drop the Vista version. Adobe has already announced that the next versions of Premiere, Encore and other previously Windows-only apps will also be released on OS X. Or, Microsoft could come to their senses and greatly modify this spec. But, if the predictions made in this document are true, it could make professional media production systems based on Vista *more expensive* than equivalent performance OS X systems, due to needing more powerful CPUs and GPUs, and faster busses to provide the same speed, meaning the 50% of digital media pros who use Windows might have to re-evaluate to cut costs when it comes time to upgrade their hardware. Historically, digital media pros who use Windows systems do so either because of Windows-only software or because they were more cost- effective. Like you, I believe digital media is the future, and so a mutiny to OS X by digital media pros will lead a "sea change" that subtly, imperceptibly, will tilt the platform away from Vista. On Apr 9, 2007, at 2:31 AM, Martin Blackman wrote: > Not sure if this link has already been posted but here is a > fascinating analysis of the costs & repercussions of Vista's DRM > > http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.html#author > > There are many nice quotes in the article, here is just one- > "Because Windows dominates the market and device vendors are unlikely > to design and manufacture two different versions of their products, > non-Windows users will be paying for Windows Vista content-protection > measures in products even if they never run Windows on them." > _______________________________________________ > use-revolution mailing list > use-revolution 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 jc at spl21.net Tue Apr 10 18:21:46 2007 From: jc at spl21.net (John Craig) Date: Tue, 10 Apr 2007 23:21:46 +0100 Subject: image data In-Reply-To: <461BFE15.4090401@hrz.uni-kassel.de> References: <461BFE15.4090401@hrz.uni-kassel.de> Message-ID: <461C0DFA.1010308@spl21.net> Check out http://www.jpeg.org/jpeg/ Wilhelm Sanke wrote: > > I would very much like to try out to come up with a routine to > manipulate pixels on the basis of the "text of image" property (to > compare it with the possibilities the imagedata format offers). Where > could I find background information for such an approach? From coolsnowlime at yahoo.com Tue Apr 10 20:30:50 2007 From: coolsnowlime at yahoo.com (Sue Smith) Date: Tue, 10 Apr 2007 17:30:50 -0700 (PDT) Subject: go to stack question Message-ID: <719435.78702.qm@web30606.mail.mud.yahoo.com> I realize this is a very basic question, but I can?t make it work. I need to go from the default stack A to a second stack B, and also close stack A. Does stack B need to be a substack of A? If so, is there a way to import it into stack A. Does anyone have any suggestions? Thanks! ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 From cmsheffield at gmail.com Tue Apr 10 20:36:35 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 10 Apr 2007 18:36:35 -0600 Subject: Back to the Future: Classic support? In-Reply-To: <407f5e024e0c264b88d60fda1381390d@wehostmacs.com> References: <407f5e024e0c264b88d60fda1381390d@wehostmacs.com> Message-ID: <1d93d94b0704101736m354538b3se83ceaf60cb96c8@mail.gmail.com> Sean, Actually, I've got an app for Mac Classic that accesses a MySQL database just fine. There's a trick to getting it to work, though. There is something funny with the Mac Classic engine and Valentina. For some reason the two are bound together. So the trick to getting an app to work with MySQL is to build it with both MySQL and Valentina support (using 2.6.1, the latest to support Mac Classic). Using this method builds a standalone that should be able to access a MySQL database without problems. The part I can't remember is whether or not it's necessary to leave the Valentina library next to the app. You might have to just try it with and without it. Hope that helps. Chris Sheffield On 4/10/07, Shao Sean wrote: > Even if Rev doesn't ever bring Classic and *NIX support up to par with > the Mac OS X and Windows versions, I'd love to see them do a goodwill > gesture and fix the database support in compiled applications for Mac > Classic. Database support works fine in the IDE, but not in compiled > applications and due to that I lost out on doing some fun projects :-( > > -Sean > > ps.. 2.5 and 2.6 were tested, the database to access was MySQL and the > other database connectors may actually work but I never had access to > those kinds of databases. > > _______________________________________________ > use-revolution mailing list > use-revolution 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 jperryl at ecs.fullerton.edu Tue Apr 10 20:46:25 2007 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 10 Apr 2007 17:46:25 -0700 (PDT) Subject: go to stack question In-Reply-To: <719435.78702.qm@web30606.mail.mud.yahoo.com> Message-ID: Sue, It may not seem obvious or intuitive, but try this: Create one mainstack; save it as "Test-A.rev" Create another mainstack; save it as "Test-B.rev" Go to the first stack and create a button Give that button the following script: on mouseUp go stack "Test-B.rev" Save both stacks Close the second stack Now try clicking on your button. Doesn't work, right? Manually open the second stack via the menu: File -> Open Recent File NOW, and this seems to be the crucial step, access that second stack's inspector palette via the menu command Object -> Stack Inspector In this window, name the second stack "Test-B.rev". Save and close it. Try the button on the first stack again; it should now work ;-) Even though the *file* was already named with the correct name, Rev allows you to name the stack reference something else, and the go stack command was looking for that stack object's name methinks. HTH, Judy On Tue, 10 Apr 2007, Sue Smith wrote: > I realize this is a very basic question, but I can?t > make it work. I need to go from the default stack A to > a second stack B, and also close stack A. Does stack B > need to be a substack of A? If so, is there a way to > import it into stack A. > > Does anyone have any suggestions? > > Thanks! > > > > > ____________________________________________________________________________________ > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. > http://answers.yahoo.com/dir/?link=list&sid=396546091 > _______________________________________________ > use-revolution mailing list > use-revolution 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 brentj84062 at gmail.com Tue Apr 10 20:46:59 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Tue, 10 Apr 2007 18:46:59 -0600 Subject: go to stack question In-Reply-To: <719435.78702.qm@web30606.mail.mud.yahoo.com> References: <719435.78702.qm@web30606.mail.mud.yahoo.com> Message-ID: Hello. To go from anywhere (Even if a stack isn't open yet) to another stack, issue the go command as in... go to stack "B" I would recommend including stack B in stack A so that you don't have to deal with locating stack B when you want to go to it. To add stack B as a substack, open up stack A, open the inspector palette for Stack B and choose stack A as the mainstack of stack B (There is a dialog box for doing this). Finally, to close stack A, you can just hide the stack using the hide command... hide stack "A" Thanks, Brent Anderson The Christa McAuliffe Space Education Center www.spacecamputah.org From mark at maseurope.net Tue Apr 10 20:53:36 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 11 Apr 2007 01:53:36 +0100 Subject: image data In-Reply-To: <461BFE15.4090401@hrz.uni-kassel.de> References: <461BFE15.4090401@hrz.uni-kassel.de> Message-ID: Wilhelm, I would think that it's not possible with JPEGs and PNGs , since they are compressed formats, and running filters on them would be a bit like trying to run a spellcheck on a zipped text file. With uncompressed formats like TIFFs, you would have to parse the file headers to extract the actual pixel data, which is presumably going to be the same data as the imageData. Best, Mark On 10 Apr 2007, at 22:13, Wilhelm Sanke wrote: > > I would very much like to try out to come up with a routine to > manipulate pixels on the basis of the "text of image" property (to > compare it with the possibilities the imagedata format offers). > Where could I find background information for such an approach? > > --Wilhelm Sanke > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 10 22:28:09 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 Apr 2007 19:28:09 -0700 Subject: A string doesn't equal itself In-Reply-To: References: <46191364.1000802@fourthworld.com><31351149656.20070408221632@ahsoftware.net><20070409010024976110.820f781f@sonsothunder.com> <31425194497.20070409185037@ahsoftware.net> Message-ID: <11513846301.20070410192809@ahsoftware.net> Bill- Tuesday, April 10, 2007, 4:54:35 AM, you wrote: > If you are feeding the engine "9.114E+715806" it seems you couldn't really > complain that it treats it as a number. Since that's the only one you put quotes around, I'd argue that yes, you can complain about it. I would think the quotes would say "don't evaluate anything within". That's how you pass variable names instead of variable contents, and it could get disastrous if they got evaluated within the quotes. -- -Mark Wieder mwieder at ahsoftware.net From revolution at jaedworks.com Tue Apr 10 21:21:50 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 10 Apr 2007 18:21:50 -0700 Subject: image data In-Reply-To: <461BFE15.4090401@hrz.uni-kassel.de> References: <461BFE15.4090401@hrz.uni-kassel.de> Message-ID: At 11:13 PM +0200 4/10/2007, Wilhelm Sanke wrote: >I would very much like to try out to come up with a routine to >manipulate pixels on the basis of the "text of image" property (to >compare it with the possibilities the imagedata format offers). >Where could I find background information for such an approach? I warn you ahead of time that it will be ugly and you will probably pull out much of your hair. ;-) That being said, I think the best approach is to choose a format to work with, then consult the standards documentation for that format. For example, you might choose to work with JPEG images. I think John Craig mentioned as a good URL to start with, although I think the Wikipedia page on JPEG is mmore informative . The text property of the image is in the format specified by the image's paintCompression, so for practical purposes you treat this property as though it were a JPEG file, decoding the data and then performing whatever transformation you need on it, then re-encoding it and putting the result into the image. (This is essentially what the engine is already doing when it displays a JPEG image, allows you to change it using paint tools or imageData, and saves the changed image.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From chipp at chipp.com Wed Apr 11 00:51:13 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 10 Apr 2007 23:51:13 -0500 Subject: XP and Vista question In-Reply-To: References: <45F4D89A.8020204@howsoft.com> <79d1bee70704090231r41ca903s4acf431f0bf07328@mail.gmail.com> Message-ID: <7aa52a210704102151v574cf76aj3082bc8f41cae06d@mail.gmail.com> Been reading this same sort of doom and gloom regarding Microsoft for years. When MS makes mistakes (frequently), they often do change their course-- and quickly. Back in 2002, MS announced Palladium trusted computing bound to the chip, would be involved in it's next version of WinXP. With it, software developers could license directly to the processor serial number. There was such a big outcry, that it was quickly dismissed. Looks like they're taking another run at it- but I imagine it will be bypassed quickly by smart developers who know what their customers want. Now with Jobs pushing for non-DRM'd music (yay!), I expect even more pressure will come to bear on MS's draconian DRM practices. And MS stockholders and Wall Street won't suffer their stupidity long on this issue. I predict it will be a non-issue in 12 months. -Chipp From bridgeyman at gmail.com Wed Apr 11 02:10:27 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Wed, 11 Apr 2007 00:10:27 -0600 Subject: Drag Files To Application Icon Message-ID: <86ae76bb0704102310w39a3c910s3daca7f727c19e01@mail.gmail.com> Hey, How can I handle the dragging of a file onto my standalone application's icon (in the dock or on startup)? Is this easily done in Transcript? TTFN Bridger Maxwell Fiery Ferret From m.schonewille at economy-x-talk.com Wed Apr 11 04:18:05 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Apr 2007 10:18:05 +0200 Subject: Drag Files To Application Icon In-Reply-To: <86ae76bb0704102310w39a3c910s3daca7f727c19e01@mail.gmail.com> References: <86ae76bb0704102310w39a3c910s3daca7f727c19e01@mail.gmail.com> Message-ID: <22CE4302-3FC7-4425-A9B6-EDDDF6C3F4D4@economy-x-talk.com> Hi Bridger, Use AppleEvents. There are quite a few examples available in the list archives now. If you put the following script into the stack script of a standalone, you will have an easy way to understand how AppleEvents work. Your stack also needs a text field. on appleEvent theClass,theEvent,theSender put theClass & cr & theEvent & cr & theSender & cr & cr into myData request appleEvent data put it after myData put myData into fld 1 end appleEvent Best regards, 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 11-apr-2007, om 8:10 heeft Bridger Maxwell het volgende geschreven: > Hey, > How can I handle the dragging of a file onto my standalone > application's > icon (in the dock or on startup)? Is this easily done in Transcript? > > TTFN > Bridger Maxwell > Fiery Ferret > _______________________________________________ > use-revolution mailing list > use-revolution 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 Wed Apr 11 05:34:58 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 11 Apr 2007 12:34:58 +0300 (FLE Daylight Time) Subject: imagedata References: <461BD26F.3030609@hrz.uni-kassel.de> Message-ID: <461CABC2.000001.02292@MAZYTIS> The most straightforward image file format suported by Rev afaik is ppm (portable pixelmap), it consists of just a header and a sequence of RGB triplets (either in ascii or in binary form): http://local.wasp.uwa.edu.au/~pbourke/dataformats/ppm/ pgm (portable greymap) - header and each cell represented by a single greyscale value pbm (portable bitmap) - header and each cell represented by 0 or 1 (black and white) So ppm/pgm/pbm is more compact than imageData and therefore processing may be a bit faster. But be warned - I did not try this yet in Revolution, I used to work with these formats in other languages before started playing with Rev. However now using imageData mostly - but if ppm still is the same real ppm in the text of image, then it is worth to try - performance gain may be possible... All the best Viktoras From berriep at btinternet.com Sat Apr 7 05:45:15 2007 From: berriep at btinternet.com (peter) Date: Sat, 7 Apr 2007 10:45:15 +0100 Subject: Linux installation - menus Message-ID: <200704071045.15773.berriep@btinternet.com> http://standards.freedesktop.org/menu-spec/latest/ is probably the first place to go for how to do menus independently of WMs. Peter From davidmann4761 at yahoo.com Tue Apr 10 16:54:01 2007 From: davidmann4761 at yahoo.com (DAVID DEATON) Date: Tue, 10 Apr 2007 13:54:01 -0700 (PDT) Subject: Regarding RunTime Revolution Message-ID: <20070410205401.70833.qmail@web52506.mail.re2.yahoo.com> Will Someone please Tell me how to make A button i created in one of my applications in run-time revolution only click on The left button of the mouse, it clicks on all three buttons of the mouse i don't like that. I have Searched And Look on line in The Documentations A everything to figure this out. And I can find it. Please help. Thanks. And another Thing, Is it possible to keep an application that is running to not show up in the Task Manager of windows. so that it cannot be closed? --------------------------------- No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. From xavier.bury at clearstream.com Wed Apr 11 07:48:01 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Wed, 11 Apr 2007 13:48:01 +0200 Subject: Regarding RunTime Revolution In-Reply-To: <20070410205401.70833.qmail@web52506.mail.re2.yahoo.com> Message-ID: hi David, here's a little script for your button on mouseup theMouseParam if theMouseParam is 1 then answer "You clicked the left button" else exit mouseup end if end mouseup As for the task manager, no, you can't make an app invisible. You can hide it from the taskbar by setting the stack's decorations to empty only... Regards, Xavier use-revolution-bounces at lists.runrev.com wrote on 10/04/2007 22:54:01: > Will Someone please Tell me how to make A button i created in one of my > applications in run-time revolution only click on The left button > of the mouse, it > clicks on all three buttons of the mouse i don't like that. I have Searched > And Look on line in The Documentations A everything to figure this > out. And I > can find it. Please help. Thanks. > And another Thing, Is it possible to keep an application that is > running to not show up in the Task Manager of windows. so that it > cannot be closed? > ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg RC Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From eric.chatonet at sosmartsoftware.com Wed Apr 11 07:53:56 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 11 Apr 2007 13:53:56 +0200 Subject: Regarding RunTime Revolution In-Reply-To: <20070410205401.70833.qmail@web52506.mail.re2.yahoo.com> References: <20070410205401.70833.qmail@web52506.mail.re2.yahoo.com> Message-ID: <65E7011B-C0C0-43E9-A6C6-DF1DD47938A1@sosmartsoftware.com> Hi David, Le 10 avr. 07 ? 22:54, DAVID DEATON a ?crit : > Will Someone please Tell me how to make A button i created in one > of my > applications in run-time revolution only click on The left button > of the mouse, it > clicks on all three buttons of the mouse i don't like that. I have > Searched > And Look on line in The Documentations A everything to figure this > out. And I > can find it. Please help. Thanks. > And another Thing, Is it possible to keep an application that is > running to not show up in the Task Manager of windows. so that it > cannot be closed? Rev allows to handle left and right click by checking a parameter sent by the engine to up and down mouse events. For instance: on mouseUp pButton switch pButton case 1 break case 3 end switch end mouseUp AFAIK, third button (or pressing the mouse wheel) is not standard and trapping the rawKeyUp message don't return anything in this case. As for not showing an application in the Task Manager, I don't think it's possible: this would make the Task Manager useless :-) As for not showing an application in the tray, just hide it, set its mode to another mode than topLevel or set its decorations to empty. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Wed Apr 11 08:18:46 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Apr 2007 14:18:46 +0200 Subject: Non-descriptive subject headers In-Reply-To: <20070410205401.70833.qmail@web52506.mail.re2.yahoo.com> References: <20070410205401.70833.qmail@web52506.mail.re2.yahoo.com> Message-ID: Dear list members, Every so often, discussions on this list get a subject header that makes it difficult to find the messages again later on. Existing examples of non-descriptive subject headers are: Regarding RunTime Revolution Please Help PLEASE HELP I need help!!! Windows question Various questions Yet Another Question Newbie Question Yet another Newbie Question Very newbie question true newbie Unusual Problems strange code problem Silly question Very Very Very Basic Question!!!!! New to the mailing list need a little help use-revolution Digest, Vol #, Issue ## May I kindly request the use of meaningful subject headers? This will make it easier for all of us to find solutions to problems that have been discussed before. Thanks, 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 10-apr-2007, om 22:54 heeft DAVID DEATON het volgende geschreven: > Will Someone please Tell me how to make A button i created in one > of my > applications in run-time revolution only click on The left button > of the mouse, it > clicks on all three buttons of the mouse i don't like that. I have > Searched > And Look on line in The Documentations A everything to figure this > out. And I > can find it. Please help. Thanks. > And another Thing, Is it possible to keep an application that is > running to not show up in the Task Manager of windows. so that it > cannot be closed? From toolbook at kestner.de Wed Apr 11 08:20:33 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 11 Apr 2007 14:20:33 +0200 Subject: does altSQLite still exists? Message-ID: <003701c77c33$ce58f060$18b2a8c0@TiemoPC2> Hello, I need a small, but reliable, single user database for win and Mac and have read about altSQLite. For me it seemed to be the best solution, because I don't need all of valentines features for my small solution. Now I have found that altuit doesn't sell altSQLite any more, but I can't find it at runrev (to whom it should have been sold). Can someone clearify this for me, what has happened here? - some technical or political stuff, which I - as a revolution newbee - have to know? Are there any old licences of altSQLite, which still work with 2.8? In case altSQLite isn't any more on the market, which "next bigger" sql database for win and mac is your recommendation? Is valentine the product of choice? Thank you Tiemo From soapdog at mac.com Wed Apr 11 08:33:33 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 11 Apr 2007 05:33:33 -0700 Subject: does altSQLite still exists? In-Reply-To: <003701c77c33$ce58f060$18b2a8c0@TiemoPC2> References: <003701c77c33$ce58f060$18b2a8c0@TiemoPC2> Message-ID: <7C2203C2-0111-1000-E83E-E780896BC65D-Webmail-10008@mac.com> Tiemo, check the latest revolution newsletter, it has a link to the page with the plugins/externals. andre On Wednesday, April 11, 2007, at 12:22AM, "Tiemo Hollmann TB" wrote: >Hello, > >I need a small, but reliable, single user database for win and Mac and have >read about altSQLite. For me it seemed to be the best solution, because I >don't need all of valentines features for my small solution. Now I have >found that altuit doesn't sell altSQLite any more, but I can't find it at >runrev (to whom it should have been sold). > > > >Can someone clearify this for me, what has happened here? - some technical >or political stuff, which I - as a revolution newbee - have to know? > >Are there any old licences of altSQLite, which still work with 2.8? > >In case altSQLite isn't any more on the market, which "next bigger" sql >database for win and mac is your recommendation? Is valentine the product of >choice? > > > >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 Wed Apr 11 09:26:49 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 11 Apr 2007 15:26:49 +0200 Subject: does altSQLite still exists? Message-ID: <005f01c77c3d$10204cb0$18b2a8c0@TiemoPC2> Andre I am new to revolution and didn't received a newsletter yet. Do I have to subscribe for the newsletter, or does everybody with a licence gets it? Can you forward that newsletter off list to me? Thank you Tiemo From soapdog at mac.com Wed Apr 11 10:20:20 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 11 Apr 2007 07:20:20 -0700 Subject: does altSQLite still exists? In-Reply-To: <005f01c77c3d$10204cb0$18b2a8c0@TiemoPC2> References: <005f01c77c3d$10204cb0$18b2a8c0@TiemoPC2> Message-ID: <8C4600E1-0111-1000-8028-6AA6ECABD865-Webmail-10014@mac.com> Tiemo, better than that, I just found the page where they are for you http://www.runrev.com/offers/plugins.php Have Fun! Chipp and Chris products rocks! Andre On Wednesday, April 11, 2007, at 01:27AM, "Tiemo Hollmann TB" wrote: >Andre > >I am new to revolution and didn't received a newsletter yet. Do I have to >subscribe for the newsletter, or does everybody with a licence gets it? > >Can you forward that newsletter off list to me? > > > >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 Wed Apr 11 10:26:57 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 11 Apr 2007 16:26:57 +0200 Subject: does altSQLite still exists? Message-ID: <006401c77c45$7813ce20$18b2a8c0@TiemoPC2> Great, thanks Andre! Tiemo, better than that, I just found the page where they are for you http://www.runrev.com/offers/plugins.php Have Fun! Chipp and Chris products rocks! Andre From kray at sonsothunder.com Wed Apr 11 11:50:42 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 11 Apr 2007 10:50:42 -0500 Subject: Regarding RunTime Revolution In-Reply-To: <20070410205401.70833.qmail@web52506.mail.re2.yahoo.com> References: <20070410205401.70833.qmail@web52506.mail.re2.yahoo.com> Message-ID: <20070411105042876587.43502dcf@sonsothunder.com> On Tue, 10 Apr 2007 13:54:01 -0700 (PDT), DAVID DEATON wrote: > Will Someone please Tell me how to make A button i created in one of my > applications in run-time revolution only click on The left button of > the mouse, it > clicks on all three buttons of the mouse i don't like that. I have Searched > And Look on line in The Documentations A everything to figure this > out. And I > can find it. Please help. Thanks. There is a parameter to the mouse messages (mouseUp, etc.) that includes the mouse button that was clicked (see the docs on "mouseUp", etc.). You could filter for it: on mouseUp pBtn if pBtn <> 1 then exit to top -- don't do anything -- the rest of your script here end mouseUp > And another Thing, Is it possible to keep an application that is > running to not show up in the Task Manager of windows. so that it > cannot be closed? Not that I'm aware of, but why would you want to do that? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From scott at cdroo.com Wed Apr 11 12:45:32 2007 From: scott at cdroo.com (Scott Kane) Date: Thu, 12 Apr 2007 02:45:32 +1000 Subject: Regarding RunTime Revolution References: <20070410205401.70833.qmail@web52506.mail.re2.yahoo.com> <20070411105042876587.43502dcf@sonsothunder.com> Message-ID: <000401c77c58$d42cf1b0$0201010a@esbgdi9s3atqpx> > Not that I'm aware of, but why would you want to do that? You can do it (not necessarily using Rev), but it's bad form and what's to save the poor user if the program goes ballistic. Scott From lists at mangomultimedia.com Wed Apr 11 12:53:59 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 11 Apr 2007 09:53:59 -0700 Subject: How does "ask file with type" work? In-Reply-To: <46165DEC.8030909@fourthworld.com> References: <46165DEC.8030909@fourthworld.com> Message-ID: I just finished dealing with a support issue on Windows related to this so I want to add some additional notes. On Apr 6, 2007, at 7:49 AM, Richard Gaskin wrote: > If you supply a default name, the name portion preceding the file > name extension is selected, preserving the file type extension. > That works well. This works on OS X but not Windows. On Windows the entire file name (including extension) is selected. If the user just starts typing away then the extension is lost. This seems to be the standard behavior with other Windows applications but see below. > So this comes down to Dave's suggestion that the ask file command > somehow force a file type extension when the user has deleted it > from the prompt, and also provide its own notification of any > conflicts with existing files. > > OS X allows the developer to supply a file extension, and Rev > provides a means for doing that. But apparently the OS doesn't > prevent the user from going out of their way to delete file type > extensions in its dialog, and the "ask file" command (when used > outside of the Message Box) faithfully returns exactly what the > user entered. I just tested Notepad and SnagIt on Windows. The behavior in ask file dialogs is to automatically append the extension of the currently selected "Save as type:". In Notepad I tried to save a file as "test" in a folder that had a "test.txt" file already. I clicked the "Save" button and was immediately presented with a dialog asking if I wanted to replace "test.txt" (ask dialog did not disappear). So on Windows I think the file extension of the currently selected "Save as type:" should be automatically appended to the file name. On Mac I think the current behavior is correct since file extensions aren't required. The fact that lots of us are writing cross-platform software means some of us might want to enforce file extensions so the files can travel between different operating systems easily enough. Maybe an option to force the extension on OS X would be nice as well. We can do it manually now but it would be nice to not have to add the extra code to check each time. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From mdswindell at cruzio.com Wed Apr 11 12:58:26 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 11 Apr 2007 09:58:26 -0700 Subject: OT Ugly fonts using XP/Parallels Message-ID: <79ADAF61-501E-40F1-9508-D07355F95F92@cruzio.com> Newbie question: I've finally got Parallels and Windows XP Home Edition installed and running on a MacBook Pro... but the fonts look terrible... . thin and straggly and grayish... both in the system and Explorer I've looked around the Parallels site for info and come up with nothing. It's not right, as I looked at a friend's native XP setup and things looked fine. Anyone here seen this, or have a solution? Thanks Mark From revolution at jaedworks.com Wed Apr 11 13:23:07 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 11 Apr 2007 10:23:07 -0700 Subject: imagedata In-Reply-To: <461CABC2.000001.02292@MAZYTIS> References: <461BD26F.3030609@hrz.uni-kassel.de> <461CABC2.000001.02292@MAZYTIS> Message-ID: At 12:34 PM +0300 4/11/2007, Viktoras Didziulis wrote: >So ppm/pgm/pbm is more compact than imageData and therefore processing may >be a bit faster. But be warned - I did not try this yet in Revolution, I >used to work with these formats in other languages before started playing >with Rev. However now using imageData mostly - but if ppm still is the same >real ppm in the text of image, then it is worth to try - performance gain >may be possible... I don't think it is. The import command can import PPM/PBM/PGM files, but if I remember correctly, it turns them into RLE internally. Likewise with XWD and its variants, and BMP. (I haven't actually tested this lately, though.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From wjm at wjm.org Wed Apr 11 13:50:44 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 11 Apr 2007 13:50:44 -0400 Subject: OT Ugly fonts using XP/Parallels References: <79ADAF61-501E-40F1-9508-D07355F95F92@cruzio.com> Message-ID: Mark, If you're a newcomer to Windows, fonts may not look as nice as you're accustomed to in Mac OS X. 1) Are you running Windows in Millions of colors? 2) Have you turned on ClearType in Windows? Display Properties--> Appearance--> Effects [x] Use the following method to smooth edges of screen fonts - ClearType 3) Are all the fonts equally unattractive? Some fonts are TrueType/OpenType in Windows, and some are not. Try Verdana and Georgia, which should look best. -- BTW: The best way (IMHO) to set up Parallels is to create a Boot Camp partition first (being sure to install Apple's drivers), then instruct Parallels to re-use that partition for its virtual machine while running in Mac OS X. This way, you have access to the native environment when you need it, and you can compare to see whether a problem (such as the display issue you're encountering) is due to Parallels or just the "way it is" in Windows. FWIW, I don't notice the fonts in Windows looking any different than they do on my Windows desktop. "Mark Swindell" wrote in message news:79ADAF61-501E-40F1-9508-D07355F95F92 at cruzio.com... > Newbie question: > > I've finally got Parallels and Windows XP Home Edition installed and > running on a MacBook Pro... but > > the fonts look terrible... . thin and straggly and grayish... both in > the system and Explorer > > I've looked around the Parallels site for info and come up with nothing. > It's not right, as I looked at a friend's native XP setup and things > looked fine. > > Anyone here seen this, or have a solution? From bvg at mac.com Wed Apr 11 14:26:07 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 11 Apr 2007 20:26:07 +0200 Subject: XP and Vista question In-Reply-To: <7aa52a210704102151v574cf76aj3082bc8f41cae06d@mail.gmail.com> References: <45F4D89A.8020204@howsoft.com> <79d1bee70704090231r41ca903s4acf431f0bf07328@mail.gmail.com> <7aa52a210704102151v574cf76aj3082bc8f41cae06d@mail.gmail.com> Message-ID: <64364e5a6d349e389912a39de175656d@mac.com> On 11 Apr 2007, at 06:51, Chipp Walters wrote: > Been reading this same sort of doom and gloom regarding Microsoft for > years. When MS makes mistakes (frequently), they often do change their > course-- and quickly. http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.html Dear Chipp The problem is, that linked article is in no way about the downfall of Microsoft. Although there are parts in it that say "Microsoft made a mistake" or "Suicide note", that is not the main focus of the article as I perceived it. For me, the most important message in that article was (in my words): "Microsofts implementation to enforce DRM in the new Vista will make every software, and every hardware only remotely attached to the PC platform more costly and more buggy. Even if the user never comes near Vista itself." Although that may be true or not, it is a very interesting notion based on the facts he put forth. Especially for a cross platform tool user as myself. Personally I think that this is as much build in into Windows as IE. Although it could technically be removed, Microsoft will fight to the death to keep it in, as for them it is their lifeblood. I have watched DRM reduce the usability of every digital medium since the content providers where shocked by the (then) new lossless capabilities of copying (ca. 1970 or so i guess). In the end, DRM is all about reducing your customers to sheeps: Mindless creatures to be slaughtered on a whim. The problem is, they are not, and in fact find you very much rude if they perceive you to having such thoughts. Also unlike sheeps, customers aren't slaughtered, but give you money voluntarily or out of their own need, so as soon as you slaughter one (or try to), all the others will think about finding another person to give their money to (If they find one depends on many variables of course). I do plan to become a supplier if my own IP in the future, but I have yet to find an answer to protecting sold digital data which satisfies me. Most likely, I probably won't protect it, or only very lightly. Sincerely yours Bj?rnke von Gierke -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From cmsheffield at gmail.com Wed Apr 11 17:03:25 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 11 Apr 2007 15:03:25 -0600 Subject: OS X Preferences menu item Message-ID: I have to say I feel kind of stupid asking this question, seeing as how I've been using Rev for a few years now. You'd think I'd already know the answer to this. :-) On OS X, is it possible to either remove completely (preferred) or disable (acceptable) the Preferences menu item in the application's menu? I know it's possible as far as the OS is concerned cause I've seen other Mac apps where it's either disabled or completely gone. But I'm not sure if there's a way to accomplish either of these with Rev. I currently have an Edit menu in my app that contains two items, the last one being Preferences. But the app has no customizable prefs, so I'd like to remove it if possible. But the closest I've been able to come is to remove the Edit menu entirely. Doing this gives me a disabled Preferences item, but I really want to keep my Edit menu. Is there another way that I'm missing? Anyone? Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sarah.reichelt at gmail.com Wed Apr 11 17:21:31 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 12 Apr 2007 07:21:31 +1000 Subject: OS X Preferences menu item In-Reply-To: References: Message-ID: > On OS X, is it possible to either remove completely (preferred) or > disable (acceptable) the Preferences menu item in the application's > menu? I know it's possible as far as the OS is concerned cause I've > seen other Mac apps where it's either disabled or completely gone. > But I'm not sure if there's a way to accomplish either of these with > Rev. The method I use is to rename the Edit menu to something other than "Edit", say "EditMenu" instead. Then change the label of the Edit button in the menubar to "Edit" so it displays correctly. This will disable the Preferences item just as if you had no Edit menu. It will also stop the bottom 2 items of the menu being moved, so you will need to delete them yourself. Cheers, Sarah From cmsheffield at gmail.com Wed Apr 11 17:59:48 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 11 Apr 2007 15:59:48 -0600 Subject: OS X Preferences menu item In-Reply-To: References: Message-ID: <1A449392-4939-4A60-9A43-00BD1431FC08@gmail.com> Perfect, Sarah. Thank you. I'll give that a try. On Apr 11, 2007, at 3:21 PM, Sarah Reichelt wrote: > > The method I use is to rename the Edit menu to something other than > "Edit", say "EditMenu" instead. Then change the label of the Edit > button in the menubar to "Edit" so it displays correctly. This will > disable the Preferences item just as if you had no Edit menu. It will > also stop the bottom 2 items of the menu being moved, so you will need > to delete them yourself. > > 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 ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From cszasz at mac.com Wed Apr 11 18:11:09 2007 From: cszasz at mac.com (Charles Szasz) Date: Wed, 11 Apr 2007 18:11:09 -0400 Subject: Print question Message-ID: <3038D569-A683-4809-A301-1CD2FDB177CF@mac.com> I am using the Print Card to print three cards. I have only problem. The first field on the first card where the user enters their name has a blue high light around the person's name. It shows up in Preview of OSX and prints out as blue background around the text in the text field. I am using Rev. 2.7.4. How can I fix this? Charles Szasz cszasz at mac.com From geradamas at yahoo.com Wed Apr 11 18:28:20 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 11 Apr 2007 23:28:20 +0100 (BST) Subject: Beta-Testing and Bugzilla Message-ID: <12274.76257.qm@web37510.mail.mud.yahoo.com> Found a bug [tried to save a script in an image], went to Bugzilla, lost my password, requested new one and got a token and instructios to click on it - nothing doing? help me please! sincerely, Richmond ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From bill at bluewatermaritime.com Wed Apr 11 19:08:09 2007 From: bill at bluewatermaritime.com (Bill) Date: Wed, 11 Apr 2007 19:08:09 -0400 Subject: Print question In-Reply-To: <3038D569-A683-4809-A301-1CD2FDB177CF@mac.com> Message-ID: In order to avoid that problem I put "select empty" On Print_Card select empty set the printmargins to 0,0,0,0 open printing with dialog print card from 0,0 to 612,792 close printing End Print_Card On 4/11/07 6:11 PM, "Charles Szasz" wrote: > I am using the Print Card to print three cards. I have only problem. > The first field on the first card where the user enters their name > has a blue high light around the person's name. It shows up in > Preview of OSX and prints out as blue background around the text in > the text field. I am using Rev. 2.7.4. How can I fix this? > > > Charles Szasz > cszasz at mac.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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 2087 Rio Grande, PR 00745 From ian_wallace93 at hotmail.com Wed Apr 11 19:22:43 2007 From: ian_wallace93 at hotmail.com (ian wallace) Date: Wed, 11 Apr 2007 17:22:43 -0600 Subject: XP and Vista question In-Reply-To: <64364e5a6d349e389912a39de175656d@mac.com> Message-ID: STOP EMAILINGME >From: Bj?rnke von Gierke >Reply-To: How to use Revolution >To: How to use Revolution >Subject: Re: XP and Vista question >Date: Wed, 11 Apr 2007 20:26:07 +0200 > >On 11 Apr 2007, at 06:51, Chipp Walters wrote: > >>Been reading this same sort of doom and gloom regarding Microsoft for >>years. When MS makes mistakes (frequently), they often do change their >>course-- and quickly. > >http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.html > >Dear Chipp > >The problem is, that linked article is in no way about the downfall of >Microsoft. Although there are parts in it that say "Microsoft made a >mistake" or "Suicide note", that is not the main focus of the article as I >perceived it. > >For me, the most important message in that article was (in my words): >"Microsofts implementation to enforce DRM in the new Vista will make every >software, and every hardware only remotely attached to the PC platform more >costly and more buggy. Even if the user never comes near Vista itself." >Although that may be true or not, it is a very interesting notion based on >the facts he put forth. Especially for a cross platform tool user as >myself. Personally I think that this is as much build in into Windows as >IE. Although it could technically be removed, Microsoft will fight to the >death to keep it in, as for them it is their lifeblood. > >I have watched DRM reduce the usability of every digital medium since the >content providers where shocked by the (then) new lossless capabilities of >copying (ca. 1970 or so i guess). >In the end, DRM is all about reducing your customers to sheeps: Mindless >creatures to be slaughtered on a whim. The problem is, they are not, and in >fact find you very much rude if they perceive you to having such thoughts. >Also unlike sheeps, customers aren't slaughtered, but give you money >voluntarily or out of their own need, so as soon as you slaughter one (or >try to), all the others will think about finding another person to give >their money to (If they find one depends on many variables of course). > >I do plan to become a supplier if my own IP in the future, but I have yet >to find an answer to protecting sold digital data which satisfies me. Most >likely, I probably won't protect it, or only very lightly. > >Sincerely yours >Bj?rnke von Gierke > >-- > >official ChatRev page: >http://chatrev.bjoernke.com > >Chat with other RunRev developers: >go stack URL "http://homepage.mac.com/bvg/chatrev1.3.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 _________________________________________________________________ Get the Kung Fu Bunny Theme pack free! http://www.imagine-windowslive.com/Themes/Messenger/Reward/Default.aspx?Locale=en-CA# From stephenREVOLUTION at barncard.com Wed Apr 11 20:34:13 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 11 Apr 2007 17:34:13 -0700 Subject: XP and Vista question In-Reply-To: References: Message-ID: At 5:22 PM -0600 4/11/07, ian wallace wrote: >STOP EMAILINGME STOP EMAILING YOURSELF! (see link below) >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution > Kung Fu Bunny Theme pack ???? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From cszasz at mac.com Wed Apr 11 21:15:34 2007 From: cszasz at mac.com (Charles Szasz) Date: Wed, 11 Apr 2007 21:15:34 -0400 Subject: Print question Message-ID: <24F1F7E2-684F-467C-9F21-F84ED2804FAA@mac.com> Bill, I tried your suggestion. I inserted Select Empty just before and also after open printing with dialog but with the same results - it did not eliminate the blue background in the field. Charles Szasz cszasz at mac.com From revolution at jaedworks.com Wed Apr 11 22:10:29 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 11 Apr 2007 19:10:29 -0700 Subject: Print question In-Reply-To: <3038D569-A683-4809-A301-1CD2FDB177CF@mac.com> References: <3038D569-A683-4809-A301-1CD2FDB177CF@mac.com> Message-ID: At 6:11 PM -0400 4/11/2007, Charles Szasz wrote: >I am using the Print Card to print three cards. I have only problem. >The first field on the first card where the user enters their name >has a blue high light around the person's name. It shows up in >Preview of OSX and prints out as blue background around the text in >the text field. I am using Rev. 2.7.4. How can I fix this? Hi, Charles. Try setting the field's showFocusBorder property to false before printing. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From chrisliv at unimelb.edu.au Wed Apr 11 22:16:46 2007 From: chrisliv at unimelb.edu.au (chris livermore) Date: Thu, 12 Apr 2007 12:16:46 +1000 Subject: Print question In-Reply-To: <24F1F7E2-684F-467C-9F21-F84ED2804FAA@mac.com> References: <24F1F7E2-684F-467C-9F21-F84ED2804FAA@mac.com> Message-ID: Charles, set the field's 'border' to 0, if you need a border then maybe use a rectangle shape. chris On 12/04/2007, at 11:15 AM, Charles Szasz wrote: > Bill, > > I tried your suggestion. I inserted Select Empty just before and > also after open printing with dialog but with the same results - it > did not eliminate the blue background in the field. > > > Charles Szasz > cszasz at mac.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 cszasz at mac.com Wed Apr 11 22:35:20 2007 From: cszasz at mac.com (Charles Szasz) Date: Wed, 11 Apr 2007 22:35:20 -0400 Subject: Print question Message-ID: Chris, I just uncheck show border and I still have a blue background. Charles Szasz cszasz at mac.com From cszasz at mac.com Wed Apr 11 23:37:06 2007 From: cszasz at mac.com (Charles Szasz) Date: Wed, 11 Apr 2007 23:37:06 -0400 Subject: Print question Message-ID: Jeanne I have tried setting the field's showBorder to false but the blue background is still there. Does lockscreen affect using select empty? I used lockscreen just before printing. I have tried using select empty at several places in the script but with the same result. Charles Szasz cszasz at mac.com From jacque at hyperactivesw.com Wed Apr 11 23:44:51 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Apr 2007 22:44:51 -0500 Subject: Print question In-Reply-To: References: Message-ID: <461DAB33.5070605@hyperactivesw.com> Charles Szasz wrote: > Jeanne > > I have tried setting the field's showBorder to false but the blue > background is still there. Does lockscreen affect using select empty? I > used lockscreen just before printing. I have tried using select empty at > several places in the script but with the same result. At first you mentioned a blue border, but the last couple of times you say blue background. If the whole background of the field is blue, then you'll need to set the background color of the field to empty (or to white.) If it is just the border, then the other suggestions should work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Wed Apr 11 23:50:18 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 12 Apr 2007 13:50:18 +1000 Subject: Print question In-Reply-To: References: Message-ID: > I have tried setting the field's showBorder to false but the blue > background is still there. Does lockscreen affect using select empty? > I used lockscreen just before printing. I have tried using select > empty at several places in the script but with the same result. Jeanne said "showFocusBorder", not "showBorder". Sarah From mdswindell at cruzio.com Wed Apr 11 23:58:52 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 11 Apr 2007 20:58:52 -0700 Subject: OT Ugly fonts using XP/Parallels In-Reply-To: References: <79ADAF61-501E-40F1-9508-D07355F95F92@cruzio.com> Message-ID: <6FA0BC3C-87BC-4942-860D-2B34384F65A0@cruzio.com> Thanks Bill. I'm definitely a Windows novice. Yes, I'm running millions of colors and using ClearType, which makes things slightly less jagged, but still thin and gray compared to what should be. I don't have the BootCamp partition as you suggest, but it makes sense to set things up as you describe. I just did the Parallels install and installed Windows under it. I'm not sure why Explorer looks so funky... I know it's not as it should be, but I don't know why it's the way it is. Mark On Apr 11, 2007, at 10:50 AM, Bill Marriott wrote: > Mark, > > If you're a newcomer to Windows, fonts may not look as nice as you're > accustomed to in Mac OS X. > > 1) Are you running Windows in Millions of colors? > > 2) Have you turned on ClearType in Windows? > > Display Properties--> Appearance--> Effects > > [x] Use the following method to smooth edges of screen fonts > - ClearType > > 3) Are all the fonts equally unattractive? Some fonts are TrueType/ > OpenType > in Windows, and some are not. Try Verdana and Georgia, which should > look > best. > > -- > > BTW: The best way (IMHO) to set up Parallels is to create a Boot Camp > partition first (being sure to install Apple's drivers), then instruct > Parallels to re-use that partition for its virtual machine while > running in > Mac OS X. This way, you have access to the native environment when > you need > it, and you can compare to see whether a problem (such as the > display issue > you're encountering) is due to Parallels or just the "way it is" in > Windows. > > FWIW, I don't notice the fonts in Windows looking any different > than they do > on my Windows desktop. > > > "Mark Swindell" wrote > in message news:79ADAF61-501E-40F1-9508-D07355F95F92 at cruzio.com... >> Newbie question: >> >> I've finally got Parallels and Windows XP Home Edition installed and >> running on a MacBook Pro... but >> >> the fonts look terrible... . thin and straggly and grayish... >> both in >> the system and Explorer >> >> I've looked around the Parallels site for info and come up with >> nothing. >> It's not right, as I looked at a friend's native XP setup and things >> looked fine. >> >> Anyone here seen this, or have a solution? > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > "Many of life's failures are people who did not realize how close they were to success when they gave up." -Thomas Edison From ambassador at fourthworld.com Thu Apr 12 01:15:23 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Apr 2007 22:15:23 -0700 Subject: How does "ask file with type" work? Message-ID: <461DC06B.1060509@fourthworld.com> Trevor DeVore wrote: > On Apr 6, 2007, at 7:49 AM, Richard Gaskin wrote: > >> If you supply a default name, the name portion preceding the file >> name extension is selected, preserving the file type extension. >> That works well. > > This works on OS X but not Windows. On Windows the entire file name > (including extension) is selected. If the user just starts typing > away then the extension is lost. This seems to be the standard > behavior with other Windows applications but see below. > ... >> OS X allows the developer to supply a file extension, and Rev >> provides a means for doing that. But apparently the OS doesn't >> prevent the user from going out of their way to delete file type >> extensions in its dialog, and the "ask file" command (when used >> outside of the Message Box) faithfully returns exactly what the >> user entered. > > I just tested Notepad and SnagIt on Windows. The behavior in ask > file dialogs is to automatically append the extension of the > currently selected "Save as type:". In Notepad I tried to save a file > as "test" in a folder that had a "test.txt" file already. I clicked > the "Save" button and was immediately presented with a dialog asking > if I wanted to replace "test.txt" (ask dialog did not disappear). > > So on Windows I think the file extension of the currently selected > "Save as type:" should be automatically appended to the file name. On > Mac I think the current behavior is correct since file extensions > aren't required. > > The fact that lots of us are writing cross-platform software means > some of us might want to enforce file extensions so the files can > travel between different operating systems easily enough. Maybe an > option to force the extension on OS X would be nice as well. We can > do it manually now but it would be nice to not have to add the extra > code to check each time. Those are important observations. Please consider adding them to the BZ report at: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kray at sonsothunder.com Thu Apr 12 02:13:21 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 12 Apr 2007 01:13:21 -0500 Subject: OT Ugly fonts using XP/Parallels In-Reply-To: <6FA0BC3C-87BC-4942-860D-2B34384F65A0@cruzio.com> References: <79ADAF61-501E-40F1-9508-D07355F95F92@cruzio.com> <6FA0BC3C-87BC-4942-860D-2B34384F65A0@cruzio.com> Message-ID: <20070412011321956178.d2a93129@sonsothunder.com> On Wed, 11 Apr 2007 20:58:52 -0700, Mark Swindell wrote: > Thanks Bill. I'm definitely a Windows novice. > > Yes, I'm running millions of colors and using ClearType, which makes > things slightly less jagged, but still thin and gray compared to what > should be. > > I don't have the BootCamp partition as you suggest, but it makes > sense to set things up as you describe. I just did the Parallels > install and installed Windows under it. > > I'm not sure why Explorer looks so funky... I know it's not as it > should be, but I don't know why it's the way it is. Mark, can you take a screenshot and post a link to it? I'm curious as to what you're seeing... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From nickp at didata.bw Thu Apr 12 04:15:03 2007 From: nickp at didata.bw (Nic Prioleau) Date: Thu, 12 Apr 2007 10:15:03 +0200 Subject: Using Shell to copy files References: Message-ID: <017401c77cda$abfb33f0$480aa8c0@didata.bw> Thanks roger ... The vbScripts are the way forward! Cheers Nic ----- Original Message ----- From: To: "How to use Revolution" Sent: Wednesday, April 04, 2007 3:25 PM Subject: Re: Using Shell to copy files > On 04/04/2007 at 09:04 AM, "Nic Prioleau" wrote: >> Ok, I have found the problem but not the solution... Perhaps you may have > an >> idea... >> >> The server from which I am copying is asking for a username & password to > >> gain access. Is there a way to pass the username and password? >> >> Thanks again... >> Nic > > I have encountered similar situations. What I do (since I don't know how > to > pass authentication inside a UNC path) is run a VBscript via shell when > the > application starts. This VBscript will map the network share to a drive > letter. Once that is done, you can either access the remote server by > drive > letter or UNC path designation. Such VBscripts are easily found in a > google > search. > > Roger Eller > > _______________________________________________ > use-revolution mailing list > use-revolution 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 e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From signe.sanne at roman.uib.no Thu Apr 12 04:21:35 2007 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Thu, 12 Apr 2007 10:21:35 +0200 Subject: OT: Ugly fonts Message-ID: <91733FC1-CAF2-47CB-8816-27E2AD3D414D@roman.uib.no> Hello BIll, thanks for your information about Appearance --> Effects --> Clear type. I have complained about ugly fonts on Windows XP (with a screen resolution of 1152x864) for several years now, and no one knew about this (or cared to suggest this for me). Now I wonder: When a new computer is delivered to a private user, will the box with Clear type be default setting, or is is just Standard that is the default? Is the resolution 1280x1024 now used as default? Signe Marie Sanne From xavier.bury at clearstream.com Thu Apr 12 04:25:03 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Thu, 12 Apr 2007 10:25:03 +0200 Subject: Using Shell to copy files In-Reply-To: <017401c77cda$abfb33f0$480aa8c0@didata.bw> Message-ID: Hi If you are not a domain or authentified user, you can always map to the ipc$ of the server you dont have access too. net use \\myserver\ipc$ /user:myserver\userid mypassword Then the UNC paths shouldn't pose any more problems for any copy program. I would rather use a shell copy than a vbs. The reporting is better, the copy is faster and there's more options than you can imagine. www.xxcopy.com for example has more documentation than rev ;) Just kidding! cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 12/04/2007 10:15:03: > Thanks roger ... The vbScripts are the way forward! > Cheers > Nic > ----- Original Message ----- > From: > To: "How to use Revolution" > Sent: Wednesday, April 04, 2007 3:25 PM > Subject: Re: Using Shell to copy files > > > > On 04/04/2007 at 09:04 AM, "Nic Prioleau" wrote: > >> Ok, I have found the problem but not the solution... Perhaps you may have > > an > >> idea... > >> > >> The server from which I am copying is asking for a username & password to > > > >> gain access. Is there a way to pass the username and password? > >> > >> Thanks again... > >> Nic > > > > I have encountered similar situations. What I do (since I don't know how > > to > > pass authentication inside a UNC path) is run a VBscript via shell when > > the > > application starts. This VBscript will map the network share to a drive > > letter. Once that is done, you can either access the remote server by > > drive > > letter or UNC path designation. Such VBscripts are easily found in a > > google > > search. > > > > Roger Eller > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 e-mail message has been scanned for Viruses and Content and cleared > by MailMarshal > ##################################################################################### > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg RC Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From scott at cdroo.com Thu Apr 12 04:48:48 2007 From: scott at cdroo.com (Scott Kane) Date: Thu, 12 Apr 2007 18:48:48 +1000 Subject: Ugly fonts References: <91733FC1-CAF2-47CB-8816-27E2AD3D414D@roman.uib.no> Message-ID: <022d01c77cdf$7c025f70$0201010a@esbgdi9s3atqpx> > Standard that is the default? Is the resolution 1280x1024 now used as > default? Most Windows boxes still ship (OEM at any rate) at 1024 x 768. Scott From nickp at didata.bw Thu Apr 12 05:21:57 2007 From: nickp at didata.bw (Nic Prioleau) Date: Thu, 12 Apr 2007 11:21:57 +0200 Subject: Runrev & Microsoft sql server Message-ID: <019901c77ce4$04a1f8a0$480aa8c0@didata.bw> I am about to embark on a project where we wanted to use a "licence free" database that we could embed in the application or at time of deployment, did not require too much "tweeking". I looked at mySQL but have found this to be quite difficult at deployment. We literally want the cutomer to install the "server version" of the app which will obviously install the database and it components to the server and then the "client" version speaks for itself. I have looked at various DBs such as Pervasive, mySQL, postgreSQL but have recently been pointed to microsoft's sqlExpress. The application will not have huge amounts of data. It is being developed towards small to medium business. Does anyone have any experience with sqlExpress? I know that it's free for distribution and does not require licences. Does anyone have any suggestions as to what we could use instead? I could develop in .NET but really like revolution and would like to stick with it for as long as I can. Thanks Regards Nic ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From wjm at wjm.org Thu Apr 12 08:54:02 2007 From: wjm at wjm.org (Bill Marriott) Date: Thu, 12 Apr 2007 08:54:02 -0400 Subject: Ugly fonts References: <91733FC1-CAF2-47CB-8816-27E2AD3D414D@roman.uib.no> Message-ID: Signe Marie Sanne, > Now I wonder: When a new computer is delivered to a private user, will > the box with Clear type be default setting, or is it just Standard that > is the default? Is the resolution 1280x1024 now used as default? It all depends on the particular OEM. ClearType was specifically developed for LCD displays, and some people do not find it helpful when using a CRT-style display. As LCDs have fallen in price and improved in quality, almost all new systems ship with LCDs. And of course notebooks use LCDs as well. So, the smart OEM will probably ship with ClearType on by default. The last time I purchased a retail standalone copy of XP Professional, the Standard method was enabled by default. This could easily be different now, as Microsoft tweaks things over time. The standard resolutions also depend on the display shipped with the system. Usually its set to whatever the native resolution of the LCD happens to be. Having said all of that, I tried distributing a standalone some time ago that looked much better with ClearType activated. I found that most users did NOT have this option turned on. I tried to use a registry hack to turn it on for them, but either I didn't know what I was doing, or some additional step was needed besides updating the registry. So I ended up just providing instructions for people to do this on their own. Even with ClearType turned on, Windows fonts appear thinner, overall, than Mac ones. This is partly due to font metrics on the two systems, and partly because Macs use a "darker" smoothing algorithm than PCs. - Bill From wjm at wjm.org Thu Apr 12 09:02:27 2007 From: wjm at wjm.org (Bill Marriott) Date: Thu, 12 Apr 2007 09:02:27 -0400 Subject: A string doesn't equal itself References: <46191364.1000802@fourthworld.com><31351149656.20070408221632@ahsoftware.net><20070409010024976110.820f781f@sonsothunder.com><31425194497.20070409185037@ahsoftware.net> <11513846301.20070410192809@ahsoftware.net> Message-ID: Mark, > Since that's the only one you put quotes around, I'd argue that yes, > you can complain about it. My usage of quotes in that context was for English syntax compliance, not xTalk :) > I would think the quotes would say "don't > evaluate anything within". You might think that, but then that's not xTalk. We're not talking about the difference between a string literal and a variable label. As long as we keep the loose typing characteristics of xTalk -- and I would argue we should, being as the benefits outweigh the drawbacks -- mere quotes around a value is not sufficient to identify the type of value stored. put "5" + "5" gives you 10 Would you rather that give you "Syntax Error?" - Bill From toolbook at kestner.de Thu Apr 12 09:06:18 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 12 Apr 2007 15:06:18 +0200 Subject: AW: Ugly fonts In-Reply-To: Message-ID: <000a01c77d03$5e65eb20$18b2a8c0@TiemoPC2> As a Windows user I didn't even know about the cleartype option. I just gave it a try and must say, I switched it off immediately, though I have a flat panel. I don't know if it is because I am used over the years to "standard" display option, but with clear type the fonts look soo smooth and shadowy, that I took my glasses, because it didn't looked sharp any more. Just to give you my two cents ;-) > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Bill Marriott > Gesendet: Donnerstag, 12. April 2007 14:54 > An: use-revolution at lists.runrev.com > Betreff: Re: Ugly fonts > > Signe Marie Sanne, > > > Now I wonder: When a new computer is delivered to a private user, will > > the box with Clear type be default setting, or is it just Standard that > > is the default? Is the resolution 1280x1024 now used as default? > > It all depends on the particular OEM. > > ClearType was specifically developed for LCD displays, and some people do > not find it helpful when using a CRT-style display. As LCDs have fallen in > price and improved in quality, almost all new systems ship with LCDs. And > of > course notebooks use LCDs as well. So, the smart OEM will probably ship > with > ClearType on by default. > > The last time I purchased a retail standalone copy of XP Professional, the > Standard method was enabled by default. This could easily be different > now, > as Microsoft tweaks things over time. > > The standard resolutions also depend on the display shipped with the > system. > Usually its set to whatever the native resolution of the LCD happens to > be. > > Having said all of that, I tried distributing a standalone some time ago > that looked much better with ClearType activated. I found that most users > did NOT have this option turned on. I tried to use a registry hack to turn > it on for them, but either I didn't know what I was doing, or some > additional step was needed besides updating the registry. So I ended up > just > providing instructions for people to do this on their own. > > Even with ClearType turned on, Windows fonts appear thinner, overall, than > Mac ones. This is partly due to font metrics on the two systems, and > partly > because Macs use a "darker" smoothing algorithm than PCs. > > - 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 signe.sanne at roman.uib.no Thu Apr 12 09:31:05 2007 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Thu, 12 Apr 2007 15:31:05 +0200 Subject: AW: Ugly fonts In-Reply-To: <000a01c77d03$5e65eb20$18b2a8c0@TiemoPC2> References: <000a01c77d03$5e65eb20$18b2a8c0@TiemoPC2> Message-ID: Thanks to you and to Bill for your useful information. Here's what I have found out after testing (I use Verdana all over): Resolutions 1024x768 and 1152x864: With textsize 18 and 24, plain style (white text on coloured background) I would recommend my users to turn on Clear type Textcolor 100,100,100 (greyish black), textstyle bold, textsize 13 and 14 may appear a little too hard/dark with Clear type on. Resolution 1280x1024: It does not matter whether Clear type or Standard or none is used. SIgne Marie Sanne Den 12. apr. 2007 kl. 15:06 skrev Tiemo Hollmann TB: > As a Windows user I didn't even know about the cleartype option. I > just gave > it a try and must say, I switched it off immediately, though I have > a flat > panel. I don't know if it is because I am used over the years to > "standard" > display option, but with clear type the fonts look soo smooth and > shadowy, > that I took my glasses, because it didn't looked sharp any more. > > Just to give you my two cents ;-) > > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von Bill Marriott >> Gesendet: Donnerstag, 12. April 2007 14:54 >> An: use-revolution at lists.runrev.com >> Betreff: Re: Ugly fonts >> >> Signe Marie Sanne, >> >>> Now I wonder: When a new computer is delivered to a private >>> user, will >>> the box with Clear type be default setting, or is it just >>> Standard that >>> is the default? Is the resolution 1280x1024 now used as default? >> >> It all depends on the particular OEM. >> >> ClearType was specifically developed for LCD displays, and some >> people do >> not find it helpful when using a CRT-style display. As LCDs have >> fallen in >> price and improved in quality, almost all new systems ship with >> LCDs. And >> of >> course notebooks use LCDs as well. So, the smart OEM will probably >> ship >> with >> ClearType on by default. >> >> The last time I purchased a retail standalone copy of XP >> Professional, the >> Standard method was enabled by default. This could easily be >> different >> now, >> as Microsoft tweaks things over time. >> >> The standard resolutions also depend on the display shipped with the >> system. >> Usually its set to whatever the native resolution of the LCD >> happens to >> be. >> >> Having said all of that, I tried distributing a standalone some >> time ago >> that looked much better with ClearType activated. I found that >> most users >> did NOT have this option turned on. I tried to use a registry hack >> to turn >> it on for them, but either I didn't know what I was doing, or some >> additional step was needed besides updating the registry. So I >> ended up >> just >> providing instructions for people to do this on their own. >> >> Even with ClearType turned on, Windows fonts appear thinner, >> overall, than >> Mac ones. This is partly due to font metrics on the two systems, and >> partly >> because Macs use a "darker" smoothing algorithm than PCs. >> >> - 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 > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Thu Apr 12 09:44:28 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Thu, 12 Apr 2007 06:44:28 -0700 Subject: AW: Ugly fonts In-Reply-To: References: <000a01c77d03$5e65eb20$18b2a8c0@TiemoPC2> Message-ID: <8BE8AFF0-FA9F-46FE-BB9D-AFEE745F475A@Cox.Net> Just to add my two bits worth: As someone who is visually challenged, when I receive ANYTHING with white text and a colored background, I trash it. It is entirely too difficult for me to read. I certainly would not work in that type of environment under any circumstances. Black on white works for me. IMHO, Joe Wilkins On Apr 12, 2007, at 6:31 AM, Signe Marie Sanne wrote: > Thanks to you and to Bill for your useful information. Here's what > I have found out after testing (I use Verdana all over): > > Resolutions 1024x768 and 1152x864: > > With textsize 18 and 24, plain style (white text on coloured > background) I would recommend my users to turn on Clear type > Textcolor 100,100,100 (greyish black), textstyle bold, textsize 13 > and 14 may appear a little too hard/dark with Clear type on. > > Resolution 1280x1024: It does not matter whether Clear type or > Standard or none is used. > > SIgne Marie Sanne > > Den 12. apr. 2007 kl. 15:06 skrev Tiemo Hollmann TB: > >> As a Windows user I didn't even know about the cleartype option. I >> just gave >> it a try and must say, I switched it off immediately, though I >> have a flat >> panel. I don't know if it is because I am used over the years to >> "standard" >> display option, but with clear type the fonts look soo smooth and >> shadowy, >> that I took my glasses, because it didn't looked sharp any more. >> >> Just to give you my two cents ;-) >> >> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >>> bounces at lists.runrev.com] Im Auftrag von Bill Marriott >>> Gesendet: Donnerstag, 12. April 2007 14:54 >>> An: use-revolution at lists.runrev.com >>> Betreff: Re: Ugly fonts >>> >>> Signe Marie Sanne, >>> >>>> Now I wonder: When a new computer is delivered to a private >>>> user, will >>>> the box with Clear type be default setting, or is it just >>>> Standard that >>>> is the default? Is the resolution 1280x1024 now used as default? >>> >>> It all depends on the particular OEM. >>> >>> ClearType was specifically developed for LCD displays, and some >>> people do >>> not find it helpful when using a CRT-style display. As LCDs have >>> fallen in >>> price and improved in quality, almost all new systems ship with >>> LCDs. And >>> of >>> course notebooks use LCDs as well. So, the smart OEM will >>> probably ship >>> with >>> ClearType on by default. >>> >>> The last time I purchased a retail standalone copy of XP >>> Professional, the >>> Standard method was enabled by default. This could easily be >>> different >>> now, >>> as Microsoft tweaks things over time. >>> >>> The standard resolutions also depend on the display shipped with the >>> system. >>> Usually its set to whatever the native resolution of the LCD >>> happens to >>> be. >>> >>> Having said all of that, I tried distributing a standalone some >>> time ago >>> that looked much better with ClearType activated. I found that >>> most users >>> did NOT have this option turned on. I tried to use a registry >>> hack to turn >>> it on for them, but either I didn't know what I was doing, or some >>> additional step was needed besides updating the registry. So I >>> ended up >>> just >>> providing instructions for people to do this on their own. >>> >>> Even with ClearType turned on, Windows fonts appear thinner, >>> overall, than >>> Mac ones. This is partly due to font metrics on the two systems, and >>> partly >>> because Macs use a "darker" smoothing algorithm than PCs. >>> >>> - 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 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 cszasz at mac.com Thu Apr 12 10:16:17 2007 From: cszasz at mac.com (Charles Szasz) Date: Thu, 12 Apr 2007 10:16:17 -0400 Subject: Print problem Message-ID: I want to thank everyone for their suggestions. So far, I still have a text field with a blue background. I have tried the following: set the showFocusBorder to false set showBorder to false set the background color of the field to none; also set the background color of the field to white set the autoHilite to false listBehavior has always been set to false Place select empty before printing script - this has been used with the above suggestions. Prior to printing, I use lockscreen to remove buttons so that they will not printed. I have place select empty before lockscreen and after lockscreen but with no effect. The only thing I have tried that removes the blue background is to set traversalOn to false but this moves the blue background from the first text field to the next entry text field. I am using Rev 2.7.4 and OS 10.4.8 Charles Szasz cszasz at mac.com From pevensen at siboneylg.com Thu Apr 12 10:33:50 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 12 Apr 2007 09:33:50 -0500 Subject: More non-European text printing problems Message-ID: <6.2.1.2.2.20070412093029.05e45d10@exchange.slg.com> This happens on Windows XP. I have a field that contains the following (for the htmlText):

англичанка

This field prints out fine. However, if I bold (or underline) any character, I get a large space before the bolded character and a space after and the line spacing gets completely mangled:

англичанка

something like "anglic a nka" instead of "anglicanka" On the Mac, I'm still getting just a black box where the text should be, rather than the actual text. Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From cszasz at mac.com Thu Apr 12 10:50:52 2007 From: cszasz at mac.com (Charles Szasz) Date: Thu, 12 Apr 2007 10:50:52 -0400 Subject: Print question Message-ID: I want to thank everyone for their suggestions. So far, I still have a text field with a blue background. I have tried the following: set the showFocusBorder to false set showBorder to false set the background color of the field to none; also set the background color of the field to white set the autoHilite to false listBehavior has always been set to false Place select empty before printing script - this has been used with the above suggestions. Prior to printing, I use lockscreen to remove buttons so that they will not printed. I have place select empty before lockscreen and after lockscreen but with no effect. The only thing I have tried that removes the blue background is to set traversalOn to false but this moves the blue background from the first text field to the next entry text field. I am using Rev 2.7.4 and OS 10.4.8 Charles Szasz cszasz at mac.com From devin_asay at byu.edu Thu Apr 12 12:28:10 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 12 Apr 2007 10:28:10 -0600 Subject: Print question In-Reply-To: References: Message-ID: <828FC4E1-73D0-4013-8AC0-72AD47DF2090@byu.edu> Folks, Charles sent me a screenshot of what he's seeing off list. See it at http://asay.byu.edu/fld.png. It appears to be highlighted text, or possibly a field background color that happens to be set the the exact color of the OS X default highlight color. I'm surprised 'select empty' doesn't fix this. Devin On Apr 11, 2007, at 9:37 PM, Charles Szasz wrote: > Jeanne > > I have tried setting the field's showBorder to false but the blue > background is still there. Does lockscreen affect using select > empty? I used lockscreen just before printing. I have tried using > select empty at several places in the script but with the same result. > > > Charles Szasz > cszasz at mac.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 > Devin Asay Humanities Technology and Research Support Center Brigham Young University From revlist at azurevision.co.uk Thu Apr 12 12:27:02 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 12 Apr 2007 18:27:02 +0200 Subject: AW: Ugly fonts In-Reply-To: <8BE8AFF0-FA9F-46FE-BB9D-AFEE745F475A@Cox.Net> References: <000a01c77d03$5e65eb20$18b2a8c0@TiemoPC2> <8BE8AFF0-FA9F-46FE-BB9D-AFEE745F475A@Cox.Net> Message-ID: <75C4782C-0D5A-40CF-A0AF-3E7A8EA3D478@azurevision.co.uk> Joe, I have a design/interface question for you. As a photographer, I often like web and app interfaces which have white or very light grey text on a dark grey (sometimes *very* dark grey) background - is this as bad as a coloured background for you? I'm specifically thinking of apps like Aperture or websites like http://www.fredmiranda.com/ . Ian On 12 Apr 2007, at 15:44, Joe Lewis Wilkins wrote: > Just to add my two bits worth: As someone who is visually > challenged, when I receive ANYTHING with white text and a colored > background, I trash it. It is entirely too difficult for me to > read. I certainly would not work in that type of environment under > any circumstances. Black on white works for me. IMHO, > > Joe Wilkins From jacque at hyperactivesw.com Thu Apr 12 12:33:20 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2007 11:33:20 -0500 Subject: Print question In-Reply-To: References: Message-ID: <461E5F50.4090108@hyperactivesw.com> Charles Szasz wrote: > The only thing I have tried that removes the blue background is to set > traversalOn to false but this moves the blue background from the first > text field to the next entry text field. This tells me that you mean the focus border, not the background (these are different things with specific meanings.) RR will automatically focus on the first field that has traversalOn set to true. When you unlock the screen, RR will treat the card as it does when first opened and re-focus on the first available field. Setting the showFocusBorder of the field to false should have corrected this. Selecting empty after the screen is unlocked should also work. You say you did "set the showFocusBorder to false". Is that exactly what your script says? The property is field-specific. You need to say set the showFocusBorder of field "whatever" to false -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 12 12:45:00 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2007 11:45:00 -0500 Subject: A string doesn't equal itself In-Reply-To: References: <46191364.1000802@fourthworld.com><31351149656.20070408221632@ahsoftware.net><20070409010024976110.820f781f@sonsothunder.com><31425194497.20070409185037@ahsoftware.net> <11513846301.20070410192809@ahsoftware.net> Message-ID: <461E620C.50505@hyperactivesw.com> Not to beat a dead horse or anything, but Mark Waddingham has just commented on the bug I submitted for this. He verifies what we've been discussing -- it's an overflow problem due to interpreting the string as a number -- and says he thinks its a bug. It is targeted to be fixed for the next dp release. The fix involves doing a string comparison rather then a numeric comparison if either operand overflows. The bug number is 4651 if anyone is curious. BTW, I'm very pleased with how quickly bugs are being addressed these days. I've entered a few over the last week or so and they've all been attended to promptly. If anyone has an issue that they haven't yet entered into the bug database, I'd say now is a great time to do it. They're combing through there at a pretty good clip. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runrev260805 at m-r-d.de Thu Apr 12 11:07:10 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 12 Apr 2007 15:07:10 +0000 Subject: www.runrev.com down? Message-ID: <000280A2.461E673E@192.168.168.3> Hi, i cannot connect to http://www.runrev.com . Is the site temporarilly down? Could someone confirm? All the best. Matthias Rebbe From len-morgan at crcom.net Thu Apr 12 12:01:05 2007 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 12 Apr 2007 11:01:05 -0500 Subject: Runrev & Microsoft sql server Message-ID: <461E57C1.30609@crcom.net> While I haven't used SQLExpress, I HAVE used SQL Server. If your problem with mySQL (which I am NOT recommending), is the difficulty of setting up the server, I don't think you're going to do any better with SQLExpress. Some things you didn't mention: 1) Will this be a multiuser database? 2) Will you the server and clients be on the same subnet? 3) Is there any (future) possibility of the server running on something besides an MS OS? If so, forget SQLExpress If it were me, I'd use PostgreSQL. They have a native Windows port with a simple installer. It's really FREE to use in any way you want, has unlimited users and there is a Rev driver for it. With SQLExpress, you're going to have to use ODBC and that means you'll have to set up DSNs on every client machine. I'm not sure if this last step can be scripted and I'm pretty sure you'll need Admin rights on the client machines to set this up. PostgreSQL doesn't require this (on the clients). If this is not a multiuser app, you could look into SQLLite but I think that only runs on the local machine (I could be wrong). In any case, it's a single user database. Hope that helps, Len Morgan > The application will not have huge amounts of data. It is being developed towards small to medium business. > Does anyone have any experience with sqlExpress? I know that it's free for distribution and does not require licences. > Does anyone have any suggestions as to what we could use instead? > I could develop in .NET but really like revolution and would like to stick with it for as long as I can. From devin_asay at byu.edu Thu Apr 12 13:07:08 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 12 Apr 2007 11:07:08 -0600 Subject: More non-European text printing problems In-Reply-To: <6.2.1.2.2.20070412093029.05e45d10@exchange.slg.com> References: <6.2.1.2.2.20070412093029.05e45d10@exchange.slg.com> Message-ID: On Apr 12, 2007, at 8:33 AM, Peter T. Evensen wrote: > This happens on Windows XP. > > I have a field that contains the following (for the htmlText): > >

lang="ru">англичан > 82;а

> > This field prints out fine. However, if I bold (or underline) any > character, I get a large space before the bolded character and a > space after and the line spacing gets completely mangled: > >

lang="ru">англича b>нка

> > something like "anglic a nka" instead of "anglicanka" > > On the Mac, I'm still getting just a black box where the text > should be, rather than the actual text. Peter, you're talking just about the printout, right? Because it's fine on screen on both OS X and XP. When printing using revPrintField, on OS X I see the same black rectangle in the place of the text, and on XP I see the same large space you're seeing. Looks like a bug. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From devin_asay at byu.edu Thu Apr 12 13:08:29 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 12 Apr 2007 11:08:29 -0600 Subject: www.runrev.com down? In-Reply-To: <000280A2.461E673E@192.168.168.3> References: <000280A2.461E673E@192.168.168.3> Message-ID: <6569AFF5-41F2-4C64-9B61-C881136E5456@byu.edu> On Apr 12, 2007, at 9:07 AM, runrev260805 at m-r-d.de wrote: > Hi, > > i cannot connect to http://www.runrev.com . Is the site > temporarilly down? > Could someone confirm? I can get to it. DNA Devin Asay Humanities Technology and Research Support Center Brigham Young University From pevensen at siboneylg.com Thu Apr 12 13:10:39 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 12 Apr 2007 12:10:39 -0500 Subject: More non-European text printing problems In-Reply-To: References: <6.2.1.2.2.20070412093029.05e45d10@exchange.slg.com> Message-ID: <6.2.1.2.2.20070412120841.0db00eb0@exchange.slg.com> Devin, Yes, it looks fine on screen. It just prints out wonky (there's a word I wish we had in American English). Thanks for verifying the bug. Glad it isn't just me. I did enter them in the quality center. #4669 and #4670. At 12:07 PM 4/12/2007, you wrote: >On Apr 12, 2007, at 8:33 AM, Peter T. Evensen wrote: > >>This happens on Windows XP. >> >>I have a field that contains the following (for the htmlText): >> >>

>lang="ru">англичан >>82;а

>> >>This field prints out fine. However, if I bold (or underline) any >>character, I get a large space before the bolded character and a >>space after and the line spacing gets completely mangled: >> >>

>lang="ru">англича>b>нка

>> >>something like "anglic a nka" instead of "anglicanka" >> >>On the Mac, I'm still getting just a black box where the text >>should be, rather than the actual text. > >Peter, you're talking just about the printout, right? Because it's >fine on screen on both OS X and XP. > >When printing using revPrintField, on OS X I see the same black >rectangle in the place of the text, and on XP I see the same large >space you're seeing. Looks like a bug. > >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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From jacque at hyperactivesw.com Thu Apr 12 13:14:06 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2007 12:14:06 -0500 Subject: www.runrev.com down? In-Reply-To: <000280A2.461E673E@192.168.168.3> References: <000280A2.461E673E@192.168.168.3> Message-ID: <461E68DE.4050801@hyperactivesw.com> runrev260805 at m-r-d.de wrote: > Hi, > > i cannot connect to http://www.runrev.com . Is the site temporarilly down? > Could someone confirm? Yes, it was/is out temporarily. There was a DNS problem apparently. It seems to be back online for me now, but that may vary for others depending on whether or not you've sacrificed a chicken to the DNS gods. If you can't afford a chicken, try chocolate. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Thu Apr 12 13:19:34 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 12 Apr 2007 12:19:34 -0500 Subject: www.runrev.com down? In-Reply-To: <000280A2.461E673E@192.168.168.3> References: <000280A2.461E673E@192.168.168.3> Message-ID: <20070412121934357145.be4f7a04@sonsothunder.com> On Thu, 12 Apr 2007 15:07:10 +0000, runrev260805 at m-r-d.de wrote: > Hi, > > i cannot connect to http://www.runrev.com . Is the site temporarilly down? > Could someone confirm? Works for me... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bvg at mac.com Thu Apr 12 13:27:56 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 12 Apr 2007 19:27:56 +0200 Subject: Print question In-Reply-To: References: Message-ID: <4f34e6d4979d7b2629f6e5369f74dd7f@mac.com> I tried a bit, and got all kind of wonky results when printing while the lockScreen was true. Maybe you should just move the stack offscreen ( set the loc of stack z to -x,-y) and try to print like that instead of using lock screen. I know this is just a workaround, but at least it'll work. Also don't forget to bugzilla your problem here: http://quality.runrev.com/qacenter/ If you don't want to or can't do that, mail me privately and I'll do it for you Bj?rnke von Gierke On 12 Apr 2007, at 16:50, Charles Szasz wrote: > I want to thank everyone for their suggestions. So far, I still have a > text field with a blue background. I have tried the following: > > set the showFocusBorder to false > set showBorder to false > set the background color of the field to none; also set the background > color of the field to white > set the autoHilite to false > listBehavior has always been set to false > Place select empty before printing script - this has been used with > the above suggestions. > Prior to printing, I use lockscreen to remove buttons so that they > will not printed. I have place select empty before lockscreen and > after lockscreen but with no effect. > > The only thing I have tried that removes the blue background is to set > traversalOn to false but this moves the blue background from the first > text field to the next entry text field. > > I am using Rev 2.7.4 and OS 10.4.8 > > > > Charles Szasz > cszasz at mac.com -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From jacque at hyperactivesw.com Thu Apr 12 13:37:21 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2007 12:37:21 -0500 Subject: Print question In-Reply-To: <828FC4E1-73D0-4013-8AC0-72AD47DF2090@byu.edu> References: <828FC4E1-73D0-4013-8AC0-72AD47DF2090@byu.edu> Message-ID: <461E6E51.5050601@hyperactivesw.com> Devin Asay wrote: > Folks, > > Charles sent me a screenshot of what he's seeing off list. See it at > http://asay.byu.edu/fld.png. It appears to be highlighted text, or > possibly a field background color that happens to be set the the exact > color of the OS X default highlight color. > > I'm surprised 'select empty' doesn't fix this. We should have asked for an image earlier. ;) This does clear up the confusion. You are right, select empty should resolve it, but I've seen fields retain selected text even when they aren't in focus. I haven't pinned down a recipe yet though. At any rate, a workaround might be to select empty click at 0,0 after the unlock screen command. That would simulate what I have to do manually when this hits me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cszasz at mac.com Thu Apr 12 13:43:30 2007 From: cszasz at mac.com (Charles Szasz) Date: Thu, 12 Apr 2007 13:43:30 -0400 Subject: Print question Message-ID: I appreciate everyone's suggestions. Despite the confusion in my postings, I did have showFocusBorder and setBorder properties set to false prior to printing while trying to use select empty. I got so desperate I tried select empty in many places before printing with no success. I found a workaround by setting the traversalOn property of all of my fields on card to false before printing and then resetting the travseralOn property to true for all of the fields after printing. This a problem with both Rev. 2.7.4 and 2.8.1. I will report this to quality control. Charles Szasz cszasz at mac.com From ambassador at fourthworld.com Thu Apr 12 13:51:17 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Apr 2007 10:51:17 -0700 Subject: A string doesn't equal itself Message-ID: <461E7195.8090507@fourthworld.com> J. Landman Gay wrote: > Not to beat a dead horse or anything, but Mark Waddingham has just > commented on the bug I submitted for this. He verifies what we've been > discussing -- it's an overflow problem due to interpreting the string as > a number -- and says he thinks its a bug. It is targeted to be fixed for > the next dp release. > > The fix involves doing a string comparison rather then a numeric > comparison if either operand overflows. The bug number is 4651 if anyone > is curious. The buffer overflow check is a good first move. Does he also have an opinion about treating string literals as numbers? I can understand attempting to coerce to numbers if two string literals have an arithmetic operator between them, e.g.: "5" + "5" ...but if quoted and merely checking for equivalence, offhand I can think of no case where these wouldn't be true: "5" is "5" "55e555" is "55e555" "a" = "a" > BTW, I'm very pleased with how quickly bugs are being addressed these > days. I've entered a few over the last week or so and they've all been > attended to promptly. If anyone has an issue that they haven't yet > entered into the bug database, I'd say now is a great time to do it. > They're combing through there at a pretty good clip. Yes indeed. My In Box has been busy processing their update notices as they knock those off. Good work, Team Rev! -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mb.userev at harbourhosting.co.uk Thu Apr 12 14:04:12 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 12 Apr 2007 19:04:12 +0100 Subject: Print question In-Reply-To: <828FC4E1-73D0-4013-8AC0-72AD47DF2090@byu.edu> References: <828FC4E1-73D0-4013-8AC0-72AD47DF2090@byu.edu> Message-ID: <461E749C.8040200@harbourhosting.co.uk> Devin Asay wrote: > Folks, > > Charles sent me a screenshot of what he's seeing off list. See it at > http://asay.byu.edu/fld.png. It appears to be highlighted text, or > possibly a field background color that happens to be set the the exact > color of the OS X default highlight color. > > I'm surprised 'select empty' doesn't fix this. > > Devin > > On Apr 11, 2007, at 9:37 PM, Charles Szasz wrote: > >> Jeanne >> >> I have tried setting the field's showBorder to false but the blue >> background is still there. Does lockscreen affect using select empty? >> I used lockscreen just before printing. I have tried using select >> empty at several places in the script but with the same result. >> >> >> Charles Szasz >> cszasz at mac.com >> could it be that the backgroundcolor of the actual characters is set? as in set the backgroundcolor of word 1 of field "whatever" ? That might perhaps account for the failure to clear it by clearing the field background colour or selecting empty Martin Baxter From wjm at wjm.org Thu Apr 12 14:58:55 2007 From: wjm at wjm.org (Bill Marriott) Date: Thu, 12 Apr 2007 14:58:55 -0400 Subject: A string doesn't equal itself References: <461E7195.8090507@fourthworld.com> Message-ID: Richard, What about put "3.141592653589793238461" is "3.141592653589793238462" Guess what Rev says? (True.) Longstanding behavior in xTalk, going back to HyperCard days. but put "3.141592653589793238461" & null is "3.141592653589793238462" & null returns false. Seems like the "best practice" right now is: to coerce string-based evaluation over possible numeric evaluation, use the & null operation. > I can understand attempting to coerce to numbers if two string literals > have an arithmetic operator between them, e.g.: > > "5" + "5" > > ...but if quoted and merely checking for equivalence, offhand I can think > of no case where these wouldn't be true: > > "5" is "5" > > "55e555" is "55e555" > > "a" = "a" From geradamas at yahoo.com Thu Apr 12 15:03:57 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 12 Apr 2007 20:03:57 +0100 (BST) Subject: Counting lines in a list field? Message-ID: <794709.93994.qm@web37511.mail.mud.yahoo.com> Sorry, this is probably fairly basic! How does one count the number of lines in a list field? Feel a terrible fool that I don't know . . . sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From JimAultWins at yahoo.com Thu Apr 12 15:14:08 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 12 Apr 2007 12:14:08 -0700 Subject: AW: Ugly fonts In-Reply-To: <8BE8AFF0-FA9F-46FE-BB9D-AFEE745F475A@Cox.Net> Message-ID: On 4/12/07 6:44 AM, "Joe Lewis Wilkins" wrote: > Just to add my two bits worth: As someone who is visually challenged, > when I receive ANYTHING with white text and a colored background, I > trash it. It is entirely too difficult for me to read. I certainly > would not work in that type of environment under any circumstances. > Black on white works for me. IMHO, Joe, Try using ctrl-opt-cmd-8 to toggle the monitors to the reverse, which means white-on-black <> black-on-white. This will let you handle web pages that have the designer backgrounds, like some of the ones I have designed. Combine this with the zoom, and it should work better for you. Jim Ault Las Vegas From ambassador at fourthworld.com Thu Apr 12 15:16:36 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Apr 2007 12:16:36 -0700 Subject: A string doesn't equal itself Message-ID: <461E8594.20703@fourthworld.com> Bill Marriott wrote: > What about > > put "3.141592653589793238461" is "3.141592653589793238462" > > Guess what Rev says? (True.) Longstanding behavior in xTalk, going back to > HyperCard days. You won't find much HyperCard worship here. Sure, I liked it and used it, but I've found many things in that app that I would consider design errors and would count this among them. Those two numbers are simply not equal. To report that they are is an error. That the cause of an error may be understandable doesn't mean that an error isn't an error. Knowing why a leaf is green doesn't make it blue. If the program cannot handle numbers of a certain precision, falsely pretending to do so seems less helpful than letting the user know it can't handle what it's being asked to do. How would this example be handled by Mark Waddingham's proposed change? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Thu Apr 12 15:17:24 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 12 Apr 2007 21:17:24 +0200 Subject: Counting lines in a list field? In-Reply-To: <794709.93994.qm@web37511.mail.mud.yahoo.com> References: <794709.93994.qm@web37511.mail.mud.yahoo.com> Message-ID: Hi Richmond, > Sorry, this is probably fairly basic! > > How does one count the number of lines in a list > field? Mon dieu! :-D ... the number of lines of fld "xyz" ... > Feel a terrible fool that I don't know . . . > > sincerely, Richmond Mathewson Best Klaus Major klaus at major-k.de http://www.major-k.de From stephenREVOLUTION at barncard.com Thu Apr 12 15:20:19 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 12 Apr 2007 12:20:19 -0700 Subject: Counting lines in a list field? In-Reply-To: <794709.93994.qm@web37511.mail.mud.yahoo.com> References: <794709.93994.qm@web37511.mail.mud.yahoo.com> Message-ID: put the number of lines in fld "listField" >Sorry, this is probably fairly basic! > >How does one count the number of lines in a list >field? > >Feel a terrible fool that I don't know . . . > >sincerely, Richmond Mathewson > >____________________________________________________________ -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From pepetoo at Cox.Net Thu Apr 12 15:24:06 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Thu, 12 Apr 2007 12:24:06 -0700 Subject: AW: Ugly fonts In-Reply-To: References: Message-ID: Outstanding, even works with my emails. Thank you many times over. BTW, when is this RevCon in LV going to be held? If you know. Sure like to buy you some lunch sometime soon! Interesting thing about that, instead of holding down each of these keys you can just lay your finger across all of them. That was something I used to use with HC when some of my stuff got a little "wild"! Joe Wilkins On Apr 12, 2007, at 12:14 PM, Jim Ault wrote: > > On 4/12/07 6:44 AM, "Joe Lewis Wilkins" wrote: > >> Just to add my two bits worth: As someone who is visually challenged, >> when I receive ANYTHING with white text and a colored background, I >> trash it. It is entirely too difficult for me to read. I certainly >> would not work in that type of environment under any circumstances. >> Black on white works for me. IMHO, > Joe, > > Try using ctrl-opt-cmd-8 to toggle the monitors to the reverse, > which means > white-on-black <> black-on-white. > > This will let you handle web pages that have the designer > backgrounds, like > some of the ones I have designed. > > Combine this with the zoom, and it should work better for you. > > 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 JimAultWins at yahoo.com Thu Apr 12 15:24:10 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 12 Apr 2007 12:24:10 -0700 Subject: Counting lines in a list field? In-Reply-To: <794709.93994.qm@web37511.mail.mud.yahoo.com> Message-ID: On 4/12/07 12:03 PM, "Richmond Mathewson" wrote: > Sorry, this is probably fairly basic! > > How does one count the number of lines in a list > field? > > Feel a terrible fool that I don't know . . . > Try, put the number of lines in fld listOfFlowers into msg --and more accurately, put the number of lines in (fld listOfFlowers & null) --in case the last line is empty and you want it to count Jim Ault Las Vegas From pepetoo at Cox.Net Thu Apr 12 15:29:25 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Thu, 12 Apr 2007 12:29:25 -0700 Subject: A string doesn't equal itself In-Reply-To: References: <461E7195.8090507@fourthworld.com> Message-ID: But Bill, did you notice THEY AREN'T THE SAME. ONE ENDS IN 1; THE OTHER ENDS IN 2! Joe Wilkins On Apr 12, 2007, at 11:58 AM, Bill Marriott wrote: > Richard, > > What about > > put "3.141592653589793238461" is "3.141592653589793238462" > > Guess what Rev says? (True.) Longstanding behavior in xTalk, going > back to > HyperCard days. > > but > > put "3.141592653589793238461" & null is "3.141592653589793238462" & > null > > returns false. > > Seems like the "best practice" right now is: to coerce string-based > evaluation over possible numeric evaluation, use the & null operation. From jacque at hyperactivesw.com Thu Apr 12 15:51:22 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2007 14:51:22 -0500 Subject: A string doesn't equal itself In-Reply-To: <461E7195.8090507@fourthworld.com> References: <461E7195.8090507@fourthworld.com> Message-ID: <461E8DBA.70404@hyperactivesw.com> Richard Gaskin wrote: > I can understand attempting to coerce to numbers if two string literals > have an arithmetic operator between them, e.g.: > > "5" + "5" > > ...but if quoted and merely checking for equivalence, offhand I can > think of no case where these wouldn't be true: > > "5" is "5" > > "55e555" is "55e555" > > "a" = "a" The only time numbers, quoted or not, are not equivalent is in overflow cases, and that is being fixed. The above examples would all return true even now (except for the 55e555 example, which is an overflow case.) So I don't think the quotes will be an issue. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 12 16:00:37 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2007 15:00:37 -0500 Subject: A string doesn't equal itself In-Reply-To: <461E8594.20703@fourthworld.com> References: <461E8594.20703@fourthworld.com> Message-ID: <461E8FE5.6090409@hyperactivesw.com> Richard Gaskin wrote: > Bill Marriott wrote: > >> What about >> >> put "3.141592653589793238461" is "3.141592653589793238462" >> >> Guess what Rev says? (True.) Longstanding behavior in xTalk, going >> back to HyperCard days. > > You won't find much HyperCard worship here. Sure, I liked it and used > it, but I've found many things in that app that I would consider design > errors and would count this among them. You're blaming the wrong scapegoat. HC passed its math functions directly to the OS libraries. I'm pretty sure Rev does the same. Blame the OS. I believe Mark's fix will accomodate the above. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Thu Apr 12 17:15:49 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 12 Apr 2007 18:15:49 -0300 Subject: OT: I was accepted in Google Summer Of Code. Message-ID: Hello Folks, I am pleased to say that I was accepted as a student in the google summer of code program. For those that don't know, the summer of code is an initiative from google that works like this: Google approve a number of mentoring organizations, students submit projects to this organizations, some students are selected and will pass the summer implementing such project, and google pays for it! :-D This year 6,200 students applied and ~900 were selected, and I am one of them!!!! :-D I will be working with the Haiku Operating System project which was a pet project of mine since forever. Haiku is a free implementation of an OS that is binary compatible with BeOS from Be Inc and it is much like old BeOS. My task will be implement a network preferences application, like the network settings prefs panel from Mac OS X. Haiku has a young tcp/ip stack and while Haiku is a full blown GUI Operating System, it lacks such preference panel. I'll spend the next summer implementing that (as well as my other projects and contracts). For more info on GSoC visit For more info on Haiku Summer Of Code For more info on Haiku Cheers andre From ambassador at fourthworld.com Thu Apr 12 17:22:53 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Apr 2007 14:22:53 -0700 Subject: OT: I was accepted in Google Summer Of Code. Message-ID: <461EA32D.9000508@fourthworld.com> Andre Garzia wrote: > I am pleased to say that I was accepted as a student in the google > summer of code program. Congratulations, Andre! When you take over the industry I'll be happy to apply for a job with Soapdog Inc. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From wjm at wjm.org Thu Apr 12 17:25:29 2007 From: wjm at wjm.org (Bill Marriott) Date: Thu, 12 Apr 2007 17:25:29 -0400 Subject: A string doesn't equal itself References: <461E7195.8090507@fourthworld.com> Message-ID: Joe, > But Bill, did you notice THEY AREN'T THE SAME. ONE ENDS IN 1; THE OTHER > ENDS IN 2! > >> put "3.141592653589793238461" is "3.141592653589793238462" Um, yes, that was the point :) I think Rev handles up to 20 digits of precision after the decimal point. So as the 1 and 2 are beyond its precision, it considers the two (numeric) values equal. As numbers, they are "equal"; as strings they are not. FYI, Excel only gives you 14 digits of precision, so it would think 3.14159265358972222222 = 3.141592653589791111111 is "true." Please no Microsoft jabs, I'm just trying to illustrate the #1 number cruncher out there is not immune from these issues. From tereza at califex.com Thu Apr 12 17:36:13 2007 From: tereza at califex.com (Tereza Snyder) Date: Thu, 12 Apr 2007 16:36:13 -0500 Subject: OT: I was accepted in Google Summer Of Code. In-Reply-To: <461EA32D.9000508@fourthworld.com> References: <461EA32D.9000508@fourthworld.com> Message-ID: <9FF1D9A7-C282-49F3-ADAB-1ED1F1ABB5E2@califex.com> On Apr 12, 2007, at 4:22 PM, Richard Gaskin wrote: > >> I am pleased to say that I was accepted as a student in the >> google summer of code program. > > Congratulations, Andre! > > When you take over the industry I'll be happy to apply for a job > with Soapdog Inc. :) I'm applying now too! Hi Boss! t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From wdurden at gmail.com Thu Apr 12 17:56:36 2007 From: wdurden at gmail.com (wayne durden) Date: Thu, 12 Apr 2007 17:56:36 -0400 Subject: OT: I was accepted in Google Summer Of Code. In-Reply-To: References: Message-ID: <29bc7bd40704121456t5f7996e7y785b79c562a4ea3a@mail.gmail.com> Congrats Andre: Beos was great, Have watched Yellow Tab flame out and am hopeful Haiku makes it to release! Of course then you are going to have to get an xtalk implemented for it.... Wayne On 4/12/07, Andre Garzia wrote: > > Hello Folks, > > I am pleased to say that I was accepted as a student in the google > summer of code program. For those that don't know, the summer of code > is an initiative from google that works like this: Google approve a > number of mentoring organizations, students submit projects to this > organizations, some students are selected and will pass the summer > implementing such project, and google pays for it! :-D > > This year 6,200 students applied and ~900 were selected, and I am one > of them!!!! :-D > > I will be working with the Haiku Operating System project haiku-os.org> which was a pet project of mine since forever. Haiku is > a free implementation of an OS that is binary compatible with BeOS > from Be Inc and it is much like old BeOS. My task will be implement a > network preferences application, like the network settings prefs > panel from Mac OS X. Haiku has a young tcp/ip stack and while Haiku > is a full blown GUI Operating System, it lacks such preference panel. > I'll spend the next summer implementing that (as well as my other > projects and contracts). > > For more info on GSoC visit > For more info on Haiku Summer Of Code haiku/about.html> > For more info on Haiku > > Cheers > andre > _______________________________________________ > use-revolution mailing list > use-revolution 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 Thu Apr 12 18:12:01 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Thu, 12 Apr 2007 15:12:01 -0700 Subject: A string doesn't equal itself In-Reply-To: References: <461E7195.8090507@fourthworld.com> Message-ID: <2EE8F00D-D5BF-4558-9AF5-B8A6B04484F1@Cox.Net> Thanks for the patient explanation. Sometimes I feel kind of dumb on this list, but then programming is not my main field of expertise and probably never will be. (smile) On the M$ front, don't worry. I've given that up "here"! Joe Wilkins On Apr 12, 2007, at 2:25 PM, Bill Marriott wrote: > Joe, > >> But Bill, did you notice THEY AREN'T THE SAME. ONE ENDS IN 1; THE >> OTHER >> ENDS IN 2! >> >>> put "3.141592653589793238461" is "3.141592653589793238462" > > Um, yes, that was the point :) I think Rev handles up to 20 digits of > precision after the decimal point. So as the 1 and 2 are beyond its > precision, it considers the two (numeric) values equal. As numbers, > they are > "equal"; as strings they are not. > > FYI, Excel only gives you 14 digits of precision, so it would think > > 3.14159265358972222222 = 3.141592653589791111111 is "true." > > Please no Microsoft jabs, I'm just trying to illustrate the #1 number > cruncher out there is not immune from these issues. > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 JimCarwardine at OwnYourFuture-net.com Thu Apr 12 20:42:59 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Thu, 12 Apr 2007 21:42:59 -0300 Subject: AltBrowser newbie question... In-Reply-To: Message-ID: I've just installed AltBrowser and am starting to play with it. I can't seem to get the AltBrowser window to display a url. I have installed the plug-in and also the stack in my application. I used the Launch Browser button in the demo stack to create the launch button in my stack but when I click on that button, it launches a window but doesn't connect with the url. When I look at the docs through the demo, it launches the window *and* connects with the rev url no problem. Aside from the cosmetics, the button that launches the docs url does not contain the same scripting as the button created by the Launch Browser button. I know this is simple but I don't see where to go. There is no troubleshooting section in the docs. Can somebody set me straight? Jim -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From scott at tactilemedia.com Thu Apr 12 20:53:34 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 12 Apr 2007 17:53:34 -0700 Subject: AltBrowser newbie question... In-Reply-To: Message-ID: Recently, Jim Carwardine wrote: > I've just installed AltBrowser and am starting to play with it. I can't > seem to get the AltBrowser window to display a url. I have installed the > plug-in and also the stack in my application. > ... > When I look at the docs through the demo, it launches the window *and* > connects with the rev url no problem. It might help to duplicate the demo stack and use that as a starting point for your own stack. If you're using the code in the demo stack, you'll notice that it references some stack-based properties to determine whether or not to display the browser object -- this is an issue that tripped me up during development. AltBrowser is an external that brings a smile to your face when it works. It's a little temperamental (and you can't use it to display PDFs reliably on Mac OSX), but it is quite cool. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From soapdog at mac.com Thu Apr 12 21:05:23 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 12 Apr 2007 22:05:23 -0300 Subject: OT: I was accepted in Google Summer Of Code. In-Reply-To: <29bc7bd40704121456t5f7996e7y785b79c562a4ea3a@mail.gmail.com> References: <29bc7bd40704121456t5f7996e7y785b79c562a4ea3a@mail.gmail.com> Message-ID: Wayne, You know, I've meet personally with Bernd Korz, even had dinner with the guy. He was very decent and many friends worked for yT. Its sad to see what happened to them, I don't think I'll ever see Bernd again. Anyway, Haiku is growing fast, even firefox is running now... maybe this year or the next we'll achieve a beta or something like that. And yes, I was bugging Bernd and others since forever to create a good language such as an xTalk for the system, I told him that a platform is as strong as its developers base, that is true for the Newton that has such strong developers that without Newton OS source or help from apple, they were able to add FAT support, Web Servers, Wifi, even an emulator... and they are now planning for colors, COLORS!!!! we need more languages such as rev on niche operating system, if the users are not promoted to creative users/developers, there's no chance for them to survive... andre On Apr 12, 2007, at 6:56 PM, wayne durden wrote: > Congrats Andre: > > Beos was great, Have watched Yellow Tab flame out and am hopeful > Haiku > makes it to release! Of course then you are going to have to get > an xtalk > implemented for it.... > > Wayne > > On 4/12/07, Andre Garzia wrote: >> >> Hello Folks, >> >> I am pleased to say that I was accepted as a student in the google >> summer of code program. For those that don't know, the summer of code >> is an initiative from google that works like this: Google approve a >> number of mentoring organizations, students submit projects to this >> organizations, some students are selected and will pass the summer >> implementing such project, and google pays for it! :-D >> >> This year 6,200 students applied and ~900 were selected, and I am one >> of them!!!! :-D >> >> I will be working with the Haiku Operating System project > haiku-os.org> which was a pet project of mine since forever. Haiku is >> a free implementation of an OS that is binary compatible with BeOS >> from Be Inc and it is much like old BeOS. My task will be implement a >> network preferences application, like the network settings prefs >> panel from Mac OS X. Haiku has a young tcp/ip stack and while Haiku >> is a full blown GUI Operating System, it lacks such preference panel. >> I'll spend the next summer implementing that (as well as my other >> projects and contracts). >> >> For more info on GSoC visit >> For more info on Haiku Summer Of Code > haiku/about.html> >> For more info on Haiku >> >> Cheers >> andre >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 soapdog at mac.com Thu Apr 12 21:07:03 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 12 Apr 2007 22:07:03 -0300 Subject: OT: I was accepted in Google Summer Of Code. In-Reply-To: <9FF1D9A7-C282-49F3-ADAB-1ED1F1ABB5E2@califex.com> References: <461EA32D.9000508@fourthworld.com> <9FF1D9A7-C282-49F3-ADAB-1ED1F1ABB5E2@califex.com> Message-ID: Tereza and Richard, and I was thinking about applying to work for 4W and Califex.... you know, you guys are the inspiration, all I did was coding and filling the form. It helps that I choose to help a niche operating system, less competition... :D Andre On Apr 12, 2007, at 6:36 PM, Tereza Snyder wrote: > > On Apr 12, 2007, at 4:22 PM, Richard Gaskin wrote: > >> >>> I am pleased to say that I was accepted as a student in the >>> google summer of code program. >> >> Congratulations, Andre! >> >> When you take over the industry I'll be happy to apply for a job >> with Soapdog Inc. :) > > I'm applying now too! Hi Boss! > > > t > > -- > Tereza Snyder > > Califex Software, Inc. > www.califexsoftware.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 chipp at chipp.com Thu Apr 12 22:44:12 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 12 Apr 2007 21:44:12 -0500 Subject: OT: I was accepted in Google Summer Of Code. In-Reply-To: References: Message-ID: <7aa52a210704121944j6e0fc516pe186d58e681e91c6@mail.gmail.com> Andre, Congratulations. I sure hope you can get over your shyness for your new job. -c From mwieder at ahsoftware.net Thu Apr 12 22:49:08 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 12 Apr 2007 19:49:08 -0700 Subject: A string doesn't equal itself In-Reply-To: <461E620C.50505@hyperactivesw.com> References: <46191364.1000802@fourthworld.com><31351149656.20070408221632@ahsoftware.net><20070409010024976110.820f781f@sonsothunder.com><31425194497.20070409185037@ahsoftware.net> <11513846301.20070410192809@ahsoftware.net> <461E620C.50505@hyperactivesw.com> Message-ID: <18687905215.20070412194908@ahsoftware.net> Jacque- Thursday, April 12, 2007, 9:45:00 AM, you wrote: > The fix involves doing a string comparison rather then a numeric > comparison if either operand overflows. The bug number is 4651 if anyone > is curious. Thanks. My comments added. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Apr 12 22:53:07 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 12 Apr 2007 19:53:07 -0700 Subject: A string doesn't equal itself In-Reply-To: References: <46191364.1000802@fourthworld.com><31351149656.20070408221632@ahsoftware.net><20070409010024976110.820f781f@sonsothunder.com><31425194497.20070409185037@ahsoftware.net> <11513846301.20070410192809@ahsoftware.net> Message-ID: <75688144179.20070412195307@ahsoftware.net> Bill- Thursday, April 12, 2007, 6:02:27 AM, you wrote: > put "5" + "5" > gives you > 10 > Would you rather that give you "Syntax Error?" Hmmm. I get "Operators +: error in left operand" And that's what I'd expect. And yes, I *do* prefer that. -- -Mark Wieder mwieder at ahsoftware.net From bvg at mac.com Thu Apr 12 23:43:41 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 13 Apr 2007 05:43:41 +0200 Subject: A string doesn't equal itself In-Reply-To: <75688144179.20070412195307@ahsoftware.net> References: <46191364.1000802@fourthworld.com> <31351149656.20070408221632@ahsoftware.net> <20070409010024976110.820f781f@sonsothunder.com> <31425194497.20070409185037@ahsoftware.net> <11513846301.20070410192809@ahsoftware.net> <75688144179.20070412195307@ahsoftware.net> Message-ID: On 13 Apr 2007, at 04:53, Mark Wieder wrote: > Bill- > > Thursday, April 12, 2007, 6:02:27 AM, you wrote: > >> put "5" + "5" > >> gives you > >> 10 > >> Would you rather that give you "Syntax Error?" > > Hmmm. I get "Operators +: error in left operand" > > And that's what I'd expect. > And yes, I *do* prefer that. strange... I get 10, and I greatly prefer that... maybe rev has some mind reading external lately? -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From jacque at hyperactivesw.com Thu Apr 12 23:43:16 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2007 22:43:16 -0500 Subject: A string doesn't equal itself In-Reply-To: <75688144179.20070412195307@ahsoftware.net> References: <46191364.1000802@fourthworld.com><31351149656.20070408221632@ahsoftware.net><20070409010024976110.820f781f@sonsothunder.com><31425194497.20070409185037@ahsoftware.net> <11513846301.20070410192809@ahsoftware.net> <75688144179.20070412195307@ahsoftware.net> Message-ID: <461EFC54.7090306@hyperactivesw.com> Mark Wieder wrote: > Bill- > > Thursday, April 12, 2007, 6:02:27 AM, you wrote: > >> put "5" + "5" > >> gives you > >> 10 > >> Would you rather that give you "Syntax Error?" > > Hmmm. I get "Operators +: error in left operand" Interesting. On OS X I get 10. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 12 23:48:20 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Apr 2007 22:48:20 -0500 Subject: OT: I was accepted in Google Summer Of Code. In-Reply-To: <7aa52a210704121944j6e0fc516pe186d58e681e91c6@mail.gmail.com> References: <7aa52a210704121944j6e0fc516pe186d58e681e91c6@mail.gmail.com> Message-ID: <461EFD84.4020306@hyperactivesw.com> Chipp Walters wrote: > Andre, > > Congratulations. I sure hope you can get over your shyness for your new > job. Now there's an image...Andre the Blushing Rose. :) Congratulations, Andre. Don't forget about us little people here when you get famous. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Fri Apr 13 00:07:21 2007 From: katir at hindu.org (Sivakatirswami) Date: Thu, 12 Apr 2007 18:07:21 -1000 Subject: Rolling Animation Message-ID: <461F01F9.40107@hindu.org> I wonder if someone has already scripted this... I did not find it in Malte Brill's tutorials: Rolling wheel or ball: round object that has distintive colors and shapes appears to be rolling forward or backward. One would have to grok the math for having the rotation match the movement. i.e. the circumference of the object would define the "length" that it moved as at rolled, if this is to look realistic. If speed increase, the rate of rotation would have to increase in proportion. My higher math functions are rusty to non-existent... I *might* be able to figure it out. I suspect it is a simple combination of 2-3 functions. So, before I try to re-invent this "wheel" I thought i would ask here. Sivakatirswami www.himalayanacademy.com From toledor at usfca.edu Fri Apr 13 01:15:36 2007 From: toledor at usfca.edu (Ronell E. Toledo) Date: Thu, 12 Apr 2007 22:15:36 -0700 Subject: "Virtual Tour" Functionality Question Message-ID: Hello there, I'd like use Revolution to do a "virtual tour", displaying a location photo in a small window within a card, and using either left/right buttons or moving the mouse to the far left or far right edge of the window to make the location photo pan left or right (and possibly up/down). How is that done in Revolution? I attempted to resize an image placeholder, hoping it would mask out a portion of the location photo, but instead it caused the entire image to resize. Thank you in advance, Ron Toledo ---------------------------------------------------------------------------- Ronell Toledo Web Services Director University of San Francisco 2130 Fulton Street San Francisco, CA 94117-1080 (415) 422-2747 www.usfca.edu From lan.kc.macmail at gmail.com Fri Apr 13 01:44:18 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 13 Apr 2007 13:44:18 +0800 Subject: A string doesn't equal itself In-Reply-To: References: <46191364.1000802@fourthworld.com> <31351149656.20070408221632@ahsoftware.net> <20070409010024976110.820f781f@sonsothunder.com> <31425194497.20070409185037@ahsoftware.net> <11513846301.20070410192809@ahsoftware.net> <75688144179.20070412195307@ahsoftware.net> Message-ID: On 4/13/07, Bj?rnke von Gierke wrote: > > > > > strange... I get 10, and I greatly prefer that... maybe rev has some > mind reading external lately? Goodie, maybe then I'll be able to do: 2 + 2 = IV and get true ;-) From mwieder at ahsoftware.net Fri Apr 13 01:52:30 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 12 Apr 2007 22:52:30 -0700 Subject: OT: I was accepted in Google Summer Of Code. In-Reply-To: References: Message-ID: <95698906915.20070412225230@ahsoftware.net> Andre- Thursday, April 12, 2007, 2:15:49 PM, you wrote: > I am pleased to say that I was accepted as a student in the google > summer of code program. Congratulations. I must say Google is showing amazingly good taste in their selection process... -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Fri Apr 13 01:52:15 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 12 Apr 2007 22:52:15 -0700 Subject: "Virtual Tour" Functionality Question In-Reply-To: Message-ID: Recently, Ronell E. Toledo wrote: > I'd like use Revolution to do a "virtual tour", displaying a location photo in > a small window > within a card, and > using either left/right buttons or moving the mouse to the far left or far > right edge of the > window to make the > location photo pan left or right (and possibly up/down). > > How is that done in Revolution? If you want to pan a photo within a region that is smaller than photo's dimensions, group the photo, set the size of the group to your desired rect and position, and then lock the group. You will be able to move the photo within the group using the grab command or your own script routine. For reference, you might want to look at a tile demo stack that isn't exactly what you're doing but employs a similar principle. Execute the following in your message box: go url "http://www.tactilemedia.com/download/tiletest.rev" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From wjm at wjm.org Fri Apr 13 01:59:06 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 13 Apr 2007 01:59:06 -0400 Subject: OT: I was accepted in Google Summer Of Code. References: <29bc7bd40704121456t5f7996e7y785b79c562a4ea3a@mail.gmail.com> Message-ID: Andre, > I told him that a platform is as strong as its developers base, that is > true for the Newton that has such strong developers that without Newton > OS source or help from apple, they were able to add FAT support, Web > Servers, Wifi, even an emulator... and they are now planning for colors, > COLORS!!!! [...] > we need more languages such as rev on niche operating system, if the > users are not promoted to creative users/developers, there's no chance > for them to survive... You know, I was thinking this, too, as I was playing with a 3Com Ergo Audrey I recently picked up from eBay ($60). It has a 640x480 color touch-panel screen; really nice stereo speakers; microphone; USB ports; Compact Flash card slot; 32MB RAM, Ethernet; wireless keyboard; built-in email; date book, to-do-list and contacts that sync with Palm devices; a web browser; and lots of other goodies. It runs the QNX operating system [derivative of Linux], and some guys hacked it a few years ago to add an MP3 player, photo album/picture frame, web server, ability to mount NTFS shares; and a bunch of other stuff ... but most of the hacking died down around 2004. I'd really love to have Rev on the baby (no joke!) so I could come up with a nice, integrated experience (the hacks kind of destroy the highly-usable "internet appliance" gestalt). From wjm at wjm.org Fri Apr 13 02:02:31 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 13 Apr 2007 02:02:31 -0400 Subject: "Virtual Tour" Functionality Question References: Message-ID: Ronell, > I'd like use Revolution to do a "virtual tour" [...] Sounds like you might want to give Rev Media a spin. It has an adventure game builder which does something what you're asking to do. There is also a downloadable sample stack that illustrates how to do it. From revolution at derbrill.de Fri Apr 13 03:51:15 2007 From: revolution at derbrill.de (Malte Brill) Date: Fri, 13 Apr 2007 09:51:15 +0200 Subject: OT: I was accepted in Google Summer Of Code. In-Reply-To: <20070213103332.5D1F9488F8F@mail.runrev.com> References: <20070213103332.5D1F9488F8F@mail.runrev.com> Message-ID: <0077DBA0-6C04-4BA6-A42B-A74FAB76D7E5@derbrill.de> Congrats Andre!!!! This is ?ber cool. I wish you all the best and a ton of fun there! All the best, Malte From revolution at derbrill.de Fri Apr 13 04:15:41 2007 From: revolution at derbrill.de (Malte Brill) Date: Fri, 13 Apr 2007 10:15:41 +0200 Subject: Rolling Animation References: <21704CD5-928E-441E-96D5-A66AD4C120E2@derbrill.de> Message-ID: <6F0E59D3-853D-4325-8F96-BAF2872418AB@derbrill.de> Hi Katir, Here is a starter. Try this in a button: on mouseUp set the flag of me to not the flag of me if the flag of me then createBall end if end mouseUp on createBall if there is a grp "ball" then delete grp "ball" local tSpikes,tAngle put 6 into tSpikes put 360/tSpikes into tAngle create group "ball" set the style of the templateGraphic to "oval" set the height of the templateGraphic to 50 set the width of the templateGraphic to 50 set the opaque of the templategraphic to true set the loc of the templateGraphic to 100,100 repeat with i=1 to tSpikes set the backColor of the templateGraphic to any item of "red,green,blue,yellow,purple,magenta" create grc ("spike"&i) in grp "ball" set the arcAngle of the last grc to tAngle set the startangle of the last grc to i*tAngle-tAngle end repeat if the flag of me then rollBall end createBall on rollBall local tStep put 8 into tStep lock screen repeat with i=1 to the number of grcs of grp "ball" set the startAngle of grc i of grp "ball" to the startAngle of grc i of grp "ball" + tStep end repeat unlock screen if the flag of me then send "rollBall" to me in 40 milliseconds end rollBall You will need to move the group asynchronously then. AE might help there. From nickp at didata.bw Fri Apr 13 04:22:39 2007 From: nickp at didata.bw (Nic Prioleau) Date: Fri, 13 Apr 2007 10:22:39 +0200 Subject: Runrev & Microsoft sql server References: <461E57C1.30609@crcom.net> Message-ID: <023301c77da4$e69c4ce0$480aa8c0@didata.bw> Thank you Len, In answer to your questions... 1) This will be a multiuser database. 2) Server and clients should always be on the same subnet. 3) I think we should definitely give the option of running this app on other OS's. So it looks as though you've answered my question about SQLExpress.. :) But since I have never used PostgreSQL, I am unfamiliar with deployment. Is this a simple process? I imagine I would have to be able to do a server install but what (if any) adjustments need to be made after installation. I've experienced various issues with mySQL as far as priviledges, etc, are concerned and various .php files need to be edited before a stable/secure installation is achieved. Thanks Nic ----- Original Message ----- From: "Len Morgan" To: Sent: Thursday, April 12, 2007 6:01 PM Subject: RE: Runrev & Microsoft sql server > While I haven't used SQLExpress, I HAVE used SQL Server. If your problem > with mySQL (which I am NOT recommending), is the difficulty of setting up > the server, I don't think you're going to do any better with SQLExpress. > Some things you didn't mention: > > 1) Will this be a multiuser database? > 2) Will you the server and clients be on the same subnet? > 3) Is there any (future) possibility of the server running on something > besides an MS OS? If so, forget SQLExpress > > If it were me, I'd use PostgreSQL. They have a native Windows port with a > simple installer. It's really FREE to use in any way you want, has > unlimited users and there is a Rev driver for it. With SQLExpress, you're > going to have to use ODBC and that means you'll have to set up DSNs on > every client machine. I'm not sure if this last step can be scripted and > I'm pretty sure you'll need Admin rights on the client machines to set > this up. PostgreSQL doesn't require this (on the clients). > > If this is not a multiuser app, you could look into SQLLite but I think > that only runs on the local machine (I could be wrong). In any case, it's > a single user database. > > Hope that helps, > > Len Morgan >> The application will not have huge amounts of data. It is being developed >> towards small to medium business. >> Does anyone have any experience with sqlExpress? I know that it's free >> for distribution and does not require licences. Does anyone have any >> suggestions as to what we could use instead? >> I could develop in .NET but really like revolution and would like to >> stick with it for as long as I can. > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From toolbook at kestner.de Fri Apr 13 04:54:35 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 13 Apr 2007 10:54:35 +0200 Subject: double click doesn't launches my stack any more Message-ID: <001a01c77da9$5d44e650$18b2a8c0@TiemoPC2> Hello, since installing 2.8 (WinXP) a doubleclick on a stack just starts Rev, but doesn't open my stack any more in development IDE (what it did under 2.7). Starting Rev shows me that it can't be a missing connection of the file type. Is it a known bug with a tweak to get it run again, or do I just have to live with (this minor) problem? Thanks Tiemo From toolbook at kestner.de Fri Apr 13 05:08:22 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 13 Apr 2007 11:08:22 +0200 Subject: where is the database, when using altSQLite? Message-ID: <001f01c77dab$4b53a100$18b2a8c0@TiemoPC2> Hello, I just started to explore altSQLite, what looks great for my demands. Now I have two dummy newbee questions: 1. Where the heck is the database located after creating it? I almost assume it is not an additional db-file but packaged within my rev file - right??? I just want to know it for distribution reasons etc. 2. After experiencing the SQLite3-Demo stack the setup seems to be really easy, with auto download and setup. But I don't see yet, how and what I have to distribute (Mac and Win) with my Rev application for the setup at the end user. My demo stack connected to the internet and made a download and setup fully automatical. How do I start this process at the users setup - and how, if he is offline, without internet connection? Thank you for any tips and hints Tiemo From katir at hindu.org Fri Apr 13 05:29:08 2007 From: katir at hindu.org (Sivakatirswami) Date: Thu, 12 Apr 2007 23:29:08 -1000 Subject: "Virtual Tour" Functionality Question In-Reply-To: References: Message-ID: <461F4D64.7090609@hindu.org> Bill Marriott wrote: > Ronell, > >> I'd like use Revolution to do a "virtual tour" [...] > > Sounds like you might want to give Rev Media a spin. It has an adventure > game builder which does something what you're asking to do. There is also a > downloadable sample stack that illustrates how to do it. sounds interesting... if one is an enterprise licensee... is Rev Media available or is this a separate product? > Sivakatirswami www.himalayanacademy.com Get Hinduism Today Digital Edition. It's Free! http://www.hinduismtoday.com/digital/ From toolbook at kestner.de Fri Apr 13 05:59:17 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 13 Apr 2007 11:59:17 +0200 Subject: AW: where is the database, when using altSQLite? In-Reply-To: <001f01c77dab$4b53a100$18b2a8c0@TiemoPC2> Message-ID: <003801c77db2$66f436c0$18b2a8c0@TiemoPC2> Sorry for not searching deep enough, I've found my db ;-), but question 2 remains open 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, 13. April 2007 11:08 > An: 'How to use Revolution' > Betreff: where is the database, when using altSQLite? > > Hello, > > I just started to explore altSQLite, what looks great for my demands. Now > I > have two dummy newbee questions: > > 1. Where the heck is the database located after creating it? I almost > assume > it is not an additional db-file but packaged within my rev file - right??? > I > just want to know it for distribution reasons etc. > > 2. After experiencing the SQLite3-Demo stack the setup seems to be really > easy, with auto download and setup. But I don't see yet, how and what I > have > to distribute (Mac and Win) with my Rev application for the setup at the > end > user. My demo stack connected to the internet and made a download and > setup > fully automatical. How do I start this process at the users setup - and > how, > if he is offline, without internet connection? > > > > Thank you for any tips and hints > > 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 scott at elementarysoftware.com Fri Apr 13 06:13:56 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 13 Apr 2007 03:13:56 -0700 Subject: print card double-wide Message-ID: <7FC7D531-F0BE-43BE-BE0A-4C2BC0CFB0EC@elementarysoftware.com> Hello All, I'm trying to print a portion of a card using the "from x,y to x,y" form. The card I'm printing is approximately 17 x 11 inches... essentially 2 pages. I can print the left side of the card (page 1) on both Mac and Windows. On the Mac I was able to get the right side of the card to print if I set the first item of the printMargin to a negative number equal to the width of page 1. Unfortunately, I have been unable to output anything but a blank page when printing the right side of the card (page 2) on Windows (only tested with XP) Did I miss something in the documentation? Is it something I should report as a bug? I can work around this but after banging my head this long I thought I'd ask. 2.6.1 & 2.8.1-dp-1 -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- From katir at hindu.org Fri Apr 13 06:24:24 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 13 Apr 2007 00:24:24 -1000 Subject: Rolling Animation In-Reply-To: <6F0E59D3-853D-4325-8F96-BAF2872418AB@derbrill.de> References: <21704CD5-928E-441E-96D5-A66AD4C120E2@derbrill.de> <6F0E59D3-853D-4325-8F96-BAF2872418AB@derbrill.de> Message-ID: <461F5A58.9090702@hindu.org> Malte... thanks, but in my case I have an already finished image being applied to a button, so I need to rotate the whole button and so I don't have these grc angles to use as "handles" ooops! blunder. btns don't have angle props... OK this works on mouseUp set the angle of img "rudra-1.png" to 0 set the flag of me to not the flag of me if the flag of me then rollBead1 end if end mouseUp on rollBead1 local tStep put 40 into tStep lock screen set the angle of image "rudra-1.png" to the angle of image "rudra-1.png"- tStep unlock screen if the flag of me then send "rollBead1" to me in 80 milliseconds end rollBead1 I just cannot instantiate those img over multiple locations as btn... It's OK I can use in descreet groups and place as needed. cheers from Hawaii Malte Brill wrote: > Hi Katir, > > Here is a starter. Try this in a button: > > on mouseUp > set the flag of me to not the flag of me > if the flag of me then > createBall > end if > end mouseUp > > > on createBall > if there is a grp "ball" then delete grp "ball" > local tSpikes,tAngle > put 6 into tSpikes > put 360/tSpikes into tAngle > create group "ball" > set the style of the templateGraphic to "oval" > set the height of the templateGraphic to 50 > set the width of the templateGraphic to 50 > set the opaque of the templategraphic to true > set the loc of the templateGraphic to 100,100 > repeat with i=1 to tSpikes > set the backColor of the templateGraphic to any item of > "red,green,blue,yellow,purple,magenta" > create grc ("spike"&i) in grp "ball" > set the arcAngle of the last grc to tAngle > set the startangle of the last grc to i*tAngle-tAngle > end repeat > if the flag of me then rollBall > end createBall > > > on rollBall > local tStep > put 8 into tStep > lock screen > repeat with i=1 to the number of grcs of grp "ball" > set the startAngle of grc i of grp "ball" to the startAngle of grc i > of grp "ball" + tStep > end repeat > unlock screen > if the flag of me then send "rollBall" to me in 40 milliseconds > end rollBall > > > You will need to move the group asynchronously then. AE might help there. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Om shanti (In Peace) Sivakatirswami www.himalayanacademy.com Get Hinduism Today Digital Edition. It's Free! http://www.hinduismtoday.com/digital/ From revlist at azurevision.co.uk Fri Apr 13 06:31:24 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 13 Apr 2007 12:31:24 +0200 Subject: "Virtual Tour" Functionality Question In-Reply-To: References: Message-ID: <0544B18F-5B9D-4640-9479-68049A3B4738@azurevision.co.uk> On 13 Apr 2007, at 07:15, Ronell E. Toledo wrote: > I'd like use Revolution to do a "virtual tour", displaying a > location photo in a small window within a card, and using either > left/right buttons or moving the mouse to the far left or far right > edge of the window to make the location photo pan left or right > (and possibly up/down). Out of interest, is there a reason why you are using a 'flat' image for this and not a QTVR panorama? Ian From wjm at wjm.org Fri Apr 13 08:31:27 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 13 Apr 2007 08:31:27 -0400 Subject: where is the database, when using altSQLite? References: <001f01c77dab$4b53a100$18b2a8c0@TiemoPC2> <003801c77db2$66f436c0$18b2a8c0@TiemoPC2> Message-ID: Tiemo, >>> Sorry for not searching deep enough, I've found my db ;-), but question 2 remains open <<< RunRev is in the process of more neatly integrating the alt plugins (including SQL Lite) into the product and in fact there will be a new beta version out today which has the font and SQL plugins integrated. If you would sign up for the beta at http://support.runrev.com/beta_test.php You will receive the new beta as soon as it's released. There should be better documentation, answers to your questions, and you'll be able to code your stack in the way the final, released version will work. Plus we could use your feedback as an SQL Lite tester. Thanks... Bill The Beta Guy From JimCarwardine at OwnYourFuture-net.com Fri Apr 13 08:35:00 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 13 Apr 2007 09:35:00 -0300 Subject: AltBrowser newbie question... In-Reply-To: Message-ID: Thanks, Scott... I already have a stack I want to put AltBrowser into. Is there is a section of the stack script that can be pasted into the substack it created for me... I can't seem to find anything I can use that way. The "Go" button on the created substack references a handler called... abLoadURL fld "browserAddress" In the card script of the new stack. When I trace it, it executes the handler, nothing shows on the altBrowser window, then it goes off and executes some code I created for mouseEnter and mouseWithin messages, which I should test to see if I'm in the right substack which I'm not, however, I don't think what I'm doing should have preempted what AltBrowser wants to do... Jim on 4/12/07 9:53 PM, Scott Rossi wrote: > Recently, Jim Carwardine wrote: > >> I've just installed AltBrowser and am starting to play with it. I can't >> seem to get the AltBrowser window to display a url. I have installed the >> plug-in and also the stack in my application. >> ... >> When I look at the docs through the demo, it launches the window *and* >> connects with the rev url no problem. > > It might help to duplicate the demo stack and use that as a starting point > for your own stack. If you're using the code in the demo stack, you'll > notice that it references some stack-based properties to determine whether > or not to display the browser object -- this is an issue that tripped me up > during development. > > AltBrowser is an external that brings a smile to your face when it works. > It's a little temperamental (and you can't use it to display PDFs reliably > on Mac OSX), but it is quite cool. > > 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 -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From sunshine at public.kherson.ua Fri Apr 13 08:39:53 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 13 Apr 2007 15:39:53 +0300 Subject: Runrev & Microsoft sql server In-Reply-To: <019901c77ce4$04a1f8a0$480aa8c0@didata.bw> Message-ID: On 12/4/07 12:21 PM, "Nic Prioleau" wrote: Hi Nic, > I am about to embark on a project where we wanted to use a "licence free" > database that we could embed in the application or at time of deployment, did > not require too much "tweeking". I looked at mySQL but have found this to be > quite difficult at deployment. We literally want the cutomer to install the > "server version" of the app which will obviously install the database and it > components to the server and then the "client" version speaks for itself. I > have looked at various DBs such as Pervasive, mySQL, postgreSQL but have > recently been pointed to microsoft's sqlExpress. It seems you have not see yet Valentina Server :-) Take a look here: http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documen tation:features:features http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documen tation:vserver:features:features&do=edit http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:licensi ng:licensing Please, let me know if you have more questions. -- 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 devinasay at gmail.com Fri Apr 13 10:17:26 2007 From: devinasay at gmail.com (Devin Asay) Date: Fri, 13 Apr 2007 08:17:26 -0600 Subject: Rolling Animation In-Reply-To: <461F01F9.40107@hindu.org> References: <461F01F9.40107@hindu.org> Message-ID: <7A8E9F42-4423-443C-BAFA-10078076C697@byu.edu> On Apr 12, 2007, at 10:07 PM, Sivakatirswami wrote: > I wonder if someone has already scripted this... I did not find it > in Malte Brill's tutorials: > > Rolling wheel or ball: round object that has distintive colors and > shapes appears > to be rolling forward or backward. > > One would have to grok the math for having the rotation match the > movement. > i.e. the circumference of the object would define the "length" that > it moved as > at rolled, if this is to look realistic. If speed increase, the > rate of rotation > would have to increase in proportion. > > My higher math functions are rusty to non-existent... I *might* be > able > to figure it out. I suspect it is a simple combination of 2-3 > functions. > > So, before I try to re-invent this "wheel" I thought i would ask here. Katir, Do you remember a couple of years ago a few people on the list collaborated to create a simple pool game--Nine Ball With Spin? Maybe some of the routines in that stack would help you. If you don't have a copy I have one at go stack url "http://asay.byu.edu/calico/nineball.rev" HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From toolbook at kestner.de Fri Apr 13 11:56:33 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 13 Apr 2007 17:56:33 +0200 Subject: Procedure to install plugins / externals? Message-ID: <006d01c77de4$4fd568b0$18b2a8c0@TiemoPC2> Hello, sorry, another newbee question. Can someone point me to any documentation for the procedure of implementing plugins or externals? Is there a standard procedure at all, or is it customized for every plugin? E.g. I don't know how to implement the altSQLite plugin in my stack, before the new version with altSQLite included. The demo stack runs, but what do I have to do to plug it into my stack? Thanks Tiemo From hughesmike2 at hotmail.com Fri Apr 13 12:35:03 2007 From: hughesmike2 at hotmail.com (Mike Hughes) Date: Fri, 13 Apr 2007 16:35:03 +0000 Subject: Drawers In-Reply-To: <0544B18F-5B9D-4640-9479-68049A3B4738@azurevision.co.uk> Message-ID: I'd like to create a drawer effect like that implemented by Apple Mail's "mailboxes" however when I use Rev's drawer command, I notice the following differences: - the stack opened by the drawer command in Rev (at left or right) does not come straight out, but rather it goes up slightly and then back down a bit - when i drag the drawer's parent stack around the screen, the drawer does wonky things and then disappears! Does anyone have any advice on either of these items? The first issue is merely cosmetic but the second one threatens my entire use of the drawer. TIA, Mike _________________________________________________________________ Download Messenger. Join the i?m Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07 From palcibiades-first at yahoo.co.uk Fri Apr 13 13:24:27 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 13 Apr 2007 18:24:27 +0100 Subject: Odd behaviour from revMail, why? Message-ID: <200704131824.27493.palcibiades-first@yahoo.co.uk> I got the attached from the dictionary, cut and pasted it, and only changed it to make Field1 a real reference to a real field on the test card. When I use it, the first thing that happens is Firefox opens. Then Kmail opens. It shows help at example.com as the address, but nothing else is put into either subject or body. I was expecting to see Help! appear in the subject, and the contents of Field1 to appear in the body, and for only Kmail to open. Isn't this what is supposed to happen? Putting in a literal string in place of field has no effect either. Does revMail do this on Mac or XP? ______________________________ on mouseUp revMail "help at example.com",,"Help!",field "Field1" end mouseUp From adrian at clubtype2.co.uk Thu Apr 12 13:38:46 2007 From: adrian at clubtype2.co.uk (Adrian Williams) Date: Thu, 12 Apr 2007 18:38:46 +0100 Subject: AW: Ugly fonts In-Reply-To: <75C4782C-0D5A-40CF-A0AF-3E7A8EA3D478@azurevision.co.uk> References: <000a01c77d03$5e65eb20$18b2a8c0@TiemoPC2> <8BE8AFF0-FA9F-46FE-BB9D-AFEE745F475A@Cox.Net> <75C4782C-0D5A-40CF-A0AF-3E7A8EA3D478@azurevision.co.uk> Message-ID: <91FA284B-F39D-4454-BB6D-CA1C7CF884F0@clubtype2.co.uk> Joe/Ian, I am involved in designing typefaces for better legibility in special needs and a spin-off of this is that they happen also to be useful for the partially sighted. Dr. Rosemary Sassoon - a handwriting expert, has a book that is recommended reading for anyone wanting to get the best from fonts on computers. Details of "Computers and Typography" and all her books are on our website... http://www.clubtype.co.uk/books.html Adrian On 12 Apr 2007, at 17:27, Ian Wood wrote: > Joe, > > I have a design/interface question for you. As a photographer, I > often like web and app interfaces which have white or very light > grey text on a dark grey (sometimes *very* dark grey) background - > is this as bad as a coloured background for you? > > I'm specifically thinking of apps like Aperture or websites like > http://www.fredmiranda.com/ . > > Ian > > On 12 Apr 2007, at 15:44, Joe Lewis Wilkins wrote: >> Just to add my two bits worth: As someone who is visually >> challenged, when I receive ANYTHING with white text and a colored >> background, I trash it. It is entirely too difficult for me to >> read. I certainly would not work in that type of environment under >> any circumstances. Black on white works for me. IMHO, >> >> Joe Wilkins ______________________ Club Type http://www.clubtype.co.uk From kray at sonsothunder.com Fri Apr 13 13:36:15 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 13 Apr 2007 12:36:15 -0500 Subject: Drawers In-Reply-To: References: Message-ID: <20070413123615242006.c341fc6d@sonsothunder.com> On Fri, 13 Apr 2007 16:35:03 +0000, Mike Hughes wrote: > I'd like to create a drawer effect like that implemented by Apple > Mail's "mailboxes" however when I use Rev's drawer command, I notice > the following differences: > > - the stack opened by the drawer command in Rev (at left or right) > does not come straight out, but rather it goes up slightly and then > back down a bit > - when i drag the drawer's parent stack around the screen, the drawer > does wonky things and then disappears! > > Does anyone have any advice on either of these items? The first issue > is merely cosmetic but the second one threatens my entire use of the > drawer. Odd, I don't get this reaction - it opens fine for me, and dragging the parent stack is smooth. What command are you using (specifically), and is your substack smaller (height-wise) than the parent? Also, are you using any custom window shapes or styles? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Fri Apr 13 13:54:00 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Apr 2007 12:54:00 -0500 Subject: Odd behaviour from revMail, why? In-Reply-To: <200704131824.27493.palcibiades-first@yahoo.co.uk> References: <200704131824.27493.palcibiades-first@yahoo.co.uk> Message-ID: <461FC3B8.9030003@hyperactivesw.com> Peter Alcibiades wrote: > I got the attached from the dictionary, cut and pasted it, and only changed it > to make Field1 a real reference to a real field on the test card. When I use > it, the first thing that happens is Firefox opens. Then Kmail opens. It > shows help at example.com as the address, but nothing else is put into either > subject or body. > > I was expecting to see Help! appear in the subject, and the contents of Field1 > to appear in the body, and for only Kmail to open. Isn't this what is > supposed to happen? Putting in a literal string in place of field has no > effect either. > > Does revMail do this on Mac or XP? It's different on every platform and email client; I get different results depending on what app opens and what OS I'm running. But I think you should enter the above into a bug report, mainly because I don't think the revMail handler is written correctly for Linux. Now would be a good time to report it, since the team is working on the next Linux release right now. The revMail command doesn't really mail anything itself; instead it sets up url-encoded text for the address, body, and other components of an email. Then it passes the data to the revGoURL command. The revGoURL command does the actual handling of the email. On Macs, it sends an applescript and the Mac OS decides which app to launch (which it does correctly.) Mail gets opened in the user's default email client and URLs go to a browser. On Windows the handler figures out whether its an email or a web link and uses "launch" to open the right app, which it determines by reading the registry. However, on Linux there is very little handling done at all. RevGoURL just sends the URL to a browser, which then handles the email request itself by opening your mail client. That's why you see the browser appear first. I suspect the browser is ignoring the extra parameters and is only sending the first one -- the email address. The revGoURL command needs to be rewritten to specifically accomodate email requests on Linux. That's the part to report as a bug. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 13 14:04:33 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Apr 2007 13:04:33 -0500 Subject: double click doesn't launches my stack any more In-Reply-To: <001a01c77da9$5d44e650$18b2a8c0@TiemoPC2> References: <001a01c77da9$5d44e650$18b2a8c0@TiemoPC2> Message-ID: <461FC631.2020509@hyperactivesw.com> Tiemo Hollmann TB wrote: > Hello, > > since installing 2.8 (WinXP) a doubleclick on a stack just starts Rev, but > doesn't open my stack any more in development IDE (what it did under 2.7). > Starting Rev shows me that it can't be a missing connection of the file > type. > > Is it a known bug with a tweak to get it run again, or do I just have to > live with (this minor) problem? At the end of the installation, the installer asks if you want to set the new version to be the default for Rev stacks. Did you tell the installer to do that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Apr 13 14:24:26 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 13 Apr 2007 11:24:26 -0700 Subject: AltBrowser newbie question... In-Reply-To: Message-ID: Recently, Jim Carwardine wrote: >>> I've just installed AltBrowser and am starting to play with it. I can't >>> seem to get the AltBrowser window to display a url. I have installed the >>> plug-in and also the stack in my application. >>> ... >>> When I look at the docs through the demo, it launches the window *and* >>> connects with the rev url no problem. >> It might help to duplicate the demo stack and use that as a starting point >> for your own stack. If you're using the code in the demo stack, you'll >> notice that it references some stack-based properties to determine whether >> or not to display the browser object -- this is an issue that tripped me up >> during development. > I already have a stack I want to put AltBrowser into. Is > there is a section of the stack script that can be pasted into the substack > it created for me... I can't seem to find anything I can use that way. The > "Go" button on the created substack references a handler called... What I did: 1) Established a rect to display the browser object (I used a graphic). 2) Copied the scripts of the demo browser stack into the script of my stack, referencing the above graphic, commenting out handlers I didn't need. 3) Duplicated the custom properties of the demo browser stack in my stack. This is necessary if you use the altBrowser scripts without any modification. 4) Make sure the altBrowserState of your stack (one of the custom properties mentioned above) is true. Again, you need to do this if you use the demo scripts word-for-word. You can modify the scripts so this property setting is unnecessary. Good luck. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From kray at sonsothunder.com Fri Apr 13 14:30:30 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 13 Apr 2007 13:30:30 -0500 Subject: Odd behaviour from revMail, why? In-Reply-To: <461FC3B8.9030003@hyperactivesw.com> References: <200704131824.27493.palcibiades-first@yahoo.co.uk> <461FC3B8.9030003@hyperactivesw.com> Message-ID: <20070413133030772673.609e79c8@sonsothunder.com> On Fri, 13 Apr 2007 12:54:00 -0500, J. Landman Gay wrote: > It's different on every platform and email client; I get different > results depending on what app opens and what OS I'm running. But I > think you should enter the above into a bug report, mainly because I > don't think the revMail handler is written correctly for Linux. Now > would be a good time to report it, since the team is working on the > next Linux release right now. Actually, I tested it under Kubuntu and Ubuntu and got differing results - on Ubuntu, it launched Firefox and opened up the email client, perfectly addresses. On Kubuntu it did absolutely nothing. So I'm not so sure it's Linux-specific - I think the 'mailto:' is being formatted correctly, but I can tell you from experience that different mail clients are more finicky than others. Some need to have things quoted, some don't, etc. Although it's probably a good idea to post your findings to bugzilla anyway just so that the team can see your results. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From m.schonewille at economy-x-talk.com Fri Apr 13 19:38:40 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 14 Apr 2007 01:38:40 +0200 Subject: Drawers In-Reply-To: <20070413123615242006.c341fc6d@sonsothunder.com> References: <20070413123615242006.c341fc6d@sonsothunder.com> Message-ID: <687D37B3-3557-4B16-A94D-E9CF9D1255D8@economy-x-talk.com> Hi, Just for the record, I do recognise the problems Mike describes. They can be solved, but I prefer to avoid drawers entirely. 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 13-apr-2007, om 19:36 heeft Ken Ray het volgende geschreven: > > Odd, I don't get this reaction - it opens fine for me, and dragging > the > parent stack is smooth. What command are you using (specifically), and > is your substack smaller (height-wise) than the parent? Also, are you > using any custom window shapes or styles? > > Ken Ray From calhorner at xtra.Co.NZ Fri Apr 13 21:33:29 2007 From: calhorner at xtra.Co.NZ (Cal Horner) Date: Sat, 14 Apr 2007 13:33:29 +1200 (New Zealand Standard Time) Subject: RevSave and RevSaveAs Message-ID: <46202F69.000003.03564@CALSBIGPC> Can RevSave and RevSaveAs be used to save stacks in a standalone or StackRunner? environment From bridgeyman at gmail.com Fri Apr 13 21:46:45 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Fri, 13 Apr 2007 19:46:45 -0600 Subject: Document Icons on Windows Message-ID: <86ae76bb0704131846y78613fe5g320d4b8c1b20e9b8@mail.gmail.com> Hey, I am trying to deploy to the Windows platform, and I can't get the icons on the documents work quite right. At first they weren't associated with my stack at all. Then, after telling them to open with my application, the icon is a little paper with my application's icon slapped in the middle of it really small instead of the icon that I specified for the documents. How do I make my application's documents be associated with my application from the beginning, and how do I get the document icons to work? Thank You, Bridger Maxwell From hughesmike2 at hotmail.com Fri Apr 13 22:01:15 2007 From: hughesmike2 at hotmail.com (Mike Hughes) Date: Sat, 14 Apr 2007 02:01:15 +0000 Subject: Drawers In-Reply-To: <687D37B3-3557-4B16-A94D-E9CF9D1255D8@economy-x-talk.com> Message-ID: Hi Ken and Mark, I prefer not to use drawers typically but an instance came up where using one would be perfect. I did a little more playing around with the drawer command and noticed that on Tiger the problems I mentioned don't happen. On my Panther box, I cannot move around a drawer's parent stack without the drawer disappearing. Mark, do you think your recollection of this problem may have been associated with using Panther? Many thanks, Mike >From: Mark Schonewille >Reply-To: How to use Revolution >To: How to use Revolution >Subject: Re: Drawers >Date: Sat, 14 Apr 2007 01:38:40 +0200 > >Hi, > >Just for the record, I do recognise the problems Mike describes. They can >be solved, but I prefer to avoid drawers entirely. > >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 13-apr-2007, om 19:36 heeft Ken Ray het volgende geschreven: > > >> >>Odd, I don't get this reaction - it opens fine for me, and dragging the >>parent stack is smooth. What command are you using (specifically), and >>is your substack smaller (height-wise) than the parent? Also, are you >>using any custom window shapes or styles? >> >>Ken Ray > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution _________________________________________________________________ Can?t afford to quit your job? ? Earn your AS, BS, or MS degree online in 1 year. http://www.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143 From kray at sonsothunder.com Fri Apr 13 22:19:33 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 13 Apr 2007 21:19:33 -0500 Subject: RevSave and RevSaveAs In-Reply-To: <46202F69.000003.03564@CALSBIGPC> References: <46202F69.000003.03564@CALSBIGPC> Message-ID: <20070413211933502045.821c3ec8@sonsothunder.com> On Sat, 14 Apr 2007 13:33:29 +1200 (New Zealand Standard Time), Cal Horner wrote: > Can RevSave and RevSaveAs be used to save stacks in a standalone or > StackRunner? environment No, the RevSave and RevSaveAs are part of the backscript called "revBackscript", which is not built into standalones or into StackRunner. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mwieder at ahsoftware.net Fri Apr 13 23:03:28 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Apr 2007 20:03:28 -0700 Subject: A string doesn't equal itself In-Reply-To: <461EFC54.7090306@hyperactivesw.com> References: <46191364.1000802@fourthworld.com><31351149656.20070408221632@ahsoftware.net><20070409010024976110.820f781f@sonsothunder.com><31425194497.20070409185037@ahsoftware.net> <11513846301.20070410192809@ahsoftware.net> <75688144179.20070412195307@ahsoftware.net> <461EFC54.7090306@hyperactivesw.com> Message-ID: <46775165438.20070413200328@ahsoftware.net> Jacque- Thursday, April 12, 2007, 8:43:16 PM, you wrote: > Interesting. On OS X I get 10. This *is* getting interesting. Today I get 10 as well. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Apr 13 23:05:46 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Apr 2007 20:05:46 -0700 Subject: A string doesn't equal itself In-Reply-To: References: <46191364.1000802@fourthworld.com> <31351149656.20070408221632@ahsoftware.net> <20070409010024976110.820f781f@sonsothunder.com> <31425194497.20070409185037@ahsoftware.net> <11513846301.20070410192809@ahsoftware.net> <75688144179.20070412195307@ahsoftware.net> Message-ID: <9775303307.20070413200546@ahsoftware.net> Bj?rnke- Thursday, April 12, 2007, 8:43:41 PM, you wrote: > strange... I get 10, and I greatly prefer that... maybe rev has some > mind reading external lately? more like peer pressure now that I'm getting 10 as well... even my tools are turning against me... -- -Mark Wieder mwieder at ahsoftware.net From scott at elementarysoftware.com Sat Apr 14 02:59:32 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 13 Apr 2007 23:59:32 -0700 Subject: Drawers In-Reply-To: References: Message-ID: Mike, What version of Rev are you using? I thought this was a problem with some of the 2.7.x versions but perhaps it was the OS version. It was reported as a bug. I also seem to remember that using the exact language from the Rev Documentation Dictionary solved a problem for me where I created a drawer but the drawer wandered away when the parent was moved. -Scott Morrow On Apr 13, 2007, at 7:01 PM, Mike Hughes wrote: > Hi Ken and Mark, > > I prefer not to use drawers typically but an instance came up where > using one would be perfect. I did a little more playing around with > the drawer command and noticed that on Tiger the problems I > mentioned don't happen. On my Panther box, I cannot move around a > drawer's parent stack without the drawer disappearing. > > Mark, do you think your recollection of this problem may have been > associated with using Panther? > > Many thanks, > > Mike > > >> From: Mark Schonewille >> Reply-To: How to use Revolution >> To: How to use Revolution >> Subject: Re: Drawers >> Date: Sat, 14 Apr 2007 01:38:40 +0200 >> >> Hi, >> >> Just for the record, I do recognise the problems Mike describes. >> They can be solved, but I prefer to avoid drawers entirely. >> >> 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 13-apr-2007, om 19:36 heeft Ken Ray het volgende geschreven: >> >> >>> >>> Odd, I don't get this reaction - it opens fine for me, and >>> dragging the >>> parent stack is smooth. What command are you using >>> (specifically), and >>> is your substack smaller (height-wise) than the parent? Also, are >>> you >>> using any custom window shapes or styles? >>> >>> Ken Ray >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _________________________________________________________________ > Can?t afford to quit your job? ? Earn your AS, BS, or MS degree > online in 1 year. http://www.classesusa.com/clickcount.cfm? > id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools% > 2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143 > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Sat Apr 14 03:03:11 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 14 Apr 2007 08:03:11 +0100 Subject: Odd behaviour from revMail, why? Message-ID: <200704140803.11874.palcibiades-first@yahoo.co.uk> Sounds like it would be best to roll your own by sending a command to the shell. If you can control the platform its running on, this will be reliable and do exactly what you specify? Peter From toolbook at kestner.de Sat Apr 14 05:17:39 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 14 Apr 2007 11:17:39 +0200 Subject: AW: double click doesn't launches my stack any more In-Reply-To: <461FC631.2020509@hyperactivesw.com> Message-ID: <001601c77e75$c06582e0$18b2a8c0@TiemoPC2> Hmmm don't remember, can I tweak it, or do I have to reinstall? Thanks > -----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: Freitag, 13. April 2007 20:05 > An: How to use Revolution > Betreff: Re: double click doesn't launches my stack any more > > Tiemo Hollmann TB wrote: > > Hello, > > > > since installing 2.8 (WinXP) a doubleclick on a stack just starts Rev, > but > > doesn't open my stack any more in development IDE (what it did under > 2.7). > > Starting Rev shows me that it can't be a missing connection of the file > > type. > > > > Is it a known bug with a tweak to get it run again, or do I just have to > > live with (this minor) problem? > > At the end of the installation, the installer asks if you want to set > the new version to be the default for Rev stacks. Did you tell the > installer to do that? > > -- > 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 eric.chatonet at sosmartsoftware.com Sat Apr 14 06:14:10 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 14 Apr 2007 12:14:10 +0200 Subject: AW: double click doesn't launches my stack any more In-Reply-To: <001601c77e75$c06582e0$18b2a8c0@TiemoPC2> References: <001601c77e75$c06582e0$18b2a8c0@TiemoPC2> Message-ID: Hi Tiemo, Le 14 avr. 07 ? 11:17, Tiemo Hollmann TB a ?crit : >> At the end of the installation, the installer asks if you want to set >> the new version to be the default for Rev stacks. Did you tell the >> installer to do that? > Hmmm don't remember, > can I tweak it, or do I have to reinstall? > Thanks See Help/Manage Versions... menu item :-) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Sat Apr 14 09:17:08 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 14 Apr 2007 15:17:08 +0200 Subject: Dialing with Rev Message-ID: <1FA0E73D-70AE-482B-BA58-69D9A3408691@economy-x-talk.com> Hello, Which well-working solutions do currently exist to make Revolution directly dial a phone number for talking, faxing and connecting to other computers? How easy or difficult is it to implement these solutions? Your answers are highly appreciated. 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 From list at dreamscapesoftware.com Sat Apr 14 14:23:00 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Sat, 14 Apr 2007 13:23:00 -0500 Subject: Checking for a Dial Tone Message-ID: <46211C04.1010604@dreamscapesoftware.com> I am currently working on a little utility that will keep a web site informed of whether or not all the phone lines at a business are currently open. All the utility needs to do is check with the modem to see if there is a dial tone on the phone, as the phone will automatically take the modem to the next available line. I have no idea what commands to send to the modem, nor what responses to look for, or even how to get the response. Is there any way for me to check for a Dial Tone in Revolution? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From burrton at gmail.com Sat Apr 14 14:47:19 2007 From: burrton at gmail.com (Burrton Woodruff) Date: Sat, 14 Apr 2007 14:47:19 -0400 Subject: Access Spotlight comments Mac OS X In-Reply-To: <20070414170005.93569488E48@mail.runrev.com> References: <20070414170005.93569488E48@mail.runrev.com> Message-ID: Folk, I just downloaded the application "tagbot". Tagbot adds one or more entries to the "Spotlight Comments" of a file or folder. I would like to be able to create a stack that accesses the "Spotlight Comments"--read, write, sort, etc. Do any of you have any information or ideas about how to do that? thanks, Burrton Woodruff RippleSoft www.bgwoodruff.com burrton at mac.com From soapdog at mac.com Sat Apr 14 14:55:09 2007 From: soapdog at mac.com (Andre Garzia) Date: Sat, 14 Apr 2007 15:55:09 -0300 Subject: Access Spotlight comments Mac OS X In-Reply-To: References: <20070414170005.93569488E48@mail.runrev.com> Message-ID: <72E909B5-7286-4112-B633-20FDB60904A6@mac.com> Burrton, you can do that with applescript from Rev. check the following command: do As applescript. the applescript for that is something like tell application "Finder" to return the comment of file "the file" of folder "the folder" of disk "startup disk 1" end tell and yes, there are easier way to reference files in applescript but I don't know it :-) andre On Apr 14, 2007, at 3:47 PM, Burrton Woodruff wrote: > Folk, > > I just downloaded the application "tagbot". Tagbot adds one or more > entries to the "Spotlight Comments" of a file or folder. I would > like to be able to create a stack that accesses the "Spotlight > Comments"--read, write, sort, etc. > > Do any of you have any information or ideas about how to do that? > > thanks, > > Burrton Woodruff > RippleSoft > www.bgwoodruff.com > burrton at mac.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 JimAultWins at yahoo.com Sat Apr 14 15:24:55 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 14 Apr 2007 12:24:55 -0700 Subject: OT Applescript utility for Photoshop Message-ID: Since there are Mac users who build Applescript tools to add to their workflow while using Rev, I thought I would mention a two-part utility that I just put together for my workflow. I am using Rev to manipulate images and to direct Photoshop actions. ---- Part 1 - writes a text file that contains the full path of each open document in Photoshop to the desktop. Part 2 - reads a text file and opens the list of documents in Photoshop. Actually, it tells the Finder to open the document in the default app, and in this case, PS is the default app. ---- Part 1 is an app that I run using a double-click. It writes a file named "PShopSession.txt" to the desktop, and I can then rename it if I wish. Part 2 is a drag-drop app that will read the text file dragged, then open the listed documents in Photoshop. If Photoshop is not launched, it will be launched. My goal is to have several of these text files that point to my library of images and icons. It is very easy to create a collection by opening the images in Photoshop, running Part 1, then rename the text file to what you wish and moving it into a folder of your choice. Contact me off list if you are interested and I can send you the code and the apps. Jim Ault Las Vegas From palcibiades-first at yahoo.co.uk Sat Apr 14 16:17:01 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 14 Apr 2007 21:17:01 +0100 Subject: revMail bug report Message-ID: <200704142117.01261.palcibiades-first@yahoo.co.uk> I reported this as a bug, #4693. But if anyone wants to do emailing in anger on Linux, the right thing is probably to use the shell mail command, which is documented at http://www.onlamp.com/linux/cmd/cmd.csp?path=m/mail. Its easy to see why mailto will not work very reliably if you have a couple different clients installed. Just start up a terminal and invoke them with --help. You see that the list of options is wildly different from one client to another. I experimented with kmail and sylpheed, which was enough to convince. Which is why revMail should not use an email client at all, let alone mailto, and there is no need when you have the shell available. Or maybe just eliminate revMail from the Linux version, and tell people to pass a command to the shell and use mail. Looking forward to a couple of hours struggling with options to get this one to work.... Peter From sarah.reichelt at gmail.com Sat Apr 14 16:43:15 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 15 Apr 2007 06:43:15 +1000 Subject: Access Spotlight comments Mac OS X In-Reply-To: <72E909B5-7286-4112-B633-20FDB60904A6@mac.com> References: <20070414170005.93569488E48@mail.runrev.com> <72E909B5-7286-4112-B633-20FDB60904A6@mac.com> Message-ID: > you can do that with applescript from Rev. > > check the following command: > > do As applescript. > > the applescript for that is something like > > tell application "Finder" to > return the comment of file "the file" of folder "the folder" of > disk "startup disk 1" > end tell > > and yes, there are easier way to reference files in applescript but I > don't know it :-) Applescript uses the older format for file paths which include the drive name and where the folders are separated by colon e.g. Macintosh HD:Users:sarah:Documents:Test.txt Rev uses the Unix style which does not include the drive name and where the separator is a slash e.g. /Users/sarah/Documents/Test.txt To convert from one to the other, use the revMacFromUnixPath() or revUnixFromMacPath() functions in Rev. HTH, Sarah From mdswindell at cruzio.com Sat Apr 14 18:23:38 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 14 Apr 2007 15:23:38 -0700 Subject: Bootcamp and Parallels (was ugly fonts) In-Reply-To: References: <79ADAF61-501E-40F1-9508-D07355F95F92@cruzio.com> Message-ID: <1AB63F28-0C8E-4EF9-9CA1-043986D39AE7@cruzio.com> On Apr 11, 2007, at 10:50 AM, Bill Marriott wrote: > BTW: The best way (IMHO) to set up Parallels is to create a Boot Camp > partition first (being sure to install Apple's drivers), then instruct > Parallels to re-use that partition for its virtual machine while > running in > Mac OS X. This way, you have access to the native environment when > you need > it, and you can compare to see whether a problem (such as the > display issue > you're encountering) is due to Parallels or just the "way it is" in > Windows. I've downloaded Bootcamp. Also found Chipp Walter's excellent post about how to install Parallels to use the Bootcamp partition (Nabble's interface is nice, BTW... first time I've used it... http:// www.nabble.com/Parallels-Desktop-tf3256305.html#a9086751 ). This is the same idea as you are suggesting, correct? Given that I already have Parallels installed and XP Home running within it, what should I proceed to do? Do I need to remove Parallels and XP and start over, or what is the proper procedure? This is all somewhat confusing, especially for one as unacquainted with the Windows world as I am. Thanks for your help. Mark From bridgeyman at gmail.com Sat Apr 14 19:19:47 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Sat, 14 Apr 2007 17:19:47 -0600 Subject: Document Icons on Windows In-Reply-To: <86ae76bb0704131846y78613fe5g320d4b8c1b20e9b8@mail.gmail.com> References: <86ae76bb0704131846y78613fe5g320d4b8c1b20e9b8@mail.gmail.com> Message-ID: <86ae76bb0704141619s2ffd9b10x42027bbd2c62fad@mail.gmail.com> Never mind, I found a guide online on how to change the registry to do this. I would put down the site, but I have forgotten it. Woops. TTFN Bridger Maxwell On 4/13/07, Bridger Maxwell wrote: > > Hey, > I am trying to deploy to the Windows platform, and I can't get the icons > on the documents work quite right. At first they weren't associated with my > stack at all. Then, after telling them to open with my application, the > icon is a little paper with my application's icon slapped in the middle of > it really small instead of the icon that I specified for the documents. How > do I make my application's documents be associated with my application from > the beginning, and how do I get the document icons to work? > > > Thank You, > Bridger Maxwell > From viktoras at ekoinf.net Sun Apr 15 05:22:45 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sun, 15 Apr 2007 12:22:45 +0300 (FLE Daylight Time) Subject: Bootcamp and Parallels References: <1AB63F28-0C8E-4EF9-9CA1-043986D39AE7@cruzio.com> Message-ID: <4621EEE5.000001.03804@MAZYTIS> You may try an alternative - VMware player (www.vmware.com). It is free of charge even for commercial use. I use it on my Windows machine and it can virtualize all flavours of Linux, BeOS, Solaris and NetWare. I tried it with Puppy, PCLinux, Slackware Vector Linux, DSLinux, Open Solaris (Belenix), FreeBSD (PC-BSD). It also runs other 'nixes or MS Windows inside a host Linux, etc, etc.. It can be used as a "sandbox" for secure Internet browsing on Windows via the "browser appliance" (Linux/Firefox). The only thing you may need to start with is a livecd iso image of the guest OS and a simple configuration file. As far as I know it is also available for MacOSX - check for VMware Fusion, but it may be still in beta stage... They also offer commercial packages like VMware ESX server, VMware virtual center, Virtual SMP which allows a guest operating system to see up to 4 cpus in the virtual machine, vmware distributed resource scheduler and vmware consolidated backup... configuration file template for vector linux: config.version = "8" virtualHW.version = "4" scsi0.present = "FALSE" memsize = "256" ide1:0.present = "TRUE" ide1:0.fileName = "VLSOHO-5.1.2-LIVE-5.iso" ide1:0.deviceType = "cdrom-image" floppy0.present = "FALSE" ethernet0.present = "TRUE" usb.present = "TRUE" sound.present = "TRUE" sound.virtualDev = "es1371" displayName = "Vector Slackware LiveCD" guestOS = "otherlinux" nvram = "otherlinux.nvram" workingDir = "." Just thought this might be of some use... All the best Viktoras From JimAultWins at yahoo.com Sun Apr 15 14:58:10 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 15 Apr 2007 11:58:10 -0700 Subject: OT Applescript utility for Photoshop In-Reply-To: Message-ID: After receiving an Applescript question, I wrote two more utility scripts that return to Rev a list of selected files. Script 1 - Finder version Script 2 - Path Finder version Because of slightly different dictionaries, the scripts need to have a couple variations. Try them if you like since it is very simple to do. Make a new mainstack, open the stack script, paste the following code and apply. If you do not have Path Finder, you will get an error when holding down the optionKey. (correct for line wrap if necessary, esp the one line that has "POSIX" ) -------------------------------------start copy here on mouseDoubleUp if the optionKey is down then pathFinderVer else finderVersion end if end mouseDoubleUp ------------///// Path Finder version ///////---------- on pathFinderVer put quote into q get "tell application "&q&"Path Finder"&q&cr get it & "set fileList to the selection as list"&cr get it & " set revList to "&q&q&cr get it & " repeat with pathFN in fileList"&cr get it & " set revList to revList & return & the POSIX path of pathFN"&cr get it & " end repeat"&cr get it & " end tell"&cr get it & " return revList as text" put it into cmd do cmd as Applescript put the result into listOfFinderItems --///note: Unix paths returned --value returned between quotes put char 2 to -2 of listOfFinderItems into listOfFinderItems --need to convert return chars to char 10 for Rev replace numtochar(13) with cr in listOfFinderItems filter listOfFinderItems without empty --purge blank lines -- repeat for each line LNN in listOfFinderItems -- put revUnixFromMacPath(LNN) & cr after newList -- end repeat filter newList without empty put newList into msg put listOfFinderItems into msg end pathFinderVer ------------///// Finder version ///////---------- on finderVersion put quote into q get "tell application "&q&"Finder"&q&cr get it & "set fileList to the selection as list"&cr get it & " set revList to "&q&q&cr get it & " repeat with pathFN in fileList"&cr get it & " set revList to revList & return & pathFN"&cr get it & " end repeat"&cr get it & " end tell"&cr get it & " return revList as text" put it into cmd do cmd as Applescript put the result into listOfFinderItems --///note: Mac paths returned --value returned between quotes put char 2 to -2 of listOfFinderItems into listOfFinderItems --need to convert return chars to char 10 for Rev replace numtochar(13) with cr in listOfFinderItems filter listOfFinderItems without empty --purge blank lines repeat for each line LNN in listOfFinderItems put revUnixFromMacPath(LNN) & cr after newList end repeat filter newList without empty put newList into msg end finderVersion --------------------------------- end copy From katir at hindu.org Sun Apr 15 15:40:30 2007 From: katir at hindu.org (Sivakatirswami) Date: Sun, 15 Apr 2007 09:40:30 -1000 Subject: AW: Ugly fonts In-Reply-To: References: Message-ID: <46227FAE.50009@hindu.org> The main reason I use Thunderbird is for the white type on black background skin... having a white back ground "shining" in your eyes all day is very tiring. The iris is trying to "close down" to shut out the light at the same time as you are trying to read... if you are crazy enough to also have a light source behind your computer, you probably are a good case for headaches and eye strain... (everyone is different...) At any rate, there is a good reason for reversed layouts... and the "amber terminal" look ctrl-opt-cmd-8 wow! Thanks! Joe Lewis Wilkins wrote: > Outstanding, even works with my emails. Thank you many times over. BTW, > when is this RevCon in LV going to be held? If you know. Sure like to > buy you some lunch sometime soon! Interesting thing about that, instead > of holding down each of these keys you can just lay your finger across > all of them. That was something I used to use with HC when some of my > stuff got a little "wild"! > > Joe Wilkins > > On Apr 12, 2007, at 12:14 PM, Jim Ault wrote: > >> >> On 4/12/07 6:44 AM, "Joe Lewis Wilkins" wrote: >> >>> Just to add my two bits worth: As someone who is visually challenged, >>> when I receive ANYTHING with white text and a colored background, I >>> trash it. It is entirely too difficult for me to read. I certainly >>> would not work in that type of environment under any circumstances. >>> Black on white works for me. IMHO, >> Joe, >> >> Try using ctrl-opt-cmd-8 to toggle the monitors to the reverse, which >> means >> white-on-black <> black-on-white. >> >> This will let you handle web pages that have the designer backgrounds, >> like >> some of the ones I have designed. >> >> Combine this with the zoom, and it should work better for you. >> >> 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 katir at hindu.org Sun Apr 15 15:43:03 2007 From: katir at hindu.org (Sivakatirswami) Date: Sun, 15 Apr 2007 09:43:03 -1000 Subject: altFont integration Message-ID: <46228047.1020003@hindu.org> altFont integration. This is great stuff... but... the docs don't indicate that only TTF is available. but I believe that is the case... can any one confirm? Newbies will be pointing "loadFont" at type 1 or OpenType fonts. Here in our shop the move is OpenType whenever possible. Sivakatirswami www.himalayanacademy.com From paul at whitefeather.com Sun Apr 15 16:28:11 2007 From: paul at whitefeather.com (Paul Foraker) Date: Sun, 15 Apr 2007 13:28:11 -0700 Subject: field problem Message-ID: Hi, In Rev Media 2.7.4 (Mac), I manually copied a scrolling field and its text from one stack and pasted it into a substack of the stack. In the source stack, I can edit the text. But, in the destination stack, I cannot edit the text in the field. The new uneditable field is not locked. The cursor changes to I-beam when hovered over the field. Clicking in the field, places an insertion point at the top of the field, but typing has no effect. Dragging in the field does not select text. Any suggestions? -- Paul From pepetoo at Cox.Net Sun Apr 15 17:28:52 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 15 Apr 2007 14:28:52 -0700 Subject: field problem In-Reply-To: References: Message-ID: Hi Paul, Methinks you need to check the field's "focusable" property with the Property Inspector or using the msg box. It's one of the Basic Properties. Joe Wilkins On Apr 15, 2007, at 1:28 PM, Paul Foraker wrote: > Hi, > > In Rev Media 2.7.4 (Mac), I manually copied a scrolling field and > its text > from one stack and pasted it into a substack of the stack. In the > source > stack, I can edit the text. But, in the destination stack, I cannot > edit the > text in the field. > > The new uneditable field is not locked. The cursor changes to I- > beam when > hovered over the field. Clicking in the field, places an insertion > point at > the top of the field, but typing has no effect. Dragging in the > field does > not select text. > > Any suggestions? > > -- Paul > _______________________________________________ > use-revolution mailing list > use-revolution 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 paul at whitefeather.com Sun Apr 15 17:30:44 2007 From: paul at whitefeather.com (Paul Foraker) Date: Sun, 15 Apr 2007 14:30:44 -0700 Subject: field problem In-Reply-To: References: Message-ID: Behavior is the same with Focusable true or false, except that with it set to false, the insertion point doesn't appear at all. On 4/15/07, Joe Lewis Wilkins wrote: > > Hi Paul, > > Methinks you need to check the field's "focusable" property with the > Property Inspector or using the msg box. It's one of the Basic > Properties. > > Joe Wilkins > > On Apr 15, 2007, at 1:28 PM, Paul Foraker wrote: > > > Hi, > > > > In Rev Media 2.7.4 (Mac), I manually copied a scrolling field and > > its text > > from one stack and pasted it into a substack of the stack. In the > > source > > stack, I can edit the text. But, in the destination stack, I cannot > > edit the > > text in the field. > > > > The new uneditable field is not locked. The cursor changes to I- > > beam when > > hovered over the field. Clicking in the field, places an insertion > > point at > > the top of the field, but typing has no effect. Dragging in the > > field does > > not select text. > > > > Any suggestions? > > > > -- Paul > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 JimAultWins at yahoo.com Sun Apr 15 17:45:13 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 15 Apr 2007 14:45:13 -0700 Subject: field problem In-Reply-To: Message-ID: My guess is that copying a field object and pasting to another stack is somewhat unreliable as far as the contents are concerned. The text is actually stored in the original stack in the original card database and therefore no longer connected to the new field in the second stack. How is Rev supposed to know what to do if you try to delete a character in line 1 since line 1 does not exist in the second stack yet? Try putting empty into the field from the message box, then highlight the text of the original field in the original card & stack, then paste the text only. Jim Ault Las Vegas On 4/15/07 2:30 PM, "Paul Foraker" wrote: > Behavior is the same with Focusable true or false, except that with it set > to false, the insertion point doesn't appear at all. > > On 4/15/07, Joe Lewis Wilkins wrote: >> >> Hi Paul, >> >> Methinks you need to check the field's "focusable" property with the >> Property Inspector or using the msg box. It's one of the Basic >> Properties. >> >> Joe Wilkins >> >> On Apr 15, 2007, at 1:28 PM, Paul Foraker wrote: >> >>> Hi, >>> >>> In Rev Media 2.7.4 (Mac), I manually copied a scrolling field and >>> its text >>> from one stack and pasted it into a substack of the stack. In the >>> source >>> stack, I can edit the text. But, in the destination stack, I cannot >>> edit the >>> text in the field. >>> >>> The new uneditable field is not locked. The cursor changes to I- >>> beam when >>> hovered over the field. Clicking in the field, places an insertion >>> point at >>> the top of the field, but typing has no effect. Dragging in the >>> field does >>> not select text. >>> >>> Any suggestions? >>> >>> -- Paul >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 Sun Apr 15 18:02:28 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Apr 2007 17:02:28 -0500 Subject: field problem In-Reply-To: References: Message-ID: <4622A0F4.3000103@hyperactivesw.com> Paul Foraker wrote: > Hi, > > In Rev Media 2.7.4 (Mac), I manually copied a scrolling field and its text > from one stack and pasted it into a substack of the stack. In the source > stack, I can edit the text. But, in the destination stack, I cannot edit > the > text in the field. > > The new uneditable field is not locked. The cursor changes to I-beam when > hovered over the field. Clicking in the field, places an insertion point at > the top of the field, but typing has no effect. Dragging in the field does > not select text. Is the traversalOn set to true? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at whitefeather.com Sun Apr 15 18:48:54 2007 From: paul at whitefeather.com (Paul Foraker) Date: Sun, 15 Apr 2007 15:48:54 -0700 Subject: field problem In-Reply-To: <4622A0F4.3000103@hyperactivesw.com> References: <4622A0F4.3000103@hyperactivesw.com> Message-ID: The traversalOn of the new field (and the stack) was set to true. Setting it to false didn't affect the behavior. The original field's traversalOn is also set to true (and it works fine). My successful workaround was to Save a Copy, and then in the copy delete the offending field, create a new scrolling field and paste the text from the original. -- Paul On 4/15/07, J. Landman Gay wrote: > > Paul Foraker wrote: > > Hi, > > > > In Rev Media 2.7.4 (Mac), I manually copied a scrolling field and its > text > > from one stack and pasted it into a substack of the stack. In the source > > stack, I can edit the text. But, in the destination stack, I cannot edit > > the > > text in the field. > > > > The new uneditable field is not locked. The cursor changes to I-beam > when > > hovered over the field. Clicking in the field, places an insertion point > at > > the top of the field, but typing has no effect. Dragging in the field > does > > not select text. > > Is the traversalOn set to true? > > -- > 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 kray at sonsothunder.com Sun Apr 15 19:59:12 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 15 Apr 2007 18:59:12 -0500 Subject: field problem In-Reply-To: References: Message-ID: <20070415185912936159.536164c8@sonsothunder.com> On Sun, 15 Apr 2007 14:30:44 -0700, Paul Foraker wrote: > Behavior is the same with Focusable true or false, except that with it set > to false, the insertion point doesn't appear at all. Is it possible that you're trapping any of the key messages (keyDown/keyUp, rawKeyDown/up, etc.) in the substack (or later in the hierarchy)? It sounds like the keystroke is being trapped and not passed... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bvg at mac.com Sun Apr 15 21:26:56 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 16 Apr 2007 03:26:56 +0200 Subject: [ANN] BvG Docu Message-ID: <9e3002f40f9f3dad454c3b197ead35af@mac.com> It's here, and there was much frolicking! (at least my cat is...) I didn't like the way Rev presents it's documentation entries, so I made my own GUI (like Benedict Seidl did before). There are two parts to it: 1. A library that takes all the xml stuff out of handling the documentation entries, which makes it easy for others to make their own documentation GUI stack. 2. And there's my own GUI stack, interfacing said library. You need to be aware that the format/structure of the files of the docu changed a bit in some Rev versions, thus the stacks (at this point) only work with Rev versions 2.7.2 or newer. You can greatly change the way each entry is shown using the layout settings, please adjust them to match your own style and needs. Really, take a look at the settings, there's some nifty stuff there. (Some of the beta testers never touched them, and I was a bit downed by that :-( ) Also of note should be that the stack saves on different occasions (after finishing the installation, every time you close the settings...). So it's not advised (or tested) to run it by using 'go url "http://..."'. The stacks are located at the bottom of this page: http://bjoernke.com/runrev/stacks.php Direct link to my library (only interesting if you want to make your own GUI stack): http://bjoernke.com/stacks/docslib_by_bvg.rev Direct link to my GUI stack (includes the library): http://bjoernke.com/stacks/bvg_docu.rev Use these stacks at your own risk, and however you want. It'd be very cool if I could host your own docu stack based on my library, or if you would allow me to link to your version. Even if you don't want that, let me know if you use the library, that'll make me glad. Thanks go to the chatrev fab four and shaosean for their input on earlier versions. At this point it always seems strange for me to go back to the build in documentation (and I only did it to find bugs in my own stack). This behaviour tells me that I improved the usability for my needs compared to the existing documentation GUI. have fun Bjoernke von Gierke Here end the required readings, below this line: more in depth information. If you want to start my documentation stack every time revolution starts up, follow these steps (of course you can always just open it the usual way you open Rev stacks): 1. Download stack (link below), and save it into the "plugins" folder of your Revolution installation. 2. Open the plugin settings of Rev (Development->plugins->plugin settings) 3. Choose "BvG Docu" from the dropdown 4. hilite "Open when revolution starts up" 5. hilite "Open as modeless Stack" 6. close the plugin settings 7. restart rev 8. follow the installation instructions of "BvG Docu" 9. "BvG Docu" will now start every time you open Rev, ready to use How it works: Rev's docu is stored in stacks, as compressed custom properties. My library takes these, and makes one file per entry (there's ca 1500 of them). These files are then saved to a folder, and can be directly parsed, or accessed by sending the library a command. The GUI stack I made just adds cream and a cherry on top, especially as I don't want to look at custom property sets or xml files every time I need to know some Rev command. BvG Docu is better then the build in docu because of these (yay for bulletpoints): - faster - uses less screen real estate - only show specified entries (ie. only properties or only keywords and objects) - history that works - more links can be clicked - separate view for related - easier to navigate without mouse (at least on Mac OS X) - much more control about what to show for each entry (don't like the summary? Just leave it out) - more (but not total) control about font settings (size, fontname, italic) BvG Docu has these disadvantages to the build in docu: - no synonym search/filter - not sortable by version or compatibility - no reverse sort (always A-Z) - no glossary - no link to the pdf - no videos - no search stack, and thus no full text search - fixed place for the topics list, instead of two - no toolbar/menu integration (however there's miniMe) Both stacks share these disadvantages: - same data source (for example the entry for $ is missing in 2.8.0) - not made by you, so they might not fit your specific needs -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From kray at sonsothunder.com Mon Apr 16 00:37:07 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 15 Apr 2007 23:37:07 -0500 Subject: [ANN] BvG Docu In-Reply-To: <9e3002f40f9f3dad454c3b197ead35af@mac.com> References: <9e3002f40f9f3dad454c3b197ead35af@mac.com> Message-ID: <20070415233707036381.fe4ca6d3@sonsothunder.com> On Mon, 16 Apr 2007 03:26:56 +0200, Bj?rnke von Gierke wrote: > It's here, and there was much frolicking! (at least my cat is...) > > I didn't like the way Rev presents it's documentation entries, so I > made my own GUI (like Benedict Seidl did before). Very nice, Bjornke! Very functional and love the customization options! :-) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From paul at whitefeather.com Mon Apr 16 01:44:11 2007 From: paul at whitefeather.com (Paul Foraker) Date: Sun, 15 Apr 2007 22:44:11 -0700 Subject: field problem In-Reply-To: <20070415185912936159.536164c8@sonsothunder.com> References: <20070415185912936159.536164c8@sonsothunder.com> Message-ID: Jacque discovered that the field's autoHilite was set to false. But, then there was some other strange behavior, so there's a bug or two in that sequence. Workaround, of course, is to make a new field and copy the text over. Thanks, everyone. -- Paul On 4/15/07, Ken Ray wrote: > > On Sun, 15 Apr 2007 14:30:44 -0700, Paul Foraker wrote: > > > Behavior is the same with Focusable true or false, except that with it > set > > to false, the insertion point doesn't appear at all. > > Is it possible that you're trapping any of the key messages > (keyDown/keyUp, rawKeyDown/up, etc.) in the substack (or later in the > hierarchy)? It sounds like the keystroke is being trapped and not > passed... > > > 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 Mon Apr 16 02:35:37 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 16 Apr 2007 08:35:37 +0200 Subject: AW: AW: double click doesn't launches my stack any more In-Reply-To: Message-ID: <000401c77ff1$73179640$18b2a8c0@TiemoPC2> Hello Eric, In help/mange versions my only version 2.8.0 is set to default. The right (and only) version of runrev starts ok with doubleclick, but doesn't open my clicked stackfile Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > Gesendet: Samstag, 14. April 2007 12:14 > An: How to use Revolution > Betreff: Re: AW: double click doesn't launches my stack any more > > Hi Tiemo, > > Le 14 avr. 07 ? 11:17, Tiemo Hollmann TB a ?crit : > > >> At the end of the installation, the installer asks if you want to set > >> the new version to be the default for Rev stacks. Did you tell the > >> installer to do that? > > > Hmmm don't remember, > > can I tweak it, or do I have to reinstall? > > Thanks > > See Help/Manage Versions... menu item :-) > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > http://www.sosmartsoftware.com/ > eric.chatonet at sosmartsoftware.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 tbandi at swissonline.ch Mon Apr 16 03:05:15 2007 From: tbandi at swissonline.ch (Till Bandi) Date: Mon, 16 Apr 2007 09:05:15 +0200 Subject: [ANN] BvG Docu In-Reply-To: <9e3002f40f9f3dad454c3b197ead35af@mac.com> References: <9e3002f40f9f3dad454c3b197ead35af@mac.com> Message-ID: <13DE6185-F38B-484F-896D-75690A36DBD7@swissonline.ch> very nice! Till Am 16.04.2007 um 03:26 schrieb Bj?rnke von Gierke: > It's here, and there was much frolicking! (at least my cat is...) > > I didn't like the way Rev presents it's documentation entries, so I > made my own GUI (like Benedict Seidl did before). > > There are two parts to it: > 1. A library that takes all the xml stuff out of handling the > documentation entries, which makes it easy for others to make their > own documentation GUI stack. > 2. And there's my own GUI stack, interfacing said library. > > You need to be aware that the format/structure of the files of the > docu changed a bit in some Rev versions, thus the stacks (at this > point) only work with Rev versions 2.7.2 or newer. > You can greatly change the way each entry is shown using the layout > settings, please adjust them to match your own style and needs. > Really, take a look at the settings, there's some nifty stuff > there. (Some of the beta testers never touched them, and I was a > bit downed by that :-( ) > Also of note should be that the stack saves on different occasions > (after finishing the installation, every time you close the > settings...). So it's not advised (or tested) to run it by using > 'go url "http://..."'. > > The stacks are located at the bottom of this page: > http://bjoernke.com/runrev/stacks.php > Direct link to my library (only interesting if you want to make > your own GUI stack): > http://bjoernke.com/stacks/docslib_by_bvg.rev > Direct link to my GUI stack (includes the library): > http://bjoernke.com/stacks/bvg_docu.rev > > Use these stacks at your own risk, and however you want. It'd be > very cool if I could host your own docu stack based on my library, > or if you would allow me to link to your version. Even if you don't > want that, let me know if you use the library, that'll make me glad. > Thanks go to the chatrev fab four and shaosean for their input on > earlier versions. > > At this point it always seems strange for me to go back to the > build in documentation (and I only did it to find bugs in my own > stack). This behaviour tells me that I improved the usability for > my needs compared to the existing documentation GUI. > > have fun > Bjoernke von Gierke > > > Here end the required readings, below this line: more in depth > information. > > > > If you want to start my documentation stack every time revolution > starts up, follow these steps (of course you can always just open > it the usual way you open Rev stacks): > 1. Download stack (link below), and save it into the "plugins" > folder of your Revolution installation. > 2. Open the plugin settings of Rev (Development->plugins->plugin > settings) > 3. Choose "BvG Docu" from the dropdown > 4. hilite "Open when revolution starts up" > 5. hilite "Open as modeless Stack" > 6. close the plugin settings > 7. restart rev > 8. follow the installation instructions of "BvG Docu" > 9. "BvG Docu" will now start every time you open Rev, ready to use > > How it works: > Rev's docu is stored in stacks, as compressed custom properties. My > library takes these, and makes one file per entry (there's ca 1500 > of them). These files are then saved to a folder, and can be > directly parsed, or accessed by sending the library a command. > The GUI stack I made just adds cream and a cherry on top, > especially as I don't want to look at custom property sets or xml > files every time I need to know some Rev command. > > BvG Docu is better then the build in docu because of these (yay for > bulletpoints): > - faster > - uses less screen real estate > - only show specified entries (ie. only properties or only keywords > and objects) > - history that works > - more links can be clicked > - separate view for related > - easier to navigate without mouse (at least on Mac OS X) > - much more control about what to show for each entry (don't like > the summary? Just leave it out) > - more (but not total) control about font settings (size, fontname, > italic) > > BvG Docu has these disadvantages to the build in docu: > - no synonym search/filter > - not sortable by version or compatibility > - no reverse sort (always A-Z) > - no glossary > - no link to the pdf > - no videos > - no search stack, and thus no full text search > - fixed place for the topics list, instead of two > - no toolbar/menu integration (however there's miniMe) > > Both stacks share these disadvantages: > - same data source (for example the entry for $ is missing in 2.8.0) > - not made by you, so they might not fit your specific needs > > -- > > official ChatRev page: > http://chatrev.bjoernke.com > > Chat with other RunRev developers: > go stack URL "http://homepage.mac.com/bvg/chatrev1.3.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 shaosean at wehostmacs.com Mon Apr 16 06:33:33 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 16 Apr 2007 06:33:33 -0400 Subject: sneak peak - "Panes" the Inspector modifier Message-ID: <20bd2cf7ce76059daeb5bd93ca80eafd@wehostmacs.com> Last month I gave everyone a sneak peek into a project we've been busy working on and we thought an update was in order. Much of the interface and user experience has been transformed from a "geek developer" project to something that's a little more streamlined and friendlier to use. And because everyone likes pictures :-) original picture 1 - showing the Inspector's menu after being modified http://shaosean.wehostmacs.com/_ccount/click.php?id=17 original picture 2 - showing the "Panes Information" pane in the inspector http://shaosean.wehostmacs.com/_ccount/click.php?id=18 new picture 1 - showing the new installation window http://shaosean.wehostmacs.com/_ccount/click.php?id=19 new picture 2 - showing the new integrated Panes Manager menu item http://shaosean.wehostmacs.com/_ccount/click.php?id=20 new picture 3 - showing the new Panes Manager http://shaosean.wehostmacs.com/_ccount/click.php?id=21 Again, if you're a developer and want to develop a pane either to do add functionality to Revolution or to enhance your own projects, please contact me off-list. (note: Andre I tried to email your .mac account but you've never replied so contact me directly if you're still interested) -Sean ps. and yes my system hilight colour _is_ pink malte :-P From len-morgan at crcom.net Mon Apr 16 10:19:55 2007 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 16 Apr 2007 09:19:55 -0500 Subject: Startup Order in General and altSplash in particular Message-ID: <4623860B.7080707@crcom.net> This may not be the proper place for this question (at least the specifics about altSplash.rev) but I think the general question is ok: I'm trying to figure out what exactly happens (and what messages/handlers are called) when you run a standalone. I am having a lot of trouble getting altSplash to work for me and I want to trace the code as it runs. I thought I could send a "preOpenStack" message to get things "rolling" but it doesn't do much. I guess my question is: If you have a stand alone with say one card, what messages are sent (and in what order) when you run it? preOpenStack, openStack, preOpenCard, openCard? How can I simulate this with the message box so I can trace what's going on? The code is well documented but it consists of lots of handlers that are called by other handlers, etc. I just can't see what get it all going. Thanks! Len Morgan From VijayBABU.KALANGI at insead.edu Mon Apr 16 10:52:03 2007 From: VijayBABU.KALANGI at insead.edu (KALANGI Vijay BABU) Date: Mon, 16 Apr 2007 16:52:03 +0200 Subject: Best practices in keeping file sizes small Message-ID: <29CB66FA5AFE7446BE8729615CE52D7914CECF2E@GAIA.FBL.insead.intra> Hi all I have an issue regarding the sizes of the executables. Are there any ways to reduce the size of an executable?? Another Question is that is there any way to reduce the size of the rev file itself?? Or is that it is just the rev file's size we can manipulate with and not the exe's size ? Please help me out regarding this problem. Thanks Vijay From andrew.lian at andrewlian.com Sun Apr 15 15:23:31 2007 From: andrew.lian at andrewlian.com (Andrew Lian -nswc) Date: Sun, 15 Apr 2007 14:23:31 -0500 Subject: Playing audio files consecutively Message-ID: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> Dear All I am sure that this problem has been solved many times but I am just playing with runrev right now and am experiencing some difficulty. Here is the situation: In a BUTTON I have put the following script on mouseUp play audioclip "student" play audioclip "master" end mouseUp The idea is to play the first clip followed by the second. The system omits playing the first file and cascades down to playing "master". I have experimented by placing, in the button, a handler like on playStopped play audioclip "master" end playStopped The idea is to play "student" first and wait until it is played. However - this does not work either. It seems that the playStopped message is never sent or, if it is, it is never read. I would really appreciate some help on this as I am trying to evaluate runrev and cannot spend a lot of time experimenting. Thanks all very much Andrew -- Dr Andrew Lian Professor and Chair Dept. of Foreign Languages and Literatures Western Illinois University Macomb, IL, 61455, USA e-mail: AP-Lian at wiu.edu; website: http://www.andrewlian.com Phone: +1 (309) 298-1558; Fax: +1 (309) 298-1060 We don't see things as they are, we see things as we are. (Ana?s Nin) The universe is made up of stories, not atoms (Muriel Rukeyser) From marketing at debspecs.com Sun Apr 15 20:45:49 2007 From: marketing at debspecs.com (Falala) Date: Sun, 15 Apr 2007 17:45:49 -0700 Subject: Ugly fonts In-Reply-To: <46227FAE.50009@hindu.org> References: <46227FAE.50009@hindu.org> Message-ID: <1176684349.813100.19710@d57g2000hsg.googlegroups.com> I can't wait to try the clear type feature. Also, I find melanin tinted computer glasses are excellent for cutting down glare. I cannot work on my computer without them. http://www.debspecs.com/Computer_EyeGlasses_C57.cfm Thanks, Falala On Apr 15, 3:40 pm, Sivakatirswami wrote: > The main reason I use Thunderbird is for the white type on black background > skin... having a white back ground "shining" in your eyes all day is very > tiring. The iris is trying to "close down" to shut out the light at the same > time as you are trying to read... if you are crazy enough to also have a > light > source behind your computer, you probably are a good case for headaches > and eye strain... (everyone is different...) > > At any rate, there is a good reason for reversed layouts... > and the "amber terminal" look > > ctrl-opt-cmd-8 > > wow! Thanks! > > > > > > Joe Lewis Wilkins wrote: > > Outstanding, even works with my emails. Thank you many times over. BTW, > > when is this RevCon in LV going to be held? If you know. Sure like to > > buy you some lunch sometime soon! Interesting thing about that, instead > > of holding down each of these keys you can just lay your finger across > > all of them. That was something I used to use with HC when some of my > > stuff got a little "wild"! > > > Joe Wilkins > > > On Apr 12, 2007, at 12:14 PM, Jim Ault wrote: > > >> On 4/12/07 6:44 AM, "Joe Lewis Wilkins" wrote: > > >>> Just to add my two bits worth: As someone who is visually challenged, > >>> when I receive ANYTHING with white text and a colored background, I > >>> trash it. It is entirely too difficult for me to read. I certainly > >>> would not work in that type of environment under any circumstances. > >>> Black on white works for me. IMHO, > >> Joe, > > >> Try using ctrl-opt-cmd-8 to toggle the monitors to the reverse, which > >> means > >> white-on-black <> black-on-white. > > >> This will let you handle web pages that have the designer backgrounds, > >> like > >> some of the ones I have designed. > > >> Combine this with the zoom, and it should work better for you. > > >> Jim Ault > >> Las Vegas > > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolut... 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-revolut... 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-revolut... at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-revolution- Hide quoted text - > > - Show quoted text - From marketing at debspecs.com Sun Apr 15 20:48:36 2007 From: marketing at debspecs.com (Falala) Date: Sun, 15 Apr 2007 17:48:36 -0700 Subject: OT: Ugly fonts In-Reply-To: <91733FC1-CAF2-47CB-8816-27E2AD3D414D@roman.uib.no> References: <91733FC1-CAF2-47CB-8816-27E2AD3D414D@roman.uib.no> Message-ID: <1176684516.234501.71430@n76g2000hsh.googlegroups.com> Wow! I just tried "clear type" and it is great. I'm going to tell everyone i know! On Apr 12, 4:21 am, Signe Marie Sanne wrote: > Hello BIll, thanks for your information about Appearance --> Effects > --> Clear type. I have complained about ugly fonts on Windows XP > (with a screen resolution of 1152x864) for several years now, and no > one knew about this (or cared to suggest this for me). > > Now I wonder: When a new computer is delivered to a private user, > will the box with Clear type be default setting, or is is just > Standard that is the default? Is the resolution 1280x1024 now used as > default? > > Signe Marie Sanne > _______________________________________________ > use-revolution mailing list > use-revolut... 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 Apr 16 11:09:13 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Apr 2007 08:09:13 -0700 Subject: Best practices in keeping file sizes small Message-ID: <46239199.2090805@fourthworld.com> KALANGI Vijay BABU wrote: > I have an issue regarding the sizes of the executables. > > Are there any ways to reduce the size of an executable?? > > Another Question is that is there any way to reduce the size of the rev > file itself?? > > Or is that it is just the rev file's size we can manipulate with and not > the exe's size ? Given that the Windows engine is still under 2MB, and even the OS X engine is less than a half the size of Apple's Calculator utility this issue doesn't come up much, so be patient if there aren't a lot of suggestions on this one. Stripping unneeded custom properties can drop the file size a bit (the Rev IDE and Galaxy both add their own custom properties), and of course images tend to be the largest objects in a stack to using good compression for the types of images you have can help. What would be an ideal target size for you, and why? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From msiskin at andrew.cmu.edu Mon Apr 16 11:12:03 2007 From: msiskin at andrew.cmu.edu (Marc Siskin) Date: Mon, 16 Apr 2007 11:12:03 -0400 Subject: Playing audio files consecutively In-Reply-To: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> Message-ID: <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> Andrew, Have you tried the "wait until the sound is done with messages" command after starting the student sound? That will delay the start of the play master clip command until the student sound is finished. Marc --------------- Marc Siskin Manager, Modern Language Resource Center Carnegie Mellon University msiskin at andrew.cmu.edu On Apr 15, 2007, at 3:23 PM, Andrew Lian -nswc wrote: > Dear All > > I am sure that this problem has been solved many times but I am > just playing with runrev right now and am experiencing some > difficulty. > > Here is the situation: > > In a BUTTON I have put the following script > > on mouseUp > play audioclip "student" > play audioclip "master" > end mouseUp > > The idea is to play the first clip followed by the second. > > The system omits playing the first file and cascades down to > playing "master". > > I have experimented by placing, in the button, a handler like > > on playStopped > play audioclip "master" > end playStopped > > The idea is to play "student" first and wait until it is played. > However - this does not work either. > > It seems that the playStopped message is never sent or, if it is, > it is never read. > > I would really appreciate some help on this as I am trying to > evaluate runrev and cannot spend a lot of time experimenting. > > Thanks all very much > > Andrew > > > -- > Dr Andrew Lian > Professor and Chair > Dept. of Foreign Languages and Literatures > Western Illinois University > Macomb, IL, 61455, USA > e-mail: AP-Lian at wiu.edu; website: http://www.andrewlian.com > Phone: +1 (309) 298-1558; Fax: +1 (309) 298-1060 > > We don't see things as they are, we see things as we are. (Ana?s Nin) > The universe is made up of stories, not atoms (Muriel Rukeyser) > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 16 11:19:10 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Apr 2007 08:19:10 -0700 Subject: [ANN] BvG Docu Message-ID: <462393EE.20703@fourthworld.com> Bj?rnke von Gierke wrote: > It's here, and there was much frolicking! (at least my cat is...) Beware of cats on keyboards; you never know what they'll type. ;) > I didn't like the way Rev presents it's documentation entries, so I > made my own GUI (like Benedict Seidl did before). > > There are two parts to it: > 1. A library that takes all the xml stuff out of handling the > documentation entries, which makes it easy for others to make their own > documentation GUI stack. > 2. And there's my own GUI stack, interfacing said library. Great job! The only downside is that it's dependent on Rev's XML library so it can't be used in the MC IDE, but perhaps I can make a variant of it for that. Some of us who work on the MC IDE project made a lightweight Dictionary shell some time ago, but I don't think it's been updated for the latest format of Rev's docs. If we can get some assurances the format is now stable it would become worthwhile updating it. But your library is very tempting; perhaps this will motivate me to provide a "Rev compatibility" tool to allow their runtime libs to be used within MC. Like your chat tool, another helpful and inspiring creation. Thanks Bj?rnke! -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From devin_asay at byu.edu Mon Apr 16 11:35:30 2007 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 16 Apr 2007 09:35:30 -0600 Subject: Playing audio files consecutively In-Reply-To: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> Message-ID: On Apr 15, 2007, at 1:23 PM, Andrew Lian -nswc wrote: > Dear All > > I am sure that this problem has been solved many times but I am > just playing with runrev right now and am experiencing some > difficulty. > > Here is the situation: > > In a BUTTON I have put the following script > > on mouseUp > play audioclip "student" > play audioclip "master" > end mouseUp > > The idea is to play the first clip followed by the second. > > The system omits playing the first file and cascades down to > playing "master". > > I have experimented by placing, in the button, a handler like > > on playStopped > play audioclip "master" > end playStopped > > The idea is to play "student" first and wait until it is played. > However - this does not work either. Marc's answer was perfect for your first question, but regarding the implied second question: > > It seems that the playStopped message is never sent or, if it is, > it is never read. The playStopped message works only with player objects, not with the play command. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From stephenREVOLUTION at barncard.com Mon Apr 16 11:40:36 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 16 Apr 2007 08:40:36 -0700 Subject: Best practices in keeping file sizes small In-Reply-To: <29CB66FA5AFE7446BE8729615CE52D7914CECF2E@GAIA.FBL.insead.intra> References: <29CB66FA5AFE7446BE8729615CE52D7914CECF2E@GAIA.FBL.insead.intra> Message-ID: You can reduced the size of any Rev standalone/executable by 1. Only using libraries and extensions you actually need. 2. Putting large media files outside the app, instead of imbedding. 3. use the internal compression routines (see compress and decompress in docs) to store large items. 4. Re-use code. 5. consider breaking down into several stacks and creating an update system that only updates needed stacks. And of course zipping the executable before uploading is always a good idea for transport. With today's large apps above the 50 MB range, a fully-loaded Rev standalone will be far less than that. The Rev application itself should be left alone. If you don't have room for rev, you really need a new, bigger drive. >Hi all > >I have an issue regarding the sizes of the executables. > >Are there any ways to reduce the size of an executable?? > > > >Another Question is that is there any way to reduce the size of the rev >file itself?? > >Or is that it is just the rev file's size we can manipulate with and not >the exe's size ? > > > >Please help me out regarding this problem. > > > >Thanks > >Vijay -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From tg_lists at geistinteractive.com Mon Apr 16 12:30:59 2007 From: tg_lists at geistinteractive.com (Todd Geist) Date: Mon, 16 Apr 2007 11:30:59 -0500 (CDT) Subject: Basic Drawing and Labeling Message-ID: <33446808.334861176741059306.JavaMail.root@noc-106.smedia.info> Hello, I would like to create a stack that will allow the user to "Markup" an Image. The image would be displayed on the card and the user should be able to draw ovals, arrows, and lines on the image. Think of it as hi-lighting certain parts of the image. They also need to be able to label parts of the image. Then finally the image would be output to disk as a jpeg. Before I go tackle this I was wondering if anybody had anything similar already done and they were willing to share? TIA Todd From effendi at wanadoo.fr Mon Apr 16 13:46:24 2007 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 16 Apr 2007 19:46:24 +0200 Subject: Ugly Fonts Message-ID: Hi from Paris, > The main reason I use Thunderbird is for the white type on black > background > skin... having a white back ground "shining" in your eyes all day is > very > tiring. The iris is trying to "close down" to shut out the light at > the same > time as you are trying to read... if you are crazy enough to also have > a > light > source behind your computer, you probably are a good case for headaches > and eye strain... (everyone is different...) > > At any rate, there is a good reason for reversed layouts... > and the "amber terminal" look > Ah ! the VT100 - but thank heaven, most of us don't remember "them good old days .............. " -Francis "Nothing should ever be done for the first time - but always is !" From scott at tactilemedia.com Mon Apr 16 14:13:52 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 16 Apr 2007 11:13:52 -0700 Subject: Playing audio files consecutively In-Reply-To: Message-ID: >> I am sure that this problem has been solved many times but I am >> just playing with runrev right now and am experiencing some >> difficulty. > The playStopped message works only with player objects, not with the > play command. Actually the docs state that playStopped works with audioClips and a quick test here does indeed confirm this (v2.7.4 OSX) Perhaps you did not place your playStopped handler so it would operate as part of the message hierarchy. The playStopped message is apparently sent to the audioClip being played, so it would be best to place the handler in the card script or stack script. What I did: [button script] on mouseUp play audioClip 1 end mouseUp [card script] on playStopped theClip answer "done!" end playStopped You can also accomplish the above using a "wait" within the button script: on mouseUp play audioClip 1 wait until the sound is "done" with messages -- ALLOW OTHER EVENTS answer "done!" end mouseUp Note that both of these techniques may introduce a brief pause between playback of clips. You may want to try a multi-player set up of loading sounds into alternate player objects and starting/stopping each to minimize any delay, if seamless playback is something you're after. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From wsumner at im.wustl.edu Mon Apr 16 14:20:16 2007 From: wsumner at im.wustl.edu (Walton Sumner) Date: Mon, 16 Apr 2007 13:20:16 -0500 Subject: U3 drive problem Message-ID: The U3 developers here may find this interesting. I have a 1 GB U3 "GeekSquad" flash drive that worked this morning to transfer a file from a PC to a Mac, it was gracefully removed from the Mac, and now neither PC nor Mac recognizes the drive as valid, and both computers offer to reformat the drive for me. My call to "1-800-Geeksqua(d)", printed on the side of my flash drive, cannot be completed. U3 web site describes trouble shooting for Launchpads not responding. http://www.u3.com/support/faq.aspx#U3%20Launchpad1 Tried the directions, no improvement. I will need to reformat and reinstall U3. I have another little flash drive, so made space on it, downloaded the install .exe onto my Mac, copied to little flash drive, copied to PC, removed small flash drive, double clicked installer. OK, I have to connect my Windows machine to the Internet, something I meticulously avoid. Also, the driver I just downloaded does not recognize any U3 compatible Sandisk device. Only works with Sandisk. OK, Geeksquad site, search for U3. No matches. Hmm. But the number is different: 800-433-5778. Now I am supposed to have an account, must be the Best Buy records of my shopping. The Geeksquad help line has a bunch of quasi MI themed recordings, which are very relaxing to hear as precious minutes of grant preparation time tick away, but at least I can type this... So there is a Driver Finder section of the site, but it does not list drivers for my GeekSquad branded USB flash drive, which has no other manufacturer's name on it. So, the nice tech guy says to try "add/remove hardware" and see if the manufacturer of the hardware appears. Ah, there we go: "Best Buy Geek Squad" (functioning normally) Not helpful. There is a microscopic serial number on this thing, which must somehow identify a manufacturer: 5521IGO23082M202B1, which matches nothing on Google, nor do likely substrings. Maybe I still have the packaging from when I bought it a year ago? Um, no. Sorry, my bad. Well, if I ever do find the manufacturer, I can go back to GeekSquad to download the right driver: http://www.geeksquad.com/tools/detail.aspx?id=441 Meanwhile, I have a 1 GB flash drive again, seems to work fine, acts like nothing happened, never knew about U3. "U-who?" it says. Seriously, it always seemed to me that when one of these U3 flash drives crashed, the situation for resident software could be ugly - and the user really perturbed that the program and data files are lost all at once, and really frustrated trying to get going again. I can live without U3 services, but if you depend on them, heads up! Be ready to confirm ownership and restore promptly. Maybe mission critical U3 flash drives should be bought and sold in pairs. Back to work... Walt Sumner From gbojsza at gmail.com Mon Apr 16 14:26:00 2007 From: gbojsza at gmail.com (Glen Bojsza) Date: Mon, 16 Apr 2007 12:26:00 -0600 Subject: How to replace the Rev icon with a custom icon in the Title bar for windows XP? Message-ID: <3d8af4150704161126p24144c4dhf3aa26caf96fc376@mail.gmail.com> Hello, I noticed that here was a gRevAppIcon for OSX but is there something similar for Windows XP. I would like to have a custom icon displayed in Title bars and Ask / Answer dialogs? thanks, From klaus at major-k.de Mon Apr 16 14:33:52 2007 From: klaus at major-k.de (Klaus Major) Date: Mon, 16 Apr 2007 20:33:52 +0200 Subject: How to replace the Rev icon with a custom icon in the Title bar for windows XP? In-Reply-To: <3d8af4150704161126p24144c4dhf3aa26caf96fc376@mail.gmail.com> References: <3d8af4150704161126p24144c4dhf3aa26caf96fc376@mail.gmail.com> Message-ID: Hi Glen > Hello, > > I noticed that here was a gRevAppIcon for OSX but is there > something similar > for Windows XP. > > I would like to have a custom icon displayed in Title bars and > Ask / Answer > dialogs? ???? "gRevAppIcon" is actually NOT platform dependent and therefore should work in any case on all platforms, even windows XP ;-) > thanks, Regards Klaus Major klaus at major-k.de http://www.major-k.de From ambassador at fourthworld.com Mon Apr 16 14:34:06 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Apr 2007 11:34:06 -0700 Subject: U3 drive problem Message-ID: <4623C19E.6060509@fourthworld.com> Walton Sumner wrote: > The U3 developers here may find this interesting. I have a 1 GB U3 > "GeekSquad" flash drive that worked this morning to transfer a file from a > PC to a Mac, it was gracefully removed from the Mac, and now neither PC nor > Mac recognizes the drive as valid, and both computers offer to reformat the > drive for me. My call to "1-800-Geeksqua(d)", printed on the side of my > flash drive, cannot be completed. > > U3 web site describes trouble shooting for Launchpads not responding. > > http://www.u3.com/support/faq.aspx#U3%20Launchpad1 > > Tried the directions, no improvement. U3 is a lot of work for the small convenience of auto-launching a launcher that the user must then use to launch your app, and only on one platform. One of the cool things about Rev is that it's standalones are inherently self-contained anyway, so they don't necessarily require the sort of installation process common with more DLL-dependent apps like VB. So if the goal is to deploy to portable flash drives, there's no need to limit yourself to the relatively small subset of those drives compliant with the U3 specs. You can deploy easily to any flash drive for any OS without it. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From gbojsza at gmail.com Mon Apr 16 14:52:26 2007 From: gbojsza at gmail.com (Glen Bojsza) Date: Mon, 16 Apr 2007 12:52:26 -0600 Subject: How to replace the Rev icon with a custom icon in the Title bar for windows XP? In-Reply-To: References: <3d8af4150704161126p24144c4dhf3aa26caf96fc376@mail.gmail.com> Message-ID: <3d8af4150704161152g3ed48d3av6a1460a77f3d99e7@mail.gmail.com> Thanks Klaus, But does that mean I could put empty into gRevAppIcon and have no icon at all? Would this need to be a global with a preOpenStack? Does it work in the development environment and in the standalone or just in the standalone? I have tried the following on preOpenStack global gRevAppIcon put empty into gRevAppIcon end preOpenStack But in the development environment it still shows the Rev icon in the Title Bar? On 4/16/07, Klaus Major wrote: > > Hi Glen > > > Hello, > > > > I noticed that here was a gRevAppIcon for OSX but is there > > something similar > > for Windows XP. > > > > I would like to have a custom icon displayed in Title bars and > > Ask / Answer > > dialogs? > > ???? > > "gRevAppIcon" is actually NOT platform dependent and therefore should > work in any case > on all platforms, even windows XP ;-) > > > thanks, > > Regards > > 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 Mon Apr 16 15:03:29 2007 From: klaus at major-k.de (Klaus Major) Date: Mon, 16 Apr 2007 21:03:29 +0200 Subject: How to replace the Rev icon with a custom icon in the Title bar for windows XP? In-Reply-To: <3d8af4150704161152g3ed48d3av6a1460a77f3d99e7@mail.gmail.com> References: <3d8af4150704161126p24144c4dhf3aa26caf96fc376@mail.gmail.com> <3d8af4150704161152g3ed48d3av6a1460a77f3d99e7@mail.gmail.com> Message-ID: <8B4F41F9-49C1-4C6B-8291-EC1CE4094DE9@major-k.de> Hi Glen, > Thanks Klaus, > > But does that mean I could > put empty into gRevAppIcon > and have no icon at all? Would this need to be a global with a > preOpenStack? Yes. > Does it work in the development environment and in the standalone > or just in > the standalone? > > I have tried the following > > on preOpenStack > global gRevAppIcon > put empty into gRevAppIcon > end preOpenStack > > But in the development environment it still shows the Rev icon in > the Title > Bar? I think REV does always bring its own icon, in my standalones it worked as exspected :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From jacque at hyperactivesw.com Mon Apr 16 15:37:12 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Apr 2007 14:37:12 -0500 Subject: Startup Order in General and altSplash in particular In-Reply-To: <4623860B.7080707@crcom.net> References: <4623860B.7080707@crcom.net> Message-ID: <4623D068.7000806@hyperactivesw.com> Len Morgan wrote: > If you have a stand alone with say one card, what messages are sent (and > in what order) when you run it? Looks like it's this way: startup preOpenStack preOpenBackground (if there is one) preOpenCard openStack openBackground openCard -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Mon Apr 16 17:19:13 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 16 Apr 2007 16:19:13 -0500 Subject: Best practices in keeping file sizes small In-Reply-To: <29CB66FA5AFE7446BE8729615CE52D7914CECF2E@GAIA.FBL.insead.intra> References: <29CB66FA5AFE7446BE8729615CE52D7914CECF2E@GAIA.FBL.insead.intra> Message-ID: <7aa52a210704161419g7dea36c2w37c0cc62f2f92e9c@mail.gmail.com> On 4/16/07, KALANGI Vijay BABU wrote: > > Another Question is that is there any way to reduce the size of the rev > file itself?? altClean, a free altToolbar plugin will clear all the rev properties from your stack. It can save from 10-50% of your stack size. Put this into msg box and hit return. Then save it. go URL "http://www.gadgetplugins.com/altplugins/revAltCleanStack.rev" -Chipp From mwieder at ahsoftware.net Mon Apr 16 23:07:54 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Apr 2007 20:07:54 -0700 Subject: Best practices in keeping file sizes small In-Reply-To: <29CB66FA5AFE7446BE8729615CE52D7914CECF2E@GAIA.FBL.insead.intra> References: <29CB66FA5AFE7446BE8729615CE52D7914CECF2E@GAIA.FBL.insead.intra> Message-ID: <471034811139.20070416200754@ahsoftware.net> Vijay- Monday, April 16, 2007, 7:52:03 AM, you wrote: > Are there any ways to reduce the size of an executable?? If you're used to development in another environment (C, perhaps) you may well wonder about this. There's no way at the present to pick and choose which libraries get bundled into an executable beyond just a few choices. Someday in the future that may change. But consider that you've got the entire GUI environment at your disposable in an executable - a full-blown database frontend or arcade game isn't that much bigger than a "hello, world" program. It's certainly a two-edged sword - I wouldn't normally consider writing a "hello, world" program in rev, but I have been known to write graphical front ends to perl scripts. The upside is never having to worry about where or whether the other libraries are loaded. Here's my tip of the day: only one stack needs the engine attached. If you have several stacks that need to work together, consider keeping them as separate stack files and loading them from the mainstack. You'll find that they may only be a few k in size, since there's no extra baggage to carry around. Also, they can be modified and updated without needing to recompile the main stack/engine combination. Oh, all right... a second tip: you might want to consider distributing just the stacks themselves along with instructions about where to download StackRunner: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Apr 16 23:13:56 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Apr 2007 20:13:56 -0700 Subject: Basic Drawing and Labeling In-Reply-To: <33446808.334861176741059306.JavaMail.root@noc-106.smedia.info> References: <33446808.334861176741059306.JavaMail.root@noc-106.smedia.info> Message-ID: <121035172970.20070416201356@ahsoftware.net> Todd- Monday, April 16, 2007, 9:30:59 AM, you wrote: > I would like to create a stack that will allow the user to "Markup" an Image. You might want to check out that long-standing sore thumb (I'm having trouble wrapping my mind around these mixed metaphors) of drawing capabilities, BZ#624, before venturing too far down that murky road. http://quality.runrev.com/qacenter/show_bug.cgi?id=624 -- -Mark Wieder mwieder at ahsoftware.net From pepetoo at Cox.Net Mon Apr 16 23:25:25 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 16 Apr 2007 20:25:25 -0700 Subject: Basic Drawing and Labeling In-Reply-To: <121035172970.20070416201356@ahsoftware.net> References: <33446808.334861176741059306.JavaMail.root@noc-106.smedia.info> <121035172970.20070416201356@ahsoftware.net> Message-ID: <66A928A7-BA93-4606-B4A0-0096700309F6@Cox.Net> Excuse me for butting in, but I, too, am interested in anything regarding drawing with RR. I went to the bug report mentioned below, but didn't see a thing of interest. How do you use these reports if you're not adding a new one to the topic? Joe Wilkins On Apr 16, 2007, at 8:13 PM, Mark Wieder wrote: > Todd- > > Monday, April 16, 2007, 9:30:59 AM, you wrote: > >> I would like to create a stack that will allow the user to >> "Markup" an Image. > > You might want to check out that long-standing sore thumb (I'm having > trouble wrapping my mind around these mixed metaphors) of drawing > capabilities, BZ#624, before venturing too far down that murky road. > > http://quality.runrev.com/qacenter/show_bug.cgi?id=624 > > -- > -Mark Wieder > mwieder at ahsoftware.net From katir at hindu.org Tue Apr 17 00:31:42 2007 From: katir at hindu.org (Sivakatirswami) Date: Mon, 16 Apr 2007 18:31:42 -1000 Subject: QT Player Challenge - Play Remote Movie Message-ID: <46244DAE.7010901@hindu.org> Sadly, my bug 4018 is set to minor and pending, but, that doesn't change the reality that playing movies remotely in Revolution is a gamble and in the current internet-digital revolution where video is *everything* I fear we are going to be left way behind.... I just replicated the bug and have a rock solid recipe. Challenge: get this movie to play in a revolution player stack *over Wi-Fi* http://www.himalayanacademy.com/resources/lexicon/Lexicon_Workshop_Tutorial.mov ------------- recipe to date (experienced both on Windows and Mac) Connection to internet: direct, hard-wired, ethernet to cable modem a) play above URL in Firefox: runs fine b) create rev stack, 1 player "tutorial: 1 btn, script: on mouseUp set the filename of player "tutorial" to "http://www.himalayanacademy.com/resources/lexicon/Lexicon_Workshop_Tutorial.mov" start player "tutorial" end mouseUp both work fine. Disconnect: go to wi-fi (airport... I've got a full VPN connection to a box just 8 feet away) a) play same mov-url in Firefox.... runs fine b) try in Revolution... crazy stuff happens. but it doesn't play. Can you get it to work in a Rev Player in *any and all * connection contexts? Sivakatirswami www.himalayanacademy.com From lists at mangomultimedia.com Tue Apr 17 00:43:22 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 16 Apr 2007 21:43:22 -0700 Subject: QT Player Challenge - Play Remote Movie In-Reply-To: <46244DAE.7010901@hindu.org> References: <46244DAE.7010901@hindu.org> Message-ID: <97FF8233-4963-40AF-916E-BFEFA8E8C53F@mangomultimedia.com> On Apr 16, 2007, at 9:31 PM, Sivakatirswami wrote: > recipe to date (experienced both on Windows and Mac) > > Connection to internet: direct, hard-wired, ethernet to cable modem > a) play above URL in Firefox: runs fine > b) create rev stack, 1 player "tutorial: 1 btn, script: > on mouseUp > set the filename of player "tutorial" to "http:// > www.himalayanacademy.com/resources/lexicon/ > Lexicon_Workshop_Tutorial.mov" > start player "tutorial" > end mouseUp I just tested the mouseUp script on OS 10.4.9 (Intel) using an Aiport connection and the video played fine. I opened up Rev 2.8.1 beta 3 to test. The only change I made was referencing player 1 rather than player "tutorial". -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From userev at canelasoftware.com Tue Apr 17 02:31:47 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 16 Apr 2007 23:31:47 -0700 Subject: QT Player Challenge - Play Remote Movie In-Reply-To: <46244DAE.7010901@hindu.org> References: <46244DAE.7010901@hindu.org> Message-ID: <6A1E1A4B-1F59-4A3B-8825-4A7798CA1B76@canelasoftware.com> On Apr 16, 2007, at 9:31 PM, Sivakatirswami wrote: > Connection to internet: direct, hard-wired, ethernet to cable modem > a) play above URL in Firefox: runs fine > b) create rev stack, 1 player "tutorial: 1 btn, script: > on mouseUp > set the filename of player "tutorial" to "http:// > www.himalayanacademy.com/resources/lexicon/ > Lexicon_Workshop_Tutorial.mov" > start player "tutorial" > end mouseUp > > both work fine. > > Disconnect: go to wi-fi (airport... I've got a full VPN connection > to a box just 8 feet away) > > a) play same mov-url in Firefox.... runs fine > b) try in Revolution... crazy stuff happens. but it doesn't play. I just tried this as you have it on a wifi connection; no vpn though. It worked just fine. I tested this on an intel mac OS 10.4.9 with Rev 2.7.4 in the IDE. Mark Talluto -- CANELA Software http://www.canelasoftware.com From mark at maseurope.net Tue Apr 17 04:12:56 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 17 Apr 2007 09:12:56 +0100 Subject: QT Player Challenge - Play Remote Movie In-Reply-To: <46244DAE.7010901@hindu.org> References: <46244DAE.7010901@hindu.org> Message-ID: <25331161-9A86-48E2-B809-C6A05BF10001@maseurope.net> Just did it here, on Mac 10.4.9 (G4 Powerbook), WiFi. 1st time (player named "Tutorial") I got spinning deathball and no video. (forced quit to get out of it). 2nd time (didn't name player, referenced "player 1"), all was fine 3rd time (player named "Tutorial") all was fine. Best, Mark On 17 Apr 2007, at 05:31, Sivakatirswami wrote: > Sadly, my bug 4018 is set to minor and pending, but, that > doesn't change > the reality that playing movies remotely in Revolution is a gamble > and in the > current internet-digital revolution where video is *everything* I > fear we are going > to be left way behind.... > > I just replicated the bug and have a rock solid recipe. > > Challenge: get this movie to play in a revolution player stack > *over Wi-Fi* > > http://www.himalayanacademy.com/resources/lexicon/ > Lexicon_Workshop_Tutorial.mov > > ------------- > recipe to date (experienced both on Windows and Mac) > > Connection to internet: direct, hard-wired, ethernet to cable modem > a) play above URL in Firefox: runs fine > b) create rev stack, 1 player "tutorial: 1 btn, script: > on mouseUp > set the filename of player "tutorial" to "http:// > www.himalayanacademy.com/resources/lexicon/ > Lexicon_Workshop_Tutorial.mov" > start player "tutorial" > end mouseUp > > both work fine. > > Disconnect: go to wi-fi (airport... I've got a full VPN connection > to a box just 8 feet away) > > a) play same mov-url in Firefox.... runs fine > b) try in Revolution... crazy stuff happens. but it doesn't play. > > Can you get it to work in a Rev Player in *any and all * > connection contexts? > > Sivakatirswami > www.himalayanacademy.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 andrew.lian at andrewlian.com Tue Apr 17 05:34:37 2007 From: andrew.lian at andrewlian.com (Andrew Lian -nswc) Date: Tue, 17 Apr 2007 04:34:37 -0500 Subject: Playing audio files consecutively In-Reply-To: References: Message-ID: <20070417043437.wt9p0gsv40skwskc@webmail.nswconnect.com> Dear All Thanks to all those who answered my message. The solution that worked for me and enabled me to keep all code in the one place was wait until the sound is "done" with messages suggested by a couple of listmembers. As a true beginner to runrev, I could never have found this line of code on my own. I understand though that the play command is deprecated and that using playerobjects is preferred. I have not experimented too much with these yet. In any case, please do accept my thanks - a great list with very generous people. Andrew -- Dr Andrew Lian Professor and Chair Dept. of Foreign Languages and Literatures Western Illinois University Macomb, IL, 61455, USA e-mail: AP-Lian at wiu.edu; website: http://www.andrewlian.com Phone: +1 (309) 298-1558; Fax: +1 (309) 298-1060 We don't see things as they are, we see things as we are. (Ana?s Nin) The universe is made up of stories, not atoms (Muriel Rukeyser) From jean-pierre.soto at wanadoo.fr Tue Apr 17 07:56:15 2007 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre) Date: Tue, 17 Apr 2007 13:56:15 +0200 Subject: Restrict display ... Message-ID: <863B021E-D71D-4C66-8300-64CEA2160D4E@wanadoo.fr> Is there a way to restrict the display of a moving object in the screen? I use white rectangle to mask some aera but it is not easy to handle... thank ... From eric.chatonet at sosmartsoftware.com Tue Apr 17 08:47:04 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 17 Apr 2007 14:47:04 +0200 Subject: Restrict display ... In-Reply-To: <863B021E-D71D-4C66-8300-64CEA2160D4E@wanadoo.fr> References: <863B021E-D71D-4C66-8300-64CEA2160D4E@wanadoo.fr> Message-ID: <630E9799-A8D6-43BA-AFDE-38095CF4672E@sosmartsoftware.com> Bonjour Jean-Pierre, Le 17 avr. 07 ? 13:56, Jean-Pierre a ?crit : > Is there a way to restrict the display of a moving object in the > screen? > I use white rectangle to mask some aera but it is not easy to > handle... I assume you use the grab command but to master moves you need to run your own code mainly based on mouseMove: Something like the following script in the script of the object you want to move might help you: Note that the "Boundaries" graphic sets the limits the object has not to cross. local lAllowDrag -- script var --------------------------------- on mouseDown put the left of me - the mouseH,the top of me - the mouseV into lAllowDrag end mouseDown --------------------------------- on mouseMove pX,pY if lAllowDrag is empty then exit mouseMove ----- if not IsPosAllowed(the long name of grc "boundaries") then -- set the screenMouseLOc to globalLoc(the loc of grc "boundaries") move me to the loc of grc "boundaries" in 100 milliseconds -- default location exit mouseMove end if ----- if the mouse is down then -- grabs object: set topleft of me to (pX + item 1 of lAllowDrag),(pY + item 2 of lAllowDrag) end if end mouseMove --------------------------------- on mouseUp put empty into lAllowDrag end mouseUp --------------------------------- on mouseRelease mouseUp -- end mouseRelease --------------------------------- on mouseEnter mouseUp -- end mouseEnter --------------------------------- function IsPosAllowed pRefObj if the top of me < the top of pRefObj then return false if the bottom of me > the bottom of pRefObj then return false if the left of me < the left of pRefObj then return false if the right of me > the right of pRefObj then return false return true end IsPosAllowed Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Tue Apr 17 09:46:23 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 17 Apr 2007 15:46:23 +0200 Subject: Restrict display ... In-Reply-To: <630E9799-A8D6-43BA-AFDE-38095CF4672E@sosmartsoftware.com> References: <863B021E-D71D-4C66-8300-64CEA2160D4E@wanadoo.fr> <630E9799-A8D6-43BA-AFDE-38095CF4672E@sosmartsoftware.com> Message-ID: Just some additional tiny details (see previous email): Le 17 avr. 07 ? 14:47, Eric Chatonet a ?crit : > move me to the loc of grc "boundaries" in 100 milliseconds -- > default location After this line in the mouseMove handler, you could add 'mouseDown' to update lAllowDrag value: move me to the loc of grc "boundaries" in 100 milliseconds -- default location mouseDown -- exit mouseMove In addition, it would be probably better to write IsPosAllowed function as follows: function IsPosAllowed pObj,pRefObj if the top of pObj < the top of pRefObj then return false if the bottom of pObj > the bottom of pRefObj then return false if the left of pObj < the left of pRefObj then return false if the right of pObj > the right of pRefObj then return false return true end IsPosAllowed More universal code... Called here by using IsPosAllowed(the long name of me,the long name of grc "boundaries") IsPosAllowed(the long name of ,the long name of ) Then this function can be put higher in the scripts hierarchy and used by others. Indeed, you may use instead the Rev built-in intersect function (see the docs) but the result is not the same: It will return false when the grabbed object will be entirely out of the reference object and not just when it goes out of it. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From toolbook at kestner.de Tue Apr 17 09:48:11 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 17 Apr 2007 15:48:11 +0200 Subject: how to access SQLite in 2.8.1 Beta? Message-ID: <002101c780f7$0a87fc30$18b2a8c0@TiemoPC2> Hello, can someone point me to general plugin handling instructions, if something like this exists? I have installed 2.8.1 Beta, because of the announcement SQLite should be included. Now I don't see and find anything about SQLite. Do I have to install it separately and if - how?, or how do I get access to the functionality of SQLite? I have installed a showcase stack of SQLite before and that worked (with 2.8.0) instantly, but I can't use now the functions in my own stack. Any help very appreciated Thanks Tiemo From m.schonewille at economy-x-talk.com Tue Apr 17 11:12:01 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 17 Apr 2007 17:12:01 +0200 Subject: AltBrowser newbie question... In-Reply-To: References: Message-ID: <4D10A472-8ABA-432F-809C-592BDA935AAF@economy-x-talk.com> Hi, I had the same problem as the OP of this thread. This is what I did, it is fairly simple. First, I created a stack and put the following script into the card script: on suspendStack xBrowser_Unfocus end suspendStack on openField xBrowser_Unfocus end openField on resizeStack put the rect of this cd into myRect add 24 to item 2 of myRect subtract 14 from item 4 of myRect xbrowser_Set "Rect",myRect end resizeStack Then I created a field on top of the card and called this field "Url". I also added a button next to that field, with the following script: on mouseUp xBrowser_Init "user","password" xBrowser_Open the windowID of this stack,fld "Url" resizeStack end mouseUp You could add one more button with the following script: on mouseUp XBrowser_Close end mouseUp Each time when you click the first button, a new browser element will be created. There are no checks for availability of browser elements, hence the try control structures. Although it is very rudimentary, it should be sufficient as a starting point. Note that I use the xBrowser_Init. The reason is that the browser plugin included with Rev 2.8.1-dp-2 doesn't work. I am using an older version, which works fine. (Now off to QaC to post a few bugs...) Best regards, 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 13-apr-2007, om 20:24 heeft Scott Rossi het volgende geschreven: > > What I did: > > 1) Established a rect to display the browser object (I used a > graphic). > > 2) Copied the scripts of the demo browser stack into the script of > my stack, > referencing the above graphic, commenting out handlers I didn't need. > > 3) Duplicated the custom properties of the demo browser stack in my > stack. > This is necessary if you use the altBrowser scripts without any > modification. > > 4) Make sure the altBrowserState of your stack (one of the custom > properties > mentioned above) is true. Again, you need to do this if you use > the demo > scripts word-for-word. You can modify the scripts so this property > setting > is unnecessary. > > Good luck. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design From bobwarren at howsoft.com Tue Apr 17 11:41:32 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Tue, 17 Apr 2007 12:41:32 -0300 Subject: Another 2.6.1 Linux bug to confirm ASAP Message-ID: <4624EAAC.2080700@howsoft.com> In general, I am not attempting to do much serious programming until the new version of Rev/Linux is released. However, amongst other things I have produced a set of picture/file chooser widgets which require correction ASAP. Hopefully, these widgets will work satisfactorily under the new Rev/Linux, so I am anxious that the following does not escape the attention of the Rev engineers. Please confirm this bug: Under Ubuntu 6.06.1 (Dapper Drake) the folder "/tmp/keyring-7YDyE5" has a single FILE in it called "socket". There are no hidden files or folders. Note the results of these 2 experiments: on mouseUp set the defaultFolder to "/tmp/keyring-7YDyE5" put the files into field "test" end mouseUp Gives the following: socket --CORRECT ---------------------------------- on mouseUp set the defaultFolder to "/tmp/keyring-7YDyE5" put the folders into field "test" end mouseUp Gives the following: .. --FAIR ENOUGH socket --WOSSIS? ---------------------------------- It seems that apart from being a file, Rev also thinks that "socket" is a folder! Anyone have any ideas about what might be provoking this? It happens with some other folders too, but so far I have not been able to spot any kind of common factor among them. Richmond wrote: went to Bugzilla, lost my password, requested new one and got a token and instructios to click on it - nothing doing? help me please! -------------------------------------------------- When this happened to me, I thought it was probably a problem with my particular account, that has been in a bit of an undiagnosed mess for years now. And I still haven't managed to find my old password, so I'm snookered. Did you manage to get yours sorted out Richmond? If so, perhaps TS could also do the same for me. Otherwise, if the above bug is confirmed, perhaps Jacque could make sure that the Rev engineers know about it. Thanks in advance. Bob From ambassador at fourthworld.com Tue Apr 17 12:12:31 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Apr 2007 09:12:31 -0700 Subject: Default button placement in Linux GUIs Message-ID: <4624F1EF.40407@fourthworld.com> An age-old challenge in making multi-platform apps is handling the placement of the default button in dialogs. On Mac OS the confirmation control is on the right, with the cancel control on the left. Bruce Tognazzini and others maintain that this placement is best supported by usability research. But on Windows the action control is on the left, with the cancel control on the right. In correspondence with me on this issue, Mr. Tognazzini suggests that in spite of research on optimal placement, consistency is a far bigger factor so software designers should employ whichever is most prevalent on the target OS. So for us Rev folks this means that making HIG-compliant software requires us to write routines which flip those button positions. Sure, it's a drag, but not the end of the world. But then we come to Linux: The Gnome HIG suggests using Apple's approach, with the confirmation control on the right. But the KDE HIG suggests using the Windows approach with the opposite layout. Does the Rev engine provide a way to determine which window manager it's running under in Linux? If not, how can we reconcile this issue if we want to deploy our apps to either window manager? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rcozens at pon.net Tue Apr 17 12:16:46 2007 From: rcozens at pon.net (Rob Cozens) Date: Tue, 17 Apr 2007 09:16:46 -0700 Subject: Restrict display ... In-Reply-To: <863B021E-D71D-4C66-8300-64CEA2160D4E@wanadoo.fr> References: <863B021E-D71D-4C66-8300-64CEA2160D4E@wanadoo.fr> Message-ID: >Is there a way to restrict the display of a moving object in the screen? Try making the object a group and setting the group's windowBoundingRect set to the limits of movement. Rob From sanke at hrz.uni-kassel.de Tue Apr 17 12:31:16 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 17 Apr 2007 18:31:16 +0200 Subject: Restrict display ... Message-ID: <4624F654.4010902@hrz.uni-kassel.de> On Tue Apr 17, 2007, Jean-Pierre jean-pierre.soto at wanadoo.fr wrote: > Is there a way to restrict the display of a moving object in the screen? > > I use white rectangle to mask some aera but it is not easy to handle... > > > thank ... Here is another rather short script example that lets you drag around a rectangle within the bounds of an image. "local Bstop,Tstop,LStop,RStop,cY,cX,movedobject on mouseDown put (the mouseH - item 1 of the loc of me) into cX put (the mouseV - item 2 of the loc of me) into cY put (the left of image 2)+(the width of me/2)+cX +1 into Lstop put (the right of image 2)-(the width of me/2)+cX -2 into Rstop put (the bottom of image 2)-(the height of me/2)+cY -2 into Bstop put (the top of image 2)+(the height of me/2)+cY into Tstop put true into movedobject end mouseDown on mouseMove x,y if the mouseloc is within the rect of image 2 then if not movedobject then exit mouseMove put min(Bstop,max(Tstop,y)) into yLoc put min(Rstop,max(Lstop,x)) into xLoc set loc of me to xLoc-cx,yLoc-cY end if end mouseMove on mouseUp put false into movedobject end mouseUp on mouseRelease mouseUp end mouseRelease" This is a slight modification of a script someone has made public on this list a while ago, sorry, I forget who it was. I use this script in the dragged rectangle to selects portions of the image to be mirrored, duplicated, or simply selected/cut out in my stacks and Regards, Wilhelm Sanke From scott at cdroo.com Tue Apr 17 12:44:21 2007 From: scott at cdroo.com (Scott Kane) Date: Wed, 18 Apr 2007 02:44:21 +1000 Subject: Default button placement in Linux GUIs References: <4624F1EF.40407@fourthworld.com> Message-ID: <00e601c7810f$aa1f77b0$0201010a@esbgdi9s3atqpx> From: "Richard Gaskin" > If not, how can we reconcile this issue if we want to deploy our apps to > either window manager? Not an ideal solution - but maybe as a last resort - ask the user. If they are running a Gnome desktop etc they *probably* know this (given that *nix is widely used by techies with a smaller portion being less experienced users). A simple one time preferences question could resolve this. Have to say it's a darn nuisance though that the HIG"S are all different. Usually these things are based on careful study (as in Apples case). I'm not sure what MS studied - possibly just being contrary to Apple. (before I'm flamed by any Windows zealots - Windows is my primary box and has been since Win 3.1 and DOS before that going back to DOS 3). Scott_. From gbojsza at gmail.com Tue Apr 17 13:24:30 2007 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 17 Apr 2007 11:24:30 -0600 Subject: Zipping multiple files stored as customProperties Message-ID: <3d8af4150704171024i366e1e6fs7fd9688451fce909@mail.gmail.com> Hello all, I am trying to zip several files that are stored as customProperties into a single zip file. Can this be done without having to write the files out to disk and then zipping them? thanks, From sanke at hrz.uni-kassel.de Tue Apr 17 13:56:32 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 17 Apr 2007 19:56:32 +0200 Subject: Export as JPEG can produce a format unaccepted by other photo tools Message-ID: <46250A50.8090009@hrz.uni-kassel.de> The Rev docs list two ways to export an image as JPEG - when not using "export snapshot", namely export JPEG to URL "binfile:next.jpg" export image thisImage to file "Thumbnail" as JPEG The Metacard docs list another variant with "export jpeg to file tFilename" To use the two variants beginning with "export JPEG" you need to select the image first. All three variants produce JPEG files that can be re-imported or opened within Rev, however only variant "export image "x" to file "y" as JPEG" produces a file that can be opened by Photoshop or PaintShopPro. The other two trigger error messages like "not a valid JPEG-JFIF file". Is this a bug or am I missing something? --Wilhelm Sanke From bridgeyman at gmail.com Tue Apr 17 14:36:21 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Tue, 17 Apr 2007 12:36:21 -0600 Subject: Lumen - Game Made In Revolution Message-ID: <86ae76bb0704171136u1a4a8b57he60d6695193b7483@mail.gmail.com> Hello, Brent Anderson and I have decided to start a small company that offers consultation services. To kick of the business and draw people to the site we have made game called "Lumen." Lumen is a puzzle game in which the user must "activate" checkpoints placed on the board by coloring a laser beam and using mirrors to bounce it around the board. Although the objective is simple, the puzzles can be quite a challenge! Lumen is available for Mac OS X (Universal Binary) and Windows. You can download Lumen at: www.fieryferret.com/lumen/lumen.html . Go ahead and try it out, then spread the word! Make sure to leave feedback so we can continue to improve Lumen. Oh, I almost forgot. Lumen is absolutely FREE! Best Wishes, Bridger Maxwell Fiery Ferret From revolution at derbrill.de Tue Apr 17 14:54:48 2007 From: revolution at derbrill.de (Malte Brill) Date: Tue, 17 Apr 2007 20:54:48 +0200 Subject: Lumen - Game Made In Revolution In-Reply-To: <20070216043334.E976648903A@mail.runrev.com> References: <20070216043334.E976648903A@mail.runrev.com> Message-ID: <3C32525C-3CAB-48C1-A664-A8E78FD30E62@derbrill.de> Congrats on Lumen Bridger! Very well done! Would be cool, to make the app install the puzzle folder for lazy bones like me. :-) All the best, Malte From wjm at wjm.org Tue Apr 17 14:54:57 2007 From: wjm at wjm.org (GMane) Date: Tue, 17 Apr 2007 14:54:57 -0400 Subject: Lumen - Game Made In Revolution In-Reply-To: <86ae76bb0704171136u1a4a8b57he60d6695193b7483@mail.gmail.com> References: <86ae76bb0704171136u1a4a8b57he60d6695193b7483@mail.gmail.com> Message-ID: Bridger, Brent, > Lumen is a puzzle game in which the user must "activate" checkpoints > placed > on the board by coloring a laser beam and using mirrors to bounce it > around > the board. Although the objective is simple, the puzzles can be quite a > challenge! Wow -- A very nice game... and a slick web site, too! From ambassador at fourthworld.com Tue Apr 17 15:02:13 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Apr 2007 12:02:13 -0700 Subject: Lumen - Game Made In Revolution Message-ID: <462519B5.3050309@fourthworld.com> Bridger Maxwell wrote: > Brent Anderson and I have decided to start a small company that offers > consultation services. To kick of the business and draw people to the site > we have made game called "Lumen." > > Lumen is a puzzle game in which the user must "activate" checkpoints placed > on the board by coloring a laser beam and using mirrors to bounce it around > the board. Although the objective is simple, the puzzles can be quite a > challenge! > > Lumen is available for Mac OS X (Universal Binary) and Windows. > > You can download Lumen at: www.fieryferret.com/lumen/lumen.html . Go ahead > and try it out, then spread the word! Make sure to leave feedback so we can > continue to improve Lumen. > > Oh, I almost forgot. Lumen is absolutely FREE! Good move. The game looks great - it's downloading now. Congrats on starting the new company. Few things in life are as rewarding as self-employment, esp. this time of year: the sun's out, the flowers are in bloom, so by just working a little later this evening you can take a long and well-deserved afternoon hike. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From userev at canelasoftware.com Tue Apr 17 15:05:56 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 17 Apr 2007 12:05:56 -0700 Subject: Lumen - Game Made In Revolution In-Reply-To: <86ae76bb0704171136u1a4a8b57he60d6695193b7483@mail.gmail.com> References: <86ae76bb0704171136u1a4a8b57he60d6695193b7483@mail.gmail.com> Message-ID: On Apr 17, 2007, at 11:36 AM, Bridger Maxwell wrote: > Hello, > > Brent Anderson and I have decided to start a small company that offers > consultation services. To kick of the business and draw people to > the site > we have made game called "Lumen." I love it! Thanks for this wonderfully addictive game. Mark Talluto -- CANELA Software http://www.canelasoftware.com From wjm at wjm.org Tue Apr 17 15:07:50 2007 From: wjm at wjm.org (GMane) Date: Tue, 17 Apr 2007 15:07:50 -0400 Subject: how to access SQLite in 2.8.1 Beta? In-Reply-To: <002101c780f7$0a87fc30$18b2a8c0@TiemoPC2> References: <002101c780f7$0a87fc30$18b2a8c0@TiemoPC2> Message-ID: Hi Tiemo, The driver for SQL Lite is integrated into the Database Query Builder now (Tools menu). You access it like MySQL or one of the other drivers. You can also use revOpenDatabase("sqlite", ,,,,). A database file is created if it doesn't already exist. You would then populate it using the rest of the database library commands and SQL statments. Complete dictionary entries for it will appear in the next beta, and the sample files are also being re-worked. - Bill "Tiemo Hollmann TB" wrote in message news:002101c780f7$0a87fc30$18b2a8c0 at TiemoPC2... > Hello, > > can someone point me to general plugin handling instructions, if something > like this exists? > > I have installed 2.8.1 Beta, because of the announcement SQLite should be > included. Now I don't see and find anything about SQLite. Do I have to > install it separately and if - how?, or how do I get access to the > functionality of SQLite? > > I have installed a showcase stack of SQLite before and that worked (with > 2.8.0) instantly, but I can't use now the functions in my own stack. From hughesmike2 at hotmail.com Tue Apr 17 15:15:37 2007 From: hughesmike2 at hotmail.com (Mike Hughes) Date: Tue, 17 Apr 2007 19:15:37 +0000 Subject: Drawers Message-ID: Hi Scott et all, I'm using Rev version 2.7.4. I ran the exact same version of Rev on both a Panther and Tiger box and noticed the drawers, while working fine on Tiger, behave strangely just on Panther. My question is: has anyone deployed Mac applications built in Rev 2.7.4 that INCLUDE the use of drawers? If so, have any problems been reported back from users regarding the drawers? Best, Mike >From: Scott Morrow >Reply-To: How to use Revolution >To: How to use Revolution >Subject: Re: Drawers >Date: Fri, 13 Apr 2007 23:59:32 -0700 > >Mike, >What version of Rev are you using? I thought this was a problem with some >of the 2.7.x versions but perhaps it was the OS version. It was reported >as a bug. I also seem to remember that using the exact language from the >Rev Documentation Dictionary solved a problem for me where I created a >drawer but the drawer wandered away when the parent was moved. >-Scott Morrow > >On Apr 13, 2007, at 7:01 PM, Mike Hughes wrote: > >>Hi Ken and Mark, >> >>I prefer not to use drawers typically but an instance came up where using >>one would be perfect. I did a little more playing around with the drawer >>command and noticed that on Tiger the problems I mentioned don't happen. >>On my Panther box, I cannot move around a drawer's parent stack without >>the drawer disappearing. >> >>Mark, do you think your recollection of this problem may have been >>associated with using Panther? >> >>Many thanks, >> >>Mike >> >> >>>From: Mark Schonewille >>>Reply-To: How to use Revolution >>>To: How to use Revolution >>>Subject: Re: Drawers >>>Date: Sat, 14 Apr 2007 01:38:40 +0200 >>> >>>Hi, >>> >>>Just for the record, I do recognise the problems Mike describes. They >>>can be solved, but I prefer to avoid drawers entirely. >>> >>>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 13-apr-2007, om 19:36 heeft Ken Ray het volgende geschreven: >>> >>> >>>> >>>>Odd, I don't get this reaction - it opens fine for me, and dragging >>>>the >>>>parent stack is smooth. What command are you using (specifically), and >>>>is your substack smaller (height-wise) than the parent? Also, are you >>>>using any custom window shapes or styles? >>>> >>>>Ken Ray >>> >>> >>>_______________________________________________ >>>use-revolution mailing list >>>use-revolution at lists.runrev.com >>>Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>>http://lists.runrev.com/mailman/listinfo/use-revolution >> >>_________________________________________________________________ >>Can?t afford to quit your job? ? Earn your AS, BS, or MS degree online in >>1 year. http://www.classesusa.com/clickcount.cfm? >>id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools% >>2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143 >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution 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 _________________________________________________________________ Can?t afford to quit your job? ? Earn your AS, BS, or MS degree online in 1 year. http://www.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143 From palcibiades-first at yahoo.co.uk Tue Apr 17 15:23:39 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 17 Apr 2007 20:23:39 +0100 Subject: Default button placement in Linux GUIs Message-ID: <200704172023.39728.palcibiades-first@yahoo.co.uk> "Does the Rev engine provide a way to determine which window manager it's running under in Linux? "If not, how can we reconcile this issue if we want to deploy our apps to either window manager?" Consider the environment your users are in, and don't worry about it - just adopt one style or the other. All your users will be using some kde and some gnome apps. So they will have had to get used to different looks and feels whatever WM they use. Whatever you do will not strike them as in any way odd or remarkable. For instance, I use gnome or fluxbox as WM, or sometimes WindowMaker, and kmail and firefox. Do they look the same? Probably not. I don't even notice.... I use xfe as a file manager, aka Finder, with WindowMaker and Fluxbox, and Nautilus with Gnome. Or sometimes Konqueror. xfe of course was written in the Fox toolkit, whereas Nautilus is gtk and Konqueror trolltech. It looks different from either, but this was the first time it had occurred to me that it is. The Apple gui design guidelines, or human interface guidelines in general, well, they were great in the eighties, but time has moved on. At least for Linux users. Uniform look and feel of apps is simply not a factor for us. Peter From ambassador at fourthworld.com Tue Apr 17 16:06:17 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Apr 2007 13:06:17 -0700 Subject: Default button placement in Linux GUIs Message-ID: <462528B9.6040204@fourthworld.com> Peter Alcibiades wrote: > The Apple gui design guidelines, or human interface guidelines in general, > well, they were great in the eighties, but time has moved on. At least for > Linux users. Uniform look and feel of apps is simply not a factor for us. Both the Apple and Microsoft HIGs are updated with each OS release, so while the ones written in the eighties were great in the eighties, the ones published just this year are hopefully as useful for us all today. While the "What, me worry?" approach certainly makes my own life easier as a developer, I'm not important here. The only important thing is the experience of the end user. The evolution of human cognitive psychology hasn't changed much since the eighties, so the foundations of user interface design, such as the consistency principle, are as important today as they were back when they were first identified. These niceties may not matter much to tech-savvy early adopters, but if Linux is to take over the world, as I believe it can, these things will become increasingly important. This is especially true when we consider where the growth of Linux on the desktop is most likely to explode over the next decade: in developing countries where it will often be the first computing experience for many who use it. Fortunately the good folks who maintain the HIGs for the various WMs seem to appreciate the importance of their work, as demonstrated by the daily activity on the GNOME User Interface discussion list and elsewhere. They have passionate debates about the seemingly smallest of things (this week's discussion of "caplets" is a good example), and I love them for their attention to detail. Since Ubuntu is currently the leading distro and its default WM is GNOME, I'm happy to go with GNOME conventions for now. But if KDE starts to regain its former lead, it will benefit all who advocate Linux to encourage reconciliation of such inconsistencies. I wonder if there may be other cases where it would be useful to know which WM is running. Can you think of any? Could this is a useful feature request for RunRev? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From palcibiades-first at yahoo.co.uk Tue Apr 17 16:37:11 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 17 Apr 2007 21:37:11 +0100 Subject: Default button placement in Linux GUIs Message-ID: <200704172137.11626.palcibiades-first@yahoo.co.uk> But Richard, my point is a slightly different one. Leave aside what we think of HIGs - my own reaction to the Gnome guys, unlike yours, is total incomprehension. But leave this aside. This isn't really the issue. The issue is, even if you are using Ubuntu, and are using Gnome, odds are you are not only using Gnome or gtk apps. You're almost certainly using KDE apps as well. And probably a few others. Because any linux distro is going to ship with hundreds of apps, and they are a mixed bunch. For instance, k3b is usually recognised as THE CD burning app, but its KDE. Even gnome users will use it. Kate is a superb multi pane editor, and gedit wonderful if you want it stripped down and simple. Most people will have and use both whether on gnome or kde. Email is similar. Lots of people who don't care much for gnome will use evolution as a mail client, but lots of gnome people will use kmail, like me. In either case our mail client is out of synch with the 'house style' of the desktop, but we don't notice. So there is no such thing, in Linux, as an homogenous user environment. This is because of the huge variety of stuff the distros ship with. And because Ubuntu after all, while gnome may be the default, allows installation of KDE with a snap of the fingers. And then, there's Kubuntu. But even if you go to Kubuntu, you will probably find yourself with several gnome apps. The problem with trying to match the user environment is, you can't do it, because it don't exist. I think we differ in how we look at this - to me, homogeneity is just irrelevant. And it is to most users I know, who I end up putting on a gnome desktop with lots of kde apps. But however we feel about it, its absence is just a fact of the environment right now. So I am not suggesting making life easy for yourself particularly. Just, focus on what will matter to users, and whether it looks like gnome or kde I don't think is going to be one of these things. Peter From m.schonewille at economy-x-talk.com Tue Apr 17 16:47:05 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 17 Apr 2007 22:47:05 +0200 Subject: Drawers In-Reply-To: References: Message-ID: <0E596375-72D0-4572-85A1-FC0C0B7EB08B@economy-x-talk.com> Hi Mike, I just gave it a try in Mac OS X 10.4.9 with Rev 2.8.1-dp-2. When I open a stack as drawer and drag it outside to increase the width, the right side moves away from the parent stack. This behaviour has never been different since drawers were added as a feature to Revolution, regardless of the Mac OS version. Best regards, 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 14-apr-2007, om 4:01 heeft Mike Hughes het volgende geschreven: > Hi Ken and Mark, > > I prefer not to use drawers typically but an instance came up where > using one would be perfect. I did a little more playing around with > the drawer command and noticed that on Tiger the problems I > mentioned don't happen. On my Panther box, I cannot move around a > drawer's parent stack without the drawer disappearing. > > Mark, do you think your recollection of this problem may have been > associated with using Panther? > > Many thanks, > > Mike > From jacque at hyperactivesw.com Tue Apr 17 16:52:32 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Apr 2007 15:52:32 -0500 Subject: Default button placement in Linux GUIs In-Reply-To: <200704172137.11626.palcibiades-first@yahoo.co.uk> References: <200704172137.11626.palcibiades-first@yahoo.co.uk> Message-ID: <46253390.5090308@hyperactivesw.com> Peter Alcibiades wrote: > So I am not suggesting making life easy for yourself particularly. Just, > focus on what will matter to users, and whether it looks like gnome or kde I > don't think is going to be one of these things. Excuse a newbie question. Do Linux apps ever invent their own interface entirely, or do they tend to stick to one of the various distro conventions? (Would it matter, for example, if my answer dialog was bright pink and had its OK and Cancel buttons at the top?) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pevensen at siboneylg.com Tue Apr 17 16:58:16 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 17 Apr 2007 15:58:16 -0500 Subject: Lumen - Game Made In Revolution In-Reply-To: <86ae76bb0704171136u1a4a8b57he60d6695193b7483@mail.gmail.co m> References: <86ae76bb0704171136u1a4a8b57he60d6695193b7483@mail.gmail.com> Message-ID: <6.2.1.2.2.20070417155624.19575cd0@exchange.slg.com> The only complaint I have is that colorblind people can't play the game. It is always a good idea to use a secondary method (like pattern/texture) to distinguish object, and not just color. Everything I've seen said that about 10% of men are colorblind. At 01:36 PM 4/17/2007, you wrote: >Hello, > >Brent Anderson and I have decided to start a small company that offers >consultation services. To kick of the business and draw people to the site >we have made game called "Lumen." > >Lumen is a puzzle game in which the user must "activate" checkpoints placed >on the board by coloring a laser beam and using mirrors to bounce it around >the board. Although the objective is simple, the puzzles can be quite a >challenge! > >Lumen is available for Mac OS X (Universal Binary) and Windows. > >You can download Lumen at: www.fieryferret.com/lumen/lumen.html . Go ahead >and try it out, then spread the word! Make sure to leave feedback so we can >continue to improve Lumen. > >Oh, I almost forgot. Lumen is absolutely FREE! > > > Best Wishes, > Bridger Maxwell > Fiery Ferret >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From hughesmike2 at hotmail.com Tue Apr 17 16:59:55 2007 From: hughesmike2 at hotmail.com (Mike Hughes) Date: Tue, 17 Apr 2007 20:59:55 +0000 Subject: Drawers In-Reply-To: <0E596375-72D0-4572-85A1-FC0C0B7EB08B@economy-x-talk.com> Message-ID: Thanks for testing it out, Mark. I'm not concerned with the resizing aspect because I turned off the drawer stack's "resizeable" property. My main concern is when dragging the parent stack around the screen, the drawer stack sometimes floats away into oblivion. That and also when I explicitly ask it to pop out on the right, sometimes it pops out on the left. I think my drawers are haunted. Best, Mike >From: Mark Schonewille >Reply-To: How to use Revolution >To: How to use Revolution >Subject: Re: Drawers >Date: Tue, 17 Apr 2007 22:47:05 +0200 > >Hi Mike, > >I just gave it a try in Mac OS X 10.4.9 with Rev 2.8.1-dp-2. When I open a >stack as drawer and drag it outside to increase the width, the right side >moves away from the parent stack. > >This behaviour has never been different since drawers were added as a >feature to Revolution, regardless of the Mac OS version. > >Best regards, > >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 14-apr-2007, om 4:01 heeft Mike Hughes het volgende geschreven: > >>Hi Ken and Mark, >> >>I prefer not to use drawers typically but an instance came up where using >>one would be perfect. I did a little more playing around with the drawer >>command and noticed that on Tiger the problems I mentioned don't happen. >>On my Panther box, I cannot move around a drawer's parent stack without >>the drawer disappearing. >> >>Mark, do you think your recollection of this problem may have been >>associated with using Panther? >> >>Many thanks, >> >>Mike >> > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution _________________________________________________________________ Get a FREE Web site, company branded e-mail and more from Microsoft Office Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ From chipp at chipp.com Tue Apr 17 17:23:58 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 17 Apr 2007 16:23:58 -0500 Subject: Export as JPEG can produce a format unaccepted by other photo tools In-Reply-To: <46250A50.8090009@hrz.uni-kassel.de> References: <46250A50.8090009@hrz.uni-kassel.de> Message-ID: <7aa52a210704171423q390aa9bbu23bd508bd87ff38a@mail.gmail.com> Hmmm. Never tried that Wilhelm. I've always used the 'export img x to file y as JPEG' form. Though there is another issue with JPEG export. Setting the JPEGquality to 100 doesn't create a very good JPEG image. Try this, create a picture of a red box inside a blue box in Photoshop. Save it as JPG maximum (100), then save it as PNG as well. Then import the PNG version into Rev and export is with JPEGquality at 100. You'll see the JPEG exported from Photoshop is much nicer than the export from Rev. best, Chipp From liamlambert at mac.com Tue Apr 17 17:28:51 2007 From: liamlambert at mac.com (Liam Lambert) Date: Tue, 17 Apr 2007 22:28:51 +0100 Subject: SMS message Message-ID: I want to use sms mac in an app. see http://www.smsmac.com/en/index.html it works great I want to change the message line in the apple script from a fld when the user inputs there message any ideas tell application "SMS Mac Scripting" set account to "john.doe at mac.com" set pin to "1234" set m to make new outgoing sms with properties {flash:false} tell m set message to "Don't forget to go to the dry cleaner!" --------------Message set recipients to {"+12345678900", "+1345678901"} set sender to "+14567890123" set delivery report to true try send on error errMsg number errNum display dialog "Error: " & errNum & ". " & errMsg end try end tell end tell Liam Lambert IRELAND liamlambert at mac.com From chipp at chipp.com Tue Apr 17 17:33:04 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 17 Apr 2007 16:33:04 -0500 Subject: How to replace the Rev icon with a custom icon in the Title bar for windows XP? In-Reply-To: <8B4F41F9-49C1-4C6B-8291-EC1CE4094DE9@major-k.de> References: <3d8af4150704161126p24144c4dhf3aa26caf96fc376@mail.gmail.com> <3d8af4150704161152g3ed48d3av6a1460a77f3d99e7@mail.gmail.com> <8B4F41F9-49C1-4C6B-8291-EC1CE4094DE9@major-k.de> Message-ID: <7aa52a210704171433u343fd055kff9edb58d479b6f4@mail.gmail.com> Glen, If you create a .ico file (Windows) and assign it when building a standalone, it will place the icon in the titlebar as well. -Chipp PS Hope the move went well. From byennie at qldlearning.com Tue Apr 17 17:53:40 2007 From: byennie at qldlearning.com (Brian Yennie) Date: Tue, 17 Apr 2007 14:53:40 -0700 Subject: SMS message In-Reply-To: References: Message-ID: Try putting a placeholder in the script, and then using the merge() command: tell application "SMS Mac Scripting" set account to "john.doe at mac.com" set pin to "1234" set m to make new outgoing sms with properties {flash:false} tell m set message to [[tMessage]] set recipients to {"+12345678900", "+1345678901"} set sender to "+14567890123" set delivery report to true try send on error errMsg number errNum display dialog "Error: " & errNum & ". " & errMsg end try end tell end tell -- on mouseUp put fld "message" into tMessage do (merge(fld "script")) as applescript end mouseUp HTH, Brian From ambassador at fourthworld.com Tue Apr 17 18:19:24 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Apr 2007 15:19:24 -0700 Subject: Default button placement in Linux GUIs Message-ID: <462547EC.40505@fourthworld.com> J. Landman Gay wrote: > Do Linux apps ever invent their own interface entirely, > or do they tend to stick to one of the various distro > conventions? (Would it matter, for example, if my answer dialog was > bright pink and had its OK and Cancel buttons at the top?) Would it matter? For both immediate user satisfaction and long-term Linux evangelism, yes. Are many Linux developers aware that it matters? Judging from the mish mash of software currently available, apparently not. But your apps can help Linux look more professional by just using the guidelines established by the window manger development teams. I have links to those HIGs (and more) on my Resources page: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mark at maseurope.net Tue Apr 17 18:29:21 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 17 Apr 2007 23:29:21 +0100 Subject: SMS message In-Reply-To: References: Message-ID: <1ABF1ACF-DA6E-4A86-86C1-F40D3EF01A41@maseurope.net> You could also use placeholders with the replace command. So store this in a field or a custom prop. tell application "SMS Mac Scripting" set account to "!ACCOUNT!" set pin to "!PIN!" set m to make new outgoing sms with properties {flash:false} tell m set message to "!MESSAGE!" set recipients to {!RECIPIENTS!} set sender to "!SENDER!" set delivery report to true try send on error errMsg number errNum display dialog "Error: " & errNum & ". " & errMsg end try end tell end tell Liam Lambert then, on sendAMessage pAccount, pPin, pMessage, pRecipients, pSender put fld "message" into tScript replace "!ACCOUNT!" with pAccount in tScript replace "!PIN!" with pPin in tScript etc. etc then do tScript as applescript. Also, check out http://www.sms2email.com/index.php, a bit cheaper, I think, and you can use POST,GET, and email to send... Best, Mark From ambassador at fourthworld.com Tue Apr 17 18:47:41 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Apr 2007 15:47:41 -0700 Subject: Default button placement in Linux GUIs Message-ID: <46254E8D.3020500@fourthworld.com> Peter Alcibiades wrote: > The issue is, even if you are using Ubuntu, and are using Gnome, odds > are you are not only using Gnome or gtk apps. You're almost certainly > using KDE apps as well. And probably a few others. Because any linux > distro is going to ship with hundreds of apps, and they are a mixed bunch. ... > So there is no such thing, in Linux, as an homogenous user environment. This > is because of the huge variety of stuff the distros ship with. ... > The problem with trying to match the user environment is, you can't do it, > because it don't exist. Your description of the current hodge-podge that is the Linux experience is in line with my own observations. So far we're in 100% agreement on all that you wrote. It's only here that we differ: > I think we differ in how we look at this - to me, homogeneity is just > irrelevant. Research on human cognition suggests a different view. > And it is to most users I know, who I end up putting on > a gnome desktop with lots of kde apps. But however we feel about > it, its absence is just a fact of the environment right now. Today, Linux has a smaller desktop penetration than OS X. Apple has the highest margins in the computer industry, while Linux is free. What does that tell us? Well, it could tell us a great many things, some more relevant than others in a discussion of UI conventions. But in part I believe it tells us that Linux is every bit as unnecessarily confusing for potential adopters as you describe. As long as Linux is a tool for cowboys to ride the wild range, that's not a bad thing. For many the state of Linux, both in terms of its usability and its market reach, is perfectly satisfactory as it is right now. But I see an opportunity at hand for a publicly owned and maintained OS to become the world leader. Maybe the Linux community doesn't share that vision or that ambition. There's nothing wrong with a person making a tool just for himself and his friends. But if the Linux developer community wanted to achieve global OS dominance, I believe there's no external force which could stop them. The only thing that can limit Linux adoption is internal, a lack of vision in the Linux developer community itself, a willingness to accept what is rather than ask what could be. Not everyone is a cowboy, but everyone could benefit from a good OS. I believe Linux can be that OS, and a few billion people who've never touched a computer before could benefit. A free public OS could change the world, in ways no proprietary system could hope to. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From liamlambert at mac.com Tue Apr 17 18:58:32 2007 From: liamlambert at mac.com (Liam Lambert) Date: Tue, 17 Apr 2007 23:58:32 +0100 Subject: SMS message Message-ID: Thank you Liam IRELAND liamlambert at mac.com From pepetoo at Cox.Net Tue Apr 17 19:08:01 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Tue, 17 Apr 2007 16:08:01 -0700 Subject: About OSx In-Reply-To: <46254E8D.3020500@fourthworld.com> References: <46254E8D.3020500@fourthworld.com> Message-ID: While we're talking about OSs, I'd like to toss out some ideas I had back in the Windows 95 days, when it became pretty obvious that the computer world was about to travel down a very rocky road. Of course, this was prior to the advent of the Internet as we know it today. I wanted someone to implement an OS that came in stages. One, a very basic one that got the computer up and running, but did little else. No frills. It would have only the most basic features. One would boot up using this if you were planning to focus on text editing. Of course, this was back in the days of the floppy disk and no hard drives to speak of. And speed didn't even exist. You could then add features and capabilities by opening additional modules if you planned to do other things. Not just one, but several. The biggest advantage of something like this was cost. The basic boot up module would have a shareware level cost. As would the additional ones. I figured that someone must see this as a method and that it would eventually be done. It wasn't. I still think it is a great concept. In fact, since I know so little about the Open Source field, that may be what people are doing. In Linux???? Search me. Joe Wilkins From mb.userev at harbourhosting.co.uk Tue Apr 17 19:27:19 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Wed, 18 Apr 2007 00:27:19 +0100 Subject: About OSx In-Reply-To: References: <46254E8D.3020500@fourthworld.com> Message-ID: <462557D7.6040700@harbourhosting.co.uk> Joe Lewis Wilkins wrote: > While we're talking about OSs, I'd like to toss out some ideas I had > back in the Windows 95 days, when it became pretty obvious that the > computer world was about to travel down a very rocky road. Of course, > this was prior to the advent of the Internet as we know it today. > > I wanted someone to implement an OS that came in stages. > > One, a very basic one that got the computer up and running, but did > little else. No frills. It would have only the most basic features. One > would boot up using this if you were planning to focus on text editing. > Of course, this was back in the days of the floppy disk and no hard > drives to speak of. And speed didn't even exist. > > You could then add features and capabilities by opening additional > modules if you planned to do other things. Not just one, but several. > > The biggest advantage of something like this was cost. The basic boot up > module would have a shareware level cost. As would the additional ones. > I figured that someone must see this as a method and that it would > eventually be done. It wasn't. I still think it is a great concept. In > fact, since I know so little about the Open Source field, that may be > what people are doing. In Linux???? Search me. > > Joe Wilkins > Ahem, Sorry Joe, but you're too late, Microsoft apparently has applied for a patent on it. Martin Baxter From pepetoo at Cox.Net Tue Apr 17 19:39:41 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Tue, 17 Apr 2007 16:39:41 -0700 Subject: About OSx In-Reply-To: <462557D7.6040700@harbourhosting.co.uk> References: <46254E8D.3020500@fourthworld.com> <462557D7.6040700@harbourhosting.co.uk> Message-ID: <0A18FA9E-3CBA-4502-B442-023DD786179B@Cox.Net> Thanks Martin, I was unaware of this, but after reading most of it, I think M$s motive is to just block someone else from doing this. Despite their patent, should it be awarded, it would easily be broken in my opinion, such as it is. Mostly, because of the fact that in one form or another it already exists; just not well done, and not marketed as such. Anyway, I've wasted enough of my time on this as it is. Even though my thoughts on the subject are ancient, they probably were not the first. Maybe Leonardo? (smile) On Apr 17, 2007, at 4:27 PM, Martin Baxter wrote: > Joe Lewis Wilkins wrote: >> While we're talking about OSs, I'd like to toss out some ideas I >> had back in the Windows 95 days, when it became pretty obvious >> that the computer world was about to travel down a very rocky >> road. Of course, this was prior to the advent of the Internet as >> we know it today. >> I wanted someone to implement an OS that came in stages. >> One, a very basic one that got the computer up and running, but >> did little else. No frills. It would have only the most basic >> features. One would boot up using this if you were planning to >> focus on text editing. Of course, this was back in the days of the >> floppy disk and no hard drives to speak of. And speed didn't even >> exist. >> You could then add features and capabilities by opening additional >> modules if you planned to do other things. Not just one, but several. >> The biggest advantage of something like this was cost. The basic >> boot up module would have a shareware level cost. As would the >> additional ones. I figured that someone must see this as a method >> and that it would eventually be done. It wasn't. I still think it >> is a great concept. In fact, since I know so little about the Open >> Source field, that may be what people are doing. In Linux???? >> Search me. >> Joe Wilkins > > Ahem, > > Sorry Joe, but you're too late, Microsoft apparently has applied > for a patent on it. > > > > Martin Baxter > _______________________________________________ From chipp at chipp.com Tue Apr 17 20:57:49 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 17 Apr 2007 19:57:49 -0500 Subject: Default button placement in Linux GUIs In-Reply-To: <4624F1EF.40407@fourthworld.com> References: <4624F1EF.40407@fourthworld.com> Message-ID: <7aa52a210704171757nbfc323awb73c9a0bbf2aef74@mail.gmail.com> While I'm sure Bruce has scads of data to back his assertion, I'm not sure it's such a big deal. I have for years created my own interface layer, and placed the OK button on the right for my custom created dialogs. I sell mostly to PC users and I've never had a single complaint about the positioning of my OK and/or Cancel buttons. I'd rather Bruce and Apple tackle some larger issues, such as a decent way to manage resizing windows. Let me see, to resize my mostly fullscreen browser window to exactly the bottom half of my screen on WinXP, it takes a maximum of 2 click-drag operations. Click on the topright corner and drag to the topLeft of where I want it, then click on the botRight and drag it to where I want it. Done. Try doing something as simple as that on a Mac. Hmm. Start by dragging the botRight up to about half, now drag the window down, see that it is now too large, so drag it back up, now resize again from bot right and try again. Once it's small enough, drag the top back down and then a final resize of the bot right. Ouch. From rishi at puredata.com.au Tue Apr 17 21:06:35 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Wed, 18 Apr 2007 11:06:35 +1000 Subject: Default button placement in Linux GUIs In-Reply-To: <4624F1EF.40407@fourthworld.com> References: <4624F1EF.40407@fourthworld.com> Message-ID: <200704181106.35648.rishi@puredata.com.au> User interface guidelines in Linux. Wow, what a concept! ;) As a long time Linux user it is heartening to hear you talk of such lofty things! As a software user I would be very greatful to notice you had (magically) made everything so easy to use. Linux is heading in the right direction here, its just not there yet. You might have to choose an interface guidline you think has more merit and stick with that for now. Cheers, Rishi. On Wednesday 18 April 2007 02:12, Richard Gaskin wrote: > An age-old challenge in making multi-platform apps is handling the > placement of the default button in dialogs. > > But then we come to Linux: > > The Gnome HIG suggests using Apple's approach, with the confirmation > control on the right. But the KDE HIG suggests using the Windows > approach with the opposite layout. > > Does the Rev engine provide a way to determine which window manager it's > running under in Linux? > > If not, how can we reconcile this issue if we want to deploy our apps to > either window manager? From mwieder at ahsoftware.net Tue Apr 17 22:21:04 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 17 Apr 2007 19:21:04 -0700 Subject: U3 drive problem In-Reply-To: References: Message-ID: <841118400464.20070417192104@ahsoftware.net> Walt- Had a similar u3 problem. I had foolishly enabled the u3 security, so that I had to type a password to access the data. Seemed like a good idea at the time to protect my data in case something happened to the device. Worked fine for a few weeks. Then neither Windows nor Mac would recognize the data drive. All I got on Windows was an hourglass that would come and go every ten seconds or so until I removed the drive. I could see the system drive on the mac, but not the data drive. Which makes sense since it was password-protected. My linux box did just the same. What finally saved me was downloading the launchpad installer, installing it on the Windows box, rebooting, running the launchpad, (yay! it showed a password dialog) typing in my password, REMOVING the u3 security, and deleting it from the drive. Along with all the other software that came with it. Most u3 drives don't work with Vista. And I'm still waiting for the fabled mac version that they promised us last year. Hopefully rev got some visibility out of the "partnership" deal. Hopefully the public won't associate rev with the u3 label. -- -Mark Wieder mwieder at ahsoftware.net From calhorner at xtra.Co.NZ Tue Apr 17 22:35:47 2007 From: calhorner at xtra.Co.NZ (Cal Horner) Date: Wed, 18 Apr 2007 14:35:47 +1200 (New Zealand Standard Time) Subject: Plug-ins for the Script editor Message-ID: <46258403.000009.01804@CALSBIGPC> Has anyone in the list ever tried to make a plug-in for the script editor itself? The reason I ask? VB had the ability to install add-ins into the script editor to "lighten the load'. I had one that let me insert handler documentation into the handler itself before I started cutting the code for the handler. If anyone has figured out out how to enhance the ability of the Rev Script Editor and could point me in that right direction, it would be most appreciated. BTW, I don't want to go to a 3rd party product. I've already tried Constellation and Galaxy and they don't fit my way of scripting. From katir at hindu.org Wed Apr 18 00:58:49 2007 From: katir at hindu.org (Sivakatirswami) Date: Tue, 17 Apr 2007 18:58:49 -1000 Subject: QT Player Challenge - Play Remote Movie In-Reply-To: <25331161-9A86-48E2-B809-C6A05BF10001@maseurope.net> References: <46244DAE.7010901@hindu.org> <25331161-9A86-48E2-B809-C6A05BF10001@maseurope.net> Message-ID: <4625A589.1060702@hindu.org> Mark Smith wrote: > Just did it here, on Mac 10.4.9 (G4 Powerbook), WiFi. > > 1st time (player named "Tutorial") I got spinning deathball and no > video. (forced quit to get out of it). > 2nd time (didn't name player, referenced "player 1"), all was fine > 3rd time (player named "Tutorial") all was fine. >> Challenge: get this movie to play in a revolution player stack *over >> Wi-Fi* Harumph! (smile) my "recipe" is blown and it's back to the vagaries of a problem with the possibility for a solution close to virtual 0 percent: "It always works in the browser in any connection context, but in X number of those connection contexts Rev fails." But one thing seems sure, it *is* a Rev problem....some aspect of the http-tcp-ip-quicktime-api-player frame work is not as robust as a the implementation in a browser (sigh) It pretty much means that any strategy for video delivery (other than forcing a pre-download) must take the form of revGoUrl "http://www.himalayanacademy.com/resources/lexicon/Lexicon_Workshop_Tutorial.mov"" and to just forget about using players... which is unfortunate, because we lose all the options for a fantastic UI. altBrowser next....and dropping them on our new Dreamhost account to see if streaming helps at all. Sivakatirswami www.himalayanacademy.com From jean-pierre.soto at wanadoo.fr Wed Apr 18 01:56:33 2007 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre) Date: Wed, 18 Apr 2007 07:56:33 +0200 Subject: Geometry Manager Problem ... Message-ID: <1ACD2022-8357-49D6-94AA-65C6693004A6@wanadoo.fr> Bonjour ... I begin to use Geometry Manager. I have made a large part of my stack, and I save it. Then when I open it again, and try to add a new geometry setting, or to change location of a control, the Geometry Manager dont go. Before I make change, when I send revUpdateGeometry in the Message Box, it 's OK. After I make Change, when I send revUpdateGeometry in the Message Box, I have an error "no such object" Does anyone know this problem ? Merci ... From toolbook at kestner.de Wed Apr 18 02:46:23 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 18 Apr 2007 08:46:23 +0200 Subject: AW: how to access SQLite in 2.8.1 Beta? In-Reply-To: Message-ID: <000701c78185$48c4d0c0$18b2a8c0@TiemoPC2> Thank you Bill! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von GMane > Gesendet: Dienstag, 17. April 2007 21:08 > An: use-revolution at lists.runrev.com > Betreff: Re: how to access SQLite in 2.8.1 Beta? > > Hi Tiemo, > > The driver for SQL Lite is integrated into the Database Query Builder now > (Tools menu). You access it like MySQL or one of the other drivers. You > can > also use revOpenDatabase("sqlite", ,,,,). A database file > is > created if it doesn't already exist. You would then populate it using the > rest of the database library commands and SQL statments. > > Complete dictionary entries for it will appear in the next beta, and the > sample files are also being re-worked. > > - Bill > > "Tiemo Hollmann TB" wrote > in message news:002101c780f7$0a87fc30$18b2a8c0 at TiemoPC2... > > Hello, > > > > can someone point me to general plugin handling instructions, if > something > > like this exists? > > > > I have installed 2.8.1 Beta, because of the announcement SQLite should > be > > included. Now I don't see and find anything about SQLite. Do I have to > > install it separately and if - how?, or how do I get access to the > > functionality of SQLite? > > > > I have installed a showcase stack of SQLite before and that worked (with > > 2.8.0) instantly, but I can't use now the functions in my own stack. > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Wed Apr 18 03:09:57 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 18 Apr 2007 08:09:57 +0100 Subject: Default button placement in Linux GUIs Message-ID: <200704180809.57454.palcibiades-first@yahoo.co.uk> Jacque wrote: "Do Linux apps ever invent their own interface entirely, or do they tend to stick to one of the various distro conventions? (Would it matter, for example, if my answer dialog was bright pink and had its OK and Cancel buttons at the top?)" Cautiously, because I'm not a developer and haven't used these things in anger, it seems to go like this. You have several gui toolkits, of which the most used are GTK (gnome) and QT (Trolltech, used by KDE). There is also FOX and one or two others. If an app is written using one of these toolkits, its look and feel, icon shape and coloring and fonts, will be determined by what's available in the toolkit. In addition, both gnome and KDE have a control panel which allows the user to set the theme. This will set the look and feel (icons, font, colors) of all the Gnome or KDE apps. Independently. You can run either control panel from either or any desktop. For instance, I am using gnome right now on this machine, but in a previous time using KDE had set KDE to use the Sun theme - this was purple menu bars, a sort of dull blue background, and black highlighting. It was fun for a while until the highlighting got irritating, so I fired up kcontrol while under gnome, reconfigured the desktop I was not running, and set the theme to platinum, at which point kmail running under gnome took on a dull metal, blue grey highlight theme. Doing this left sylpheed and openoffice and firefox unchanged. So, there is no distro look and feel, really, because you cannot as a user sensibly confine yourself to apps done in one tookit. You might be deceived on this by looking at Ubuntu out of the box and the fairly restricted theme-set available in gnome. There is not even, really, a KDE look and feel - there are quite a few depending on how one has themed it. What Rev really ought to do is provide for a developer to pick up the the theme in use from either KDE or Gnome. But what a rev developer should do for his/her app is, take a default theme, either KDE or Gnome. Take a well behaved application like Gedit or Kate. Then do something which is compatible. And just accept the fact that for a lot of people using mostly apps from the other Desktop environment, yours will look like they are Gnome or KDE. This does, alas, suggest not using pink! The controls should be done similarly. If you are picking a KDE style, follow the Kate control layout. This stuff matters so little to me that I don't recall how different KDE and Gedit actually are in control placement. Here is an OS News story on customizing KDE. If you're a Mac user the extent of possible customization might be surprising. http://osnews.com/story.php/16813/Tweaking-KDE-3.5.5 Here is their piece resulting in 300 reader desktops being submitted http://osnews.com/comment.php?news_id=16844 Here is a link into available themes for different desktop environments http://themes.freshmeat.net/browse/57/ As you look through this stuff, the reaction might well be, why not pink? Peter From toolbook at kestner.de Wed Apr 18 04:26:28 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 18 Apr 2007 10:26:28 +0200 Subject: image background is grey when printing Message-ID: <000801c78193$43bf88f0$18b2a8c0@TiemoPC2> Hello, I have read the thread about the grey textfield background, but didn't find any answer yet for my similar problem. I have some image objects which don't have always a file assigned on my card with white background. Those image objects without a picture assigned are printed with a grey backround and not white, as displayed. I have detected, if I set the card background to black, I can see the grey background of the image object on my card as well. So I think it must have something to do with the transparency of the image object? The only solution I have found yet is to hide all image objects without file assigned before printing. But that is not a satisfying answer. Does anybody has experienced this before and has a straight solution? Thanks Tiemo From mark at maseurope.net Wed Apr 18 05:34:18 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 18 Apr 2007 10:34:18 +0100 Subject: QT Player Challenge - Play Remote Movie In-Reply-To: <4625A589.1060702@hindu.org> References: <46244DAE.7010901@hindu.org> <25331161-9A86-48E2-B809-C6A05BF10001@maseurope.net> <4625A589.1060702@hindu.org> Message-ID: <2FF9BDA6-BB81-4F7F-997A-BD1324C6FCEA@maseurope.net> I wonder if this has anything to do with bug 3639 (frequent timeouts on https connections). Dave Cragg found it was down to some failure to write to a socket, I think. Best, Mark On 18 Apr 2007, at 05:58, Sivakatirswami wrote: > Mark Smith wrote: >> Just did it here, on Mac 10.4.9 (G4 Powerbook), WiFi. >> 1st time (player named "Tutorial") I got spinning deathball and no >> video. (forced quit to get out of it). >> 2nd time (didn't name player, referenced "player 1"), all was fine >> 3rd time (player named "Tutorial") all was fine. > > >>> Challenge: get this movie to play in a revolution player stack >>> *over Wi-Fi* > > Harumph! (smile) my "recipe" is blown and it's back to the > vagaries of > a problem with the possibility for a solution close to virtual 0 > percent: > > "It always works in the browser in any connection context, > but in X number of those connection contexts Rev fails." > > But one thing seems sure, it *is* a Rev problem....some aspect > of the http-tcp-ip-quicktime-api-player frame work is not as robust > as a the implementation in a browser (sigh) > > It pretty much means that any strategy for video delivery (other > than forcing a pre-download) must take the form of > > revGoUrl "http://www.himalayanacademy.com/resources/lexicon/ > Lexicon_Workshop_Tutorial.mov"" > > and to just forget about using players... which is unfortunate, > because we lose all the options for a fantastic UI. > > altBrowser next....and dropping them on our new Dreamhost account to > see if streaming helps at all. > > Sivakatirswami > www.himalayanacademy.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 dave at looktowindward.com Wed Apr 18 06:02:26 2007 From: dave at looktowindward.com (Dave) Date: Wed, 18 Apr 2007 11:02:26 +0100 Subject: I wish we had a do ... repeat statement!!! In-Reply-To: <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> Message-ID: <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> Hi, I've just finished coding one of the most complicated multiple loops I've ever had to do! I must say that the amount of code that I had to write could have been cut down quite a lot if RunRev had a do repeat while statement. In C the syntax is: while (x > 0) { do these statements } Which in RunRev is roughly equivalent to: repeat while x > 0 do these statements end repeat But C also has this structure: do { do these statements } while (x > 0) which AFAIK doesn't have a RunRev equivalent. Would be so nice to have something like: dorepeat do these statements dorepeat while x > 0 So whatever syntax works better! All the Best Dave From xavier.bury at clearstream.com Wed Apr 18 06:30:59 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Wed, 18 Apr 2007 12:30:59 +0200 Subject: ::I wish we had a do ... repeat statement!!! In-Reply-To: <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> Message-ID: Hi Dave, The repeat statement you want is the same as repeat do stuff if x < 0 then exit repeat end repeat or am I missing something obvious? Regards, ---------------------=--------------------- Xavier use-revolution-bounces at lists.runrev.com wrote on 18/04/2007 12:02:26: > Hi, > > I've just finished coding one of the most complicated multiple loops > I've ever had to do! I must say that the amount of code that I had to > write could have been cut down quite a lot if RunRev had a do > repeat while statement. > > In C the syntax is: > > while (x > 0) > { > do these statements > } > > Which in RunRev is roughly equivalent to: > > repeat while x > 0 > do these statements > end repeat > > But C also has this structure: > > do > { > do these statements > } > while (x > 0) > > which AFAIK doesn't have a RunRev equivalent. > > Would be so nice to have something like: > > > dorepeat > > do these statements > > dorepeat while x > 0 > > So whatever syntax works better! > > All the Best > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg RC Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From mark at maseurope.net Wed Apr 18 06:36:43 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 18 Apr 2007 11:36:43 +0100 Subject: I wish we had a do ... repeat statement!!! In-Reply-To: <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> Message-ID: You could also just initialize x to something greater than zero... Best, Mark On 18 Apr 2007, at 11:02, Dave wrote: > Hi, > > I've just finished coding one of the most complicated multiple > loops I've ever had to do! I must say that the amount of code that > I had to write could have been cut down quite a lot if RunRev had a > do repeat while statement. > > In C the syntax is: > > while (x > 0) > { > do these statements > } > > Which in RunRev is roughly equivalent to: > > repeat while x > 0 > do these statements > end repeat > > But C also has this structure: > > do > { > do these statements > } > while (x > 0) > > which AFAIK doesn't have a RunRev equivalent. > > Would be so nice to have something like: > > > dorepeat > > do these statements > > dorepeat while x > 0 > > So whatever syntax works better! > > All the Best > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 kee at kagi.com Wed Apr 18 08:47:06 2007 From: kee at kagi.com (kee nethery) Date: Wed, 18 Apr 2007 05:47:06 -0700 Subject: Rev as Web Server CGI programming language? In-Reply-To: <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> Message-ID: Am trying to cut through the marketing chatter and understand the limitations of using RunRev for CGI work. Here is what I think I know, I'd appreciate corrections. Andre Garzia's RevHTTP stack is a really nice way to build a web based application in RunRev. You can use the debugger and you can store data in stacks and you can use the various installer apps to keep the web stack updated. It is single threaded such that when one connection comes in, no other connections can be processed until the current connection is done. Stack based - yes (build and troubleshoot on your desktop and copy to server) Apache server "cgi" - no Built-in web server - yes (IT folks are uncomfortable with standalone web servers) Debuggable - yes (you can have a connection go through the debugger on the server) Negligible launch and tear down overhead for each connection - yes (launch once and it is always running) Multiple connections - no Multiple simultaneously processing connections - no Global Variables that are global for all connections to the web service - yes (one stack) Global Variables that are specific to a single connection - yes (each connection can get setup with the initial connection globals) File based script version of Jacqueline Landman Gay's tutorial uses the traditional Apache CGI structure and RunRev as the backend process and as such, a new instance of the script gets created for each incoming connection. This is good for simultaneous multiple connections, but the text script version prevents using the RunRev debugger. Stack based - no Apache server "cgi" - yes (IT folks are comfortable managing Apache installations, it's a known knowledge set) Built-in web server - no Debuggable - no Negligible launch and tear down overhead for each connection - no (each script instance is fast to handle but with hundreds of connections per second, launch and tear down will become an issue) Multiple connections - yes (each connection spawns a new instance of the script) Multiple simultaneously processing connections - yes (the separate instances have no connections with each other and Apache handles the simultaneous processing) Global Variables that are global for all connections to the web service - yes (when stored in a common text file read at startup) Global Variables that are specific to a single connection - yes (the script can have setup variables at launch) The stack based version of Jacqueline Landman Gay's tutorial uses a simple file based script to execute scripts in stacks. This uses the traditional Apache CGI structure where a new incoming connection spawns a new instance of the script and that script interacts with a stack. This is where I am unsure. If the processing happens in stack scripts, how is contention handled when 100 script instances want to utilize the same stack? Do the scripts single thread one at a time to the stack? How is data stored in the stack by one connection handled by all the other connections? Stack based - yes Apache server "cgi" - yes Built-in web server - no Debuggable - yes Negligible launch and tear down overhead for each connection - no Multiple connections - yes Multiple simultaneously processing connections - no Global Variables that are global for all connections to the web service - yes (stored in "the stack") Global Variables that are specific to a single connection - yes (because "the stack" can only be used by one connection at a time and the connection can reset the connection variables) What I'd like is the following. I want to build and debug using all the stack editing tools. I'm OK with single threading while I am debugging. But once I've debugged it, I want, for example, 100 simultaneous connections each running their copy of "the stack", with each stack having access to shared data (Globals), but containing it's own data about it's connection (connection specific globals), and for these connections to stay up and be available for the next connection without the overhead of launching a fresh copy of the script or of the stack (high performance), oh and while I'm at it, if a stack is 2Mb in size and the data that I add to it is another 2Mb in size, can the memory footprint for additional connections be just the additional RAM needed for another set of data and not for another copy of the stack? Is there a way to get this using RunRev? Stack based - yes Apache server "cgi" - yes Built-in web server - no Debuggable - yes Negligible launch and tear down overhead for each connection - yes Multiple connections - yes Multiple simultaneously processing connections - yes Global Variables that are global for all connections to the web service - yes (stored in "the stack") Global Variables that are specific to a single connection - yes (initialized by the CGI script before being fed to "the stack") Is anyone doing a combo of Jacqueline's file and stack methods? Using the stack method to debug and keeping everything in the stack script and avoiding the commands that don't work when in a text file. Kee Nethery From soapdog at mac.com Wed Apr 18 09:13:55 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 18 Apr 2007 10:13:55 -0300 Subject: Rev as Web Server CGI programming language? In-Reply-To: References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> Message-ID: <1E48BB41-67F0-42A3-AC39-64D594B575DA@mac.com> Kee, What I do here is this, I use the latest RevHTTP to build applications such as the ones on Jacques stack based tutorial. I debug and make sure it works in RevHTTP but I deploy on apache. The latest RevHTTP is able to run revolution CGI apps, no matter if they are file based or stack based. So I get the best of both worlds, easy debugging and testing from inside Rev and powerful serving from Apache. The trick is done by using my EasyCGI libraries. When run on RevHTTP, those library calls are overriden (can't. spell. english.) by RevHTTP so it all works together. The EasyCGI libraries make lots of things easy for they have functions for: communicating with the browser, session handling, rpc. The demos in RevHTTP package shows how to use everything. Nothing beats using breakpoints on web applications. Cheers andre On Apr 18, 2007, at 9:47 AM, kee nethery wrote: > Am trying to cut through the marketing chatter and understand the > limitations of using RunRev for CGI work. Here is what I think I > know, I'd appreciate corrections. > > Andre Garzia's RevHTTP stack is a really nice way to build a web > based application in RunRev. You can use the debugger and you can > store data in stacks and you can use the various installer apps to > keep the web stack updated. It is single threaded such that when > one connection comes in, no other connections can be processed > until the current connection is done. > Stack based - yes (build and troubleshoot on your desktop and copy > to server) > Apache server "cgi" - no > Built-in web server - yes (IT folks are uncomfortable with > standalone web servers) > Debuggable - yes (you can have a connection go through the debugger > on the server) > Negligible launch and tear down overhead for each connection - yes > (launch once and it is always running) > Multiple connections - no > Multiple simultaneously processing connections - no > Global Variables that are global for all connections to the web > service - yes (one stack) > Global Variables that are specific to a single connection - yes > (each connection can get setup with the initial connection globals) > > File based script version of Jacqueline Landman Gay's tutorial uses > the traditional Apache CGI structure and RunRev as the backend > process and as such, a new instance of the script gets created for > each incoming connection. This is good for simultaneous multiple > connections, but the text script version prevents using the RunRev > debugger. > Stack based - no > Apache server "cgi" - yes (IT folks are comfortable managing Apache > installations, it's a known knowledge set) > Built-in web server - no > Debuggable - no > Negligible launch and tear down overhead for each connection - no > (each script instance is fast to handle but with hundreds of > connections per second, launch and tear down will become an issue) > Multiple connections - yes (each connection spawns a new instance > of the script) > Multiple simultaneously processing connections - yes (the separate > instances have no connections with each other and Apache handles > the simultaneous processing) > Global Variables that are global for all connections to the web > service - yes (when stored in a common text file read at startup) > Global Variables that are specific to a single connection - yes > (the script can have setup variables at launch) > > The stack based version of Jacqueline Landman Gay's tutorial uses a > simple file based script to execute scripts in stacks. This uses > the traditional Apache CGI structure where a new incoming > connection spawns a new instance of the script and that script > interacts with a stack. This is where I am unsure. If the > processing happens in stack scripts, how is contention handled when > 100 script instances want to utilize the same stack? Do the scripts > single thread one at a time to the stack? How is data stored in the > stack by one connection handled by all the other connections? > Stack based - yes > Apache server "cgi" - yes > Built-in web server - no > Debuggable - yes > Negligible launch and tear down overhead for each connection - no > Multiple connections - yes > Multiple simultaneously processing connections - no > Global Variables that are global for all connections to the web > service - yes (stored in "the stack") > Global Variables that are specific to a single connection - yes > (because "the stack" can only be used by one connection at a time > and the connection can reset the connection variables) > > > What I'd like is the following. I want to build and debug using all > the stack editing tools. I'm OK with single threading while I am > debugging. But once I've debugged it, I want, for example, 100 > simultaneous connections each running their copy of "the stack", > with each stack having access to shared data (Globals), but > containing it's own data about it's connection (connection specific > globals), and for these connections to stay up and be available for > the next connection without the overhead of launching a fresh copy > of the script or of the stack (high performance), oh and while I'm > at it, if a stack is 2Mb in size and the data that I add to it is > another 2Mb in size, can the memory footprint for additional > connections be just the additional RAM needed for another set of > data and not for another copy of the stack? Is there a way to get > this using RunRev? > Stack based - yes > Apache server "cgi" - yes > Built-in web server - no > Debuggable - yes > Negligible launch and tear down overhead for each connection - yes > Multiple connections - yes > Multiple simultaneously processing connections - yes > Global Variables that are global for all connections to the web > service - yes (stored in "the stack") > Global Variables that are specific to a single connection - yes > (initialized by the CGI script before being fed to "the stack") > > > Is anyone doing a combo of Jacqueline's file and stack methods? > Using the stack method to debug and keeping everything in the stack > script and avoiding the commands that don't work when in a text file. > > > Kee Nethery > > _______________________________________________ > use-revolution mailing list > use-revolution 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 christian.langers at education.lu Wed Apr 18 09:18:36 2007 From: christian.langers at education.lu (Christian Langers) Date: Wed, 18 Apr 2007 15:18:36 +0200 Subject: scaling and positioning proportionally an object at the same time Message-ID: Hello, I try since hours to do this : I have an image (photo) on a stack which scales to the right and down on resizing the stack (via Geometry Manager); I have a graphic (rectangle) placed at a precise location on the image (the user selects a portion of the image to hilite something on it); Now I want that when the user resizes the window the graphic scales and moves (up/down) proportionaly to the image , so that the rectangle grows and shrinks with the image hiliting always the same portion of the image (e.g. an eye of a face); I hope you follow (it's difficult to explain this in English)... I tried to use the GM in REv, but ...brrr... the graphic jumps away from its original position when resizing... So... please ! Heeeelp... This is getting me on my nerves ;-) Thanks for any suggestions or solutions... Christian from Luxembourg From eric.chatonet at sosmartsoftware.com Wed Apr 18 09:47:47 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 18 Apr 2007 15:47:47 +0200 Subject: scaling and positioning proportionally an object at the same time In-Reply-To: References: Message-ID: Bonjour Christian, Le 18 avr. 07 ? 15:18, Christian Langers a ?crit : > Hello, > > I try since hours to do this : > > I have an image (photo) on a stack which scales to the right and > down on resizing the stack (via Geometry Manager); I have a graphic > (rectangle) placed at a precise location on the image (the user > selects a portion of the image to hilite something on it); > > Now I want that when the user resizes the window the graphic scales > and moves (up/down) proportionaly to the image , so that the > rectangle grows and shrinks with the image hiliting always the same > portion of the image (e.g. an eye of a face); I hope you follow > (it's difficult to explain this in English)... > > I tried to use the GM in REv, but ...brrr... the graphic jumps away > from its original position when resizing... > So... please ! Heeeelp... This is getting me on my nerves ;-) > Thanks for any suggestions or solutions... > > Christian > from Luxembourg Actually don't trust the Geometry Manager and prefer to write your own routines in a resizeStack handler ;-) Here is, for instance, an excerpt from such a handler: on resizeStack pNewW,pNewH,pOldW,pOldH -- note params passed by Rev ;-) global gPrefs ----- if gPrefs["uAdds"] then ProportionalWResize the long name of img "ToolbarShadow",pNewW,114 else ProportionalWResize the long name of img "ToolbarShadow",pNewW,0 pass resizeStack end resizeStack And: on ProportionalWResize pObj,pNewW,pDelta local tRect ----- put the rect of pObj into tRect put pNewW - pDelta into item 3 of tRect set the rect of pObj to tRect end ProportionalWResize Of course, the above example is simple and, sometimes, it might appear more tricky... But actually, Rev allows to script any complex resizing in any case ;-) Good luck! Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From nickp at didata.bw Wed Apr 18 09:15:07 2007 From: nickp at didata.bw (Nic Prioleau) Date: Wed, 18 Apr 2007 15:15:07 +0200 Subject: Resizing and geometry Message-ID: <002401c781bb$95a95b00$480aa8c0@didata.bw> Hello all.. I am having a really annoying problem when maximizing my stack and would like to know if I can trace what happens when clicking on the maximize button. Instead of maximizing the window as it should, it actually makes the window smaller than it should be, although the maxWidth is 1024 and the maxHeight is 706. Is there anything I should be looking out for here? Thanks nic ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From kray at sonsothunder.com Wed Apr 18 10:34:04 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 18 Apr 2007 09:34:04 -0500 Subject: Resizing and geometry In-Reply-To: <002401c781bb$95a95b00$480aa8c0@didata.bw> References: <002401c781bb$95a95b00$480aa8c0@didata.bw> Message-ID: <20070418093404787501.a2bb31ad@sonsothunder.com> On Wed, 18 Apr 2007 15:15:07 +0200, Nic Prioleau wrote: > Hello all.. > > I am having a really annoying problem when maximizing my stack and > would like to know if I can trace what happens when clicking on the > maximize button. Instead of maximizing the window as it should, it > actually makes the window smaller than it should be, although the > maxWidth is 1024 and the maxHeight is 706. Is there anything I should > be looking out for here? Well, the only time clicking the maximize button would make the window *smaller* (AFAIK) would be if the window was *already* maximized before the maximize button was clicked - it would restore the window to its previous, un-maximized size. The only other thing I can think of is that your monitor is set to 1024x768 and the width you're getting is not 1024 but something smaller; this would be caused by the fact that Rev applies a margin around the edges of the screen and above the task bar/dock when it sets the windowBoundingRect. If that's the case, then manually setting the windowBoundingRect to the full screen size before you deal with this window should take care of it. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From revdev at pdslabs.net Wed Apr 18 10:42:48 2007 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 18 Apr 2007 07:42:48 -0700 Subject: Rev as Web Server CGI programming language? In-Reply-To: References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> Message-ID: <46262E68.3020209@pdslabs.net> Hi Kee - Great blueprint! Thanks. Phil Davis kee nethery wrote: > Am trying to cut through the marketing chatter and understand the > limitations of using RunRev for CGI work. Here is what I think I know, > I'd appreciate corrections. > > Andre Garzia's RevHTTP stack is a really nice way to build a web based > application in RunRev. You can use the debugger and you can store data > in stacks and you can use the various installer apps to keep the web > stack updated. It is single threaded such that when one connection comes > in, no other connections can be processed until the current connection > is done. > Stack based - yes (build and troubleshoot on your desktop and copy to > server) > Apache server "cgi" - no > Built-in web server - yes (IT folks are uncomfortable with standalone > web servers) > Debuggable - yes (you can have a connection go through the debugger on > the server) > Negligible launch and tear down overhead for each connection - yes > (launch once and it is always running) > Multiple connections - no > Multiple simultaneously processing connections - no > Global Variables that are global for all connections to the web service > - yes (one stack) > Global Variables that are specific to a single connection - yes (each > connection can get setup with the initial connection globals) > > File based script version of Jacqueline Landman Gay's tutorial uses the > traditional Apache CGI structure and RunRev as the backend process and > as such, a new instance of the script gets created for each incoming > connection. This is good for simultaneous multiple connections, but the > text script version prevents using the RunRev debugger. > Stack based - no > Apache server "cgi" - yes (IT folks are comfortable managing Apache > installations, it's a known knowledge set) > Built-in web server - no > Debuggable - no > Negligible launch and tear down overhead for each connection - no (each > script instance is fast to handle but with hundreds of connections per > second, launch and tear down will become an issue) > Multiple connections - yes (each connection spawns a new instance of the > script) > Multiple simultaneously processing connections - yes (the separate > instances have no connections with each other and Apache handles the > simultaneous processing) > Global Variables that are global for all connections to the web service > - yes (when stored in a common text file read at startup) > Global Variables that are specific to a single connection - yes (the > script can have setup variables at launch) > > The stack based version of Jacqueline Landman Gay's tutorial uses a > simple file based script to execute scripts in stacks. This uses the > traditional Apache CGI structure where a new incoming connection spawns > a new instance of the script and that script interacts with a stack. > This is where I am unsure. If the processing happens in stack scripts, > how is contention handled when 100 script instances want to utilize the > same stack? Do the scripts single thread one at a time to the stack? How > is data stored in the stack by one connection handled by all the other > connections? > Stack based - yes > Apache server "cgi" - yes > Built-in web server - no > Debuggable - yes > Negligible launch and tear down overhead for each connection - no > Multiple connections - yes > Multiple simultaneously processing connections - no > Global Variables that are global for all connections to the web service > - yes (stored in "the stack") > Global Variables that are specific to a single connection - yes (because > "the stack" can only be used by one connection at a time and the > connection can reset the connection variables) > > > What I'd like is the following. I want to build and debug using all the > stack editing tools. I'm OK with single threading while I am debugging. > But once I've debugged it, I want, for example, 100 simultaneous > connections each running their copy of "the stack", with each stack > having access to shared data (Globals), but containing it's own data > about it's connection (connection specific globals), and for these > connections to stay up and be available for the next connection without > the overhead of launching a fresh copy of the script or of the stack > (high performance), oh and while I'm at it, if a stack is 2Mb in size > and the data that I add to it is another 2Mb in size, can the memory > footprint for additional connections be just the additional RAM needed > for another set of data and not for another copy of the stack? Is there > a way to get this using RunRev? > Stack based - yes > Apache server "cgi" - yes > Built-in web server - no > Debuggable - yes > Negligible launch and tear down overhead for each connection - yes > Multiple connections - yes > Multiple simultaneously processing connections - yes > Global Variables that are global for all connections to the web service > - yes (stored in "the stack") > Global Variables that are specific to a single connection - yes > (initialized by the CGI script before being fed to "the stack") > > > Is anyone doing a combo of Jacqueline's file and stack methods? Using > the stack method to debug and keeping everything in the stack script and > avoiding the commands that don't work when in a text file. > > > Kee Nethery > > _______________________________________________ > use-revolution mailing list > use-revolution 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 mangomultimedia.com Wed Apr 18 10:55:06 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 18 Apr 2007 07:55:06 -0700 Subject: Zipping multiple files stored as customProperties In-Reply-To: <3d8af4150704171024i366e1e6fs7fd9688451fce909@mail.gmail.com> References: <3d8af4150704171024i366e1e6fs7fd9688451fce909@mail.gmail.com> Message-ID: On Apr 17, 2007, at 10:24 AM, Glen Bojsza wrote: > Hello all, > > I am trying to zip several files that are stored as > customProperties into a > single zip file. > > Can this be done without having to write the files out to disk and > then > zipping them? Yes. Take a look at revZipAddItemWithData in the docs. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From sanke at hrz.uni-kassel.de Wed Apr 18 11:03:38 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 18 Apr 2007 17:03:38 +0200 Subject: Export as JPEG can produce a format unaccepted by other photo tools - cause detected? Message-ID: <4626334A.8060501@hrz.uni-kassel.de> On Tue Apr 17, 2007, Chipp Walters chipp at chipp.com wrote: > Hmmm. > Never tried that Wilhelm. I've always used the 'export img x to file y as > JPEG' form. Though there is another issue with JPEG export. Setting the > JPEGquality to 100 doesn't create a very good JPEG image. Try this, > create a > picture of a red box inside a blue box in Photoshop. Save it as JPG > maximum > (100), then save it as PNG as well. Then import the PNG version into > Rev and > export is with JPEGquality at 100. You'll see the JPEG exported from > Photoshop is much nicer than the export from Rev. > > best, > Chipp I repeated your steps above and see that the "border" between blue and red is somewhat blurred and also the hue is somewhat different. This seems to me to be another problem of image processing in Rev, but maybe not necessarily connected to the format issue I reported.- I did some further testing and found out that up to version 2.5 of Metacard (cannot remember the corresponding Rev version at the moment, but it was in 2003) the two forms of syntax export JPEG to URL "binfile:next.jpg" and export jpeg to file tFilename produced JPEG files that could also be read by PainShopPro etc., but after that - since Metacard version 2.5.1 - these files could only be used and processed inside Rev/Metacard itself. The same problems hold for PNG files and the "export PNG..." syntax. The related cause does not seem to be the "Endian issue", i.e. the change of the order of colorchars in the imagedata that occurred between Metacard versions 2.4 and 2.5, because the "export JPEG..." syntax works both for Metacard 2.4 and 2.5. So something else was changed in version 2.5.1. I thinks the docs both for Rev and Metacard should be updated and the faulty commands abandoned as we have the working 'export img x to file y as JPEG' form' and "export snapshot".-- Another observation not directly related to the above issue: While the speed for numerical computations has evidently been improved from Rev engine 2.6.1 to Rev 2.8.1-dp2, imagedata processing on the other hand has slowed down. Some of my scripts that process imagedata run up to 40% slower with engine 2.8.1.-dp2 (as similarly also in the other engines since Rev 2.7).- Thanks for the response. Best, Wilhelm From lists at mangomultimedia.com Wed Apr 18 11:13:04 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 18 Apr 2007 08:13:04 -0700 Subject: QT Player Challenge - Play Remote Movie In-Reply-To: <2FF9BDA6-BB81-4F7F-997A-BD1324C6FCEA@maseurope.net> References: <46244DAE.7010901@hindu.org> <25331161-9A86-48E2-B809-C6A05BF10001@maseurope.net> <4625A589.1060702@hindu.org> <2FF9BDA6-BB81-4F7F-997A-BD1324C6FCEA@maseurope.net> Message-ID: <6A0455CE-5F38-4FD8-B865-0E52279B80D6@mangomultimedia.com> On Apr 18, 2007, at 2:34 AM, Mark Smith wrote: > I wonder if this has anything to do with bug 3639 (frequent > timeouts on https connections). Dave Cragg found it was down to > some failure to write to a socket, I think. Most likely QuickTime is taking over after Rev creates the QuickTime Movie Controller (player object) and asks the QT framework to download the file. So I don't think it would be an issue related to Revolution's implementation of sockets. Just guessing, but perhaps QuickTime returns a status message that the browser sees and attempts to start the movie download again while Rev interprets it as an error and does nothing. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From dave at looktowindward.com Wed Apr 18 11:28:31 2007 From: dave at looktowindward.com (Dave) Date: Wed, 18 Apr 2007 16:28:31 +0100 Subject: I wish we had a do ... repeat statement!!! In-Reply-To: References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> Message-ID: <96A99E33-1CCE-4792-8A00-F89FEA0304D5@looktowindward.com> Hi, > You could also just initialize x to something greater than zero... Yes, I have to pre-initialize x (or whatever), that's the problem. I end up having to initialize the variable (or whatever) initially and then again inside the loop. In the this case it's trivial, but when the condition is more complex and when there are a lot of nested repeats it gets really messy. All the Best Dave On 18 Apr 2007, at 11:36, Mark Smith wrote: > You could also just initialize x to something greater than zero... > > Best, > > Mark > > On 18 Apr 2007, at 11:02, Dave wrote: > >> Hi, >> >> I've just finished coding one of the most complicated multiple >> loops I've ever had to do! I must say that the amount of code that >> I had to write could have been cut down quite a lot if RunRev had >> a do repeat while statement. >> >> In C the syntax is: >> >> while (x > 0) >> { >> do these statements >> } >> >> Which in RunRev is roughly equivalent to: >> >> repeat while x > 0 >> do these statements >> end repeat >> >> But C also has this structure: >> >> do >> { >> do these statements >> } >> while (x > 0) >> >> which AFAIK doesn't have a RunRev equivalent. >> >> Would be so nice to have something like: >> >> >> dorepeat >> >> do these statements >> >> dorepeat while x > 0 >> >> So whatever syntax works better! >> >> All the Best >> Dave >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 dave at looktowindward.com Wed Apr 18 11:39:01 2007 From: dave at looktowindward.com (Dave) Date: Wed, 18 Apr 2007 16:39:01 +0100 Subject: scaling and positioning proportionally an object at the same time In-Reply-To: References: Message-ID: <07DEC621-7E1B-4985-B64F-A3CA9FFA0F38@looktowindward.com> Hi, The Geometry Manager is broken and has been for over three years. Why they just don't take it out is beyond me. If it wasn't there at least you wouldn't waste hours/days wondering why your code doesn't work and what you have done wrong. Eventually you post here and someone (like me!) glibly tells you it's broken! It's best to do you own geometry handling. There are a number of sample stacks that do this. All the Best Dave On 18 Apr 2007, at 14:18, Christian Langers wrote: > Hello, > > I try since hours to do this : > > I have an image (photo) on a stack which scales to the right and > down on resizing the stack (via Geometry Manager); I have a graphic > (rectangle) placed at a precise location on the image (the user > selects a portion of the image to hilite something on it); > > Now I want that when the user resizes the window the graphic scales > and moves (up/down) proportionaly to the image , so that the > rectangle grows and shrinks with the image hiliting always the same > portion of the image (e.g. an eye of a face); I hope you follow > (it's difficult to explain this in English)... > > > I tried to use the GM in REv, but ...brrr... the graphic jumps away > from its original position when resizing... > > So... please ! Heeeelp... This is getting me on my nerves ;-) > > > Thanks for any suggestions or solutions... > > > Christian > > from Luxembourg > _______________________________________________ > use-revolution mailing list > use-revolution 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 Wed Apr 18 11:52:39 2007 From: dave at looktowindward.com (Dave) Date: Wed, 18 Apr 2007 16:52:39 +0100 Subject: ::I wish we had a do ... repeat statement!!! In-Reply-To: References: Message-ID: Hi, I think that should do it, although it's still not as nice as the do ... while form IMO. All the Best Dave On 18 Apr 2007, at 11:30, xavier.bury at clearstream.com wrote: > Hi Dave, > > The repeat statement you want is the same as > > repeat > do stuff > if x < 0 then exit repeat > end repeat > > or am I missing something obvious? > > Regards, > ---------------------=--------------------- > Xavier > > use-revolution-bounces at lists.runrev.com wrote on 18/04/2007 12:02:26: > >> Hi, >> >> I've just finished coding one of the most complicated multiple loops >> I've ever had to do! I must say that the amount of code that I had to >> write could have been cut down quite a lot if RunRev had a do >> repeat while statement. >> >> In C the syntax is: >> >> while (x > 0) >> { >> do these statements >> } >> >> Which in RunRev is roughly equivalent to: >> >> repeat while x > 0 >> do these statements >> end repeat >> >> But C also has this structure: >> >> do >> { >> do these statements >> } >> while (x > 0) >> >> which AFAIK doesn't have a RunRev equivalent. >> >> Would be so nice to have something like: >> >> >> dorepeat >> >> do these statements >> >> dorepeat while x > 0 >> >> So whatever syntax works better! >> >> All the Best >> Dave >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ---------------------------------------------------------------------- > ------ > Clearstream Services S.A. > 42 Avenue JF Kennedy, L-1855 Luxembourg > Soci?t? anonyme is organised with limited liability > in the Grand Duchy of Luxembourg RC Luxembourg B 60911. > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > Legally required information for business correspondence/ > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > http://deutsche-boerse.com/letterhead > > END OF DISCLAIMER > > _______________________________________________ > use-revolution mailing list > use-revolution 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 nickp at didata.bw Wed Apr 18 12:12:28 2007 From: nickp at didata.bw (Nic Prioleau) Date: Wed, 18 Apr 2007 18:12:28 +0200 Subject: Resizing and geometry References: <002401c781bb$95a95b00$480aa8c0@didata.bw> <20070418093404787501.a2bb31ad@sonsothunder.com> Message-ID: <004401c781d4$5c41bb50$480aa8c0@didata.bw> Hi Ken... In my stack inspector, I have set the minWidth and hight and maxWidth and height properties. Min width 800 min height 600 max width 1024 max height 706 When the stack is in its minWidth/Height form and I try and resize it by dragging, I cannot make it any smaller. At this point, I click on the *maximize* button and it sets the width to 692 and the height to 596 every single time. After this happens, I drag the stack to it's max window size and then click on the *minimize* button. This works fine by setting the window to it's minimum window size. Even if I create a brand new stack and perform the same operation, I get the same result. Perhaps that explains it a little better. Any ideas? Much appreciated Nic ----- Original Message ----- From: "Ken Ray" To: "How to use Revolution" Sent: Wednesday, April 18, 2007 4:34 PM Subject: Re: Resizing and geometry > On Wed, 18 Apr 2007 15:15:07 +0200, Nic Prioleau wrote: > >> Hello all.. >> >> I am having a really annoying problem when maximizing my stack and >> would like to know if I can trace what happens when clicking on the >> maximize button. Instead of maximizing the window as it should, it >> actually makes the window smaller than it should be, although the >> maxWidth is 1024 and the maxHeight is 706. Is there anything I should >> be looking out for here? > > Well, the only time clicking the maximize button would make the window > *smaller* (AFAIK) would be if the window was *already* maximized before > the maximize button was clicked - it would restore the window to its > previous, un-maximized size. The only other thing I can think of is > that your monitor is set to 1024x768 and the width you're getting is > not 1024 but something smaller; this would be caused by the fact that > Rev applies a margin around the edges of the screen and above the task > bar/dock when it sets the windowBoundingRect. If that's the case, then > manually setting the windowBoundingRect to the full screen size before > you deal with this window should take care of it. > > 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 e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From nickp at didata.bw Wed Apr 18 12:21:46 2007 From: nickp at didata.bw (Nic Prioleau) Date: Wed, 18 Apr 2007 18:21:46 +0200 Subject: Resizing and geometry References: <002401c781bb$95a95b00$480aa8c0@didata.bw> <20070418093404787501.a2bb31ad@sonsothunder.com> Message-ID: <005901c781d5$a8a2fee0$480aa8c0@didata.bw> Ah, I'm such a cluts... Sorry it was the windowBoundingrect. I swear I had included it in my openStack.... Thanks Regards Nic ----- Original Message ----- From: "Ken Ray" To: "How to use Revolution" Sent: Wednesday, April 18, 2007 4:34 PM Subject: Re: Resizing and geometry > On Wed, 18 Apr 2007 15:15:07 +0200, Nic Prioleau wrote: > >> Hello all.. >> >> I am having a really annoying problem when maximizing my stack and >> would like to know if I can trace what happens when clicking on the >> maximize button. Instead of maximizing the window as it should, it >> actually makes the window smaller than it should be, although the >> maxWidth is 1024 and the maxHeight is 706. Is there anything I should >> be looking out for here? > > Well, the only time clicking the maximize button would make the window > *smaller* (AFAIK) would be if the window was *already* maximized before > the maximize button was clicked - it would restore the window to its > previous, un-maximized size. The only other thing I can think of is > that your monitor is set to 1024x768 and the width you're getting is > not 1024 but something smaller; this would be caused by the fact that > Rev applies a margin around the edges of the screen and above the task > bar/dock when it sets the windowBoundingRect. If that's the case, then > manually setting the windowBoundingRect to the full screen size before > you deal with this window should take care of it. > > 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 e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From pepetoo at Cox.Net Wed Apr 18 12:24:10 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Wed, 18 Apr 2007 09:24:10 -0700 Subject: scaling and positioning proportionally an object at the same time In-Reply-To: <07DEC621-7E1B-4985-B64F-A3CA9FFA0F38@looktowindward.com> References: <07DEC621-7E1B-4985-B64F-A3CA9FFA0F38@looktowindward.com> Message-ID: <427173FA-F31D-41D2-8635-2F3AEDB98679@Cox.Net> Hi all, Dave in particular, Is it possible that the stack I can no longer compile to a stand alone uses this broken Geometry Manager without my having called any of its routines myself. It contains a lot of images that I have either imported or pasted from images copied from ResEdit and sometimes modified further with additional images, usually white space to clean up an image, using MacDraft. The last image I recall adding prior to Rev's refusal to create the stand along was in this last category. I'm searching for ANYTHING that may be the cause at this point. TIA, Joe Wilkins On Apr 18, 2007, at 8:39 AM, Dave wrote: > Hi, > > The Geometry Manager is broken and has been for over three years. > Why they just don't take it out is beyond me. If it wasn't there at > least you wouldn't waste hours/days wondering why your code doesn't > work and what you have done wrong. Eventually you post here and > someone (like me!) glibly tells you it's broken! > > It's best to do you own geometry handling. There are a number of > sample stacks that do this. > > All the Best > Dave From kee at kagi.com Wed Apr 18 12:42:30 2007 From: kee at kagi.com (kee nethery) Date: Wed, 18 Apr 2007 09:42:30 -0700 Subject: Rev as Web Server CGI programming language? In-Reply-To: <46262E68.3020209@pdslabs.net> References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> <46262E68.3020209@pdslabs.net> Message-ID: Andre appears to do what I was pondering, write and debug using the stack based web server, and then deploy under apache in a text file. My plan is to try to document the development process so that I'll be able to remember how to use it months from now. When I get that documented I'll pass it back to the list. Looks like this is a good 95% of the solution I desire. And that should be good enough for now. Kee On Apr 18, 2007, at 7:42 AM, Phil Davis wrote: > Hi Kee - > > Great blueprint! Thanks. > > Phil Davis > > > kee nethery wrote: >> Am trying to cut through the marketing chatter and understand the >> limitations of using RunRev for CGI work. Here is what I think I >> know, I'd appreciate corrections. >> Andre Garzia's RevHTTP stack is a really nice way to build a web >> based application in RunRev. You can use the debugger and you can >> store data in stacks and you can use the various installer apps to >> keep the web stack updated. It is single threaded such that when >> one connection comes in, no other connections can be processed >> until the current connection is done. >> Stack based - yes (build and troubleshoot on your desktop and copy >> to server) >> Apache server "cgi" - no >> Built-in web server - yes (IT folks are uncomfortable with >> standalone web servers) >> Debuggable - yes (you can have a connection go through the >> debugger on the server) >> Negligible launch and tear down overhead for each connection - yes >> (launch once and it is always running) >> Multiple connections - no >> Multiple simultaneously processing connections - no >> Global Variables that are global for all connections to the web >> service - yes (one stack) >> Global Variables that are specific to a single connection - yes >> (each connection can get setup with the initial connection globals) >> File based script version of Jacqueline Landman Gay's tutorial >> uses the traditional Apache CGI structure and RunRev as the >> backend process and as such, a new instance of the script gets >> created for each incoming connection. This is good for >> simultaneous multiple connections, but the text script version >> prevents using the RunRev debugger. >> Stack based - no >> Apache server "cgi" - yes (IT folks are comfortable managing >> Apache installations, it's a known knowledge set) >> Built-in web server - no >> Debuggable - no >> Negligible launch and tear down overhead for each connection - no >> (each script instance is fast to handle but with hundreds of >> connections per second, launch and tear down will become an issue) >> Multiple connections - yes (each connection spawns a new instance >> of the script) >> Multiple simultaneously processing connections - yes (the separate >> instances have no connections with each other and Apache handles >> the simultaneous processing) >> Global Variables that are global for all connections to the web >> service - yes (when stored in a common text file read at startup) >> Global Variables that are specific to a single connection - yes >> (the script can have setup variables at launch) >> The stack based version of Jacqueline Landman Gay's tutorial uses >> a simple file based script to execute scripts in stacks. This uses >> the traditional Apache CGI structure where a new incoming >> connection spawns a new instance of the script and that script >> interacts with a stack. This is where I am unsure. If the >> processing happens in stack scripts, how is contention handled >> when 100 script instances want to utilize the same stack? Do the >> scripts single thread one at a time to the stack? How is data >> stored in the stack by one connection handled by all the other >> connections? >> Stack based - yes >> Apache server "cgi" - yes >> Built-in web server - no >> Debuggable - yes >> Negligible launch and tear down overhead for each connection - no >> Multiple connections - yes >> Multiple simultaneously processing connections - no >> Global Variables that are global for all connections to the web >> service - yes (stored in "the stack") >> Global Variables that are specific to a single connection - yes >> (because "the stack" can only be used by one connection at a time >> and the connection can reset the connection variables) >> What I'd like is the following. I want to build and debug using >> all the stack editing tools. I'm OK with single threading while I >> am debugging. But once I've debugged it, I want, for example, 100 >> simultaneous connections each running their copy of "the stack", >> with each stack having access to shared data (Globals), but >> containing it's own data about it's connection (connection >> specific globals), and for these connections to stay up and be >> available for the next connection without the overhead of >> launching a fresh copy of the script or of the stack (high >> performance), oh and while I'm at it, if a stack is 2Mb in size >> and the data that I add to it is another 2Mb in size, can the >> memory footprint for additional connections be just the additional >> RAM needed for another set of data and not for another copy of the >> stack? Is there a way to get this using RunRev? >> Stack based - yes >> Apache server "cgi" - yes >> Built-in web server - no >> Debuggable - yes >> Negligible launch and tear down overhead for each connection - yes >> Multiple connections - yes >> Multiple simultaneously processing connections - yes >> Global Variables that are global for all connections to the web >> service - yes (stored in "the stack") >> Global Variables that are specific to a single connection - yes >> (initialized by the CGI script before being fed to "the stack") >> Is anyone doing a combo of Jacqueline's file and stack methods? >> Using the stack method to debug and keeping everything in the >> stack script and avoiding the commands that don't work when in a >> text file. >> Kee Nethery >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 soapdog at mac.com Wed Apr 18 12:47:24 2007 From: soapdog at mac.com (Andre Garzia) Date: Wed, 18 Apr 2007 13:47:24 -0300 Subject: Rev as Web Server CGI programming language? In-Reply-To: References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> <46262E68.3020209@pdslabs.net> Message-ID: Kee, fetch http://andregarzia.com/RevHTTP.zip it has examples... Andre On Apr 18, 2007, at 1:42 PM, kee nethery wrote: > Andre appears to do what I was pondering, write and debug using the > stack based web server, and then deploy under apache in a text > file. My plan is to try to document the development process so that > I'll be able to remember how to use it months from now. When I get > that documented I'll pass it back to the list. Looks like this is a > good 95% of the solution I desire. And that should be good enough > for now. > > Kee > > > On Apr 18, 2007, at 7:42 AM, Phil Davis wrote: > >> Hi Kee - >> >> Great blueprint! Thanks. >> >> Phil Davis >> >> >> kee nethery wrote: >>> Am trying to cut through the marketing chatter and understand the >>> limitations of using RunRev for CGI work. Here is what I think I >>> know, I'd appreciate corrections. >>> Andre Garzia's RevHTTP stack is a really nice way to build a web >>> based application in RunRev. You can use the debugger and you can >>> store data in stacks and you can use the various installer apps >>> to keep the web stack updated. It is single threaded such that >>> when one connection comes in, no other connections can be >>> processed until the current connection is done. >>> Stack based - yes (build and troubleshoot on your desktop and >>> copy to server) >>> Apache server "cgi" - no >>> Built-in web server - yes (IT folks are uncomfortable with >>> standalone web servers) >>> Debuggable - yes (you can have a connection go through the >>> debugger on the server) >>> Negligible launch and tear down overhead for each connection - >>> yes (launch once and it is always running) >>> Multiple connections - no >>> Multiple simultaneously processing connections - no >>> Global Variables that are global for all connections to the web >>> service - yes (one stack) >>> Global Variables that are specific to a single connection - yes >>> (each connection can get setup with the initial connection globals) >>> File based script version of Jacqueline Landman Gay's tutorial >>> uses the traditional Apache CGI structure and RunRev as the >>> backend process and as such, a new instance of the script gets >>> created for each incoming connection. This is good for >>> simultaneous multiple connections, but the text script version >>> prevents using the RunRev debugger. >>> Stack based - no >>> Apache server "cgi" - yes (IT folks are comfortable managing >>> Apache installations, it's a known knowledge set) >>> Built-in web server - no >>> Debuggable - no >>> Negligible launch and tear down overhead for each connection - no >>> (each script instance is fast to handle but with hundreds of >>> connections per second, launch and tear down will become an issue) >>> Multiple connections - yes (each connection spawns a new instance >>> of the script) >>> Multiple simultaneously processing connections - yes (the >>> separate instances have no connections with each other and Apache >>> handles the simultaneous processing) >>> Global Variables that are global for all connections to the web >>> service - yes (when stored in a common text file read at startup) >>> Global Variables that are specific to a single connection - yes >>> (the script can have setup variables at launch) >>> The stack based version of Jacqueline Landman Gay's tutorial uses >>> a simple file based script to execute scripts in stacks. This >>> uses the traditional Apache CGI structure where a new incoming >>> connection spawns a new instance of the script and that script >>> interacts with a stack. This is where I am unsure. If the >>> processing happens in stack scripts, how is contention handled >>> when 100 script instances want to utilize the same stack? Do the >>> scripts single thread one at a time to the stack? How is data >>> stored in the stack by one connection handled by all the other >>> connections? >>> Stack based - yes >>> Apache server "cgi" - yes >>> Built-in web server - no >>> Debuggable - yes >>> Negligible launch and tear down overhead for each connection - no >>> Multiple connections - yes >>> Multiple simultaneously processing connections - no >>> Global Variables that are global for all connections to the web >>> service - yes (stored in "the stack") >>> Global Variables that are specific to a single connection - yes >>> (because "the stack" can only be used by one connection at a time >>> and the connection can reset the connection variables) >>> What I'd like is the following. I want to build and debug using >>> all the stack editing tools. I'm OK with single threading while I >>> am debugging. But once I've debugged it, I want, for example, 100 >>> simultaneous connections each running their copy of "the stack", >>> with each stack having access to shared data (Globals), but >>> containing it's own data about it's connection (connection >>> specific globals), and for these connections to stay up and be >>> available for the next connection without the overhead of >>> launching a fresh copy of the script or of the stack (high >>> performance), oh and while I'm at it, if a stack is 2Mb in size >>> and the data that I add to it is another 2Mb in size, can the >>> memory footprint for additional connections be just the >>> additional RAM needed for another set of data and not for another >>> copy of the stack? Is there a way to get this using RunRev? >>> Stack based - yes >>> Apache server "cgi" - yes >>> Built-in web server - no >>> Debuggable - yes >>> Negligible launch and tear down overhead for each connection - yes >>> Multiple connections - yes >>> Multiple simultaneously processing connections - yes >>> Global Variables that are global for all connections to the web >>> service - yes (stored in "the stack") >>> Global Variables that are specific to a single connection - yes >>> (initialized by the CGI script before being fed to "the stack") >>> Is anyone doing a combo of Jacqueline's file and stack methods? >>> Using the stack method to debug and keeping everything in the >>> stack script and avoiding the commands that don't work when in a >>> text file. >>> Kee Nethery >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 revcompgeek at gmail.com Wed Apr 18 13:20:01 2007 From: revcompgeek at gmail.com (Matthew) Date: Wed, 18 Apr 2007 11:20:01 -0600 Subject: External problem Message-ID: <18135D24-7EE4-4C37-BD69-9F2C4B7C55F5@gmail.com> I am currently trying to build a SHA1 library in the hopes that it will run faster than ShaoSean's library (Great library by the way). I have the code all written out and no errors in the code itself, but when i try to compile it has 1 error and it says: Undefined symbols: _getXtable (part of path removed)/ExternalsEnvironment2_mod/sha1_hash/cache/ Debug/sha1_hash.build/Objects-normal/ppc/sha1_hash.o reference to undefined _getXtable symbols names listed in -exported_symbols_list: (part of path removed)/ExternalsEnvironmentV2_mod/sha1_hash/sha1_hash.exports not in linked objects _getXtaable collect2: Id returned 1 exit status looking in both externals.c and externals.h i notice that getXtable is defined but not _getXtable. Is there something that I should change to fix this? From mark at maseurope.net Wed Apr 18 13:41:45 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 18 Apr 2007 18:41:45 +0100 Subject: Rev as Web Server CGI programming language? In-Reply-To: References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> Message-ID: <97AEDE34-79AE-40A8-81B3-B5057CD0302E@maseurope.net> Kee, I'm pretty sure that what happens is that each connection spawns an instance not just of the initial text script, but of the rev CGI engine, and therefore also whatever stacks (each instance of) it loads into memory. The propblem, as you have suggested, is what happens when 100 separate processes all try to save the stack to the same stackfile at the same time. I don't know, but maybe an environment variable could be set when saving, and cleared when finished, so each process could check on whether it's safe to save by looking at the envirionment varaiable, and waiting til it's clear before saving. Or maybe, depending on the needs of the application, data could be saved in separate text files for each process. Best, Mark On 18 Apr 2007, at 13:47, kee nethery wrote: > If the processing happens in stack scripts, how is contention > handled when 100 script instances want to utilize the same stack? > Do the scripts single thread one at a time to the stack? How is > data stored in the stack by one connection handled by all the other > connections? From cszasz at mac.com Wed Apr 18 13:55:43 2007 From: cszasz at mac.com (Charles Szasz) Date: Wed, 18 Apr 2007 13:55:43 -0400 Subject: Saving Stack Question Message-ID: I added the ability to save a stack to my program. I have four check boxes that on the first card and five fields. When you save the stack and quit the program and then restart the program, all of the information is saved except the checkbox - it is no longer checked. The five fields that accompanies the checkbox are saved but not the check in the checkbox. Is this normal for a checkbox? Charles Szasz cszasz at mac.com From eric.chatonet at sosmartsoftware.com Wed Apr 18 14:06:37 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 18 Apr 2007 20:06:37 +0200 Subject: Saving Stack Question In-Reply-To: References: Message-ID: Hi Charles, Le 18 avr. 07 ? 19:55, Charles Szasz a ?crit : > I added the ability to save a stack to my program. I have four > check boxes that on the first card and five fields. When you save > the stack and quit the program and then restart the program, all of > the information is saved except the checkbox - it is no longer > checked. The five fields that accompanies the checkbox are saved > but not the check in the checkbox. Is this normal for a checkbox? > > Charles Szasz > cszasz at mac.com No, it's not normal: Any stack saved is fully saved in the state it is: highlights, texts, objects location and so on... The whole thing :-) I guess you have in your code (preOpenStack for instance) something that sets the status of these checkboxes or something else that occurs before saving (with a confusing lock screen in addition may be :-) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From josh at dvcreators.net Wed Apr 18 14:15:31 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 18 Apr 2007 11:15:31 -0700 Subject: Plug-ins for the Script editor In-Reply-To: <46258403.000009.01804@CALSBIGPC> References: <46258403.000009.01804@CALSBIGPC> Message-ID: <8BFC590F-7990-403F-8BD2-E0B13257B685@dvcreators.net> Several folks have made "plugins" or mods to the script editor. You've said you don't want to go 3rd party, but I've been testing a new script editor from Jerry called "GLX2" which is the best script editor I've used in 30 years of writing code (on and off!), might be worth checking out. On Apr 17, 2007, at 7:35 PM, Cal Horner wrote: > Has anyone in the list ever tried to make a plug-in for the script > editor > itself? > > The reason I ask? > > VB had the ability to install add-ins into the script editor to > "lighten the > load'. I had one that let me insert handler documentation into the > handler > itself before I started cutting the code for the handler. > > If anyone has figured out out how to enhance the ability of the Rev > Script > Editor and could point me in that right direction, it would be most > appreciated. > > BTW, I don't want to go to a 3rd party product. I've already tried > Constellation and Galaxy and they don't fit my way of scripting. > _______________________________________________ > use-revolution mailing list > use-revolution 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 josh at dvcreators.net Wed Apr 18 16:11:40 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 18 Apr 2007 13:11:40 -0700 Subject: Plug-ins for the Script editor CORRECTION In-Reply-To: <8BFC590F-7990-403F-8BD2-E0B13257B685@dvcreators.net> References: <46258403.000009.01804@CALSBIGPC> <8BFC590F-7990-403F-8BD2-E0B13257B685@dvcreators.net> Message-ID: <66576809-3299-48FD-A66D-DAF3782D8221@dvcreators.net> Sorry, major mistake in my post, I meant the latest version of Galaxy! On Apr 18, 2007, at 11:15 AM, Josh Mellicker wrote: > Several folks have made "plugins" or mods to the script editor. > You've said you don't want to go 3rd party, but I've been testing a > new script editor from Jerry called "GLX2" which is the best script > editor I've used in 30 years of writing code (on and off!), might > be worth checking out. > > > On Apr 17, 2007, at 7:35 PM, Cal Horner wrote: > >> Has anyone in the list ever tried to make a plug-in for the script >> editor >> itself? >> >> The reason I ask? >> >> VB had the ability to install add-ins into the script editor to >> "lighten the >> load'. I had one that let me insert handler documentation into the >> handler >> itself before I started cutting the code for the handler. >> >> If anyone has figured out out how to enhance the ability of the >> Rev Script >> Editor and could point me in that right direction, it would be most >> appreciated. >> >> BTW, I don't want to go to a 3rd party product. I've already tried >> Constellation and Galaxy and they don't fit my way of scripting. >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 revcompgeek at gmail.com Wed Apr 18 13:20:01 2007 From: revcompgeek at gmail.com (Matthew) Date: Wed, 18 Apr 2007 11:20:01 -0600 Subject: External problems Message-ID: <1008A7C8-DD07-456E-9C50-C2347699556E@gmail.com> I am currently trying to build a SHA1 library in the hopes that it will run faster than ShaoSean's library (Great library by the way). I have the code all written out and no errors in the code itself, but when i try to compile it has 1 error and it says: Undefined symbols: _getXtable (part of path removed)/ExternalsEnvironment2_mod/sha1_hash/cache/ Debug/sha1_hash.build/Objects-normal/ppc/sha1_hash.o reference to undefined _getXtable symbols names listed in -exported_symbols_list: (part of path removed)/ExternalsEnvironmentV2_mod/sha1_hash/sha1_hash.exports not in linked objects _getXtaable collect2: Id returned 1 exit status looking in both externals.c and externals.h i notice that getXtable is defined but not _getXtable. Is there something that I should change to fix this? From rjb at robelko.com Wed Apr 18 17:04:35 2007 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 18 Apr 2007 23:04:35 +0200 Subject: Rev as Web Server CGI programming language? In-Reply-To: References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> <46262E68.3020209@pdslabs.net> Message-ID: >Kee, > >fetch http://andregarzia.com/RevHTTP.zip > >it has examples... > >Andre > Pierre Sahores advocated an approach of coupling a Rev-based cgi-type but resident program with Apache through sockets. He was using this solution for massive online services. However, the link to his page no longer works. Does anyone have those materials? Robert Brenstein From byennie at qldlearning.com Wed Apr 18 17:38:18 2007 From: byennie at qldlearning.com (Brian Yennie) Date: Wed, 18 Apr 2007 14:38:18 -0700 Subject: Rev as Web Server CGI programming language? In-Reply-To: References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> <46262E68.3020209@pdslabs.net> Message-ID: Not on hand, but I know Pierre has posted the source code a few times to the list. I would try searching the archives for his name plus PHP and sockets. Keep in mind you still get the single-threaded lock at the stack level, but sticking PHP in between does give you the ability to juggle connections while Rev works on one request at a time. Pierre had some pretty good results with this. - Brian >> >> fetch http://andregarzia.com/RevHTTP.zip >> >> it has examples... >> >> Andre >> > > Pierre Sahores advocated an approach of coupling a Rev-based cgi- > type but resident program with Apache through sockets. He was using > this solution for massive online services. However, the link to his > page no longer works. Does anyone have those materials? > > Robert Brenstein > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 18 18:09:23 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 18 Apr 2007 23:09:23 +0100 (BST) Subject: [OT] Printer Servers and Mac 10.4 ? Message-ID: <200355.37711.qm@web37506.mail.mud.yahoo.com> Um, Sorry, not an RR thing at all . . . Just bought a one-port printer server: plugged my USB printer in one end, plugged an Ethernet cable in the other and connected to my Router; NO GO! Richmond's naivety, again (i.e. believing words like "simple" printed on packaging) Eventually found (from EDIMAX) a Mac guide which shows a HUB/SWITCH connected into the ROUTER and all the dependant computers + printer hanging off it like flies. Don't really want to dig out my old switch to add another silly power adapter and more spaghetti to my office + reprog my whole network [I mean . . . how does one clone a Mac address to a Switch to a Router - and is this necessary?] Surely their must be away for me to jack the Print Server into the TP-LINK without involving a switch? Help gratefully (desperately!) recieved . . . Pretty Please ? Richmond. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From rjb at robelko.com Wed Apr 18 18:12:42 2007 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 19 Apr 2007 00:12:42 +0200 Subject: Rev as Web Server CGI programming language? In-Reply-To: References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> <46262E68.3020209@pdslabs.net> Message-ID: >Not on hand, but I know Pierre has posted the source code a few >times to the list. I would try searching the archives for his name >plus PHP and sockets. > >Keep in mind you still get the single-threaded lock at the stack >level, but sticking PHP in between does give you the ability to >juggle connections while Rev works on one request at a time. Pierre >had some pretty good results with this. > >- Brian > I searched the archives but haven't hit anything specific. Pierre posted to the list a lot and most of his rev-as-cgi includes references to the non-working page. The best hits I got are: http://revstudio.runrev.com/section/case_studies/sockets.php http://www.mail-archive.com/use-revolution at lists.runrev.com/msg86008.html http://www.nabble.com/Re:-rev-sockets-driven-apps...-t1335157.html Robert From andrew.lian at andrewlian.com Wed Apr 18 19:21:18 2007 From: andrew.lian at andrewlian.com (Andrew Lian -nswc) Date: Wed, 18 Apr 2007 18:21:18 -0500 Subject: Standalone application problem In-Reply-To: References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> <46262E68.3020209@pdslabs.net> Message-ID: <20070418182118.vwq31q3syswcogkk@webmail.nswconnect.com> Dear All Please forgive yet another newbie question. I have stack which plays a sound file played through a playerobject. Its path is identified in the player's "Source" property. Let's say it is C:/sounds/apl.wav. The file plays perfectly well in the development environment and on my computer. I now make a standalone application - and it is produced ok. However, my sound file can no longer be heard. Either it has not been automatically packaged into the application or there is a path problem. I have tried to include the relevant file in the package by using the "Copy Files" setting of the "Standalone application settings" but that seems to make no difference. Is there some legible documentation somewhere of how to prepare the files so that the whole package gets produced correctly with the correct paths? DO I have to respect the original paths and recreate them on any computer which tries to run the standalone? Many thanks Andrew From luis at anachreon.co.uk Wed Apr 18 20:08:38 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 19 Apr 2007 01:08:38 +0100 Subject: [OT] Printer Servers and Mac 10.4 ? In-Reply-To: <200355.37711.qm@web37506.mail.mud.yahoo.com> References: <200355.37711.qm@web37506.mail.mud.yahoo.com> Message-ID: Hiya, Does the print server have a default IP address? Check the docs. If so, you might not see it if it doesn't belong to the same subnet the rest of your puters are on. What you'd then need to do is connect the ethernet directly onto your puter and assign the puter an IP address in the same subnet as the print server (Mac should be ok with any patch cable, Win PC might need a crossover ethernet cable): Assuming the print server has a config server, you then put the print server's IP address into a browser and change it's IP address to fall within the range of your network (then change your puter's IP address back to how it was). I'd not recommend a print server on DHCP unless your IP address pool is small and it's lease time is several years... If it's still as clear as Ribena, let me know. Cheers, Luis. On 18 Apr 2007, at 23:09, Richmond Mathewson wrote: > Um, Sorry, not an RR thing at all . . . > > Just bought a one-port printer server: plugged my USB > printer in one end, plugged an Ethernet cable in the > other and connected to my Router; > > NO GO! Richmond's naivety, again (i.e. believing words > like "simple" printed on packaging) > > Eventually found (from EDIMAX) a Mac guide which shows > a HUB/SWITCH connected into the ROUTER and all the > dependant computers + printer hanging off it like > flies. > > Don't really want to dig out my old switch to add > another silly power adapter and more spaghetti to my > office + reprog my whole network > > [I mean . . . how does one clone a Mac address to a > Switch to a Router - and is this necessary?] > > Surely their must be away for me to jack the Print > Server into the TP-LINK without involving a switch? > > Help gratefully (desperately!) recieved . . . > > Pretty Please ? > > Richmond. > > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development > Life Cycle. > ____________________________________________________________ > > > ___________________________________________________________ > Yahoo! Mail is the world's favourite email. Don't settle for less, > sign up for > your free account today http://uk.rd.yahoo.com/evt=44106/*http:// > uk.docs.yahoo.com/mail/winter07.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 m.schonewille at economy-x-talk.com Thu Apr 19 03:11:55 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 19 Apr 2007 09:11:55 +0200 Subject: image background is grey when printing In-Reply-To: <000801c78193$43bf88f0$18b2a8c0@TiemoPC2> References: <000801c78193$43bf88f0$18b2a8c0@TiemoPC2> Message-ID: <1F5247B4-2108-4CF4-92F0-40DD1C15172D@economy-x-talk.com> Hi Tiemo, I think that hiding the images is a good solution. Why isn't it a satisfying answer? As you say yourself, the gray background is actually there. Of course, you could report it as a bug to the QC. 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 18-apr-2007, om 10:26 heeft Tiemo Hollmann TB het volgende geschreven: > Hello, > > I have read the thread about the grey textfield background, but > didn't find > any answer yet for my similar problem. I have some image objects > which don't > have always a file assigned on my card with white background. Those > image > objects without a picture assigned are printed with a grey > backround and not > white, as displayed. I have detected, if I set the card background > to black, > I can see the grey background of the image object on my card as > well. So I > think it must have something to do with the transparency of the image > object? The only solution I have found yet is to hide all image > objects > without file assigned before printing. But that is not a satisfying > answer. > > Does anybody has experienced this before and has a straight solution? > > > > Thanks Tiemo > From scott at tactilemedia.com Thu Apr 19 03:19:39 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 19 Apr 2007 00:19:39 -0700 Subject: [OT] Sadly Hilarious Message-ID: At the risk of bringing up politics on the list, the concept behind this skit is actually pretty creative. http://www.glumbert.com/media/irack Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From ambassador at fourthworld.com Thu Apr 19 03:19:37 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 Apr 2007 00:19:37 -0700 Subject: image background is grey when printing Message-ID: <46271809.4000709@fourthworld.com> Tiemo Hollmann wrote: > I have some image objects which don't have always a file > assigned on my card with white background. Has the card's backgroundColor property been set to white, or does it merely appear as white on screen but has merely been eft in its default state with no color assigned? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From toolbook at kestner.de Thu Apr 19 03:27:29 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 19 Apr 2007 09:27:29 +0200 Subject: AW: image background is grey when printing In-Reply-To: <46271809.4000709@fourthworld.com> Message-ID: <002701c78254$303ff4b0$18b2a8c0@TiemoPC2> Hello Mark and Richard, yes, the cards background was explicit white. Meanwhile I created a new test stack, where this doesn't appear, but I don't find the difference, so I go the way with hiding the objects, what has also some other advantages for me. Thanks for answering Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Richard Gaskin > Gesendet: Donnerstag, 19. April 2007 09:20 > An: How to use Revolution > Betreff: Re: image background is grey when printing > > Tiemo Hollmann wrote: > > I have some image objects which don't have always a file > > assigned on my card with white background. > > Has the card's backgroundColor property been set to white, or does it > merely appear as white on screen but has merely been eft in its default > state with no color assigned? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.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 Thu Apr 19 03:40:18 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 19 Apr 2007 09:40:18 +0200 Subject: What is the correct way to show a substack window? Message-ID: <002801c78255$fafb6940$18b2a8c0@TiemoPC2> Sorry for this newbee question:-) I just want to show (open) a substack as a new window (as toplevel). I thought, I just have to code: show stack "myStack", but nothing happens. I have to add: go card "myCard" of stack "myStack" to see the substack. But I don't want to "go" to that substack and get the focus on that stack. I tried it also with the visibility, what is obvious the same as "show" I think I am missing some basics Thanks for any hints Tiemo From chipp at chipp.com Thu Apr 19 04:01:03 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 19 Apr 2007 03:01:03 -0500 Subject: [OT] Sadly Hilarious In-Reply-To: References: Message-ID: <7aa52a210704190101w7db0b943pc2995e614ca21e70@mail.gmail.com> Here's another Apple spinoff political satire which has been making the rounds... http://www.youtube.com/watch?v=6h3G-lMZxjo From eric.chatonet at sosmartsoftware.com Thu Apr 19 04:18:19 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 19 Apr 2007 10:18:19 +0200 Subject: What is the correct way to show a substack window? In-Reply-To: <002801c78255$fafb6940$18b2a8c0@TiemoPC2> References: <002801c78255$fafb6940$18b2a8c0@TiemoPC2> Message-ID: <9D4C0F80-40BC-4649-AEF9-47AABD86B9E5@sosmartsoftware.com> Hi Tiemo, Le 19 avr. 07 ? 09:40, Tiemo Hollmann TB a ?crit : > I just want to show (open) a substack as a new window (as toplevel). I > thought, I just have to code: show stack "myStack", but nothing > happens. > > I have to add: go card "myCard" of stack "myStack" to see the > substack. But > I don't want to "go" to that substack and get the focus on that > stack. I > tried it also with the visibility, what is obvious the same as "show" Showing a stack that is not open has no effect: You must go to the stack or use a command as topLevel, modeless, palette, etc. As for keeping the focus, use the push/pop command: push cd toplevel stack "myStack" pop cd Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From toolbook at kestner.de Thu Apr 19 04:28:20 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 19 Apr 2007 10:28:20 +0200 Subject: AW: What is the correct way to show a substack window? In-Reply-To: <9D4C0F80-40BC-4649-AEF9-47AABD86B9E5@sosmartsoftware.com> Message-ID: <002e01c7825c$b0a872a0$18b2a8c0@TiemoPC2> Mercie Eric, sometimes solutions are so easy :) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > Gesendet: Donnerstag, 19. April 2007 10:18 > An: How to use Revolution > Betreff: Re: What is the correct way to show a substack window? > > Hi Tiemo, > > Le 19 avr. 07 ? 09:40, Tiemo Hollmann TB a ?crit : > > > I just want to show (open) a substack as a new window (as toplevel). I > > thought, I just have to code: show stack "myStack", but nothing > > happens. > > > > I have to add: go card "myCard" of stack "myStack" to see the > > substack. But > > I don't want to "go" to that substack and get the focus on that > > stack. I > > tried it also with the visibility, what is obvious the same as "show" > > Showing a stack that is not open has no effect: > You must go to the stack or use a command as topLevel, modeless, > palette, etc. > As for keeping the focus, use the push/pop command: > > push cd > toplevel stack "myStack" > pop cd > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > http://www.sosmartsoftware.com/ > eric.chatonet at sosmartsoftware.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 00bioarchimed at free.fr Thu Apr 19 05:27:09 2007 From: 00bioarchimed at free.fr (00bioarchimed) Date: Thu, 19 Apr 2007 11:27:09 +0200 Subject: External problems In-Reply-To: <1008A7C8-DD07-456E-9C50-C2347699556E@gmail.com> References: <1008A7C8-DD07-456E-9C50-C2347699556E@gmail.com> Message-ID: <86F56867-5CE3-462B-8F4E-7B9ACCF450B7@free.fr> Hi, Are you on Mac, developping with Xcode ? Regards, thierry Le 18 avr. 07 ? 19:20, Matthew a ?crit : > Undefined symbols: > _getXtable > (part of path removed)/ExternalsEnvironment2_mod/sha1_hash/cache/ > Debug/sha1_hash.build/Objects-normal/ppc/sha1_hash.o reference to > undefined _getXtable > looking in both externals.c and externals.h i notice that getXtable > is defined but not _getXtable. Is there something that I should > change to fix this? From toolbook at kestner.de Thu Apr 19 05:32:34 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 19 Apr 2007 11:32:34 +0200 Subject: how to adress the object name and not the number? Message-ID: <003801c78265$a9c3d5c0$18b2a8c0@TiemoPC2> I think I have to stumble into every newbee pit and I think I have read a similar thread, but don't find it anymore. I have multiple images on a page which I gave numeric names to be able to process them in loops (that was my thinking). If I address theses images as: set the filename of image "1" . rev doesn't take the image with name 1, but number 1, though I put the 1 into apostrophe??? How can I force rev to take the image with name "1" or do I have to take only alpha names? Any hint appreciated Tiemo From xavier.bury at clearstream.com Thu Apr 19 05:33:57 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Thu, 19 Apr 2007 11:33:57 +0200 Subject: Rev 2.8 on RDP is a total disaster In-Reply-To: <002e01c7825c$b0a872a0$18b2a8c0@TiemoPC2> Message-ID: Bad habits never change. I updated to Rev 2.8 enterprise (no, actually i bought a new version) and I was expecting an improvement but not this!!! After nearly 8 years, I open the new runrev IDE on a server as I used to with Metacard and behold... ALL THE GRAPHICS ARE ALL SCREWED UP AGAIN! Not ONE color is correct... No this is not news!!! I've reported this problem back in 1999! But Rev actually managed to make it worse than metacard!!! All the icons are noised up (like a corrupted resource on a mac), text in the toolbar is just as bad where there is supposed to be a smooth shading... Fields are all black, and since the text is black too, you must select text to see what it says... Now, that was ok to paste (when copy or paste wants to work) in the license but when you have to edit a script it's "forget it!" the whole script editor field is BLACK! If anyone know how to work with rev in a virgin install of Rev 2.8 in a Win32 2003 server RDP session in 16 I would really appreciate it!!! I cant even debug my scripts!!! OOps, the documentation window is also all garbled up too!!! How this the developpers and testers manage to miss this??? Thanks in advance Xav ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg RC Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From eric.chatonet at sosmartsoftware.com Thu Apr 19 05:51:09 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 19 Apr 2007 11:51:09 +0200 Subject: how to adress the object name and not the number? In-Reply-To: <003801c78265$a9c3d5c0$18b2a8c0@TiemoPC2> References: <003801c78265$a9c3d5c0$18b2a8c0@TiemoPC2> Message-ID: <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com> Hi again, Naming objects with numbers is not really a good idea: this can confuse Rev... and the programmer :-) But you have many ways to achieve the goal: Name each image with a name followed by a numeric suffix: "img1'. Then: repeat with i = 1 to the number of imgs if the threeD of img ("img" & i) then etc. -- just an example :-) end repeat Set the ID of each image to build a series (images are the only objects the ID of which you may change as you want): Then: repeat with i = ID1 to ID2 if the threeD of img ID i then etc. end repeat BTW, setting the filename of an image means to refer it to a file on disk: according to the version of Rev you use, such a filename *must* be a complete or a relative path. The way you say it may be used with Rev 2.8 when images are in the same folder as the stack that uses them. Le 19 avr. 07 ? 11:32, Tiemo Hollmann TB a ?crit : > I think I have to stumble into every newbee pit and I think I have > read a > similar thread, but don't find it anymore. > > I have multiple images on a page which I gave numeric names to be > able to > process them in loops (that was my thinking). > > If I address theses images as: > > set the filename of image "1" . > > rev doesn't take the image with name 1, but number 1, though I put > the 1 > into apostrophe??? > > How can I force rev to take the image with name "1" or do I have to > take > only alpha names? > > Any hint appreciated > > Tiemo Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From revlist at azurevision.co.uk Thu Apr 19 05:57:06 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 19 Apr 2007 10:57:06 +0100 Subject: how to adress the object name and not the number? In-Reply-To: <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com> References: <003801c78265$a9c3d5c0$18b2a8c0@TiemoPC2> <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com> Message-ID: I second Eric's suggestion. It also comes in handy for keeping track of images/objects for different purposes, e.g. "thumb1", "main2", "preview3", "temp4" etc. Looping through and deleting all the 'temp' images then becomes very easy. Ian On 19 Apr 2007, at 10:51, Eric Chatonet wrote: > Name each image with a name followed by a numeric suffix: "img1'. > Then: > > repeat with i = 1 to the number of imgs > if the threeD of img ("img" & i) then etc. > -- just an example :-) > end repeat From toolbook at kestner.de Thu Apr 19 06:00:55 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 19 Apr 2007 12:00:55 +0200 Subject: AW: how to adress the object name and not the number? In-Reply-To: <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com> Message-ID: <004901c78269$9fe1c9a0$18b2a8c0@TiemoPC2> Mercie again Eric for your explanations, I will follow them Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > Gesendet: Donnerstag, 19. April 2007 11:51 > An: How to use Revolution > Betreff: Re: how to adress the object name and not the number? > > Hi again, > > Naming objects with numbers is not really a good idea: this can > confuse Rev... and the programmer :-) > But you have many ways to achieve the goal: > > Name each image with a name followed by a numeric suffix: "img1'. > Then: > > repeat with i = 1 to the number of imgs > if the threeD of img ("img" & i) then etc. > -- just an example :-) > end repeat > > Set the ID of each image to build a series (images are the only > objects the ID of which you may change as you want): > Then: > > repeat with i = ID1 to ID2 > if the threeD of img ID i then etc. > end repeat > > BTW, setting the filename of an image means to refer it to a file on > disk: according to the version of Rev you use, such a filename *must* > be a complete or a relative path. > The way you say it may be used with Rev 2.8 when images are in the > same folder as the stack that uses them. > > Le 19 avr. 07 ? 11:32, Tiemo Hollmann TB a ?crit : > > > I think I have to stumble into every newbee pit and I think I have > > read a > > similar thread, but don't find it anymore. > > > > I have multiple images on a page which I gave numeric names to be > > able to > > process them in loops (that was my thinking). > > > > If I address theses images as: > > > > set the filename of image "1" . > > > > rev doesn't take the image with name 1, but number 1, though I put > > the 1 > > into apostrophe??? > > > > How can I force rev to take the image with name "1" or do I have to > > take > > only alpha names? > > > > Any hint appreciated > > > > Tiemo > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > http://www.sosmartsoftware.com/ > eric.chatonet at sosmartsoftware.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 xavier.bury at clearstream.com Thu Apr 19 07:25:10 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Thu, 19 Apr 2007 13:25:10 +0200 Subject: Rev 2.8 on RDP is a total disaster In-Reply-To: Message-ID: things get stranger! The console window is set to 16 bit yet the screencolors still report 4294967296 which is 24 bit! And the screendepth is 32! The colorMap reports only 256 colors (all seem wrong anyway)... And the documentation says in the comments: If the bit depth is greater than 8 bits, the colormap property always reports "Fixed" But that is not the case!!!! Conclusion, the rev engine is not aware of what the display depth is being displayed in RDP (remote desktop protocol)... Bugzilla 1076, was reported in 2003, and more than one person consider this blocking... http://quality.runrev.com/qacenter/show_bug.cgi?id=1076 Anyone know any solutions??? Switching the colordepth of the session to 8, 15, 16 or 24 bit is a possibility but NONE of them work properly!!! Thanks for any hints Xavier use-revolution-bounces at lists.runrev.com wrote on 19/04/2007 11:33:57: > Bad habits never change. I updated to Rev 2.8 enterprise (no, actually i > bought a new version) and I was expecting an improvement but not this!!! > > After nearly 8 years, I open the new runrev IDE on a server as I used to > with Metacard and > behold... ALL THE GRAPHICS ARE ALL SCREWED UP AGAIN! Not ONE color is > correct... > > No this is not news!!! I've reported this problem back in 1999! > > But Rev actually managed to make it worse than metacard!!! > > All the icons are noised up (like a corrupted resource on a mac), text in > the toolbar is just as bad where there is supposed to be a smooth > shading... > > Fields are all black, and since the text is black too, you must select > text to see what it says... > > Now, that was ok to paste (when copy or paste wants to work) in the > license but when you have to edit a script it's "forget it!" > the whole script editor field is BLACK! > > If anyone know how to work with rev in a virgin install of Rev 2.8 in a > Win32 2003 server RDP session in 16 I would really appreciate it!!! > I cant even debug my scripts!!! > > OOps, the documentation window is also all garbled up too!!! How this the > developpers and testers manage to miss this??? > > Thanks in advance > Xav > > > ---------------------------------------------------------------------------- > Clearstream Services S.A. > 42 Avenue JF Kennedy, L-1855 Luxembourg > Soci?t? anonyme is organised with limited liability > in the Grand Duchy of Luxembourg RC Luxembourg B 60911. > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > Legally required information for business correspondence/ > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > http://deutsche-boerse.com/letterhead > > END OF DISCLAIMER > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg RC Luxembourg B 60911. From christian.langers at education.lu Thu Apr 19 09:14:02 2007 From: christian.langers at education.lu (Christian Langers) Date: Thu, 19 Apr 2007 15:14:02 +0200 Subject: Fwd: scaling and positioning proportionally an object at the same time References: Message-ID: <2D2BB93C-4E2D-412C-B5A5-C973353471EE@education.lu> Merci beaucoup Eric ! Well I found a way to combine the GM and scripting (I read your tutorial...) Well, I think the GM is good enough for minor use / basic things... and scripting stays the best way... Greets, Christian D?but du message r?exp?di? : > De : Eric Chatonet > Date : 18 avril 2007 15:47:47 GMT+02:00 > ? : How to use Revolution > Objet : R?p : scaling and positioning proportionally an object at > the same time > R?pondre ? : How to use Revolution > > Bonjour Christian, > > Le 18 avr. 07 ? 15:18, Christian Langers a ?crit : > >> Hello, >> >> I try since hours to do this : >> >> I have an image (photo) on a stack which scales to the right and >> down on resizing the stack (via Geometry Manager); I have a >> graphic (rectangle) placed at a precise location on the image (the >> user selects a portion of the image to hilite something on it); >> >> Now I want that when the user resizes the window the graphic >> scales and moves (up/down) proportionaly to the image , so that >> the rectangle grows and shrinks with the image hiliting always the >> same portion of the image (e.g. an eye of a face); I hope you >> follow (it's difficult to explain this in English)... >> >> I tried to use the GM in REv, but ...brrr... the graphic jumps >> away from its original position when resizing... >> So... please ! Heeeelp... This is getting me on my nerves ;-) >> Thanks for any suggestions or solutions... >> >> Christian >> from Luxembourg > > Actually don't trust the Geometry Manager and prefer to write your > own routines in a resizeStack handler ;-) > Here is, for instance, an excerpt from such a handler: > > on resizeStack pNewW,pNewH,pOldW,pOldH -- note params passed by > Rev ;-) > global gPrefs > ----- > if gPrefs["uAdds"] then ProportionalWResize the long name of img > "ToolbarShadow",pNewW,114 > else ProportionalWResize the long name of img > "ToolbarShadow",pNewW,0 > pass resizeStack > end resizeStack > > And: > > on ProportionalWResize pObj,pNewW,pDelta > local tRect > ----- > put the rect of pObj into tRect > put pNewW - pDelta into item 3 of tRect > set the rect of pObj to tRect > end ProportionalWResize > > Of course, the above example is simple and, sometimes, it might > appear more tricky... > But actually, Rev allows to script any complex resizing in any > case ;-) > Good luck! > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > http://www.sosmartsoftware.com/ > eric.chatonet at sosmartsoftware.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 dave at looktowindward.com Thu Apr 19 09:43:15 2007 From: dave at looktowindward.com (Dave) Date: Thu, 19 Apr 2007 14:43:15 +0100 Subject: scaling and positioning proportionally an object at the same time In-Reply-To: <2D2BB93C-4E2D-412C-B5A5-C973353471EE@education.lu> References: <2D2BB93C-4E2D-412C-B5A5-C973353471EE@education.lu> Message-ID: <4EFCD623-BD94-4017-882E-A213E61A984A@looktowindward.com> Hi, The problem is that one day you will be changing your stack and not doing anything with the GM and then suddenly *BANG* all your objects will disappear off into the land of nod! They will still be in the stack but their positions will be wild values like Top, Left = 25467,9456 and the only way to get the objects back inside the stacks display area will be to delete all geometry on all objects and then manually set their coordinates back inside the visible stack area again. If you have a lot of objects this can take a *long* time and is especially annoying if you have spent ages getting all the positions "just-right". Having being burnt like this a few times, I, along with most others that have been using RunRev for a while don't go near the GM. It's just not worth the risk. If you *must* use GM you could at least protect yourself a bit by adding some code like this to each object: if the cpGMSaveRect of me = empty then put the rect of me into the cpGMSaveRect of me end if Then run this once for each object once you have got all the positioning right. At least then, if and when the GM goes Beswick you can restore the original rectangle easily enough. Just using GM and trusting it without question is like playing Russian Roulette! All the Best Dave On 19 Apr 2007, at 14:14, Christian Langers wrote: > Merci beaucoup Eric ! > > Well I found a way to combine the GM and scripting (I read your > tutorial...) > > Well, I think the GM is good enough for minor use / basic things... > and scripting stays the best way... > > > > Greets, > > Christian > > > > > D?but du message r?exp?di? : > >> De : Eric Chatonet >> Date : 18 avril 2007 15:47:47 GMT+02:00 >> ? : How to use Revolution >> Objet : R?p : scaling and positioning proportionally an object at >> the same time >> R?pondre ? : How to use Revolution >> >> Bonjour Christian, >> >> Le 18 avr. 07 ? 15:18, Christian Langers a ?crit : >> >>> Hello, >>> >>> I try since hours to do this : >>> >>> I have an image (photo) on a stack which scales to the right and >>> down on resizing the stack (via Geometry Manager); I have a >>> graphic (rectangle) placed at a precise location on the image >>> (the user selects a portion of the image to hilite something on it); >>> >>> Now I want that when the user resizes the window the graphic >>> scales and moves (up/down) proportionaly to the image , so that >>> the rectangle grows and shrinks with the image hiliting always >>> the same portion of the image (e.g. an eye of a face); I hope you >>> follow (it's difficult to explain this in English)... >>> >>> I tried to use the GM in REv, but ...brrr... the graphic jumps >>> away from its original position when resizing... >>> So... please ! Heeeelp... This is getting me on my nerves ;-) >>> Thanks for any suggestions or solutions... >>> >>> Christian >>> from Luxembourg >> >> Actually don't trust the Geometry Manager and prefer to write your >> own routines in a resizeStack handler ;-) >> Here is, for instance, an excerpt from such a handler: >> >> on resizeStack pNewW,pNewH,pOldW,pOldH -- note params passed by >> Rev ;-) >> global gPrefs >> ----- >> if gPrefs["uAdds"] then ProportionalWResize the long name of img >> "ToolbarShadow",pNewW,114 >> else ProportionalWResize the long name of img >> "ToolbarShadow",pNewW,0 >> pass resizeStack >> end resizeStack >> >> And: >> >> on ProportionalWResize pObj,pNewW,pDelta >> local tRect >> ----- >> put the rect of pObj into tRect >> put pNewW - pDelta into item 3 of tRect >> set the rect of pObj to tRect >> end ProportionalWResize >> >> Of course, the above example is simple and, sometimes, it might >> appear more tricky... >> But actually, Rev allows to script any complex resizing in any >> case ;-) >> Good luck! >> >> Best regards from Paris, >> Eric Chatonet. >> ---------------------------------------------------------------- >> http://www.sosmartsoftware.com/ >> eric.chatonet at sosmartsoftware.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 dave at looktowindward.com Thu Apr 19 09:55:22 2007 From: dave at looktowindward.com (Dave) Date: Thu, 19 Apr 2007 14:55:22 +0100 Subject: scaling and positioning proportionally an object at the same time In-Reply-To: <427173FA-F31D-41D2-8635-2F3AEDB98679@Cox.Net> References: <07DEC621-7E1B-4985-B64F-A3CA9FFA0F38@looktowindward.com> <427173FA-F31D-41D2-8635-2F3AEDB98679@Cox.Net> Message-ID: <54641369-6474-44CF-BE13-FFD5E27AD886@looktowindward.com> Hi, Well you don't need to "call" the GM, you set the GM properties via the Property Inspector for the Object(s) and I doubt if the GM would cause your stack not to compile into a Standalone. What problem do you get when you try to Save as Standalone? All the Best Dave On 18 Apr 2007, at 17:24, Joe Lewis Wilkins wrote: > Hi all, Dave in particular, > > Is it possible that the stack I can no longer compile to a stand > alone uses this broken Geometry Manager without my having called > any of its routines myself. It contains a lot of images that I have > either imported or pasted from images copied from ResEdit and > sometimes modified further with additional images, usually white > space to clean up an image, using MacDraft. The last image I recall > adding prior to Rev's refusal to create the stand along was in this > last category. I'm searching for ANYTHING that may be the cause at > this point. > > TIA, > > Joe Wilkins > > On Apr 18, 2007, at 8:39 AM, Dave wrote: > >> Hi, >> >> The Geometry Manager is broken and has been for over three years. >> Why they just don't take it out is beyond me. If it wasn't there >> at least you wouldn't waste hours/days wondering why your code >> doesn't work and what you have done wrong. Eventually you post >> here and someone (like me!) glibly tells you it's broken! >> >> It's best to do you own geometry handling. There are a number of >> sample stacks that do this. >> >> All the Best >> Dave > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 19 09:59:59 2007 From: dave at looktowindward.com (Dave) Date: Thu, 19 Apr 2007 14:59:59 +0100 Subject: Rev 2.8 on RDP is a total disaster In-Reply-To: References: Message-ID: Hi, > OOps, the documentation window is also all garbled up too!!! How > this the > developpers and testers manage to miss this??? Simple they don't bother to test it or to even run it! Wonderful, eh? All the Best Dave On 19 Apr 2007, at 10:33, xavier.bury at clearstream.com wrote: > Bad habits never change. I updated to Rev 2.8 enterprise (no, > actually i > bought a new version) and I was expecting an improvement but not > this!!! > > After nearly 8 years, I open the new runrev IDE on a server as I > used to > with Metacard and > behold... ALL THE GRAPHICS ARE ALL SCREWED UP AGAIN! Not ONE color is > correct... > > No this is not news!!! I've reported this problem back in 1999! > > But Rev actually managed to make it worse than metacard!!! > > All the icons are noised up (like a corrupted resource on a mac), > text in > the toolbar is just as bad where there is supposed to be a smooth > shading... > > Fields are all black, and since the text is black too, you must select > text to see what it says... > > Now, that was ok to paste (when copy or paste wants to work) in the > license but when you have to edit a script it's "forget it!" > the whole script editor field is BLACK! > > If anyone know how to work with rev in a virgin install of Rev 2.8 > in a > Win32 2003 server RDP session in 16 I would really appreciate it!!! > I cant even debug my scripts!!! > > OOps, the documentation window is also all garbled up too!!! How > this the > developpers and testers manage to miss this??? > > Thanks in advance > Xav > > > ---------------------------------------------------------------------- > ------ > Clearstream Services S.A. > 42 Avenue JF Kennedy, L-1855 Luxembourg > Soci?t? anonyme is organised with limited liability > in the Grand Duchy of Luxembourg RC Luxembourg B 60911. > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > Legally required information for business correspondence/ > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > http://deutsche-boerse.com/letterhead > > END OF DISCLAIMER > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 19 10:05:34 2007 From: dave at looktowindward.com (Dave) Date: Thu, 19 Apr 2007 15:05:34 +0100 Subject: how to adress the object name and not the number? In-Reply-To: References: <003801c78265$a9c3d5c0$18b2a8c0@TiemoPC2> <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com> Message-ID: Hi, Another way is to just put all images in a category into a Group, then to access the images do something like: repeat with myIndex= 1 to the number of images in group "ThumbGroup" set the threeD of image myIndex of group "ThumbGroup" to true end repeat Just change the layer (in the IDE) of the images in the group so they are in the order you want them in. All the Best Dave On 19 Apr 2007, at 10:57, Ian Wood wrote: > I second Eric's suggestion. It also comes in handy for keeping > track of images/objects for different purposes, e.g. "thumb1", > "main2", "preview3", "temp4" etc. > > Looping through and deleting all the 'temp' images then becomes > very easy. > > Ian > > On 19 Apr 2007, at 10:51, Eric Chatonet wrote: > >> Name each image with a name followed by a numeric suffix: "img1'. >> Then: >> >> repeat with i = 1 to the number of imgs >> if the threeD of img ("img" & i) then etc. >> -- just an example :-) >> 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 dave at looktowindward.com Thu Apr 19 10:10:01 2007 From: dave at looktowindward.com (Dave) Date: Thu, 19 Apr 2007 15:10:01 +0100 Subject: External problem In-Reply-To: <18135D24-7EE4-4C37-BD69-9F2C4B7C55F5@gmail.com> References: <18135D24-7EE4-4C37-BD69-9F2C4B7C55F5@gmail.com> Message-ID: <6505E755-1C46-445E-8EA1-F507353586F0@looktowindward.com> Hi, Without looking at the code I'm can't tell for certain, but I think this is to do with C vs C++. You need to surround it with: #ifdef __cplusplus extern "C" { #endif ---------- Definitions Here #ifdef __cplusplus }; #endif Hope this Helps Dave On 18 Apr 2007, at 18:20, Matthew wrote: > I am currently trying to build a SHA1 library in the hopes that it > will run faster than ShaoSean's library (Great library by the way). > I have the code all written out and no errors in the code itself, > but when i try to compile it has 1 error and it says: > > Undefined symbols: > _getXtable > (part of path removed)/ExternalsEnvironment2_mod/sha1_hash/cache/ > Debug/sha1_hash.build/Objects-normal/ppc/sha1_hash.o reference to > undefined _getXtable > symbols names listed in -exported_symbols_list: (part of path > removed)/ExternalsEnvironmentV2_mod/sha1_hash/sha1_hash.exports not > in linked objects > _getXtaable > collect2: Id returned 1 exit status > > looking in both externals.c and externals.h i notice that getXtable > is defined but not _getXtable. Is there something that I should > change to fix 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 toolbook at kestner.de Thu Apr 19 10:14:41 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 19 Apr 2007 16:14:41 +0200 Subject: AW: how to adress the object name and not the number? In-Reply-To: Message-ID: <006b01c7828d$133aaac0$18b2a8c0@TiemoPC2> Nice idea! Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Dave > Gesendet: Donnerstag, 19. April 2007 16:06 > An: How to use Revolution > Betreff: Re: how to adress the object name and not the number? > > Hi, > > Another way is to just put all images in a category into a Group, > then to access the images do something like: > > repeat with myIndex= 1 to the number of images in group "ThumbGroup" > set the threeD of image myIndex of group "ThumbGroup" to true > end repeat > > Just change the layer (in the IDE) of the images in the group so they > are in the order you want them in. > > All the Best > Dave > > On 19 Apr 2007, at 10:57, Ian Wood wrote: > > > I second Eric's suggestion. It also comes in handy for keeping > > track of images/objects for different purposes, e.g. "thumb1", > > "main2", "preview3", "temp4" etc. > > > > Looping through and deleting all the 'temp' images then becomes > > very easy. > > > > Ian > > > > On 19 Apr 2007, at 10:51, Eric Chatonet wrote: > > > >> Name each image with a name followed by a numeric suffix: "img1'. > >> Then: > >> > >> repeat with i = 1 to the number of imgs > >> if the threeD of img ("img" & i) then etc. > >> -- just an example :-) > >> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution 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 revlist at azurevision.co.uk Thu Apr 19 10:37:10 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 19 Apr 2007 15:37:10 +0100 Subject: how to adress the object name and not the number? In-Reply-To: References: <003801c78265$a9c3d5c0$18b2a8c0@TiemoPC2> <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com> Message-ID: If the controls are already arranged in *other* groups that's not going to work. Ian On 19 Apr 2007, at 15:05, Dave wrote: > Hi, > > Another way is to just put all images in a category into a Group, > then to access the images do something like: > > repeat with myIndex= 1 to the number of images in group "ThumbGroup" > set the threeD of image myIndex of group "ThumbGroup" to true > end repeat > > Just change the layer (in the IDE) of the images in the group so > they are in the order you want them in. > > All the Best > Dave From dave at looktowindward.com Thu Apr 19 11:23:57 2007 From: dave at looktowindward.com (Dave) Date: Thu, 19 Apr 2007 16:23:57 +0100 Subject: What's up with this????? In-Reply-To: <7aa52a210704190101w7db0b943pc2995e614ca21e70@mail.gmail.com> References: <7aa52a210704190101w7db0b943pc2995e614ca21e70@mail.gmail.com> Message-ID: <2494D3A9-50E8-4D7A-9D18-E1B538FB9BBC@looktowindward.com> Hi, I'm using RunRev 2.8.0.370. I have the following in a Button Script: put text of field "FieldFrameCount" into myFrameCount repeat with myFrameCounter = 1 to myFrameCount It has been working fine up until about half an hour ago when it started giving me this execution error: Type: repeat error in 'with' end condition expression Object: button Line: repeat with myFrameCounter - 1 to myFrameCount I'm at a loss as to what to do to fix it! I've tried re-starting RunRev and then Restarting the whole machine. Thanks a lot All the Best Dave From kevin.brooks at motorola.com Thu Apr 19 11:43:44 2007 From: kevin.brooks at motorola.com (Kevin Brooks) Date: Thu, 19 Apr 2007 11:43:44 -0400 Subject: Graphics over QT Message-ID: Perhaps someone can help me problem solve some graphics issues I have with Revolution. I'm writing an application that needed to display graphics over running Quicktime video. I quickly discovered that the only way of doing this (that I could find) was to put the graphics on a substack that I opened as a palette. Doing this solved my initial problem, but since then I've been asked to do more impressive things with the graphics. My questions are as follows. 1) Is there a way to make a paletted stack semi-transparent, such that you could see what's behind it, like running video? 2) I would like a paletted stack to appear on the screen as if it was sliding out from behind something. The drawer command opens and slides stacks to the side or bottom, while I want to slide a new stack overtop of an open stack. The effect I'm looking for is the same as placing a fld "offscreen" beyond the right hand border of a stack and issuing a move command to slide it to the center of the stack. It would simply appear from the first stack's right edge. But instead of using a field, I want to do this with a stack, and preferably a paletted stack so it can float over Quicktime. 3) I've played around with nonrectangular stack shapes using references to image IDs, but is it possible to have a stack shaped with a hole in the middle? Thanks for the help. -Kevin From cmsheffield at gmail.com Thu Apr 19 11:47:38 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 19 Apr 2007 09:47:38 -0600 Subject: What's up with this????? In-Reply-To: <2494D3A9-50E8-4D7A-9D18-E1B538FB9BBC@looktowindward.com> References: <7aa52a210704190101w7db0b943pc2995e614ca21e70@mail.gmail.com> <2494D3A9-50E8-4D7A-9D18-E1B538FB9BBC@looktowindward.com> Message-ID: <085445CE-DB45-42E0-8F6F-A89E6366F46C@gmail.com> What's in field "FieldFrameCount"? Is it possible it's not a number? Perhaps you've got text in there you're not seeing (i.e. spaces, returns, etc.)? On Apr 19, 2007, at 9:23 AM, Dave wrote: > Hi, > > I'm using RunRev 2.8.0.370. > > I have the following in a Button Script: > > put text of field "FieldFrameCount" into myFrameCount > repeat with myFrameCounter = 1 to myFrameCount > > It has been working fine up until about half an hour ago when it > started giving me this execution error: > > Type: repeat error in 'with' end condition expression > Object: button > Line: repeat with myFrameCounter - 1 to myFrameCount > > I'm at a loss as to what to do to fix it! > > I've tried re-starting RunRev and then Restarting the whole machine. > > Thanks a lot > All the Best > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 The Fluency Company http://www.readnaturally.com ------------------------------------------ From m.schonewille at economy-x-talk.com Thu Apr 19 11:55:02 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 19 Apr 2007 17:55:02 +0200 Subject: What's up with this????? In-Reply-To: <2494D3A9-50E8-4D7A-9D18-E1B538FB9BBC@looktowindward.com> References: <7aa52a210704190101w7db0b943pc2995e614ca21e70@mail.gmail.com> <2494D3A9-50E8-4D7A-9D18-E1B538FB9BBC@looktowindward.com> Message-ID: Hi Dave, First of all, restarting your machine is rarely, if ever, necessary and particularly not because of execution errors. Apparently, myFrameCounter or myFrameCount is not a positive integer or myFrameCount < myFrameCounter. Just check these variables before the repeat loop starts. 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 19-apr-2007, om 17:23 heeft Dave het volgende geschreven: > Hi, > > I'm using RunRev 2.8.0.370. > > I have the following in a Button Script: > > put text of field "FieldFrameCount" into myFrameCount > repeat with myFrameCounter = 1 to myFrameCount > > It has been working fine up until about half an hour ago when it > started giving me this execution error: > > Type: repeat error in 'with' end condition expression > Object: button > Line: repeat with myFrameCounter - 1 to myFrameCount > > I'm at a loss as to what to do to fix it! > > I've tried re-starting RunRev and then Restarting the whole machine. > > Thanks a lot > All the Best > Dave > From devin_asay at byu.edu Thu Apr 19 12:01:43 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 19 Apr 2007 10:01:43 -0600 Subject: What's up with this????? In-Reply-To: <2494D3A9-50E8-4D7A-9D18-E1B538FB9BBC@looktowindward.com> References: <7aa52a210704190101w7db0b943pc2995e614ca21e70@mail.gmail.com> <2494D3A9-50E8-4D7A-9D18-E1B538FB9BBC@looktowindward.com> Message-ID: <05CAF04F-598D-4BDF-9B32-5B75D5A4B44F@byu.edu> On Apr 19, 2007, at 9:23 AM, Dave wrote: > Hi, > > I'm using RunRev 2.8.0.370. > > I have the following in a Button Script: > > put text of field "FieldFrameCount" into myFrameCount > repeat with myFrameCounter = 1 to myFrameCount > > It has been working fine up until about half an hour ago when it > started giving me this execution error: > > Type: repeat error in 'with' end condition expression > Object: button > Line: repeat with myFrameCounter - 1 to myFrameCount > > I'm at a loss as to what to do to fix it! Did the data in the field somehow get messed up in a way that's not visually obvious--e.g., data on subsequent lines that are scrolled out of sight? What happens if you check the validity of myFrameCount before the repeat loop: if myFrameCount is a number then... I've been bitten by things like this before. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From heather at runrev.com Thu Apr 19 12:05:14 2007 From: heather at runrev.com (Heather Nagey) Date: Thu, 19 Apr 2007 17:05:14 +0100 Subject: Rev 2.8 on RDP is a total disaster In-Reply-To: References: Message-ID: <75A8975C-B3B4-4066-8D69-0908E549411C@runrev.com> I think if you read the bug report on this you will find that this specific report has received a fair amount of attention over time, but is as yet unconfirmed since we are unsure as to the exact cause, or whether it is indeed even a Rev bug. It has not been marked as fixed, or closed, and the discussion has continued, so it should not come as a surprise to anyone trying out the latest version that the situation in this specific set of circumstances has not, in fact, changed. If anyone has new data, more information, or suggestions about this issue, the best place to report them is in the bug report that Xavier has kindly supplied the url for. Flaming this list does very little to get the issue fixed, or looked at by engineers, it just creates noise and annoys the readers of the list. If people are interested in providing useful feedback to assist us in making Revolution 2.9 the best release ever, please do join the beta test program if you have not already done so. Regards, Heather On 19 Apr 2007, at 14:59, Dave wrote: > Hi, > >> OOps, the documentation window is also all garbled up too!!! How >> this the >> developpers and testers manage to miss this??? > > Simple they don't bother to test it or to even run it! Wonderful, eh? > > All the Best > Dave > > On 19 Apr 2007, at 10:33, xavier.bury at clearstream.com wrote: > >> Bad habits never change. I updated to Rev 2.8 enterprise (no, >> actually i >> bought a new version) and I was expecting an improvement but not >> this!!! >> >> After nearly 8 years, I open the new runrev IDE on a server as I >> used to >> with Metacard and >> behold... ALL THE GRAPHICS ARE ALL SCREWED UP AGAIN! Not ONE color is >> correct... >> >> No this is not news!!! I've reported this problem back in 1999! >> >> But Rev actually managed to make it worse than metacard!!! >> >> All the icons are noised up (like a corrupted resource on a mac), >> text in >> the toolbar is just as bad where there is supposed to be a smooth >> shading... >> >> Fields are all black, and since the text is black too, you must >> select >> text to see what it says... >> >> Now, that was ok to paste (when copy or paste wants to work) in the >> license but when you have to edit a script it's "forget it!" >> the whole script editor field is BLACK! >> >> If anyone know how to work with rev in a virgin install of Rev 2.8 >> in a >> Win32 2003 server RDP session in 16 I would really appreciate it!!! >> I cant even debug my scripts!!! >> >> OOps, the documentation window is also all garbled up too!!! How >> this the >> developpers and testers manage to miss this??? >> >> Thanks in advance >> Xav >> >> >> --------------------------------------------------------------------- >> ------- >> Clearstream Services S.A. >> 42 Avenue JF Kennedy, L-1855 Luxembourg >> Soci?t? anonyme is organised with limited liability >> in the Grand Duchy of Luxembourg RC Luxembourg B 60911. >> >> >> ----------------------------------------- >> Visit us at http://www.clearstream.com >> >> IMPORTANT MESSAGE >> >> Internet communications are not secure and therefore Clearstream >> International does not accept legal responsibility for the contents >> of this message. >> >> The information contained in this e-mail is confidential and may be >> legally privileged. It is intended solely for the addressee. If you >> are not the intended recipient, any disclosure, copying, >> distribution or any action taken or omitted to be taken in reliance >> on it, is prohibited and may be unlawful. Any views expressed in >> this e-mail are those of the individual sender, except where the >> sender specifically states them to be the views of Clearstream >> International or of any of its affiliates or subsidiaries. >> >> Legally required information for business correspondence/ >> Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: >> http://deutsche-boerse.com/letterhead >> >> END OF DISCLAIMER >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Heather Nagey Customer Services Manager Runtime Revolution Ltd http://www.runrev.com From toolbook at kestner.de Thu Apr 19 12:18:25 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 19 Apr 2007 18:18:25 +0200 Subject: AW: how to adress the object name and not the number? In-Reply-To: Message-ID: <008e01c7829e$5bffc180$18b2a8c0@TiemoPC2> Ok good hint Ian Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Ian Wood > Gesendet: Donnerstag, 19. April 2007 16:37 > An: How to use Revolution > Betreff: Re: how to adress the object name and not the number? > > If the controls are already arranged in *other* groups that's not > going to work. > > Ian > > On 19 Apr 2007, at 15:05, Dave wrote: > > > Hi, > > > > Another way is to just put all images in a category into a Group, > > then to access the images do something like: > > > > repeat with myIndex= 1 to the number of images in group "ThumbGroup" > > set the threeD of image myIndex of group "ThumbGroup" to true > > end repeat > > > > Just change the layer (in the IDE) of the images in the group so > > they are in the order you want them in. > > > > All the Best > > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Thu Apr 19 12:19:15 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 19 Apr 2007 10:19:15 -0600 Subject: Standalone application problem In-Reply-To: <20070418182118.vwq31q3syswcogkk@webmail.nswconnect.com> References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> <46262E68.3020209@pdslabs.net> <20070418182118.vwq31q3syswcogkk@webmail.nswconnect.com> Message-ID: <13D2F50A-D274-408E-881F-0690FB8E2630@byu.edu> On Apr 18, 2007, at 5:21 PM, Andrew Lian -nswc wrote: > Dear All > > Please forgive yet another newbie question. > > I have stack which plays a sound file played through a > playerobject. Its path is identified in the player's "Source" > property. Let's say it is C:/sounds/apl.wav. > > The file plays perfectly well in the development environment and on > my computer. > > I now make a standalone application - and it is produced ok. > However, my sound file can no longer be heard. Either it has not > been automatically packaged into the application or there is a path > problem. > > I have tried to include the relevant file in the package by using > the "Copy Files" setting of the "Standalone application settings" > but that seems to make no difference. Is there some legible > documentation somewhere of how to prepare the files so that the > whole package gets produced correctly with the correct paths? DO I > have to respect the original paths and recreate them on any > computer which tries to run the standalone? Andrew, Most often it's easiest to leave the external media files in a place relative to the defaultFolder. The problem is the default value of the defaultFolder changes when running as a standalone vs. in the development environment. In the IDE, the defaultFolder is the folder containing the Revolution executable. In the standalone environment, the stack in essence becomes the executable, so the defaultFolder is the folder containing the standalone. If you don't explicitly set the defaultFolder to another place on the disk, it will work if you set the filename ("source") property of the player to 'sounds/apl.wav', and then making sure the sounds folder is in the same folder as the standalone. To deal with the difference between the IDE and standalone, I often include the scripting similar to this in my mainstack's stack script: on preOpenStack # set the root folder for all resources if the environment is "development" then set the defaultFolder to enclosingFolder(the name of me) end if ## Do this for local data and media files. set the baseDir of me to the defaultFolder & "/" & "resources" end preOpenStack function enclosingFolder pStName get the filename of pStName set the itemDelimiter to "/" return item 1 to -2 of it end enclosingFolder The situation for Mac OS X is slighter more complicated, but easy enough to understand, if you're interested. One last thing... I never use the "copy files" part of the standalone builder. I find it easiest just to build my standalone then move the needed files or stacks into the appropriate folder. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Thu Apr 19 12:29:08 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Apr 2007 11:29:08 -0500 Subject: Standalone application problem In-Reply-To: <20070418182118.vwq31q3syswcogkk@webmail.nswconnect.com> References: <20070415142331.fp29ctck7qc0w48c@webmail.nswconnect.com> <77380147-128F-459A-A913-8D58F56F0EEE@andrew.cmu.edu> <41EFFA4A-E41D-4CD6-86EB-82C6927271E4@looktowindward.com> <46262E68.3020209@pdslabs.net> <20070418182118.vwq31q3syswcogkk@webmail.nswconnect.com> Message-ID: <462798D4.20303@hyperactivesw.com> Andrew Lian -nswc wrote: > Dear All > > Please forgive yet another newbie question. > > I have stack which plays a sound file played through a playerobject. Its > path is identified in the player's "Source" property. Let's say it is > C:/sounds/apl.wav. > > The file plays perfectly well in the development environment and on my > computer. > > I now make a standalone application - and it is produced ok. However, my > sound file can no longer be heard. Either it has not been automatically > packaged into the application or there is a path problem. > > I have tried to include the relevant file in the package by using the > "Copy Files" setting of the "Standalone application settings" but that > seems to make no difference. Is there some legible documentation > somewhere of how to prepare the files so that the whole package gets > produced correctly with the correct paths? DO I have to respect the > original paths and recreate them on any computer which tries to run the > standalone? This is almost certainly a file path problem. If you are refering to the sound file by a long file path name, it will not be the same on anyone else's machine. And if you build a standalone with the file added to the standalone folder, then its file path will also have changed. You can solve the problem in a couple of ways. The easiest way is to calculate the correct file path with a script. Something like this should work: put the effective filename of this stack into tPath set the itemdelimiter to slash put "mySoundFolder/mySoundFile.aif" into last item of tPath This will produce a file path to a file named "mySoundFile.aif" inside a folder called "mySoundFolder" which is next to the standalone. On Windows, that would be a folder in the same parent folder as your standalone. On OS X, it would be a folder inside the Mac OS folder which is inside the application bundle. Note that inside the IDE, it won't work until you move a copy of the sound file folder into the same parent folder as your stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Apr 19 12:40:17 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 Apr 2007 09:40:17 -0700 Subject: Graphics over QT Message-ID: <46279B71.7050504@fourthworld.com> Kevin Brooks wrote: > I'm writing an application that needed to display graphics over running > Quicktime video. I quickly discovered that the only way of doing this (that > I could find) was to put the graphics on a substack that I opened as a > palette. If you're not using QT's controller, there's another way: Just turn on the alwaysBuffer property of the player object. That will cause it to be rendered into the window's buffer rather than blitted onto the screen directly by QT, which allows Rev to apply its normal compositing to it. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From soapdog at mac.com Thu Apr 19 12:44:01 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 19 Apr 2007 13:44:01 -0300 Subject: possible bug: can someone confirm that load url with message is broken? Message-ID: <92F3FBCE-6BE3-40D8-9A38-FA0C109400AB@mac.com> Hello folks, can someone confirm that in Rev 2.8.1-dp-2 Mac OS X Intel has a problem with load url with messages? The load works but the message is never sent. Cheers andre From dave at looktowindward.com Thu Apr 19 13:00:50 2007 From: dave at looktowindward.com (Dave) Date: Thu, 19 Apr 2007 18:00:50 +0100 Subject: What's up with this????? In-Reply-To: <05CAF04F-598D-4BDF-9B32-5B75D5A4B44F@byu.edu> References: <7aa52a210704190101w7db0b943pc2995e614ca21e70@mail.gmail.com> <2494D3A9-50E8-4D7A-9D18-E1B538FB9BBC@looktowindward.com> <05CAF04F-598D-4BDF-9B32-5B75D5A4B44F@byu.edu> Message-ID: <3BB50E7F-42B1-4CB1-8A88-64F153349BC9@looktowindward.com> Hi, Found it! I was debugging with an external using XCode. In XCode, when you run the application in debug mode, it loads the application you specify (which in this case is RunRev 2.8.0.370) and specify the Stack you want to debug. However during this process I also double-clicked on the Stack File to open it, this version caused a different version of RunRev to load. From then on, the whole thing went weird! In this case restarting would *usually* cure the problem (and it did for a while), but then I must have double-clicked the Stack again! I can't seem to be able to specify that all .rev files are loaded by just one version of RunRev, I can only set it on a Per File basis which I have now done. But the problem is that if I restore a file from a backup, it takes on the old version again. Jeez, what a problem! Thanks for all your suggestions. All the Best Dave On 19 Apr 2007, at 17:01, Devin Asay wrote: > > On Apr 19, 2007, at 9:23 AM, Dave wrote: > >> Hi, >> >> I'm using RunRev 2.8.0.370. >> >> I have the following in a Button Script: >> >> put text of field "FieldFrameCount" into myFrameCount >> repeat with myFrameCounter = 1 to myFrameCount >> >> It has been working fine up until about half an hour ago when it >> started giving me this execution error: >> >> Type: repeat error in 'with' end condition expression >> Object: button >> Line: repeat with myFrameCounter - 1 to myFrameCount >> >> I'm at a loss as to what to do to fix it! > > Did the data in the field somehow get messed up in a way that's not > visually obvious--e.g., data on subsequent lines that are scrolled > out of sight? What happens if you check the validity of > myFrameCount before the repeat loop: > > if myFrameCount is a number then... > > I've been bitten by things like this before. > > HTH > > 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 lists at mangomultimedia.com Thu Apr 19 13:12:39 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 19 Apr 2007 10:12:39 -0700 Subject: possible bug: can someone confirm that load url with message is broken? In-Reply-To: <92F3FBCE-6BE3-40D8-9A38-FA0C109400AB@mac.com> References: <92F3FBCE-6BE3-40D8-9A38-FA0C109400AB@mac.com> Message-ID: <4305325B-CB17-4411-800D-E6F6F55D52F5@mangomultimedia.com> On Apr 19, 2007, at 9:44 AM, Andre Garzia wrote: > Hello folks, > > can someone confirm that in Rev 2.8.1-dp-2 Mac OS X Intel has a > problem with load url with messages? The load works but the message > is never sent. Andre, load url is working fine with messages on my end (OS X intel). -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From bryan at deepfoo.com Thu Apr 19 13:14:06 2007 From: bryan at deepfoo.com (Bryan McCormick) Date: Thu, 19 Apr 2007 13:14:06 -0400 Subject: Oh what the heck, another CGI question Message-ID: <4627A35E.9010905@deepfoo.com> Hey guys. This is going to sound really dumb. My ISP runs FreeBSD and so I need to run the old 2.2 engine. Not a big deal since I won't be stressing it too much. However, this is the problem. I don't have a BSD system to boot the binary up into to license the thing. How the heck do you license it? Can a nice person at RunRev do it? From JimAultWins at yahoo.com Thu Apr 19 13:20:23 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 19 Apr 2007 10:20:23 -0700 Subject: Graphics over QT In-Reply-To: Message-ID: Try these steps ------------- semi-transparent = set the blendlevel of img trees.jpg to 60 set the blendlevel of this stack to 60 set the blendlevel of this stack to 100 --transp set the blendlevel of this stack to 0 set the blendlevel of fld 1 to 60 ------ Do a google for "windowlab rossi" and you will find a stack that allows you to quickly make windows that have holes. Jim Ault Las Vegas On 4/19/07 8:43 AM, "Kevin Brooks" wrote: > Perhaps someone can help me problem solve some graphics issues I have with > Revolution. > > I'm writing an application that needed to display graphics over running > Quicktime video. I quickly discovered that the only way of doing this (that > I could find) was to put the graphics on a substack that I opened as a > palette. Doing this solved my initial problem, but since then I've been > asked to do more impressive things with the graphics. My questions are as > follows. > > 1) Is there a way to make a paletted stack semi-transparent, such that you > could see what's behind it, like running video? > > 2) I would like a paletted stack to appear on the screen as if it was > sliding out from behind something. The drawer command opens and slides > stacks to the side or bottom, while I want to slide a new stack overtop of > an open stack. The effect I'm looking for is the same as placing a fld > "offscreen" beyond the right hand border of a stack and issuing a move > command to slide it to the center of the stack. It would simply appear from > the first stack's right edge. But instead of using a field, I want to do > this with a stack, and preferably a paletted stack so it can float over > Quicktime. > > 3) I've played around with nonrectangular stack shapes using references to > image IDs, but is it possible to have a stack shaped with a hole in the > middle? From JimAultWins at yahoo.com Thu Apr 19 13:22:35 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 19 Apr 2007 10:22:35 -0700 Subject: What's up with this????? In-Reply-To: <3BB50E7F-42B1-4CB1-8A88-64F153349BC9@looktowindward.com> Message-ID: Perhaps doing a drag and drop onto an alias of the app (ion the desktop or dock) will work better than the double-click adventure. Jim Ault Las Vegas On 4/19/07 10:00 AM, "Dave" wrote: > Hi, > > Found it! > > I was debugging with an external using XCode. In XCode, when you run > the application in debug mode, it loads the application you specify > (which in this case is RunRev 2.8.0.370) and specify the Stack you > want to debug. However during this process I also double-clicked on > the Stack File to open it, this version caused a different version of > RunRev to load. From then on, the whole thing went weird! > > In this case restarting would *usually* cure the problem (and it did > for a while), but then I must have double-clicked the Stack again! > > I can't seem to be able to specify that all .rev files are loaded by > just one version of RunRev, I can only set it on a Per File basis > which I have now done. But the problem is that if I restore a file > from a backup, it takes on the old version again. > > Jeez, what a problem! > > Thanks for all your suggestions. > All the Best > Dave > > On 19 Apr 2007, at 17:01, Devin Asay wrote: > >> >> On Apr 19, 2007, at 9:23 AM, Dave wrote: >> >>> Hi, >>> >>> I'm using RunRev 2.8.0.370. >>> >>> I have the following in a Button Script: >>> >>> put text of field "FieldFrameCount" into myFrameCount >>> repeat with myFrameCounter = 1 to myFrameCount >>> >>> It has been working fine up until about half an hour ago when it >>> started giving me this execution error: >>> >>> Type: repeat error in 'with' end condition expression >>> Object: button >>> Line: repeat with myFrameCounter - 1 to myFrameCount >>> >>> I'm at a loss as to what to do to fix it! >> >> Did the data in the field somehow get messed up in a way that's not >> visually obvious--e.g., data on subsequent lines that are scrolled >> out of sight? What happens if you check the validity of >> myFrameCount before the repeat loop: >> >> if myFrameCount is a number then... >> >> I've been bitten by things like this before. >> >> HTH >> >> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution 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 soapdog at mac.com Thu Apr 19 13:27:27 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 19 Apr 2007 14:27:27 -0300 Subject: possible bug: can someone confirm that load url with message is broken? In-Reply-To: <4305325B-CB17-4411-800D-E6F6F55D52F5@mangomultimedia.com> References: <92F3FBCE-6BE3-40D8-9A38-FA0C109400AB@mac.com> <4305325B-CB17-4411-800D-E6F6F55D52F5@mangomultimedia.com> Message-ID: Here it is very strange, if I step with the debugger, it works, if I allow it to run by itself, the message is never dispatched. strange... bug is on my side, so, I'll solve it. Thanks Trevor andre On Apr 19, 2007, at 2:12 PM, Trevor DeVore wrote: > On Apr 19, 2007, at 9:44 AM, Andre Garzia wrote: > >> Hello folks, >> >> can someone confirm that in Rev 2.8.1-dp-2 Mac OS X Intel has a >> problem with load url with messages? The load works but the >> message is never sent. > > Andre, > > load url is working fine with messages on my end (OS X intel). > > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > trevor at bluemangolearning.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 soapdog at mac.com Thu Apr 19 13:29:16 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 19 Apr 2007 14:29:16 -0300 Subject: Oh what the heck, another CGI question In-Reply-To: <4627A35E.9010905@deepfoo.com> References: <4627A35E.9010905@deepfoo.com> Message-ID: <0ED1C37E-20BB-430A-A2CF-0F702AC3E34A@mac.com> Bryan, you don't need a license for that. I don't thing there's a 2.2 engine for BSD, I think the last one was 2.1 or something like that. just fetch the engine from runrev ftp site, put it on your FreeBSD box and set the correct permissions. Check Jacque wonderful CGI tutorial, the steps are the same, just use the bsd engine instead of the linux one. andre On Apr 19, 2007, at 2:14 PM, Bryan McCormick wrote: > Hey guys. This is going to sound really dumb. My ISP runs FreeBSD > and so I need to run the old 2.2 engine. Not a big deal since I > won't be stressing it too much. > > However, this is the problem. I don't have a BSD system to boot the > binary up into to license the thing. How the heck do you license > it? Can a nice person at RunRev do 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 From soapdog at mac.com Thu Apr 19 13:48:08 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 19 Apr 2007 14:48:08 -0300 Subject: can't play movie and load url at the same time. In-Reply-To: References: <92F3FBCE-6BE3-40D8-9A38-FA0C109400AB@mac.com> <4305325B-CB17-4411-800D-E6F6F55D52F5@mangomultimedia.com> Message-ID: <38CD499E-0D03-4A62-BE26-4E705D3E8F16@mac.com> another question folks, if you have a player object playing a movie and you load a url and use liburlsetstatuscallback to put some status text below the player. does the movie stops while the content is being loaded? Isn't load supposed to be asynchronous so that we could play a movie file while loading a url? Andre From soapdog at mac.com Thu Apr 19 13:55:55 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 19 Apr 2007 14:55:55 -0300 Subject: solved: Re: can't play movie and load url at the same time. In-Reply-To: <38CD499E-0D03-4A62-BE26-4E705D3E8F16@mac.com> References: <92F3FBCE-6BE3-40D8-9A38-FA0C109400AB@mac.com> <4305325B-CB17-4411-800D-E6F6F55D52F5@mangomultimedia.com> <38CD499E-0D03-4A62-BE26-4E705D3E8F16@mac.com> Message-ID: <4E0AA292-1D83-4CC3-8139-839E94329992@mac.com> sorry folks, I had a recursion with a wait call that blocked everything... silly me. andre On Apr 19, 2007, at 2:48 PM, Andre Garzia wrote: > another question folks, > > if you have a player object playing a movie and you load a url and > use liburlsetstatuscallback to put some status text below the > player. does the movie stops while the content is being loaded? > Isn't load supposed to be asynchronous so that we could play a > movie file while loading a url? > > Andre > _______________________________________________ > use-revolution mailing list > use-revolution 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 sonesond1 at southernct.edu Thu Apr 19 13:56:35 2007 From: sonesond1 at southernct.edu (Dan Soneson) Date: Thu, 19 Apr 2007 13:56:35 -0400 Subject: Standalone application problem Message-ID: <48D0389E-5770-44C2-AB9C-190D065BF3D6@southernct.edu> Hi Andrew, I treat external audio, video and even images much the same way as I would in a web site. When putting together a standalone that references this media I put the media in a separate folder within the folder that houses the standalone and work with a relative link to the media. Say your standalone is in a folder called "My Standalone." Create a media folder within that folder and place your media in this new folder (or copy your media folder into this new standalone folder). Then you query the path of the standalone, replace the standalone name in the path with the media folder name, and reference your images/ audio/video files using this new path: put the fileName of this stack into theStackPath set the itemDelimiter to "/" put "MyMedia" into item -1 of theStackPath Now you have a reference point for all your media, as long as it is housed in the "MyMedia" folder. You can retain this in several ways. Perhaps the easiest is to set a custom property of either the stack or the card: set the uMediaFolder of this stack to theStackPath Probably the best place to do this is in the preOpenStack handler, on the card script of the first card to open when the stack opens. Don't put it in the stack script, or this script will execute any time a stack opens within your standalone. So the preOpenStack handler on the first card of your stack would look like this: on preOpenStack put the fileName of this stack into theStackPath set the itemDelimiter to "/" put "MyMedia" into item -1 of theStackPath set the uMediaFolder of this stack to theStackPath end preOpenStack Any time you want to set the filename of a player now, you call up the uMediaFolder of the stack and put the name of the media file after this. Then you set the filename of the player to this path: put the uMediaFolder of this stack into theFolderPath put theFolderPath & "sound_01.aif" into theNewFile set the filename of player 1 to theNewFile You can place the above lines into a preOpenCard handler in the card script of the card that contains the player, or you can place it on a mouseUp handler to set the new filename. This works nicely if you have only one audio file to play. If you want to play several, or want to call up a specific audio file to play, you can use the uFolderPath of the stack to get a list of the files in the media folder, display them as a list in a list field. In the script of the list field you can write a mouseUp handler to set the filename of the player to the audio file that you click on. In a button or preOpenCard handler you can put a script like this: on preOpenCard -- goes in the card script put the uMediaFolder of this stack into theFolderPath put the defaultFolder into theOrigDefault -- keep track of the original default folder set the defaultFolder to theFolderPath -- allows us to get a listing of all the media files in this folder put the files into theMediaFiles -- this gets a list of all files in the default folder, one file per line -- you may want to do some filtering of this list here, i.e. include only files with ".wav" extension etc. filter theMediaFiles with "*.wav" -- this is optional, if you have a mixed type of files put theMediaFiles into fld "audio files" -- this is the scrolling list field, you can name it what you want set the defaultFolder to theOrigDefault -- restore the original default folder end preOpenCard Then in your list field script you would have a handler like so: on mouseUp put the selectedText into theFile set the filename of player 1 to the uMediaFolder of this stack & "/" & theFile end mouseUp The point is, that if you set up a connection to the media folder when you first open your stack, either within the development environment or as a standalone, you can call up any individual file pretty easily. It was nice to meet you at the ISLS conference in Hawaii, and I'm delighted you are checking into Revolution. Welcome to the Revolution! Dan From klaus at major-k.de Thu Apr 19 14:32:16 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 19 Apr 2007 20:32:16 +0200 Subject: possible bug: can someone confirm that load url with message is broken? In-Reply-To: References: <92F3FBCE-6BE3-40D8-9A38-FA0C109400AB@mac.com> <4305325B-CB17-4411-800D-E6F6F55D52F5@mangomultimedia.com> Message-ID: <36CA9C8B-D89A-4242-92A4-3DE9CDF66BDC@major-k.de> Hi Andre, > Here it is very strange, > > if I step with the debugger, it works, if I allow it to run by > itself, the message is never dispatched. > > strange... bug is on my side, so, I'll solve it. Thanks Trevor I encountered this one, too! Even "urlstatus turl" does not work. I did this test: ... put "http://www.apple.com" into turl load turl put urlstatus(turl) ## nothing was put! wait 1 secs ## Just to give it some time... put urlstatus(turl) ## again nothing ... The above DOES work in 2.8 however. So I finally use "libURLDownloadToFile" which did work as espected. > andre Regards Klaus Major klaus at major-k.de http://www.major-k.de From katir at hindu.org Thu Apr 19 14:53:11 2007 From: katir at hindu.org (Sivakatirswami) Date: Thu, 19 Apr 2007 08:53:11 -1000 Subject: QT Player Challenge - Play Remote Movie In-Reply-To: <6A0455CE-5F38-4FD8-B865-0E52279B80D6@mangomultimedia.com> References: <46244DAE.7010901@hindu.org> <25331161-9A86-48E2-B809-C6A05BF10001@maseurope.net> <4625A589.1060702@hindu.org> <2FF9BDA6-BB81-4F7F-997A-BD1324C6FCEA@maseurope.net> <6A0455CE-5F38-4FD8-B865-0E52279B80D6@mangomultimedia.com> Message-ID: <4627BA97.1050201@hindu.org> Trevor DeVore wrote: > Most likely QuickTime is taking over after Rev creates the QuickTime > Movie Controller (player object) and asks the QT framework to download > the file. So I don't think it would be an issue related to Revolution's > implementation of sockets. > > Just guessing, but perhaps QuickTime returns a status message that the > browser sees and attempts to start the movie download again while Rev > interprets it as an error and does nothing. Now we are digging! Good. I'll post these "intuitions" to the bug... Thanks Sivakatirswami www.himalayanacademy.com From soapdog at mac.com Thu Apr 19 14:58:56 2007 From: soapdog at mac.com (Andre Garzia) Date: Thu, 19 Apr 2007 15:58:56 -0300 Subject: possible bug: can someone confirm that load url with message is broken? In-Reply-To: <36CA9C8B-D89A-4242-92A4-3DE9CDF66BDC@major-k.de> References: <92F3FBCE-6BE3-40D8-9A38-FA0C109400AB@mac.com> <4305325B-CB17-4411-800D-E6F6F55D52F5@mangomultimedia.com> <36CA9C8B-D89A-4242-92A4-3DE9CDF66BDC@major-k.de> Message-ID: <75C1C32C-F3ED-4B92-A592-950DCAC37150@mac.com> Klaus, here it started working if I set the libURLSetStatusCallback before trying the load command. Then it worked as expected. :-/ Andre On Apr 19, 2007, at 3:32 PM, Klaus Major wrote: > Hi Andre, > >> Here it is very strange, >> >> if I step with the debugger, it works, if I allow it to run by >> itself, the message is never dispatched. >> >> strange... bug is on my side, so, I'll solve it. Thanks Trevor > > I encountered this one, too! > Even "urlstatus turl" does not work. > > I did this test: > ... > put "http://www.apple.com" into turl > load turl > put urlstatus(turl) > ## nothing was put! > wait 1 secs > ## Just to give it some time... > put urlstatus(turl) > ## again nothing > ... > > The above DOES work in 2.8 however. > > So I finally use "libURLDownloadToFile" which did work as espected. > >> andre > > Regards > > 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 Thu Apr 19 15:51:33 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 19 Apr 2007 21:51:33 +0200 Subject: possible bug: can someone confirm that load url with message is broken? In-Reply-To: <75C1C32C-F3ED-4B92-A592-950DCAC37150@mac.com> References: <92F3FBCE-6BE3-40D8-9A38-FA0C109400AB@mac.com> <4305325B-CB17-4411-800D-E6F6F55D52F5@mangomultimedia.com> <36CA9C8B-D89A-4242-92A4-3DE9CDF66BDC@major-k.de> <75C1C32C-F3ED-4B92-A592-950DCAC37150@mac.com> Message-ID: Hi Andre, > Klaus, > > here it started working if I set the libURLSetStatusCallback before > trying the load command. Then it worked as expected. > > :-/ Hmm, thanks, will try that. In case it will will work for me, too, we might have narrowed a possible bu er... inconvenience :-) > Andre Adeus Klaus Major klaus at major-k.de http://www.major-k.de From gbojsza at gmail.com Thu Apr 19 16:03:44 2007 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 19 Apr 2007 14:03:44 -0600 Subject: Using non standard characters with a format statement Message-ID: <3d8af4150704191303o7c8075dfu2a5f223929b63ce2@mail.gmail.com> Hello, I am trying figure out if it is possible to use the format command with non standard characters like ( ) / put format("%11s %9s\n" , guess, plat(1)) into fld "myReport" errors if I use put format("%11s %9s\n" , guess, plat1) into fld "myReport" then it works. Unfortunately I will need to include the () for the report. Is there any way to accomplish this within the format command? thanks, From bobwarren at howsoft.com Thu Apr 19 16:45:04 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Thu, 19 Apr 2007 17:45:04 -0300 Subject: Rev 2.8 on RDP is a total disaster Message-ID: <4627D4D0.4000704@howsoft.com> When I've got bugs in my drawers, they make me all bitter and twisted too! >:o Bob From mark at maseurope.net Thu Apr 19 17:25:26 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 19 Apr 2007 22:25:26 +0100 Subject: Using non standard characters with a format statement In-Reply-To: <3d8af4150704191303o7c8075dfu2a5f223929b63ce2@mail.gmail.com> References: <3d8af4150704191303o7c8075dfu2a5f223929b63ce2@mail.gmail.com> Message-ID: I'd guess that the engine thinks that "plat" is a function, and the (1) is a parameter...so assuming that "guess,plat(1)" is a string you want to format, simply enclosing it in quotes should cure the problem, so: put format("%11s %9s\n" , "guess, plat(1)") into fld "myReport" if 'guess' is a variable then put format("%11s %9s\n" , guess, "plat(1)") into fld "myReport" Best, Mark On 19 Apr 2007, at 21:03, Glen Bojsza wrote: > Hello, > > I am trying figure out if it is possible to use the format command > with non > standard characters like ( ) / > > put format("%11s %9s\n" , guess, plat(1)) into fld "myReport" > > errors > > if I use > > put format("%11s %9s\n" , guess, plat1) into fld "myReport" > > then it works. > > Unfortunately I will need to include the () for the report. > > Is there any way to accomplish this within the format command? > > 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 erikhans08 at yahoo.com Thu Apr 19 19:18:22 2007 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 19 Apr 2007 16:18:22 -0700 (PDT) Subject: Naming objects with numbers Message-ID: <530113.34244.qm@web33008.mail.mud.yahoo.com> Naming objects with numbers is not really a good idea: this can confuse Rev... and the programmer :-) Best regards from Paris, Eric Chatonet. *** One old trick is to put a letter before the number: button "b1" "b2" "b3". erik at erikhansen.org http://www.erikhansen.org http://www.geocities.com/erikhans08/Video.html -- /use-revolution __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From josh at dvcreators.net Thu Apr 19 19:50:11 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 19 Apr 2007 16:50:11 -0700 Subject: OT: USDA announces grants, loans for distance learning Message-ID: <7D86D6B2-274F-47FC-BED9-5432B4D5154B@dvcreators.net> This could represent an opportunity for some Rev programmers: http://governmentvideo.com/articles/publish/article_1133.shtml FYI From tsj at unimelb.edu.au Thu Apr 19 19:56:04 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 20 Apr 2007 09:56:04 +1000 Subject: SecuROM copy protection and Rev In-Reply-To: <20070418023527.CB2F9488FE5@mail.runrev.com> Message-ID: Does anyone have any experience of employing Rev executables on CDs protected with Sony's SecuROM process - i.e. Does it work? Regards, Terry... From wjm at wjm.org Thu Apr 19 20:13:49 2007 From: wjm at wjm.org (Bill Marriott) Date: Thu, 19 Apr 2007 20:13:49 -0400 Subject: how to adress the object name and not the number? In-Reply-To: <004901c78269$9fe1c9a0$18b2a8c0@TiemoPC2> References: <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com> <004901c78269$9fe1c9a0$18b2a8c0@TiemoPC2> Message-ID: The recommendation to name objects starting with a letter and then a number is simply a "must" because as others have pointed out there can be ambiguity when referencing objects named with simply a number. Two additions to the excellent ideas: 1) Remember that the object number always refers to its layer. Lower-numbers are below higher-numbered ones. 2) I have found it very helpful to insert a space before the prefix and the number when naming objects sequentially -- e.g.: "Cell 1" rather than "Cell1" -- because then it's a lot easier to find out what number you've given that object using Rev's "word" chunk later on. For example, suppose you've created an array of fields this way: put "Qty,Part Number,Description,Unit Price,Extended Price" into theHeaders repeat for each item columnName in theHeaders repeat with i = 1 to 20 put columnName && i into thisCell -- the && concatenates with a space between create fld thisCell set the rect of fld thisCell to \ startLefts[columnName],rowHeight * (i-1),startLefts[columnName]+colWidths[columnName],rowHeight * i set the lockText of fld thisCell to true end repeat end repeat (Leaving out setup of the arrays) Then, when someone clicks on one of the cells, you can hilight the entire row very simply with this script in the group: on mouseup put the last word of the short name of the target into theLine repeat for each item columnName in theHeaders put columnName && theLine into thisCell set the backgroundColor of fld thisCell to yellow end repeat end mouseup or, less verbosely, on mouseup repeat for each item c in theHeaders set fillBack of fld (c && last word of short name of target) to yellow end repeat end mouseup By using "the last word" you've gotten the number of the corresponding elements painlessly. From revdev at pdslabs.net Thu Apr 19 20:19:03 2007 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 19 Apr 2007 17:19:03 -0700 Subject: millisec test timings and screen refresh rate Message-ID: <462806F7.3070001@pdslabs.net> I need some help here. My question is basically this: How do I accurately track or calculate the exact moment at which an image becomes visible on screen? I have a client whose product is a psychological testing app, with a battery of canned tests included. I'm reimplementing it in RunRev, moving them away from SuperCard + a large handful of XCMDs. All the millisecond timing used to be done in the XCMDs, but now RunRev can do it natively, and on all platforms... wait, I don't need to sell you... sorry. ;o) Some tests require the Rev app to track the millisecs elapsed from when an image is displayed on screen to when a user-initiated event occurs, like a keypress. This means RR needs to know as precisely as possible *when* the image became visible on screen. (I can already hear some people shifting in their seats, muttering "duh! just show the image, unlock screen and put the millisecs into a variable!") Is it that simple? I assume not. I need to figure out when the image became visible, not when I told it to become visible. I'll need to factor in screen refresh rate, whether testing is displayed on a CRT or on a laptop (the normal delivery medium). This also leads me to ask: Do laptop screens refresh the same way CRTs refresh? I doubt it. How have you dealt with this in your RunRev experience? I bet *someone* has dealt with this before. Thanks in advance for all responses. This list is so great! Phil Davis From josh at dvcreators.net Thu Apr 19 20:59:40 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 19 Apr 2007 17:59:40 -0700 Subject: is there a more clever way to see if revOpenDatabases() contains a valid value? Message-ID: I am looking for a way to check for a valid connection to a remote MySQL database (without running a test query)... Here is the problem: 1. we connect to MySQL database 2. revOpenDatabases() contains valid value, all is fine 3. every 10 minutes, our office loses internet connectivity, this could be the culprit- OR, our MySQL server disconnects connects clients after a period of inactivity, not sure which, but it doesn't matter, because I need to find a solution that works in any event that connection is lost 4. at this point, revOpenDatabases() still returns a value, but there is no connection, running a query or any DB command hangs the software, forcing a force quit If I revCloseDatabases() or resetAll and establish a new connection before making any database command all is fine, but I am thinking this is an inefficient approach... or is it? So I am wondering if there is any clever way, perhaps through checking sockets or other network wizardry, to verify a valid MySQL database connection before actually executing a database command? From bryan at deepfoo.com Thu Apr 19 21:29:17 2007 From: bryan at deepfoo.com (Bryan McCormick) Date: Thu, 19 Apr 2007 21:29:17 -0400 Subject: Oh what the heck, another CGI question Message-ID: <4628176D.2060202@deepfoo.com> Andre, Thanks for the quick response. The CGI tutorial was indeed excellent. It does turn out BSD has a 2.2.1 version of the engine going. One thing my ISP noted is that there were some odd problems with the libraries used when the BSD version was compiled. This is not "my thing" but I am putting it out there so folks will know. Otherwise you can do everything right and end up hitting your head against 500 errors. They were nice enough to upload libs for backwards compatibility to the server so now it is working. Here is the note: << ------------------------- The problem is your engine was compiled for FreeBSD 4, but you're on FreeBSD 5. su-2.05b$ ./revolution /usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.3" not found, required by "revolution" su-2.05b$ locate libstdc /usr/lib/libstdc++.a /usr/lib/libstdc++.so /usr/lib/libstdc++.so.4 If revolution was compiled to use libstdc++.so instead of libstdc++.so.3, then it should be more portable between FreeBSD versions. I wouldn't recommend compiling against libstdc++.so.4 either because if you ever move your website to a newer server, or if the server is ever upgraded, it will definitely break. All that said, I installed some downward compatibility libraries, so the script runs now. ----------------------- >> From tsj at unimelb.edu.au Thu Apr 19 21:32:36 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 20 Apr 2007 11:32:36 +1000 Subject: Some longest common substring routines In-Reply-To: <20070418023527.CB2F9488FE5@mail.runrev.com> Message-ID: I recently had to adapt some python routines for finding the length and contents of the longest common substrings of two strings to Rev and thought they might come in handy to someone else?? Anyway here they are... The first function simply returns the length of the longest common substring function getLCSlength str1,str2 if (str1 = "") or (str2 = "") then return 0 put 0 into LCSlength put "" into LCStable repeat with i = 1 to length(str1) repeat with j = 1 to length(str2) if (char i of str1) <> (char j of str2) then put 0 into item i of line j of LCStable else put 1 + (item i-1 of line j-1 of LCStable) into tValue put tValue into item i of line j of LCStable put max(tValue, LCSlength) into LCSlength end if end repeat end repeat return LCSlength end getLCSlength This next one returns the substring itself (or at least the first substring of that length if there are more than one) function getLCSstring str1, str2 if (str1 = "") or (str2 = "") then return "" put "" into LCScontents put 0 into LCSlength put "" into LCStable repeat with i = 1 to length(str1) repeat with j = 1 to length(str2) if (char i of str1) <> (char j of str2) then put 0 into item i of line j of LCStable else put 1 + (item i-1 of line j-1 of LCStable) into tValue put tValue into item i of line j of LCStable if tValue > LCSlength then put char i-tValue+1 to i of str1 into LCScontents end if put max(tValue, LCSlength) into LCSlength end if end repeat end repeat return LCScontents end getLCSstring And this last one returns the table containing the lengths and positions of all the substrings (you could parse this to find different substrings of various lengths) function getLCStable str1, str2 if (str1 = empty) or (str2 = empty) then return empty put 0 into maxLength put "" into LCStable repeat with i = 1 to length(str1) repeat with j = 1 to length(str2) if (char i of str1) <> (char j of str2) then put 0 into item i of line j of LCStable else put 1 + (item i-1 of line j-1 of LCStable) into tValue put tValue into item i of line j of LCStable end if end repeat end repeat return LCStable end getLCStable Cheers, Terry... -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From scott at cdroo.com Thu Apr 19 21:51:33 2007 From: scott at cdroo.com (Scott Kane) Date: Fri, 20 Apr 2007 11:51:33 +1000 Subject: SecuROM copy protection and Rev References: Message-ID: <007801c782ee$6e9d0500$0201010a@esbgdi9s3atqpx> > Does anyone have any experience of employing Rev executables on CDs > protected with Sony's SecuROM process - i.e. Does it work? No direct experience. However a quick Google search reveals that (I'm not going to post the Google search for obvious reasons) that it's no more secure than any other protection system. If a programmer can write the algo to protect a cracker can prepare the tools to bypass it given the motivation and time to do so. See a recent article I did for the Rev newsletter and I'll be adding a follow-up that takes it a bit further in the future. Scott Kane From userev at canelasoftware.com Thu Apr 19 22:20:07 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 19 Apr 2007 19:20:07 -0700 Subject: millisec test timings and screen refresh rate In-Reply-To: <462806F7.3070001@pdslabs.net> References: <462806F7.3070001@pdslabs.net> Message-ID: On Apr 19, 2007, at 5:19 PM, Phil Davis wrote: > Some tests require the Rev app to track the millisecs elapsed from > when an image is displayed on screen to when a user-initiated event > occurs, like a keypress. This means RR needs to know as precisely > as possible *when* the image became visible on screen. It looks like you are after the time between showing the image and the user hitting a button. Are there other factors like the user hitting the button before the image is shown and tracking those activities as well? I would then start with showing the image, taking the milliseconds on the following line. Once the user hits the button on a mouseDown, you could take the milliseconds again and do the subtraction. The exact time it takes for the picture to show after you issue the command set the vis of img x to true might be statistically insignificant. The following script showed a 5 megapixel image in 30 milliseconds regularly on my laptop. I did the test on an image that was 78x78 pixels and got an average of 8 milliseconds. on mouseUp put the milliseconds into temp set the vis of img 2 to true put the milliseconds - temp wait 2 seconds set the vis of img 2 to false end mouseUp I think the big thing is to have the image in memory before starting the test as loading and showing all in one swoop would produce the most slow down. The refresh rates on newer LCD monitors is really getting close to what CRTs can do. These are just some of my thoughts on the subject. Mark Talluto -- CANELA Software http://www.canelasoftware.com From byennie at qldlearning.com Thu Apr 19 22:36:11 2007 From: byennie at qldlearning.com (Brian Yennie) Date: Thu, 19 Apr 2007 19:36:11 -0700 Subject: millisec test timings and screen refresh rate In-Reply-To: References: <462806F7.3070001@pdslabs.net> Message-ID: Keep in mind that this script doesn't show one way or another when the image is actually visible to the user. In other words, does the following script line always execute exactly when the image is visible, or not, regardless of how long it took to display the image? In any case, just to throw some more ideas out there - if time to display IS an issue, there are several different ways to go about showing an image which could potentially be compared: ## original method show image x ## move onscreen set the loc of image x to y ## undo/redo total transparency set the blendLevel of image x to 0|100 ## remove a graphic covering the image hide grc "image_cover" ## set a button icon to an offscreen image set the icon of btn "image_display" to the id of image "myImage" Hope that spurs some ideas! > The following script showed a 5 megapixel image in 30 milliseconds > regularly on my laptop. I did the test on an image that was 78x78 > pixels and got an average of 8 milliseconds. > > on mouseUp > put the milliseconds into temp > set the vis of img 2 to true > put the milliseconds - temp > > wait 2 seconds > set the vis of img 2 to false > end mouseUp From JimAultWins at yahoo.com Thu Apr 19 22:37:22 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 19 Apr 2007 19:37:22 -0700 Subject: how to adress the object name and not the number? In-Reply-To: Message-ID: Using a space char is a personal programming choice, and certainly not a bad one. My preference is to use a "0" as a pad character, especially for date strings, object names, file names, and folder names. Thus I use the less convenient form of put columnName & ( char -2 to -1 of ("0"& i) ) into thisCell by not using spaces in field names, you do not have to use quotes, such as put 451 into fld cellValue01 vs fld "cellValue 1" put 23 into fld cellValue02 vs fld "cellValue 2" put 254 into fld cellValue99 vs fld "cellValue 99" again, personal preference. ---------- start copy here put the short date into temp convert temp to dateitems get (char -2 to -1 of item 1 of temp) get it & (char -2 to -1 of ("0"&item 2 of temp)) get it & (char -2 to -1 of ("0"&item 3 of temp)) put it into msg ------------ stop copy here Paste these lines into the multiline message box and hit the enterkey. --> 070419 caution: the msgbox does not like put fld dataToWrite01 into url ("file:"& it &"invoices.txt") --> defaultFoler/070419invoices.txt I also have the habit of double-clicking to hilight the field name to copy and paste, therefore spaces would be less desirable for me. One of the good things about Rev is that you can develop more of a coding style that makes sense to you and just go for it. Jim Ault Las Vegas On 4/19/07 5:13 PM, "Bill Marriott" wrote: > The recommendation to name objects starting with a letter and then a number > is simply a "must" because as others have pointed out there can be ambiguity > when referencing objects named with simply a number. Two additions to the > excellent ideas: > > 1) Remember that the object number always refers to its layer. Lower-numbers > are below higher-numbered ones. > > 2) I have found it very helpful to insert a space before the prefix and the > number when naming objects sequentially -- e.g.: "Cell 1" rather than > "Cell1" -- because then it's a lot easier to find out what number you've > given that object using Rev's "word" chunk later on. > > For example, suppose you've created an array of fields this way: > > put "Qty,Part Number,Description,Unit Price,Extended Price" into > theHeaders > repeat for each item columnName in theHeaders > repeat with i = 1 to 20 > put columnName && i into thisCell -- the && concatenates with a space > between > create fld thisCell > set the rect of fld thisCell to \ > startLefts[columnName],rowHeight * > (i-1),startLefts[columnName]+colWidths[columnName],rowHeight * i > set the lockText of fld thisCell to true > end repeat > end repeat > > (Leaving out setup of the arrays) Then, when someone clicks on one of the > cells, you can hilight the entire row very simply with this script in the > group: > > on mouseup > put the last word of the short name of the target into theLine > repeat for each item columnName in theHeaders > put columnName && theLine into thisCell > set the backgroundColor of fld thisCell to yellow > end repeat > end mouseup > > or, less verbosely, > > on mouseup > repeat for each item c in theHeaders > set fillBack of fld (c && last word of short name of target) to yellow > end repeat > end mouseup > > By using "the last word" you've gotten the number of the corresponding > elements painlessly. > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 tsj at unimelb.edu.au Thu Apr 19 22:40:15 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 20 Apr 2007 12:40:15 +1000 Subject: SecuROM copy protection and Rev In-Reply-To: Message-ID: >> Does anyone have any experience of employing Rev executables on CDs >> protected with Sony's SecuROM process - i.e. Does it work? > > No direct experience. However a quick Google search reveals that (I'm not > going to post the Google search for obvious reasons) that it's no more > secure than any other protection system. If a programmer can write the algo > to protect a cracker can prepare the tools to bypass it given the motivation > and time to do so. See a recent article I did for the Rev newsletter and > I'll be adding a follow-up that takes it a bit further in the future. > > Scott Kane Hi Scott, The SecuROM copy protection has been requested by a client so that's the way we have to go. We've used SecuROM with Director applications before without any problems but they (Director apps) are 'officially' supported within the encryption process. 'Standard' Windows and Mac apps are supposed to work just as well but you never know. I just wondered whether anyone had a actually used the process with Rev standalones. Cheers, Terry... -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From simplsol at aol.com Thu Apr 19 22:40:45 2007 From: simplsol at aol.com (simplsol at aol.com) Date: Thu, 19 Apr 2007 22:40:45 -0400 Subject: millisec test timings and screen refresh rate In-Reply-To: <462806F7.3070001@pdslabs.net> References: <462806F7.3070001@pdslabs.net> Message-ID: <8C9510C6E82C3EE-DB8-DA6C@WEBMAIL-RC07.sysops.aol.com> Phil, LCDs got a bad reputation for speed ten years ago. They are much improved now. For instance modern LCD TVs are fast enough to display action scenes without blur. To see how much they have improved just move your mouse around the screen; you probably won't see any "submarining" at all. Of course there is some speed difference among screens - at the millisecond level. Would it work better, for your purposes, to have the test screen appear behind a blocking screen, then, instead of making the original screen appear, make the blocking screen disappear? Might be faster and more predictable. Paul Looney -----Original Message----- From: revdev at pdslabs.net To: use-revolution at lists.runrev.com Sent: Thu, 19 Apr 2007 5:19 PM Subject: millisec test timings and screen refresh rate I need some help here. My question is basically this: How do I accurately track or calculate the exact moment at which an image becomes visible on screen?? ? I have a client whose product is a psychological testing app, with a battery of canned tests included. I'm reimplementing it in RunRev, moving them away from SuperCard + a large handful of XCMDs. All the millisecond timing used to be done in the XCMDs, but now RunRev can do it natively, and on all platforms... wait, I don't need to sell you... sorry. ;o)? ? Some tests require the Rev app to track the millisecs elapsed from when an image is displayed on screen to when a user-initiated event occurs, like a keypress. This means RR needs to know as precisely as possible *when* the image became visible on screen.? ? (I can already hear some people shifting in their seats, muttering "duh! just show the image, unlock screen and put the millisecs into a variable!")? ? Is it that simple? I assume not. I need to figure out when the image became visible, not when I told it to become visible. I'll need to factor in screen refresh rate, whether testing is displayed on a CRT or on a laptop (the normal delivery medium). This also leads me to ask: Do laptop screens refresh the same way CRTs refresh? I doubt it.? ? How have you dealt with this in your RunRev experience? I bet *someone* has dealt with this before.? ? Thanks in advance for all responses. This list is so great!? ? Phil Davis? ? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com. =0 From scott at cdroo.com Thu Apr 19 23:21:24 2007 From: scott at cdroo.com (Scott Kane) Date: Fri, 20 Apr 2007 13:21:24 +1000 Subject: SecuROM copy protection and Rev References: Message-ID: <000601c782fa$fd153990$0201010a@esbgdi9s3atqpx> ---- Original Message ----- > The SecuROM copy protection has been requested by a client so that's the > way > we have to go. We've used SecuROM with Director applications before > without > any problems but they (Director apps) are 'officially' supported within > the > encryption process. 'Standard' Windows and Mac apps are supposed to work > just as well but you never know. I just wondered whether anyone had a > actually used the process with Rev standalones. Fair enough. As long as the standalone isn't modified you should not have to many problems. Scott From tsj at unimelb.edu.au Thu Apr 19 23:50:18 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 20 Apr 2007 13:50:18 +1000 Subject: SecuROM copy protection and Rev In-Reply-To: Message-ID: >> The SecuROM copy protection has been requested by a client so that's the >> way >> we have to go. We've used SecuROM with Director applications before >> without >> any problems but they (Director apps) are 'officially' supported within >> the >> encryption process. 'Standard' Windows and Mac apps are supposed to work >> just as well but you never know. I just wondered whether anyone had a >> actually used the process with Rev standalones. > > Fair enough. As long as the standalone isn't modified you should not have > to many problems. > > Scott Well, according to their documentation the executable is modified somehow (there is a desktop tool available for modifying Windows executables but you have to send Mac apps away to some dudes in Austria), which is why I'm curious. Terry... -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From kray at sonsothunder.com Thu Apr 19 23:53:04 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 19 Apr 2007 22:53:04 -0500 Subject: is there a more clever way to see if revOpenDatabases() contains a valid value? In-Reply-To: References: Message-ID: <20070419225304302228.108421e8@sonsothunder.com> On Thu, 19 Apr 2007 17:59:40 -0700, Josh Mellicker wrote: > If I revCloseDatabases() or resetAll and establish a new connection > before making any database command all is fine, but I am thinking > this is an inefficient approach... or is it? > > > So I am wondering if there is any clever way, perhaps through > checking sockets or other network wizardry, to verify a valid MySQL > database connection before actually executing a database command? Well, the way we do it is to bundle mySQLAdmin with our app. Then, whenever we are about to execute a DB command, we use the "ping" command-line call to mySQLAdmin which should return "mysqld is alive". If it doesn't, we respond with a Server Disconnected error, or automatically go into a loop until the "ping" shows it's alive or a certain timeout has expired. Here's the basic call to mysqladmin: --host= --port= --user= --password= ping as in (for Mac OS X): put "/Users/kenray/Applications/MyApp/support/mysqladmin" into tAdmin put tAdmin && "--host=255.255.255.255 --port=3631 --user=ken --password=password ping" into tCmd put shell(tCmd) into tResult return (tResult <> "mysqld is alive") HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Fri Apr 20 00:03:19 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Apr 2007 23:03:19 -0500 Subject: how to adress the object name and not the number? In-Reply-To: References: Message-ID: <46283B87.8050308@hyperactivesw.com> Jim Ault wrote: > by not using spaces in field names, you do not have to use quotes, such as > > put 451 into fld cellValue01 vs fld "cellValue 1" Just a caution that this may come back to bite you some day if (or perhaps, when) Rev ever gets pickier about unquoted literals. Unquoted literals also take longer to execute in scripts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at cdroo.com Fri Apr 20 00:05:37 2007 From: scott at cdroo.com (Scott Kane) Date: Fri, 20 Apr 2007 14:05:37 +1000 Subject: SecuROM copy protection and Rev References: Message-ID: <001901c78301$295523c0$0201010a@esbgdi9s3atqpx> > Well, according to their documentation the executable is modified somehow > (there is a desktop tool available for modifying Windows executables but > you > have to send Mac apps away to some dudes in Austria), which is why I'm > curious. You'll have to experiment. I've had zero success wrapping Rev standalones. Scott From bridgeyman at gmail.com Fri Apr 20 00:14:45 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Thu, 19 Apr 2007 22:14:45 -0600 Subject: Resize a Group Without Moving Objects Message-ID: <86ae76bb0704192114t4c7c91eeh27ba29247a965c6c@mail.gmail.com> Hey, Is it possible to set the rect of a group, without moving the objects inside the group around? Whenever I modify the size of a group, the groups loc will change a little, and the objects inside it will move also, is there any way to go around that? TTFN Bridger Maxwell Fiery Ferret From revdev at pdslabs.net Fri Apr 20 00:31:04 2007 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 19 Apr 2007 21:31:04 -0700 Subject: millisec test timings and screen refresh rate In-Reply-To: <8C9510C6E82C3EE-DB8-DA6C@WEBMAIL-RC07.sysops.aol.com> References: <462806F7.3070001@pdslabs.net> <8C9510C6E82C3EE-DB8-DA6C@WEBMAIL-RC07.sysops.aol.com> Message-ID: <46284208.2010800@pdslabs.net> Thanks everyone. But... Let me put my question another way: on mouseUp # lock screen -- aka "lock #1" wait 1 second show img 1 # unlock screen -- also part of lock #1 put the milliseconds into tStart wait 5 milliseconds # lock screen -- aka "lock #2" hide img 1 #unlock screen -- also part of lock #2 put the milliseconds - tStart & cr after fld 1 set the vScroll of fld 1 to the formattedHeight of fld 1 put (the number of lines in fld 1) into fld 2 end mouseUp I ran the above script x times and got these results on my Apple 20" cinema display & intel mini: - 50x with no locks/unlocks = 24% of times I saw the img - 50x with lock #1 = 20% of times I saw the img - 50x with lock #1 & #2 = 36% of times I saw the img Ideally I would see the image 100% of the time - that's my goal. I'll experiment with the other methods of displaying the image and see if I can improve my results. Thanks - Phil Davis > -----Original Message----- > From: revdev at pdslabs.net > To: use-revolution at lists.runrev.com > Sent: Thu, 19 Apr 2007 5:19 PM > Subject: millisec test timings and screen refresh rate > > I need some help here. My question is basically this: How do I > accurately track or calculate the exact moment at which an image becomes > visible on screen? > > I have a client whose product is a psychological testing app, with a > battery of canned tests included. I'm reimplementing it in RunRev, > moving them away from SuperCard + a large handful of XCMDs. All the > millisecond timing used to be done in the XCMDs, but now RunRev can do > it natively, and on all platforms... wait, I don't need to sell you... > sorry. ;o) > > Some tests require the Rev app to track the millisecs elapsed from when > an image is displayed on screen to when a user-initiated event occurs, > like a keypress. This means RR needs to know as precisely as possible > *when* the image became visible on screen. > > (I can already hear some people shifting in their seats, muttering > "duh! just show the image, unlock screen and put the millisecs into a > variable!") > > Is it that simple? I assume not. I need to figure out when the image > became visible, not when I told it to become visible. I'll need to > factor in screen refresh rate, whether testing is displayed on a CRT or > on a laptop (the normal delivery medium). This also leads me to ask: Do > laptop screens refresh the same way CRTs refresh? I doubt it. > > How have you dealt with this in your RunRev experience? I bet *someone* > has dealt with this before. > > Thanks in advance for all responses. This list is so great! > > Phil Davis From ambassador at fourthworld.com Fri Apr 20 00:45:19 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 Apr 2007 21:45:19 -0700 Subject: millisec test timings and screen refresh rate Message-ID: <4628455F.9060508@fourthworld.com> Phil Davis wrote: > Thanks everyone. But... Let me put my question another way: > > on mouseUp > # lock screen -- aka "lock #1" > wait 1 second > show img 1 > # unlock screen -- also part of lock #1 > > put the milliseconds into tStart > wait 5 milliseconds > > # lock screen -- aka "lock #2" > hide img 1 > #unlock screen -- also part of lock #2 > > put the milliseconds - tStart & cr after fld 1 > set the vScroll of fld 1 to the formattedHeight of fld 1 > put (the number of lines in fld 1) into fld 2 > end mouseUp > > > I ran the above script x times and got these results on my Apple 20" > cinema display & intel mini: > > - 50x with no locks/unlocks = 24% of times I saw the img > - 50x with lock #1 = 20% of times I saw the img > - 50x with lock #1 & #2 = 36% of times I saw the img > > Ideally I would see the image 100% of the time - that's my goal. I'll > experiment with the other methods of displaying the image and see if I > can improve my results. I wonder if it would make a difference to change the wait command to "wait...with messages". I believe the "with messages" option frees up cycles to the OS, which helps it refresh. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From josh at dvcreators.net Fri Apr 20 02:23:00 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 19 Apr 2007 23:23:00 -0700 Subject: is there a more clever way to see if revOpenDatabases() contains a valid value? In-Reply-To: <20070419225304302228.108421e8@sonsothunder.com> References: <20070419225304302228.108421e8@sonsothunder.com> Message-ID: <679A0009-920C-4D23-8C3E-92B4B8063C57@dvcreators.net> Interesting... Thanks for the info! On Apr 19, 2007, at 8:53 PM, Ken Ray wrote: > On Thu, 19 Apr 2007 17:59:40 -0700, Josh Mellicker wrote: > >> If I revCloseDatabases() or resetAll and establish a new connection >> before making any database command all is fine, but I am thinking >> this is an inefficient approach... or is it? >> >> >> So I am wondering if there is any clever way, perhaps through >> checking sockets or other network wizardry, to verify a valid MySQL >> database connection before actually executing a database command? > > Well, the way we do it is to bundle mySQLAdmin with our app. Then, > whenever we are about to execute a DB command, we use the "ping" > command-line call to mySQLAdmin which should return "mysqld is alive". > If it doesn't, we respond with a Server Disconnected error, or > automatically go into a loop until the "ping" shows it's alive or a > certain timeout has expired. Here's the basic call to mysqladmin: > > --host= --port= -- > user= > --password= ping > > as in (for Mac OS X): > > put "/Users/kenray/Applications/MyApp/support/mysqladmin" into > tAdmin > put tAdmin && "--host=255.255.255.255 --port=3631 --user=ken > --password=password ping" into tCmd > put shell(tCmd) into tResult > return (tResult <> "mysqld is alive") > > 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 toolbook at kestner.de Fri Apr 20 02:30:05 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 20 Apr 2007 08:30:05 +0200 Subject: AW: how to adress the object name and not the number? In-Reply-To: Message-ID: <001501c78315$57dcf9c0$18b2a8c0@TiemoPC2> Good point Bill. Thanks for sharing! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Bill Marriott > Gesendet: Freitag, 20. April 2007 02:14 > An: use-revolution at lists.runrev.com > Betreff: Re: how to adress the object name and not the number? > > The recommendation to name objects starting with a letter and then a > number > is simply a "must" because as others have pointed out there can be > ambiguity > when referencing objects named with simply a number. Two additions to the > excellent ideas: > > 1) Remember that the object number always refers to its layer. Lower- > numbers > are below higher-numbered ones. > > 2) I have found it very helpful to insert a space before the prefix and > the > number when naming objects sequentially -- e.g.: "Cell 1" rather than > "Cell1" -- because then it's a lot easier to find out what number you've > given that object using Rev's "word" chunk later on. > > For example, suppose you've created an array of fields this way: > > put "Qty,Part Number,Description,Unit Price,Extended Price" into > theHeaders > repeat for each item columnName in theHeaders > repeat with i = 1 to 20 > put columnName && i into thisCell -- the && concatenates with a > space > between > create fld thisCell > set the rect of fld thisCell to \ > startLefts[columnName],rowHeight * > (i-1),startLefts[columnName]+colWidths[columnName],rowHeight * i > set the lockText of fld thisCell to true > end repeat > end repeat > > (Leaving out setup of the arrays) Then, when someone clicks on one of the > cells, you can hilight the entire row very simply with this script in the > group: > > on mouseup > put the last word of the short name of the target into theLine > repeat for each item columnName in theHeaders > put columnName && theLine into thisCell > set the backgroundColor of fld thisCell to yellow > end repeat > end mouseup > > or, less verbosely, > > on mouseup > repeat for each item c in theHeaders > set fillBack of fld (c && last word of short name of target) to > yellow > end repeat > end mouseup > > By using "the last word" you've gotten the number of the corresponding > elements painlessly. > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 20 02:38:50 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Fri, 20 Apr 2007 09:38:50 +0300 (FLE Daylight Time) Subject: Revolution license References: <48D0389E-5770-44C2-AB9C-190D065BF3D6@southernct.edu> Message-ID: <46285FFA.000001.03600@MAZYTIS> I have just red "Using Revolution with Filemaker Pro" and Bill mentions that the Revolution license simply asks you to put one line, "Portions (c)2000-2008 Runtime Revolution Limited, All Rights Reserved Worldwide" below your own copyright notice... Does this mean any program that I distribute should have this lengthy copyright notice or otherwise I am violating the terms and conditions of the Run Rev license ? If I put my copyright notice on a splash- screen then does this mean that Revolution's copyright notice should appear next ? Isn't it all right to mention "Created with Revolution" with a link to runrev.com somewhere deeper (in "about" section or end user license agreement). In some cases I would also prefer not to reveal any technical details on how my app was created. Isn't it enough then create a link to Runtime Revolution's website from my own website (I promise to do this) without explicitly disclosing technologies used for each particular application? All the best! Viktoras From wjm at wjm.org Fri Apr 20 03:34:25 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 20 Apr 2007 03:34:25 -0400 Subject: Revolution license In-Reply-To: <46285FFA.000001.03600@MAZYTIS> References: <48D0389E-5770-44C2-AB9C-190D065BF3D6@southernct.edu> <46285FFA.000001.03600@MAZYTIS> Message-ID: Hi Viktoras, > Does this mean any program that I > distribute should have this lengthy copyright notice or otherwise I am > violating the terms and conditions of the Run Rev license? I didn't even know about that requirement until I wrote the article and it came up in editing. I'm certainly guilty of not having it in the past. It's mentioned deep in the bowels of the EULA when you install Rev, and I'm pretty sure there's no task force scouring networks for unattributed applications... but yeah, it does exist and it's been there a long time. They just want one line somewhere... no logo, not a link, not a separate splash screen, and not all over the place. I imagine having it once in your "About" screen should more than suffice. I mentioned it in the article because I thought eight words you could put somewhere out of the way was much preferable to the many requirements FileMaker has, which ensure everyone knows you made a FileMaker-based runtime. One sees "portions copyright..." messages all the time in software large and small, whether it's Pantone for the color matching scheme or the JPEG group or Kodak for certain imaging technologoes. Unlike FileMaker's list of intrusive restrictions, it doesn't diminish our work, I believe. [Insert standard "I'm not a lawyer..." disclaimer here.] From eric.chatonet at sosmartsoftware.com Fri Apr 20 03:40:17 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 20 Apr 2007 09:40:17 +0200 Subject: how to adress the object name and not the number? In-Reply-To: References: <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com> <004901c78269$9fe1c9a0$18b2a8c0@TiemoPC2> Message-ID: Hi Bill, As Jim said: using a space char is a personal programming choice, and certainly not a bad one ;-) As for me, I prefer to name any object with a single word ("LastBackupDate5" for instance) and *always* quoted even if XTalks don't make it compulsory in this case. And to retrieve the right suffix, instead of using last word, I just use char x to -1: char 5 to -1 of "Last1" = 1 char 5 to -1 of "Last1000" = 1000 No problem with the number of chars of the suffix ;-) Le 20 avr. 07 ? 02:13, Bill Marriott a ?crit : > The recommendation to name objects starting with a letter and then > a number is simply a "must" because as others have pointed out > there can be ambiguity when referencing objects named with simply a > number. Two additions to the excellent ideas: > > 1) Remember that the object number always refers to its layer. > Lower-numbers are below higher-numbered ones. > > 2) I have found it very helpful to insert a space before the prefix > and the number when naming objects sequentially -- e.g.: "Cell 1" > rather than "Cell1" -- because then it's a lot easier to find out > what number you've given that object using Rev's "word" chunk later > on. > > For example, suppose you've created an array of fields this way: > > put "Qty,Part Number,Description,Unit Price,Extended Price" into > theHeaders > repeat for each item columnName in theHeaders > repeat with i = 1 to 20 > put columnName && i into thisCell -- the && concatenates with > a space between > create fld thisCell > set the rect of fld thisCell to \ > startLefts[columnName],rowHeight * (i-1),startLefts > [columnName]+colWidths[columnName],rowHeight * i > set the lockText of fld thisCell to true > end repeat > end repeat > > (Leaving out setup of the arrays) Then, when someone clicks on one > of the cells, you can hilight the entire row very simply with this > script in the group: > > on mouseup > put the last word of the short name of the target into theLine > repeat for each item columnName in theHeaders > put columnName && theLine into thisCell > set the backgroundColor of fld thisCell to yellow > end repeat > end mouseup > > or, less verbosely, > > on mouseup > repeat for each item c in theHeaders > set fillBack of fld (c && last word of short name of target) to > yellow > end repeat > end mouseup > > By using "the last word" you've gotten the number of the > corresponding elements painlessly. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From wjm at wjm.org Fri Apr 20 04:44:02 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 20 Apr 2007 04:44:02 -0400 Subject: how to adress the object name and not the number? In-Reply-To: References: <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com><004901c78269$9fe1c9a0$18b2a8c0@TiemoPC2> Message-ID: Eric, >>> I prefer to name any object with a single word ("LastBackupDate5" for instance) and *always* quoted even if XTalks don't make it compulsory in this case. And to retrieve the right suffix, instead of using last word, I just use char x to -1: <<< Right! I always, always quote string literals as well, even though Rev will handle it for me if I don't. But on the other idea, this is exactly the problem I'm trying to solve. :) It's cumbersome because you've got the problem of a variant number of items and length of the label prefix. If you have more than 10 items (as in my example) you can't use digits 0-9 and instead have to force your numbering system to two digits. Rev doesn't comprehend "last 2 char" so you instead have to write something like put "0" & i into n; put thePrefix & char (the length of n) to -2 of n into itemName --for <100 items or add a FileMaker-esque "RightString(string,numchars)" custom function to get your "fixed length" serial number. vs the bog-simple "put thePrefix && i into itemName" when building the reference. Then, when you're parsing out the item, unless all your prefixes have exactly the same number of characters, you have to say char (the length of itemName) to -2 of itemName or hard-code the length of the prefix, vs "last word of itemName" which works no matter what. I like my system because it's more generalized. Building a name just takes && instead of &, and "last word" is easier/quicker for me to write and parse than the "char x to -1" construction. I can use it in every situation without modification, whatever prefix I select and whether it's 9 or 900 items I'm trying to keep track of. From dave at looktowindward.com Fri Apr 20 05:01:47 2007 From: dave at looktowindward.com (Dave) Date: Fri, 20 Apr 2007 10:01:47 +0100 Subject: scaling and positioning proportionally an object at the same time In-Reply-To: <4EFCD623-BD94-4017-882E-A213E61A984A@looktowindward.com> References: <2D2BB93C-4E2D-412C-B5A5-C973353471EE@education.lu> <4EFCD623-BD94-4017-882E-A213E61A984A@looktowindward.com> Message-ID: <92B05972-0966-4E8A-9461-3BC560BBDD46@looktowindward.com> Opps! I type-o!!! Should be: On 19 Apr 2007, at 14:43, Dave wrote: > > if the cpGMSaveRect of me = empty then > put the rect of me into the cpGMSaveRect of me > end if put the cpGMSaveRect of me into myRect set the rect of me to myRect All the Best Dave From luis at anachreon.co.uk Fri Apr 20 05:15:55 2007 From: luis at anachreon.co.uk (Luis) Date: Fri, 20 Apr 2007 10:15:55 +0100 Subject: Revolution license In-Reply-To: <46285FFA.000001.03600@MAZYTIS> References: <48D0389E-5770-44C2-AB9C-190D065BF3D6@southernct.edu> <46285FFA.000001.03600@MAZYTIS> Message-ID: <462884CB.8070504@anachreon.co.uk> Hiya, Where's the article? Cheers, Luis. Viktoras Didziulis wrote: > I have just red "Using Revolution with Filemaker Pro" and Bill mentions that > the Revolution license simply asks you to put one line, "Portions > (c)2000-2008 Runtime Revolution Limited, All Rights Reserved Worldwide" > below your own copyright notice... Does this mean any program that I > distribute should have this lengthy copyright notice or otherwise I am > violating the terms and conditions of the Run Rev license ? If I put my > copyright notice on a splash- screen then does this mean that Revolution's > copyright notice should appear next ? Isn't it all right to mention "Created > with Revolution" with a link to runrev.com somewhere deeper (in "about" > section or end user license agreement). In some cases I would also prefer > not to reveal any technical details on how my app was created. Isn't it > enough then create a link to Runtime Revolution's website from my own > website (I promise to do this) without explicitly disclosing technologies > used for each particular application? > > All the best! > 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 > > From revlist at azurevision.co.uk Fri Apr 20 05:20:14 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 20 Apr 2007 10:20:14 +0100 Subject: Revolution license In-Reply-To: <462884CB.8070504@anachreon.co.uk> References: <48D0389E-5770-44C2-AB9C-190D065BF3D6@southernct.edu> <46285FFA.000001.03600@MAZYTIS> <462884CB.8070504@anachreon.co.uk> Message-ID: <39D9C344-BC33-424D-8803-5622EF7D2938@azurevision.co.uk> It's in the April newsletter. Ian On 20 Apr 2007, at 10:15, Luis wrote: > Hiya, > > Where's the article? > > Cheers, > > Luis. > > > Viktoras Didziulis wrote: >> I have just red "Using Revolution with Filemaker Pro" From eric.chatonet at sosmartsoftware.com Fri Apr 20 05:21:12 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 20 Apr 2007 11:21:12 +0200 Subject: how to adress the object name and not the number? In-Reply-To: References: <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com><004901c78269$9fe1c9a0$18b2a8c0@TiemoPC2> Message-ID: <7B29D879-70B5-4694-8B49-89E358147810@sosmartsoftware.com> Hi Bill, I understand you *must* specify the number of chars of the label prefix that may vary in my solution and I understand also it might bother you :-) So: function NumericSuffix pStr local tCount ----- if pStr = empty then return "error: empty string." repeat with tCount = the number of chars of pStr down to 1 if char tCount of pStr is not an integer then return char (tCount + 1) to -1 of pStr end repeat return "error: could not determine numeric suffix." end NumericSuffix In most cases, timings will not be noticeably affected when running this additional function: about 2 ms for 100 iterations. On the other hand, I take the opportunity (and I am sure you are aware of it) to point out errors management handling in the above code. But that's another story :-) OK: I stop to split hairs... No :-) Just a pointer: When variables checking is on (always here), variables that are used in a 'repeat with' form (like tCount above) are never taken into account. I think they should, of course ;-) Best regards from Paris, Eric Chatonet. Le 20 avr. 07 ? 10:44, Bill Marriott a ?crit : > Eric, > >>>> > I prefer to name any object with a single word > ("LastBackupDate5" for instance) and *always* quoted even if XTalks > don't make it compulsory in this case. > And to retrieve the right suffix, instead of using last word, I just > use char x to -1: > <<< > > Right! I always, always quote string literals as well, even though > Rev will handle it for me if I don't. > > But on the other idea, this is exactly the problem I'm trying to > solve. :) It's cumbersome because you've got the problem of a > variant number of items and length of the label prefix. > > If you have more than 10 items (as in my example) you can't use > digits 0-9 and instead have to force your numbering system to two > digits. Rev doesn't comprehend "last 2 char" so you instead have to > write something like > > put "0" & i into n; put thePrefix & char (the length of n) to -2 of > n into itemName --for <100 items > > or add a FileMaker-esque "RightString(string,numchars)" custom > function to get your "fixed length" serial number. > > vs the bog-simple "put thePrefix && i into itemName" when building > the reference. > > Then, when you're parsing out the item, unless all your prefixes > have exactly the same number of characters, you have to say > > char (the length of itemName) to -2 of itemName > > or hard-code the length of the prefix, vs "last word of itemName" > which works no matter what. > > I like my system because it's more generalized. Building a name > just takes && instead of &, and "last word" is easier/quicker for > me to write and parse than the "char x to -1" construction. I can > use it in every situation without modification, whatever prefix I > select and whether it's 9 or 900 items I'm trying to keep track of. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From revlist at azurevision.co.uk Fri Apr 20 05:26:54 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 20 Apr 2007 10:26:54 +0100 Subject: how to adress the object name and not the number? In-Reply-To: References: <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com><004901c78269$9fe1c9a0$18b2a8c0@TiemoPC2> Message-ID: On 20 Apr 2007, at 09:44, Bill Marriott wrote: > Eric, > >>>> > I prefer to name any object with a single word > ("LastBackupDate5" for instance) and *always* quoted even if XTalks > don't make it compulsory in this case. > And to retrieve the right suffix, instead of using last word, I just > use char x to -1: > <<< > > Right! I always, always quote string literals as well, even though > Rev will handle it for me if I don't. > > But on the other idea, this is exactly the problem I'm trying to > solve. :) It's cumbersome because you've got the problem of a > variant number of items and length of the label prefix. I use an underscore between the alphanumeric prefix and the identifying number. ;-) Single word object names, plus it's easy to deal with varying lengths simply by using: set the itemdelimiter to "_" Ian P.S. I didn't even *know* you could leave string literal names unquouted... From luis at anachreon.co.uk Fri Apr 20 05:52:26 2007 From: luis at anachreon.co.uk (Luis) Date: Fri, 20 Apr 2007 10:52:26 +0100 Subject: Revolution license In-Reply-To: <39D9C344-BC33-424D-8803-5622EF7D2938@azurevision.co.uk> References: <48D0389E-5770-44C2-AB9C-190D065BF3D6@southernct.edu> <46285FFA.000001.03600@MAZYTIS> <462884CB.8070504@anachreon.co.uk> <39D9C344-BC33-424D-8803-5622EF7D2938@azurevision.co.uk> Message-ID: <46288D5A.6030205@anachreon.co.uk> Ta, should've refreshed my browser... Cheers, Luis. Ian Wood wrote: > It's in the April newsletter. > > > > Ian > > On 20 Apr 2007, at 10:15, Luis wrote: > >> Hiya, >> >> Where's the article? >> >> Cheers, >> >> Luis. >> >> >> Viktoras Didziulis wrote: >>> I have just red "Using Revolution with Filemaker Pro" > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Fri Apr 20 06:03:37 2007 From: dave at looktowindward.com (Dave) Date: Fri, 20 Apr 2007 11:03:37 +0100 Subject: how to adress the object name and not the number? In-Reply-To: References: <0CE36242-41D9-41ED-8F01-F3CE908BEF62@sosmartsoftware.com><004901c78269$9fe1c9a0$18b2a8c0@TiemoPC2> Message-ID: <76DA94CB-F152-44EB-8397-74400F09A824@looktowindward.com> On 20 Apr 2007, at 09:44, Bill Marriott wrote: > Eric, > >>>> > I prefer to name any object with a single word > ("LastBackupDate5" for instance) and *always* quoted even if XTalks > don't make it compulsory in this case. > And to retrieve the right suffix, instead of using last word, I just > use char x to -1: > <<< > > Right! I always, always quote string literals as well, even though > Rev will handle it for me if I don't. > > But on the other idea, this is exactly the problem I'm trying to > solve. :) It's cumbersome because you've got the problem of a > variant number of items and length of the label prefix. > > If you have more than 10 items (as in my example) you can't use > digits 0-9 and instead have to force your numbering system to two > digits. Rev doesn't comprehend "last 2 char" so you instead have to > write something like > Just write a couple of Utility function like this: ------------------------------------------------------------------------ - -- -- UtilStringPadLeft -- ------------------------------------------------------------------------ - function UtilStringPadLeft theString,theStringMaxSize,thePadChar local myString put theString into myString repeat while the length of myString < theStringMaxSize put thePadChar & myString into myString end repeat return myString end UtilStringPadLeft ------------------------------------------------------------------------ - -- -- UtilStringPadRight -- ------------------------------------------------------------------------ - function UtilStringPadRight theString,theStringMaxSize,thePadChar local myString put theString into myString repeat while the length of myString < theStringMaxSize put myString & thePadChar into myString end repeat return myString end UtilStringPadRight Then do: put "ImameName" & UtilStringPadLeft(mySequenceNumber,4,"0") into myImageName All the Best Dave From soapdog at mac.com Fri Apr 20 06:58:05 2007 From: soapdog at mac.com (Andre Garzia) Date: Fri, 20 Apr 2007 03:58:05 -0700 Subject: Oh what the heck, another CGI question In-Reply-To: <4628176D.2060202@deepfoo.com> References: <4628176D.2060202@deepfoo.com> Message-ID: <70AA800C-0112-1000-84E6-2D0B613E74EC-Webmail-10025@mac.com> Hello Bryan, problems with library dependencies are pretty common on linux and bsd. The way those systems "culture" were built, it?s pretty common for a developer to link against shared libraries that you may or may not have. Usually this issue is solved by distributing the software in source format with autogen tools that will generate the instructions for that software to compile on your machine with the libraries you have but then again, when you upgrade a library, depending on which path you took to upgrade it, all hell breaks loose. Revolution and some other tools that are being distributed in binary format suffer from worse problems, since we can?t modify the library reference on the executable application (IIRC) our only hope is to have the correct libraries. This happens all the time with the linux engine linking against ancient libC. One thing in favor of Rev is that is doesn?t link to any esoteric library, it just link against some pretty common ones, like Standard C Library (just like everyone), some GTK libs I think and other common stuff. So the problem is not missing the libraries, the problem is wrong version of the library or wrong location. One hack that can save you is to make symbolic links from the library reference that revolution is looking for to the library that you know you have. In your case you could have done a link like: libstdc++.so.3 -----> libstdc++.so After that and praying to the Gods of Backward Compatibility, your software might just work(tm). Somtimes I wish all software was linked statically. When RunRev Team releases updated engines for Linux and BSDs, I hope they link against stub libraries such as libstdc++.so which is always a link to the current standard c++ library installed, this would solve many problems. Since now you?re building CGIs, you might want to check my little RevOnRockets package which is located at: http://andregarzia.com/RevHTTP.zip my site content is down, but the files are being served. This package is a little web server built with rev and some libraries for cgi development and examples. You can use it to learn more or to debug your own cgis from inside rev ide before deploying them on live servers. One very cool thing is EasyDebug library which will pick errors from try/catch block and build full html reports detailing the error and even show you the line in the source that has that error. All for free. Be welcome to the wonderful (and sometimes difficult) world of Rev CGI Development. Cheers andre On Thursday, April 19, 2007, at 01:32PM, "Bryan McCormick" wrote: >Andre, > >Thanks for the quick response. The CGI tutorial was indeed excellent. It >does turn out BSD has a 2.2.1 version of the engine going. > >One thing my ISP noted is that there were some odd problems with the >libraries used when the BSD version was compiled. This is not "my thing" >but I am putting it out there so folks will know. Otherwise you can do >everything right and end up hitting your head against 500 errors. They >were nice enough to upload libs for backwards compatibility to the >server so now it is working. Here is the note: > ><< ------------------------- > >The problem is your engine was compiled for FreeBSD 4, but you're on >FreeBSD 5. > >su-2.05b$ ./revolution >/usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.3" not found, >required by "revolution" > >su-2.05b$ locate libstdc >/usr/lib/libstdc++.a >/usr/lib/libstdc++.so >/usr/lib/libstdc++.so.4 > >If revolution was compiled to use libstdc++.so instead of >libstdc++.so.3, then it should be more portable between FreeBSD >versions. I wouldn't recommend compiling against libstdc++.so.4 either >because if you ever move your website to a newer server, or if the >server is ever upgraded, it will definitely break. > >All that said, I installed some downward compatibility libraries, so the >script runs now. > >----------------------- >> >_______________________________________________ >use-revolution mailing list >use-revolution 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 todd at geistinteractive.com Mon Apr 16 12:30:09 2007 From: todd at geistinteractive.com (Todd Geist) Date: Mon, 16 Apr 2007 11:30:09 -0500 (CDT) Subject: Basic Drawing and Labeling Message-ID: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> Hello, I would like to create a stack that will allow the user to "Markup" an Image. The image would be displayed on the card and the user should be able to draw ovals, arrows, and lines on the image. Think of it as hi-lighting certain parts of the image. They also need to be able to label parts of the image. Then finally the image would be output to disk as a jpeg. Before I go tackle this I was wondering if anybody had anything similar already done and they were willing to share? TIA Todd From fwvo at planet.nl Fri Apr 20 11:13:41 2007 From: fwvo at planet.nl (Ferdinand) Date: Fri, 20 Apr 2007 17:13:41 +0200 Subject: textHeight and textSize Message-ID: Hi All, I have some troubles with the textHeight and textSize properties. The documentation says: " If you change the field's textSize, Revolution automatically sets the textHeight to trunc(4/3 * the textSize of field). For example, if the textSize is set to 12, the textHeight is set to 16 by default. If the textSize is set to 14, the textHeight is set to 18. " With some fonts this is okay, but I have some fonts with a greater textHeight/textSize ratio. For example handwriting fonts. With these fonts the text looks not so nice in a field. Is there a way to determine the good textHeight : textSize ratio within Revolution ? Thanks for your help! From dave at looktowindward.com Fri Apr 20 11:19:28 2007 From: dave at looktowindward.com (Dave) Date: Fri, 20 Apr 2007 16:19:28 +0100 Subject: Basic Drawing and Labeling In-Reply-To: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> References: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> Message-ID: <66A87A3F-4E51-4416-84A6-84B46FF3984B@looktowindward.com> Hi, I'm in the process of doing something like this at the moment, except I am generating a QuickTime movie. I will hopefully be at the stage of having a general purpose object creator ready by the end of next week. I will most likely use my ISM module, but I'm sure there will be some low level functions that I would be willing to share. It all depends on your time-scales and work-load etc. All the Best Dave On 16 Apr 2007, at 17:30, Todd Geist wrote: > Hello, > > I would like to create a stack that will allow the user to "Markup" > an Image. > > > The image would be displayed on the card and the user should be > able to draw ovals, arrows, and lines on the image. Think of it as > hi-lighting certain parts of the image. They also need to be able > to label parts of the image. Then finally the image would be output > to disk as a jpeg. > > Before I go tackle this I was wondering if anybody had anything > similar already done and they were willing to share? > > TIA > > Todd > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 20 11:35:46 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 20 Apr 2007 17:35:46 +0200 Subject: mysterious set the clipboardData Message-ID: <004301c78361$924fd400$18b2a8c0@TiemoPC2> Hello, thought, it would be very simple, now I get a mysterious result. I have an image with an assigned filename (png file). If I use: set the clipboardData["image"] to image "b1" and paste it into any graphic program, it gives me a totally black image of small size (128x32px) and not the copied image. At least there is any kind of "communication", because the pasted image has the same dpi, as the source image I am puzzled, because I don't find any other parameters. Has anyone experienced this phenomenon too? Or is it just a wrong usage? Thank for any tip Tiemo (WinXP, 2.8.0) From m.schonewille at economy-x-talk.com Fri Apr 20 11:44:54 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 20 Apr 2007 17:44:54 +0200 Subject: Basic Drawing and Labeling In-Reply-To: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> References: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> Message-ID: Hi Tod, This sounds fairly simple. You can use Revolution's paint/draw tools to draw objects over the existing image and export the result to JPEG when done. The only slightly more difficult part is that you may need your own tools palette, but even that isn't too difficult. 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 16-apr-2007, om 18:30 heeft Todd Geist het volgende geschreven: > Hello, > > I would like to create a stack that will allow the user to "Markup" > an Image. > > > The image would be displayed on the card and the user should be > able to draw ovals, arrows, and lines on the image. Think of it as > hi-lighting certain parts of the image. They also need to be able > to label parts of the image. Then finally the image would be output > to disk as a jpeg. > > Before I go tackle this I was wondering if anybody had anything > similar already done and they were willing to share? > > TIA > > Todd From dave at looktowindward.com Fri Apr 20 12:01:07 2007 From: dave at looktowindward.com (Dave) Date: Fri, 20 Apr 2007 17:01:07 +0100 Subject: Using @param in an External Command Module In-Reply-To: References: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> Message-ID: <46BAFC6E-7234-4F21-B4F4-2A6B44548878@looktowindward.com> Hi, Is it possible to use the the @ entry parameter syntax inside an external function/command? I can't seem to find anything about this. Thanks a lot All the Best Dave From lists at mangomultimedia.com Fri Apr 20 12:24:34 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 20 Apr 2007 09:24:34 -0700 Subject: Using @param in an External Command Module In-Reply-To: <46BAFC6E-7234-4F21-B4F4-2A6B44548878@looktowindward.com> References: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> <46BAFC6E-7234-4F21-B4F4-2A6B44548878@looktowindward.com> Message-ID: On Apr 20, 2007, at 9:01 AM, Dave wrote: > Hi, > > Is it possible to use the the @ entry parameter syntax inside an > external function/command? I can't seem to find anything about this. Pass the name of the variable you want to set to the external function and then use SetVariableEx or SetVariable in the SDK to set the value of the variable. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From dave at looktowindward.com Fri Apr 20 12:51:55 2007 From: dave at looktowindward.com (Dave) Date: Fri, 20 Apr 2007 17:51:55 +0100 Subject: Using @param in an External Command Module In-Reply-To: References: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> <46BAFC6E-7234-4F21-B4F4-2A6B44548878@looktowindward.com> Message-ID: <107EC410-B088-4455-8F43-9D0CB9A2BFAC@looktowindward.com> Hi, Thanks Trevor, I understand, I was wondering if there was a another/ better way of doing it, since you have to pass the variable as String and that doesn't get checked inside the script editor and so is error prone. Thanks a lot All the Best Dave On 20 Apr 2007, at 17:24, Trevor DeVore wrote: > On Apr 20, 2007, at 9:01 AM, Dave wrote: > >> Hi, >> >> Is it possible to use the the @ entry parameter syntax inside an >> external function/command? I can't seem to find anything about this. > > Pass the name of the variable you want to set to the external > function and then use SetVariableEx or SetVariable in the SDK to > set the value of the variable. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > trevor at bluemangolearning.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 lists at mangomultimedia.com Fri Apr 20 13:15:24 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 20 Apr 2007 10:15:24 -0700 Subject: Using @param in an External Command Module In-Reply-To: <107EC410-B088-4455-8F43-9D0CB9A2BFAC@looktowindward.com> References: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> <46BAFC6E-7234-4F21-B4F4-2A6B44548878@looktowindward.com> <107EC410-B088-4455-8F43-9D0CB9A2BFAC@looktowindward.com> Message-ID: <17D68388-F060-4102-9B7D-181FCFF7263D@mangomultimedia.com> On Apr 20, 2007, at 9:51 AM, Dave wrote: > Hi, > > Thanks Trevor, I understand, I was wondering if there was a another/ > better way of doing it, since you have to pass the variable as > String and that doesn't get checked inside the script editor and so > is error prone. Ah. I don't think there is but I wouldn't take that as the definite word :-) If there was I think the Revolution externals would use that technique as it would be a better solution then passing the variable name. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com trevor at bluemangolearning.com From 00bioarchimed at free.fr Fri Apr 20 15:46:18 2007 From: 00bioarchimed at free.fr (00bioarchimed) Date: Fri, 20 Apr 2007 21:46:18 +0200 Subject: Using @param in an External Command Module In-Reply-To: <17D68388-F060-4102-9B7D-181FCFF7263D@mangomultimedia.com> References: <6314999.334831176741009152.JavaMail.root@noc-106.smedia.info> <46BAFC6E-7234-4F21-B4F4-2A6B44548878@looktowindward.com> <107EC410-B088-4455-8F43-9D0CB9A2BFAC@looktowindward.com> <17D68388-F060-4102-9B7D-181FCFF7263D@mangomultimedia.com> Message-ID: <096AEB4C-58F5-4282-AE00-C3673468FE00@free.fr> Hi Dave, As i'm playing - working :-) - with externals since a while, i did invest on this one a while ago, and didn't find a positive answer to your request. I will be happy to have this feature too. Enjoy your week-end, thierry > On Apr 20, 2007, at 9:51 AM, Dave wrote: > >> Hi, >> >> Thanks Trevor, I understand, I was wondering if there was a >> another/better way of doing it, since you have to pass the >> variable as String and that doesn't get checked inside the script >> editor and so is error prone. > > Ah. I don't think there is but I wouldn't take that as the definite > word :-) If there was I think the Revolution externals would use > that technique as it would be a better solution then passing the > variable name. > -- From 00bioarchimed at free.fr Fri Apr 20 15:56:34 2007 From: 00bioarchimed at free.fr (00bioarchimed) Date: Fri, 20 Apr 2007 21:56:34 +0200 Subject: Xcode building a stack Message-ID: Hi all, I'm building an external with Xcode tools on Macosx. So far so good. I have a plug-in stack which works with my external too. Now, i would like to build the plug-in ( call it stack, or library ) automatically from Xcode, in the same building project as the external. This means having a script as a text template, few values in my build project to insert into custom properties. Does anyone was foolish enough to try these solutions ? If yes, can you give clue or ideas how to do that ? Best regards, thierry From kray at sonsothunder.com Fri Apr 20 16:06:55 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 20 Apr 2007 15:06:55 -0500 Subject: mysterious set the clipboardData In-Reply-To: <004301c78361$924fd400$18b2a8c0@TiemoPC2> References: <004301c78361$924fd400$18b2a8c0@TiemoPC2> Message-ID: <20070420150655618948.ca5aa8d5@sonsothunder.com> On Fri, 20 Apr 2007 17:35:46 +0200, Tiemo Hollmann TB wrote: > Hello, > > thought, it would be very simple, now I get a mysterious result. I have an > image with an assigned filename (png file). > > If I use: set the clipboardData["image"] to image "b1" Can you try: the text of image "b1" ? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From m.schonewille at economy-x-talk.com Fri Apr 20 17:12:36 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 20 Apr 2007 23:12:36 +0200 Subject: mysterious set the clipboardData In-Reply-To: <004301c78361$924fd400$18b2a8c0@TiemoPC2> References: <004301c78361$924fd400$18b2a8c0@TiemoPC2> Message-ID: <03F02ED1-A4B3-4F67-90AC-FC17EF267F53@economy-x-talk.com> Hi Tiemo, The clipboarddata["image"] should contain valid picture data only, in PNG, TIF, JPG, GIF or another format. This should work? export image "b1" to myImage as PNG set the clipbaorddata["image"] to myImage Now you should be able to paste it in a graphics programme. Ken's method works too, but you always get the original format of the image and can't control it yourself. 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 20-apr-2007, om 17:35 heeft Tiemo Hollmann TB het volgende geschreven: > Hello, > > thought, it would be very simple, now I get a mysterious result. I > have an > image with an assigned filename (png file). > > If I use: set the clipboardData["image"] to image "b1" > > and paste it into any graphic program, it gives me a totally black > image of > small size (128x32px) and not the copied image. At least there is > any kind > of "communication", because the pasted image has the same dpi, as > the source > image > > I am puzzled, because I don't find any other parameters. > > Has anyone experienced this phenomenon too? Or is it just a wrong > usage? > > > > Thank for any tip > > Tiemo (WinXP, 2.8.0) > From sarah.reichelt at gmail.com Fri Apr 20 17:44:21 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 21 Apr 2007 07:44:21 +1000 Subject: mysterious set the clipboardData In-Reply-To: <004301c78361$924fd400$18b2a8c0@TiemoPC2> References: <004301c78361$924fd400$18b2a8c0@TiemoPC2> Message-ID: > thought, it would be very simple, now I get a mysterious result. I have an > image with an assigned filename (png file). > > If I use: set the clipboardData["image"] to image "b1" > > and paste it into any graphic program, it gives me a totally black image of > small size (128x32px) and not the copied image. At least there is any kind > of "communication", because the pasted image has the same dpi, as the source > image There is some problem with copying an image if it is a referenced image and/or it it is displayed at a different size to it's actual pixels. Here is a routine I use, which requires a hidden image object called "Clip" lock screen put the rect of img "MyImage" into tRect set the width of img "MyImage" to the formattedwidth of img "MyImage" set the height of img "MyImage" to the formattedheight of img "MyImage" set the width of img "Clip" to the width of img "MyImage" set the height of img "Clip" to the height of img "MyImage" set the imagedata of img "Clip" to the imagedata of img "MyImage" set the clipboardData["image"] to img "Clip" set the filename of img "Clip" to empty set the rect of img tImageName to tRect "MyImage" is an image object showing a specific image file at a reduced size, so I expand it to full size, copy the imageData to the "Clip" object, then set the clipboardData before restoring the original size of the "MyImage" object. HTH, Sarah From jc at spl21.net Fri Apr 20 18:32:39 2007 From: jc at spl21.net (John Craig) Date: Fri, 20 Apr 2007 23:32:39 +0100 Subject: Obtaining the size of a file Message-ID: <46293F87.1030007@spl21.net> Does anyone know of a native rev. method to obtain the size of a file without using shell or 'the detailed files'? Thanks, JC From mark at maseurope.net Fri Apr 20 18:52:34 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 20 Apr 2007 23:52:34 +0100 Subject: Obtaining the size of a file In-Reply-To: <46293F87.1030007@spl21.net> References: <46293F87.1030007@spl21.net> Message-ID: Well, I guess the detailed files actually is the native rev method, but this works: on mouseUp put "/Users/marksmith/Desktop/add.tiff" into tUrl put length (URL ("binfile:/Users/marksmith/Desktop/add.tiff")) end mouseUp Of course, it means reading the whole file into memory, which might not always be ideal. Best, Mark On 20 Apr 2007, at 23:32, John Craig wrote: > Does anyone know of a native rev. method to obtain the size of a > file without using shell or 'the detailed files'? > > Thanks, > > JC > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Fri Apr 20 19:00:00 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Apr 2007 16:00:00 -0700 Subject: Obtaining the size of a file Message-ID: <462945F0.4080708@fourthworld.com> John Craig wrote: > Does anyone know of a native rev. method to obtain the size of a file > without using shell or 'the detailed files'? What's the objection to using 'the detailed files'? It was added to the language specifically to provide what you're looking for. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jc at spl21.net Fri Apr 20 20:45:28 2007 From: jc at spl21.net (John Craig) Date: Sat, 21 Apr 2007 01:45:28 +0100 Subject: Obtaining the size of a file In-Reply-To: <462945F0.4080708@fourthworld.com> References: <462945F0.4080708@fourthworld.com> Message-ID: <46295EA8.6010701@spl21.net> Richard Gaskin wrote: > John Craig wrote: >> Does anyone know of a native rev. method to obtain the size of a file >> without using shell or 'the detailed files'? > > What's the objection to using 'the detailed files'? > > It was added to the language specifically to provide what you're > looking for. > It's clumsy and long winded. :-) From jc at spl21.net Fri Apr 20 20:50:13 2007 From: jc at spl21.net (John Craig) Date: Sat, 21 Apr 2007 01:50:13 +0100 Subject: Obtaining the size of a file In-Reply-To: References: <46293F87.1030007@spl21.net> Message-ID: <46295FC5.5050000@spl21.net> Some of the files may be very large - making this method too slow. Mark Smith wrote: > Well, I guess the detailed files actually is the native rev method, > but this works: > > on mouseUp > put "/Users/marksmith/Desktop/add.tiff" into tUrl > put length (URL ("binfile:/Users/marksmith/Desktop/add.tiff")) > end mouseUp > > Of course, it means reading the whole file into memory, which might > not always be ideal. > > Best, > > Mark > > On 20 Apr 2007, at 23:32, John Craig wrote: > >> Does anyone know of a native rev. method to obtain the size of a file >> without using shell or 'the detailed files'? >> >> Thanks, >> >> JC >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 simplsol at aol.com Fri Apr 20 21:12:01 2007 From: simplsol at aol.com (simplsol at aol.com) Date: Fri, 20 Apr 2007 21:12:01 -0400 Subject: textHeight and textSize In-Reply-To: References: Message-ID: <8C951C9333933A5-7BC-11D2F@mblk-d42.sysops.aol.com> With textSize it's either automatic or manual. To make manual adjustments: First set choose the textFont and textSize from the Text Formatting Palette Second choose the textHeight from the Basic Properties Palette ANY change to the first palette will change the textHeight to Rev's default (not just textSize changes). You can set a typeface or font for the entire stack, rather than field by field and button by button, if you want. However any fields or buttons that already have a typeface selected will not have it overrided. So if you are going for a global typeface change run a script similar to this: repeat with i = 1 to the number of flds set the textFont of fld i to empty set the textSize of fld i to empty set the textHeight of fld i to empty end repeat Paul Looney -----Original Message----- From: fwvo at planet.nl To: use-revolution at lists.runrev.com Sent: Fri, 20 Apr 2007 8:13 AM Subject: textHeight and textSize Hi All,? ? I have some troubles with the textHeight and textSize properties.? ? The documentation says:? ? "? If you change the field's textSize, Revolution automatically sets the textHeight to trunc(4/3 * the textSize of field). For example, if the textSize is set to 12, the textHeight is set to 16 by default. If the textSize is set to 14, the textHeight is set to 18.? "? ? With some fonts this is okay, but I have some fonts with a greater textHeight/textSize ratio. For example handwriting fonts.? With these fonts the text looks not so nice in a field.? Is there a way to determine the good textHeight : textSize ratio within Revolution ?? ? Thanks for your 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? ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com. =0 From katir at hindu.org Fri Apr 20 21:13:29 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 20 Apr 2007 15:13:29 -1000 Subject: Export as JPEG can produce a format unaccepted by other photo tools In-Reply-To: <7aa52a210704171423q390aa9bbu23bd508bd87ff38a@mail.gmail.com> References: <46250A50.8090009@hrz.uni-kassel.de> <7aa52a210704171423q390aa9bbu23bd508bd87ff38a@mail.gmail.com> Message-ID: <46296539.2010903@hindu.org> Chipp Walters wrote: > export is with JPEGquality at 100. You'll see the JPEG exported from > Photoshop is much nicer than the export from Rev. > Indeed, I've confirmed this many times. This is the one deficiency in Rev that is a blocker for using it as a photo processing tool. I would love to build my own workbench for taking digital images from camera and then back out again to jpeg. But, given the degradation, it's not an option, ImageReady (uses the PS engine) is still our mainstay there. Would be great if it was ever solved... though I don't think the low-quality export issue is even on the horizon for a fix. Muse: The new bicubic quality upgrade for resizing inside Rev works though, and really well, I wonder if that algorithm might be tied into the Jpeg export and solve the quality issue? Sivakatirswami www.himalayanacademy.com From stephenREVOLUTION at barncard.com Fri Apr 20 21:16:06 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 20 Apr 2007 18:16:06 -0700 Subject: Obtaining the size of a file In-Reply-To: <46295EA8.6010701@spl21.net> References: <462945F0.4080708@fourthworld.com> <46295EA8.6010701@spl21.net> Message-ID: At 1:45 AM +0100 4/21/07, John Craig wrote: >It's clumsy and long winded. I don't think so. One can easily craft a handler to get whatever info one needs from this listing using chunk expressions... >Richard Gaskin wrote: >>John Craig wrote: >>>Does anyone know of a native rev. method to obtain the size of a >>>file without using shell or 'the detailed files'? >> >>What's the objection to using 'the detailed files'? >> >>It was added to the language specifically to provide what you're looking for. >> >It's clumsy and long winded. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Fri Apr 20 22:02:38 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Apr 2007 19:02:38 -0700 Subject: Obtaining the size of a file Message-ID: <462970BE.6030702@fourthworld.com> John Craig wrote: > Richard Gaskin wrote: >> John Craig wrote: >>> Does anyone know of a native rev. method to obtain the size of a file >>> without using shell or 'the detailed files'? >> >> What's the objection to using 'the detailed files'? >> >> It was added to the language specifically to provide what you're >> looking for. >> > It's clumsy and long winded. Revolution allows you to write your own custom commands and functions, so you can get the exact info you want in a call as simple as: get FileSize(pFilePath) Since it only takes a minute to write the dozen or so lines needed, I'll go ahead and do that for you: function FileSize pPath set the itemdel to "/" put urlEncode(last item of pPath) into tShortFileName delete last item of pPath put the directory into tSaveDir set the directory to pPath put the detailed files into tFiles set the directory to tSaveDir set the itemdel to comma put lineoffset( cr&tShortFileName&comma, cr&tFiles) into tLineNum if tLineNum > 0 then put line tLineNum of tFiles into tLine return item 2 of tLine + item 3 of tLine end if end FileSize Now you can drop than handy function into a library somewhere and use it whenever you need it. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From josh at dvcreators.net Fri Apr 20 22:59:25 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 20 Apr 2007 19:59:25 -0700 Subject: Obtaining the size of a file In-Reply-To: <462970BE.6030702@fourthworld.com> References: <462970BE.6030702@fourthworld.com> Message-ID: Here are a couple of handlers that return the "humanSize" (a nicely formatted version) of a file provided the complete file path and filename: put humanSize(tPathAndFile) into fld "file size" FUNCTION humanSize tPathAndFile put theFileDetail(tPathAndFile) into tFileDet put item 2 of tFileDet + item 3 of tFileDet into tSize IF tSize > 1000000 THEN set the numberformat to "##.##" return tSize/1000000 & " MB" ELSE set the numberformat to "##" return tSize/1000 & " KB" END IF END humanSize FUNCTION theFileDetail tPathAndFile set the itemdel to "/" put item -1 of tPathAndFile into tFile delete item -1 of tPathAndFile put "/" after tPathAndFile set the defaultfolder to tPathAndFile put the detailed files into tFiles filter tFiles with urlencode(tFile) & comma & "*" return tFiles END theFileDetail These only took a few days to write, I am not quite as fast as Richard :-) On Apr 20, 2007, at 7:02 PM, Richard Gaskin wrote: > John Craig wrote: > >> Richard Gaskin wrote: >>> John Craig wrote: >>>> Does anyone know of a native rev. method to obtain the size of a >>>> file without using shell or 'the detailed files'? >>> >>> What's the objection to using 'the detailed files'? >>> >>> It was added to the language specifically to provide what you're >>> looking for. >>> >> It's clumsy and long winded. > > Revolution allows you to write your own custom commands and > functions, so you can get the exact info you want in a call as > simple as: > > get FileSize(pFilePath) > > > Since it only takes a minute to write the dozen or so lines needed, > I'll go ahead and do that for you: > > function FileSize pPath > set the itemdel to "/" > put urlEncode(last item of pPath) into tShortFileName > delete last item of pPath > put the directory into tSaveDir > set the directory to pPath > put the detailed files into tFiles > set the directory to tSaveDir > set the itemdel to comma > put lineoffset( cr&tShortFileName&comma, cr&tFiles) into tLineNum > if tLineNum > 0 then > put line tLineNum of tFiles into tLine > return item 2 of tLine + item 3 of tLine > end if > end FileSize > > > Now you can drop than handy function into a library somewhere and > use it whenever you need it. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.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 sims at ezpzapps.com Fri Apr 20 23:57:51 2007 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 21 Apr 2007 05:57:51 +0200 Subject: connected to LAN Message-ID: <9D5D601D-E120-4B45-BF82-410326BB14AA@ezpzapps.com> I have several users of an application that is used over their specific company LAN. If they are using a laptop, Mac or PC, and then move to a different LAN can I detect that they have done so? If they have done so, I need to have them save their data in a different fashion. I suppose I am asking if there might be a specific identifying item for a LAN that I can obtain in order to do the above. I don't want to simply check for connection to a LAN but connection to a specific LAN. Network Novice here - please pardon if a naive or dumb question. ciao, sims From chipp at chipp.com Sat Apr 21 00:08:10 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 20 Apr 2007 23:08:10 -0500 Subject: Some longest common substring routines In-Reply-To: References: <20070418023527.CB2F9488FE5@mail.runrev.com> Message-ID: <7aa52a210704202108v29e1b70era574d35cdd5ec26f@mail.gmail.com> Thanks Terry. I've been spending some time developing a cross-platform set of 3D plugins using wxPython lately. Quite an experience. There are certain many things to like about Python, and even wxPython (cross platform GUI wrapper for Python using wxWidgets). But, I have to say, I'm certainly not as facile in Py scripting as I am in Revolution! One interesting thing about Python (and other true object oriented languages) is the plethora and ease of use in creating reusable classes and libraries. There are certainly many of them out there as well. Come to think of it, there are really few common libraries for use in Rev. Too bad. From chipp at chipp.com Sat Apr 21 00:15:31 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 20 Apr 2007 23:15:31 -0500 Subject: Default button placement in Linux GUIs In-Reply-To: <4624F1EF.40407@fourthworld.com> References: <4624F1EF.40407@fourthworld.com> Message-ID: <7aa52a210704202115i35347ddasf7a54c9ae5ab34f5@mail.gmail.com> I had an interesting revelation today regarding button placement and overall usability concerns. I was using a cross-platform (and custom GUI) 3D app on my Mac. I typically use it on PC. I kept hitting the wrong dialog button, because they swapped positions from PC to Mac. Interestingly, I also always have a heck of a time with Command-C vs Ctrl-C for copying as well (I do agree with Apple, Command-C is easier, it's just I'm now used to Ctrl-C). In anycase, I'm not sure dialogs are necessarily an OS specific thing anymore. I think some people who use multiple OS'es-- and there are more of these people-- may have a consistent contextual memory of button placement, rather than preferred OS placement. IOW, they relate to button placement in context of the specific app they're using, not the OS they're on. From revdev at pdslabs.net Sat Apr 21 00:25:19 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 20 Apr 2007 21:25:19 -0700 Subject: connected to LAN In-Reply-To: <9D5D601D-E120-4B45-BF82-410326BB14AA@ezpzapps.com> References: <9D5D601D-E120-4B45-BF82-410326BB14AA@ezpzapps.com> Message-ID: <4629922F.2020505@pdslabs.net> Hey Jim, Ideas: - If the LANs serve different ranges of IP addresses via DHCP, then a laptop computer's IP address will indicate which LAN they are on. - If they set up a different 'Location' on their machine for each network, you could probably detect the active one via system profiler. (On a Mac anyway) That's all I can think of at the moment. Phil Davis Jim Sims wrote: > I have several users of an application that is used over their specific > company LAN. > > > If they are using a laptop, Mac or PC, and then move to a different LAN > can I detect > that they have done so? If they have done so, I need to have them save > their data > in a different fashion. > > I suppose I am asking if there might be a specific identifying item for > a LAN that I can > obtain in order to do the above. I don't want to simply check for > connection to a LAN but > connection to a specific LAN. > > Network Novice here - please pardon if a naive or dumb question. > > ciao, > sims From chipp at chipp.com Sat Apr 21 00:44:15 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 20 Apr 2007 23:44:15 -0500 Subject: OT: Mac question Message-ID: <7aa52a210704202144w25d769faw22ec71cb4af4a96c@mail.gmail.com> Is there anyway to show the path of the folder one is navigating to on the Mac. On the PC, I have an address bar which shows the location of where I'm at. I've a couple of windows open on the Mac and I've navigated to the same subfolder, but of different directories. Other than 'backing out', is there a simple way to know what directory path one is in? TIA, Chipp From scott at cdroo.com Sat Apr 21 01:02:04 2007 From: scott at cdroo.com (Scott Kane) Date: Sat, 21 Apr 2007 15:02:04 +1000 Subject: Default button placement in Linux GUIs References: <4624F1EF.40407@fourthworld.com> <7aa52a210704202115i35347ddasf7a54c9ae5ab34f5@mail.gmail.com> Message-ID: <010e01c783d2$3692ce30$0201010a@esbgdi9s3atqpx> Hi Chipp, > In anycase, I'm not sure dialogs are necessarily an OS specific thing > anymore. I think some people who use multiple OS'es-- and there are > more of these people-- may have a consistent contextual memory of button > placement, rather than preferred OS placement. IOW, they relate > to button placement in context of the specific app they're using, not the > OS they're on. This fascinates me. To my mind I think the day will come where either the application (or the OS) will allow the user to customize this. Stuff like Boot Camp, Parrels, VMware etc are being used increasingly as well. Being able to adjust the defaults according to user pref's rather than just the local UI convention could well be a usability issue in itself as it would certainly seem this is going to be an increasing problem particularly with less sophisticated users who can not (or will not) make the mental jump. Scott From sims at ezpzapps.com Sat Apr 21 01:04:15 2007 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 21 Apr 2007 07:04:15 +0200 Subject: OT: Mac question In-Reply-To: <7aa52a210704202144w25d769faw22ec71cb4af4a96c@mail.gmail.com> References: <7aa52a210704202144w25d769faw22ec71cb4af4a96c@mail.gmail.com> Message-ID: On Apr 21, 2007, at 6:44 AM, Chipp Walters wrote: > Is there anyway to show the path of the folder one is navigating to on > the Mac. On the PC, I have an address bar which shows the location of > where I'm at. I've a couple of windows open on the Mac and I've > navigated to the same subfolder, but of different directories. Other > than 'backing out', is there a simple way to know what directory path > one is in? Command Click the name of the folder in the title bar is one way. Jim Sims Custom Software Development www.EZPZapps.com From sims at ezpzapps.com Sat Apr 21 01:10:48 2007 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 21 Apr 2007 07:10:48 +0200 Subject: connected to LAN In-Reply-To: <4629922F.2020505@pdslabs.net> References: <9D5D601D-E120-4B45-BF82-410326BB14AA@ezpzapps.com> <4629922F.2020505@pdslabs.net> Message-ID: <74A80B30-3304-41F4-A00F-0C6112D09EDB@ezpzapps.com> On Apr 21, 2007, at 6:25 AM, Phil Davis wrote: > - If the LANs serve different ranges of IP addresses via DHCP, then > a laptop computer's IP address will indicate which LAN they are on. > > - If they set up a different 'Location' on their machine for each > network, you could probably detect the active one via system > profiler. (On a Mac anyway) > > That's all I can think of at the moment. > > Phil Davis Thanks Phil, I think I might look for a file in a specific directory. If that returns with an error or is empty then I'll then do an 'else kinda thang'. Maybe that will solve my puzzle. Jim Sims Custom Software Development www.EZPZapps.com From JimAultWins at yahoo.com Sat Apr 21 01:40:49 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 20 Apr 2007 22:40:49 -0700 Subject: Obtaining the size of a file In-Reply-To: <46295FC5.5050000@spl21.net> Message-ID: This does not use shell, but similar. Another way that might help someone out there is to: on mousedoubleup answer file "choose a file" put fileSizeK(it) && "K" into msg end mousedoubleup function fileSizeK pathFN put quote into q get revMacFromUnixPath(pathFN) get ("tell app "&q&"Finder"&q&" to return the size of alias "&q& it &q) do it as applescript return (the result div 1000) end fileSizeK Jim Ault Las Vegas On 4/20/07 5:50 PM, "John Craig" wrote: > Some of the files may be very large - making this method too slow. > > Mark Smith wrote: >> Well, I guess the detailed files actually is the native rev method, >> but this works: >> >> on mouseUp >> put "/Users/marksmith/Desktop/add.tiff" into tUrl >> put length (URL ("binfile:/Users/marksmith/Desktop/add.tiff")) >> end mouseUp >> >> Of course, it means reading the whole file into memory, which might >> not always be ideal. >> >> Best, >> >> Mark >> >> On 20 Apr 2007, at 23:32, John Craig wrote: >> >>> Does anyone know of a native rev. method to obtain the size of a file >>> without using shell or 'the detailed files'? >>> >>> Thanks, >>> >>> JC >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 FlexibleLearning at aol.com Sat Apr 21 01:54:28 2007 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 21 Apr 2007 01:54:28 EDT Subject: [ANN] Scripter's Scrapbook 5.29 Update Message-ID: www.FlexibleLearning.com/ssbk or www.ssBk.co.uk UPDATE AVAILABLE Thanks to feedback, an incremental update has been uploaded and is now available that fixes some recent bugs and improves the 'interface experience'. 5.29 Update released 21-APR-2007 - Interface: Added 'Segoe UI' font support for Windows Vista in place of 'Tahoma'. - Enhancement: The Tree index now supports double-click preferences. - Bugfix: Documents that contain a comma in the file name now import as expected. - Bugfix: Unexpected double-pasting of copied text has been resolved. - Bugfix: The failure on some platform configurations to complete an update has been fixed. NEXT STEP - Registered and Trial users should update through the Help menu or in the Preferences. - New users and those interested in reviewing the changes since an earlier trial may obtain a free 30-day starter-kit at www.FlexibleLearning.com/ssbk. You will be asked if you wish to obtain the most recent version, and it will automatically download this update for you - Full size screen shots for both Mac OSX and Windows XP are at www.FlexibleLearning.com/ssbk/preview including useful mouse shortcuts illustrations. FEEDBACK Finally, if you have a moment to suggest improvements or request additional features we would very much appreciate your feedback at www.flexiblelearning.com/ssbkFeedback.htm Hugh Senior FLCo Home of the Scripter's Scrapbook From stephenREVOLUTION at barncard.com Sat Apr 21 03:08:10 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 21 Apr 2007 00:08:10 -0700 Subject: OT: Mac question In-Reply-To: <7aa52a210704202144w25d769faw22ec71cb4af4a96c@mail.gmail.com> References: <7aa52a210704202144w25d769faw22ec71cb4af4a96c@mail.gmail.com> Message-ID: Cmd-click on a finder title bar (and some apps' title bars).... >Is there anyway to show the path of the folder one is navigating to on >the Mac. On the PC, I have an address bar which shows the location of >where I'm at. I've a couple of windows open on the Mac and I've >navigated to the same subfolder, but of different directories. Other >than 'backing out', is there a simple way to know what directory path >one is in? > >TIA, Chipp -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jc at spl21.net Sat Apr 21 03:17:51 2007 From: jc at spl21.net (John Craig) Date: Sat, 21 Apr 2007 08:17:51 +0100 Subject: Obtaining the size of a file In-Reply-To: References: <462970BE.6030702@fourthworld.com> Message-ID: <4629BA9F.6020908@spl21.net> Thanks for the replies, everyone. I've written several handlers in the past for things only to discover later that there is a command that does the task in a one liner - I just never found it in the docs - so I thought I'd ask. I'm recursing through a (sometimes large) list of files and folders which can take a while, so I was trying to avoid another function call per line. JC Josh Mellicker wrote: > Here are a couple of handlers that return the "humanSize" (a nicely > formatted version) of a file provided the complete file path and > filename: > > > put humanSize(tPathAndFile) into fld "file size" > > > FUNCTION humanSize tPathAndFile > put theFileDetail(tPathAndFile) into tFileDet > put item 2 of tFileDet + item 3 of tFileDet into tSize > IF tSize > 1000000 THEN > set the numberformat to "##.##" > return tSize/1000000 & " MB" > ELSE > set the numberformat to "##" > return tSize/1000 & " KB" > END IF > END humanSize > > FUNCTION theFileDetail tPathAndFile > set the itemdel to "/" > put item -1 of tPathAndFile into tFile > delete item -1 of tPathAndFile > put "/" after tPathAndFile > set the defaultfolder to tPathAndFile > put the detailed files into tFiles > filter tFiles with urlencode(tFile) & comma & "*" > return tFiles > END theFileDetail > > > These only took a few days to write, I am not quite as fast as Richard > :-) > > On Apr 20, 2007, at 7:02 PM, Richard Gaskin wrote: > >> John Craig wrote: >> >>> Richard Gaskin wrote: >>>> John Craig wrote: >>>>> Does anyone know of a native rev. method to obtain the size of a >>>>> file without using shell or 'the detailed files'? >>>> >>>> What's the objection to using 'the detailed files'? >>>> >>>> It was added to the language specifically to provide what you're >>>> looking for. >>>> >>> It's clumsy and long winded. >> >> Revolution allows you to write your own custom commands and >> functions, so you can get the exact info you want in a call as simple >> as: >> >> get FileSize(pFilePath) >> >> >> Since it only takes a minute to write the dozen or so lines needed, >> I'll go ahead and do that for you: >> >> function FileSize pPath >> set the itemdel to "/" >> put urlEncode(last item of pPath) into tShortFileName >> delete last item of pPath >> put the directory into tSaveDir >> set the directory to pPath >> put the detailed files into tFiles >> set the directory to tSaveDir >> set the itemdel to comma >> put lineoffset( cr&tShortFileName&comma, cr&tFiles) into tLineNum >> if tLineNum > 0 then >> put line tLineNum of tFiles into tLine >> return item 2 of tLine + item 3 of tLine >> end if >> end FileSize >> >> >> Now you can drop than handy function into a library somewhere and use >> it whenever you need it. >> >> -- Richard Gaskin >> Fourth World Media Corporation >> ___________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.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 Sat Apr 21 04:03:31 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 21 Apr 2007 01:03:31 -0700 Subject: Obtaining the size of a file Message-ID: <4629C553.7070209@fourthworld.com> John Craig wrote: > I'm recursing through a (sometimes large) list of files and folders > which can take a while, so I was trying to avoid another function call > per line. A perfect case for using "the detailed files", so you can rapidly get all of the size info for an entire directory in one call, and the just format the info or calculate it however you need. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From wjm at wjm.org Sat Apr 21 04:03:26 2007 From: wjm at wjm.org (Bill Marriott) Date: Sat, 21 Apr 2007 04:03:26 -0400 Subject: Obtaining the size of a file In-Reply-To: <4629BA9F.6020908@spl21.net> References: <462970BE.6030702@fourthworld.com> <4629BA9F.6020908@spl21.net> Message-ID: John, > I'm recursing through a (sometimes large) list of files and folders which > can take a while, so I was trying to avoid another function call per line. Josh's function is pretty speedy. And, if you know you are going to process all the files in a directory, then you can store a copy of the detailed files before filtering for the specific file you want. > I've written several handlers in the past for things only to discover > later that there is a command that does the task in a one liner [...] Another way to make quick work of the detailed files is to put them into an array: put the detailed files into foobar split foobar by return and comma then you can say, get item 1 of foobar[urlencode(myFileName)] to obtain the file size. How's that for a one-liner? From JimAultWins at yahoo.com Sat Apr 21 04:14:07 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 21 Apr 2007 01:14:07 -0700 Subject: Obtaining the size of a file In-Reply-To: <4629BA9F.6020908@spl21.net> Message-ID: perhaps an applescript that did the whole list and returned one list as a result... only one handoff. Jim Ault Las Vegas On 4/21/07 12:17 AM, "John Craig" wrote: > Thanks for the replies, everyone. I've written several handlers in the > past for things only to discover later that there is a command that does > the task in a one liner - I just never found it in the docs - so I > thought I'd ask. > > I'm recursing through a (sometimes large) list of files and folders > which can take a while, so I was trying to avoid another function call > per line. > > JC > > Josh Mellicker wrote: >> Here are a couple of handlers that return the "humanSize" (a nicely >> formatted version) of a file provided the complete file path and >> filename: >> >> >> put humanSize(tPathAndFile) into fld "file size" >> >> >> FUNCTION humanSize tPathAndFile >> put theFileDetail(tPathAndFile) into tFileDet >> put item 2 of tFileDet + item 3 of tFileDet into tSize >> IF tSize > 1000000 THEN >> set the numberformat to "##.##" >> return tSize/1000000 & " MB" >> ELSE >> set the numberformat to "##" >> return tSize/1000 & " KB" >> END IF >> END humanSize >> >> FUNCTION theFileDetail tPathAndFile >> set the itemdel to "/" >> put item -1 of tPathAndFile into tFile >> delete item -1 of tPathAndFile >> put "/" after tPathAndFile >> set the defaultfolder to tPathAndFile >> put the detailed files into tFiles >> filter tFiles with urlencode(tFile) & comma & "*" >> return tFiles >> END theFileDetail >> >> >> These only took a few days to write, I am not quite as fast as Richard >> :-) >> >> On Apr 20, 2007, at 7:02 PM, Richard Gaskin wrote: >> >>> John Craig wrote: >>> >>>> Richard Gaskin wrote: >>>>> John Craig wrote: >>>>>> Does anyone know of a native rev. method to obtain the size of a >>>>>> file without using shell or 'the detailed files'? >>>>> >>>>> What's the objection to using 'the detailed files'? >>>>> >>>>> It was added to the language specifically to provide what you're >>>>> looking for. >>>>> >>>> It's clumsy and long winded. >>> >>> Revolution allows you to write your own custom commands and >>> functions, so you can get the exact info you want in a call as simple >>> as: >>> >>> get FileSize(pFilePath) >>> >>> >>> Since it only takes a minute to write the dozen or so lines needed, >>> I'll go ahead and do that for you: >>> >>> function FileSize pPath >>> set the itemdel to "/" >>> put urlEncode(last item of pPath) into tShortFileName >>> delete last item of pPath >>> put the directory into tSaveDir >>> set the directory to pPath >>> put the detailed files into tFiles >>> set the directory to tSaveDir >>> set the itemdel to comma >>> put lineoffset( cr&tShortFileName&comma, cr&tFiles) into tLineNum >>> if tLineNum > 0 then >>> put line tLineNum of tFiles into tLine >>> return item 2 of tLine + item 3 of tLine >>> end if >>> end FileSize >>> >>> >>> Now you can drop than handy function into a library somewhere and use >>> it whenever you need it. >>> >>> -- Richard Gaskin >>> Fourth World Media Corporation >>> ___________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.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 JimAultWins at yahoo.com Sat Apr 21 04:27:25 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 21 Apr 2007 01:27:25 -0700 Subject: OT: Mac question In-Reply-To: Message-ID: I fire up Path Finder when that is important. About 18 months ago I investigated any way of 3rd party or other to show the path in all that space that is available, but could find nothing. I do lots of /web/ file paths and this is a real pain. I guess it is something about a file that we are easily supposed to observe. If multiple Finder windows are open, I have found no way of displaying the full path. Another welcome feature of Path Finder is the right-click > copy path as UNIX, HFS, Terminal(spaces escaped), URL, Name Jim Ault Las Vegas On 4/21/07 12:08 AM, "Stephen Barncard" wrote: > Cmd-click on a finder title bar (and some apps' title bars).... > > >> Is there anyway to show the path of the folder one is navigating to on >> the Mac. On the PC, I have an address bar which shows the location of >> where I'm at. I've a couple of windows open on the Mac and I've >> navigated to the same subfolder, but of different directories. Other >> than 'backing out', is there a simple way to know what directory path >> one is in? >> >> TIA, Chipp From viktoras at ekoinf.net Sat Apr 21 04:31:08 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sat, 21 Apr 2007 11:31:08 +0300 (FLE Daylight Time) Subject: Obtaining the size of a file References: Message-ID: <4629CBCB.000001.03052@MAZYTIS> This is an example from documentation, assuming your file is MyFile.txt: get the detailed files filter it with "MyFile.txt,*" put item 2 of it + item 3 of it into myFileSize There is also size property which reports the amount of disk space taken by an object to judge how much memory an object takes when displayed. E.g.: get the size of image myImage However the size property of a stack does not report any meaningful value and is always 10000. All the best! Viktoras From dick.kriesel at mail.com Sat Apr 21 04:31:06 2007 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 21 Apr 2007 01:31:06 -0700 Subject: Obtaining the size of a file In-Reply-To: Message-ID: On 4/21/07 1:03 AM, "Bill Marriott" wrote: > Another way to make quick work of the detailed files is to put them into an > array: > > put the detailed files into foobar > split foobar by return and comma > > then you can say, > > get item 1 of foobar[urlencode(myFileName)] > > to obtain the file size. How's that for a one-liner? You can include the size of the Mac data fork and still use just one line: get sum(item 1 to 2 of foobar[urlencode(myFileName)]) -- Dick From fwvo at planet.nl Sat Apr 21 07:20:07 2007 From: fwvo at planet.nl (Ferdinand) Date: Sat, 21 Apr 2007 13:20:07 +0200 Subject: textHeight and textSize In-Reply-To: <8C951C9333933A5-7BC-11D2F@mblk-d42.sysops.aol.com> References: <8C951C9333933A5-7BC-11D2F@mblk-d42.sysops.aol.com> Message-ID: Thanks for your time and answer. Setting the font works fine here. I try to be more specific with my point: I need the exact line height needed for the font and font size. So the font fits exactly in the line. For example: For the font "Arial" with a size of 96 pts, the line height should be 110 pts to fit the font exactly. But for the font "Zapfino" with a size of 96 pts it should be 324 pts. And "Verdana" needs 117 pts to fit on a line. (with a font size of 96) (i checked this on the texteditor on my Mac... ) It would be nice if there was a way to find this out and program it within Revolution. Otherwise I think I need to make a table with the font name and the line height/font size ratio... I hope I made my point clear this time, and I am sorry if it was not before... thanks again for your time. Ferdinand. simplsol at aol.com wrote: > With textSize it's either automatic or manual. > To make manual adjustments: > First set choose the textFont and textSize from the Text Formatting > Palette > Second choose the textHeight from the Basic Properties Palette > ANY change to the first palette will change the textHeight to Rev's > default (not just textSize changes). > You can set a typeface or font for the entire stack, rather than > field by field and button by button, if you want. However any > fields or buttons that already have a typeface selected will not > have it overrided. So if you are going for a global typeface change > run a script similar to this: > repeat with i = 1 to the number of flds > set the textFont of fld i to empty > set the textSize of fld i to empty > set the textHeight of fld i to empty > end repeat > > Paul Looney > >> >> >> Hi All, >> >> I have some troubles with the textHeight and textSize properties. >> >> The documentation says: >> >> " >> If you change the field's textSize, Revolution automatically sets >> the textHeight to trunc(4/3 * the textSize of field). For example, >> if the textSize is set to 12, the textHeight is set to 16 by >> default. If the textSize is set to 14, the textHeight is set to 18. >> " >> >> With some fonts this is okay, but I have some fonts with a >> greater textHeight/textSize ratio. For example handwriting fonts. >> With these fonts the text looks not so nice in a field. >> Is there a way to determine the good textHeight : textSize ratio >> within Revolution ? >> >> Thanks for your help! > From sarah.reichelt at gmail.com Sat Apr 21 07:55:37 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 21 Apr 2007 21:55:37 +1000 Subject: OT: Mac question In-Reply-To: <7aa52a210704202144w25d769faw22ec71cb4af4a96c@mail.gmail.com> References: <7aa52a210704202144w25d769faw22ec71cb4af4a96c@mail.gmail.com> Message-ID: On 4/21/07, Chipp Walters wrote: > Is there anyway to show the path of the folder one is navigating to on > the Mac. On the PC, I have an address bar which shows the location of > where I'm at. I've a couple of windows open on the Mac and I've > navigated to the same subfolder, but of different directories. Other > than 'backing out', is there a simple way to know what directory path > one is in? I customize the toolbar for Finder windows to show a Path popup menu. This displays the path and allows you to navigate back through it. Cheers, Sarah From toolbook at kestner.de Sat Apr 21 08:21:02 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 21 Apr 2007 14:21:02 +0200 Subject: AW: mysterious set the clipboardData In-Reply-To: Message-ID: <001501c7840f$87c5ede0$18b2a8c0@TiemoPC2> Thank you Ken, Mark and Sarah, Text of... didn't worked for me Export... works And Sarahs trick did it too. Sarah was right, that the problem occurs only, when the image doesn't have the original size, so I choose Sarahs workaround. Did you report this bug Sarah, or shall I do it? Thank you all Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Sarah Reichelt > Gesendet: Freitag, 20. April 2007 23:44 > An: How to use Revolution > Betreff: Re: mysterious set the clipboardData > > > thought, it would be very simple, now I get a mysterious result. I have > an > > image with an assigned filename (png file). > > > > If I use: set the clipboardData["image"] to image "b1" > > > > and paste it into any graphic program, it gives me a totally black image > of > > small size (128x32px) and not the copied image. At least there is any > kind > > of "communication", because the pasted image has the same dpi, as the > source > > image > > There is some problem with copying an image if it is a referenced > image and/or it it is displayed at a different size to it's actual > pixels. Here is a routine I use, which requires a hidden image object > called "Clip" > > lock screen > put the rect of img "MyImage" into tRect > set the width of img "MyImage" to the formattedwidth of > img "MyImage" > set the height of img "MyImage" to the formattedheight of > img "MyImage" > set the width of img "Clip" to the width of img "MyImage" > set the height of img "Clip" to the height of img "MyImage" > set the imagedata of img "Clip" to the imagedata of img > "MyImage" > set the clipboardData["image"] to img "Clip" > set the filename of img "Clip" to empty > set the rect of img tImageName to tRect > > "MyImage" is an image object showing a specific image file at a > reduced size, so I expand it to full size, copy the imageData to the > "Clip" object, then set the clipboardData before restoring the > original size of the "MyImage" object. > > 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 From revlist at azurevision.co.uk Sat Apr 21 08:51:47 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Sat, 21 Apr 2007 13:51:47 +0100 Subject: OT: Mac question In-Reply-To: References: Message-ID: <621EA114-A0E4-49FD-9B58-F36276D486BC@azurevision.co.uk> On 21 Apr 2007, at 09:27, Jim Ault wrote: > Another welcome feature of Path Finder is the right-click > copy > path as > UNIX, HFS, Terminal(spaces escaped), URL, Name On that subject, Path Snagger is a great donationware preference pane that adds a contextual menu item to the Finder, to copy Unix paths, HFS paths and URL paths, with options for escaped spaces etc. Ian From rjb at robelko.com Sat Apr 21 09:18:20 2007 From: rjb at robelko.com (Robert Brenstein) Date: Sat, 21 Apr 2007 15:18:20 +0200 Subject: OT: Mac question In-Reply-To: References: <7aa52a210704202144w25d769faw22ec71cb4af4a96c@mail.gmail.com> Message-ID: >On Apr 21, 2007, at 6:44 AM, Chipp Walters wrote: > >>Is there anyway to show the path of the folder one is navigating to on >>the Mac. On the PC, I have an address bar which shows the location of >>where I'm at. I've a couple of windows open on the Mac and I've >>navigated to the same subfolder, but of different directories. Other >>than 'backing out', is there a simple way to know what directory path >>one is in? > >Command Click the name of the folder in the title bar is one way. > Another option is to edit the window toolbar in Finder ("Customize Toolbar" in the "View" menu) and add the "path" popup button. Robert From pepetoo at Cox.Net Sat Apr 21 11:02:08 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sat, 21 Apr 2007 08:02:08 -0700 Subject: OT: Mac question In-Reply-To: References: <7aa52a210704202144w25d769faw22ec71cb4af4a96c@mail.gmail.com> Message-ID: <0C3A50AC-1BC9-47F0-A2DA-826EF411EB8A@Cox.Net> Though this works; even with most OSX compliant application documents, one of the first complaints I had with Rev was that it does not work when you have a Rev Stack open. This should not be a truly difficult fix I should think. Joe Wilkins On Apr 21, 2007, at 12:08 AM, Stephen Barncard wrote: > Cmd-click on a finder title bar (and some apps' title bars).... From ambassador at fourthworld.com Sat Apr 21 13:22:50 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 21 Apr 2007 10:22:50 -0700 Subject: OT: Mac question Message-ID: <462A486A.1090409@fourthworld.com> Joe Lewis Wilkins wrote: > Though this works; even with most OSX compliant application > documents, one of the first complaints I had with Rev was that it > does not work when you have a Rev Stack open. This should not be a > truly difficult fix I should think. Wow. I knew about Cmd-click in the title for Finder windows, but never knew that was a standard behavior across most apps. So cool. With Rev it may be challenging to determine when to support this, since a stack file can contain multiple stacks. But if we came up with a rule that made sense, or maybe better a property of mainstacks, I'd vote for the BZ suggestion. Now that I know about this I want it for the document windows in my Rev-based apps, and I'll bet some of my cusyomers do too. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From JimAultWins at yahoo.com Sat Apr 21 15:22:10 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 21 Apr 2007 12:22:10 -0700 Subject: OT: Mac question In-Reply-To: <462A486A.1090409@fourthworld.com> Message-ID: On 4/21/07 10:22 AM, "Richard Gaskin" wrote: > Joe Lewis Wilkins wrote: >> Though this works; even with most OSX compliant application >> documents, one of the first complaints I had with Rev was that it >> does not work when you have a Rev Stack open. This should not be a >> truly difficult fix I should think. > > Wow. I knew about Cmd-click in the title for Finder windows, but never > knew that was a standard behavior across most apps. So cool. > > With Rev it may be challenging to determine when to support this, since > a stack file can contain multiple stacks. But if we came up with a rule > that made sense, or maybe better a property of mainstacks, I'd vote for > the BZ suggestion. > > Now that I know about this I want it for the document windows in my > Rev-based apps, and I'll bet some of my cusyomers do too. In some of my apps (for myself) and clients I want to be able to know which folder the stack is running from so I put a field at the top called "appLocation", shared = true, in a group by itself, behave as background = true. on openstack put the effective filename of this stack into fld "appLocation" --the effective filename = the mainstack for substacks When the content of a card is linked to a folder on the hard drive, I do the same thing (but not shared text) on opencard or closefield, etc. Jim Ault Las Vegas From katir at hindu.org Sat Apr 21 15:24:58 2007 From: katir at hindu.org (Sivakatirswami) Date: Sat, 21 Apr 2007 09:24:58 -1000 Subject: connected to LAN In-Reply-To: <4629922F.2020505@pdslabs.net> References: <9D5D601D-E120-4B45-BF82-410326BB14AA@ezpzapps.com> <4629922F.2020505@pdslabs.net> Message-ID: <462A650A.3010708@hindu.org> > Jim Sims wrote: >> >> I suppose I am asking if there might be a specific identifying item >> for a LAN that I can >> obtain in order to do the above. I don't want to simply check for >> connection to a LAN but >> connection to a specific LAN. I use ping files on the servers on the LANs. This assume of course you can set this up in advance. If your app finds /Volumes/Varuna/WWW/ping.txt then you know your are there. If your app can't find that file the you try /Volumes/LAN2/WWW/ping.txt. From katir at hindu.org Sat Apr 21 15:25:04 2007 From: katir at hindu.org (Sivakatirswami) Date: Sat, 21 Apr 2007 09:25:04 -1000 Subject: OT: Mac question In-Reply-To: References: Message-ID: <462A6510.5020808@hindu.org> Jim Ault wrote: > I fire up Path Finder when that is important. > About 18 months ago I investigated any way of 3rd party or other to show the > path in all that space that is available, but could find nothing. I do lots > of /web/ file paths and this is a real pain. I guess it is something about > a file that we are easily supposed to observe. If multiple Finder windows > are open, I have found no way of displaying the full path. > > Another welcome feature of Path Finder is the right-click > copy path as > UNIX, HFS, Terminal(spaces escaped), URL, Name I have this same need.. all the time. I have a small rev utility "Favorites" that is always open. Among other things it as this drop field: --> all handlers on dragEnter set the acceptDrop to true end dragEnter on dragDrop put dragData["files"] into tPaths set the clipboarddata["text"] to tPaths put tPaths into me end dragDrop I just drag folders or file(s) onto this and my clipboard is loaded. > Jim Ault > Las Vegas > > > On 4/21/07 12:08 AM, "Stephen Barncard" > wrote: > >> Cmd-click on a finder title bar (and some apps' title bars).... >> >> >>> Is there anyway to show the path of the folder one is navigating to on >>> the Mac. On the PC, I have an address bar which shows the location of >>> where I'm at. I've a couple of windows open on the Mac and I've >>> navigated to the same subfolder, but of different directories. Other >>> than 'backing out', is there a simple way to know what directory path >>> one is in? >>> >>> TIA, Chipp > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Om shanti (In Peace) Sivakatirswami www.himalayanacademy.com Get Hinduism Today Digital Edition. It's Free! http://www.hinduismtoday.com/digital/ From chipp at chipp.com Sat Apr 21 16:04:42 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 21 Apr 2007 15:04:42 -0500 Subject: OT: Mac question In-Reply-To: <462A6510.5020808@hindu.org> References: <462A6510.5020808@hindu.org> Message-ID: <7aa52a210704211304i55d0f1ebqde4edf3dff83f10e@mail.gmail.com> Thanks everyone for your helpful tips!!!! Much appreciated :-) From pepetoo at Cox.Net Sat Apr 21 16:27:17 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sat, 21 Apr 2007 13:27:17 -0700 Subject: OT: Mac question In-Reply-To: <462A486A.1090409@fourthworld.com> References: <462A486A.1090409@fourthworld.com> Message-ID: Maybe I exaggerated a bit; but even in 9.2 AppleWorks had that function and it continues with OSX and some other Apple apps. I don't know about 3rd party apps. I know that my favorite, MacDraft doesn't have that feature. Still, they all should IMO. Joe Wilkins On Apr 21, 2007, at 10:22 AM, Richard Gaskin wrote: > Joe Lewis Wilkins wrote: > > Though this works; even with most OSX compliant application > > documents, one of the first complaints I had with Rev was that it > > does not work when you have a Rev Stack open. This should not be a > > truly difficult fix I should think. > > Wow. I knew about Cmd-click in the title for Finder windows, but > never knew that was a standard behavior across most apps. So cool. > > With Rev it may be challenging to determine when to support this, > since a stack file can contain multiple stacks. But if we came up > with a rule that made sense, or maybe better a property of > mainstacks, I'd vote for the BZ suggestion. > > Now that I know about this I want it for the document windows in my > Rev-based apps, and I'll bet some of my cusyomers do too. From Stgoldberg at aol.com Sat Apr 21 22:59:34 2007 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sat, 21 Apr 2007 22:59:34 EDT Subject: Automatically setting screen resolution Message-ID: Sorry if I may have missed this topic in a previous forum. I'd appreciate any help on the following question: The standalones that I am creating require a screen resolution of 1024 x 768 or higher to properly fit on the screen. Since some people may have their monitors set to a lower resolution, I've been including a "ReadMeFirst" file explaining the need for them to reset their monitors to the higher resolution. Is there a way within Revolution to automatically set the resolution to 1024x768 (and then convert it back to the original resolution when the standalone closes)? I've been finding Revolution enormously helpful in preparing programs in medical education. At this time all the CDs in my company (MedMaster) are in Revolution. There are a few free downloads on the MedMaster web site if anyone is interested. Thanks very much. Steve Goldberg, MD, President MedMaster Inc www.medmaster.net ************************************** See what's free at http://www.aol.com. From pepetoo at Cox.Net Sat Apr 21 23:16:09 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sat, 21 Apr 2007 20:16:09 -0700 Subject: Automatically setting screen resolution In-Reply-To: References: Message-ID: <1E1AF5DC-4625-45B0-9CB2-77B8881D43A6@Cox.Net> Steve, In my opinion as a very long time user of a great many different programs, I believe handling it as you have with a ReadMe instruction, is probably the best method. I have encountered a few programs that automatically make the change "for me", and I've always hated it. I prefer to be in control - ALWAYS - since there can be other things affected by a change in resolution beyond what the programmer may have taken into consideration. Remember, just because your program is opened, that doesn't mean the user will stay there until they close it. Another approach would be to check the resolution on startup and provide a dialog informing the user to make the change. At this point the dialog could allow to stop the program and do the change themselves, or to continue and have the resolution changed for them. This would be acceptable. Of course, if the resolution IS the desired one, no dialog would appear in the first place. Joe Wilkins On Apr 21, 2007, at 7:59 PM, Stgoldberg at aol.com wrote: > Sorry if I may have missed this topic in a previous forum. I'd > appreciate > any help on the following question: The standalones that I am > creating require > a screen resolution of 1024 x 768 or higher to properly fit on the > screen. > Since some people may have their monitors set to a lower > resolution, I've been > including a "ReadMeFirst" file explaining the need for them to > reset their > monitors to the higher resolution. Is there a way within > Revolution to > automatically set the resolution to 1024x768 (and then convert it > back to the original > resolution when the standalone closes)? > I've been finding Revolution enormously helpful in preparing > programs in > medical education. At this time all the CDs in my company > (MedMaster) are in > Revolution. There are a few free downloads on the MedMaster web > site if anyone > is interested. Thanks very much. > Steve Goldberg, MD, President > MedMaster Inc > www.medmaster.net > > > ************************************** > See what's free at > http://www.aol.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 brentj84062 at gmail.com Sat Apr 21 23:28:01 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Sat, 21 Apr 2007 21:28:01 -0600 Subject: Automatically setting screen resolution In-Reply-To: References: Message-ID: <47363DE3-D630-42C0-B107-3AD35D42C97A@gmail.com> Hello. First of all, adjusting screen resolution can make your user annoyed and can cause unforeseeable issues on their computer. The ReadMe would be good, but a dialog asking them if they want the software to change their resolution or to adjust it themselves and then relaunch would be preferable. To change it yourself, you have to use a little external help. There was a way to accomplish this using a tool called CScreen. It was a command line executable invoked via the shell and it did the job very well. Unfortunately, the author has dropped the code from his website. The internet is a great thing, however, and an executable version has resurfaced at the following address: http://forums.macosxhints.com/attachment.php? attachmentid=1416&d=1156306718 This executable will work for Mac OS X and should work for Unix/ Linux. I do not know of a solution for Windows, however it is very possible that you could achieve the same effect with VBScript. Thanks, Brent Anderson Fiery Ferret From scott at cdroo.com Sat Apr 21 23:54:10 2007 From: scott at cdroo.com (Scott Kane) Date: Sun, 22 Apr 2007 13:54:10 +1000 Subject: Automatically setting screen resolution References: Message-ID: <004c01c78491$e4a32550$0201010a@esbgdi9s3atqpx> > Is there a way within Revolution to automatically set the resolution to > 1024x768 (and then convert it back to the original > resolution when the standalone closes)? To give an precise example of where automatic resolution changing would be disastrous - if I have open one of my programming languages (say Borland Delphi) with a project I'm working on and I run your program you will *destroy* the resources in my program in such a way as to make me have to completely redesign the user interface as the scaling will be all over the place. While I can probably do this OK it would annoy me immensely and a less experienced person using the IDE would have bigger problems. IMHO programs should *never* dictate to the user. They should politely ask or display a readme or message dialog asking me to fix the resolution to see the program properly. Scott From kray at sonsothunder.com Sun Apr 22 01:43:51 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 22 Apr 2007 00:43:51 -0500 Subject: Automatically setting screen resolution In-Reply-To: References: Message-ID: <20070422004351371791.2cbc9ac7@sonsothunder.com> On Sat, 21 Apr 2007 22:59:34 EDT, Stgoldberg at aol.com wrote: > Is there a way within Revolution to automatically set the resolution > to 1024x768 (and then convert it back to the original > resolution when the standalone closes)? It's funny you mention this - I just posted an answer to this in the MetaCard list. You've already gotten all the caveats from others on this list, so if you really want to do it, here's how: For OS X you can download and implement Jon's Commands X with AppleScript (http://www.seanet.com/~jonpugh/). He has an AppleScript command called "screen list" that lets you get data on one or more screens, and "set screens to" to change them. Or you can use the 'cscreen' command line application, although the original developer has gone "off the grid" and his site is nowhere to be found (but you might be able to scare it up with a web search). For Windows, you can use one of these three third-party command line executables ("MultiRes", "Resolution Changer", or "VidRes"): http://www.entechtaiwan.com/files/multires.exe http://www.myitforum.com/inc/upload/1365Vidchng.zip http://www.jddesign.co.uk/ HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From chipp at chipp.com Sun Apr 22 02:12:54 2007 From: chipp at chipp.com (Chipp Walters) Date: Sun, 22 Apr 2007 01:12:54 -0500 Subject: OT: PathFinder Message-ID: <7aa52a210704212312g1b1e831eka6d5ba5e66f4f8a2@mail.gmail.com> I ran across this Mac Finder replacement, called PathFinder, and I can finally manage files on my Mac! Turns out there are many Windows users who hate the limitations the Finder forces on users. I have to say, if you haven't tried it, I would suggest giving it a whirl. Wish Apple would buy it. -Chipp From chipp at chipp.com Sun Apr 22 02:13:48 2007 From: chipp at chipp.com (Chipp Walters) Date: Sun, 22 Apr 2007 01:13:48 -0500 Subject: OT: PathFinder In-Reply-To: <7aa52a210704212312g1b1e831eka6d5ba5e66f4f8a2@mail.gmail.com> References: <7aa52a210704212312g1b1e831eka6d5ba5e66f4f8a2@mail.gmail.com> Message-ID: <7aa52a210704212313y2440df67pd2db65d7d8565dad@mail.gmail.com> OOPS, forgot to mention Thanks to Jim Ault for his recommendation. Thanks Jim! From JimAultWins at yahoo.com Sun Apr 22 02:57:32 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 21 Apr 2007 23:57:32 -0700 Subject: OT: PathFinder In-Reply-To: <7aa52a210704212313y2440df67pd2db65d7d8565dad@mail.gmail.com> Message-ID: On 4/21/07 11:13 PM, "Chipp Walters" wrote: > OOPS, forgot to mention Thanks to Jim Ault for his recommendation. > > Thanks Jim! Glad you like some of the features. I find that sooo many of the Path Finder features are addictive. Tabbed folder definitions Wonderful preview drawer(s) Previews include loading web pages, swfs, jpgs, and text files. Full path is not only visible, but clickable to move up and down instantly. View settings galore. Not much you can't tweak to get what you want. And for those who like 'Find' instead of Spotlight, try cmd-F. Both methods are available. Jim Ault Las Vegas From jiro at ronri-kobo.com Sun Apr 22 04:29:33 2007 From: jiro at ronri-kobo.com (Jiro Harada) Date: Sun, 22 Apr 2007 17:29:33 +0900 Subject: F-ab 2.1.0 available for download Message-ID: <6C5CE743-6AC8-41D6-B26F-A2577AC9C17F@ronri-kobo.com> Hello, I am pleased to announce the release 2.1.0 of F-ab. F-ab is a simple browser for Flash movies. This browser is created with Runtime Revolution(2.7.4). Now you can see 1000 high quality Flash movies or more through this browser. This application is a freeware. It is downloadable at the following web site: http://www.f-ab.net System Requirements: OS: Windows XP, Vista, Mac OS 10.4.5 or later Memory: 512 MB of RAM or more Display: 1024 x 768 or larger Java vm: Java Runtime Environment 5 or 6 Limitations: 1) Flash movies in F-ab do not always work like on web browsers, because F-ab has no JavaScript engine. 2) The category search in F-ab does not work properly, because every Flash movie is not yet categorized. 3) Don't install F-ab into the "Program Files" folder on Windows Vista. The "VirtualStore" of Vista will prevent F-ab from updating automatically. I apologize for wasting your time regarding the previous versions (2.0.4) of F-ab. The previous F-ab for Windows could not start without the latest C Runtime Library of Microsoft Visul C++ 2005. The previous F-ab for Mac OS hung up to terminate Flash movies under certain conditions. This problem happens also on Safari with Flash Player 9.0.xx. The new versions were tested with 1000 Flash movies or more and a lot of bugs were fixed. The new F-ab for Windows does not require that runtime library. The new F-ab for Mac OS uses Flash Player 8.0.xx instead of 9.0.xx to evade that problem. Best regards, Jiro Harada From chipp at chipp.com Sun Apr 22 04:50:45 2007 From: chipp at chipp.com (Chipp Walters) Date: Sun, 22 Apr 2007 03:50:45 -0500 Subject: OT: PathFinder In-Reply-To: References: <7aa52a210704212313y2440df67pd2db65d7d8565dad@mail.gmail.com> Message-ID: <7aa52a210704220150mfee0fdcm35eb5e59df816ce0@mail.gmail.com> OK, now I'm really hooked...looking for something similar on PC. From geradamas at yahoo.com Sun Apr 22 05:53:26 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 22 Apr 2007 10:53:26 +0100 (BST) Subject: Pathfinder / Path Finder Message-ID: <979128.74682.qm@web37506.mail.mud.yahoo.com> This makes me think of Marsupial Sabre-Tooth Tigers and theories of convergent evolution: This is the link for "Pathfinder", a FREE utility which can - find you the path - (Cheap Jacks like me will probably feel good about this) http://s.sudre.free.fr/Software/WBVarious.html This is the link for "Path Finder", a PAY-FOR-IT-BUT-GET-MORE-THAN-THE-FREE-THING, and, presumably, is the one mentioned in the previous postings: http://www.cocoatech.com/ sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From geradamas at yahoo.com Sun Apr 22 06:05:42 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 22 Apr 2007 11:05:42 +0100 (BST) Subject: 15 minutes on Sunday - more path finding Message-ID: <732738.67662.qm@web37501.mail.mud.yahoo.com> http://rixstep.com/4/0/xfile/ : $80 http://www.ragesw.com/explorer.php/ : $16 http://alphaomega.software.free.fr/index.php ('Get File Path') : ?15 ____________________ err - just drag the file / folder onto the Terminal window!!! FREE ! ---------------- sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From jc at spl21.net Sun Apr 22 06:35:46 2007 From: jc at spl21.net (John Craig) Date: Sun, 22 Apr 2007 11:35:46 +0100 Subject: Obtaining the size of a file In-Reply-To: <4629C553.7070209@fourthworld.com> References: <4629C553.7070209@fourthworld.com> Message-ID: <462B3A82.8040308@spl21.net> Maybe I should have said 'another lengthy function call per line'... I already use a cached file list, but if I hit a folder with thousands of files in it and only need the size of 1 file in that particular folder, it seems like wasted CPU time to pull the entire folder contents. Richard Gaskin wrote: > John Craig wrote: >> I'm recursing through a (sometimes large) list of files and folders >> which can take a while, so I was trying to avoid another function >> call per line. > > A perfect case for using "the detailed files", so you can rapidly get > all of the size info for an entire directory in one call, and the just > format the info or calculate it however you need. > From viktoras at ekoinf.net Sun Apr 22 07:23:00 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sun, 22 Apr 2007 14:23:00 +0300 (FLE Daylight Time) Subject: Irregularly shaped hotspots on image References: <7aa52a210704220150mfee0fdcm35eb5e59df816ce0@mail.gmail.com> Message-ID: <462B4593.000001.03192@MAZYTIS> Is there a "standard" method of setting irregularly shaped invisible hotspots on images displayed on a stack ? I have a few images with lots of fish on them. Need to highlight each fish and display its name on mouseEnter. Now I am drawing a polygon around each fish, setting its tool tip to fish name and putting a script that passes the long id of the polygon to a handler to change polygon's ink from noop to blend. And vice versa on mouseLeave. Additionally it displays contents of polygon's tooltip in a separate field (in case the tooltip does not appear immediately on mousenter). The drawback of this approach is that while highlights are irregular, hotspots are still rectangular and sometimes hotspot of a large fish blocks all the small fishes around. So I have to adjust ordering of polygons sending larger to back and bringing the smallest to front to avoid blocking. Are there other alternative techniques ? Best! Viktoras From ambassador at fourthworld.com Sun Apr 22 09:52:10 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 22 Apr 2007 06:52:10 -0700 Subject: Obtaining the size of a file Message-ID: <462B688A.2040209@fourthworld.com> John Craig wrote: > Maybe I should have said 'another lengthy function call per line'... > I already use a cached file list, but if I hit a folder with thousands > of files in it and only need the size of 1 file in that particular > folder, it seems like wasted CPU time to pull the entire folder contents. Maybe, and maybe not. I thought I'd read a recent post from you where you'd said you needed this info for thousands of files across multiple directories, no? If so, while the overhead of the function call is modest for a single file (and might be made faster with your Bugzilla request for a one-liner -- what's that BZ #?), if you need to do this for every file in a directory then obtaining all of that info in one call would seem rather ideal, yes? Can you tell us a bit more about this circumstance in which you need to obtain this information for thousands of file in a directory, but not all at once, and in a context in which the roughly quarter of a millisecond even my long version takes would be prohibitive? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From david at dvglasgow.wanadoo.co.uk Sun Apr 22 11:22:26 2007 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Sun, 22 Apr 2007 16:22:26 +0100 Subject: Bespoke front end for rev & non rev apps In-Reply-To: <20070421170331.E0A86488EEE@mail.runrev.com> References: <20070421170331.E0A86488EEE@mail.runrev.com> Message-ID: Revistas, I have been approached to write a front end for a number of programs, most of which are/ will be stacks or rev apps, but not all. Some will be programs from other developers. The front end will simply be a single point from which a number of assessment programs start, and to which the user returns when they quit any given program. I think I can work out (from stuff on the list) how to launch a non rev program, but is there a way to return to the Rev front end after the user has finished, which doesn't require the active non rev program to do anything other than quit? I thought about the front end sitting invisible in the background doing a regular test using 'send in' to see if the non rev prog was still running...and then.....? If that isn't feasible, what should I ask the developers of the non rev app to do to pass control back to the front end? Windows will be the main OS, but OS X/Applescript suggestions would also be of interest. Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From nealk3nc at gmail.com Sun Apr 22 11:33:49 2007 From: nealk3nc at gmail.com (Neal Campbell K3NC) Date: Sun, 22 Apr 2007 11:33:49 -0400 Subject: OT: PathFinder In-Reply-To: References: Message-ID: I have been using it almost a year now. By far the most addictive feature for me is the drop stack, where you can drag files to it as you browse and then grab the stack to copy somewhere else. Its kinda like a pop file browser! Neal Campbell K3NC nealk3nc at gmail.com telnet to our DX Spotting clusters at: dxc.k3nc.com, ports 12001 and 23 "Devoted to Dogs: How to be your dog's best owner" Great Dog Book at www.abrohamneal.com On Apr 22, 2007, at 2:57 AM, Jim Ault wrote: > > > On 4/21/07 11:13 PM, "Chipp Walters" wrote: > >> OOPS, forgot to mention Thanks to Jim Ault for his recommendation. >> >> Thanks Jim! > > Glad you like some of the features. > > I find that sooo many of the Path Finder features are addictive. > > Tabbed folder definitions > Wonderful preview drawer(s) > Previews include loading web pages, swfs, jpgs, and text files. > Full path is not only visible, but clickable to move up and down > instantly. > View settings galore. Not much you can't tweak to get what you want. > > And for those who like 'Find' instead of Spotlight, try cmd-F. > Both methods > are available. > > 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 kray at sonsothunder.com Sun Apr 22 12:13:22 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 22 Apr 2007 11:13:22 -0500 Subject: OT: PathFinder In-Reply-To: References: Message-ID: <20070422111322165888.3d777eab@sonsothunder.com> On Sun, 22 Apr 2007 11:33:49 -0400, Neal Campbell K3NC wrote: > I have been using it almost a year now. Yeah, me too... I love the abilty to drag folders into the tab area so I can make "release folder sets" for my software. > By far the most addictive > feature for me is the drop stack, where you can drag files to it as > you browse and then grab the stack to copy somewhere else. Its kinda > like a pop file browser! I use the image previewer a lot; not only does it show me the image, but also all the info about it (size, bit depth, etc.). A really wonderful program! Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sun Apr 22 12:21:26 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 22 Apr 2007 11:21:26 -0500 Subject: Bespoke front end for rev & non rev apps In-Reply-To: References: <20070421170331.E0A86488EEE@mail.runrev.com> Message-ID: <20070422112126477784.44762fa1@sonsothunder.com> On Sun, 22 Apr 2007 16:22:26 +0100, David Glasgow wrote: > I think I can work out (from stuff on the list) how to launch a non > rev program, but is there a way to return to the Rev front end after > the user has finished, which doesn't require the active non rev > program to do anything other than quit? Well, yes - there are a couple of ways to do this, but it breaks down into two pieces: knowing when the non-Rev program has quit, and activating your Rev app (bringing it to the front). Take a look at the following tips for info on how to do this: "Understanding Processes" http://www.sonsothunder.com/devres/revolution/tips/proc005.htm "Getting a List of Running Applications" http://www.sonsothunder.com/devres/revolution/tips/proc002.htm "Making an App Come to the Foreground" http://www.sonsothunder.com/devres/revolution/tips/proc001.htm HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From stephenREVOLUTION at barncard.com Sun Apr 22 12:28:11 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 22 Apr 2007 09:28:11 -0700 Subject: Obtaining the size of a file In-Reply-To: <462B3A82.8040308@spl21.net> References: <4629C553.7070209@fourthworld.com> <462B3A82.8040308@spl21.net> Message-ID: I think, at least in MacOSX, that this is just the form any application gets this information', including the finder. It looks very suspiciously like the dump you get when you type "ls -l" in the terminal window. Something has to 'waste the time' getting this information....be it rev, the command line or another app. >Maybe I should have said 'another lengthy function call per line'... >I already use a cached file list, but if I hit a folder with >thousands of files in it and only need the size of 1 file in that >particular folder, it seems like wasted CPU time to pull the entire >folder contents. > > > >Richard Gaskin wrote: >>John Craig wrote: >>>I'm recursing through a (sometimes large) list of files and >>>folders which can take a while, so I was trying to avoid another >>>function call per line. >> >>A perfect case for using "the detailed files", so you can rapidly >>get all of the size info for an entire directory in one call, and >>the just format the info or calculate it however you need. >> -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From scott at tactilemedia.com Sun Apr 22 12:54:36 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 22 Apr 2007 09:54:36 -0700 Subject: Irregularly shaped hotspots on image In-Reply-To: <462B4593.000001.03192@MAZYTIS> Message-ID: Recently, Viktoras Didziulis wrote: > Is there a "standard" method of setting irregularly shaped invisible > hotspots on images displayed on a stack ? > > I have a few images with lots of fish on them. Need to highlight each fish > and display its name on mouseEnter. Now I am drawing a polygon around each > fish, setting its tool tip to fish name and putting a script that passes the > long id of the polygon to a handler to change polygon's ink from noop to > blend. And vice versa on mouseLeave. Additionally it displays contents of > polygon's tooltip in a separate field (in case the tooltip does not appear > immediately on mousenter). > > The drawback of this approach is that while highlights are irregular, > hotspots are still rectangular and sometimes hotspot of a large fish blocks > all the small fishes around. So I have to adjust ordering of polygons > sending larger to back and bringing the smallest to front to avoid blocking. > Are there other alternative techniques ? What version of Rev are you using? If I understand what you're doing, the technique you describe *should* work in Rev 2.7 and later because mouse detection in graphic objects was changed to use the real pixels occupied by the graphics, as opposed to their rects. If you're using Rev 2.6, you'll need to use images that contain transparency to define your hotspots (PNG or GIF) as the mouse will be detected on the non-transparent pixels. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From sanke at hrz.uni-kassel.de Sun Apr 22 14:10:06 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 22 Apr 2007 20:10:06 +0200 Subject: Irregularly shaped hotspots on image Message-ID: <462BA4FE.2090608@hrz.uni-kassel.de> On Sun Apr 22, 2007, Viktoras Didziulis viktoras at ekoinf.net wrote: > Is there a "standard" method of setting irregularly shaped invisible > hotspots on images displayed on a stack ? > > I have a few images with lots of fish on them. Need to highlight each fish > and display its name on mouseEnter. Now I am drawing a polygon around each > fish, setting its tool tip to fish name and putting a script that > passes the > long id of the polygon to a handler to change polygon's ink from noop to > blend. And vice versa on mouseLeave. Additionally it displays contents of > polygon's tooltip in a separate field (in case the tooltip does not appear > immediately on mousenter). > > The drawback of this approach is that while highlights are irregular, > hotspots are still rectangular and sometimes hotspot of a large fish > blocks > all the small fishes around. So I have to adjust ordering of polygons > sending larger to back and bringing the smallest to front to avoid > blocking. > Are there other alternative techniques ? > > Best! > Viktoras Your approach should indeed work even with older versions of Rev and Metacard, I just tested in Rev 2.6.1 and Metacard 2.6.6. The rectangle of the irregular graphic is *not* relevant, only the (filled) shape of the graphic will trigger the tooltip. An alternative approach would be not to use tooltips, but to name the graphics and to show and hide the names on mouseenter and mouseleave. I have implemented a similar way in stack "Image and Words" (), created a couple of years ago. Regards, Wilhelm Sanke From sanke at hrz.uni-kassel.de Sun Apr 22 14:42:02 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 22 Apr 2007 20:42:02 +0200 Subject: problems with grouped images Message-ID: <462BAC7A.5060104@hrz.uni-kassel.de> 1. For some reason I have grouped an image where the group as the owner has a locked (fixed) rectangle. Imported images - by setting the filename of the one image - can be of different size and larger or smaller than the group rect. I want the imported image to be centered, i.e. its loc set to the loc of the group (which has scrollbars to move a larger image if necessary after importing). "set the loc of image "one" to the loc of group "imagegroup"". This works for images larger than the group rect, however, when the image is smaller the image is placed with its topleft near to the topleft of the group with a distance of 4 pixels. Using the message box to reset the loc to the loc of the group has no effect, but "move image "one" to the loc of group "imagegroup"" works. Has anybody seen that, too? This seems to be a bug. 2. Is there a possibility to draw graphics on a grouped image while it is grouped? If you use the paint tools, graphics are drawn, but in a new image. If you script the drawing - using e.g. "choose rectangle tool" and "drag from x,y to x2,y2" - nothing happens at all, even if you before "select" the grouped image. If there are other non-grouped images present, the topmost will receive the dragging command. Any ideas for a third way to draw graphics on a grouped image? Regards, Wilhelm Sanke From bobwarren at howsoft.com Sun Apr 22 14:45:30 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Sun, 22 Apr 2007 15:45:30 -0300 Subject: [OT] ps2 mouse does not work in Feisty FINAL VERSION Message-ID: <462BAD4A.9000702@howsoft.com> Ironically, line 2 in paragraph 4 of my previous post has a BUG in it! :-[ I should have said "you" rather than "your". But at least you cannot complain about any delay in fixing it. O:-) Bob From jacque at hyperactivesw.com Sun Apr 22 15:04:35 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 22 Apr 2007 14:04:35 -0500 Subject: Visual effect dissolve slowing down Message-ID: <462BB1C3.5010601@hyperactivesw.com> I have a series of stacks that use the dissolve visual effect to transition from one to another in the same window. My client says that recently dissolves that used to take about half a second are now taking over 2 seconds. This is on a Windows machine. I haven't made any changes to the navigation commands, and the dissolves on my machine run just as fast they used to, so I have to assume it is something on his system setup. Does anyone know what might cause this? QT is installed on his machine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jc at spl21.net Sun Apr 22 15:11:54 2007 From: jc at spl21.net (John Craig) Date: Sun, 22 Apr 2007 20:11:54 +0100 Subject: Obtaining the size of a file In-Reply-To: <462B688A.2040209@fourthworld.com> References: <462B688A.2040209@fourthworld.com> Message-ID: <462BB37A.2040204@spl21.net> It's an app where files and folders are selected as part of a backup process. Folders can be selected, in which case the entire folder contents would be used. In the case of individual files (or just a few) selected in any given folder, only info for those specific files are required. The app should be capable of running on a basic (possibly ancient) machine, so any speed improvements are a bonus. I appreciate all the responses - they are helpful and useful, but you seem a bit over protective of rev for some bizarre reason - I can't think why anyone would argue against having a concise one line function call for something this basic. Looking at how this thread turned out from a question where the answer appears to be 'No' now makes me think that the detailed files isn't so long winded after all :-) This link may help you to relax a bit ;-) http://www.emanator.demon.co.uk/bigclive/tickle.htm Have fun, JC Richard Gaskin wrote: > John Craig wrote: >> Maybe I should have said 'another lengthy function call per line'... >> I already use a cached file list, but if I hit a folder with >> thousands of files in it and only need the size of 1 file in that >> particular folder, it seems like wasted CPU time to pull the entire >> folder contents. > > Maybe, and maybe not. I thought I'd read a recent post from you where > you'd said you needed this info for thousands of files across multiple > directories, no? > > If so, while the overhead of the function call is modest for a single > file (and might be made faster with your Bugzilla request for a > one-liner -- what's that BZ #?), if you need to do this for every file > in a directory then obtaining all of that info in one call would seem > rather ideal, yes? > > Can you tell us a bit more about this circumstance in which you need > to obtain this information for thousands of file in a directory, but > not all at once, and in a context in which the roughly quarter of a > millisecond even my long version takes would be prohibitive? > From jc at spl21.net Sun Apr 22 15:18:01 2007 From: jc at spl21.net (John Craig) Date: Sun, 22 Apr 2007 20:18:01 +0100 Subject: Obtaining the size of a file In-Reply-To: References: <4629C553.7070209@fourthworld.com> <462B3A82.8040308@spl21.net> Message-ID: <462BB4E9.6000607@spl21.net> The ls command can access just 1 file by naming it. JC Stephen Barncard wrote: > I think, at least in MacOSX, that this is just the form any > application gets this information', including the finder. > > It looks very suspiciously like the dump you get when you type "ls > -l" in the terminal window. Something has to 'waste the time' getting > this information....be it rev, the command line or another app. > >> Maybe I should have said 'another lengthy function call per line'... >> I already use a cached file list, but if I hit a folder with >> thousands of files in it and only need the size of 1 file in that >> particular folder, it seems like wasted CPU time to pull the entire >> folder contents. >> >> >> >> Richard Gaskin wrote: >>> John Craig wrote: >>>> I'm recursing through a (sometimes large) list of files and folders >>>> which can take a while, so I was trying to avoid another function >>>> call per line. >>> >>> A perfect case for using "the detailed files", so you can rapidly >>> get all of the size info for an entire directory in one call, and >>> the just format the info or calculate it however you need. >>> > From arietext at mac.com Sun Apr 22 15:27:42 2007 From: arietext at mac.com (Arie van der Ent) Date: Sun, 22 Apr 2007 21:27:42 +0200 Subject: Quartam Reports Sample Problem In-Reply-To: <5B23348E-1A7B-4C8F-A1F1-C39C628A2B4A@mac.com> References: <5B23348E-1A7B-4C8F-A1F1-C39C628A2B4A@mac.com> Message-ID: <7BF740D3-4FCB-4E0B-B3CF-00ACA0995C84@mac.com> Hi Charles, I saw nobody answered your question till now. Today I had the same problem. Quartam does not know the path to the qlr-file. I solved the problem with: answer file "qrl" put it into tLayoutfile Arie van der Ent Op 18-jan-2007, om 18:58 heeft Charles Szasz het volgende geschreven: > I hope someone who is using Quartam Reports can answer my question. > I trying to learn how to use Quartam Reports. In the first sample, > after I created a Qrt page with the fields filled out as per > instructions in the PDF manual. I made a one card stack with a > print button and I added the following script as in the book: > > on mouseUp > local tLayoutFile,tStackName,tShowPreview > loadLibraries > put "mystackreport.qrl" into tLayoutFile > put "qrsContacts" into tStackName > put true into tShowPreview > -- print the report > qrtReports_PrintReportForStack tLayoutFile, tStackName, tShowPreview > end mouseUp > > After I click Apply in the script editor. Then go to run mode and > press the mouse button I get the following error message: > "An error occurred while printin the report: qrtReportsErr: no such > stack." > > What did I do wrong here and how do I correct the problem? > > > > Charles Szasz > cszasz at mac.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 Apr 22 15:34:24 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 22 Apr 2007 12:34:24 -0700 Subject: Obtaining the size of a file Message-ID: <462BB8C0.3070006@fourthworld.com> John Craig wrote: > It's an app where files and folders are selected as part of a backup > process. Folders can be selected, in which case the entire folder > contents would be used. In the case of individual files (or just a few) > selected in any given folder, only info for those specific files are > required. The app should be capable of running on a basic (possibly > ancient) machine, so any speed improvements are a bonus. > > I appreciate all the responses - they are helpful and useful, but you > seem a bit over protective of rev for some bizarre reason - Not Rev, just your time. At a quarter-millisecond per access, even the slowest method shown here may not be bad. And if this needs to work on multiple files there are ways to speed it up exponentially. If you took the time to write your own external, unless it does something highly specific on a whole directory at a time, I suspect the net runtime would be roughly on par with what you can get in native Transcript in a fraction of the effort. I've been down this road before, most recently with an installer I'm working on for some of my clients. I've sliced and diced this problem from a few different angles, and the recommendation I offered to you was the result of that effort. Sorry if my attempt to help you find an immediate solution struck you as "bizarre". Best of luck - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jc at spl21.net Sun Apr 22 16:13:27 2007 From: jc at spl21.net (John Craig) Date: Sun, 22 Apr 2007 21:13:27 +0100 Subject: Obtaining the size of a file In-Reply-To: <462BB8C0.3070006@fourthworld.com> References: <462BB8C0.3070006@fourthworld.com> Message-ID: <462BC1E7.9090008@spl21.net> Apology accepted. Richard Gaskin wrote: > Sorry if my attempt to help you find an immediate solution struck you > as "bizarre". > From revdev at pdslabs.net Sun Apr 22 16:20:25 2007 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 22 Apr 2007 13:20:25 -0700 Subject: Visual effect dissolve slowing down In-Reply-To: <462BB1C3.5010601@hyperactivesw.com> References: <462BB1C3.5010601@hyperactivesw.com> Message-ID: <462BC389.70508@pdslabs.net> Hi Jacque - I found (back in Rev 2.6.1 days at least) that some effects on Windows worked more reliably when the dontUseQTEffects = true. FWIW - Phil Davis J. Landman Gay wrote: > I have a series of stacks that use the dissolve visual effect to > transition from one to another in the same window. My client says that > recently dissolves that used to take about half a second are now taking > over 2 seconds. This is on a Windows machine. I haven't made any changes > to the navigation commands, and the dissolves on my machine run just as > fast they used to, so I have to assume it is something on his system setup. > > Does anyone know what might cause this? QT is installed on his machine. From sanke at hrz.uni-kassel.de Sun Apr 22 16:30:26 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 22 Apr 2007 22:30:26 +0200 Subject: problems with grouped images Message-ID: <462BC5E2.3090401@hrz.uni-kassel.de> Addendum: Even when I set the lockloc of the image to true after having it "moved" to the loc of the group, once I change the imagedata of the image the image snaps back to near the topleft of the group instead of remaining at the center. --Wilhelm Sanke From JimAultWins at yahoo.com Sun Apr 22 18:44:17 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 22 Apr 2007 15:44:17 -0700 Subject: problems with grouped images In-Reply-To: <462BC5E2.3090401@hrz.uni-kassel.de> Message-ID: On 4/22/07 1:30 PM, "Wilhelm Sanke" wrote: > Addendum: > > Even when I set the lockloc of the image to true after having it "moved" > to the loc of the group, once I change the imagedata of the image the > image snaps back to near the topleft of the group instead of remaining > at the center. From tsj at unimelb.edu.au Sun Apr 22 18:45:15 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 23 Apr 2007 08:45:15 +1000 Subject: Some longest common substring routines In-Reply-To: <20070421083317.8E91B48925E@mail.runrev.com> Message-ID: > From: Chipp Walters > Reply-To: How to use Revolution > Date: Fri, 20 Apr 2007 23:08:10 -0500 > To: How to use Revolution > Subject: Re: Some longest common substring routines > > Thanks Terry. > > I've been spending some time developing a cross-platform set of 3D > plugins using wxPython lately. Quite an experience. There are certain > many things to like about Python, and even wxPython (cross platform > GUI wrapper for Python using wxWidgets). But, I have to say, I'm > certainly not as facile in Py scripting as I am in Revolution! > > One interesting thing about Python (and other true object oriented > languages) is the plethora and ease of use in creating reusable > classes and libraries. There are certainly many of them out there as > well. Come to think of it, there are really few common libraries for > use in Rev. Too bad. Hi Chipp, I must admit to not knowing a whole lot about Python. My limited exposure to it is through a work colleague uses it to create productivity tools (chiefly for crunching data) and swears by it. As you suggest, he often seems to be able to find existing libraries/routines to do much of what he wants. And it has real arrays! Regards, Terry... From JimAultWins at yahoo.com Sun Apr 22 18:45:30 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 22 Apr 2007 15:45:30 -0700 Subject: problems with grouped images In-Reply-To: <462BC5E2.3090401@hrz.uni-kassel.de> Message-ID: On 4/22/07 1:30 PM, "Wilhelm Sanke" wrote: > Addendum: > > Even when I set the lockloc of the image to true after having it "moved" > to the loc of the group, once I change the imagedata of the image the > image snaps back to near the topleft of the group instead of remaining > at the center. When I do image operations using Rev code to change an image, I code the following: set the cpUndoHt of img "target" to the height of img "target" set the cpUndoWd of img "target" to the width of img "target" set the cpUndoTLeft of img "target" to the topLeft of img "target" set the cpUndo of img "target" to the imagedata of img "target" save this stack --now make changes -- then adjustments, or undo, even the next time you launch Jim Ault Las Vegas From hughesmike2 at hotmail.com Sun Apr 22 19:12:38 2007 From: hughesmike2 at hotmail.com (Mike Hughes) Date: Sun, 22 Apr 2007 23:12:38 +0000 Subject: repeat until the mouseClick Message-ID: I use the following 2 lines of code to pause a program until the user clicks the mouse: repeat until the mouseClick end repeat I would like to extend the functionality of this script so that a user can stop the pause with a keystroke in addition to clicking the mouse. How would I tweak that code to allow for this? Thanks! Mike _________________________________________________________________ The average US Credit Score is 675. The cost to see yours: $0 by Experian. http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE From brentj84062 at gmail.com Sun Apr 22 19:18:34 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Sun, 22 Apr 2007 17:18:34 -0600 Subject: repeat until the mouseClick In-Reply-To: References: Message-ID: Hello. There are no properties or messages that I know of that could be intercepted in the middle of a repeat loop. The desired functionality could be reached through a local or global variable being flagged in a keyDown handler and in the middle of the loop having an exit statement, like so... local keyFlag on keyDown put true into keyFlag pass keydown -- Unless you don't want to pass the message, of course end keyDown on myHandler ... put false into keyFlag repeat until the mouseclick if keyFlag is true then exit repeat end repeat ... end myHandler Thanks, Brent Anderson Fiery Ferret www.fieryferret.com From mark at maseurope.net Sun Apr 22 19:42:39 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 23 Apr 2007 00:42:39 +0100 Subject: repeat until the mouseClick In-Reply-To: References: Message-ID: repeat until the mouseClick if the keysDown is not empty then exit repeat end repeat Best, Mark On 23 Apr 2007, at 00:12, Mike Hughes wrote: > I use the following 2 lines of code to pause a program until the > user clicks the mouse: > > repeat until the mouseClick > end repeat > > I would like to extend the functionality of this script so that a > user can stop the pause with a keystroke in addition to clicking > the mouse. > > How would I tweak that code to allow for this? > > Thanks! > > Mike > > _________________________________________________________________ > The average US Credit Score is 675. The cost to see yours: $0 by > Experian. http://www.freecreditreport.com/pm/default.aspx? > sc=660600&bcd=EMAILFOOTERAVERAGE > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Sun Apr 22 20:27:44 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 22 Apr 2007 17:27:44 -0700 Subject: repeat until the mouseClick In-Reply-To: Message-ID: On 4/22/07 4:12 PM, "Mike Hughes" wrote: > I use the following 2 lines of code to pause a program until the user clicks > the mouse: > > repeat until the mouseClick > end repeat > > I would like to extend the functionality of this script so that a user can > stop the pause with a keystroke in addition to clicking the mouse. > > How would I tweak that code to allow for this? If you are looking for the modifier keys only then use if the shiftkey is down if the controlkey is down if the optionkey is down if the comanndkey is down if the comanndkey is down and the optionkey is down then Jim Ault Las Vegas From jacque at hyperactivesw.com Sun Apr 22 21:09:57 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 22 Apr 2007 20:09:57 -0500 Subject: Visual effect dissolve slowing down In-Reply-To: <462BC389.70508@pdslabs.net> References: <462BB1C3.5010601@hyperactivesw.com> <462BC389.70508@pdslabs.net> Message-ID: <462C0765.4090902@hyperactivesw.com> Phil Davis wrote: > Hi Jacque - > > I found (back in Rev 2.6.1 days at least) that some effects on Windows > worked more reliably when the dontUseQTEffects = true. Then we get the chunky, built-in dissolve, right? Or has that been improved since the last time I looked? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cszasz at mac.com Sun Apr 22 22:13:10 2007 From: cszasz at mac.com (Charles Szasz) Date: Sun, 22 Apr 2007 22:13:10 -0400 Subject: Save question Message-ID: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> How do you script for saving so that when you save from the File menu and then quit an application you do not get a save dialog? Charles Szasz cszasz at mac.com From kray at sonsothunder.com Sun Apr 22 22:35:05 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 22 Apr 2007 21:35:05 -0500 Subject: Save question In-Reply-To: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> References: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> Message-ID: <20070422213505386411.9c185003@sonsothunder.com> On Sun, 22 Apr 2007 22:13:10 -0400, Charles Szasz wrote: > How do you script for saving so that when you save from the File menu > and then quit an application you do not get a save dialog? This only happens in the IDE, Charles... it has to do with the dirty flag that the Revolution IDE is maintaining for your stack. When you're running as a standalone, there is no "save" dialog, unless you create one of your own and manage your own dirty flag. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pepetoo at Cox.Net Mon Apr 23 00:07:33 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 22 Apr 2007 21:07:33 -0700 Subject: Save question In-Reply-To: <20070422213505386411.9c185003@sonsothunder.com> References: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> <20070422213505386411.9c185003@sonsothunder.com> Message-ID: <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> Ken, The question then arises: assume that we keep track for instances in which the program has been changes and activate the Save menu item accordingly, are all the cards with their fields and buttons and graphics written to a saved copy at that time? Or must we implement those changes ourselves in the "new" version? TIA, Joe Wilkins On Apr 22, 2007, at 7:35 PM, Ken Ray wrote: > On Sun, 22 Apr 2007 22:13:10 -0400, Charles Szasz wrote: > >> How do you script for saving so that when you save from the File menu >> and then quit an application you do not get a save dialog? > > This only happens in the IDE, Charles... it has to do with the dirty > flag that the Revolution IDE is maintaining for your stack. When > you're > running as a standalone, there is no "save" dialog, unless you create > one of your own and manage your own dirty flag. > From chipp at chipp.com Mon Apr 23 00:31:20 2007 From: chipp at chipp.com (Chipp Walters) Date: Sun, 22 Apr 2007 23:31:20 -0500 Subject: Save question In-Reply-To: <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> References: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> <20070422213505386411.9c185003@sonsothunder.com> <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> Message-ID: <7aa52a210704222131h20347b52qf75535588cc1889e@mail.gmail.com> You can use "RevSave" or "RevSaveAs"...see how it's done in the IDE.. From martinblackman at gmail.com Mon Apr 23 00:39:17 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Mon, 23 Apr 2007 12:39:17 +0800 Subject: Visual effect dissolve slowing down In-Reply-To: <462C0765.4090902@hyperactivesw.com> References: <462BB1C3.5010601@hyperactivesw.com> <462BC389.70508@pdslabs.net> <462C0765.4090902@hyperactivesw.com> Message-ID: <79d1bee70704222139v71a3a81dld65f7a9fa72d1502@mail.gmail.com> I find that sometimes the first dissolve after starting up a standalone can be quite slow, but it improves after that. I recently tried the same standalone on a new install of Vista and was wondering why the nice looking dissolve on XP and 2000 was much grainier. I suppose it must be because quicktime isn't installed. On 23/04/07, J. Landman Gay wrote: > Phil Davis wrote: > > Hi Jacque - > > > > I found (back in Rev 2.6.1 days at least) that some effects on Windows > > worked more reliably when the dontUseQTEffects = true. > > Then we get the chunky, built-in dissolve, right? Or has that been > improved since the last time I looked? > > -- > 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 kray at sonsothunder.com Mon Apr 23 00:52:30 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 22 Apr 2007 23:52:30 -0500 Subject: Save question In-Reply-To: <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> References: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> <20070422213505386411.9c185003@sonsothunder.com> <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> Message-ID: <20070422235230330935.e145624a@sonsothunder.com> On Sun, 22 Apr 2007 21:07:33 -0700, Joe Lewis Wilkins wrote: > Ken, > > The question then arises: assume that we keep track for instances in > which the program has been changes and activate the Save menu item > accordingly, are all the cards with their fields and buttons and > graphics written to a saved copy at that time? Or must we implement > those changes ourselves in the "new" version? If you're talking about doing this in a standalone, whenever you implement the "save stack " command, all changes are written to disk at that time to the stack you've identified. Until then, the changes only reside in memory and will be disposed of when your app closes. Of course, a lot of this depends on the construction of your application - for example, suppose you had an Address Book with a single stack as an interface to the user to display the addresses. You could construct it so that the stack that showed the interface maintained each card for each person, and changes made are saved to that stack. On the other hand, you could store the data in a database or text file, and have only a single card as your interface to the user, drawing the data from the database/file and parsing it to get the right "record" to display. HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pepetoo at Cox.Net Mon Apr 23 00:54:24 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 22 Apr 2007 21:54:24 -0700 Subject: Save question In-Reply-To: <7aa52a210704222131h20347b52qf75535588cc1889e@mail.gmail.com> References: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> <20070422213505386411.9c185003@sonsothunder.com> <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> <7aa52a210704222131h20347b52qf75535588cc1889e@mail.gmail.com> Message-ID: Thanks, Chip; but my preference is to do a "Save A Copy As...", but have yet to find the proper dialog leading up to that. As I've mentioned several times, here and on Macinstruct, I feel this is a more important type save; even in the IDE. Of course, I have yet to find a fix for compiling my stand alone again. (frown) Joe Wilkins On Apr 22, 2007, at 9:31 PM, Chipp Walters wrote: > You can use "RevSave" or "RevSaveAs"...see how it's done in the IDE.. > ______________________________________________ From chipp at chipp.com Mon Apr 23 01:33:51 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 23 Apr 2007 00:33:51 -0500 Subject: Save question In-Reply-To: References: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> <20070422213505386411.9c185003@sonsothunder.com> <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> <7aa52a210704222131h20347b52qf75535588cc1889e@mail.gmail.com> Message-ID: <7aa52a210704222233v6f19e024i77141baf6f8e50a@mail.gmail.com> Joe, I use altArchive, one of my altPlugins, to save iterative copies of my stacks. It saves the original stack as well as a copy of the stack with a serialized suffix (001,002,003) in a folder called "archive" in the same directory of the stack. This way you always backup your existing work, and if necessary can roll back to one of many previous versions. Find out about altPlugins and the altPlugin Toolbar at: http://www.altuit.com/webs/altuit2/altPluginCover/About.htm It's all free, and even works on Macs ;-) -Chipp From pepetoo at Cox.Net Mon Apr 23 02:00:41 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Sun, 22 Apr 2007 23:00:41 -0700 Subject: Save question In-Reply-To: <7aa52a210704222233v6f19e024i77141baf6f8e50a@mail.gmail.com> References: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> <20070422213505386411.9c185003@sonsothunder.com> <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> <7aa52a210704222131h20347b52qf75535588cc1889e@mail.gmail.com> <7aa52a210704222233v6f19e024i77141baf6f8e50a@mail.gmail.com> Message-ID: <3C440DBC-7F5A-4CF4-9018-775851B86B75@Cox.Net> Chip, Thanks, does it work equally well in stand alones? Joe Wilkins On Apr 22, 2007, at 10:33 PM, Chipp Walters wrote: > Joe, > > I use altArchive, one of my altPlugins, to save iterative copies of my > stacks. It saves the original stack as well as a copy of the stack > with a serialized suffix (001,002,003) in a folder called "archive" in > the same directory of the stack. This way you always backup your > existing work, and if necessary can roll back to one of many previous > versions. > > Find out about altPlugins and the altPlugin Toolbar at: > http://www.altuit.com/webs/altuit2/altPluginCover/About.htm > > It's all free, and even works on Macs ;-) > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution 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 chipp at chipp.com Mon Apr 23 02:50:36 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 23 Apr 2007 01:50:36 -0500 Subject: Save question In-Reply-To: <3C440DBC-7F5A-4CF4-9018-775851B86B75@Cox.Net> References: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> <20070422213505386411.9c185003@sonsothunder.com> <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> <7aa52a210704222131h20347b52qf75535588cc1889e@mail.gmail.com> <7aa52a210704222233v6f19e024i77141baf6f8e50a@mail.gmail.com> <3C440DBC-7F5A-4CF4-9018-775851B86B75@Cox.Net> Message-ID: <7aa52a210704222350p7b686291i74628b292bc70d57@mail.gmail.com> Joe, (It's Chipp with 2 p's) First of all, you can't save data in a standalone. I assume you already know this. You need to store your data in a stack or file OUTSIDE the standalone. If what you're after is the 'Save As..' dialog, read up on "ask file". There are two parts to Save As. The first part is asking the user for the pathname to save the file to. The second part is actually doing the save. Create a button: on mouseUp ask file "Choose a place to save your stack" if the result is "cancel" or it is empty then exit to top put it into tPathname save stack "JoesStack" as tPathname end mouseUP This will save the stack "JoesStack" to the file specified. -Chipp From geradamas at yahoo.com Mon Apr 23 02:51:18 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 23 Apr 2007 07:51:18 +0100 (BST) Subject: directory ? ? ? Message-ID: <109864.78047.qm@web37515.mail.mud.yahoo.com> Poking about I came across the term 'directory' - which is really useful! How come it doesn't seem to be listed in the documentation? Try this one for starters: on mouseUp put the directory into fld "LOOK AT THIS" end mouseUp How many other undocumented terms are there? sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From chipp at chipp.com Mon Apr 23 03:04:49 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 23 Apr 2007 02:04:49 -0500 Subject: Obtaining the size of a file In-Reply-To: <462BC1E7.9090008@spl21.net> References: <462BB8C0.3070006@fourthworld.com> <462BC1E7.9090008@spl21.net> Message-ID: <7aa52a210704230004m1a099cbeyeea17c169f1c4a2a@mail.gmail.com> Hi John, I'm coming rather late to this party. But it does appear you're missing something important here. I assume you're new to programming. Here's how historically it's worked in the past. People have used programs to write other programs, and in doing so, they create functions and handlers (or objects, methods and procedures) which help them do many different things. One of the really cool things about programming is the ability to create new code from existing code. So, what Richard did so kindly for you, was to create a universal function which when called correctly via one-line, would return exactly what you wanted-- namely the filesize. This is how many of us program in Rev. We create 'libraries' of these functions, and then can access them via one or two line calls. I hope this helps you in better understanding programming concepts. You are welcome to peruse the free files and tutorials I host at: http://www.altuit.com/webs/altuit2/RunRev/default.htm You can also find some good tips of mine at www.revcentral.com, though I haven't sent out a newsletter in awhile...need to get on that ;-) Also, Richard hosts many great files and tips at at: www.fourthworld.com including 'devolution' a mostly complete IDE written totally in Transcript. Furthermore, Richard also hosts the website www.revjournal.com which also has many fine articles on how to program in Rev. Good luck! best regards, Chipp From wjm at wjm.org Mon Apr 23 03:27:38 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 23 Apr 2007 03:27:38 -0400 Subject: directory ? ? ? In-Reply-To: <109864.78047.qm@web37515.mail.mud.yahoo.com> References: <109864.78047.qm@web37515.mail.mud.yahoo.com> Message-ID: Richmond, >>> Poking about I came across the term 'directory' - which is really useful! How come it doesn't seem to be listed in the documentation? <<< It's a synonym for defaultFolder, as is "folder" -- and indeed is documented as such, at least in Beta 4. From eric.chatonet at sosmartsoftware.com Mon Apr 23 03:29:25 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 23 Apr 2007 09:29:25 +0200 Subject: directory ? ? ? In-Reply-To: <109864.78047.qm@web37515.mail.mud.yahoo.com> References: <109864.78047.qm@web37515.mail.mud.yahoo.com> Message-ID: Hi Richmond, Directory is a synonym for folder (and defaultFolder). Actually, Mac people are used to use 'folder' when Win people prefer use the word 'directory': answer folder... answer directory... So all may be satisfied: Just choose your side ;-) Le 23 avr. 07 ? 08:51, Richmond Mathewson a ?crit : > Poking about I came across the term 'directory' - > which is really useful! > > How come it doesn't seem to be listed in the > documentation? > > Try this one for starters: > > on mouseUp > put the directory into fld "LOOK AT THIS" > end mouseUp > > How many other undocumented terms are there? > > sincerely, Richmond Mathewson Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From sanke at hrz.uni-kassel.de Mon Apr 23 03:55:42 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 23 Apr 2007 09:55:42 +0200 Subject: problems with grouped images Message-ID: <462C667E.70708@hrz.uni-kassel.de> On Sun Apr 22, 2007, Jim Ault JimAultWins at yahoo.com wrote: > On 4/22/07 1:30 PM, "Wilhelm Sanke" wrote: > > > Addendum: > > > > Even when I set the lockloc of the image to true after having it "moved" > > to the loc of the group, once I change the imagedata of the image the > > image snaps back to near the topleft of the group instead of remaining > > at the center. > > When I do image operations using Rev code to change an image, I code the > following: > > set the cpUndoHt of img "target" to the height of img "target" > set the cpUndoWd of img "target" to the width of img "target" > set the cpUndoTLeft of img "target" to the topLeft of img "target" > set the cpUndo of img "target" to the imagedata of img "target" > save this stack > --now make changes > -- then adjustments, or undo, even the next time you launch > > Jim Ault > Las Vegas Thanks for the response, Jim, but could it be that you missed the first part of my problem report preceding the "addendum"? If the image in question is smaller than the rect of its group there is no way to place it at the center of the group using "set the loc", but only with "move to the loc". Having stored the topleft of the image in a custom property or elsewhere (after it had been "moved" to the center) in the first place does not prevent that the image is moved to the topleft of the group when the imagedata are changed, nor is it possible in such a case to reset the image to its former "topleft" stored somewhere. Only using "move" enables you to set the loc of the image to the loc of the group. Best, Wilhelm Sanke From chipp at chipp.com Mon Apr 23 04:11:03 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 23 Apr 2007 03:11:03 -0500 Subject: problems with grouped images In-Reply-To: <462C667E.70708@hrz.uni-kassel.de> References: <462C667E.70708@hrz.uni-kassel.de> Message-ID: <7aa52a210704230111w7f70fa45s62d89619b729a6d8@mail.gmail.com> Wilhelm, Did you try checking the vscroll and hscroll of the group before and after setting the loc of the image? I seem to recall they might be involved in getting this to work. best, Chipp From geradamas at yahoo.com Mon Apr 23 04:48:29 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 23 Apr 2007 09:48:29 +0100 (BST) Subject: directory ? ? ? Message-ID: <642906.71905.qm@web37501.mail.mud.yahoo.com> Bill Marriot wrote: "It's a synonym for defaultFolder, as is "folder" -- and indeed is documented as such, at least in Beta 4. " It is only documented in one direction! If I look up "folder" - there it is. If I look up "directory" I draw a blank . . . I do not take "sides" re Windows or Macs - I work , largely with Macs and Linux (when I get fed up I go over to my BBC Master Micro Compact and do some "real programming") - but grew up on a VAX !!!! So tend to think "directory" when I am thinking non-visually, and "folder" when I am thinking about GUIs. Now, back to the documentation: not all xTalk users or would-be users may have had such a wonderful education as me :) and not realise that directory = folder. in light of my wonderful education I have always thought of 'folder' as a graphical representation of a directory - so did not assume they were the same!!!! sincerely, with quite a lots of cheese on top, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From jc at spl21.net Mon Apr 23 04:55:25 2007 From: jc at spl21.net (John Craig) Date: Mon, 23 Apr 2007 09:55:25 +0100 Subject: Obtaining the size of a file In-Reply-To: <7aa52a210704230004m1a099cbeyeea17c169f1c4a2a@mail.gmail.com> References: <462BB8C0.3070006@fourthworld.com> <462BC1E7.9090008@spl21.net> <7aa52a210704230004m1a099cbeyeea17c169f1c4a2a@mail.gmail.com> Message-ID: <462C747D.1050509@spl21.net> Thanks for the info. I am just of the opinion that the file functions in rev could possibly be more economical - it's as easy as that. Chipp Walters wrote: > Hi John, > > I'm coming rather late to this party. But it does appear you're > missing something important here. I assume you're new to programming. > Here's how historically it's worked in the past. People have used > programs to write other programs, and in doing so, they create > functions and handlers (or objects, methods and procedures) which help > them do many different things. > > One of the really cool things about programming is the ability to > create new code from existing code. So, what Richard did so kindly for > you, was to create a universal function which when called correctly > via one-line, would return exactly what you wanted-- namely the > filesize. > > This is how many of us program in Rev. We create 'libraries' of these > functions, and then can access them via one or two line calls. > > I hope this helps you in better understanding programming concepts. > You are welcome to peruse the free files and tutorials I host at: > > http://www.altuit.com/webs/altuit2/RunRev/default.htm > You can also find some good tips of mine at www.revcentral.com, though > I haven't sent out a newsletter in awhile...need to get on that ;-) > > Also, Richard hosts many great files and tips at at: www.fourthworld.com > including 'devolution' a mostly complete IDE written totally in > Transcript. > > Furthermore, Richard also hosts the website www.revjournal.com which > also has many fine articles on how to program in Rev. Good luck! > > best regards, > > Chipp > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 23 05:06:11 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Apr 2007 11:06:11 +0200 Subject: directory ? ? ? In-Reply-To: <642906.71905.qm@web37501.mail.mud.yahoo.com> References: <642906.71905.qm@web37501.mail.mud.yahoo.com> Message-ID: <72A23DD3-D5A6-4274-960D-C97C8E48F6FB@economy-x-talk.com> Hi, Richmond is right, there is no entry for directory, only for defaultFolder. The reason is that in most if not in all cases there is no separate xml file for synonyms. Should be easy to solve by duplicating entries that have synonyms and storing these duplicates under the names of these synomyms. If you reported this to QC and if I still had some votes left, I'd vote for it. 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 23-apr-2007, om 10:48 heeft Richmond Mathewson het volgende geschreven: > Bill Marriot wrote: > > "It's a synonym for defaultFolder, as is "folder" -- > and indeed is documented > as such, at least in Beta 4. " > > It is only documented in one direction! If I look up > "folder" - there it is. > > If I look up "directory" I draw a blank . . . > > I do not take "sides" re Windows or Macs - I work , > largely with Macs and Linux (when I get fed up I go > over to my BBC Master Micro Compact and do some "real > programming") - but grew up on a VAX !!!! So tend to > think "directory" when I am thinking non-visually, and > "folder" when I am thinking about GUIs. > > Now, back to the documentation: > > not all xTalk users or would-be users may have had > such a wonderful education as me :) and not realise > that directory = folder. > > in light of my wonderful education I have always > thought of 'folder' as a graphical representation of a > directory - so did not assume they were the same!!!! > > sincerely, with quite a lots of cheese on top, > Richmond Mathewson From jc at spl21.net Mon Apr 23 05:22:23 2007 From: jc at spl21.net (John Craig) Date: Mon, 23 Apr 2007 10:22:23 +0100 Subject: repeat until the mouseClick In-Reply-To: References: Message-ID: <462C7ACF.10903@spl21.net> Another variation; repeat until the mouseClick or the keysDown is not empty end repeat Mike Hughes wrote: > I use the following 2 lines of code to pause a program until the user > clicks the mouse: > > repeat until the mouseClick > end repeat > > I would like to extend the functionality of this script so that a user > can stop the pause with a keystroke in addition to clicking the mouse. > > How would I tweak that code to allow for this? > > Thanks! > > Mike > > _________________________________________________________________ > The average US Credit Score is 675. The cost to see yours: $0 by > Experian. > http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 23 05:24:30 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 23 Apr 2007 11:24:30 +0200 Subject: Can I merge two or more imagefiles in one image object? Message-ID: <000f01c78589$330ad470$18b2a8c0@TiemoPC2> Hello I have a set of image objects on my card. To theses images imagefiles are dynamicly assigned, so that my whole image (what the user sees) can consist of one ore more single images. What I want to do is to set the clipboardData["image"] or to export the whole image as one single image. Because of my images on my card are only thumbnails, I can't just copy a "screenshot" of my image group, but need actually the original image files as "one image", as if I would have merged them side by side in photoshop. My thought was, is there a chance to assign more than one image file to one imageobject with location (side by side) or to group various images to one big image so that it would be one image for clipboard data or export? Probably these approaches are not the right way, but I am not yet such an advanced rev developer to find complete other approaches. Any idea? Thanks for any help! Tiemo From revlist at azurevision.co.uk Mon Apr 23 05:58:58 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 23 Apr 2007 10:58:58 +0100 Subject: Can I merge two or more imagefiles in one image object? In-Reply-To: <000f01c78589$330ad470$18b2a8c0@TiemoPC2> References: <000f01c78589$330ad470$18b2a8c0@TiemoPC2> Message-ID: On 23 Apr 2007, at 10:24, Tiemo Hollmann TB wrote: > group various images to one big image so that it would be one image > for clipboard data or export You got it in one! But bear in mind that Rev has problems with images that are bigger than a certain dimension (I think it was 3000px height or width). Ian From toolbook at kestner.de Mon Apr 23 06:10:52 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 23 Apr 2007 12:10:52 +0200 Subject: AW: Can I merge two or more imagefiles in one image object? In-Reply-To: Message-ID: <001401c7858f$ad1831d0$18b2a8c0@TiemoPC2> Hello Ian, I think I'm missing something. If I say set the clipboardData["image"] to group "myGroup" I get "source is not a container" You must have something else in mind? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Ian Wood > Gesendet: Montag, 23. April 2007 11:59 > An: How to use Revolution > Betreff: Re: Can I merge two or more imagefiles in one image object? > > > On 23 Apr 2007, at 10:24, Tiemo Hollmann TB wrote: > > > group various images to one big image so that it would be one image > > for clipboard data or export > > You got it in one! > > But bear in mind that Rev has problems with images that are bigger > than a certain dimension (I think it was 3000px height or width). > > Ian > _______________________________________________ > use-revolution mailing list > use-revolution 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 revlist at azurevision.co.uk Mon Apr 23 06:28:43 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 23 Apr 2007 11:28:43 +0100 Subject: AW: Can I merge two or more imagefiles in one image object? In-Reply-To: <001401c7858f$ad1831d0$18b2a8c0@TiemoPC2> References: <001401c7858f$ad1831d0$18b2a8c0@TiemoPC2> Message-ID: <20F1A9D1-54AB-4712-A18B-DB8542A37469@azurevision.co.uk> On 23 Apr 2007, at 11:10, Tiemo Hollmann TB wrote: > Hello Ian, > I think I'm missing something. If I say > set the clipboardData["image"] to group "myGroup" > I get "source is not a container" > You must have something else in mind? > Tiemo You have to export the group to a variable first, as per Mark's post in the clipboardData thread: export group "myGroup" to myImage as PNG set the clipbaorddata["image"] to myImage Ian From toolbook at kestner.de Mon Apr 23 06:44:16 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 23 Apr 2007 12:44:16 +0200 Subject: AW: AW: Can I merge two or more imagefiles in one image object? In-Reply-To: <20F1A9D1-54AB-4712-A18B-DB8542A37469@azurevision.co.uk> Message-ID: <001801c78594$585d1de0$18b2a8c0@TiemoPC2> Hello Ian, hmmm export group "myGroup" to myImage as PNG results in "selected object is not an image" export img "myGroup" to myImage as PNG results in "no such object" I think I don't see the obvious one Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Ian Wood > Gesendet: Montag, 23. April 2007 12:29 > An: How to use Revolution > Betreff: Re: AW: Can I merge two or more imagefiles in one image object? > > > On 23 Apr 2007, at 11:10, Tiemo Hollmann TB wrote: > > > Hello Ian, > > I think I'm missing something. If I say > > set the clipboardData["image"] to group "myGroup" > > I get "source is not a container" > > You must have something else in mind? > > Tiemo > > You have to export the group to a variable first, as per Mark's post > in the clipboardData thread: > > export group "myGroup" to myImage as PNG > set the clipbaorddata["image"] to myImage > > Ian > _______________________________________________ > use-revolution mailing list > use-revolution 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 revlist at azurevision.co.uk Mon Apr 23 06:56:15 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 23 Apr 2007 11:56:15 +0100 Subject: Can I merge two or more imagefiles in one image object? In-Reply-To: <001801c78594$585d1de0$18b2a8c0@TiemoPC2> References: <001801c78594$585d1de0$18b2a8c0@TiemoPC2> Message-ID: <64C76F88-3776-48E1-915B-52F30764146D@azurevision.co.uk> On 23 Apr 2007, at 11:44, Tiemo Hollmann TB wrote: > Hello Ian, > hmmm > export group "myGroup" to myImage as PNG results in "selected > object is not > an image" > export img "myGroup" to myImage as PNG results in "no such object" > > I think I don't see the obvious one > Tiemo Sorry, I left out the vital word! export snapshot from grp "myGroup" to myImage as PNG Ian From scott at cdroo.com Mon Apr 23 06:58:48 2007 From: scott at cdroo.com (Scott Kane) Date: Mon, 23 Apr 2007 20:58:48 +1000 Subject: Check Sum Message-ID: <019801c78596$6128c940$0201010a@esbgdi9s3atqpx> Hi people, Been reading some of the great scripts online for Rev for encryption and hashing etc. One thing I've not been able to find (checked the doc's) is a method to generate (and check) a check digit. I can do this in assembly just fine (not much use in Rev unless I code an external which for security reasons I don't want to do). Is there a method I've missed that would allow a number (hex aware preferably) that allows one to do this? Note that the results I manage to glean for this will be published in an article for the Revolution newsletter in regards to license systems and anti piracy measures. I have a system in Delphi and C++ that I wish to translate into Rev and then share the results within that article (including code). Scott From toolbook at kestner.de Mon Apr 23 07:21:32 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 23 Apr 2007 13:21:32 +0200 Subject: AW: Can I merge two or more imagefiles in one image object? In-Reply-To: <64C76F88-3776-48E1-915B-52F30764146D@azurevision.co.uk> Message-ID: <002101c78599$8caf7cf0$18b2a8c0@TiemoPC2> Thanks Ian, that did the trick! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Ian Wood > Gesendet: Montag, 23. April 2007 12:56 > An: How to use Revolution > Betreff: Re: Can I merge two or more imagefiles in one image object? > > > On 23 Apr 2007, at 11:44, Tiemo Hollmann TB wrote: > > > Hello Ian, > > hmmm > > export group "myGroup" to myImage as PNG results in "selected > > object is not > > an image" > > export img "myGroup" to myImage as PNG results in "no such object" > > > > I think I don't see the obvious one > > Tiemo > > Sorry, I left out the vital word! > > export snapshot from grp "myGroup" to myImage as PNG > > Ian > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 23 08:26:13 2007 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 23 Apr 2007 14:26:13 +0200 Subject: Save question Message-ID: <837e9e60ec6b2e5b4deb625cebc75edf@wanadoo.fr> Hi from Paris, I see Chipp and I had the same idea, although I solved it "inline" ! > On Apr 22, 2007, at 10:33 PM, Chipp Walters wrote: > >> Joe, >> >> I use altArchive, one of my altPlugins, to save iterative copies of my >> stacks. It saves the original stack as well as a copy of the stack >> with a serialized suffix (001,002,003) in a folder called "archive" in My father used to say "If it 'ain't broke, don't fix it !", which in Revolution, I translate to "If it 'ain't modified, don't save it !" Hypercard was so good to us !!! UNFORTUNATELY, in Revolution, there doesn't appear to be a global variable we can test (a gREV ?) which shows that modifications have been made to your stack. We are thus forced to save EVERY TIME. I come from an IBM background in the 70's where "Generation" data files were all the whizz. We had Gen(0) which was the latest generation, Gen(-1) which was the Father, etc, etc. ........ When I (like everybody else) had problems with "Saving my Stack" in Revolution, I solved it like this (see below) : My Revolution environment defines a "Revolution" Folder, with a subfolder for each stack which has a name which is the name of the stack. Each Stack subfolder has at least a Backups sub-subfolder, a Program sub-subfolder, and MAY have other sub-subfolders that I need for that specific stack (Data, Music, etc.) (by the way, I use GV prefixes for global variables, LV prefixes for local variables, and My prefixes for fields) I have a standard OpenStack routine which fills my pathnames, based upon the StackName : As examples, for a stack called FAMILYTREE ........ GVProgramPath is the path to my Program Folder (example - "/Revolution/FAMILYTREE/Program/") This is where I store the .rev program file, and help files for the user. GVBackupPath is the path to my Backup Folder "/Revolution/FAMILYTREE/Backups/" This is where I store the generation backup files for this stack. MyGenerations is a field on card 1 of my stack, initially empty. My "closeStack" routines contain the following code (care with line folding !) : set the numberFormat to "000" -- I need three-digit numbers. if field MyGenerations is empty then put ",,," into field MyGenerations -- Prime for first time use. put item 1 of field MyGenerations into LVGen2 -- Pick up Grandfather. put item 2 of field MyGenerations into LVGen1 -- Pick up Father. put item 3 of field MyGenerations into LVGen0 -- Pick up Son. if LVGen0 is empty then put "000" into LVGen0 -- Prime for first time. put LVGen0 + 1 into LVNewGen0 -- Get next generation number. put GVBackupPath & "FAMILYTREE-" & LVNewGen0 & ".rev" into LVPathname save stack "FAMILYTREE" as LVPathName -- Save the new Son. put GVBackupPath & "FAMILYTREE-" & LVGen2 & ".rev" into LVDeletePathname if LVGen2 is not empty then delete file LVDeletePathname -- Delete the Grandfather. put LVGen1 & "," & LVGen0 & "," & LVNewGen0 into field MyGenerations -- Update Grandfather/Father/Son file suffixes. save stack "FAMILYTREE" as GVProgramPath & "FAMILYTREE.rev" -- Save normally and recover original stack name. -Francis "Nothing should ever be done for the first time !" From wjm at wjm.org Mon Apr 23 09:17:57 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 23 Apr 2007 09:17:57 -0400 Subject: directory ? ? ? In-Reply-To: <642906.71905.qm@web37501.mail.mud.yahoo.com> References: <642906.71905.qm@web37501.mail.mud.yahoo.com> Message-ID: Richmond, >>> It is only documented in one direction! If I look up "folder" - there it is. <<< If I type "directory" in mine, it calls up the defaultFolder entry. Are you using Beta 4? [If not, why not? :)] From wjm at wjm.org Mon Apr 23 09:45:48 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 23 Apr 2007 09:45:48 -0400 Subject: Check Sum In-Reply-To: <019801c78596$6128c940$0201010a@esbgdi9s3atqpx> References: <019801c78596$6128c940$0201010a@esbgdi9s3atqpx> Message-ID: Rev has the function md5digest; you could take the last digit of that; but from a processing point of view it might be overkill. I looked up "check digit" in Wikipedia. It seems one popular check digit is "UPC." From Wikipedia: >>> The final digit of a Universal Product Code is a check digit computed as follows: 1. Add the digits in the odd-numbered positions (first, third, fifth, etc.) together and multiply by three. 2. Add the digits in the even-numbered positions (second, fourth, sixth, etc.) to the result. 3. Subtract the result from the next-higher multiple of ten. The answer is the check digit. For instance, a UPC-A barcode (In this case, a UPC for a box of tissues) "03600029145X" where X is the check digit, X can be calculated by adding the odd-numbered digits (0+6+0+2+1+5 = 14), multiplying by three (14 ? 3 = 42), adding the even-numbered digits (42+3+0+0+9+4 = 58) and subtracting from the next-highest multiple of ten (60 - 58 = 2). The check digit is thus 2. <<< function upcCheck pValue repeat with i = 1 to the length of pValue step 2 add char i of pValue to x end repeat multiply x by 3 repeat with i = 2 to the length of pValue step 2 add char i of pValue to x end repeat return 10 - ( x mod 10 ) end upcCheck "Scott Kane" wrote in message news:019801c78596$6128c940$0201010a at esbgdi9s3atqpx... > Hi people, > > Been reading some of the great scripts online for Rev for encryption and > hashing etc. One thing I've not been able to find (checked the doc's) is > a method to generate (and check) a check digit. I can do this in assembly > just fine (not much use in Rev unless I code an external which for > security reasons I don't want to do). Is there a method I've missed that > would allow a number (hex aware preferably) that allows one to do this? > > Note that the results I manage to glean for this will be published in an > article for the Revolution newsletter in regards to license systems and > anti piracy measures. I have a system in Delphi and C++ that I wish to > translate into Rev and then share the results within that article > (including code). > > Scott > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 23 10:01:53 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 23 Apr 2007 10:01:53 -0400 Subject: Check Sum In-Reply-To: References: <019801c78596$6128c940$0201010a@esbgdi9s3atqpx> Message-ID: make that return the last char of (10 - ( x mod 10 )) ---------- function upcCheck pValue repeat with i = 1 to the length of pValue step 2 add char i of pValue to x end repeat multiply x by 3 repeat with i = 2 to the length of pValue step 2 add char i of pValue to x end repeat return the last char of (10 - ( x mod 10 )) end upcCheck From scott at cdroo.com Mon Apr 23 10:16:32 2007 From: scott at cdroo.com (Scott Kane) Date: Tue, 24 Apr 2007 00:16:32 +1000 Subject: Check Sum References: <019801c78596$6128c940$0201010a@esbgdi9s3atqpx> Message-ID: <01e701c785b2$00cdaae0$0201010a@esbgdi9s3atqpx> Bill, > return the last char of (10 - ( x mod 10 )) You ripper. Looks good enough to go. Sometimes knowing the hard way can make one unable to see the potential easy way. Will give the function a work out. Thanks!! :-) Scott From gefisher at mac.com Mon Apr 23 10:19:21 2007 From: gefisher at mac.com (Glenn E. Fisher) Date: Mon, 23 Apr 2007 09:19:21 -0500 Subject: problems with grouped images (Wilhelm Sanke) Message-ID: > Any ideas for a third way to draw graphics on a grouped image? > > Regards, > > Wilhelm Sanke > Wilhelm, This is not a way to change a grouped image, but a way to modify images used as icons of grouped buttons. If you want to take a look, use revOnLine to downlaod my WarOfRoses stack under "gefisher" and edit the main stack script. Look at the functions "modifyIcon" and "mergeImage" for some ideas. This is used to add title and office images to the shield image for the noble buttons. Admittedly, these are small images and it may not be suitable for larger images. Just some ideas, Glenn -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gefisher at mac.com http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher From sanke at hrz.uni-kassel.de Mon Apr 23 10:34:29 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 23 Apr 2007 16:34:29 +0200 Subject: problems with grouped images Message-ID: <462CC3F5.4010101@hrz.uni-kassel.de> On Mon Apr 23, 2007, Chipp Walters chipp at chipp.com wrote: > Wilhelm, > > Did you try checking the vscroll and hscroll of the group before and > after setting the loc of the image? I seem to recall they might be > involved in getting this to work. > > best, Chipp Chipp, When the image in the group is smaller than the grouprect, hscroll and vscroll are always 0 irrespective of where the image is located. I now found a workaround for setting and keeping the image at the loc of the group: I placed a field the size of the grouprect into the group and "set the loc of image "x" to the loc of field "centerfield"". This works and also prevents the dislocation of the image to the topleft of the group when the imagedata are changed. Though, it remains a mystery - this must be a bug - that setting the loc of a smaller image (or for that matter of the topleft of the image to some saved topleft before) is not possible and that after changing the imagedata of a smaller image that was centered by "move" it snaps back to the topleft of the group. Thus we have a workaround and a remaining problem that is most certainly an engine problem.-- Any ideas how to tackle the second imagegroup problem I reported in my first post in this thread, namely how to draw graphics on a grouped image? Best regards, Wilhelm From geradamas at yahoo.com Mon Apr 23 11:11:48 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 23 Apr 2007 16:11:48 +0100 (BST) Subject: directory ? ? ? Message-ID: <72738.62140.qm@web37511.mail.mud.yahoo.com> Build 390 sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From pepetoo at Cox.Net Mon Apr 23 11:15:31 2007 From: pepetoo at Cox.Net (Joe Lewis Wilkins) Date: Mon, 23 Apr 2007 08:15:31 -0700 Subject: Save question In-Reply-To: <7aa52a210704222350p7b686291i74628b292bc70d57@mail.gmail.com> References: <43BA13CF-3040-4CC6-8C10-90744A494394@mac.com> <20070422213505386411.9c185003@sonsothunder.com> <1D58E82C-2FEF-4AE9-8E17-35B672A56888@Cox.Net> <7aa52a210704222131h20347b52qf75535588cc1889e@mail.gmail.com> <7aa52a210704222233v6f19e024i77141baf6f8e50a@mail.gmail.com> <3C440DBC-7F5A-4CF4-9018-775851B86B75@Cox.Net> <7aa52a210704222350p7b686291i74628b292bc70d57@mail.gmail.com> Message-ID: Chipp, (sorry about the name. I said I'm having vision problems, smile) Thanks, I was beginning to come to the same conclusion; which seems to indicate that in order for any application to be able to Save anything, it must create documents apart from itself that are then used to load up when needed. This is going to require a change in strategy on my part or the used of stacks with the stackrunner in lieu of stand alones, which is not as pretty but acceptable I suppose. Would have gotten back sooner on this but turned in early last night and got a late start today. Joe Wilkins On Apr 22, 2007, at 11:50 PM, Chipp Walters wrote: > Joe, > (It's Chipp with 2 p's) > > First of all, you can't save data in a standalone. I assume you > already know this. You need to store your data in a stack or file > OUTSIDE the standalone. > If what you're after is the 'Save As..' dialog, read up on "ask file". > > There are two parts to Save As. The first part is asking the user for > the pathname to save the file to. The second part is actually doing > the save. > > Create a button: > > on mouseUp > ask file "Choose a place to save your stack" > if the result is "cancel" or it is empty then exit to top > put it into tPathname > save stack "JoesStack" as tPathname > end mouseUP > > This will save the stack "JoesStack" to the file specified. > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution 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 Mon Apr 23 11:50:48 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 23 Apr 2007 10:50:48 -0500 Subject: Obtaining the size of a file In-Reply-To: <462C747D.1050509@spl21.net> References: <462BB8C0.3070006@fourthworld.com> <462BC1E7.9090008@spl21.net> <7aa52a210704230004m1a099cbeyeea17c169f1c4a2a@mail.gmail.com> <462C747D.1050509@spl21.net> Message-ID: <20070423105048653023.f9a380e6@sonsothunder.com> On Mon, 23 Apr 2007 09:55:25 +0100, John Craig wrote: > Thanks for the info. I am just of the opinion that the file > functions in rev could possibly be more economical - it's as easy as > that. I agree, John... it would be great for Rev to have a "file" object that had properties that could be retrieved: put the fileSize of file into tSize put the visible of file into tVis (etc.) But until RunRev makes that happen, we've got to type a bit more to get the job done... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sanke at hrz.uni-kassel.de Mon Apr 23 11:58:47 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 23 Apr 2007 17:58:47 +0200 Subject: problems with grouped images (Wilhelm Sanke) Message-ID: <462CD7B7.60307@hrz.uni-kassel.de> On Mon Apr 23, 2007, Glenn E. Fisher gefisher at mac.com wrote: > > > Any ideas for a third way to draw graphics on a grouped image? > > > > Regards, > > > > Wilhelm Sanke > > > > Wilhelm, > > This is not a way to change a grouped image, but a way to modify > images used as icons of grouped buttons. If you want to take a look, > use revOnLine to downlaod my WarOfRoses stack under "gefisher" and > edit the main stack script. Look at the functions "modifyIcon" and > "mergeImage" for some ideas. This is used to add title and office > images to the shield image for the noble buttons. > > Admittedly, these are small images and it may not be suitable for > larger images. > > Just some ideas, > Glenn-- > Glenn E. Fisher University of Houston - Retired > http://homepage.mac.com/gefisher Glenn, Great stack with sophisticated scripts. I had a look at it and the functions you recommend for inspection, but I have yet to play to game to see the practical effects. As I see you merge two images - where the images are partially transparent - to then change the button icons on the map. You find a different approach to merge two images in the various scripts of button "combine both images" of my Imagedata Toolkit (see my website) - not yet comprising images with alpha masks at this time. The problem I encountered and described in the first post of this thread was that I did not find a way to place graphics on a grouped image using the "drag" command like it is easily possible with ungrouped images. This is implemeted - for ungrouped images - in the Imagedata Toolkit (newest version "...Preview 3") in the scripts of button "shape distortions". One of the upcoming versions of the toolkit will accomodate images of any size which may be larger than the stack and/or the screen. To secure a working and display area on the stack I have used the option to group the image. All filter and other image effects contained in the current Imagedata Toolkit can be implemented in the new stack with variable image sizes, with the exception - for the time being - of using he drag command on the grouped image. Of course this image-distortion business is not too important and I could easily leave it out, but I am curious if there would be way to implement such an effect nevertheless. Kind regards, Wilhelm From bobwarren at howsoft.com Mon Apr 23 12:13:39 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Mon, 23 Apr 2007 13:13:39 -0300 Subject: [OT] ps2 mouse does not work in Feisty FINAL VERSION Message-ID: <462CDB33.6080308@howsoft.com> Ubuntu 7.04 ("Feisty Fawn") was released on 20th April (only 1 day late). However, the PS2 mouse on one of my machines no longer works in Feisty, in spite of the fact that several bug reports were made to Ubuntu in this respect while this latest version was still in alpha. In view of the fact that I have been a great proponent of Ubuntu in connection with the pending new Rev/Linux, I feel responsible for it. I am dismayed that such a bug should be allowed to escape. I have been fairly critical towards Ubuntu, in my mind justifiably. For your observation (and perhaps even your amusement) you might like to observe the progress (or lack thereof) of this bug report and Ubuntu's reaction to being criticized instead of praised: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/108382 To be fair, Ubuntu have responded in an excellent manner to all other bug reports I have submitted, and none of these other bugs have escaped into the final version of Feisty. Also to be fair, this issue has not yet been concluded. Perhaps the Ubuntu engineer responsible has been busting his guts helping to launch Feisty in a timely fashion and prefers to throw senseless bureaucracy at me rather than to simply take the bull by the horns (i.e. assume responsibility) and give up part of his now-precious weekend in order to deal with it. Or perhaps it is not so urgent as I imagine it should be..... In sum, I would say that the easiest way to avoid all the philosophical/ethical problems involved with bugs and the traumas potentially extending from them is simply to do as much as possible to avoid introducing them in the first place! Bob From scott at cdroo.com Mon Apr 23 12:15:38 2007 From: scott at cdroo.com (Scott Kane) Date: Tue, 24 Apr 2007 02:15:38 +1000 Subject: Conditional Statements and Version Numbers Message-ID: <025201c785c2$a3ad1f10$0201010a@esbgdi9s3atqpx> G'day, In some other programming languages it's possible to use conditional defines to conditionally run parts of your code. This is particuarly useful when done in combination with version or build numbers. I can't seem to find similar methods in Rev. That is to say I can't find conditional defines or the ability to get a stand alones version or build number (though I can certainly find out the version or build of the Rev engine used to built it). For example {$ ifDef myDefine} Do some code {$End If} The $ being a compiler directive. Is either of these possible in Rev? Scott From kray at sonsothunder.com Mon Apr 23 12:28:42 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 23 Apr 2007 11:28:42 -0500 Subject: Conditional Statements and Version Numbers In-Reply-To: <025201c785c2$a3ad1f10$0201010a@esbgdi9s3atqpx> References: <025201c785c2$a3ad1f10$0201010a@esbgdi9s3atqpx> Message-ID: <20070423112842253026.0913a685@sonsothunder.com> On Tue, 24 Apr 2007 02:15:38 +1000, Scott Kane wrote: > G'day, > > In some other programming languages it's possible to use conditional > defines to conditionally run parts of your code. This is particuarly > useful when done in combination with version or build numbers. I > can't seem to find similar methods in Rev. That is to say I can't > find conditional defines or the ability to get a stand alones version > or build number (though I can certainly find out the version or build > of the Rev engine used to built it). Well, the standalone's version or build number as defined in the Standalone Builder is stored in a custom property set of your stack called "cRevStandaloneSettings". So for example, to get the version number (under Windows), you'd do this: put the cRevStandaloneSettings["Windows,productversion1"] of this stack into tDigit1 --major put the cRevStandaloneSettings["Windows,productversion2"] of this stack into tDigit2 --minor put the cRevStandaloneSettings["Windows,productversion3"] of this stack into tDigit3 --cosmetic put the cRevStandaloneSettings["Windows,productversion4"] of this stack into tDigit4 --build put tDigit1 & "." & tDigit2 & "." & tDigit3 & "." & tDigit4 into tVersionNumber So if I wanted to have code that only applied to version 2.0.0.0 or higher of my app, I could say: if (the cRevStandaloneSettings["Windows,productversion1"] of this stack) >= 2 then -- do my stuff end if Or if I've already retrieved the values as outlined above, I could just say: if tDigit1 >=2 then -- do my stuff end if HTH, From cszasz at mac.com Mon Apr 23 12:43:52 2007 From: cszasz at mac.com (Charles Szasz) Date: Mon, 23 Apr 2007 12:43:52 -0400 Subject: Save question Message-ID: <35076CA0-36BE-4574-95E4-38E7DB5165ED@mac.com> Ken, I did create a dialog in my project that asks the user if he/she wants to save. I have Save as a file command and Save as a dialog I created the user quits. Charles Szasz cszasz at mac.com From jacque at hyperactivesw.com Mon Apr 23 13:01:54 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Apr 2007 12:01:54 -0500 Subject: [OT] ps2 mouse does not work in Feisty FINAL VERSION In-Reply-To: <462CDB33.6080308@howsoft.com> References: <462CDB33.6080308@howsoft.com> Message-ID: <462CE682.8060409@hyperactivesw.com> Bob Warren wrote: > For > your observation (and perhaps even your amusement) you might like to > observe the progress (or lack thereof) of this bug report and Ubuntu's > reaction to being criticized instead of praised: > > https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/108382 This reminds me of the joke about Microsoft errors: "No keyboard recognized. Press any key to continue." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION at barncard.com Mon Apr 23 13:22:10 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 23 Apr 2007 10:22:10 -0700 Subject: Obtaining the size of a file In-Reply-To: <462C747D.1050509@spl21.net> References: <462BB8C0.3070006@fourthworld.com> <462BC1E7.9090008@spl21.net> <7aa52a210704230004m1a099cbeyeea17c169f1c4a2a@mail.gmail.com> <462C747D.1050509@spl21.net> Message-ID: >Thanks for the info. I am just of the opinion that the file >functions in rev could possibly be more economical - it's as easy as >that. By Economical, do you mean a command for every variation? The problem with that is that the more definitions that are in the message path, the slower Rev gets. If Rev made up a specific function for everything, Rev might not perform as well, not to mention the cross-platform sync, documentation and bug issues. I quite like it that Rev gives us the 'primitives' sometimes with these things where we might want to 'roll our own' and quite frankly, I look forward to writing efficient functions and handlers to do what I need with the data. Once you get comfortable with Rev, you'll make up your own libraries for what you need to do that stock Rev can't. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From fwvo at planet.nl Mon Apr 23 15:24:22 2007 From: fwvo at planet.nl (Ferdinand) Date: Mon, 23 Apr 2007 21:24:22 +0200 Subject: textHeight and textSize In-Reply-To: References: <8C951C9333933A5-7BC-11D2F@mblk-d42.sysops.aol.com> Message-ID: <2C38F086-AFEB-430F-822A-89C7EC725610@planet.nl> So I did the scripting like below. But I wish there was a "fontHeight" property in Revolution... :-( -- find size ratio... -- field "fontRatio" is a table like this: Arial, 1.14583 Comic Sans MS, 1.39583 Courier New, 1.13542 Geneva, 1.33333 Gill Sans, 1.14583 Helvetica, 1.19792 Palatino, 1.32292 Times, 1.19792 Times New Roman, 1.15625 Verdana, 1.21875 Zapfino, 3.375 put (4/3) into myRatio -- default put lineoffset (the effective textFont of field "text" & ",", field "fontRatio") into myline if myline > 0 and item 2 of line myline of field "fontRatio" is not empty then put (item 2 of line myline of field "fontRatio") into myRatio end if set the textHeight of field "text" to round (myRatio * the textSize of field "text") > Thanks for your time and answer. > > Setting the font works fine here. I try to be more specific with my > point: > > I need the exact line height needed for the font and font size. So > the font fits exactly in the line. > For example: > > For the font "Arial" with a size of 96 pts, the line height should > be 110 pts to fit the font exactly. > But for the font "Zapfino" with a size of 96 pts it should be 324 pts. > And "Verdana" needs 117 pts to fit on a line. (with a font size of 96) > > (i checked this on the texteditor on my Mac... ) > > It would be nice if there was a way to find this out and program it > within Revolution. > Otherwise I think I need to make a table with the font name and the > line height/font size ratio... > > I hope I made my point clear this time, and I am sorry if it was > not before... > > thanks again for your time. > > Ferdinand. > > > > simplsol at aol.com wrote: > >> With textSize it's either automatic or manual. >> To make manual adjustments: >> First set choose the textFont and textSize from the Text >> Formatting Palette >> Second choose the textHeight from the Basic Properties Palette >> ANY change to the first palette will change the textHeight to >> Rev's default (not just textSize changes). >> You can set a typeface or font for the entire stack, rather than >> field by field and button by button, if you want. However any >> fields or buttons that already have a typeface selected will not >> have it overrided. So if you are going for a global typeface >> change run a script similar to this: >> repeat with i = 1 to the number of flds >> set the textFont of fld i to empty >> set the textSize of fld i to empty >> set the textHeight of fld i to empty >> end repeat >> >> Paul Looney >> >>> >>> >>> Hi All, >>> >>> I have some troubles with the textHeight and textSize properties. >>> >>> The documentation says: >>> >>> " >>> If you change the field's textSize, Revolution automatically >>> sets the textHeight to trunc(4/3 * the textSize of field). For >>> example, if the textSize is set to 12, the textHeight is set to >>> 16 by default. If the textSize is set to 14, the textHeight is >>> set to 18. >>> " >>> >>> With some fonts this is okay, but I have some fonts with a >>> greater textHeight/textSize ratio. For example handwriting fonts. >>> With these fonts the text looks not so nice in a field. >>> Is there a way to determine the good textHeight : textSize ratio >>> within Revolution ? >>> >>> Thanks for your 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 geradamas at yahoo.com Mon Apr 23 15:38:58 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 23 Apr 2007 20:38:58 +0100 (BST) Subject: moveSpeed Message-ID: <455401.2479.qm@web37504.mail.mud.yahoo.com> build 390 set the moveSpeed to zero and watch everything go to bits! sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From JimAultWins at yahoo.com Mon Apr 23 15:39:03 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 23 Apr 2007 12:39:03 -0700 Subject: problems with grouped images In-Reply-To: <462C667E.70708@hrz.uni-kassel.de> Message-ID: On 4/23/07 12:55 AM, "Wilhelm Sanke" wrote: > Thanks for the response, Jim, but could it be that you missed the first > part of my problem report preceding the "addendum"? > > If the image in question is smaller than the rect of its group there is > no way to place it at the center of the group using "set the loc", but > only with "move to the loc". > > Having stored the topleft of the image in a custom property or elsewhere > (after it had been "moved" to the center) in the first place does not > prevent that the image is moved to the topleft of the group when the > imagedata are changed, nor is it possible in such a case to reset the > image to its former "topleft" stored somewhere. Only using "move" > enables you to set the loc of the image to the loc of the group. > Yes, I did miss the exact point you were making. I have done a horz slider group that places thumbnails+ a gap on a row and allows the scaling of them using a scrollbar object. The first (leftmost) object seems to usually be placed closer to the top of the group and the rest of the img objects will be placed where I want them, but not always. This is not critical, since I can do drag-drop-fly-over just fine for my use. I will probably get to the point of trying the field-sized-to-the-group-rect workaround in the near future. Good work on finding this :-) Jim Ault Las Vegas From geradamas at yahoo.com Mon Apr 23 15:59:52 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 23 Apr 2007 20:59:52 +0100 (BST) Subject: Beta 5 - Up and At It ! Message-ID: <420410.50596.qm@web37512.mail.mud.yahoo.com> Ho, Ho . . . Has just arrived, and Richmond is feeling "fairly snotty" so will test out his previous 'grumps' on it. Come on y'all and push this one to its limits:- Unless, of course, you want to be the type who moans and groans after the fact - all it takes for bad software to triumph is for people to forego the chance to test the betas! And, by golly! there's been a lot of moans and groans recently on the use-list. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From geradamas at yahoo.com Mon Apr 23 16:05:19 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 23 Apr 2007 21:05:19 +0100 (BST) Subject: moveSpeed Message-ID: <182288.7784.qm@web37508.mail.mud.yahoo.com> build 400 - Beta 5 set the moveSpeed to zero and watch everything go to bits! Tut, tut! sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From geradamas at yahoo.com Mon Apr 23 16:09:06 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 23 Apr 2007 21:09:06 +0100 (BST) Subject: directory ? ? ? Message-ID: <733224.56305.qm@web37513.mail.mud.yahoo.com> 'directories' takes me to 'folders' 'directory' lists 5 headings which (as a naive greenhorn) I don't logically connect with 'directory' the cursor lags behind the letters in the search field of the help stack (Mac OS X) sincerely, Richmond ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From chipp at chipp.com Mon Apr 23 16:28:30 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 23 Apr 2007 15:28:30 -0500 Subject: problems with grouped images In-Reply-To: <462CC3F5.4010101@hrz.uni-kassel.de> References: <462CC3F5.4010101@hrz.uni-kassel.de> Message-ID: <7aa52a210704231328j3b939e17s8301e8a8f7aa4166@mail.gmail.com> Hi Wilhelm, Yes, I just went back to a couple of projects where I do something similar and found out I had to create a 'background graphic' in order to preserve formattng. Thanks for documenting this on the list. I guess if you cannot draw graphics on a grouped image, you may wish to temporarily move the image outside the group, edit it, then move it back within the group. Just an idea. -Chipp From ambassador at fourthworld.com Mon Apr 23 16:37:44 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Apr 2007 13:37:44 -0700 Subject: problems with grouped images Message-ID: <462D1918.50906@fourthworld.com> Wilhelm Sanke wrote: > Any ideas how to tackle the second imagegroup problem I reported in my > first post in this thread, namely how to draw graphics on a grouped image? BZ request#623: Tool mode for groups: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From chipp at chipp.com Mon Apr 23 16:38:44 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 23 Apr 2007 15:38:44 -0500 Subject: Check Sum In-Reply-To: <019801c78596$6128c940$0201010a@esbgdi9s3atqpx> References: <019801c78596$6128c940$0201010a@esbgdi9s3atqpx> Message-ID: <7aa52a210704231338s549b7223veb340ffd3d79ecc5@mail.gmail.com> Scott, Don't know if this helps at all, but here's how I calculate checksum's for files: function getChecksum pFilePath if there is not a file pFilePath then return "" return URLencode(md5digest(URL ("binfile:" & pFilePath))) end getChecksum From chipp at chipp.com Mon Apr 23 16:59:27 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 23 Apr 2007 15:59:27 -0500 Subject: Where is the UBIQUITOUS Plugins folder on the Mac? Message-ID: <7aa52a210704231359w4a47e3a7rc7325eaa6d840e@mail.gmail.com> I know it's in the My Documents/Revolution Enterprise folder on the PC. But nowhere can I find out where to put them on the Mac... Tried: Macintosh HD:Users:chippwalters:Documents:Revolution Enterprise:Plugins and Macintosh HD:Users:chippwalters:Library:Preferences:Runtime Revolution:Revolution Enterprise:Plugins Any other guesses anyone? TIA, Chipp From m.schonewille at economy-x-talk.com Mon Apr 23 17:03:40 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Apr 2007 23:03:40 +0200 Subject: Where is the UBIQUITOUS Plugins folder on the Mac? In-Reply-To: <7aa52a210704231359w4a47e3a7rc7325eaa6d840e@mail.gmail.com> References: <7aa52a210704231359w4a47e3a7rc7325eaa6d840e@mail.gmail.com> Message-ID: <0B58AA9A-7395-4328-B42E-5C47385D0F2F@economy-x-talk.com> Chipp, ~/documents/My Revolution Enterprise/Plugins/ ~/documents/My Revolution Studio/Plugins/ 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 23-apr-2007, om 22:59 heeft Chipp Walters het volgende geschreven: > I know it's in the My Documents/Revolution Enterprise folder on the > PC. But nowhere can I find out where to put them on the Mac... > > Tried: > > Macintosh HD:Users:chippwalters:Documents:Revolution > Enterprise:Plugins > > and > > Macintosh HD:Users:chippwalters:Library:Preferences:Runtime > Revolution:Revolution Enterprise:Plugins > > Any other guesses anyone? > > TIA, Chipp From chipp at chipp.com Mon Apr 23 17:20:36 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 23 Apr 2007 16:20:36 -0500 Subject: Where is the UBIQUITOUS Plugins folder on the Mac? In-Reply-To: <0B58AA9A-7395-4328-B42E-5C47385D0F2F@economy-x-talk.com> References: <7aa52a210704231359w4a47e3a7rc7325eaa6d840e@mail.gmail.com> <0B58AA9A-7395-4328-B42E-5C47385D0F2F@economy-x-talk.com> Message-ID: <7aa52a210704231420y6a132ef2s1afc5d6d06480354@mail.gmail.com> Thanks Mark, Just wondering, is it documented anywhere? I couldn't find it. best, Chipp From m.schonewille at economy-x-talk.com Mon Apr 23 17:22:54 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Apr 2007 23:22:54 +0200 Subject: Where is the UBIQUITOUS Plugins folder on the Mac? In-Reply-To: <7aa52a210704231420y6a132ef2s1afc5d6d06480354@mail.gmail.com> References: <7aa52a210704231359w4a47e3a7rc7325eaa6d840e@mail.gmail.com> <0B58AA9A-7395-4328-B42E-5C47385D0F2F@economy-x-talk.com> <7aa52a210704231420y6a132ef2s1afc5d6d06480354@mail.gmail.com> Message-ID: <914CD070-6BA5-4577-A064-F720C879FED1@economy-x-talk.com> Hi Chipp, As far as I know, it is officially unsupported. I wonder why... It is very useful to have all third-party plugins and externals for all versions in one place. 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 23-apr-2007, om 23:20 heeft Chipp Walters het volgende geschreven: > Thanks Mark, > Just wondering, is it documented anywhere? I couldn't find it. > > best, Chipp From chipp at chipp.com Mon Apr 23 17:25:03 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 23 Apr 2007 16:25:03 -0500 Subject: Where is the UBIQUITOUS Plugins folder on the Mac? In-Reply-To: <914CD070-6BA5-4577-A064-F720C879FED1@economy-x-talk.com> References: <7aa52a210704231359w4a47e3a7rc7325eaa6d840e@mail.gmail.com> <0B58AA9A-7395-4328-B42E-5C47385D0F2F@economy-x-talk.com> <7aa52a210704231420y6a132ef2s1afc5d6d06480354@mail.gmail.com> <914CD070-6BA5-4577-A064-F720C879FED1@economy-x-talk.com> Message-ID: <7aa52a210704231425r6b61d27ajd06542e3a8ad5ebe@mail.gmail.com> I seem to remember someone making a stack which auto-created these directories...as they aren't created by Rev. Seems Mark Weider was involved, though I don't know for sure. I know Galaxy auto-creates them for you when it's first installed. From jc at spl21.net Mon Apr 23 17:59:59 2007 From: jc at spl21.net (John Craig) Date: Mon, 23 Apr 2007 22:59:59 +0100 Subject: Obtaining the size of a file In-Reply-To: References: <462BB8C0.3070006@fourthworld.com> <462BC1E7.9090008@spl21.net> <7aa52a210704230004m1a099cbeyeea17c169f1c4a2a@mail.gmail.com> <462C747D.1050509@spl21.net> Message-ID: <462D2C5F.8030100@spl21.net> Hi, Stephen. I'm very comfortable with rev. It became my 'weapon of choice' very quickly once I discovered it. economic: using the minimum of time or resources necessary for effectiveness One example is needing the size of a file in a folder of thousands. Creating the output generated by 'the files' is not economical in this case. However, as discussed in the thread, the same output can facilitate a speedy routine if the entire output is required. Both have merit. I had already 'rolled my own' as I didn't see another option, but wondered if there was another way I hadn't discovered - hence the original post. JC Stephen Barncard wrote: >> Thanks for the info. I am just of the opinion that the file >> functions in rev could possibly be more economical - it's as easy as >> that. > > By Economical, do you mean a command for every variation? The problem > with that is that the more definitions that are in the message path, > the slower Rev gets. If Rev made up a specific function for > everything, Rev might not perform as well, not to mention the > cross-platform sync, documentation and bug issues. > > I quite like it that Rev gives us the 'primitives' sometimes with > these things where we might want to 'roll our own' and quite frankly, > I look forward to writing efficient functions and handlers to do what > I need with the data. > > Once you get comfortable with Rev, you'll make up your own libraries > for what you need to do that stock Rev can't. From wjm at wjm.org Mon Apr 23 18:22:45 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 23 Apr 2007 18:22:45 -0400 Subject: Obtaining the size of a file In-Reply-To: <462D2C5F.8030100@spl21.net> References: <462BB8C0.3070006@fourthworld.com><462BC1E7.9090008@spl21.net> <7aa52a210704230004m1a099cbeyeea17c169f1c4a2a@mail.gmail.com> <462C747D.1050509@spl21.net> <462D2C5F.8030100@spl21.net> Message-ID: John, I hate to keep the thread going, but what was the objection to using a shell call? You can easily get a directory listing with filters and even hide the shell window ... might be faster than the other approaches if you're talking about a huge list of "the detailed files." And, instead of calling it once every iteration of a loop, you could do a "dir /s" to grab a whole tree and then process it with Rev's chunk expressions before you start looping. - Bill "John Craig" wrote in message news:462D2C5F.8030100 at spl21.net... > Hi, Stephen. I'm very comfortable with rev. It became my 'weapon of > choice' very quickly once I discovered it. > > economic: using the minimum of time or resources necessary for > effectiveness > > One example is needing the size of a file in a folder of thousands. > Creating the output generated by 'the files' is not economical in this > case. > However, as discussed in the thread, the same output can facilitate a > speedy routine if the entire output is required. Both have merit. > I had already 'rolled my own' as I didn't see another option, but wondered > if there was another way I hadn't discovered - hence the original post. From ambassador at fourthworld.com Mon Apr 23 18:29:31 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Apr 2007 15:29:31 -0700 Subject: Obtaining the size of a file Message-ID: <462D334B.6000204@fourthworld.com> John Craig wrote: > One example is needing the size of a file in a folder of thousands. > Creating the output generated by 'the files' is not economical in this case. Test: Make a stack with one button containing the script below, and one field named "r". I set the tabstops of the field to 300, and turned on the vGrid and hGrid for column cropping. Result: # Files: 12883 Total: 3650ms Per file: 0.283319ms Code: on mouseUp -- Get folder: answer folder "Select a folder:" if it is empty then exit to top -- -- Run function, with timing: put the millisecs into t put FileListInfo(it) into tmp put the millisecs - t into t -- -- Display function result in field, and test result in Msg: put tmp into fld "r" put the number of lines of fld "r" into n put "# File: "&n&" Total: "&t &"ms Per file: "& t/n &"ms" end mouseUp function FileListInfo pDir -- Get list of file info: put the directory into tSaveDir set the directory to pDir put the detailed files into tFileList set the directory to tSaveDir -- Parse for display: put empty into tFileInfo repeat for each line tLine in tFileList put urlDecode(item 1 of tLine) &tab& \ item 2 of tLine + item 3 of tLine &cr after tFileInfo end repeat -- return tFileInfo end FileListInfo -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jc at spl21.net Mon Apr 23 18:41:54 2007 From: jc at spl21.net (John Craig) Date: Mon, 23 Apr 2007 23:41:54 +0100 Subject: Obtaining the size of a file In-Reply-To: References: <462BB8C0.3070006@fourthworld.com><462BC1E7.9090008@spl21.net> <7aa52a210704230004m1a099cbeyeea17c169f1c4a2a@mail.gmail.com> <462C747D.1050509@spl21.net> <462D2C5F.8030100@spl21.net> Message-ID: <462D3632.6020500@spl21.net> No objections - I was simply looking for a possible native rev answer. Every day's a school day and - sometimes - if you don't ask, you don't find out! Bill Marriott wrote: > John, > > I hate to keep the thread going, but what was the objection to using a > shell call? You can easily get a directory listing with filters and > even hide the shell window ... might be faster than the other > approaches if you're talking about a huge list of "the detailed > files." And, instead of calling it once every iteration of a loop, you > could do a "dir /s" to grab a whole tree and then process it with > Rev's chunk expressions before you start looping. > > - Bill > > "John Craig" wrote in message > news:462D2C5F.8030100 at spl21.net... >> Hi, Stephen. I'm very comfortable with rev. It became my 'weapon of >> choice' very quickly once I discovered it. >> >> economic: using the minimum of time or resources necessary for >> effectiveness >> >> One example is needing the size of a file in a folder of thousands. >> Creating the output generated by 'the files' is not economical in >> this case. >> However, as discussed in the thread, the same output can facilitate a >> speedy routine if the entire output is required. Both have merit. >> I had already 'rolled my own' as I didn't see another option, but >> wondered if there was another way I hadn't discovered - hence the >> original post. > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 23 18:43:06 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Apr 2007 15:43:06 -0700 Subject: Obtaining the size of a file Message-ID: <462D367A.9010409@fourthworld.com> Turns out my test wasn't all that useful, since the OS has a bit of a bottleneck grabbing the info from 12,000+ files in a single directory. Running the same test on a folder that has only a few hundred files gives a per-file speed more on par with what we might expect: # File: 329 Total: 9ms Per file: 0.027356ms MacBook Pro, 2.16 GHz, 2MB RAM -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com Richard Gaskin wrote: > Test: > > Make a stack with one button containing the script below, and one field > named "r". I set the tabstops of the field to 300, and turned on the > vGrid and hGrid for column cropping. > > > > Result: > > # Files: 12883 Total: 3650ms Per file: 0.283319ms > > > > Code: > > on mouseUp > -- Get folder: > answer folder "Select a folder:" > if it is empty then exit to top > -- > -- Run function, with timing: > put the millisecs into t > put FileListInfo(it) into tmp > put the millisecs - t into t > -- > -- Display function result in field, and test result in Msg: > put tmp into fld "r" > put the number of lines of fld "r" into n > put "# File: "&n&" Total: "&t &"ms Per file: "& t/n &"ms" > end mouseUp > > > function FileListInfo pDir > -- Get list of file info: > put the directory into tSaveDir > set the directory to pDir > put the detailed files into tFileList > set the directory to tSaveDir > -- Parse for display: > put empty into tFileInfo > repeat for each line tLine in tFileList > put urlDecode(item 1 of tLine) &tab& \ > item 2 of tLine + item 3 of tLine &cr after tFileInfo > end repeat > -- > return tFileInfo > end FileListInfo From jc at spl21.net Mon Apr 23 19:13:09 2007 From: jc at spl21.net (John Craig) Date: Tue, 24 Apr 2007 00:13:09 +0100 Subject: Obtaining the size of a file In-Reply-To: <20070423105048653023.f9a380e6@sonsothunder.com> References: <462BB8C0.3070006@fourthworld.com> <462BC1E7.9090008@spl21.net> <7aa52a210704230004m1a099cbeyeea17c169f1c4a2a@mail.gmail.com> <462C747D.1050509@spl21.net> <20070423105048653023.f9a380e6@sonsothunder.com> Message-ID: <462D3D85.8090601@spl21.net> Ken, I'll just buy a brand new set of typing gloves :-) Ken Ray wrote: > On Mon, 23 Apr 2007 09:55:25 +0100, John Craig wrote: > > >> Thanks for the info. I am just of the opinion that the file >> functions in rev could possibly be more economical - it's as easy as >> that. >> > > I agree, John... it would be great for Rev to have a "file" object that > had properties that could be retrieved: > > put the fileSize of file into tSize > put the visible of file into tVis > (etc.) > > But until RunRev makes that happen, we've got to type a bit more to get > the job done... > > 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 jc at spl21.net Mon Apr 23 19:24:35 2007 From: jc at spl21.net (John Craig) Date: Tue, 24 Apr 2007 00:24:35 +0100 Subject: Obtaining the size of a file In-Reply-To: <462D367A.9010409@fourthworld.com> References: <462D367A.9010409@fourthworld.com> Message-ID: <462D4033.4050203@spl21.net> For only 1 folder containing 34,782 files on MY machine (3GHz, 512Mb RAM) which is not running any services. Time taken to get 'the detailed files'; 26888 millisecs = 26.888 seconds Size of output generated by rev for 'the detailed files'; 2543957 bytes = 2.5Mb On a busy server, the results could be considerably greater. The fact that it amounts to just under 0.8 millisecs per file is irrelevant - If I need a few (or a few hundred) file sizes, I still need to wait for the entire output to be generated. Economical? Richard Gaskin wrote: > Turns out my test wasn't all that useful, since the OS has a bit of a > bottleneck grabbing the info from 12,000+ files in a single directory. > > Running the same test on a folder that has only a few hundred files > gives a per-file speed more on par with what we might expect: > > # File: 329 Total: 9ms Per file: 0.027356ms > > MacBook Pro, 2.16 GHz, 2MB RAM > From wjm at wjm.org Mon Apr 23 19:24:20 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 23 Apr 2007 19:24:20 -0400 Subject: Obtaining the size of a file In-Reply-To: <462D4033.4050203@spl21.net> References: <462D367A.9010409@fourthworld.com> <462D4033.4050203@spl21.net> Message-ID: And how long does it take for you to shell out a dir for the particular file you're interested in? "John Craig" wrote in message news:462D4033.4050203 at spl21.net... > For only 1 folder containing 34,782 files on MY machine (3GHz, 512Mb RAM) > which is not running any services. > > Time taken to get 'the detailed files'; > 26888 millisecs = 26.888 seconds > > Size of output generated by rev for 'the detailed files'; > 2543957 bytes = 2.5Mb > > On a busy server, the results could be considerably greater. The fact > that it amounts to just under 0.8 millisecs per file is irrelevant - If I > need a few (or a few hundred) file sizes, I still need to wait for the > entire output to be generated. Economical? From jc at spl21.net Mon Apr 23 19:43:40 2007 From: jc at spl21.net (John Craig) Date: Tue, 24 Apr 2007 00:43:40 +0100 Subject: Obtaining the size of a file In-Reply-To: References: <462D367A.9010409@fourthworld.com> <462D4033.4050203@spl21.net> Message-ID: <462D44AC.10304@spl21.net> Shelling out to grab a single file took around 250 millisecs - although if multi file sizes are required, you can tack them all into the one command line and send that to the shell - it still takes about the same time. JC Bill Marriott wrote: > And how long does it take for you to shell out a dir for the > particular file you're interested in? > > "John Craig" wrote in message > news:462D4033.4050203 at spl21.net... >> For only 1 folder containing 34,782 files on MY machine (3GHz, 512Mb >> RAM) which is not running any services. >> >> Time taken to get 'the detailed files'; >> 26888 millisecs = 26.888 seconds >> >> Size of output generated by rev for 'the detailed files'; >> 2543957 bytes = 2.5Mb >> >> On a busy server, the results could be considerably greater. The >> fact that it amounts to just under 0.8 millisecs per file is >> irrelevant - If I need a few (or a few hundred) file sizes, I still >> need to wait for the entire output to be generated. Economical? > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 23 19:46:56 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Apr 2007 16:46:56 -0700 Subject: Obtaining the size of a file Message-ID: <462D4570.3050200@fourthworld.com> John Craig wrote: > Richard Gaskin wrote: >> Turns out my test wasn't all that useful, since the OS has a >> bit of a bottleneck grabbing the info from 12,000+ files in >> a single directory. >> >> Running the same test on a folder that has only a few hundred files >> gives a per-file speed more on par with what we might expect: >> >> # File: 329 Total: 9ms Per file: 0.027356ms >> >> MacBook Pro, 2.16 GHz, 2MB RAM > > For only 1 folder containing 34,782 files on MY machine (3GHz, 512Mb > RAM) which is not running any services. > > Time taken to get 'the detailed files'; > 26888 millisecs = 26.888 seconds > > Size of output generated by rev for 'the detailed files'; > 2543957 bytes = 2.5Mb > > On a busy server, the results could be considerably greater. The > fact that it amounts to just under 0.8 millisecs per file is > irrelevant - If I need a few (or a few hundred) file sizes, I > still need to wait for the entire output to be generated. > Economical? Given that the biggest bottleneck here appears to be the OS itself, what do you propose which would be more economical? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From hershf at rgllc.us Mon Apr 23 19:48:16 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Mon, 23 Apr 2007 19:48:16 -0400 Subject: Was cgi for slide show Message-ID: Hi all, This was a post a while ago and I'm trying to figure this out can some one brake this down for me pleease? Thanks, Hershel Jan- I'd probably opt for something even simpler - this will show a slide for five seconds, then move on to the next. No programming needed: From JimAultWins at yahoo.com Mon Apr 23 19:55:26 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 23 Apr 2007 16:55:26 -0700 Subject: Obtaining the size of a file In-Reply-To: <462D4033.4050203@spl21.net> Message-ID: I have never seen 34000 files in one directory before, so I am not sure what to think. It might be more practical to look at a log file that the system creates when it modifies files. This might give you a short list immediately. Do the files change once they are created? It seems like 34000 files would not be changing all the time. Getting the list at the top of the hour might get you closer to you goal. Rev relies on shell or Applescript to handle single calls, so not much help for you. Jim Ault Las Vegas On 4/23/07 4:24 PM, "John Craig" wrote: > For only 1 folder containing 34,782 files on MY machine (3GHz, 512Mb > RAM) which is not running any services. > > Time taken to get 'the detailed files'; > 26888 millisecs = 26.888 seconds > > Size of output generated by rev for 'the detailed files'; > 2543957 bytes = 2.5Mb > > On a busy server, the results could be considerably greater. The fact > that it amounts to just under 0.8 millisecs per file is irrelevant - If > I need a few (or a few hundred) file sizes, I still need to wait for the > entire output to be generated. Economical? > > > > > Richard Gaskin wrote: >> Turns out my test wasn't all that useful, since the OS has a bit of a >> bottleneck grabbing the info from 12,000+ files in a single directory. >> >> Running the same test on a folder that has only a few hundred files >> gives a per-file speed more on par with what we might expect: >> >> # File: 329 Total: 9ms Per file: 0.027356ms >> >> MacBook Pro, 2.16 GHz, 2MB RAM >> > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 jc at spl21.net Mon Apr 23 20:04:55 2007 From: jc at spl21.net (John Craig) Date: Tue, 24 Apr 2007 01:04:55 +0100 Subject: Obtaining the size of a file In-Reply-To: References: Message-ID: <462D49A7.8050403@spl21.net> I agree, Jim - I certainly wouldn't have that many files in a single directory - they aren't mine and I don't create them. Jim Ault wrote: > I have never seen 34000 files in one directory before, so I am not sure what > to think. It might be more practical to look at a log file that the system > creates when it modifies files. This might give you a short list > immediately. > > Do the files change once they are created? > It seems like 34000 files would not be changing all the time. Getting the > list at the top of the hour might get you closer to you goal. > > Rev relies on shell or Applescript to handle single calls, so not much help > for you. > > > Jim Ault > Las Vegas > > On 4/23/07 4:24 PM, "John Craig" wrote: > > >> For only 1 folder containing 34,782 files on MY machine (3GHz, 512Mb >> RAM) which is not running any services. >> >> Time taken to get 'the detailed files'; >> 26888 millisecs = 26.888 seconds >> >> Size of output generated by rev for 'the detailed files'; >> 2543957 bytes = 2.5Mb >> >> On a busy server, the results could be considerably greater. The fact >> that it amounts to just under 0.8 millisecs per file is irrelevant - If >> I need a few (or a few hundred) file sizes, I still need to wait for the >> entire output to be generated. Economical? >> >> >> >> >> Richard Gaskin wrote: >> >>> Turns out my test wasn't all that useful, since the OS has a bit of a >>> bottleneck grabbing the info from 12,000+ files in a single directory. >>> >>> Running the same test on a folder that has only a few hundred files >>> gives a per-file speed more on par with what we might expect: >>> >>> # File: 329 Total: 9ms Per file: 0.027356ms >>> >>> MacBook Pro, 2.16 GHz, 2MB RAM >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 wjm at wjm.org Mon Apr 23 20:31:55 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 23 Apr 2007 20:31:55 -0400 Subject: Was cgi for slide show In-Reply-To: References: Message-ID: The META tag has a "refresh" parameter which automatically switches to slide2.html after 5 seconds. > Hi all, This was a post a while ago and I'm trying to figure this out > > From hershf at rgllc.us Mon Apr 23 21:39:12 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Mon, 23 Apr 2007 21:39:12 -0400 Subject: Was cgi for slide show In-Reply-To: Message-ID: On 4/23/07 8:31 PM, "Bill Marriott" wrote: > The META tag has a "refresh" parameter which automatically switches to > slide2.html after 5 seconds. Thanks, that?s my question, what is the file "slide2.html"? Or, folder "mySlideShow" which contains e.g. 5 .jpg files, for the slide show what is the slide2.html? That?s not a .jpg file? Thanks, Hershel > >> Hi all, This was a post a while ago and I'm trying to figure this out > >> >> > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 23 21:57:30 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 23 Apr 2007 18:57:30 -0700 Subject: Was cgi for slide show In-Reply-To: Message-ID: google for META HTTP-EQUIV="Refresh" CONTENT= and there are several examples, etc. Jim Ault Las Vegas On 4/23/07 4:48 PM, "Hershel Fisch" wrote: > Hi all, This was a post a while ago and I'm trying to figure this out > can some one brake this down for me pleease? > Thanks, Hershel > > > Jan- > > I'd probably opt for something even simpler - this will show a slide > for five seconds, then move on to the next. No programming needed: > > > > > > > > > From wjm at wjm.org Mon Apr 23 22:05:51 2007 From: wjm at wjm.org (Bill Marriott) Date: Mon, 23 Apr 2007 22:05:51 -0400 Subject: Was cgi for slide show In-Reply-To: References: Message-ID: The html file is a "wrapper" for the image file. In this technique, each JPG has an associated HTML file. If you have five JPGs, picture1.jpg picture2.jpg picture3.jpg picture4.jpg picture5.jpg then you would create five HTML files... index.html slide2.html slide3.html slide4.html slide5.html each one would have the HTML code you supplied and the reference to the corresponding JPG image. Index.html would refresh to slide2.html; slide2.html would refresh to slide3.html, and so on until slide5.html, which would refresh back to index.html. The first is named "index.html" so that when people navigate to the folder which holds these items, it will display the first page by default. It's probably beyond the scope of the Revolution list to cover all the things you need to know about beginning HTML, but hopefully that gets you started. "Hershel Fisch" wrote in message news:C252D800.2418%hershf at rgllc.us... On 4/23/07 8:31 PM, "Bill Marriott" wrote: > The META tag has a "refresh" parameter which automatically switches to > slide2.html after 5 seconds. Thanks, that?s my question, what is the file "slide2.html"? Or, folder "mySlideShow" which contains e.g. 5 .jpg files, for the slide show what is the slide2.html? That?s not a .jpg file? Thanks, Hershel > >> Hi all, This was a post a while ago and I'm trying to figure this out > >> >> From hershf at rgllc.us Mon Apr 23 22:33:05 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Mon, 23 Apr 2007 22:33:05 -0400 Subject: Was cgi for slide show In-Reply-To: Message-ID: On 4/23/07 10:05 PM, "Bill Marriott" wrote: Thanks, got it. Hershel > The html file is a "wrapper" for the image file. In this technique, each JPG > has an associated HTML file. > > If you have five JPGs, > > picture1.jpg > picture2.jpg > picture3.jpg > picture4.jpg > picture5.jpg > > then you would create five HTML files... > > index.html > slide2.html > slide3.html > slide4.html > slide5.html > > each one would have the HTML code you supplied and the reference to the > corresponding JPG image. Index.html would refresh to slide2.html; > slide2.html would refresh to slide3.html, and so on until slide5.html, which > would refresh back to index.html. > > The first is named "index.html" so that when people navigate to the folder > which holds these items, it will display the first page by default. > > It's probably beyond the scope of the Revolution list to cover all the > things you need to know about beginning HTML, but hopefully that gets you > started. > > "Hershel Fisch" wrote in message > news:C252D800.2418%hershf at rgllc.us... > On 4/23/07 8:31 PM, "Bill Marriott" > wrote: > >> The META tag has a "refresh" parameter which automatically switches to >> slide2.html after 5 seconds. > Thanks, that?s my question, what is the file "slide2.html"? > Or, folder "mySlideShow" which contains e.g. 5 .jpg files, for the slide > show what is the slide2.html? That?s not a .jpg file? > Thanks, Hershel >> >>> Hi all, This was a post a while ago and I'm trying to figure this out >> >>> >>> > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 23 23:21:26 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 23 Apr 2007 20:21:26 -0700 Subject: Where is the UBIQUITOUS Plugins folder on the Mac? In-Reply-To: <7aa52a210704231425r6b61d27ajd06542e3a8ad5ebe@mail.gmail.com> References: <7aa52a210704231359w4a47e3a7rc7325eaa6d840e@mail.gmail.com> <0B58AA9A-7395-4328-B42E-5C47385D0F2F@economy-x-talk.com> <7aa52a210704231420y6a132ef2s1afc5d6d06480354@mail.gmail.com> <914CD070-6BA5-4577-A064-F720C879FED1@economy-x-talk.com> <7aa52a210704231425r6b61d27ajd06542e3a8ad5ebe@mail.gmail.com> Message-ID: <6368543219.20070423202126@ahsoftware.net> Chipp- Monday, April 23, 2007, 2:25:03 PM, you wrote: > I seem to remember someone making a stack which auto-created these > directories...as they aren't created by Rev. Seems Mark Weider was > involved, though I don't know for sure. I know Galaxy auto-creates > them for you when it's first installed. What I use is revEnvironmentUserPluginsPath(). I don't exactly remember where I found that. Since it isn't documented, I can't exactly condone its use, nor can I guarantee how long it will be around. I'm rather hoping all the "My" stuff will just fade away and remain just a bad taste in our mouths - even Microsoft has decided to move on. At any rate, my plugin in on revOnline and called, of all things, "Save Plugin". The code is all in the stack script, if anyone cares to look into this. -- -Mark Wieder mwieder at ahsoftware.net From speitel at hawaii.edu Mon Apr 23 23:30:57 2007 From: speitel at hawaii.edu (Thomas Speitel) Date: Mon, 23 Apr 2007 17:30:57 -1000 Subject: Quitting on a Mac Message-ID: <3910BD19-9E2B-48A7-8204-370C3BAD19B7@hawaii.edu> I have a shutdownrequest handler for a Mac System 10 application that gives the user opportunity to save a field's contents before quitting. I realized that the field disappears before it can be saved so I put the following script in the menubar to capture the contents into a variable that could be saved. --menubar script on mouseDown global datacontent get the htmltext of field "data" of cd 1 put it into datacontent end mouseDown Everything works fine now if the user quits using a mouse and goes to the quit menu item. What I don't know is how to intercept a command- Q??? Any ideas? Thanks Tom From JimAultWins at yahoo.com Mon Apr 23 23:32:37 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 23 Apr 2007 20:32:37 -0700 Subject: Was cgi for slide show In-Reply-To: Message-ID: On 4/23/07 6:39 PM, "Hershel Fisch" wrote: > On 4/23/07 8:31 PM, "Bill Marriott" wrote: >> The META tag has a "refresh" parameter which automatically switches to >> slide2.html after 5 seconds. > Thanks, that?s my question, what is the file "slide2.html"? > Or, folder "mySlideShow" which contains e.g. 5 .jpg files, for the slide > show what is the slide2.html? That?s not a .jpg file? > Thanks, Hershel >> >>> Hi all, This was a post a while ago and I'm trying to figure this out >> >>> >>> >> In html, you need to go to another html document on a server somewhere. In this case, it is in the MySlideShow/ directory on the same server as the current document. The current document could be named anything and it contains a reference to "slide1.jpg" The next document that your browser will request (in 5 seconds) will be "MySlideShow/slide2.html", and it will contain the "slide2.jpg" reference. The "Refresh" only works for another document name. Java script could be used to trigger your browser to change the image within the current document, but that requires some coding. Jim Ault Las Vegas From scott at cdroo.com Tue Apr 24 00:24:53 2007 From: scott at cdroo.com (Scott Kane) Date: Tue, 24 Apr 2007 14:24:53 +1000 Subject: Check Sum References: <019801c78596$6128c940$0201010a@esbgdi9s3atqpx> <7aa52a210704231338s549b7223veb340ffd3d79ecc5@mail.gmail.com> Message-ID: <007401c78628$839d33c0$0201010a@esbgdi9s3atqpx> Hi Chipp, > Don't know if this helps at all, but here's how I calculate checksum's for > files: > > > function getChecksum pFilePath > if there is not a file pFilePath then return "" > return URLencode(md5digest(URL ("binfile:" & pFilePath))) > end getChecksum Actually it certainly is. One of the things I do is check the checksum of a file for cracks changing it. It's not a fool proof method for security, but it slows down the script kiddies a bit. Thanks! Doing this stuff is Rev is proving to be quite possible. :-) Scott From scott at elementarysoftware.com Tue Apr 24 03:29:41 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 24 Apr 2007 00:29:41 -0700 Subject: Drawers In-Reply-To: References: Message-ID: Mike et all, Have you by chance discovered a work-around for the drawer problem under OSX 10.3.x ? It still exists in the latest Beta (though there are now 3 bug reports... 4739, 3508 and 4056 ) on April 14, 2007 Scott Morrow lamely wrote: > It was reported as a bug. I also seem to remember that > using the exact language from the Rev Documentation Dictionary > solved a problem In revisiting this recently it seems that I was mistaken about the language workaround (my apologies) and that for this application I was only using 2.7.4 for Windows and to deploy as an Intel Mac build... as that OS isn't effected by the bug. Otherwise I'm still using 2.6.1 for Mac applications that use drawers. For OS9 and Windows versions of the application I'm using a drawer simulation by resizing the stack but it seems a shame to fake it in OSX when native drawers are so excellent at what they do. sigh -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Apr 17, 2007, at 12:15 PM, Mike Hughes wrote: > Hi Scott et all, > > I'm using Rev version 2.7.4. I ran the exact same version of Rev on > both a Panther and Tiger box and noticed the drawers, while working > fine on Tiger, behave strangely just on Panther. > > My question is: has anyone deployed Mac applications built in Rev > 2.7.4 that INCLUDE the use of drawers? If so, have any problems > been reported back from users regarding the drawers? > > Best, > > Mike > > >> From: Scott Morrow >> Reply-To: How to use Revolution >> To: How to use Revolution >> Subject: Re: Drawers >> Date: Fri, 13 Apr 2007 23:59:32 -0700 >> >> Mike, >> What version of Rev are you using? I thought this was a problem >> with some of the 2.7.x versions but perhaps it was the OS >> version. It was reported as a bug. I also seem to remember that >> using the exact language from the Rev Documentation Dictionary >> solved a problem for me where I created a drawer but the drawer >> wandered away when the parent was moved. >> -Scott Morrow >> >> On Apr 13, 2007, at 7:01 PM, Mike Hughes wrote: >> >>> Hi Ken and Mark, >>> >>> I prefer not to use drawers typically but an instance came up >>> where using one would be perfect. I did a little more playing >>> around with the drawer command and noticed that on Tiger the >>> problems I mentioned don't happen. On my Panther box, I cannot >>> move around a drawer's parent stack without the drawer >>> disappearing. >>> >>> Mark, do you think your recollection of this problem may have >>> been associated with using Panther? >>> >>> Many thanks, >>> >>> Mike >>> >>> >>>> From: Mark Schonewille >>>> Reply-To: How to use Revolution >>>> To: How to use Revolution >>>> Subject: Re: Drawers >>>> Date: Sat, 14 Apr 2007 01:38:40 +0200 >>>> >>>> Hi, >>>> >>>> Just for the record, I do recognise the problems Mike >>>> describes. They can be solved, but I prefer to avoid drawers >>>> entirely. >>>> >>>> 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 13-apr-2007, om 19:36 heeft Ken Ray het volgende geschreven: >>>> >>>> >>>>> >>>>> Odd, I don't get this reaction - it opens fine for me, and >>>>> dragging the >>>>> parent stack is smooth. What command are you using >>>>> (specifically), and >>>>> is your substack smaller (height-wise) than the parent? Also, >>>>> are you >>>>> using any custom window shapes or styles? >>>>> >>>>> Ken Ray From revolution at knowledgeworks.plus.com Tue Apr 24 04:35:40 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Tue, 24 Apr 2007 09:35:40 +0100 Subject: line endings on OS X Message-ID: <4A1461DE-427C-4133-83C8-4FDC0C09D408@knowledgeworks.plus.com> I have a problem writing to text files on OS X, and would like to determine if it is a defect in Revolution. If I save a multi-line text file using vi (created pressing the return key), or if I do the following: echo "line 1" > mytextfile.txt echo "line 2" >> mytextfile.txt then I can get a 'clean' text file (if I type 'more mytextfile.txt', there are no strange '^M' characters where there should be line endings). However, no matter what I put as a line ending using Rev (2.7 or 2.8), I get the strange '^M' characters if I look at the file using either vi or the 'more' command). I tried using the 'file:' URL schema, and 'write to file'. I've tried all the following as line-endings in Rev on OS X, but NONE gives a clean text file: return CRLF numToChar(10) numToChar(13) The fact that they all display as '^M' when the text file is viewed using OS X command line utilities makes me think there is some weird character translation going on between Rev and the file system. I did the same experiment using Rev 2.8 on Windows. When I viewed the file from a command window, then there were no extraneous '^M' characters in Windows. Furthermore, when I ftp-ed the files to OS X, there were no strange ^M characters. (I know that an Ascii FTP transfer between operating sytems will translate end of line characters). If I look at a 'clean' text file on OS X (made e.g. with vi) Rev tells me (using charToNum) that the line-ending character is ASCII 10. Yet the documentation for Rev says "Different operating systems use different characters to mark the end of a line. Mac OS and OS X use a return character (ASCII 13), Unix systems use a linefeed character (ASCII 10)..." After spending a couple of hours trying to work out what was going on, I finally decided to use binfile as the URL file type. Now, 'return', 'CRLF', numToChar(10) all produce a 'clean' file. NumToChar (13) as a line-ending in a binfile still produces '^M' in the final file. Is this a bug? It certainly seems inconsistent to me. Bernard From mark at maseurope.net Tue Apr 24 04:58:52 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 24 Apr 2007 09:58:52 +0100 Subject: line endings on OS X In-Reply-To: <4A1461DE-427C-4133-83C8-4FDC0C09D408@knowledgeworks.plus.com> References: <4A1461DE-427C-4133-83C8-4FDC0C09D408@knowledgeworks.plus.com> Message-ID: <3927F136-8EBF-4A8C-A166-2772D5870083@maseurope.net> Bernard, in Rev itself, numToChar(10) is used for line endings (showing its Unix origins), but if written to a file on a Mac, using URL "file:", they're translated to numToChar(13). If using URL "binfile:", no translation happens, so numToChar(10) is preserved. I think what you're seeing is a difference between OS X and it's Unix underpinnings - vi is a Unix utility, so expects NumToChar(10), but the mac OS uses numToChar(13). I guess the solution is to use the "binfile:' scheme. I have certainly found this to be necessary when writing cgi scripts in Rev. Best, Mark On 24 Apr 2007, at 09:35, Bernard Devlin wrote: > I have a problem writing to text files on OS X, and would like to > determine if it is a defect in Revolution. > > If I save a multi-line text file using vi (created pressing the > return key), or if I do the following: > > echo "line 1" > mytextfile.txt > echo "line 2" >> mytextfile.txt > > then I can get a 'clean' text file (if I type 'more > mytextfile.txt', there are no strange '^M' characters where there > should be line endings). > > However, no matter what I put as a line ending using Rev (2.7 or > 2.8), I get the strange '^M' characters if I look at the file using > either vi or the 'more' command). I tried using the 'file:' URL > schema, and 'write to file'. > > I've tried all the following as line-endings in Rev on OS X, but > NONE gives a clean text file: > > return > CRLF > numToChar(10) > numToChar(13) > > The fact that they all display as '^M' when the text file is viewed > using OS X command line utilities makes me think there is some > weird character translation going on between Rev and the file system. > > I did the same experiment using Rev 2.8 on Windows. When I viewed > the file from a command window, then there were no extraneous '^M' > characters in Windows. Furthermore, when I ftp-ed the files to OS > X, there were no strange ^M characters. (I know that an Ascii FTP > transfer between operating sytems will translate end of line > characters). > > If I look at a 'clean' text file on OS X (made e.g. with vi) Rev > tells me (using charToNum) that the line-ending character is ASCII > 10. Yet the documentation for Rev says "Different operating > systems use different characters to mark the end of a line. Mac OS > and OS X use a return character (ASCII 13), Unix systems use a > linefeed character (ASCII 10)..." > > After spending a couple of hours trying to work out what was going > on, I finally decided to use binfile as the URL file type. Now, > 'return', 'CRLF', numToChar(10) all produce a 'clean' file. > NumToChar(13) as a line-ending in a binfile still produces '^M' in > the final file. > > Is this a bug? It certainly seems inconsistent to me. > > Bernard > _______________________________________________ > use-revolution mailing list > use-revolution 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 nickp at didata.bw Tue Apr 24 05:07:57 2007 From: nickp at didata.bw (Nic Prioleau) Date: Tue, 24 Apr 2007 11:07:57 +0200 Subject: XML tree with spaces Message-ID: <008701c78650$0cbbfa20$480aa8c0@didata.bw> Good day everyone, I have used the very informative xmltree-view stack as well as Sarah's tutorial on XML & runrev but have come up with a small glitch and am wondering how I can rectify it. I basically read data from my sql DB into an array and then build an xml-tree from this data, however, if there are any spaces in records returned, only the first word will be displayed in the tree. Is this a limitation or am I doing something wrong? e.g. - Trucks B456AFD B54633G B537HGR - Customers N3P (Software) Dimension (Data) under my customer tree, instead of the whole word, I just get the first part and because I then have code that looks up data based on the "selectednode", I am not getting any result. Any help/shove in the right direction is much appreciated. Thanks Regards Nic ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From revolution at knowledgeworks.plus.com Tue Apr 24 05:55:47 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Tue, 24 Apr 2007 10:55:47 +0100 Subject: line endings on OS X In-Reply-To: <4A1461DE-427C-4133-83C8-4FDC0C09D408@knowledgeworks.plus.com> References: <4A1461DE-427C-4133-83C8-4FDC0C09D408@knowledgeworks.plus.com> Message-ID: <708C26A8-31D6-42F4-B289-4FB74E00BB7A@knowledgeworks.plus.com> Hi Mark, thanks for the speedy response. I guessed that something like that was going on. However, it certainly should be documented more clearly. The documentation for the "file" keyword does not mention this at all. Furthermore, what I find strange is that putting any of these characters as a line-ending produced the strange ^M when viewed using vi: return CRLF numToChar(10) numToChar(13) It is really weird that one has to use binfile to write a text file. Also, I had the same problem using "write to file". So, it looks like it is more widespread than just using the "file:" url schema. But thank you for at least confirming that I'm not losing my sanity (or at least confirming that this episode is not, in itself, evidence of that!) Still, I won't get back those hours lost on something as trivial as this. Bernard > Bernard, in Rev itself, numToChar(10) is used for line endings > (showing its Unix origins), but if written to a file on a Mac, using > URL "file:", they're translated to numToChar(13). If using URL > "binfile:", no translation happens, so numToChar(10) is preserved. > > I think what you're seeing is a difference between OS X and it's Unix > underpinnings - vi is a Unix utility, so expects NumToChar(10), but > the mac OS uses numToChar(13). > > I guess the solution is to use the "binfile:' scheme. I have > certainly found this to be necessary when writing cgi scripts in Rev. > > Best, > > Mark From m.schonewille at economy-x-talk.com Tue Apr 24 07:55:27 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 24 Apr 2007 13:55:27 +0200 Subject: DotMac Message-ID: <9B988E34-3801-4163-B222-B7461AF81A0D@economy-x-talk.com> Dear list members, I received a request to create a programme that uploads and downloads files to the web space of a user's DotMac account. I don't feel like writing a WebDav client, unless it is the only way. Nor do I want the iDisk to appear on the desktop each time the application is used. Any thoughts about this? Thanks, 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 From devin_asay at byu.edu Tue Apr 24 10:16:44 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 24 Apr 2007 08:16:44 -0600 Subject: Quitting on a Mac In-Reply-To: <3910BD19-9E2B-48A7-8204-370C3BAD19B7@hawaii.edu> References: <3910BD19-9E2B-48A7-8204-370C3BAD19B7@hawaii.edu> Message-ID: <6E76E735-9C98-4048-95B8-312D93AD2631@byu.edu> On Apr 23, 2007, at 9:30 PM, Thomas Speitel wrote: > Everything works fine now if the user quits using a mouse and goes > to the quit menu item. What I don't know is how to intercept a > command-Q??? Any ideas? It requires a little AppleScript event handler. Key Ray posted a tip on how to do this on his web site: http://www.sonsothunder.com/devres/revolution/tips/menu001.htm (Thanks, Ken!) Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From devin_asay at byu.edu Tue Apr 24 10:47:33 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 24 Apr 2007 08:47:33 -0600 Subject: DotMac In-Reply-To: <9B988E34-3801-4163-B222-B7461AF81A0D@economy-x-talk.com> References: <9B988E34-3801-4163-B222-B7461AF81A0D@economy-x-talk.com> Message-ID: <9E929737-DA02-4009-8DE8-435B04D24454@byu.edu> On Apr 24, 2007, at 5:55 AM, Mark Schonewille wrote: > Dear list members, > > I received a request to create a programme that uploads and > downloads files to the web space of a user's DotMac account. I > don't feel like writing a WebDav client, unless it is the only way. > Nor do I want the iDisk to appear on the desktop each time the > application is used. Any thoughts about this? You could use an AppleScript to mount the iDisk, or call mount_webdav in a shell function. But both of these will actually mount the iDisk volume. Although it's easy enough to unmount it again, it does look messy. Just curious, have you tried 'put ... into url' using the http scheme with a username and password? put myFilePath into URL ("http://myUser:myPassword at myiDisk.mac.com/ myFile.txt") I don't have a webdav server to try it out on just now. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From m.schonewille at economy-x-talk.com Tue Apr 24 11:12:44 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 24 Apr 2007 17:12:44 +0200 Subject: DotMac In-Reply-To: <9E929737-DA02-4009-8DE8-435B04D24454@byu.edu> References: <9B988E34-3801-4163-B222-B7461AF81A0D@economy-x-talk.com> <9E929737-DA02-4009-8DE8-435B04D24454@byu.edu> Message-ID: <0DA9970A-D751-417D-810B-54A1FC3DF7CF@economy-x-talk.com> Hi Devin, Thanks for the reply. Putting data into a URL appears to work with a standard WebDav server, but it is extremely slow. It doesn't work with DotMac. DotMac returns an error: Method not allowed. Any other ideas? 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 24-apr-2007, om 16:47 heeft Devin Asay het volgende geschreven: > You could use an AppleScript to mount the iDisk, or call > mount_webdav in a shell function. But both of these will actually > mount the iDisk volume. Although it's easy enough to unmount it > again, it does look messy. > > Just curious, have you tried 'put ... into url' using the http > scheme with a username and password? > > put myFilePath into URL ("http:// > myUser:myPassword at myiDisk.mac.com/myFile.txt") > > I don't have a webdav server to try it out on just now. > > > 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 ambassador at fourthworld.com Tue Apr 24 11:20:28 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Apr 2007 08:20:28 -0700 Subject: DotMac Message-ID: <462E203C.2060301@fourthworld.com> Mark Schonewille wrote: > Thanks for the reply. Putting data into a URL appears to work with a > standard WebDav server, but it is extremely slow. It doesn't work > with DotMac. DotMac returns an error: Method not allowed. Any other > ideas? I don't have any, but I do have a question: Anyone here know why Apple doesn't provide an FTP option for DotMac accounts? Why the fixation on WebDAV? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mark at maseurope.net Tue Apr 24 11:25:45 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 24 Apr 2007 16:25:45 +0100 Subject: line endings on OS X In-Reply-To: <708C26A8-31D6-42F4-B289-4FB74E00BB7A@knowledgeworks.plus.com> References: <4A1461DE-427C-4133-83C8-4FDC0C09D408@knowledgeworks.plus.com> <708C26A8-31D6-42F4-B289-4FB74E00BB7A@knowledgeworks.plus.com> Message-ID: <30C179B3-9D37-4233-82EE-EB043ADC1023@maseurope.net> Bernard, I do agree that it might be more fully documented, though once you've figured it out it's not exactly a burden. "write to file" does the same thing as URL "file:", so you can do "open file somefile for binary write", just as you can do URL "binfile:" Best, Mark On 24 Apr 2007, at 10:55, Bernard Devlin wrote: > Hi Mark, thanks for the speedy response. I guessed that something > like that was going on. However, it certainly should be documented > more clearly. The documentation for the "file" keyword does not > mention this at all. > > Furthermore, what I find strange is that putting any of these > characters as a line-ending produced the strange ^M when viewed > using vi: > > return > CRLF > numToChar(10) > numToChar(13) > > It is really weird that one has to use binfile to write a text > file. Also, I had the same problem using "write to file". So, it > looks like it is more widespread than just using the "file:" url > schema. > > But thank you for at least confirming that I'm not losing my sanity > (or at least confirming that this episode is not, in itself, > evidence of that!) Still, I won't get back those hours lost on > something as trivial as this. > > Bernard > >> Bernard, in Rev itself, numToChar(10) is used for line endings >> (showing its Unix origins), but if written to a file on a Mac, using >> URL "file:", they're translated to numToChar(13). If using URL >> "binfile:", no translation happens, so numToChar(10) is preserved. >> >> I think what you're seeing is a difference between OS X and it's Unix >> underpinnings - vi is a Unix utility, so expects NumToChar(10), but >> the mac OS uses numToChar(13). >> >> I guess the solution is to use the "binfile:' scheme. I have >> certainly found this to be necessary when writing cgi scripts in Rev. >> >> Best, >> >> 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 christian.langers at education.lu Tue Apr 24 12:31:25 2007 From: christian.langers at education.lu (Christian Langers) Date: Tue, 24 Apr 2007 18:31:25 +0200 Subject: DotMac In-Reply-To: <462E203C.2060301@fourthworld.com> References: <462E203C.2060301@fourthworld.com> Message-ID: <5E5B0598-B601-48EC-86E6-F73C42F80AA5@education.lu> Hi... Some time ago i experimented with my iDisk... This seemed to work : post URL "file:wallet.swdb" to URL "http:// user:password at idisk.mac.com/user/Documents/sWallet/ wallet_"&tDate&"_"&tTime&".swdb" Christian Le 24 avr. 07 ? 17:20, Richard Gaskin a ?crit : > Mark Schonewille wrote: >> Thanks for the reply. Putting data into a URL appears to work with >> a standard WebDav server, but it is extremely slow. It doesn't >> work with DotMac. DotMac returns an error: Method not allowed. >> Any other ideas? > > I don't have any, but I do have a question: Anyone here know why > Apple doesn't provide an FTP option for DotMac accounts? Why the > fixation on WebDAV? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.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 soapdog at mac.com Tue Apr 24 12:39:11 2007 From: soapdog at mac.com (Andre Garzia) Date: Tue, 24 Apr 2007 13:39:11 -0300 Subject: DotMac In-Reply-To: <5E5B0598-B601-48EC-86E6-F73C42F80AA5@education.lu> References: <462E203C.2060301@fourthworld.com> <5E5B0598-B601-48EC-86E6-F73C42F80AA5@education.lu> Message-ID: there are also command line tools such as 'cadaver' (silly name, I know) that can be used with shell() maybe wget or curl is also able to access webdav volumes. andre On Apr 24, 2007, at 1:31 PM, Christian Langers wrote: > Hi... > > Some time ago i experimented with my iDisk... > > > This seemed to work : > > post URL "file:wallet.swdb" to URL "http:// > user:password at idisk.mac.com/user/Documents/sWallet/ > wallet_"&tDate&"_"&tTime&".swdb" > > > Christian > > > > > > Le 24 avr. 07 ? 17:20, Richard Gaskin a ?crit : > >> Mark Schonewille wrote: >>> Thanks for the reply. Putting data into a URL appears to work >>> with a standard WebDav server, but it is extremely slow. It >>> doesn't work with DotMac. DotMac returns an error: Method not >>> allowed. Any other ideas? >> >> I don't have any, but I do have a question: Anyone here know why >> Apple doesn't provide an FTP option for DotMac accounts? Why the >> fixation on WebDAV? >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> ___________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.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 kray at sonsothunder.com Tue Apr 24 13:02:33 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 12:02:33 -0500 Subject: Non-Motif Linux Interface? Message-ID: <20070424120233331405.9d948aed@sonsothunder.com> Is it possible to have Rev display using the currently installed theme or in any event NOT using Motif for the interface look and feel on Linux? I don't mean changing the "look and feel" setting to some other emulated implementation. The reason I ask is that Mark Wieder and I have been talking and although we both have the same installed version of Kubuntu, with the same installed version of Rev, and we both did a "normal" install, I see Motif, and he sees something else (not sure what, but it's definitely not Motif). Similarly, in a conversation I had with Tuviah a while ago, he *swore* that there was theme support for Rev under Linux, and when I showed him that Rev was running with Motif in a default install he was very surprised. In any event, does anyone know anything about this? Thanks in advance, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From hershf at rgllc.us Tue Apr 24 13:55:09 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Tue, 24 Apr 2007 13:55:09 -0400 Subject: Was cgi for slide show In-Reply-To: Message-ID: On 4/23/07 11:32 PM, "Jim Ault" wrote: Thanks, got it. Hershel > On 4/23/07 6:39 PM, "Hershel Fisch" wrote: >> On 4/23/07 8:31 PM, "Bill Marriott" wrote: >>> The META tag has a "refresh" parameter which automatically switches to >>> slide2.html after 5 seconds. >> Thanks, that?s my question, what is the file "slide2.html"? >> Or, folder "mySlideShow" which contains e.g. 5 .jpg files, for the slide >> show what is the slide2.html? That?s not a .jpg file? >> Thanks, Hershel >>> >>>> Hi all, This was a post a while ago and I'm trying to figure this out >>> >>>> >>>> >>> > > In html, you need to go to another html document on a server somewhere. > In this case, it is in the MySlideShow/ directory on the same server as the > current document. The current document could be named anything and it > contains a reference to "slide1.jpg" > > The next document that your browser will request (in 5 seconds) will be > "MySlideShow/slide2.html", and it will contain the "slide2.jpg" reference. > The "Refresh" only works for another document name. Java script could be > used to trigger your browser to change the image within the current > document, but that requires some coding. > > 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 devin_asay at byu.edu Tue Apr 24 14:18:36 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 24 Apr 2007 12:18:36 -0600 Subject: Cleaning up stack URLs Message-ID: <7B82AE2A-54AE-4AF4-89C9-262D6572435E@byu.edu> I'm working on a stack that launches stacks from the web with 'go stack URL'. I know there are certain characters that are illegal or unsafe in URL strings. (See http://tools.ietf.org/html/rfc1738) These include space, quote and a number of others. Most web browsers automatically escape these characters for you, so, e.g., a space is converted to '% 20' before the browser sends the request to the server. I'm about to start writing a function that checks a potential stack URL for illegal and unsafe characters and converts them to escape sequences, but I don't want to reinvent the wheel if such a thing already exists. Am I right that there is no equivalent functionality built into Rev? I know about URLEncode(), of course, but that serves a different purpose--formatting strings for POSTing, rather than formatting strings for retrieving files from a server (a GET request?) Am I understanding this correctly? A related issue is, are there characters that are disallowed as filenames for rev stackfiles? I can't find any such list anywhere. I suppose this would be determined by the host OS? Thanks. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From palcibiades-first at yahoo.co.uk Tue Apr 24 14:27:55 2007 From: palcibiades-first at yahoo.co.uk (Peter) Date: Tue, 24 Apr 2007 19:27:55 +0100 Subject: Non-Motif Linux Interface? Message-ID: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> On my installation Rev IDE does change with the WM and with the WM theme. To see the way it works, I started up Rev, brought up the gnome theme manager, and changed themes. Rev changes - the color, and also the decoration of the title bar. It also changes in KDE, so if you want it in purple, its the Sun theme. And in another WM, like Windowmaker, it will take on that coloring and so on. This was with the appearance set to default. I haven't tried if this happens with standalones. But are you finding that when you do this in KDE with the IDE open, all the other apps change their colors and icons, but Rev doesn't? Does seem odd. Peter From mark at maseurope.net Tue Apr 24 14:46:05 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 24 Apr 2007 19:46:05 +0100 Subject: Cleaning up stack URLs In-Reply-To: <7B82AE2A-54AE-4AF4-89C9-262D6572435E@byu.edu> References: <7B82AE2A-54AE-4AF4-89C9-262D6572435E@byu.edu> Message-ID: <4A23F856-05BB-46BB-987C-867C0C7C7AFC@maseurope.net> I think UrlEncode is exactly what you're after, isn't it? from the docs: Returns a string that has been transformed so that it can be posted to an HTTP server as a URL. Best, Mark On 24 Apr 2007, at 19:18, Devin Asay wrote: > I'm working on a stack that launches stacks from the web with 'go > stack URL'. > > I know there are certain characters that are illegal or unsafe in > URL strings. (See http://tools.ietf.org/html/rfc1738) These include > space, quote and a number of others. Most web browsers > automatically escape these characters for you, so, e.g., a space is > converted to '%20' before the browser sends the request to the server. > > I'm about to start writing a function that checks a potential stack > URL for illegal and unsafe characters and converts them to escape > sequences, but I don't want to reinvent the wheel if such a thing > already exists. > > Am I right that there is no equivalent functionality built into > Rev? I know about URLEncode(), of course, but that serves a > different purpose--formatting strings for POSTing, rather than > formatting strings for retrieving files from a server (a GET > request?) Am I understanding this correctly? > > A related issue is, are there characters that are disallowed as > filenames for rev stackfiles? I can't find any such list anywhere. > I suppose this would be determined by the host OS? > > Thanks. > > 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 sanke at hrz.uni-kassel.de Tue Apr 24 15:22:36 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 24 Apr 2007 21:22:36 +0200 Subject: problems with grouped images Message-ID: <462E58FC.2080705@hrz.uni-kassel.de> On Mon Apr 23, 2007, Chipp Walters chipp at chipp.com wrote > Hi Wilhelm, > > Yes, I just went back to a couple of projects where I do something > similar and found out I had to create a 'background graphic' in order > to preserve formattng. Thanks for documenting this on the list. > > I guess if you cannot draw graphics on a grouped image, you may wish > to temporarily move the image outside the group, edit it, then move it > back within the group. Just an idea. > > -Chipp Chipp, Both problems which I reported with grouped images are resolved at this moment, but there was one more aspect of the drawing graphics issue no one of us had mentioned before. I had also tried to move the image out of the group, but that did *not* work with the following script "set the relayergroupedcontrols to true put the layer of img "eins" into tlayer set the layer of img "eins" to top send "mouseup" to btn "shape distortions" set the layer of img "eins" to tlayer set the relayergroupedcontrols to false". Next step: I imported a referenced image outside the group and applied the "distortion" button on it: Does not work. Another step: Imported an image fully with its text data outside the group: Button "distortion" now shows the expected effects. Next step: Imported an image fully with its text data into the group: Button "distortion" leaves the group image unaffected, but creates a new image outside the group containing the distortions. There seemed to be some issue between text-of-image data and the imagedata, and next I tried to import a referenced image and immediately set its imagedata to its imagedata. Outside a group the graphics were drawn, with the same image inside the group a *new* image was created as above. Last test I performed on a referenced image inside the group: I added the line "set the imagedata of img "eins" to the imagedata of img "eins"" as the first line to the script of the distortion button, then applied the first script above to move the image temporarily out of the group: Alas, this finally works (maybe as one of more possible workarounds?)! Thanks to all who tried to help to figure this out. Best regards, Wilhelm From devin_asay at byu.edu Tue Apr 24 15:28:52 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 24 Apr 2007 13:28:52 -0600 Subject: Cleaning up stack URLs In-Reply-To: <4A23F856-05BB-46BB-987C-867C0C7C7AFC@maseurope.net> References: <7B82AE2A-54AE-4AF4-89C9-262D6572435E@byu.edu> <4A23F856-05BB-46BB-987C-867C0C7C7AFC@maseurope.net> Message-ID: On Apr 24, 2007, at 12:46 PM, Mark Smith wrote: > I think UrlEncode is exactly what you're after, isn't it? > > from the docs: > > Returns a string that has been transformed so that it can be posted > to an HTTP server as a URL. Right, I checked that out first thing. But URLencode is for formatting a URL to be *posted* to a server. When you request a file with go stack URL, you are invoking a GET operation on the server, not a POST. The string formatting requirements appear to be different. For example, I want to open a stack whose stackfile name contains a space: go stack URL "http://server.com/My Stack.rev" This fails in Revolution. If I try to access the same URL in my web browser, the browser reformats it like this before sending it: http://server.com/My%20Stack.rev URLencode, on the other hand, escapes virtually all non-alphanumeric chars: put URLencode("http://server.com/My Stack.rev") --> http%3A%2F%2Fserver.com%2FMy+Stack.rev A URL encoded like this doesn't even make it to the server. But if I do this: put "http://server.com/My Stack.rev" into myURL replace space with "%20" in myURL go stack URL myURL It works perfectly. So it appears that, since I can't predict what stack names someone might try to retrieve with this stack, I'm going to have to write my own function that checks for unsafe characters in a URL string and escapes them. Before I do this I want to find out if I'm overlooking something, if anyone has done something like this before, and which characters really need to be escaped in the URL string. Any suggestions are appreciated. Devin > >> I'm working on a stack that launches stacks from the web with 'go >> stack URL'. >> >> I know there are certain characters that are illegal or unsafe in >> URL strings. (See http://tools.ietf.org/html/rfc1738) These >> include space, quote and a number of others. Most web browsers >> automatically escape these characters for you, so, e.g., a space >> is converted to '%20' before the browser sends the request to the >> server. >> >> I'm about to start writing a function that checks a potential >> stack URL for illegal and unsafe characters and converts them to >> escape sequences, but I don't want to reinvent the wheel if such a >> thing already exists. >> >> Am I right that there is no equivalent functionality built into >> Rev? I know about URLEncode(), of course, but that serves a >> different purpose--formatting strings for POSTing, rather than >> formatting strings for retrieving files from a server (a GET >> request?) Am I understanding this correctly? >> >> A related issue is, are there characters that are disallowed as >> filenames for rev stackfiles? I can't find any such list anywhere. >> I suppose this would be determined by the host OS? Devin Asay Humanities Technology and Research Support Center Brigham Young University From kray at sonsothunder.com Tue Apr 24 15:52:51 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 14:52:51 -0500 Subject: Non-Motif Linux Interface? In-Reply-To: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> Message-ID: <20070424145251411962.f9a2aab4@sonsothunder.com> On Tue, 24 Apr 2007 19:27:55 +0100, Peter wrote: > On my installation Rev IDE does change with the WM and with the WM > theme. To see the way it works, I started up Rev, brought up the > gnome theme manager, and changed themes. Rev changes - the color, > and also the decoration of the title bar. It also changes in KDE, so > if you want it in purple, its the Sun theme. And in another WM, like > Windowmaker, it will take on that coloring and so on. This was with > the appearance set to default. > > I haven't tried if this happens with standalones. But are you > finding that when you do this in KDE with the IDE open, all the other > apps change their colors and icons, but Rev doesn't? Does seem odd. No, it's not the colors and titlebar decorations that I'm talking about - those change - it's the internal controls (buttons, fields, menus, etc.). I've been working on RevZilla 2.1 (which is almost ready to be released, btw), and Mark and I were testing it under Kubuntu. Here's a page that shows the difference between his system and mine - perhaps you can answer why mine looks Motif and his doesn't? http://www.sonsothunder.com/LinuxSample.htm Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Tue Apr 24 15:58:48 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Apr 2007 14:58:48 -0500 Subject: Non-Motif Linux Interface? In-Reply-To: <20070424145251411962.f9a2aab4@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> Message-ID: <462E6178.1050304@hyperactivesw.com> Ken Ray wrote: > No, it's not the colors and titlebar decorations that I'm talking about > - those change - it's the internal controls (buttons, fields, menus, > etc.). I've been working on RevZilla 2.1 (which is almost ready to be > released, btw), and Mark and I were testing it under Kubuntu. Here's a > page that shows the difference between his system and mine - perhaps > you can answer why mine looks Motif and his doesn't? > > http://www.sonsothunder.com/LinuxSample.htm I suppose you've already checked this, but you didn't accidentally choose "Motif emulated" from the View menu, did you? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Tue Apr 24 16:07:55 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 15:07:55 -0500 Subject: Non-Motif Linux Interface? In-Reply-To: <462E6178.1050304@hyperactivesw.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> Message-ID: <20070424150755208979.4b0e7ffe@sonsothunder.com> On Tue, 24 Apr 2007 14:58:48 -0500, J. Landman Gay wrote: > Ken Ray wrote: > >> No, it's not the colors and titlebar decorations that I'm talking >> about - those change - it's the internal controls (buttons, fields, >> menus, etc.). I've been working on RevZilla 2.1 (which is almost >> ready to be released, btw), and Mark and I were testing it under >> Kubuntu. Here's a page that shows the difference between his system >> and mine - perhaps you can answer why mine looks Motif and his >> doesn't? >> >> http://www.sonsothunder.com/LinuxSample.htm > > I suppose you've already checked this, but you didn't accidentally > choose "Motif emulated" from the View menu, did you? Would that it would be that simple! :-) No, it's set for "Default Appearance Manager". Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mb.userev at harbourhosting.co.uk Tue Apr 24 16:29:37 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Tue, 24 Apr 2007 21:29:37 +0100 Subject: Cleaning up stack URLs In-Reply-To: <7B82AE2A-54AE-4AF4-89C9-262D6572435E@byu.edu> References: <7B82AE2A-54AE-4AF4-89C9-262D6572435E@byu.edu> Message-ID: <462E68B1.9090300@harbourhosting.co.uk> Devin Asay wrote: > I'm working on a stack that launches stacks from the web with 'go stack > URL'. > > I know there are certain characters that are illegal or unsafe in URL > strings. (See http://tools.ietf.org/html/rfc1738) These include space, > quote and a number of others. Most web browsers automatically escape > these characters for you, so, e.g., a space is converted to '%20' before > the browser sends the request to the server. > > I'm about to start writing a function that checks a potential stack URL > for illegal and unsafe characters and converts them to escape sequences, > but I don't want to reinvent the wheel if such a thing already exists. > > Am I right that there is no equivalent functionality built into Rev? I > know about URLEncode(), of course, but that serves a different > purpose--formatting strings for POSTing, rather than formatting strings > for retrieving files from a server (a GET request?) Am I understanding > this correctly? > I think you are right Devin, unfortunately. Anyway, you can't give the whole url to urlencode as it will also encode the slashes and colons etc. etc. Looking at my php manual, I find php has 2 functions: urlencode() rawurlencode() and the difference is described as the treatment of space: + in urlencode, %20 in rawurlencode This is a surmise, but I think that RR urlencode is the same as php's identically named function. If so, a shortcut might be to replace the spaces yourself before applying urlencode() which should deal with any remaining problem characters something like (untested) put "http://www.whatever.com/" into tdomainpart put "exciting content/big file.html" into tpath replace space with "%20" in tpath set itemdelimiter to "/" put empty into t_assemble repeat with i = 1 to the number of items in tpath put urlencode(item i of tpath) into item i of tencodedpath end repeat put tdomainpart & tencodedpart into tencodedurl > A related issue is, are there characters that are disallowed as > filenames for rev stackfiles? I can't find any such list anywhere. I > suppose this would be determined by the host OS? > That's what I would expect. I would avoid naming a rev stack beginning with a tilde though, because of the temp file made when saving. Martin Baxter From pevensen at siboneylg.com Tue Apr 24 16:55:46 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 24 Apr 2007 15:55:46 -0500 Subject: Cleaning up stack URLs In-Reply-To: <462E68B1.9090300@harbourhosting.co.uk> References: <7B82AE2A-54AE-4AF4-89C9-262D6572435E@byu.edu> <462E68B1.9090300@harbourhosting.co.uk> Message-ID: <462E6ED2.2040003@siboneylg.com> Could you do something like this? set the itemdelimiter to "/" repeat with i = 3 to the number of items in tURL put URLEncode(item i of tURL) into item i of tURL end repeat Martin Baxter wrote: > Devin Asay wrote: >> I'm working on a stack that launches stacks from the web with 'go >> stack URL'. >> >> I know there are certain characters that are illegal or unsafe in URL >> strings. (See http://tools.ietf.org/html/rfc1738) These include >> space, quote and a number of others. Most web browsers automatically >> escape these characters for you, so, e.g., a space is converted to >> '%20' before the browser sends the request to the server. >> >> I'm about to start writing a function that checks a potential stack >> URL for illegal and unsafe characters and converts them to escape >> sequences, but I don't want to reinvent the wheel if such a thing >> already exists. >> >> Am I right that there is no equivalent functionality built into Rev? >> I know about URLEncode(), of course, but that serves a different >> purpose--formatting strings for POSTing, rather than formatting >> strings for retrieving files from a server (a GET request?) Am I >> understanding this correctly? >> > > I think you are right Devin, unfortunately. Anyway, you can't give the > whole url to urlencode as it will also encode the slashes and colons > etc. etc. > > Looking at my php manual, I find php has 2 functions: > urlencode() > rawurlencode() > > and the difference is described as the treatment of space: + in > urlencode, %20 in rawurlencode > > This is a surmise, but I think that RR urlencode is the same as php's > identically named function. If so, a shortcut might be to replace the > spaces yourself before applying urlencode() which should deal with any > remaining problem characters > > something like (untested) > > put "http://www.whatever.com/" into tdomainpart > put "exciting content/big file.html" into tpath > replace space with "%20" in tpath > set itemdelimiter to "/" > put empty into t_assemble > repeat with i = 1 to the number of items in tpath > put urlencode(item i of tpath) into item i of tencodedpath > end repeat > > put tdomainpart & tencodedpart into tencodedurl > > >> A related issue is, are there characters that are disallowed as >> filenames for rev stackfiles? I can't find any such list anywhere. I >> suppose this would be determined by the host OS? >> > > That's what I would expect. I would avoid naming a rev stack beginning > with a tilde though, because of the temp file made when saving. > > Martin Baxter > _______________________________________________ > use-revolution mailing list > use-revolution 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 Tue Apr 24 17:26:56 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 24 Apr 2007 15:26:56 -0600 Subject: Cleaning up stack URLs In-Reply-To: <462E6ED2.2040003@siboneylg.com> References: <7B82AE2A-54AE-4AF4-89C9-262D6572435E@byu.edu> <462E68B1.9090300@harbourhosting.co.uk> <462E6ED2.2040003@siboneylg.com> Message-ID: <466C0234-20F5-41E1-8475-4962EA27EF75@byu.edu> On Apr 24, 2007, at 2:55 PM, Peter T. Evensen wrote: > Could you do something like this? > > set the itemdelimiter to "/" > repeat with i = 3 to the number of items in tURL > put URLEncode(item i of tURL) into item i of tURL > end repeat Yes, I think that's basically what Martin was getting at. It's just that URLEncode changes space to '+', so you'd have to handle that as a special case. Devin > > Martin Baxter wrote: >> Devin Asay wrote: >>> I'm working on a stack that launches stacks from the web with 'go >>> stack URL'. >>> >>> I know there are certain characters that are illegal or unsafe in >>> URL strings. (See http://tools.ietf.org/html/rfc1738) These >>> include space, quote and a number of others. Most web browsers >>> automatically escape these characters for you, so, e.g., a space >>> is converted to '%20' before the browser sends the request to the >>> server. >>> >>> I'm about to start writing a function that checks a potential >>> stack URL for illegal and unsafe characters and converts them to >>> escape sequences, but I don't want to reinvent the wheel if such >>> a thing already exists. >>> >>> Am I right that there is no equivalent functionality built into >>> Rev? I know about URLEncode(), of course, but that serves a >>> different purpose--formatting strings for POSTing, rather than >>> formatting strings for retrieving files from a server (a GET >>> request?) Am I understanding this correctly? >>> >> >> I think you are right Devin, unfortunately. Anyway, you can't give >> the whole url to urlencode as it will also encode the slashes and >> colons etc. etc. >> >> Looking at my php manual, I find php has 2 functions: >> urlencode() >> rawurlencode() >> >> and the difference is described as the treatment of space: + in >> urlencode, %20 in rawurlencode >> >> This is a surmise, but I think that RR urlencode is the same as >> php's identically named function. If so, a shortcut might be to >> replace the spaces yourself before applying urlencode() which >> should deal with any remaining problem characters >> >> something like (untested) >> >> put "http://www.whatever.com/" into tdomainpart >> put "exciting content/big file.html" into tpath >> replace space with "%20" in tpath >> set itemdelimiter to "/" >> put empty into t_assemble >> repeat with i = 1 to the number of items in tpath >> put urlencode(item i of tpath) into item i of tencodedpath >> end repeat >> >> put tdomainpart & tencodedpart into tencodedurl >> >> >>> A related issue is, are there characters that are disallowed as >>> filenames for rev stackfiles? I can't find any such list >>> anywhere. I suppose this would be determined by the host OS? >>> >> >> That's what I would expect. I would avoid naming a rev stack >> beginning with a tilde though, because of the temp file made when >> saving. Devin Asay Humanities Technology and Research Support Center Brigham Young University From chris at altuit.com Tue Apr 24 17:47:15 2007 From: chris at altuit.com (chris bohnert) Date: Tue, 24 Apr 2007 15:47:15 -0600 Subject: Non-Motif Linux Interface? In-Reply-To: <20070424150755208979.4b0e7ffe@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> Message-ID: <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> Hi Ken, Could it be that your system doesn't know where to load GTK+ from. I've always assumed that the libdl dependency in rev. is being used to load the gnome widget libraries among other things. ( I could be completely wrong of course :-) ) You might try something like setting the following environment variables. I'm assuming Ubuntu puts the gtk libs in /usr/lib..but it might not. You might also compare Marks location for the libs to yours. REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so REV_GTK_PATH /usr/lib/libgobject-2.0.so REV_GOBJECT_PATH /usr/lib/libgobject-2.0.so Hope that helps.. -- cb On 4/24/07, Ken Ray wrote: > > On Tue, 24 Apr 2007 14:58:48 -0500, J. Landman Gay wrote: > > > Ken Ray wrote: > > > >> No, it's not the colors and titlebar decorations that I'm talking > >> about - those change - it's the internal controls (buttons, fields, > >> menus, etc.). I've been working on RevZilla 2.1 (which is almost > >> ready to be released, btw), and Mark and I were testing it under > >> Kubuntu. Here's a page that shows the difference between his system > >> and mine - perhaps you can answer why mine looks Motif and his > >> doesn't? > >> > >> http://www.sonsothunder.com/LinuxSample.htm > > > > I suppose you've already checked this, but you didn't accidentally > > choose "Motif emulated" from the View menu, did you? > > Would that it would be that simple! :-) > > No, it's set for "Default Appearance Manager". > > > 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 revlist at azurevision.co.uk Tue Apr 24 18:05:00 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 24 Apr 2007 23:05:00 +0100 Subject: Anyone using Apple Aperture? Message-ID: Just wondering if there are many list members using Aperture. I've got the basis of a library of AppleScripts and functions related to Aperture such as exporting, getting EXIF/IPTC/custom tags and setting them etc. If there's interest, I'll post the current version on RevOnline for people to play with. Ian From kray at sonsothunder.com Tue Apr 24 20:39:14 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 19:39:14 -0500 Subject: Non-Motif Linux Interface? In-Reply-To: <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> Message-ID: <20070424193914886622.70cf4bbc@sonsothunder.com> On Tue, 24 Apr 2007 15:47:15 -0600, chris bohnert wrote: > Hi Ken, > > Could it be that your system doesn't know where to load GTK+ from. I've > always assumed that the libdl dependency in rev. is being used to load the > gnome widget libraries among other things. ( I could be completely wrong of > course :-) ) > > You might try something like setting the following environment variables. > I'm assuming Ubuntu puts the gtk libs in /usr/lib..but it might not. You > might also compare Marks location for the libs to yours. > > REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so > REV_GTK_PATH /usr/lib/libgobject-2.0.so > REV_GOBJECT_PATH /usr/lib/libgobject-2.0.so What about under KDE on Kubuntu? Any ideas? (I'll try your idea on Ubuntu and let you know if that's the issue there...) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rishi at puredata.com.au Tue Apr 24 20:45:12 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Wed, 25 Apr 2007 10:45:12 +1000 Subject: Non-Motif Linux Interface? In-Reply-To: <20070424145251411962.f9a2aab4@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> Message-ID: <200704251045.13362.rishi@puredata.com.au> On Wednesday 25 April 2007 05:52, Ken Ray wrote: > No, it's not the colors and titlebar decorations that I'm talking about > - those change - it's the internal controls (buttons, fields, menus, > etc.). I've been working on RevZilla 2.1 (which is almost ready to be > released, btw), and Mark and I were testing it under Kubuntu. Here's a > page that shows the difference between his system and mine - perhaps > you can answer why mine looks Motif and his doesn't? > > http://www.sonsothunder.com/LinuxSample.htm It looks like you both have the same "Window Decorations", but you are using different "Widget Styles". This could have been changed by one or the other of you by changing the "Syle" in the KDE Theme Manager or by changing "Style" under "Appearance and Themes" area in the "Control Center". Have you checked if there are differences in how each of your native KDE applications look? E.g. right click on desktop, choose "Configure Desktop" and compare screen shots of how your "Configure - KDesktop" applications look. Worth a try. I can see what you are worried about... Marks screen looks _much_ nicer!!! ;) -- Rishi Australia From kray at sonsothunder.com Tue Apr 24 21:09:56 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 20:09:56 -0500 Subject: Non-Motif Linux Interface? In-Reply-To: <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> Message-ID: <20070424200956841942.cce5d954@sonsothunder.com> On Tue, 24 Apr 2007 15:47:15 -0600, chris bohnert wrote: > REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so > REV_GTK_PATH /usr/lib/libgobject-2.0.so > REV_GOBJECT_PATH /usr/lib/libgobject-2.0.so Odd, all of my .so files in /usr/lib have text after the ".so", as in: /usr/lib/libgdk-x11-2.0.so.0 /usr/lib/libgobject-2.0.so.0 /usr/lib/libgobject-2.0.so.3 etc. Any ideas why this might be? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Apr 24 21:21:30 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 20:21:30 -0500 Subject: Non-Motif Linux Interface? In-Reply-To: <20070424200956841942.cce5d954@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <20070424200956841942.cce5d954@sonsothunder.com> Message-ID: <20070424202130917598.ac152d41@sonsothunder.com> On Tue, 24 Apr 2007 20:09:56 -0500, Ken Ray wrote: > On Tue, 24 Apr 2007 15:47:15 -0600, chris bohnert wrote: > >> REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so >> REV_GTK_PATH /usr/lib/libgobject-2.0.so >> REV_GOBJECT_PATH /usr/lib/libgobject-2.0.so > > Odd, all of my .so files in /usr/lib have text after the ".so", as in: > > /usr/lib/libgdk-x11-2.0.so.0 > /usr/lib/libgobject-2.0.so.0 > /usr/lib/libgobject-2.0.so.3 Well, it turns out those are needed to boot Ubunto; if I change them to remove the .0, it goes to the command line... oh well... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Apr 24 21:27:36 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 20:27:36 -0500 Subject: Non-Motif Linux Interface? In-Reply-To: <200704251045.13362.rishi@puredata.com.au> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <200704251045.13362.rishi@puredata.com.au> Message-ID: <20070424202736184502.71a9ca39@sonsothunder.com> On Wed, 25 Apr 2007 10:45:12 +1000, Rishi Viner wrote: > It looks like you both have the same "Window Decorations", but you > are using > different "Widget Styles". This could have been changed by one or the other > of you by changing the "Syle" in the KDE Theme Manager or by changing > "Style" > under "Appearance and Themes" area in the "Control Center". Yeah, we're both using the "Lipstik" widget style... but maybe it's something else... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From chris at altuit.com Tue Apr 24 22:07:16 2007 From: chris at altuit.com (chris bohnert) Date: Tue, 24 Apr 2007 21:07:16 -0500 Subject: Non-Motif Linux Interface? In-Reply-To: <20070424202130917598.ac152d41@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <20070424200956841942.cce5d954@sonsothunder.com> <20070424202130917598.ac152d41@sonsothunder.com> Message-ID: <2e0cf4750704241907r5967fb37x5e21c0c92560e6b8@mail.gmail.com> Hi Ken, Yep..they're definitely needed...did you try creating a symbolic link so you had the .so linked to the versioned files that are present? Alternately you can set REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so.0 REV_GTK_PATH /usr/lib/libgobject-2.0.so.0 REV_GOBJECT_PATH /usr/lib/libgobject-2.0.so.3 The defaults in rev. point to the shared objects without the version numbers on the end. -- cb On 4/24/07, Ken Ray wrote: > > On Tue, 24 Apr 2007 20:09:56 -0500, Ken Ray wrote: > > > On Tue, 24 Apr 2007 15:47:15 -0600, chris bohnert wrote: > > > >> REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so > >> REV_GTK_PATH /usr/lib/libgobject-2.0.so > >> REV_GOBJECT_PATH /usr/lib/libgobject-2.0.so > > > > Odd, all of my .so files in /usr/lib have text after the ".so", as in: > > > > /usr/lib/libgdk-x11-2.0.so.0 > > /usr/lib/libgobject-2.0.so.0 > > /usr/lib/libgobject-2.0.so.3 > > Well, it turns out those are needed to boot Ubunto; if I change them to > remove the .0, it goes to the command line... oh well... > > > > 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 Tue Apr 24 23:30:32 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 22:30:32 -0500 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> Message-ID: <20070424223032768925.b5f0d54d@sonsothunder.com> On Tue, 24 Apr 2007 15:47:15 -0600, chris bohnert wrote: > You might try something like setting the following environment variables. > I'm assuming Ubuntu puts the gtk libs in /usr/lib..but it might not. You > might also compare Marks location for the libs to yours. > > REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so > REV_GTK_PATH /usr/lib/libgobject-2.0.so > REV_GOBJECT_PATH /usr/lib/libgobject-2.0.so It turns out that the 'revolution.sh' file included an 'export' for GDK_PATH and GTK_PATH, but NOT GOBJECT_PATH... and after adding that in, I got the current Ubuntu widget theme! (BTW, it looks like your GTK_PATH is pointing to libgjobject, not libgtk...) So my 'revolution.sh' file looks like this: ------- #!/bin/sh export REV_GDK_PATH=/usr/lib/libgdk-x11-2.0.so.0 export REV_GTK_PATH=/usr/lib/libgtk-x11-2.0.so.0 export REV_GOBJECT_PATH=/usr/lib/libgobject-2.0.so.0 export REV_SSL_PATH=/usr/lib/libssl.so.0.9.7 # Needed to make symlinks/shortcuts work. cd "/opt/Revolution-2.6.1" runrev="./revolution.x86" "$runrev" $* >& /dev/null ------- You can bet this is going on my Tips page! I'm going to check on Kubuntu, but I'll bet it's the same issue there as well... Thanks, Chris! :-) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Apr 24 23:48:37 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 22:48:37 -0500 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <20070424223032768925.b5f0d54d@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <20070424223032768925.b5f0d54d@sonsothunder.com> Message-ID: <20070424224837185626.5c5b8e32@sonsothunder.com> > You can bet this is going on my Tips page! I'm going to check on > Kubuntu, but I'll bet it's the same issue there as well... Well, *sort of*... on Kubuntu, there *is* a libgobject in /usr/lib, but there is NOT a libgdk or libgtk... are these supposed to be there? Or is there some other set of libraries that KDE uses vs. Gnome's libgdk/libgtk? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Wed Apr 25 00:12:20 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Apr 2007 23:12:20 -0500 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <20070424223032768925.b5f0d54d@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <20070424223032768925.b5f0d54d@sonsothunder.com> Message-ID: <462ED524.8010402@hyperactivesw.com> Ken Ray wrote: > It turns out that the 'revolution.sh' file included an 'export' for > GDK_PATH and GTK_PATH, but NOT GOBJECT_PATH... and after adding that > in, I got the current Ubuntu widget theme! Is this something the team should know about for the next Linux build? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Wed Apr 25 00:42:36 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 24 Apr 2007 23:42:36 -0500 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <462ED524.8010402@hyperactivesw.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <20070424223032768925.b5f0d54d@sonsothunder.com> <462ED524.8010402@hyperactivesw.com> Message-ID: <20070424234236294041.576d5031@sonsothunder.com> On Tue, 24 Apr 2007 23:12:20 -0500, J. Landman Gay wrote: > Ken Ray wrote: > >> It turns out that the 'revolution.sh' file included an 'export' for >> GDK_PATH and GTK_PATH, but NOT GOBJECT_PATH... and after adding that >> in, I got the current Ubuntu widget theme! > > Is this something the team should know about for the next Linux build? Yes, if it hasn't already been fixed... my 2.6.1 build was downloaded a long time ago; it may have already been fixed by now. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rishi at puredata.com.au Wed Apr 25 01:42:28 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Wed, 25 Apr 2007 15:42:28 +1000 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <20070424224837185626.5c5b8e32@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424223032768925.b5f0d54d@sonsothunder.com> <20070424224837185626.5c5b8e32@sonsothunder.com> Message-ID: <200704251542.28583.rishi@puredata.com.au> On Wednesday 25 April 2007 13:48, Ken Ray wrote: > > You can bet this is going on my Tips page! I'm going to check on > > Kubuntu, but I'll bet it's the same issue there as well... > > Well, *sort of*... on Kubuntu, there *is* a libgobject in /usr/lib, but > there is NOT a libgdk or libgtk... are these supposed to be there? Or > is there some other set of libraries that KDE uses vs. Gnome's > libgdk/libgtk? Well yes, KDE would be using QT not GTK. A KDE only install may not have the GTK libraries at all, as far as I have seen. -- Rishi Australia From rishi at puredata.com.au Wed Apr 25 01:43:33 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Wed, 25 Apr 2007 15:43:33 +1000 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <462ED524.8010402@hyperactivesw.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424223032768925.b5f0d54d@sonsothunder.com> <462ED524.8010402@hyperactivesw.com> Message-ID: <200704251543.33304.rishi@puredata.com.au> On Wednesday 25 April 2007 14:12, J. Landman Gay wrote: > Is this something the team should know about for the next Linux build? He He! It is like waiting for Christmas! ;) -- Rishi Australia From rishi at puredata.com.au Wed Apr 25 01:48:11 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Wed, 25 Apr 2007 15:48:11 +1000 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <20070424223032768925.b5f0d54d@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <20070424223032768925.b5f0d54d@sonsothunder.com> Message-ID: <200704251548.12470.rishi@puredata.com.au> On Wednesday 25 April 2007 13:30, Ken Ray wrote: > It turns out that the 'revolution.sh' file included an 'export' for > GDK_PATH and GTK_PATH, but NOT GOBJECT_PATH... and after adding that > in, I got the current Ubuntu widget theme! Getting back to the differences between your widgets and Marks, does this mean that Marks 'revolution.sh' file was different to yours? Otherwise, why does your system need the GOBJECT_PATH but Marks doesn't? Just curious. -- Rishi Australia From kray at sonsothunder.com Wed Apr 25 01:59:19 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 25 Apr 2007 00:59:19 -0500 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <200704251542.28583.rishi@puredata.com.au> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424223032768925.b5f0d54d@sonsothunder.com> <20070424224837185626.5c5b8e32@sonsothunder.com> <200704251542.28583.rishi@puredata.com.au> Message-ID: <20070425005919533172.8cc90e2d@sonsothunder.com> On Wed, 25 Apr 2007 15:42:28 +1000, Rishi Viner wrote: > On Wednesday 25 April 2007 13:48, Ken Ray wrote: >>> You can bet this is going on my Tips page! I'm going to check on >>> Kubuntu, but I'll bet it's the same issue there as well... >> >> Well, *sort of*... on Kubuntu, there *is* a libgobject in /usr/lib, but >> there is NOT a libgdk or libgtk... are these supposed to be there? Or >> is there some other set of libraries that KDE uses vs. Gnome's >> libgdk/libgtk? > > Well yes, KDE would be using QT not GTK. A KDE only install may not > have the > GTK libraries at all, as far as I have seen. So what would the filenames be that I should point Rev's 'revolution.sh' exports to? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rishi at puredata.com.au Wed Apr 25 03:10:24 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Wed, 25 Apr 2007 17:10:24 +1000 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <20070425005919533172.8cc90e2d@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <200704251542.28583.rishi@puredata.com.au> <20070425005919533172.8cc90e2d@sonsothunder.com> Message-ID: <200704251710.25053.rishi@puredata.com.au> On Wednesday 25 April 2007 15:59, Ken Ray wrote: > > Well yes, KDE would be using QT not GTK. A KDE only install may not > > have the > > GTK libraries at all, as far as I have seen. > > So what would the filenames be that I should point Rev's > 'revolution.sh' exports to? I'm not sure. You could try /usr/lib/qt4/* if you have it. I'm really not sure how Rev handles KDE stuff, if at all. Sorry... -- Rishi Australia From chris at altuit.com Wed Apr 25 10:07:19 2007 From: chris at altuit.com (chris bohnert) Date: Wed, 25 Apr 2007 09:07:19 -0500 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <200704251710.25053.rishi@puredata.com.au> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <200704251542.28583.rishi@puredata.com.au> <20070425005919533172.8cc90e2d@sonsothunder.com> <200704251710.25053.rishi@puredata.com.au> Message-ID: <2e0cf4750704250707m49541aa7kd50e8344f3dfb982@mail.gmail.com> Ken, To my knowledge rev doesn't use libQT. It depends solely on the gtk libs. Which isn't really a big deal..but it does require the gtk libs be hanging around on your system to make it work correctly. Is it possible that Marks installation was an upgrade and yours was a clean install? There are various experiences with how much of the gnome libraries are really necessary to make the apps work under KDE. The simplest thing however is usually just to use your distros package manager to install gnome along side of KDE. -- cb On 4/25/07, Rishi Viner wrote: > > On Wednesday 25 April 2007 15:59, Ken Ray wrote: > > > Well yes, KDE would be using QT not GTK. A KDE only install may not > > > have the > > > GTK libraries at all, as far as I have seen. > > > > So what would the filenames be that I should point Rev's > > 'revolution.sh' exports to? > > I'm not sure. You could try /usr/lib/qt4/* if you have it. I'm really not > sure > how Rev handles KDE stuff, if at all. Sorry... > > -- > Rishi > Australia > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 25 11:55:48 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 25 Apr 2007 10:55:48 -0500 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <2e0cf4750704250707m49541aa7kd50e8344f3dfb982@mail.gmail.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <200704251542.28583.rishi@puredata.com.au> <20070425005919533172.8cc90e2d@sonsothunder.com> <200704251710.25053.rishi@puredata.com.au> <2e0cf4750704250707m49541aa7kd50e8344f3dfb982@mail.gmail.com> Message-ID: <20070425105548115460.50309bc7@sonsothunder.com> On Wed, 25 Apr 2007 09:07:19 -0500, chris bohnert wrote: > Ken, > > To my knowledge rev doesn't use libQT. It depends solely on the gtk libs. > Which isn't really a big deal..but it does require the gtk libs be hanging > around on your system to make it work correctly. Is it possible that Marks > installation was an upgrade and yours was a clean install? > > There are various experiences with how much of the gnome libraries are > really necessary to make the apps work under KDE. The simplest thing > however is usually just to use your distros package manager to install gnome > along side of KDE. Thanks, Chris... that's exactly what I had to do. Jacque, this should *definitely* be in the docs, especially in light of the work on Linux that RunRev's doing. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bobwarren at howsoft.com Wed Apr 25 15:40:33 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Wed, 25 Apr 2007 16:40:33 -0300 Subject: [OT] ps2 mouse does not work in Feisty FINAL VERSION Message-ID: <462FAEB1.50309@howsoft.com> https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/108382 This bug has been confirmed, given high priority, and passed on to the Ubuntu Kernel Team for ASAP treatment. Bob From katir at hindu.org Wed Apr 25 15:52:50 2007 From: katir at hindu.org (Sivakatirswami) Date: Wed, 25 Apr 2007 09:52:50 -1000 Subject: line endings on OS X In-Reply-To: <30C179B3-9D37-4233-82EE-EB043ADC1023@maseurope.net> References: <4A1461DE-427C-4133-83C8-4FDC0C09D408@knowledgeworks.plus.com> <708C26A8-31D6-42F4-B289-4FB74E00BB7A@knowledgeworks.plus.com> <30C179B3-9D37-4233-82EE-EB043ADC1023@maseurope.net> Message-ID: <462FB192.5000306@hindu.org> Mark Smith wrote: > Bernard, I do agree that it might be more fully documented, though once > you've figured it out it's not exactly a burden. > > "write to file" does the same thing as URL "file:", so you can do "open > file somefile for binary write", just as you can do URL "binfile:" > > Best, > > Mark I have dozens of tools and widgets that are getting text from the web, getting files that were saved with interarchy or BBEdit... downloading files with HTTP inside Rev, uploading them again via FTP etc... I never really know what kind of line endings I've got at any point in time... I found it simple just to make this "ubiquitous" thru all handlers and functions replace numToChar(13) with numToChar(10) in tTemplate put tTemplate into url ("binfile:" & ( the theTAKAPath of me & "index.shtml")) and I never have to think about it again... Sivakatirswami www.himalayanacademy.com From yoy at comcast.net Wed Apr 25 16:53:54 2007 From: yoy at comcast.net (yoy) Date: Wed, 25 Apr 2007 16:53:54 -0400 Subject: ? Launch command ? Message-ID: <000901c7877b$d6850f00$6401a8c0@fatalerror> It's been two long years with Rev Studio 2.5.1. Has the launch command smartened up to launch documents to already open applications? Andy From wjm at wjm.org Wed Apr 25 20:27:48 2007 From: wjm at wjm.org (Bill Marriott) Date: Wed, 25 Apr 2007 20:27:48 -0400 Subject: ? Launch command ? In-Reply-To: <000901c7877b$d6850f00$6401a8c0@fatalerror> References: <000901c7877b$d6850f00$6401a8c0@fatalerror> Message-ID: Yes > It's been two long years with Rev Studio 2.5.1. > > Has the launch command smartened up to launch documents to already open > applications? From mwieder at ahsoftware.net Wed Apr 25 21:11:04 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 25 Apr 2007 18:11:04 -0700 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <2e0cf4750704250707m49541aa7kd50e8344f3dfb982@mail.gmail.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <200704251542.28583.rishi@puredata.com.au> <20070425005919533172.8cc90e2d@sonsothunder.com> <200704251710.25053.rishi@puredata.com.au> <2e0cf4750704250707m49541aa7kd50e8344f3dfb982@mail.gmail.com> Message-ID: <113233521185.20070425181104@ahsoftware.net> chris- Wednesday, April 25, 2007, 7:07:19 AM, you wrote: > To my knowledge rev doesn't use libQT. It depends solely on the gtk libs. > Which isn't really a big deal..but it does require the gtk libs be hanging > around on your system to make it work correctly. Is it possible that Marks > installation was an upgrade and yours was a clean install? Well, that machine had been a clean install as well. I *did* have eclipse installed on it, and my guess is that the installer also loaded the GTK libraries as part of the dependency tree. -- -Mark Wieder mwieder at ahsoftware.net From fde101 at fjrhome.net Wed Apr 25 21:22:02 2007 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 25 Apr 2007 21:22:02 -0400 Subject: Anyone using Apple Aperture? In-Reply-To: References: Message-ID: I'm using Aperture, but I'm not sure that I'd have any current use for these things. I'm sure there are others out there though, and who knows what might happen in the future... On Apr 24, 2007, at 6:05 PM, Ian Wood wrote: > Just wondering if there are many list members using Aperture. > > I've got the basis of a library of AppleScripts and functions > related to Aperture such as exporting, getting EXIF/IPTC/custom > tags and setting them etc. If there's interest, I'll post the > current version on RevOnline for people to play with. > > Ian > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _________________________________________________________________ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com From fde101 at fjrhome.net Wed Apr 25 21:28:33 2007 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 25 Apr 2007 21:28:33 -0400 Subject: OT: Mac question In-Reply-To: References: <462A486A.1090409@fourthworld.com> Message-ID: <1A244A04-A2BD-418B-92EC-8244677820BA@fjrhome.net> This is provided "for free" by Cocoa apps using the NSDocument architecture. If programs are not using the standard Document-based Cocoa framework, they need to implement this functionality themselves (at least partially). On Apr 21, 2007, at 4:27 PM, Joe Lewis Wilkins wrote: > Maybe I exaggerated a bit; but even in 9.2 AppleWorks had that > function and it continues with OSX and some other Apple apps. I > don't know about 3rd party apps. I know that my favorite, MacDraft > doesn't have that feature. Still, they all should IMO. > > Joe Wilkins > > On Apr 21, 2007, at 10:22 AM, Richard Gaskin wrote: > >> Joe Lewis Wilkins wrote: >> > Though this works; even with most OSX compliant application >> > documents, one of the first complaints I had with Rev was that it >> > does not work when you have a Rev Stack open. This should not be a >> > truly difficult fix I should think. >> >> Wow. I knew about Cmd-click in the title for Finder windows, but >> never knew that was a standard behavior across most apps. So cool. >> >> With Rev it may be challenging to determine when to support this, >> since a stack file can contain multiple stacks. But if we came up >> with a rule that made sense, or maybe better a property of >> mainstacks, I'd vote for the BZ suggestion. >> >> Now that I know about this I want it for the document windows in >> my Rev-based apps, and I'll bet some of my cusyomers do too. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _________________________________________________________________ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com From revlist at azurevision.co.uk Wed Apr 25 21:49:27 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 26 Apr 2007 02:49:27 +0100 Subject: Anyone using Apple Aperture? In-Reply-To: References: Message-ID: <5002A7D0-B87C-4383-B00C-A8852BA024A5@azurevision.co.uk> There have been a couple of requests off-list, so I'll upload it in a couple of days time, there are a few more functions half-done. Ian On 26 Apr 2007, at 02:22, Frank D. Engel, Jr. wrote: > I'm using Aperture, but I'm not sure that I'd have any current use > for these things. > > I'm sure there are others out there though, and who knows what > might happen in the future... > > > On Apr 24, 2007, at 6:05 PM, Ian Wood wrote: > >> Just wondering if there are many list members using Aperture. >> >> I've got the basis of a library of AppleScripts and functions >> related to Aperture such as exporting, getting EXIF/IPTC/custom >> tags and setting them etc. If there's interest, I'll post the >> current version on RevOnline for people to play with. >> >> Ian From hannu.kokko at iki.fi Wed Apr 25 23:18:57 2007 From: hannu.kokko at iki.fi (Hannu Kokko) Date: Thu, 26 Apr 2007 06:18:57 +0300 Subject: Anyone using Apple Aperture? In-Reply-To: <5002A7D0-B87C-4383-B00C-A8852BA024A5@azurevision.co.uk> References: <5002A7D0-B87C-4383-B00C-A8852BA024A5@azurevision.co.uk> Message-ID: <37E556F9-8113-4F49-BB5E-7A67ECEB3493@iki.fi> Hi i would be interested. I am using Aperture. --h On 26.4.2007, at 4.49, Ian Wood wrote: > There have been a couple of requests off-list, so I'll upload it in > a couple of days time, there are a few more functions half-done. > > Ian > > On 26 Apr 2007, at 02:22, Frank D. Engel, Jr. wrote: > >> I'm using Aperture, but I'm not sure that I'd have any current use >> for these things. >> >> I'm sure there are others out there though, and who knows what >> might happen in the future... >> >> >> On Apr 24, 2007, at 6:05 PM, Ian Wood wrote: >> >>> Just wondering if there are many list members using Aperture. >>> >>> I've got the basis of a library of AppleScripts and functions >>> related to Aperture such as exporting, getting EXIF/IPTC/custom >>> tags and setting them etc. If there's interest, I'll post the >>> current version on RevOnline for people to play with. >>> >>> Ian > _______________________________________________ > use-revolution mailing list > use-revolution 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 tekne at gruppoparentesi.it Thu Apr 26 09:22:35 2007 From: tekne at gruppoparentesi.it (TEKNE informatica & comunicazione) Date: Thu, 26 Apr 2007 15:22:35 +0200 Subject: version 7.2 vs 8.0 Message-ID: Hi, In November 2006 I appreciated the quality project and the Introducing Bill Marriott with the plan on the 2.7.5 free update. My enthusiasm was not only about the free update but it was mainly focused on the quality concept (for example I have bought the RR Studio for Linux and the RR Enterprise but after several months I didn?t still have the 2.7.x Linux version) After six months I don?t find a bug free update or a linux update but at least I expected that the intense job takes to many steps ahead. So after the announcement of the 2.8.0 final release with vista support I have decided to upgrade my enterprise licence to 2.8.0 in order to test my applications under vista. But after the installation I find several serious bugs. ... answer dialogs appeare in wrong formats .... (both in IDE and Standalone environment) ... ask dialog with password doesn?t work ... ... the dimension of a configuration rev file (password protected) inexplicably and occasionally grows from 3k to 100000K and more. I think these problems depend from the 2.8.0 installation, so I try to install again the upgrade both Windows and Mac platform, but ... these are. Finally I throw in the basket the 2.8.0-gm-4 (the Mac manage versions doesn?t work ) and I return to work ... Perhaps it was better to call the 2.8.0-gm-4 final version 2.8.0-dp4 beta version. -- Riccardo Linzitto TEKNE informatica & comunicazione From bvg at mac.com Thu Apr 26 13:08:45 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 26 Apr 2007 19:08:45 +0200 Subject: private notice to Hugh Message-ID: <79d66e87f7ffa06803cddda59b7343a9@mac.com> Hi Hugh Senior I tried to answer your recent mail with some minor adjustments to your proposal. Unfortunately all mails by me or Mark (whom I asked to relay my message) bounced. admin at flexiblelearning dot com responded "554 TRANSACTION FAILED", as did your aol address. Maybe you want to look into your email setup. Bj?rnke From wjm at wjm.org Thu Apr 26 13:16:00 2007 From: wjm at wjm.org (Bill Marriott) Date: Thu, 26 Apr 2007 13:16:00 -0400 Subject: version 7.2 vs 8.0 In-Reply-To: References: Message-ID: Riccardo, First, thanks for your comments and especially for going ahead and upgrading your license. I see you're a member of the "open beta" test group. I'm curious if you are experiencing the same issues with Beta 5? If so, please take the time to report them in the Quality Center; we really need that data since the next build is due soon and expected to be a release candidate for version 2.8.1. As we've tried to cover in the newsletter and beta test mailings, the 2.7.5 target has been renamed to 2.9. That remains our goal for the free update, the Linux support, and honestly, the quality bar we're aiming for. Some bugs can only be properly addressed by underlying engine work, and since that's tied in with Linux, you won't see some major fixes until that version emerges. Having said that, RunRev engineers have fixed more than 500 bugs since the launch of the open beta program (not all of them appear in Bugzilla). The Altuit externals have been integrated, which greatly enhance the value of the product. Windows Vista, with its new UI, different security scheme, and other changes, is now supported. (I happen to run Vista right now, and while many programs are flaky under that OS, Revolution is not one of them.) I agree that the 2.8.0 release is somewhat controversial. It did have some rough edges. Nevertheless, it is a much better product than 2.7.4. And with Vista shipping, I think it was important to replace what was out there for the benefit of new customers and existing ones alike. Not only that, there were some patches posted within a week of its release by members of this use-rev list to address many of the issues you listed. I give Revolution credit for not simply labeling 2.8.0 as "2.7.5" and calling it a day. They knew more work was necessary and they remain committed to delivering on their promises. My most recent announcement to the beta test list invited everyone to email me directly with their "top five" gripes -- old or new -- still remaining in the product. I'll take this opportunity to again request this from you, so we can pin them down and address them for 2.8.1 and/or 2.9. Actually, any of you reading this now are welcome to email me with your list. And we're still taking signups for the open beta at http://support.runrev.com/beta_test.php I also appreciate the sustained energy of all the "open beta" participants, who have put the releases through their paces and been the real driving force behind the steady improvement in quality we've seen over the last five months. Please keep up the good work! Only with your help can we make 2.9 truly the version we've all been waiting for, and make Revolution a true joy to use. Bill Marriott Beta Test Coordinator bill.marriott(at)runrev.com "TEKNE informatica & comunicazione" wrote in message news:C256743B.17108%tekne at gruppoparentesi.it... Hi, In November 2006 I appreciated the quality project and the Introducing Bill Marriott with the plan on the 2.7.5 free update. My enthusiasm was not only about the free update but it was mainly focused on the quality concept (for example I have bought the RR Studio for Linux and the RR Enterprise but after several months I didn?t still have the 2.7.x Linux version) After six months I don?t find a bug free update or a linux update but at least I expected that the intense job takes to many steps ahead. So after the announcement of the 2.8.0 final release with vista support I have decided to upgrade my enterprise licence to 2.8.0 in order to test my applications under vista. But after the installation I find several serious bugs. ... answer dialogs appeare in wrong formats .... (both in IDE and Standalone environment) ... ask dialog with password doesn?t work ... ... the dimension of a configuration rev file (password protected) inexplicably and occasionally grows from 3k to 100000K and more. I think these problems depend from the 2.8.0 installation, so I try to install again the upgrade both Windows and Mac platform, but ... these are. Finally I throw in the basket the 2.8.0-gm-4 (the Mac manage versions doesn?t work ) and I return to work ... Perhaps it was better to call the 2.8.0-gm-4 final version 2.8.0-dp4 beta version. -- Riccardo Linzitto TEKNE informatica & comunicazione From tekne at gruppoparentesi.it Thu Apr 26 14:17:01 2007 From: tekne at gruppoparentesi.it (TEKNE informatica & comunicazione) Date: Thu, 26 Apr 2007 20:17:01 +0200 Subject: version 7.2 vs 8.0 In-Reply-To: Message-ID: Dear Bill, I think Revolution is a great product, and I am sure that a multiplatform project requires a lot of work in order to be a "good" product. In this months I have seen the bugzilla reports and forum discussions and then I know same patchs proposed by members of this list to fix same problems. But I think after a lot of work, these bugs can't be in a final release. If I sell my commercial software with these errors the final user asks back me the money. If I said to my final user that this is a beta version, all it is different. -- Riccardo Linzitto TEKNE informatica & comunicazione > Da: Bill Marriott > Risposta: How to use Revolution > Data: Thu, 26 Apr 2007 13:16:00 -0400 > A: > Oggetto: Re: version 7.2 vs 8.0 > > Riccardo, > > First, thanks for your comments and especially for going ahead and upgrading > your license. > > I see you're a member of the "open beta" test group. I'm curious if you are > experiencing the same issues with Beta 5? If so, please take the time to > report them in the Quality Center; we really need that data since the next > build is due soon and expected to be a release candidate for version 2.8.1. > > As we've tried to cover in the newsletter and beta test mailings, the 2.7.5 > target has been renamed to 2.9. That remains our goal for the free update, > the Linux support, and honestly, the quality bar we're aiming for. Some bugs > can only be properly addressed by underlying engine work, and since that's > tied in with Linux, you won't see some major fixes until that version > emerges. > > Having said that, RunRev engineers have fixed more than 500 bugs since the > launch of the open beta program (not all of them appear in Bugzilla). The > Altuit externals have been integrated, which greatly enhance the value of > the product. Windows Vista, with its new UI, different security scheme, and > other changes, is now supported. (I happen to run Vista right now, and while > many programs are flaky under that OS, Revolution is not one of them.) > > I agree that the 2.8.0 release is somewhat controversial. It did have some > rough edges. Nevertheless, it is a much better product than 2.7.4. And with > Vista shipping, I think it was important to replace what was out there for > the benefit of new customers and existing ones alike. Not only that, there > were some patches posted within a week of its release by members of this > use-rev list to address many of the issues you listed. > > I give Revolution credit for not simply labeling 2.8.0 as "2.7.5" and > calling it a day. They knew more work was necessary and they remain > committed to delivering on their promises. > > My most recent announcement to the beta test list invited everyone to email > me directly with their "top five" gripes -- old or new -- still remaining in > the product. I'll take this opportunity to again request this from you, so > we can pin them down and address them for 2.8.1 and/or 2.9. Actually, any of > you reading this now are welcome to email me with your list. And we're still > taking signups for the open beta at http://support.runrev.com/beta_test.php > > I also appreciate the sustained energy of all the "open beta" participants, > who have put the releases through their paces and been the real driving > force behind the steady improvement in quality we've seen over the last five > months. Please keep up the good work! Only with your help can we make 2.9 > truly the version we've all been waiting for, and make Revolution a true joy > to use. > > Bill Marriott > Beta Test Coordinator > bill.marriott(at)runrev.com > > > > > > "TEKNE informatica & comunicazione" > wrote in message > news:C256743B.17108%tekne at gruppoparentesi.it... > Hi, > In November 2006 I appreciated the quality project and the Introducing Bill > Marriott with the plan on the 2.7.5 free update. > My enthusiasm was not only about the free update but it was mainly focused > on the quality concept (for example I have bought the RR Studio for Linux > and the RR Enterprise but after several months I didn?t still have the 2.7.x > Linux version) > After six months I don?t find a bug free update or a linux update but at > least I expected that the intense job takes to many steps ahead. > So after the announcement of the 2.8.0 final release with vista support I > have decided to upgrade my enterprise licence to 2.8.0 in order to test my > applications under vista. > But after the installation I find several serious bugs. > ... answer dialogs appeare in wrong formats .... (both in IDE and Standalone > environment) > ... ask dialog with password doesn?t work ... > ... the dimension of a configuration rev file (password protected) > inexplicably and occasionally grows from 3k to 100000K and more. > > I think these problems depend from the 2.8.0 installation, so I try to > install again the upgrade both Windows and Mac platform, but ... these are. > Finally I throw in the basket the 2.8.0-gm-4 (the Mac manage versions > doesn?t work ) and I return to work ... > Perhaps it was better to call the 2.8.0-gm-4 final version 2.8.0-dp4 beta > version. > -- > Riccardo Linzitto > TEKNE informatica & comunicazione > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 pevensen at siboneylg.com Thu Apr 26 15:24:51 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 26 Apr 2007 14:24:51 -0500 Subject: Maybe I'm confused Message-ID: <4630FC83.3050009@siboneylg.com> I have a stack that goes back to the first card for the second card. I set a visual effect, but the effect doesn't fire. The reason the effect doesn't work is that the closeCard hander for second card (the card I'm leaving does a lock screen and unlock screen). Should that nullify the visual effect? Is this a bug? If I do a lock screen and unlock screen with visual effect dissolve fast around my "go to previous card," the effect doesn't work either. Thanks! Peter Evensen http://www.PetersRoadToHealth.com From m.schonewille at economy-x-talk.com Thu Apr 26 15:42:08 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 26 Apr 2007 21:42:08 +0200 Subject: Maybe I'm confused - unlock screen doesn't In-Reply-To: <4630FC83.3050009@siboneylg.com> References: <4630FC83.3050009@siboneylg.com> Message-ID: Hi Peter, Have you tried " visual effect dissolve slow"? Also, if you lock the screen twice, only the second unlock screen command will show any effects. If you unlock the screen only once, Rev will unlock thescren by itself, after all handlers have finished running. You might want to check whether the screen is already locked before you issue the lock screen command. I think I can kind of understand that you're confused, but would you mind putting a meaningful header in the subject line next time, please? 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 26-apr-2007, om 21:24 heeft Peter T. Evensen het volgende geschreven: > I have a stack that goes back to the first card for the second card. > > I set a visual effect, but the effect doesn't fire. > The reason the effect doesn't work is that the closeCard hander for > second card (the card I'm leaving does a lock screen and unlock > screen). Should that nullify the visual effect? Is this a bug? > > If I do a lock screen and unlock screen with visual effect dissolve > fast around my "go to previous card," the effect doesn't work either. > > Thanks! > > Peter Evensen > http://www.PetersRoadToHealth.com From pevensen at siboneylg.com Thu Apr 26 15:55:01 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 26 Apr 2007 14:55:01 -0500 Subject: lock/unlock in closeCard short-circuits a visual effect In-Reply-To: References: <4630FC83.3050009@siboneylg.com> Message-ID: <46310395.7020509@siboneylg.com> Sorry for the bad subject line, I regretted after I hit send. I tried "visual effect dissolve slow." The effect didn't work: it takes longer for the previous card to appear (like it is doing the dissolve) but the card appears right away. I have a sample stack that demonstrates the problem and does no other locks. Here's the "go to previous" button script: on mouseUp visual effect dissolve fast go to previous end mouseUp Here's the closeCard handler on that card: on closeCard lock screen -- do nothing else unlock screen end closeCard It seems the lock and unlock screen here "short-circuit" the visual effect. If I replace the mouseUp above with on mouseUp lock screen go to previous unlock screen with visual effect dissolve fast end mouseUp Everything works in my test stack. Should the two work differently? Mark Schonewille wrote: > Hi Peter, > > Have you tried " visual effect dissolve slow"? > > Also, if you lock the screen twice, only the second unlock screen > command will show any effects. If you unlock the screen only once, Rev > will unlock thescren by itself, after all handlers have finished > running. You might want to check whether the screen is already locked > before you issue the lock screen command. > > I think I can kind of understand that you're confused, but would you > mind putting a meaningful header in the subject line next time, please? > > 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 26-apr-2007, om 21:24 heeft Peter T. Evensen het volgende geschreven: > >> I have a stack that goes back to the first card for the second card. >> >> I set a visual effect, but the effect doesn't fire. >> The reason the effect doesn't work is that the closeCard hander for >> second card (the card I'm leaving does a lock screen and unlock >> screen). Should that nullify the visual effect? Is this a bug? >> >> If I do a lock screen and unlock screen with visual effect dissolve >> fast around my "go to previous card," the effect doesn't work either. >> >> Thanks! >> >> Peter Evensen >> http://www.PetersRoadToHealth.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 m.schonewille at economy-x-talk.com Thu Apr 26 16:02:38 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 26 Apr 2007 22:02:38 +0200 Subject: lock/unlock in closeCard short-circuits a visual effect In-Reply-To: <46310395.7020509@siboneylg.com> References: <4630FC83.3050009@siboneylg.com> <46310395.7020509@siboneylg.com> Message-ID: <96CCE0E7-B9A1-40B2-965E-00DD7E3FFD7E@economy-x-talk.com> Hi Peter, You issue the visual effect command before locking the screen. Revolution goes to the previous card and executes the visual effect while the screen is locked, so you won't see anything. In this situation, your second mouseUp handler is the correct script. 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 26-apr-2007, om 21:55 heeft Peter T. Evensen het volgende geschreven: > Sorry for the bad subject line, I regretted after I hit send. > > I tried "visual effect dissolve slow." The effect didn't work: it > takes longer for the previous card to appear (like it is doing the > dissolve) but the card appears right away. > > I have a sample stack that demonstrates the problem and does no > other locks. Here's the "go to previous" button script: > > on mouseUp > visual effect dissolve fast > go to previous > end mouseUp > > Here's the closeCard handler on that card: > > on closeCard > lock screen > -- do nothing else > unlock screen > end closeCard > > It seems the lock and unlock screen here "short-circuit" the visual > effect. > > If I replace the mouseUp above with > > on mouseUp > lock screen > go to previous > unlock screen with visual effect dissolve fast > end mouseUp > > Everything works in my test stack. > > Should the two work differently? > From userev at canelasoftware.com Thu Apr 26 16:05:06 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 26 Apr 2007 13:05:06 -0700 Subject: lock/unlock in closeCard short-circuits a visual effect In-Reply-To: <46310395.7020509@siboneylg.com> References: <4630FC83.3050009@siboneylg.com> <46310395.7020509@siboneylg.com> Message-ID: On Apr 26, 2007, at 12:55 PM, Peter T. Evensen wrote: > on mouseUp > lock screen > go to previous > unlock screen with visual effect dissolve fast > end mouseUp > > Everything works in my test stack. > > Should the two work differently? I remember there being issues in the past (MC days). I have since used this method without issue. Mark Talluto -- CANELA Software http://www.canelasoftware.com From pevensen at siboneylg.com Thu Apr 26 16:16:34 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 26 Apr 2007 15:16:34 -0500 Subject: lock/unlock in closeCard short-circuits a visual effect In-Reply-To: <96CCE0E7-B9A1-40B2-965E-00DD7E3FFD7E@economy-x-talk.com> References: <4630FC83.3050009@siboneylg.com> <46310395.7020509@siboneylg.com> <96CCE0E7-B9A1-40B2-965E-00DD7E3FFD7E@economy-x-talk.com> Message-ID: <463108A2.4050402@siboneylg.com> Hi Mark, I can see what you are saying. That seems like unexpected behavior, though. It took me a while to figure out why it wasn't working. I guess it is best to avoid the "visual effect" command and always use the lock and unlock screen with visual effect... Thanks! Mark Schonewille wrote: > Hi Peter, > > You issue the visual effect command before locking the screen. > Revolution goes to the previous card and executes the visual effect > while the screen is locked, so you won't see anything. In this > situation, your second mouseUp handler is the correct script. > > 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 26-apr-2007, om 21:55 heeft Peter T. Evensen het volgende geschreven: > >> Sorry for the bad subject line, I regretted after I hit send. >> >> I tried "visual effect dissolve slow." The effect didn't work: it >> takes longer for the previous card to appear (like it is doing the >> dissolve) but the card appears right away. >> >> I have a sample stack that demonstrates the problem and does no other >> locks. Here's the "go to previous" button script: >> >> on mouseUp >> visual effect dissolve fast >> go to previous >> end mouseUp >> >> Here's the closeCard handler on that card: >> >> on closeCard >> lock screen >> -- do nothing else >> unlock screen >> end closeCard >> >> It seems the lock and unlock screen here "short-circuit" the visual >> effect. >> >> If I replace the mouseUp above with >> >> on mouseUp >> lock screen >> go to previous >> unlock screen with visual effect dissolve fast >> end mouseUp >> >> Everything works in my test stack. >> >> Should the two work differently? > >> > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 26 17:12:03 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Apr 2007 16:12:03 -0500 Subject: Windows shutdownrequest Message-ID: <463115A3.6000501@hyperactivesw.com> If a user chooses Exit by right-clicking on a stack in the Windows task bar, is a shutdownrequest message sent? My app isn't acting like it and I can't tell if it's my scripts or a problem with messaging. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mb.userev at harbourhosting.co.uk Thu Apr 26 17:35:27 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 26 Apr 2007 22:35:27 +0100 Subject: Windows shutdownrequest In-Reply-To: <463115A3.6000501@hyperactivesw.com> References: <463115A3.6000501@hyperactivesw.com> Message-ID: <46311B1F.80103@harbourhosting.co.uk> J. Landman Gay wrote: > If a user chooses Exit by right-clicking on a stack in the Windows task > bar, is a shutdownrequest message sent? My app isn't acting like it and > I can't tell if it's my scripts or a problem with messaging. > Hi Jacque, I believe it gets closestackrequest, as if the title bar close box had been clicked. Here on my XP the popup right-click command in the task bar is actually called "close" not "exit". Martin Baxter From jacque at hyperactivesw.com Thu Apr 26 17:35:14 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Apr 2007 16:35:14 -0500 Subject: Windows shutdownrequest In-Reply-To: <46311B1F.80103@harbourhosting.co.uk> References: <463115A3.6000501@hyperactivesw.com> <46311B1F.80103@harbourhosting.co.uk> Message-ID: <46311B12.6040009@hyperactivesw.com> Martin Baxter wrote: > J. Landman Gay wrote: >> If a user chooses Exit by right-clicking on a stack in the Windows >> task bar, is a shutdownrequest message sent? My app isn't acting like >> it and I can't tell if it's my scripts or a problem with messaging. >> > > Hi Jacque, > > I believe it gets closestackrequest, as if the title bar close box had > been clicked. > > Here on my XP the popup right-click command in the task bar is actually > called "close" not "exit". Thanks Martin, you're quite right about "Close". I'm sure that's the problem. If I'd double-checked, I might have even noticed. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runrev at wjm.org Thu Apr 26 15:22:32 2007 From: runrev at wjm.org (Bill Marriott) Date: Thu, 26 Apr 2007 15:22:32 -0400 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <20070424223032768925.b5f0d54d@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <20070424223032768925.b5f0d54d@sonsothunder.com> Message-ID: Ok, I'm more than a little confused now. :) Of course, I don't know what I'm doing on Linux. - I'm using Ubuntu Edgy Eft, 6.10, under Parallels if that matters. - I made the recommended changes to the revolution.sh file in my Revolution-2.6.1 folder. I didn't notice any changes/effects; Rev still shows the 80s-style Motif UI. - My Revolution folder is on the desktop. I downloaded the tar.gz file there and simply extracted. I double-click revolution.x86 to run it. - I would put it into /opt, if that's where it's supposed to be, but Ubuntu tells me I don't have permission to do that. It's owned by "root." What's the proper place to put applications, anyway? - I'd log in as root, but I don't know the password, and as far as I remember, it never asked me to set one up for root. Probably just as well since I would presumably wreak utter havoc if I could, eh? - I do appear to have Gnome, because when I go to the System menu, it says, "About Gnome" among other items. From mwieder at ahsoftware.net Thu Apr 26 21:48:32 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 26 Apr 2007 18:48:32 -0700 Subject: Non-Motif Linux Interface? In-Reply-To: <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> Message-ID: <1921356460.20070426184832@ahsoftware.net> chris- Tuesday, April 24, 2007, 2:47:15 PM, you wrote: > REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so > REV_GTK_PATH /usr/lib/libgobject-2.0.so > REV_GOBJECT_PATH /usr/lib/libgobject-2.0.so ...and thanks for the help pinning this down... -- -Mark Wieder mwieder at ahsoftware.net From chris at altuit.com Thu Apr 26 23:04:48 2007 From: chris at altuit.com (chris bohnert) Date: Thu, 26 Apr 2007 22:04:48 -0500 Subject: Non-Motif Linux Interface? In-Reply-To: <1921356460.20070426184832@ahsoftware.net> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <1921356460.20070426184832@ahsoftware.net> Message-ID: <2e0cf4750704262004v24274940w87f4657cef9c4c81@mail.gmail.com> Hi Mark, Glad I could help.. Maybe you can answer a question for me. Does Ubuntu have a nifty package manager or does it rely on apt-get? Will Ubuntu begin moving to CNR with the Linspire partnership? -- cb On 4/26/07, Mark Wieder wrote: > > chris- > > Tuesday, April 24, 2007, 2:47:15 PM, you wrote: > > > REV_GDK_PATH /usr/lib/libgdk-x11-2.0.so > > REV_GTK_PATH /usr/lib/libgobject-2.0.so > > REV_GOBJECT_PATH /usr/lib/libgobject-2.0.so > > ...and thanks for the help pinning this down... > > -- > -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 sarah.reichelt at gmail.com Fri Apr 27 00:35:31 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 27 Apr 2007 14:35:31 +1000 Subject: [OT] CGI - web site help Message-ID: Sorry for the off-topic question, but I'm hoping someone here will know the answer. I have an intranet web site that searches a couple of company databases. It uses Rev CGI (many thanks to Jacque for her wonderful tutorial). However I really want the page to be more dynamic. I have a search box which works fine, as the search button must be clicked (or Return key pressed) before the search is done. However I also have a set of radio buttons that alter the search results. Unfortunately, changing these requires doing a new search before the new options are displayed. So my question is: is there any way to detect the radio buttons so the options can be displayed dynamically? TIA, Sarah From kray at sonsothunder.com Fri Apr 27 01:04:02 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 27 Apr 2007 00:04:02 -0500 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <20070424223032768925.b5f0d54d@sonsothunder.com> Message-ID: <20070427000402966654.5f8e6b1b@sonsothunder.com> On Thu, 26 Apr 2007 15:22:32 -0400, Bill Marriott wrote: > - I'm using Ubuntu Edgy Eft, 6.10, under Parallels if that matters. It doesn't; I've done my testing in both Parallels and on its own PC - same results. > - I made the recommended changes to the revolution.sh file in my > Revolution-2.6.1 folder. I didn't notice any changes/effects; Rev > still shows the 80s-style Motif UI. I'll bet you're launching the main Rev app and not the revolution.sh file... see below... > - My Revolution folder is on the desktop. I downloaded the tar.gz > file there and simply extracted. I double-click revolution.x86 to run > it. > > - I would put it into /opt, if that's where it's supposed to be, but > Ubuntu tells me I don't have permission to do that. It's owned by > "root." What's the proper place to put applications, anyway? Good question - I have mine installed in Home, for the same reason; the .sh file provides the following lines: # Needed to make symlinks/shortcuts work. cd "/opt/Revolution-2.6.1" runrev="./revolution.x86" "$runrev" $* >& /dev/null This means that when the 'revolution.sh' file is 2x-clicked (or clicked once, depending on your setup) it will try to run Rev from the /opt/Revolution-2.6.1 directory. If you don't have your install there (as I don't), it will not do anything when you click on the 'revolution.sh' file. However if you just launch the Rev app itself (revolution.x86), it won't have anything to tell it to use the GDK. So you'll need to change the "cd" to the path where your Rev app is (I changed mine to "/home/Revolution-2.6.1"). Then when you launch the "revolution.sh" shell file, it will run Rev, and you should see the proper theme... ... AS LONG AS you actually HAVE the three files mentioned in the .sh file in your /usr/lib folder. So what I do is launch the Terminal app, and do this: cd /usr/lib ls -l libgd* And look for the entry "libgdk-x11-2.0.so.0". Then look for libgtk and libjobject the same way (different filter of course). Or you could just "ls -l" and scroll your way through to verify. HTH (and a tip on this is coming...), Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From revolution at knowledgeworks.plus.com Fri Apr 27 01:36:22 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri, 27 Apr 2007 06:36:22 +0100 Subject: Revcon DVD - highly recommended Message-ID: <9C4C64BC-017C-4CF8-B7C9-A48F7756ADFD@knowledgeworks.plus.com> I have recently finished watching the DVD (some sessions twice), and I just wanted to draw the DVD to the attention of others. I've been using Rev for about 4 or 5 years now, and I've done programming in many different languages (including multi-database server-side Java), and I still learned a lot and got many new ideas from the DVD. There are occasional times when the quality of the screenshots is not very good. But I think that that is a limitation of the technology involved. (One can see the video camera automatically adjusting its focal length dynamically when there is little contrast in the centre of the screen e.g. if the script editor was open with only a couple of lines of text on the screen). But I don't think that significantly diminishes the quality of the DVD - for 99% of the time the visual quality is fine. Some times the sound quality varies - but I think that is when the sound is switched to a mike in the audience so that one can hear the audience members questions and comments better. I think the variation in sound quality at those moments is acceptable if the alternative is to not get to hear the audience's input. Basically the quality of the video is very professional. I just don't want this to be a gushing recommendation - I'm trying to find some faults with the DVD just to balance my enthusiasm for it! Unfortunately, there are times when the screen is in focus, but the font-size used in the Script Editor is too small to read. Hopefully if Runrev are going to produce a DVD of any future Revcon, they will include the speakers' sample stacks with the DVD. Then, even if there is some limitation in what one can read from the screen, one could look through the stack/code provided with the DVD. But with those caveats aside, the quality of the talks is really good. The speakers are very knowledgeable, and there is clearly a great sense of cameraderie. I've never seen such fellow-feeling at a developer conference before. The whole conference looks like it was really well organised. I really wish I had been able to attend. Kudos to all involved. If you've read the documentation that comes with Rev, and you've gone through the scripting conference stacks, then the DVD really is the next step in learning more about what can be done with Rev and how to do it. Bernard From wjm at wjm.org Fri Apr 27 03:04:10 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 27 Apr 2007 03:04:10 -0400 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: <20070427000402966654.5f8e6b1b@sonsothunder.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk><20070424145251411962.f9a2aab4@sonsothunder.com><462E6178.1050304@hyperactivesw.com><20070424150755208979.4b0e7ffe@sonsothunder.com><2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com><20070424223032768925.b5f0d54d@sonsothunder.com> <20070427000402966654.5f8e6b1b@sonsothunder.com> Message-ID: Ken, Thanks for the additional pointers. Here's what I had to do to get things to work: 1) I updated the revolution.sh script with the path to my Rev installation 2) I verified that all the files existed 3) When I double-clicked it and selected "run" (Ubuntu asks you if you want to display the file, run in terminal, etc.), nothing happened. 4) I opened a terminal window and ran the shell file directly. I saw that I got the error, "bad fd" line 11 5) I modified the shell script and got rid of the >& /dev/null part 6) I ran it again (from terminal) and Revolution launched. This time with Ubuntu-style controls. Seems like a lot of work; I guess this is why Linux is still not taking over the desktop, eh? Now, how do I fix this kind of thing for my standalone apps? "Ken Ray" wrote in message news:20070427000402966654.5f8e6b1b at sonsothunder.com... > On Thu, 26 Apr 2007 15:22:32 -0400, Bill Marriott wrote: > >> - I'm using Ubuntu Edgy Eft, 6.10, under Parallels if that matters. > > It doesn't; I've done my testing in both Parallels and on its own PC - > same results. > >> - I made the recommended changes to the revolution.sh file in my >> Revolution-2.6.1 folder. I didn't notice any changes/effects; Rev >> still shows the 80s-style Motif UI. > > I'll bet you're launching the main Rev app and not the revolution.sh > file... see below... > >> - My Revolution folder is on the desktop. I downloaded the tar.gz >> file there and simply extracted. I double-click revolution.x86 to run >> it. >> >> - I would put it into /opt, if that's where it's supposed to be, but >> Ubuntu tells me I don't have permission to do that. It's owned by >> "root." What's the proper place to put applications, anyway? > > Good question - I have mine installed in Home, for the same reason; the > .sh file provides the following lines: > > # Needed to make symlinks/shortcuts work. > cd "/opt/Revolution-2.6.1" > runrev="./revolution.x86" > "$runrev" $* >& /dev/null > > This means that when the 'revolution.sh' file is 2x-clicked (or clicked > once, depending on your setup) it will try to run Rev from the > /opt/Revolution-2.6.1 directory. If you don't have your install there > (as I don't), it will not do anything when you click on the > 'revolution.sh' file. However if you just launch the Rev app itself > (revolution.x86), it won't have anything to tell it to use the GDK. > > So you'll need to change the "cd" to the path where your Rev app is (I > changed mine to "/home/Revolution-2.6.1"). Then when you launch the > "revolution.sh" shell file, it will run Rev, and you should see the > proper theme... > > ... AS LONG AS you actually HAVE the three files mentioned in the .sh > file in your /usr/lib folder. So what I do is launch the Terminal app, > and do this: > > cd /usr/lib > ls -l libgd* > > And look for the entry "libgdk-x11-2.0.so.0". Then look for libgtk and > libjobject the same way (different filter of course). Or you could just > "ls -l" and scroll your way through to verify. > > HTH (and a tip on this is coming...), > > > 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 revolution at knowledgeworks.plus.com Fri Apr 27 03:18:47 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri, 27 Apr 2007 08:18:47 +0100 Subject: [OT] CGI - web site help Message-ID: <9473D1B3-022A-482A-A007-C59E25772B5D@knowledgeworks.plus.com> > a set of radio > buttons that alter the search results. Unfortunately, changing these > requires doing a new search before the new options are displayed. > > So my question is: is there any way to detect the radio buttons so the > options can be displayed dynamically? Hi Sarah, I'm not really clear what are the limitations which you are trying to overcome. Do you mean that the radio buttons do something like to the search results e.g. change the sort order of the search results, or that they filter the search results in some way? By "before the new options are displayed" do you mean "before the choice takes effect"? Bernard From wjm at wjm.org Fri Apr 27 03:30:00 2007 From: wjm at wjm.org (Bill Marriott) Date: Fri, 27 Apr 2007 03:30:00 -0400 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk><20070424145251411962.f9a2aab4@sonsothunder.com><462E6178.1050304@hyperactivesw.com><20070424150755208979.4b0e7ffe@sonsothunder.com><2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com><20070424223032768925.b5f0d54d@sonsothunder.com><20070427000402966654.5f8e6b1b@sonsothunder.com> Message-ID: I'm noticing that Ubuntu is crashing like crazy with Rev set up to use GTK. If I drag a tab control out, it's all corrupted. It isn't long till the whole thing locks up. Maybe it's best to stick with Motif until 2.9 is out? "Bill Marriott" wrote in message news:f0s79r$o30$1 at sea.gmane.org... > Ken, > > Thanks for the additional pointers. Here's what I had to do to get things > to work: > > 1) I updated the revolution.sh script with the path to my Rev installation > 2) I verified that all the files existed > 3) When I double-clicked it and selected "run" (Ubuntu asks you if you > want to display the file, run in terminal, etc.), nothing happened. > 4) I opened a terminal window and ran the shell file directly. I saw that > I got the error, "bad fd" line 11 > 5) I modified the shell script and got rid of the >& /dev/null part > 6) I ran it again (from terminal) and Revolution launched. This time with > Ubuntu-style controls. > > Seems like a lot of work; I guess this is why Linux is still not taking > over the desktop, eh? Now, how do I fix this kind of thing for my > standalone apps? From kray at sonsothunder.com Fri Apr 27 04:03:51 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 27 Apr 2007 03:03:51 -0500 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <20070424223032768925.b5f0d54d@sonsothunder.com> <20070427000402966654.5f8e6b1b@sonsothunder.com> Message-ID: <20070427030351391786.b6e01632@sonsothunder.com> On Fri, 27 Apr 2007 03:30:00 -0400, Bill Marriott wrote: > I'm noticing that Ubuntu is crashing like crazy with Rev set up to > use GTK. If I drag a tab control out, it's all corrupted. It isn't > long till the whole thing locks up. Maybe it's best to stick with > Motif until 2.9 is out? Don't know what to tell you, Bill. I'm using Ubuntu 6.0.6 with GTK and Rev isn't acting up at all... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sarah.reichelt at gmail.com Fri Apr 27 05:01:27 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 27 Apr 2007 19:01:27 +1000 Subject: [OT] CGI - web site help In-Reply-To: <9473D1B3-022A-482A-A007-C59E25772B5D@knowledgeworks.plus.com> References: <9473D1B3-022A-482A-A007-C59E25772B5D@knowledgeworks.plus.com> Message-ID: On 4/27/07, Bernard Devlin wrote: > > a set of radio > > buttons that alter the search results. Unfortunately, changing these > > requires doing a new search before the new options are displayed. > > > > So my question is: is there any way to detect the radio buttons so the > > options can be displayed dynamically? > > Hi Sarah, > > I'm not really clear what are the limitations which you are trying to > overcome. Do you mean that the radio buttons do something like to > the search results e.g. change the sort order of the search results, > or that they filter the search results in some way? By "before the > new options are displayed" do you mean "before the choice takes effect"? Basically, the search finds matching products in a catalog. The radio buttons allow you to show the list price or various discounts. The problem is when the user selects a radio button but doesn't click "Search" again. It looks as if a discounted price is being displayed, but it really isn't. Sarah From jc at spl21.net Fri Apr 27 05:49:52 2007 From: jc at spl21.net (John Craig) Date: Fri, 27 Apr 2007 10:49:52 +0100 Subject: [OT] CGI - web site help In-Reply-To: References: <9473D1B3-022A-482A-A007-C59E25772B5D@knowledgeworks.plus.com> Message-ID: <4631C740.3060206@spl21.net> Hi, Sarah. I've thrown a crude demo on http://www.molekular.co.uk/tmp/test.php Seems to work ok on Windows using Firefox and IE7. Hopefully this will help. JC Sarah Reichelt wrote: > On 4/27/07, Bernard Devlin wrote: >> > a set of radio >> > buttons that alter the search results. Unfortunately, changing these >> > requires doing a new search before the new options are displayed. >> > >> > So my question is: is there any way to detect the radio buttons so the >> > options can be displayed dynamically? >> >> Hi Sarah, >> >> I'm not really clear what are the limitations which you are trying to >> overcome. Do you mean that the radio buttons do something like to >> the search results e.g. change the sort order of the search results, >> or that they filter the search results in some way? By "before the >> new options are displayed" do you mean "before the choice takes effect"? > > Basically, the search finds matching products in a catalog. The radio > buttons allow you to show the list price or various discounts. The > problem is when the user selects a radio button but doesn't click > "Search" again. It looks as if a discounted price is being displayed, > but it really isn't. > > 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 viktoras at ekoinf.net Fri Apr 27 05:55:17 2007 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Fri, 27 Apr 2007 12:55:17 +0300 (FLE Daylight Time) Subject: slightly off-topic: software marketing issues References: <46311B1F.80103@harbourhosting.co.uk> Message-ID: <4631C885.000003.03332@MAZYTIS> Can anyone recommend any good books or online resources on how to market and sell software products, arrange beta testing, choose suitable type of licensing, avoid pitfalls (unsatisfied customers, money-back and related things), creating product website, user groups, forums, mailing lists, software registration database; source code protection means and policies, and what-else-to-take-care-of... Thanks in advance! Best wishes Viktoras From scott at cdroo.com Fri Apr 27 06:14:06 2007 From: scott at cdroo.com (Scott Kane) Date: Fri, 27 Apr 2007 20:14:06 +1000 Subject: slightly off-topic: software marketing issues References: <46311B1F.80103@harbourhosting.co.uk> <4631C885.000003.03332@MAZYTIS> Message-ID: <012f01c788b4$cc4c6d00$0201010a@esbgdi9s3atqpx> Hi Viktoras, > Can anyone recommend any good books or online resources on how to market > and sell software products, arrange beta testing, choose suitable type of > licensing, avoid pitfalls (unsatisfied customers, money-back and related > things), creating product website, user groups, forums, mailing lists, > software registration database; source code protection means and policies, > and what-else-to-take-care-of... Thanks in advance! Yep. I'm assuming you'll be allowing demos for download? If so the best resource I know of is http://www.asp-shareware.org at around US $100 it's a goldmine, I'm a member (ex Vice President and Director so I'm biased ) and the stuff the members know (over a thousand members) is incredible with hundreds of posts a week in the newsgroups (private). Don't be put off by the word "shareware" as it no longer has a great deal of meaning, It's more about small development companies now. The next best is http://www.aisip.com at around US $30 a year. I'm a founding member and while it is good it doesn't have anywhere the level of detail that the ASP has, but then the ASP is twenty years old. ASP members include the makers of WinZip, Paintshop Pro and even Microsoft. Free resources include the OISV http://www.oisv.com - I'm also a founding member there but the info is nowhere near as good as the others as most of the members are programmers (where as the other groups include marketers etc as well as programmers) and of course I moderate news:comp.software.shareware.authors on Usenet where you are always welcome to ask questions. Note though that the authors who know what they are talking about generally don't share info in the OISV or the public newsgroups. They tend to save it for members of the first two groups and the ASP in particular. I do intend to do some articles for the Rev newsletter on software marketing in the future, just busy right now working on something else. Best Regards, Scott Kane From sims at ezpzapps.com Fri Apr 27 06:15:35 2007 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 27 Apr 2007 12:15:35 +0200 Subject: slightly off-topic: software marketing issues In-Reply-To: <4631C885.000003.03332@MAZYTIS> References: <46311B1F.80103@harbourhosting.co.uk> <4631C885.000003.03332@MAZYTIS> Message-ID: <55F9D424-D40A-4C7D-9F41-85BCB2E651D4@ezpzapps.com> On Apr 27, 2007, at 11:55 AM, Viktoras Didziulis wrote: > Can anyone recommend any good books or online resources on how to > market and > sell software products http://discuss.joelonsoftware.com/?joel http://discuss.joelonsoftware.com/?biz sims From david at dvglasgow.wanadoo.co.uk Fri Apr 27 07:02:57 2007 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 27 Apr 2007 12:02:57 +0100 Subject: Bespoke front end for rev & non rev apps In-Reply-To: <20070422170004.A341F488FA4@mail.runrev.com> References: <20070422170004.A341F488FA4@mail.runrev.com> Message-ID: <04b8f491db7b225dd87c761a34e1f8ef@dvglasgow.wanadoo.co.uk> On 22 Apr 2007, at 6:00 pm, Ken Wray wrote: > Well, yes - there are a couple of ways to do this, but it breaks down > into two pieces: knowing when the non-Rev program has quit, and > activating your Rev app (bringing it to the front). Take a look at the > following tips for info on how to do this: > > "Understanding Processes" > http://www.sonsothunder.com/devres/revolution/tips/proc005.htm > > "Getting a List of Running Applications" > http://www.sonsothunder.com/devres/revolution/tips/proc002.htm > > "Making an App Come to the Foreground" > http://www.sonsothunder.com/devres/revolution/tips/proc001.htm Thanks Ken. I've been away, so gratitude a little late. I will follow these up with interest. Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From david at dvglasgow.wanadoo.co.uk Fri Apr 27 08:10:45 2007 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 27 Apr 2007 13:10:45 +0100 Subject: milliseconds timing & subliminal stimuli In-Reply-To: <20070422170004.A341F488FA4@mail.runrev.com> References: <20070422170004.A341F488FA4@mail.runrev.com> Message-ID: Thanks to all who previously chipped in on this topic. I have been doing a bit of research, using the following script: +++++++++++++++++++++ on mouseUp -- scrollbars to fiddle with the various times -- duration of the image of the person get the thumbpos of scrollbar "milliseconds" -- duration of the gap between picture and mask put the thumbpos of scrollbar "gap" into tgap -- this is the duration of the mask put the thumbpos of scrollbar "show" into tshow -- present a submarine style cross to focus attention show group "targit" wait 1000 milliseconds hide group "targit" put the milliseconds into tstart show image "adf03" wait it milliseconds hide image "adf03" put the milliseconds - tstart & return after field "actualtime" wait tgap milliseconds show grc "rectangle" wait tshow milliseconds hide grc "rectangle" end mouseUp. ++++++++++++++++++++++ What happens is that a crosshair style target appears for 1 sec. Then a picture of a person appears for 'it' milliseconds, then there is a gap of tgap milliseconds, then a mask appears for tshow milliseconds. The mask is a rect filled with a pattern. Its purpose is a technical one, called backward masking (no, not like on heavy metal records). If an image appears briefly followed by the mask, the amount of conscious psychological processing permitted by the person viewing it can be truncated. Images which would be recognisable at a given display duration are rendered invisible but still processed psychologically. Don't ask how, it just works. (If your really want to know, take a look here --> http://www.ac-psych.org/?id=3 ) You can above see that field 'actualtime' accumulates the duration of the display of the picture of the person (plus the time taken to do the timing) over successive runs. With the duration of the person image set at 30 ms, (gap = 40 ms and mask = 160 ms), I shouldn't be able to see the image of the person, at least not conciously, but I can. Now I expected to get variable effects in appearance, because I am testing on a MacBook, so my guess is that the LCD just won't keep up with these rapid display changes. What I was planning to do was shift the test stack to a CRT box, and set the refresh rate to 100Hz (in fact I think it goes to 138Hz). In the literature, I can see that images can be displayed for a single cycle at 60Hz, and the effect can work). What surprised me on the MacBook is the recorded variability of the durations, irrespective of the fact that I can see the person when I shouldn't be able to. The mean measured display time (set as above) is 38 ms, min 32 and max 50, Standard Deviation = 4.46 (over 30 trials). I can slide the scrollbar to such a short duration when I can't see the image of the person, but of course I can't know whether this is because the backward masking is working, or because the image really isn't appearing! One of the things which occurred to me is that I could adapt the test script above to do a kind of calibration routine, so that the milliseconds is set to fall in the middle of the distribution of actual durations, so that some will be a little shorter than 30ms, and others a little more. I would welcome any thoughts or comments on what I am doing, and suggestions for doing it better. Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From mwieder at ahsoftware.net Fri Apr 27 10:29:35 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 27 Apr 2007 07:29:35 -0700 Subject: Non-Motif Linux Interface? In-Reply-To: <2e0cf4750704262004v24274940w87f4657cef9c4c81@mail.gmail.com> References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424145251411962.f9a2aab4@sonsothunder.com> <462E6178.1050304@hyperactivesw.com> <20070424150755208979.4b0e7ffe@sonsothunder.com> <2e0cf4750704241447l33cdf97k132f948500bd42f4@mail.gmail.com> <1921356460.20070426184832@ahsoftware.net> <2e0cf4750704262004v24274940w87f4657cef9c4c81@mail.gmail.com> Message-ID: <12747019230.20070427072935@ahsoftware.net> chris- Thursday, April 26, 2007, 8:04:48 PM, you wrote: > Maybe you can answer a question for me. Does Ubuntu have a nifty package > manager or does it rely on apt-get? Will Ubuntu begin moving to CNR with > the Linspire partnership? Yes to both. Adept is the gui package manager (front end to apt-get) and is a main reason I love my Kubuntu system. It makes installing packages as easy as OSX's Software Update, and handles all the dependencies behind the scenes. Of course, that's also why I'm not sure how the GTK libraries got onto my system - some other package had them as a dependency. Eclipse is my guess. And the Linspire partnership is moving both companies forward. Linspire just put out their timetable yesterday - you should see CNR rolling out in the next couple of months. And both Freespire and Linspire are now being built on a Ubuntu base. -- -Mark Wieder mwieder at ahsoftware.net From mark at maseurope.net Fri Apr 27 11:14:15 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 27 Apr 2007 16:14:15 +0100 Subject: milliseconds timing & subliminal stimuli In-Reply-To: References: <20070422170004.A341F488FA4@mail.runrev.com> Message-ID: David, you may well have been down this route, but the following little experiment I found quite interesting: on mouseUp put the millisecs into t0 show img "alex" unlock screen put the millisecs into t1 repeat if the millisecs >= t1 + 30 then hide img "alex" unlock screen put the millisecs into t2 exit repeat end if end repeat put t1 - t0 && t2 - t0 && t2 - t1 end mouseUp The 'unlock screen' meant that I always actually saw the image (I believe it forces a screen refresh), and the repeat loop guarantees (I think) that the image is visible for at least 30 ms. The timing measurements were (on my 1.5Ghz G4 laptop): t1 - t0 9 to 20 t2 - t0 45 to 60 t2 - t1 reliably 36 +- 1 No idea if this is helpful, but I thought I'd throw it in... Best, Mark On 27 Apr 2007, at 13:10, David Glasgow wrote: > Thanks to all who previously chipped in on this topic. I have been > doing a bit of research, using the following script: > +++++++++++++++++++++ > > on mouseUp > > -- scrollbars to fiddle with the various times > > -- duration of the image of the person > get the thumbpos of scrollbar "milliseconds" > > -- duration of the gap between picture and mask > put the thumbpos of scrollbar "gap" into tgap > > -- this is the duration of the mask > put the thumbpos of scrollbar "show" into tshow > > -- present a submarine style cross to focus attention > show group "targit" > wait 1000 milliseconds > hide group "targit" > > put the milliseconds into tstart > > show image "adf03" > wait it milliseconds > hide image "adf03" > > put the milliseconds - tstart & return after field "actualtime" > > wait tgap milliseconds > show grc "rectangle" > wait tshow milliseconds > hide grc "rectangle" > end mouseUp. > > ++++++++++++++++++++++ > > What happens is that a crosshair style target appears for 1 sec. > Then a picture of a person appears for 'it' milliseconds, then > there is a gap of tgap milliseconds, then a mask appears for tshow > milliseconds. The mask is a rect filled with a pattern. Its > purpose is a technical one, called backward masking (no, not like > on heavy metal records). If an image appears briefly followed by > the mask, the amount of conscious psychological processing > permitted by the person viewing it can be truncated. Images which > would be recognisable at a given display duration are rendered > invisible but still processed psychologically. Don't ask how, it > just works. (If your really want to know, take a look here --> > http://www.ac-psych.org/?id=3 ) > > You can above see that field 'actualtime' accumulates the duration > of the display of the picture of the person (plus the time taken to > do the timing) over successive runs. With the duration of the > person image set at 30 ms, (gap = 40 ms and mask = 160 ms), I > shouldn't be able to see the image of the person, at least not > conciously, but I can. > > Now I expected to get variable effects in appearance, because I am > testing on a MacBook, so my guess is that the LCD just won't keep > up with these rapid display changes. What I was planning to do was > shift the test stack to a CRT box, and set the refresh rate to > 100Hz (in fact I think it goes to 138Hz). In the literature, I can > see that images can be displayed for a single cycle at 60Hz, and > the effect can work). What surprised me on the MacBook is the > recorded variability of the durations, irrespective of the fact > that I can see the person when I shouldn't be able to. The mean > measured display time (set as above) is 38 ms, min 32 and max 50, > Standard Deviation = 4.46 (over 30 trials). I can slide the > scrollbar to such a short duration when I can't see the image of > the person, but of course I can't know whether this is because the > backward masking is working, or because the image really isn't > appearing! > > One of the things which occurred to me is that I could adapt the > test script above to do a kind of calibration routine, so that the > milliseconds is set to fall in the middle of the distribution of > actual durations, so that some will be a little shorter than 30ms, > and others a little more. > > I would welcome any thoughts or comments on what I am doing, and > suggestions for doing it better. > > Best Wishes, > > David Glasgow > Carlton Glasgow Partnership > > http://www.i-psych.co.uk > _______________________________________________ > use-revolution mailing list > use-revolution 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 soapdog at mac.com Fri Apr 27 11:19:08 2007 From: soapdog at mac.com (Andre Garzia) Date: Fri, 27 Apr 2007 12:19:08 -0300 Subject: [OT] CGI - web site help In-Reply-To: References: <9473D1B3-022A-482A-A007-C59E25772B5D@knowledgeworks.plus.com> Message-ID: <6539E0C8-4B62-40C3-AB32-4157D5A544E6@mac.com> Sarah, it is not difficult to do that, but requires some javascript. What you need is to create a mouseUp handler for those radio buttons. When that handler triggers, it uses an asynchronous request to talk to the server and update the results. I'll do a little snippet below that may help. Instead of creating everything from scratch, I'd advise you to use the "Javascript Prototype Library", you include it in your pages with (pointing to the correct url of course): Then you need to create your own handler to go back to the server and fetch the results, if your results are placed in a container such as a DIV with id="searchResults" then you can simply create an AJAX updater, this updater, queries a server CGI that returns a simple HTML chunk, this chunk is inserted in a place you choose. For creating such thing to update a div with id="searchResults" we do: See that this script will not work, but it is a simple thing to explain, first you will need to loop your radio buttons fetching their values to assemble a URL that you can post to your search CGI. You can use: document.getElementById("theID").value to retrieve the value of an element naming it by its ID. Then after getting all the needed radio buttons, you can simply assemble the URL using plain string concatenation routines such as: var formData = "r1=" + value1 + "&r2=" + value2; then you instantiate your ajax updater passing to it the ID of the element whose contents will be updated, you also pass the URL of the CGI to be called, and last, you pass a keyed list (Actually I think that is an object), the minimum elements for this list are the method and the parameters for the call. Like: var myAjax = new Ajax.Updater( 'searchResults', '/cgi-bin/search.cgi', { method: 'get', parameters: formData }); This takes care of creating your routines, what you need is to bind the radio buttons to your routine, in our case the routine name is updateDiscount, so it would look like: It's easier done than explained. You can fetch RevHTTP and see the ajax examples. Cheers andre On Apr 27, 2007, at 6:01 AM, Sarah Reichelt wrote: > On 4/27/07, Bernard Devlin wrote: >> > a set of radio >> > buttons that alter the search results. Unfortunately, changing >> these >> > requires doing a new search before the new options are displayed. >> > >> > So my question is: is there any way to detect the radio buttons >> so the >> > options can be displayed dynamically? >> >> Hi Sarah, >> >> I'm not really clear what are the limitations which you are trying to >> overcome. Do you mean that the radio buttons do something like to >> the search results e.g. change the sort order of the search results, >> or that they filter the search results in some way? By "before the >> new options are displayed" do you mean "before the choice takes >> effect"? > > Basically, the search finds matching products in a catalog. The radio > buttons allow you to show the list price or various discounts. The > problem is when the user selects a radio button but doesn't click > "Search" again. It looks as if a discounted price is being displayed, > but it really isn't. > > 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 bobwarren at howsoft.com Fri Apr 27 11:41:09 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Fri, 27 Apr 2007 12:41:09 -0300 Subject: Non-Motif Linux Interface? Message-ID: <46321995.4010807@howsoft.com> Chris Bohnert wrote: Hi Mark, Glad I could help.. Maybe you can answer a question for me. Does Ubuntu have a nifty package manager or does it rely on apt-get? Will Ubuntu begin moving to CNR with the Linspire partnership? ----------------------------------------------------------------------- I didn't see Mark's answer, so I'll answer myself as best I can. Yes, Ubuntu has a very nifty package manager. Yes, they will be offering CNR as a plugin, but as far as I understand it, it is to be used as an addition to, and not a replacement for, their existing installation methods. Bob From chipp at chipp.com Fri Apr 27 12:11:51 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 27 Apr 2007 11:11:51 -0500 Subject: [OT] Wonder if this guy can be programmed in Rev? Message-ID: <7aa52a210704270911q370ed558q4c19463c9fa1643f@mail.gmail.com> http://www.youtube.com/watch?v=F759pkEl_xo From SimPLsol at aol.com Fri Apr 27 12:39:49 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Fri, 27 Apr 2007 12:39:49 EDT Subject: [OT] Wonder if this guy can be programmed in Rev? Message-ID: In a message dated 4/27/07 9:12:24 AM, chipp at chipp.com writes: > http://www.youtube.com/watch?v=F759pkEl_xo > Chipp, They called him "Jules", but wasn't that Kevin? PL ************************************** See what's free at http://www.aol.com. From revdev at pdslabs.net Fri Apr 27 13:53:35 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 27 Apr 2007 10:53:35 -0700 Subject: milliseconds timing & subliminal stimuli In-Reply-To: References: <20070422170004.A341F488FA4@mail.runrev.com> Message-ID: <4632389F.9000409@pdslabs.net> Mark Smith wrote: > David, you may well have been down this route, but the following little > experiment I found quite interesting: > > on mouseUp > put the millisecs into t0 > show img "alex" > unlock screen > put the millisecs into t1 > repeat > if the millisecs >= t1 + 30 then > hide img "alex" > unlock screen > put the millisecs into t2 > exit repeat > end if > end repeat > > put t1 - t0 && t2 - t0 && t2 - t1 > end mouseUp > > The 'unlock screen' meant that I always actually saw the image (I > believe it forces a screen refresh), and the repeat loop guarantees (I > think) that the image is visible for at least 30 ms. > > The timing measurements were (on my 1.5Ghz G4 laptop): > > t1 - t0 9 to 20 > t2 - t0 45 to 60 > t2 - t1 reliably 36 +- 1 > > No idea if this is helpful, but I thought I'd throw it in... Hi Mark, David, This is interesting. But even with 'unlock screen', wouldn't Rev be subject to screen refresh cycles for displaying things? To me, refreshing the screen on the very next cycle is like catching a bus - you can catch the very next bus, but you have to wait until it arrives before doing so. (sorry - simple analogies and metaphors are the only ways I can understand some things!) Seems to me there's a hardware-induced lag time here that can't be eliminated or controlled from scripting. The best we can hope for is accurately measuring the lag so we can compensate for it in scripting. At least that's what I'm shooting for. I would like to find a way to accurately pinpoint the appearance time of objects without using an external. I've experimented with this approach: - position the mouse over the loc of a (still hidden) graphic - show a solid-color (255,0,0) graphic - put the milliseconds into x - wait until the mouseColor = "255,0,0" - put the milliseconds - x If the mouse keeps moving while waiting for the object to appear, this approach seems to work - at least the timings it yields are plausible, in the 10 to 25 msec range. But the mouse has to be moving. To determine what it was about mouse movement that made it [apparently] work, I tried a couple of things: - bombard the object with 'mouseMove' messages from shortly before 'show' to some time after 'show' - script some mouse movement throughout the 'show' period, staying within 2 pixels of the loc of the object Neither of these efforts yielded the same kind of timings I got when manually moving the mouse. Instead I get 250 msecs or so. Any other ideas? Thanks - Phil Davis > > Best, > > Mark > > On 27 Apr 2007, at 13:10, David Glasgow wrote: > >> Thanks to all who previously chipped in on this topic. I have been >> doing a bit of research, using the following script: >> +++++++++++++++++++++ >> >> on mouseUp >> >> -- scrollbars to fiddle with the various times >> >> -- duration of the image of the person >> get the thumbpos of scrollbar "milliseconds" >> >> -- duration of the gap between picture and mask >> put the thumbpos of scrollbar "gap" into tgap >> >> -- this is the duration of the mask >> put the thumbpos of scrollbar "show" into tshow >> >> -- present a submarine style cross to focus attention >> show group "targit" >> wait 1000 milliseconds >> hide group "targit" >> >> put the milliseconds into tstart >> >> show image "adf03" >> wait it milliseconds >> hide image "adf03" >> >> put the milliseconds - tstart & return after field "actualtime" >> >> wait tgap milliseconds >> show grc "rectangle" >> wait tshow milliseconds >> hide grc "rectangle" >> end mouseUp. >> >> ++++++++++++++++++++++ >> >> What happens is that a crosshair style target appears for 1 sec. Then >> a picture of a person appears for 'it' milliseconds, then there is a >> gap of tgap milliseconds, then a mask appears for tshow milliseconds. >> The mask is a rect filled with a pattern. Its purpose is a technical >> one, called backward masking (no, not like on heavy metal records). >> If an image appears briefly followed by the mask, the amount of >> conscious psychological processing permitted by the person viewing it >> can be truncated. Images which would be recognisable at a given >> display duration are rendered invisible but still processed >> psychologically. Don't ask how, it just works. (If your really want >> to know, take a look here --> http://www.ac-psych.org/?id=3 ) >> >> You can above see that field 'actualtime' accumulates the duration of >> the display of the picture of the person (plus the time taken to do >> the timing) over successive runs. With the duration of the person >> image set at 30 ms, (gap = 40 ms and mask = 160 ms), I shouldn't be >> able to see the image of the person, at least not conciously, but I can. >> >> Now I expected to get variable effects in appearance, because I am >> testing on a MacBook, so my guess is that the LCD just won't keep up >> with these rapid display changes. What I was planning to do was shift >> the test stack to a CRT box, and set the refresh rate to 100Hz (in >> fact I think it goes to 138Hz). In the literature, I can see that >> images can be displayed for a single cycle at 60Hz, and the effect can >> work). What surprised me on the MacBook is the recorded variability >> of the durations, irrespective of the fact that I can see the person >> when I shouldn't be able to. The mean measured display time (set as >> above) is 38 ms, min 32 and max 50, Standard Deviation = 4.46 (over 30 >> trials). I can slide the scrollbar to such a short duration when I >> can't see the image of the person, but of course I can't know whether >> this is because the backward masking is working, or because the image >> really isn't appearing! >> >> One of the things which occurred to me is that I could adapt the test >> script above to do a kind of calibration routine, so that the >> milliseconds is set to fall in the middle of the distribution of >> actual durations, so that some will be a little shorter than 30ms, >> and others a little more. >> >> I would welcome any thoughts or comments on what I am doing, and >> suggestions for doing it better. >> >> Best Wishes, >> >> David Glasgow From sarah.reichelt at gmail.com Fri Apr 27 15:58:14 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 28 Apr 2007 05:58:14 +1000 Subject: [OT] CGI - web site help In-Reply-To: <6539E0C8-4B62-40C3-AB32-4157D5A544E6@mac.com> References: <9473D1B3-022A-482A-A007-C59E25772B5D@knowledgeworks.plus.com> <6539E0C8-4B62-40C3-AB32-4157D5A544E6@mac.com> Message-ID: Many thanks to everyone who has answered my query, both on & off-list. This is for a work project, so I won't be trying anything out until Monday, but I'll let you all know how it goes. Regards, Sarah From cszasz at mac.com Fri Apr 27 15:59:18 2007 From: cszasz at mac.com (Charles Szasz) Date: Fri, 27 Apr 2007 15:59:18 -0400 Subject: Windows Permissions? Message-ID: <34B63984-8979-443D-9DA7-21C14998C28D@mac.com> I know on the Mac that you have to had administrator's permissions to install new programs on the hard drive. Is there anything similar to that on Windows XP? The reason I asked is that I having trouble replacing a previous version of my program with a newer version using an installer. Also, when I tried to delete the old version of the Program Files directory. Charles Szasz cszasz at mac.com From RGould8 at aol.com Fri Apr 27 16:40:22 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 27 Apr 2007 16:40:22 EDT Subject: Printer to print UPC barcodes Message-ID: Say, I'm looking for a means of creating an app that will allow me to print UPC barcode labels. I was digging around and found this printer: http://www.amazon.com/gp/product/B0009KRY6Y But I have no idea if I can control it from Rev. Anyone on this list have any experience with using Rev to print barcodes? ************************************** See what's free at http://www.aol.com. From dick.kriesel at mail.com Fri Apr 27 17:14:56 2007 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 27 Apr 2007 14:14:56 -0700 Subject: click outside Rev? Message-ID: I?d like to make a Rev app that drives another app by sending it clicks. An example of such an app is a Help app that explains how to do something in another app, and offers a do-it-for-me button. I?m using Mac OS X, hoping to drive a Windows app that?s running in Parallels. Could someone please tell me how, or offer any hints? -- Dick From sarah.reichelt at gmail.com Fri Apr 27 17:25:16 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 28 Apr 2007 07:25:16 +1000 Subject: Printer to print UPC barcodes In-Reply-To: References: Message-ID: On 4/28/07, RGould8 at aol.com wrote: > Say, I'm looking for a means of creating an app that will allow me to print > UPC barcode labels. I was digging around and found this printer: > > http://www.amazon.com/gp/product/B0009KRY6Y > > But I have no idea if I can control it from Rev. Anyone on this list have > any experience with using Rev to print barcodes? I use a barcode font, then you can print barcodes on any printer. You have to generate the barcode text - the methods for doing this will vary from code to code, but if you want to see how I did it for Code 128, there is a stack on my web site . Then just display that text in the barcode font and you can print it just like any other text. I use a Dymo Label printer and a standard laser printer. HTH, Sarah From RGould8 at aol.com Fri Apr 27 17:49:20 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 27 Apr 2007 17:49:20 EDT Subject: Printer to print UPC barcodes Message-ID: In a message dated 4/27/07 5:25:41 PM, sarah.reichelt at gmail.com writes: > > I use a barcode font, then you can print barcodes on any printer. You > have to generate the barcode text - the methods for doing this will > vary from code to code, but if you want to see how I did it for Code > 128, there is a stack on my web site > . Then just display that text in the > barcode font and you can print it just like any other text. > > I use a Dymo Label printer and a standard laser printer. > > HTH, > Sarah > This is great! Though will this work on a Mac too with a Dymo Label printer? Can you tell me which version of the Dymo Label printer you are using? ************************************** See what's free at http://www.aol.com. From RGould8 at aol.com Fri Apr 27 17:54:12 2007 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 27 Apr 2007 17:54:12 EDT Subject: Printer to print UPC barcodes Message-ID: http://global.dymo.com/enUS/Categories/LabelWriter_Printers.html Looking at the website, there's a couple of options - - - now since they are USB-connected, does that mean I'd print straight from Revolution just as you would to a regular printer, and the printer just comes with the drivers? In a message dated 4/27/07 5:49:45 PM, RGould8 at aol.com writes: > Can you tell me which version of the Dymo Label printer you are using? > > ************************************** See what's free at http://www.aol.com. In a message dated 4/27/07 5:49:45 PM, RGould8 at aol.com writes: > Can you tell me which version of the Dymo Label printer you are using? > ************************************** See what's free at http://www.aol.com. From revlist at azurevision.co.uk Fri Apr 27 18:39:19 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 27 Apr 2007 23:39:19 +0100 Subject: click outside Rev? In-Reply-To: References: Message-ID: OS X to OS X you wouldn't have any problem at all thanks to GUI scripting. I do a lot of workflow automation this way for apps that don't have AppleScript dictionaries. OS X to Windows via Parallels isn't going to work at all, though. As far as UI Browser* is concerned, everything inside a Parallels window is a single UI element. Ian UI Browser is absolutely essential for this kind of thing, it gives you the AppleScript commands for performing actions on almost anything under the mouse at the time, including getting names and attributes of objects. On 27 Apr 2007, at 22:14, Dick Kriesel wrote: > I?d like to make a Rev app that drives another app by sending it > clicks. An > example of such an app is a Help app that explains how to do > something in > another app, and offers a do-it-for-me button. > > I?m using Mac OS X, hoping to drive a Windows app that?s running in > Parallels. Could someone please tell me how, or offer any hints? > > -- Dick > _______________________________________________ > use-revolution mailing list > use-revolution 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 cdroo.com Fri Apr 27 21:41:51 2007 From: scott at cdroo.com (Scott Kane) Date: Sat, 28 Apr 2007 11:41:51 +1000 Subject: Windows Permissions? References: <34B63984-8979-443D-9DA7-21C14998C28D@mac.com> Message-ID: <006d01c78936$66f8f720$0201010a@esbgdi9s3atqpx> >I know on the Mac that you have to had administrator's permissions to >install new programs on the hard drive. Is there anything similar to > that on Windows XP? Technically yes. Though it's not encountered as often because Windows allows the user (changed now in Vista) to install as the admin and then do everything at admin level without question. However in environments where the admin is not running you'll meet this issue. The inconsistency causes confusion. > The reason I asked is that I having trouble replacing a previous version > of my program with a newer version using an installer. Also, when I tried > to delete the old version of the Program Files directory. Could also be caused by having the app running still but visible only in Task Manager. Scott Kane From JimAultWins at yahoo.com Fri Apr 27 22:21:44 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 27 Apr 2007 19:21:44 -0700 Subject: click outside Rev? In-Reply-To: Message-ID: On 4/27/07 2:14 PM, "Dick Kriesel" wrote: > I?d like to make a Rev app that drives another app by sending it clicks. An > example of such an app is a Help app that explains how to do something in > another app, and offers a do-it-for-me button. > > I?m using Mac OS X, hoping to drive a Windows app that?s running in > Parallels. Could someone please tell me how, or offer any hints? The only answer I know that would do what you want is QuicKeys. QK Macros will deliver mouse events, etc to any window using a variety of reference points. It is very Applescriptable(two-way), can hold/define variables in its own namespace (thus available across apps), do repeat loops based on counters and variables and results. If you use a rev app in the Parallels window to report its screenLoc, your OSX app could track this and adjust, and can also send confirmation of a mouse click received (and the result of the click) Jim Ault Las Vegas From revolution at jaedworks.com Sat Apr 28 00:19:09 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 27 Apr 2007 21:19:09 -0700 Subject: [OT] Wonder if this guy can be programmed in Rev? In-Reply-To: References: Message-ID: At 12:39 PM -0400 4/27/2007, SimPLsol at aol.com wrote: >In a message dated 4/27/07 9:12:24 AM, chipp at chipp.com writes: > >> http://www.youtube.com/watch?v=F759pkEl_xo > >They called him "Jules", but wasn't that Kevin? Kevin has more hair. ;-) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From sims at ezpzapps.com Sat Apr 28 00:39:20 2007 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 28 Apr 2007 06:39:20 +0200 Subject: [OT] Wonder if this guy can be programmed in Rev? In-Reply-To: References: Message-ID: <1DD411C8-D454-4FD8-99BF-850C25DCF8B0@ezpzapps.com> On Apr 28, 2007, at 6:19 AM, Jeanne A. E. DeVoto wrote: > At 12:39 PM -0400 4/27/2007, SimPLsol at aol.com wrote: >> In a message dated 4/27/07 9:12:24 AM, chipp at chipp.com writes: >> >>> http://www.youtube.com/watch?v=F759pkEl_xo >> >> They called him "Jules", but wasn't that Kevin? > > Kevin has more hair. ;-) Kevin is much younger also. ciao, sims From david at dvglasgow.wanadoo.co.uk Sat Apr 28 02:51:16 2007 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Sat, 28 Apr 2007 07:51:16 +0100 Subject: milliseconds timing & subliminal stimuli In-Reply-To: <20070427170005.E4934488F2C@mail.runrev.com> References: <20070427170005.E4934488F2C@mail.runrev.com> Message-ID: <67a25c7f606dff2964822e745fd15577@dvglasgow.wanadoo.co.uk> On 27 Apr 2007, at 6:00 pm, Mark Smith wrote: > > David, you may well have been down this route, but the following > little experiment I found quite interesting: No, that's a new route to me, and *very* interesting, because you have the overhead so close to being constant at around 6 ms. That is well on the way to allowing an automatic calibration routine for any system. Of course, on top of what the script achieves and demands the screen does, there will still be the limitations of screen refresh etc. but this is very helpful indeed. Great work! Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From palcibiades-first at yahoo.co.uk Sat Apr 28 04:37:03 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 28 Apr 2007 09:37:03 +0100 Subject: Printer to print UPC barcodes Message-ID: <200704280937.03434.palcibiades-first@yahoo.co.uk> We print on A4 sheets of labels using a standard laser printer (kyocera), and use two ways. Method A is use a barcode and label generation package. kbarcode is an example that is free under linux, but there are others that do the same thing under other systems. What you get here is (i) the ability to generate codes of almost all types without having the code font installed (ii) the ability to do label layout and printing to almost any standard label. You get to add text to the code, eg a price, and to run it at right angles to the code, or put it under the code. To resize the code, truncate it, archive it, print in batch mode.... This is a really flexible solution and lets you use, free, codes whose fonts are quite expensive to buy. The drawback is that if you are trying to print in another app, the codes become graphical objects, and resizing them outside of kbarcode, eg in a powerpoint or word type package, leads to reading difficulties. So page layout is a bit difficult and not very satisfactory. Method B is to get a font and then you can print from any application in exactly the same way as you would print words in any other font. We do this when generating print documents in a presentation package, because resizing and layout is very easy. You can do label layout and printing in just the same way as with any other font. We would do this if barcoding for instance a mailing list with mailmerge. This is also what we would do if using a roll printer. The only issue would be finding one with a driver for the OS. Sarah is right about code 128, it seems to be the most compact and readable at least of the ones kbarcode supports. There are one or two free versions if you look hard enough on the web. Her package which tells you exactly what the reader is sending is also very useful when it fails to work first time. I would hate to try to set up printing to labels on rev. Getting the alignment exactly right for a custom label set even using kbarcode took a lot of micro adjustments of the spacing. I used a needle. Print a full set at your draft configuration, then overlay the label sheet on it exactly, then push the needle through at the corners of a few labels. Examine, readjust, repeat until perfect. Tedious. Peter From klaus at major-k.de Sat Apr 28 06:05:00 2007 From: klaus at major-k.de (Klaus Major) Date: Sat, 28 Apr 2007 12:05:00 +0200 Subject: [OT] Wonder if this guy can be programmed in Rev? In-Reply-To: <1DD411C8-D454-4FD8-99BF-850C25DCF8B0@ezpzapps.com> References: <1DD411C8-D454-4FD8-99BF-850C25DCF8B0@ezpzapps.com> Message-ID: Am 28.04.2007 um 06:39 schrieb Jim Sims: > > On Apr 28, 2007, at 6:19 AM, Jeanne A. E. DeVoto wrote: > >> At 12:39 PM -0400 4/27/2007, SimPLsol at aol.com wrote: >>> In a message dated 4/27/07 9:12:24 AM, chipp at chipp.com writes: >>> >>>> http://www.youtube.com/watch?v=F759pkEl_xo >>> They called him "Jules", but wasn't that Kevin? >> Kevin has more hair. ;-) > Kevin is much younger also. And Kevin definitively has a back of the head :-) > ciao, > sims Best Klaus Major klaus at major-k.de http://www.major-k.de From LunchnMeets at aol.com Sat Apr 28 08:31:39 2007 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Sat, 28 Apr 2007 08:31:39 EDT Subject: menuItem Message-ID: Hi Everyone, Apparently I can?t enable a menuItem by name such as: enable menuItem ?Do Something? Do I HAVE to indicate the menu name and position? Further, since I can?t do something like: enable menuItem 19 to 23 of btn "Tasks" is there something similar I CAN do other than listing the lines individually? Joe in Orlando Florida ************************************** See what's free at http://www.aol.com. From JimCarwardine at OwnYourFuture-net.com Sat Apr 28 08:41:23 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sat, 28 Apr 2007 09:41:23 -0300 Subject: [OT] Slightly... A Good Wiki Engine In-Reply-To: <200704280937.03434.palcibiades-first@yahoo.co.uk> Message-ID: Hi Folks... Does anyone have a good wiki engine they would recommend? I'm investigating a collaborative scenario for software development using Rev. Any thoughts? Jim -- HiringSmart Canada is a successful international end-to-end human resource support business > providing science-based assessments and productivity tools to multi-branch > businesses > where each branch, without the help of an HR professional, attracts, hires and > engages THE RIGHT PEOPLE. We Help You Attract, Hire and Keep the Right People. www.TalentSeeker.ca www.HiringSmart.ca www.KeepingTheBest.ca HiringSmart Canada 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From martinblackman at gmail.com Sat Apr 28 10:16:17 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Sat, 28 Apr 2007 22:16:17 +0800 Subject: menuItem In-Reply-To: References: Message-ID: <79d1bee70704280716r39a99639j182d1e06da88e552@mail.gmail.com> Here's a couple of handlers that let you call them by the text of the menuitem. They may not be industrial strength but work OK for my purposes on EnableMenuItem tMenu tMenuItem --enable menu items and submenu items 1 deep (use | as submenu separator) if tMenuItem is empty then repeat with x = 1 to the number of lines in btn tMenu enable menuitem x of btn tMenu end repeat else --preprocess to remove shortcuts ,"&" and "(" data: put empty into tlines repeat for each line tlinetxt in btn tMenu put tlinetxt into tline --avoid modifying repeat handle replace "&" with empty in tline replace "(" with empty in tline get offset ("/",tline) if it <> 0 then delete char it to -1 of tline put tline & return after tlines end repeat delete char -1 of tlines set the itemdel to "|" set the wholematches to true put lineoffset (item 1 of tMenuItem,tlines) into tlineNo enable menuitem tlineNo of btn tMenu --enable submenu item put item 2 of tMenuItem into tMenuItem add 1 to tlineNo put line tlineNo of btn tMenu into tline set the itemdel to tab repeat until item 2 of tline is empty if item 2 of tline = tMenuItem or tMenuItem is empty then enable menuitem tlineNo of btn tMenu add 1 to tlineNo put line tlineNo of btn tMenu into tline end repeat end if end EnableMenuItem on disableMenuItem tMenu tMenuItem --disable menuitem and submenu items one deep (separated by |) if tMenuItem is empty then repeat with x = 1 to the number of lines in btn tMenu disable menuitem x of btn tMenu end repeat else --preprocess to remove shortcuts, "&" and "(" data: put empty into tlines repeat for each line tlinedata in btn tMenu put tlinedata into tline --avoid modifying repeat variable get offset("/",tline) if it <> 0 then delete char it to -1 of tline --remove keyboard shortcut replace "&" with empty in tline replace "(" with empty in tline replace "/" with empty in tline put tline & return after tlines end repeat delete char -1 of tlines set the itemdel to "|" set the wholematches to true put lineoffset (item 1 of tMenuItem,tlines) into tMainlineNo put item 2 of tMenuItem into tMenuItem put 1 + tMainlineNo into tlineNo put line tlineNo of btn tMenu into tline set the itemdel to tab put true into DisableMainItem repeat until item 2 of tline is empty if item 2 of tline = tMenuItem or tMenuItem is empty then disable menuitem tlineNo of btn tMenu else \ put false into DisablemainItem add 1 to tlineNo put line tlineNo of btn tMenu into tline end repeat if DisableMainItem then disable menuitem tMainlineNo of btn tMenu end if end disableMenuItem regards Martin From LunchnMeets at aol.com Sat Apr 28 12:17:15 2007 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Sat, 28 Apr 2007 12:17:15 EDT Subject: submenu ? Message-ID: Hi Everyone, I?m on Mac OSX. How do I specify a subMenu in the Menu Builder. Or is it done another way. What I?m trying to achieve is something like this menuItem: menuItem Change -> Thing 1 Thing 2 Thing 3 Joe ************************************** See what's free at http://www.aol.com. From m.schonewille at economy-x-talk.com Sat Apr 28 12:26:15 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 28 Apr 2007 18:26:15 +0200 Subject: submenu ? In-Reply-To: References: Message-ID: Hi Joe, Click on a menu item in the field on the right side of the menu builder stack. Click on the New Item button to create a new menu item. If the new item happens to be unselected, click on it to select it. Now click on the tiny blue square with green right arrow. This will shift the menu item to the right, indicating that it is a submenu of the preceding menu item. Obviously, you can't do this with the first item in a menu. If you want another item in your submenu, select the existing submenu item and click on New Item again. Make sure that the new submenu item is selected and click on the tiny green right arrow again. 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 28-apr-2007, om 18:17 heeft LunchnMeets at aol.com het volgende geschreven: > Hi Everyone, > > I?m on Mac OSX. How do I specify a subMenu in the Menu Builder. Or > is it done > another way. > > What I?m trying to achieve is something like this menuItem: > > menuItem > Change -> Thing 1 > Thing 2 > Thing 3 > > Joe From shaosean at wehostmacs.com Sat Apr 28 13:46:19 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 28 Apr 2007 13:46:19 -0400 Subject: [ANN] - Growl Library 1.1.0 Message-ID: <7886c61979e103e61b60794c7eb38303@wehostmacs.com> I've been asked a few times for this library in the last week, so I figured I'd update it and re-release it :-) This library is for Mac OS X (10.3.9 or greater) users only [all requirements of Growl] and requires that Growl be installed to use it (if Growl isn't installed, no worries the library just won't work but your application will) I've tested it in Revolution 2.0.3 all the way up to 2.8.1-dp-3 and it worked fine for me in all of the versions (your usage may vary) Enjoy, -Sean From jacque at hyperactivesw.com Sat Apr 28 13:49:05 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 28 Apr 2007 12:49:05 -0500 Subject: menuItem In-Reply-To: References: Message-ID: <46338911.1050007@hyperactivesw.com> LunchnMeets at aol.com wrote: > Hi Everyone, > > Apparently I can?t enable a menuItem by name such as: enable menuItem ?Do > Something? > > Do I HAVE to indicate the menu name and position? Yes, pretty much. > Further, since I can?t do something like: enable menuItem 19 to 23 of btn > "Tasks" is there something similar I CAN do other than listing the lines > individually? I wasn't able to changed the enabled status of more than one line at a time, but you can do this: enable line 3 of btn "file" -- or disable When I want to specify a menu item by name, I do this: enable line lineoffset("do something",btn "file") of btn "file" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rbarber at yhb.att.ne.jp Sat Apr 28 11:09:02 2007 From: rbarber at yhb.att.ne.jp (ron) Date: Sat, 28 Apr 2007 11:09:02 -0400 Subject: Using .lproj folders in Rev In-Reply-To: References: Message-ID: <5b501f0f873675ac9b1450b8d2a11e90@yhb.att.ne.jp> Hey, I have a Mac app that uses English/Japanese/Korean menus and dialogs etc. The user chooses the language they want to use and everything is set from there. This is independent of the actual OS setting - that is, the Finder and other apps can be in English but the user could choose Japanese for the app and all the menus would show in Japanese. I am currently doing this by writing/deleting an "XX.lproj" folder in the "Resources" folder inside the bundle that corresponds to the user's language choice. Other applications have multiple "lproj" folders in the bundle but I have only been successful in getting the first one in alphabetical order to be effective. For example: if there is a korean.lproj and a Japanese.lproj folder, only the Japanse.lproj affects the menus, windows etc. My question is: Is there a way within Rev to address an lproj folder when there are multiple ones in the bundle? Second question: can I access files within the lproj, eg localized strings (currently kept in uprops and this works fine) once the lproj is designated from question 1? Thanks Ron From martyknapp at comcast.net Sat Apr 28 15:25:52 2007 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 28 Apr 2007 12:25:52 -0700 Subject: Rev & Vista In-Reply-To: <79d1bee70704280716r39a99639j182d1e06da88e552@mail.gmail.com> References: <79d1bee70704280716r39a99639j182d1e06da88e552@mail.gmail.com> Message-ID: <46339FC0.4010506@comcast.net> I have a application that I save as both Mac and Windows standalones. I'm a Mac user, though I have an older, cheap E-Machines PC. With the introduction of Vista, I'm wondering about compatibility. I don't have Vista, and don't really want to install it on my low-level PC. So I don't know if the following handlers will work with Vista. The Standalones are currently being built from Rev 2.6.1. I don't know if I'm really out of the loop, but I don't know anybody that's currently running Vista, or I'd check with them. So here are my questions: 1) Are there any known problems, in general, with a Rev 2.6.1 standalone running in Vista? 2) On Vista, what does Rev return with "the platform" function? 3) Is there a difference in what "specialFolderPath" returns between XP & Vista? 4) Are there differences between the various versions of Vista that I should know about? Here's a couple of handlers that I use, that I'm particularly wondering about with regard to Vista: #store user data-- function docPath if the platform contains "Win" then return specialFolderPath("Documents") & "/MyApplicationData" else if the platform contains "MacOS" then return specialFolderPath("docs") & "/MyApplicationData" end if end docPath #store registration info-- function appSupportPath if the platform contains "Win" then return specialFolderPath("35") & "/registration.txt" else if the platform contains "MacOS" then return specialFolderPath("asup") & "/.registration.txt" end if end appSupportPath (the later function gets the application support folder) Thanks for any help, Marty Knapp From sarah.reichelt at gmail.com Sat Apr 28 17:30:11 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 29 Apr 2007 07:30:11 +1000 Subject: Printer to print UPC barcodes In-Reply-To: References: Message-ID: > http://global.dymo.com/enUS/Categories/LabelWriter_Printers.html > > Looking at the website, there's a couple of options - - - now since they are > USB-connected, does that mean I'd print straight from Revolution just as you > would to a regular printer, and the printer just comes with the drivers? That's how I do it on a Mac. The only annoying thing is that Rev can't store & restore printer setups, so I have to get my users to go through Page Setup every time the program needs to swap printer. I use the Dymo Labelwriter Turbo 360 which doesn't look like it is available any more, but so long as they have Mac drivers, I don't think it matters which you use. You will need to experiment with the area that you can print on a single label, but once you have that, it should all work well. Cheers, Sarah From rgould8 at aol.com Sat Apr 28 17:50:43 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Sat, 28 Apr 2007 17:50:43 -0400 Subject: Printer to print UPC barcodes In-Reply-To: References: Message-ID: <8C957F667D574FC-1284-73A7@FWM-M31.sysops.aol.com> Hmmm, I wonder if Applescript could be used to store & restore printer setups. -----Original Message----- From: sarah.reichelt at gmail.com To: use-revolution at lists.runrev.com Sent: Sat, 28 Apr 2007 4:30 PM Subject: Re: Printer to print UPC barcodes > http://global.dymo.com/enUS/Categories/LabelWriter_Printers.html > > Looking at the website, there's a couple of options - - - now since they are > USB-connected, does that mean I'd print straight from Revolution just as you > would to a regular printer, and the printer just comes with the drivers? That's how I do it on a Mac. The only annoying thing is that Rev can't store & restore printer setups, so I have to get my users to go through Page Setup every time the program needs to swap printer. I use the Dymo Labelwriter Turbo 360 which doesn't look like it is available any more, but so long as they have Mac drivers, I don't think it matters which you use. You will need to experiment with the area that you can print on a single label, but once you have that, it should all work well. 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 ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com. From rgould8 at aol.com Sat Apr 28 23:22:00 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Sat, 28 Apr 2007 23:22:00 -0400 Subject: Printer to print UPC barcodes In-Reply-To: References: Message-ID: <8C95824AF203822-16A8-CF08@WEBMAIL-MA02.sysops.aol.com> Say, can I "embed" a barcode 128 font into my Rev app so I don't have to force the user to install? -----Original Message----- From: sarah.reichelt at gmail.com To: use-revolution at lists.runrev.com Sent: Sat, 28 Apr 2007 5:30 PM Subject: Re: Printer to print UPC barcodes > http://global.dymo.com/enUS/Categories/LabelWriter_Printers.html > > Looking at the website, there's a couple of options - - - now since they are > USB-connected, does that mean I'd print straight from Revolution just as you > would to a regular printer, and the printer just comes with the drivers? That's how I do it on a Mac. The only annoying thing is that Rev can't store & restore printer setups, so I have to get my users to go through Page Setup every time the program needs to swap printer. I use the Dymo Labelwriter Turbo 360 which doesn't look like it is available any more, but so long as they have Mac drivers, I don't think it matters which you use. You will need to experiment with the area that you can print on a single label, but once you have that, it should all work well. 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 ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com. From kray at sonsothunder.com Sun Apr 29 01:05:54 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 29 Apr 2007 00:05:54 -0500 Subject: Rev & Vista In-Reply-To: <46339FC0.4010506@comcast.net> References: <79d1bee70704280716r39a99639j182d1e06da88e552@mail.gmail.com> <46339FC0.4010506@comcast.net> Message-ID: <20070429000554119111.739bf456@sonsothunder.com> On Sat, 28 Apr 2007 12:25:52 -0700, Marty Knapp wrote: >> 1) Are there any known problems, in general, with a Rev 2.6.1 > standalone running in Vista? None that I am aware of, however you won't have controls that take on the Vista look and feel; you'll need to go to Rev 2.8 for that. > 2) On Vista, what does Rev return with "the platform" function? Win32 > 3) Is there a difference in what "specialFolderPath" returns between > XP & Vista? Yes - see the tip here: http://www.sonsothunder.com/devres/revolution/tips/file010.htm Scroll to the bottom to see Vista's codes. > 4) Are there differences between the various versions of Vista that I > should know about? None that affect Rev users, I don't think (although someone feel free to step in and clarify). Also look at the "Vista Gotchas" tip: http://www.sonsothunder.com/devres/revolution/tips/env007.htm > Here's a couple of handlers that I use, that I'm particularly > wondering about with regard to Vista: > > #store user data-- > function docPath > if the platform contains "Win" then > return specialFolderPath("Documents") & "/MyApplicationData" > else if the platform contains "MacOS" then > return specialFolderPath("docs") & "/MyApplicationData" > end if > end docPath Should be fine - the "Documents" special folder path is different on Vista, but does the same thing. > #store registration info-- > function appSupportPath > if the platform contains "Win" then > return specialFolderPath("35") & "/registration.txt" > else if the platform contains "MacOS" then > return specialFolderPath("asup") & "/.registration.txt" > end if > end appSupportPath Should be OK too... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dam-pro.girard at laposte.net Sun Apr 29 05:52:53 2007 From: dam-pro.girard at laposte.net (Girard Damien) Date: Sun, 29 Apr 2007 11:52:53 +0200 Subject: Please vote for this bugs. All windows users. Message-ID: <1FD52AC4D20949398084F32043CA0861@WhiteSide> Hi all, I encourage everybody to vote for this bug about scrollbar corrution under Windows Vista and XP. http://quality.runrev.com/qacenter/show_bug.cgi?id=4810 Regards, Damien From rishi at puredata.com.au Sun Apr 29 07:56:45 2007 From: rishi at puredata.com.au (Rishi Viner) Date: Sun, 29 Apr 2007 21:56:45 +1000 Subject: Non-Motif Linux Interface? - SOLVED! In-Reply-To: References: <20070424192755.2e6981bb.palcibiades-first@yahoo.co.uk> <20070424223032768925.b5f0d54d@sonsothunder.com> Message-ID: <200704292156.46017.rishi@puredata.com.au> On Friday 27 April 2007 05:22, Bill Marriott wrote: > - My Revolution folder is on the desktop. I downloaded the tar.gz file > there and simply extracted. I double-click revolution.x86 to run it. > > - I would put it into /opt, if that's where it's supposed to be, but > Ubuntu tells me I don't have permission to do that. It's owned by > "root." What's the proper place to put applications, anyway? > > - I'd log in as root, but I don't know the password, and as far as I > remember, it never asked me to set one up for root. Probably just as > well since I would presumably wreak utter havoc if I could, eh? Well Bill, sooner or later if you work with Linux you will need to do things as "root". You must have created a root account during installation, this is mandatory except on many of the "live CD" type distributions. On live CDs the documentation often tells you what the root login password is or else you use "sudo" on the command line to get root to do your bidding. (e.g. sudo konqueror to open your web browser/file manager under KDE). Not sure if putting things in /opt will solve it anyway, but worth a try. Cheers, -- Rishi From JimCarwardine at OwnYourFuture-net.com Sun Apr 29 08:34:48 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 29 Apr 2007 09:34:48 -0300 Subject: Interacting with web pages in altBrowser... In-Reply-To: <8C957F667D574FC-1284-73A7@FWM-M31.sysops.aol.com> Message-ID: I think I saw something about this quite a while ago but can't find the reference. When using altBrowser or other Rev/browser interactions, can I script an interaction with a web page? An example might be where a web page may have a search field and a search button and Rev has the search argument filed in a database. Can Rev put the search argument in the search field and click the search button? Jim -- HiringSmart Canada is a successful international end-to-end human resource support business > providing science-based assessments and productivity tools to multi-branch > businesses > where each branch, without the help of an HR professional, attracts, hires and > engages THE RIGHT PEOPLE. We Help You Attract, Hire and Keep the Right People. www.TalentSeeker.ca www.HiringSmart.ca www.KeepingTheBest.ca HiringSmart Canada 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From andrew.lian at andrewlian.com Sun Apr 29 11:03:17 2007 From: andrew.lian at andrewlian.com (Andrew Lian -nswc) Date: Sun, 29 Apr 2007 10:03:17 -0500 Subject: Problem with recording in standalone application Message-ID: <20070429100317.6wggqq5yvsc4c440@webmail.nswconnect.com> Dear All, When I use "record sound file "student.aif" " and then make a standalone application, the recording does not seem to start immediately and the students have to wait up to 4 or 5 seconds to begin the recording to make sure to capture all they want. Otherwise they get a truncated file where the beginning is chopped off. This happens in the standalone - does not seem so obvious in the development environment. There are further delays at the end of the recording when the stop command is issued as the system appears to go into never-never land for a while as it closes/copies the new file etc... This is annoying to some degree and it also appears to be system dependent. I enclose below the script of the button which does the work. As you can see it does a number of things but I would not have thought that the load on the system would have been significant. I understand that runrev uses QT to record/playback etc. maybe this has something to do with it. I would prefer a Windows solution and I may try to use mci commands which I have seen used with runrev (though I cannot remember where it was exactly) but that could limit the portability of the application. on mouseUp if the label of me is "Record" then record sound file "student.aif" set filename of player "student" to empty set the label of me to "Stop" set the backgroundcolor of me to "red" else set the label of me to "Record" set the backgroundcolor of me to 213,170,194 stop recording end if end mouseUp Thanks a lot for your help. Andrew -- Dr Andrew Lian Professor and Chair Dept. of Foreign Languages and Literatures Western Illinois University Macomb, IL, 61455, USA e-mail: AP-Lian at wiu.edu; website: http://www.andrewlian.com Phone: +1 (309) 298-1558; Fax: +1 (309) 298-1060 We don't see things as they are, we see things as we are. (Ana?s Nin) The universe is made up of stories, not atoms (Muriel Rukeyser) From martyknapp at comcast.net Sun Apr 29 14:28:23 2007 From: martyknapp at comcast.net (Marty Knapp) Date: Sun, 29 Apr 2007 11:28:23 -0700 Subject: Rev & Vista In-Reply-To: <20070429000554119111.739bf456@sonsothunder.com> References: <79d1bee70704280716r39a99639j182d1e06da88e552@mail.gmail.com> <46339FC0.4010506@comcast.net> <20070429000554119111.739bf456@sonsothunder.com> Message-ID: <4634E3C7.8010300@comcast.net> Thanks Ken, I appreciate the info on Rev and Vista. So is there a way to tell if an app is running on Vista as opposed to XP? (Again, I'm using Rev 2.6.1.) Thanks again, Marty Knapp From bridgeyman at gmail.com Sun Apr 29 14:56:53 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Sun, 29 Apr 2007 12:56:53 -0600 Subject: Window Level Core Image Transition Message-ID: <86ae76bb0704291156w7d6aad6cnba53823c5360ee9c@mail.gmail.com> Hello, I saw this in the changelog of Revolution 2.7: * Window level transitions. Now you can perform transitions with alpha channels on an entire window, allowing effects such as rippling applications on the desktop. However, I couldn't find any documentation on it. I am assuming that this means we can do cool transitions that effect the entire desktop, like how everything ripples when you drag a new widget onto the Dashboard. Am I reading into this right? I would like to use this for a stack of mine to have a transition when the window changes size. It would be especially cool if I could get the cube transition. Any attempts I have made so far only effect my current stack's rect. Nothing is transparent and nothing effects the rest of the window. If anyone has used this new feature, or if I am just interpreting it wrong, I would love some help. Thank You, Bridger Maxwell www.FieryFerret.com From scott at tactilemedia.com Sun Apr 29 15:22:32 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 29 Apr 2007 12:22:32 -0700 Subject: Window Level Core Image Transition In-Reply-To: <86ae76bb0704291156w7d6aad6cnba53823c5360ee9c@mail.gmail.com> Message-ID: Recently, Bridger Maxwell wrote: > I saw this in the changelog of Revolution 2.7: > * Window level transitions. Now you can perform transitions with alpha > channels on an entire window, allowing effects such as rippling applications > on the desktop. > However, I couldn't find any documentation on it. Take a look at the Core Image Sampler stack that should be included with your install. Note that you can only use transition effects; no filters or anything else that does not involve transitioning from a source to a destination. And of course, the effects are Mac only. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From revolution at knowledgeworks.plus.com Sun Apr 29 15:24:55 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sun, 29 Apr 2007 20:24:55 +0100 Subject: bug 3192 - write to process on OS X Message-ID: Hi folks, As Monday is the deadline for people contacting Bill with votes for outstanding bugs, I'd just like to say that if anyone has votes left, then this one is a good candidate. There are times when the shell() function is simply not adequate in interacting with command-line programs. Some of these programs e.g. the various isql shells, are interactive, so they need 'write to process' and 'read from process'. The Rev docs just tell us to use shell() on OS X, but that is simply not enough. There is simply no workaround for this particular bug, so I feel it really should be fixed. These features work on Windows, but not on OS X. Here we have a unix with tons of command line programs that we can write lush GUIs for, except we can't have this kind of interaction on OS X without this bug being squashed. Bernard From kray at sonsothunder.com Sun Apr 29 15:52:40 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 29 Apr 2007 14:52:40 -0500 Subject: Rev & Vista In-Reply-To: <4634E3C7.8010300@comcast.net> References: <79d1bee70704280716r39a99639j182d1e06da88e552@mail.gmail.com> <46339FC0.4010506@comcast.net> <20070429000554119111.739bf456@sonsothunder.com> <4634E3C7.8010300@comcast.net> Message-ID: <20070429145240645956.b8c6be19@sonsothunder.com> On Sun, 29 Apr 2007 11:28:23 -0700, Marty Knapp wrote: > Thanks Ken, > > I appreciate the info on Rev and Vista. So is there a way to tell if > an app is running on Vista as opposed to XP? (Again, I'm using Rev > 2.6.1.) Yes, you check "the systemVersion"... see the tip at: http://www.sonsothunder.com/devres/revolution/tips/env003.htm Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sarah.reichelt at gmail.com Sun Apr 29 16:25:53 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 30 Apr 2007 06:25:53 +1000 Subject: Interacting with web pages in altBrowser... In-Reply-To: References: <8C957F667D574FC-1284-73A7@FWM-M31.sysops.aol.com> Message-ID: On 4/29/07, Jim Carwardine wrote: > I think I saw something about this quite a while ago but can't find the > reference. When using altBrowser or other Rev/browser interactions, can I > script an interaction with a web page? An example might be where a web page > may have a search field and a search button and Rev has the search argument > filed in a database. Can Rev put the search argument in the search field > and click the search button? Jim Jim, depending on how the search is done, the parameters often become part of the address for the results page. e.g. for Google, if I search for "Revolution", the address for the search page is (and some other encoding stuff). So if you wanted to script a Google search directly, just replace "Revolution" with whatever you wanted in the link I quoted, and you will get directly to the results page instead of to the search entry page. A lot of search pages work this way, so try them manually and check the address of the result to see if this method will work. Cheers, Sarah From martyknapp at comcast.net Sun Apr 29 16:26:02 2007 From: martyknapp at comcast.net (Marty Knapp) Date: Sun, 29 Apr 2007 13:26:02 -0700 Subject: Rev & Vista In-Reply-To: <20070429145240645956.b8c6be19@sonsothunder.com> References: <79d1bee70704280716r39a99639j182d1e06da88e552@mail.gmail.com> <46339FC0.4010506@comcast.net> <20070429000554119111.739bf456@sonsothunder.com> <4634E3C7.8010300@comcast.net> <20070429145240645956.b8c6be19@sonsothunder.com> Message-ID: <4634FF5A.6000804@comcast.net> Perfect - thanks again for your help! Marty Knapp > On Sun, 29 Apr 2007 11:28:23 -0700, Marty Knapp wrote: > > >> Thanks Ken, >> >> I appreciate the info on Rev and Vista. So is there a way to tell if >> an app is running on Vista as opposed to XP? (Again, I'm using Rev >> 2.6.1.) >> > > Yes, you check "the systemVersion"... see the tip at: > > http://www.sonsothunder.com/devres/revolution/tips/env003.htm From bridgeyman at gmail.com Sun Apr 29 16:27:44 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Sun, 29 Apr 2007 14:27:44 -0600 Subject: Window Level Core Image Transition In-Reply-To: References: <86ae76bb0704291156w7d6aad6cnba53823c5360ee9c@mail.gmail.com> Message-ID: <86ae76bb0704291327sf3a04d1vde0cb7db22a5a336@mail.gmail.com> Hey, Thanks for the reply, but I am looking for something slightly different. The Core Image Sampler stack shows how to do transitions on a section inside a stack. I thought the changelog entry said that a transition could be done on the entire stack and carry over to the desktop behind it. I have got transitions to work on an entire stack, but it does not extend past the rect of the stack or make so you can see parts of the desktop ("transitions with alpha channels on an entire window"). Perhaps I am mistaken and this is not possible though. Thank You, Bridger Maxwell www.FieryFerret.com On 4/29/07, Scott Rossi wrote: > > Recently, Bridger Maxwell wrote: > > > I saw this in the changelog of Revolution 2.7: > > * Window level transitions. Now you can perform transitions with alpha > > channels on an entire window, allowing effects such as rippling > applications > > on the desktop. > > However, I couldn't find any documentation on it. > > Take a look at the Core Image Sampler stack that should be included with > your install. Note that you can only use transition effects; no filters > or > anything else that does not involve transitioning from a source to a > destination. And of course, the effects are Mac only. > > 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 revolution at knowledgeworks.plus.com Sun Apr 29 17:04:26 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sun, 29 Apr 2007 22:04:26 +0100 Subject: bug 3192 - Sorry, its bug 3196 References: Message-ID: <39537FD2-A2D0-40F7-8AF8-BA14CBE6BC2F@knowledgeworks.plus.com> Sorry, My eyes must have travelled down to the other bug number I had on the screen. Bernard Begin forwarded message: > From: Bernard Devlin > Date: 29 April 2007 20:24:55 BDT > To: use-revolution at lists.runrev.com > Subject: bug 3192 - write to process on OS X > > Hi folks, > > As Monday is the deadline for people contacting Bill with votes for > outstanding bugs, I'd just like to say that if anyone has votes > left, then this one is a good candidate. > > There are times when the shell() function is simply not adequate in > interacting with command-line programs. Some of these programs > e.g. the various isql shells, are interactive, so they need 'write > to process' and 'read from process'. The Rev docs just tell us to > use shell() on OS X, but that is simply not enough. There is simply > no workaround for this particular bug, so I feel it really should > be fixed. > > These features work on Windows, but not on OS X. Here we have a > unix with tons of command line programs that we can write lush GUIs > for, except we can't have this kind of interaction on OS X without > this bug being squashed. > > Bernard > > From sarah.reichelt at gmail.com Sun Apr 29 17:47:49 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 30 Apr 2007 07:47:49 +1000 Subject: Printer to print UPC barcodes In-Reply-To: <8C95824AF203822-16A8-CF08@WEBMAIL-MA02.sysops.aol.com> References: <8C95824AF203822-16A8-CF08@WEBMAIL-MA02.sysops.aol.com> Message-ID: On 4/29/07, rgould8 at aol.com wrote: > Say, can I "embed" a barcode 128 font into my Rev app so I don't have to force the user to install? RunRev has acquired the altFont external which allows exactly that. I don't think it is fully incorporated yet, but it is available from the web site. Regards, Sarah From JimCarwardine at OwnYourFuture-net.com Sun Apr 29 21:22:27 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sun, 29 Apr 2007 22:22:27 -0300 Subject: Interacting with web pages in altBrowser... In-Reply-To: Message-ID: Thanks, Sarah... Sorry, my question was too broad. What I was referring to primarily was an application front-ending a database that has a search function. For instance, a name and address file, or in my case, a personnel file where the only way to browse the file is with a search function. If I am communicating from a Rev app and I know the person I want to search for in the other, non-Rev app, can I interact with the fields in the non-Rev app?... Jim on 4/29/07 5:25 PM, Sarah Reichelt wrote: > On 4/29/07, Jim Carwardine wrote: >> I think I saw something about this quite a while ago but can't find the >> reference. When using altBrowser or other Rev/browser interactions, can I >> script an interaction with a web page? An example might be where a web page >> may have a search field and a search button and Rev has the search argument >> filed in a database. Can Rev put the search argument in the search field >> and click the search button? Jim > > Jim, depending on how the search is done, the parameters often become > part of the address for the results page. e.g. for Google, if I search > for "Revolution", the address for the search page is > (and some other encoding > stuff). > > So if you wanted to script a Google search directly, just replace > "Revolution" with whatever you wanted in the link I quoted, and you > will get directly to the results page instead of to the search entry > page. > > A lot of search pages work this way, so try them manually and check > the address of the result to see if this method will work. > > 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 -- HiringSmart Canada is a successful international end-to-end human resource support business > providing science-based assessments and productivity tools to multi-branch > businesses > where each branch, without the help of an HR professional, attracts, hires and > engages THE RIGHT PEOPLE. We Help You Attract, Hire and Keep the Right People. www.TalentSeeker.ca www.HiringSmart.ca www.KeepingTheBest.ca HiringSmart Canada 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From rgould8 at aol.com Sun Apr 29 22:44:24 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Sun, 29 Apr 2007 22:44:24 -0400 Subject: Does Embed fonts with AltFont.bundle work in standalone? Message-ID: <8C958E898E19F8F-C60-8D37@MBLK-M40.sysops.aol.com> Say, I'm trying to get a "barcode" font embedded in my standalone Mac Revolution application, but I'm not having much luck. It works in "authoring mode", but not "standalone" mode for me. I understand that it's due to be integrated into Rev at some time in the future - - - does that mean that it's not completely ready yet, or am I just doing something wrong? For instance, if I take the altfontbrowser demo app and make it a standalone, I'm not having luck getting it to pull in the font either, which makes me wonder if perhaps it's just an authoring-mode feature at this point. From my understanding, I just need to set the externals path and hit save, and then make sure that my altfont.bundle file is at that path, right? ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com. From supote.songthammawat at gmail.com Mon Apr 30 00:18:24 2007 From: supote.songthammawat at gmail.com (supote songthammawat) Date: Mon, 30 Apr 2007 11:18:24 +0700 Subject: How can I use runrev 2.5.1 send or receive data by bluetooth from Mobile Phone? Message-ID: <680dfa960704292118w59e12d13vf895d719f54f039e@mail.gmail.com> Hi everybody, I want to know that runrev v.2.5.1 can use Bluetooth from Notebook or Desktop in order to send or receive data from Mobile Phone. Please tell or suggest me. And if can do how to build or use? Thank you. Best Regard, Supote From sarah.reichelt at gmail.com Mon Apr 30 00:28:16 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 30 Apr 2007 14:28:16 +1000 Subject: [OT] CGI - web site help In-Reply-To: References: <9473D1B3-022A-482A-A007-C59E25772B5D@knowledgeworks.plus.com> <6539E0C8-4B62-40C3-AB32-4157D5A544E6@mac.com> Message-ID: I have been trying to follow the advice I have been given for using AJAX with my Rev CGI stuff. I have succeeded partially in that my radio buttons send the correct parameters to a JavaScript function, which gets the other data it needs from a text field. However I have not managed to get any data back. Looking at the examples, they seem to provide a way to get back a single chunk of data that you then display within the existing web page. This may mean that my CGI needs re-writing as it currently returns a complete page. Effectively, what I want this AJAX stuff to do is to display a new web page with supplied parameters. e.g. the web page might be: . If the 5% discount radio button is clicked, I then want the page displayed to be . Is this possible, or do I need to change my Rev CGI so that it only returns the results table, not a complete page? Many thanks, Sarah From revolution at knowledgeworks.plus.com Mon Apr 30 02:16:58 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Mon, 30 Apr 2007 07:16:58 +0100 Subject: [OT] CGI - web site help Message-ID: Hi Sarah, This is possible, and should be easier than the AJAX stuff too. What you need is for the javascript called by clicking on the radio button to change the 'form action' that is used, and then for this javascript to submit the form without the user clicking on any other control. Here is an example of changing the form action: http://www.mvp-wc.usace.army.mil/ftp/pub/software/web/ form_action_change.html (Don't worry that the page that the above submit returns to you says there is a missing resource - if you look in the URL you will see that the cgi that was called changed). Here is an example of submitting a form via javascript: http://www.javascript-coder.com/javascript-form/javascript-form- submit.phtml These kinds of things are what we did before all this darn new- fangled AJAX stuff was invented ;-) Bernard > what I want this AJAX stuff to do is to display a new web > page with supplied parameters. e.g. the web page might be: > . > If the 5% discount radio button is clicked, I then want the page > displayed to be > . From toolbook at kestner.de Mon Apr 30 03:23:32 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 30 Apr 2007 09:23:32 +0200 Subject: What is the appropriate alternative for right click menu on Mac? Message-ID: <000601c78af8$7673ede0$18b2a8c0@TiemoPC2> Hello, it's the first time for me to develop an application not only for windows, but also for Mac. On Windows I would like to give the user a mouse right click popup menu to delete a selected image from the card. As I know there are even mouses with only one button in the Macworld, I didn't find anything in the docs what is the appropriate alternative to a right click menu on Mac and how to implement? Is it the combination of Apple-key and mouse click? Is it the standard approach to test the envirement and depending on Win/Mac realize two different calls? I am just asking for the standard approach before running into the wrong direction Thanks for sharing your experience Tiemo From m.schonewille at economy-x-talk.com Mon Apr 30 03:27:37 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 30 Apr 2007 09:27:37 +0200 Subject: What is the appropriate alternative for right click menu on Mac? In-Reply-To: <000601c78af8$7673ede0$18b2a8c0@TiemoPC2> References: <000601c78af8$7673ede0$18b2a8c0@TiemoPC2> Message-ID: Hi Tiemo, That would be control-click. 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 30-apr-2007, om 9:23 heeft Tiemo Hollmann TB het volgende geschreven: > Hello, > > it's the first time for me to develop an application not only for > windows, > but also for Mac. On Windows I would like to give the user a mouse > right > click popup menu to delete a selected image from the card. As I > know there > are even mouses with only one button in the Macworld, I didn't find > anything > in the docs what is the appropriate alternative to a right click > menu on Mac > and how to implement? Is it the combination of Apple-key and mouse > click? Is > it the standard approach to test the envirement and depending on > Win/Mac > realize two different calls? > > I am just asking for the standard approach before running into the > wrong > direction > > > > Thanks for sharing your experience > > Tiemo > From toolbook at kestner.de Mon Apr 30 03:29:01 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 30 Apr 2007 09:29:01 +0200 Subject: AW: What is the appropriate alternative for right click menu on Mac? In-Reply-To: Message-ID: <000b01c78af9$39d5c830$18b2a8c0@TiemoPC2> Fast and sufficient :) Thanks Tiemo > -----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, 30. April 2007 09:28 > An: How to use Revolution > Betreff: Re: What is the appropriate alternative for right click menu on > Mac? > > Hi Tiemo, > > That would be control-click. > > 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 30-apr-2007, om 9:23 heeft Tiemo Hollmann TB het volgende geschreven: > > > Hello, > > > > it's the first time for me to develop an application not only for > > windows, > > but also for Mac. On Windows I would like to give the user a mouse > > right > > click popup menu to delete a selected image from the card. As I > > know there > > are even mouses with only one button in the Macworld, I didn't find > > anything > > in the docs what is the appropriate alternative to a right click > > menu on Mac > > and how to implement? Is it the combination of Apple-key and mouse > > click? Is > > it the standard approach to test the envirement and depending on > > Win/Mac > > realize two different calls? > > > > I am just asking for the standard approach before running into the > > wrong > > direction > > > > > > > > Thanks for sharing your 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 toolbook at kestner.de Mon Apr 30 03:31:53 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 30 Apr 2007 09:31:53 +0200 Subject: AW: What is the appropriate alternative for right click menu on Mac? In-Reply-To: Message-ID: <000c01c78af9$a00e9af0$18b2a8c0@TiemoPC2> Do you differentiate the systems, or do you give control-click and right -click on both systems? Tiemo > -----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, 30. April 2007 09:28 > An: How to use Revolution > Betreff: Re: What is the appropriate alternative for right click menu on > Mac? > > Hi Tiemo, > > That would be control-click. > > 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 30-apr-2007, om 9:23 heeft Tiemo Hollmann TB het volgende geschreven: > > > Hello, > > > > it's the first time for me to develop an application not only for > > windows, > > but also for Mac. On Windows I would like to give the user a mouse > > right > > click popup menu to delete a selected image from the card. As I > > know there > > are even mouses with only one button in the Macworld, I didn't find > > anything > > in the docs what is the appropriate alternative to a right click > > menu on Mac > > and how to implement? Is it the combination of Apple-key and mouse > > click? Is > > it the standard approach to test the envirement and depending on > > Win/Mac > > realize two different calls? > > > > I am just asking for the standard approach before running into the > > wrong > > direction > > > > > > > > Thanks for sharing your 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 m.schonewille at economy-x-talk.com Mon Apr 30 03:46:40 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 30 Apr 2007 09:46:40 +0200 Subject: AW: What is the appropriate alternative for right click menu on Mac? In-Reply-To: <000c01c78af9$a00e9af0$18b2a8c0@TiemoPC2> References: <000c01c78af9$a00e9af0$18b2a8c0@TiemoPC2> Message-ID: Dear Tiemo, Usually, I allow for both methods on both Mac and Windows, but this may note appreciated by everyone. It is probably best to allow for both on Mac and to allow for right-click only on Windows. It would be interesting to know the opinion of others in this respect. 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 30-apr-2007, om 9:31 heeft Tiemo Hollmann TB het volgende geschreven: > Do you differentiate the systems, or do you give control-click and > right > -click on both systems? > Tiemo > >> -----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, 30. April 2007 09:28 >> An: How to use Revolution >> Betreff: Re: What is the appropriate alternative for right click >> menu on >> Mac? >> >> Hi Tiemo, >> >> That would be control-click. >> >> 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 30-apr-2007, om 9:23 heeft Tiemo Hollmann TB het volgende >> geschreven: >> >>> Hello, >>> >>> it's the first time for me to develop an application not only for >>> windows, >>> but also for Mac. On Windows I would like to give the user a mouse >>> right >>> click popup menu to delete a selected image from the card. As I >>> know there >>> are even mouses with only one button in the Macworld, I didn't find >>> anything >>> in the docs what is the appropriate alternative to a right click >>> menu on Mac >>> and how to implement? Is it the combination of Apple-key and mouse >>> click? Is >>> it the standard approach to test the envirement and depending on >>> Win/Mac >>> realize two different calls? >>> >>> I am just asking for the standard approach before running into the >>> wrong >>> direction >>> >>> >>> >>> Thanks for sharing your 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 > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 30 03:53:26 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 30 Apr 2007 09:53:26 +0200 Subject: How do I get the object under the mouse when mouseRelease? Message-ID: <000d01c78afc$a348fe10$18b2a8c0@TiemoPC2> Hello again, sorry, another newbee question I want to realize my own drag and drop handlers with mouseDown, mouseRelease, etc. On mouseDown I get the underneath lying object with mousecontrol. How do I get the name of an object (image) under the mouse when releasing it, because mousecontrol is still the mouseDown object when releasing? I created a workaround with a repeat loop on mouseRelease to test for every image on my card, if the mouseloc is in the rectangle of image x. But I think there must be a more sophisticated and perfomant way in revolution? Thanks for any hint Tiemo From revlist at azurevision.co.uk Mon Apr 30 04:43:01 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 30 Apr 2007 09:43:01 +0100 Subject: AW: What is the appropriate alternative for right click menu on Mac? In-Reply-To: <000c01c78af9$a00e9af0$18b2a8c0@TiemoPC2> References: <000c01c78af9$a00e9af0$18b2a8c0@TiemoPC2> Message-ID: You're both making this too complicated. "Parameters: The mouseButtonNumber specifies which mouse button to check: * 1 is the mouse button on Mac OS systems and the left button on Windows and Unix systems. * 2 is the middle button on Unix systems. * 3 is the right button on Windows and Unix systems and Control-click on Mac OS systems." Just code for right-clicks and Rev will automatically treat both right-click and control-click as the same thing on Macs, which is the expected behaviour for all Mac apps. Ian On 30 Apr 2007, at 08:31, Tiemo Hollmann TB wrote: > Do you differentiate the systems, or do you give control-click and > right > -click on both systems? > Tiemo From toolbook at kestner.de Mon Apr 30 04:50:32 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 30 Apr 2007 10:50:32 +0200 Subject: AW: AW: What is the appropriate alternative for right click menu onMac? In-Reply-To: Message-ID: <001301c78b04$9d0fb1d0$18b2a8c0@TiemoPC2> Some answers can be so easy :) Thanks for sharing Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Ian Wood > Gesendet: Montag, 30. April 2007 10:43 > An: How to use Revolution > Betreff: Re: AW: What is the appropriate alternative for right click menu > onMac? > > You're both making this too complicated. > > "Parameters: > The mouseButtonNumber specifies which mouse button to check: > > * 1 is the mouse button on Mac OS systems and the left button on > Windows and Unix systems. > * 2 is the middle button on Unix systems. > * 3 is the right button on Windows and Unix systems and Control-click > on Mac OS systems." > > Just code for right-clicks and Rev will automatically treat both > right-click and control-click as the same thing on Macs, which is the > expected behaviour for all Mac apps. > > Ian > > On 30 Apr 2007, at 08:31, Tiemo Hollmann TB wrote: > > > Do you differentiate the systems, or do you give control-click and > > right > > -click on both systems? > > 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 jc at spl21.net Mon Apr 30 05:50:56 2007 From: jc at spl21.net (John Craig) Date: Mon, 30 Apr 2007 10:50:56 +0100 Subject: [OT] CGI - web site help In-Reply-To: References: <9473D1B3-022A-482A-A007-C59E25772B5D@knowledgeworks.plus.com> <6539E0C8-4B62-40C3-AB32-4157D5A544E6@mac.com> Message-ID: <4635BC00.9010101@spl21.net> Another example - http://www.molekular.co.uk/tmp/test2.php To link using a radio button, you can use the following; Option1 HTH JC Sarah Reichelt wrote: > > Effectively, what I want this AJAX stuff to do is to display a new web > page with supplied parameters. e.g. the web page might be: > . > If the 5% discount radio button is clicked, I then want the page > displayed to be > . > > Is this possible, or do I need to change my Rev CGI so that it only > returns the results table, not a complete page? > > Many thanks, > 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 geradamas at yahoo.com Mon Apr 30 06:18:06 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 11:18:06 +0100 (BST) Subject: AW: What is the appropriate alternative for right click menu on Mac? Message-ID: <462584.49845.qm@web37509.mail.mud.yahoo.com> Just to point out that I, like many other Mac users, have 3-button mice connected to all my Mac OS X Macintoshes (4), and to 3 of my Claassic Macs. With the advent of the "4" button mouse from Apple it may be that your problem is ceasing to exist. sincerely, Richmond ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From toolbook at kestner.de Mon Apr 30 06:31:44 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 30 Apr 2007 12:31:44 +0200 Subject: AW: What is the appropriate alternative for right click menu on Mac? In-Reply-To: <462584.49845.qm@web37509.mail.mud.yahoo.com> Message-ID: <001a01c78b12$c0782540$18b2a8c0@TiemoPC2> Richmond, and if you use "if mouse(3) is down" on such a system, who reacts? The right mouse button? or only control + mousedown or both? 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: Montag, 30. April 2007 12:18 > An: use-revolution at lists.runrev.com > Betreff: AW: What is the appropriate alternative for right click menu on > Mac? > > Just to point out that I, like many other Mac users, > have 3-button mice connected to all my Mac OS X > Macintoshes (4), and to 3 of my Claassic Macs. > > With the advent of the "4" button mouse from Apple it > may be that your problem is ceasing to exist. > > > sincerely, Richmond > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development Life > Cycle. > ____________________________________________________________ > > > ___________________________________________________________ > Yahoo! Mail is the world's favourite email. Don't settle for less, sign up > for > your free account today > http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.h > tml > _______________________________________________ > use-revolution mailing list > use-revolution 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 Mon Apr 30 07:16:04 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 12:16:04 +0100 (BST) Subject: AW: What is the appropriate alternative for right click menu on Mac? Message-ID: <84740.64836.qm@web37509.mail.mud.yahoo.com> Oh Dear Me! Just uploaded a stack "MOUSER" to RevOnline that I used to test 'mouse(3) ' not a sausage! either from the right button of my mouse, OR left button and control key! [Logitech Optical Scroll Mouse + G4 "windtunnel" + Mac 10.4.9] maybe this is not quite what you had in mind re testing: get back to me - just going down the stairs to shoe-horn some English into the tiny minds of children with rich parents: back in 90 minutes! Love, Richmond ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From p.jimmieson at csc.liv.ac.uk Mon Apr 30 07:36:06 2007 From: p.jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Mon, 30 Apr 2007 12:36:06 +0100 Subject: anyone used Rev to write Windows file comments or other metadata? Message-ID: <20070430123606.igrcql0pw4sswcok@cgi.csc.liv.ac.uk> My Rev app writes documents that only it can open, and I was trying to think of a way of indicating what's inside a document (can't change the name unfortunately) when I spotted the Windows file comment field (among others), which shows up in a tooltip in Windows equivalent of the Mac's Finder. Basically if you get a file's properties, and click the summary tab, you get a set of fields - metadata about a file, which you can edit. I'd like to do this from within Rev. I've had a look in the registry and can't see the comment etc. there, so I'm assuming it must be stored in some other structure. Has anyone tried to modify or create a file's comment using Rev, or know where the information is stored and have any idea how to access it? -- Phil Jimmieson The University of Liverpool, Computer Science Dept, Ashton Bldg, Ashton Street, Liverpool L69 3BX 0151 795 4236 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From revolution at knowledgeworks.plus.com Mon Apr 30 07:56:35 2007 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Mon, 30 Apr 2007 12:56:35 +0100 Subject: anyone used Rev to write Windows file comments or other metadata? Message-ID: <38588820-3788-45A2-87BA-9A0FC624FB39@knowledgeworks.plus.com> Phil, I believe this information is held in a file's Advanced Data Stream. If this is the case, then I think only files that are on an NTFS partition will have these kind of comment fields available in Explorer. ADS are weird beasties. You could try the examples shown on this page, and see if you can add comments to the file using the shell() function: http://members.cox.net/slatteryt/Streams.html If I remember rightly, there can be issues with ADS not being backed- up/restored properly with some backup utilities, and not surviving other kinds of file-transer (e.g. FTP, storage of files on non-MS SMB file servers), although that may not be an issue in your situation. Bernard > I've had a look in the registry and can't see the comment etc. there, > so I'm assuming it must be stored in some other structure. Has anyone > tried to modify or create a file's comment using Rev, or know where > the > information is stored and have any idea how to access it? From geradamas at yahoo.com Mon Apr 30 09:20:11 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 14:20:11 +0100 (BST) Subject: 3 button mice with Macs. Message-ID: <997897.12486.qm@web37511.mail.mud.yahoo.com> In the light of the recent spate of postings it might be time for Runtime Revolution to accept that modern Macintosh computers use multi-button mice [c.f. Apple's Mighty Mouse], and take that into account in the programming languages. I seem unable to get RR to detect clicks from either the 2nd or 3rd button on my Logitech mouse: this is a BAD THING. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From toolbook at kestner.de Mon Apr 30 09:25:57 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 30 Apr 2007 15:25:57 +0200 Subject: AW: 3 button mice with Macs. In-Reply-To: <997897.12486.qm@web37511.mail.mud.yahoo.com> Message-ID: <002001c78b2b$17178360$18b2a8c0@TiemoPC2> hmmm, looks like RR has to be updatet. It would be a pitty, if Apple user can't use the right mouse button for the future. 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: Montag, 30. April 2007 15:20 > An: use-revolution at lists.runrev.com > Betreff: 3 button mice with Macs. > > > In the light of the recent spate of postings it might > be time for Runtime Revolution to accept that modern > Macintosh computers use multi-button mice [c.f. > Apple's Mighty Mouse], and take that into account in > the programming languages. > > I seem unable to get RR to detect clicks from either > the 2nd or 3rd button on my Logitech mouse: this is a > BAD THING. > > sincerely, Richmond Mathewson > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development Life > Cycle. > ____________________________________________________________ > > > ___________________________________________________________ > Yahoo! Mail is the world's favourite email. Don't settle for less, sign up > for > your free account today > http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.h > tml > _______________________________________________ > use-revolution mailing list > use-revolution 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 Mon Apr 30 10:21:52 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 15:21:52 +0100 (BST) Subject: File Browser Message-ID: <898492.94140.qm@web37501.mail.mud.yahoo.com> Just uploaded a primitive File Browser to RevOnline ( FILE POKER ) got a bit bogged down at one stage - would be grateful if all willing could download, play with, take to bits, criticise, reconstruct and generally be helpful with it. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From mb.userev at harbourhosting.co.uk Mon Apr 30 10:30:03 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Mon, 30 Apr 2007 15:30:03 +0100 Subject: AW: 3 button mice with Macs. In-Reply-To: <002001c78b2b$17178360$18b2a8c0@TiemoPC2> References: <002001c78b2b$17178360$18b2a8c0@TiemoPC2> Message-ID: <4635FD6B.4080708@harbourhosting.co.uk> Tiemo Hollmann TB wrote: > hmmm, looks like RR has to be updatet. It would be a pitty, if Apple user > can't use the right mouse button for the future. > Tiemo Tiemo I've never had a problem with it. All my Macs have used a 3 button mouse for years now and RR recognises right-clicks as such on all of them. However, in some cases the user may need to install and configure mouse driver software in order for this to work. Logitech for instance supplies MouseWare. Even if this is not installed however, ctrl-left-click should normally achieve the same thing. I've never tried mouse(3) though so maybe there is some special issue there. Generally I would use: on mousedown pButton if pButton = 3 then Martin Baxter From geradamas at yahoo.com Mon Apr 30 10:34:35 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 15:34:35 +0100 (BST) Subject: 3 button mice with Macs. Message-ID: <510572.79063.qm@web37508.mail.mud.yahoo.com> HOWEVER . . . just uploaded newer version of MOUSER to RevOnline. Try this: on mouseDown if mouse(1) is down then --hang on a minute--- if controlKey() is down then ---do whatever you would normally do with a Right Click in Windows--- end if else ---do nix---- end if end mouseDown Not as daft as it sounds! If you are ONLY writing for MAC you can do away with the 'mouse(1)' loop: on mouseDown if controlKey() is down then ---do whatever you would normally do with a Right Click in Windows--- end if end mouseDown sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From ambassador at fourthworld.com Mon Apr 30 10:35:47 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2007 07:35:47 -0700 Subject: AW: 3 button mice with Macs. Message-ID: <4635FEC3.5010603@fourthworld.com> Tiemo wrote: > hmmm, looks like RR has to be updatet. It would be a pitty, > if Apple user can't use the right mouse button for the future. Would be indeed, if that were the case. But I've been using a Logitech 3-button mouse for many years without difficulty (TrackMan - love that thing). Richmond, do you have the latest Logitech driver installed? Unlike some other 3-button mice, Logitech mice require a driver, and the vendor is petty adamant about installing it before attempting to use the device (I got a kernel crash when I tried to ignore their manual). PS: What is "AW"? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From geradamas at yahoo.com Mon Apr 30 10:39:41 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 15:39:41 +0100 (BST) Subject: 3 button mice, funny gamepads . . . Message-ID: <189495.34689.qm@web37506.mail.mud.yahoo.com> I have a Logitech 3 button mouse (with driver installed) and a Nostromo Gamepad 52 (with driver installed) - I never play computer games . . . I have the Nostromo programmed for all the key commands with RunRev - saves the worn-out wrists! Love, Richmond ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From revlist at azurevision.co.uk Mon Apr 30 10:51:16 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 30 Apr 2007 15:51:16 +0100 Subject: 3 button mice with Macs. In-Reply-To: <997897.12486.qm@web37511.mail.mud.yahoo.com> References: <997897.12486.qm@web37511.mail.mud.yahoo.com> Message-ID: <9A92B7D4-4D52-4D3A-B410-444097E870B5@azurevision.co.uk> I use loads of different mice (including presentation remotes) and have never seen this behaviour. As others have said, I'd double-check that you have the Logitech drivers installed. Ian On 30 Apr 2007, at 14:20, Richmond Mathewson wrote: > > In the light of the recent spate of postings it might > be time for Runtime Revolution to accept that modern > Macintosh computers use multi-button mice [c.f. > Apple's Mighty Mouse], and take that into account in > the programming languages. > > I seem unable to get RR to detect clicks from either > the 2nd or 3rd button on my Logitech mouse: this is a > BAD THING. > > sincerely, Richmond Mathewson > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development > Life Cycle. > ____________________________________________________________ > > > ___________________________________________________________ > Yahoo! Mail is the world's favourite email. Don't settle for less, > sign up for > your free account today http://uk.rd.yahoo.com/evt=44106/*http:// > uk.docs.yahoo.com/mail/winter07.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 ambassador at fourthworld.com Mon Apr 30 10:54:09 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2007 07:54:09 -0700 Subject: 3 button mice with Macs. Message-ID: <46360311.3030107@fourthworld.com> Richmond wrote: > Try this: > > on mouseDown > if mouse(1) is down then > --hang on a minute--- > if controlKey() is down then > ---do whatever you would normally do with a > Right Click in Windows--- > end if > else > ---do nix---- > end if > end mouseDown > > Not as daft as it sounds! > > If you are ONLY writing for MAC you can do away with > the 'mouse(1)' loop: > > on mouseDown > if controlKey() is down then > ---do whatever you would normally do with a > Right Click in Windows--- > end if > end mouseDown Mac OS automatically maps the right-click to Control-click, so all you need is: on mouseDown pButton if pButton = 3 then -- do right-click stuff else -- do left-click stuff end if end mouseDown -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From JimCarwardine at OwnYourFuture-net.com Mon Apr 30 10:58:41 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Mon, 30 Apr 2007 11:58:41 -0300 Subject: Vista Revealed Again... In-Reply-To: Message-ID: FWIW, this came into my inbox this morning... Jim http://www.regdeveloper.co.uk/2007/04/29/vista_end_dream/ -- HiringSmart Canada is a successful international end-to-end human resource support business > providing science-based assessments and productivity tools to multi-branch > businesses > where each branch, without the help of an HR professional, attracts, hires and > engages THE RIGHT PEOPLE. We Help You Attract, Hire and Keep the Right People. www.TalentSeeker.ca www.HiringSmart.ca www.KeepingTheBest.ca HiringSmart Canada 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From jacque at hyperactivesw.com Mon Apr 30 11:08:06 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2007 10:08:06 -0500 Subject: AW: 3 button mice with Macs. In-Reply-To: <002001c78b2b$17178360$18b2a8c0@TiemoPC2> References: <002001c78b2b$17178360$18b2a8c0@TiemoPC2> Message-ID: <46360656.5050109@hyperactivesw.com> Tiemo Hollmann TB wrote: > hmmm, looks like RR has to be updatet. It would be a pitty, if Apple user > can't use the right mouse button for the future. No, it works just fine and you don't have to do anything different for Mac than you do for Windows. This is all you need: on mouseUp tBtn if tBtn = 3 then -- do right click stuff else do left-click stuff end if end mouseUp This also works with mousedown. You do not need to test the OS or do anything else. If a Mac user has a 3-button mouse, right-clicking will trigger this the same as Windows does. If they have only a one-button mouse, the OS will send the "3" parameter when they control-click. You don't need a controlKey handler or any other special treatment. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geradamas at yahoo.com Mon Apr 30 11:15:55 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 16:15:55 +0100 (BST) Subject: Another of those slightly unpleasant messages about documentation Message-ID: <485405.92586.qm@web37508.mail.mud.yahoo.com> neither right-click or left-click are mentioned in the RR documentation (2.8 Beta build 400) cough, cough, cough . . . Richmond, being a pedestrian type of fellow, went looking for details about mouse button detection in the RR documentation. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From geradamas at yahoo.com Mon Apr 30 11:23:19 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 16:23:19 +0100 (BST) Subject: My Logitech mouse . . . Message-ID: <463403.15564.qm@web37501.mail.mud.yahoo.com> Umm, muffled apologies: I have a Logitech Wheel Mouse connected to my Wind-Tunnel. So, thought I would check the drivers . . . pom, pom, pom: "No Logitech Devices detected" reinstalled drivers rebooted same. As my mouse was plugged-in via a ISB port on my keyboard I jacked it in first through a USB hub to my second USB port on the Computer (first port used by keyboard), then directly via the second USB port. Still no joy. So, for some funny reason, the Logitech software does not see the Logitech mouse - and, that, "dear children is the moral of my tale". So, presumably, that is why RR is not picking up the right-button for mouseDown / mouseUp stuff (although, oddly enough, I do get all the contextual menus and so forth). sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From pevensen at siboneylg.com Mon Apr 30 11:31:13 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 30 Apr 2007 10:31:13 -0500 Subject: Another of those slightly unpleasant messages about documentation In-Reply-To: <485405.92586.qm@web37508.mail.mud.yahoo.com> References: <485405.92586.qm@web37508.mail.mud.yahoo.com> Message-ID: <46360BC1.5030909@siboneylg.com> Actually "right-click" is found in the documentation for 2.8.1: Index for "right-click" as a string in the dictionary 1. XBrowser_Set command 2. XBrowser_Get function 3. clickChar function 4. clickCharChunk function 5. clickChunk function 6. clickField function 7. clickLine function 8. clickText function 9. lockText property 10. popup command If you search for "right button" or "left button," the mouseUp message comes up, which talks about detecting which button is pressed: Index for "right button" as a string in the dictionary 1. click command 2. menuMouseButton property 3. mouse function 4. mouseDoubleDown message 5. mouseDoubleUp message 6. mouseDown message 7. mouseDownInBackdrop message 8. mouseRelease message 9. mouseStillDown message 10. mouseUp message 11. mouseUpInBackdrop message Richmond Mathewson wrote: > neither > > right-click > > or > > left-click > > are mentioned in the RR documentation (2.8 Beta build > 400) > > cough, cough, cough . . . > > Richmond, being a pedestrian type of fellow, went > looking for details about mouse button detection in > the RR documentation. > > sincerely, Richmond Mathewson > > From geradamas at yahoo.com Mon Apr 30 11:39:26 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 16:39:26 +0100 (BST) Subject: 3 button mice with Macs. Message-ID: <596296.7434.qm@web37515.mail.mud.yahoo.com> Phil Jimmieson's recipe works with my unrecognised Logitech mouse! Frankly, I know that Richard Gaskin always has his peripherals set up perfectly: HOWEVER, Tiemo, when you are designing your software you should be designing it for people like me (i.e. those who are so slow they have badly configured mice) rather than people like Richard Gaskin. This reminds me of a conversation I had when designing some software in Scotland about 5 years ago: [boring story starting] The program needed Quicktime to be installed for it to work: whether on Mac or Win. My employer said "Oh, surely, every person who administers High School computer labs in Scotland [ our target market ] has QT installed." So, I had a rip-roaring fight with that chap as to why I should "waste" a day's work bunging QT detection routines into the program and explanatiry screens telling end users how to obtain and install QT if they did not have it installed. The product went out: I phoned every single buyer, and, surprise, surprise, about 75% had not had QT installed. Work on the basis that all end users are a "bit like that". sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From geradamas at yahoo.com Mon Apr 30 11:52:12 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 16:52:12 +0100 (BST) Subject: Another of those slightly unpleasant messages about documentation Message-ID: <20070430155212.55663.qmail@web37502.mail.mud.yahoo.com> QUITE! HOWEVER! [seems to be one of my favourite words just now :) ] RR is advertised as Easy To Use. Quick Search is Easy To Use. Indexing and so forth requires quite a bit of knowledge, and certainly "right click", "right button", and so on (whether with or without the quotes) get absolutely nowhere in the Quick Search facility. All sorts of RAD suites advertise themselves as "intuitive" and "easy" . . . the above is neither. So, will continue being slightly snotty, as consider myself to be a champion for beginners, and non-native speakers of English. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html From kray at sonsothunder.com Mon Apr 30 12:31:29 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 30 Apr 2007 11:31:29 -0500 Subject: How do I get the object under the mouse when mouseRelease? In-Reply-To: <000d01c78afc$a348fe10$18b2a8c0@TiemoPC2> References: <000d01c78afc$a348fe10$18b2a8c0@TiemoPC2> Message-ID: <20070430113129037396.38c7b7dc@sonsothunder.com> On Mon, 30 Apr 2007 09:53:26 +0200, Tiemo Hollmann TB wrote: > Hello again, > > sorry, another newbee question > > I want to realize my own drag and drop handlers with mouseDown, > mouseRelease, etc. On mouseDown I get the underneath lying object with > mousecontrol. How do I get the name of an object (image) under the mouse > when releasing it, because mousecontrol is still the mouseDown object when > releasing? I created a workaround with a repeat loop on mouseRelease to test > for every image on my card, if the mouseloc is in the rectangle of image x. > But I think there must be a more sophisticated and perfomant way in > revolution? Sorry, Tiemo... for right now that's the best we've got (AFAIK). I've lobbied for the mouseControl to not be tied to the original object on mouseDown, but sadly that hasn't happened yet... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bobwarren at howsoft.com Mon Apr 30 13:00:02 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Mon, 30 Apr 2007 14:00:02 -0300 Subject: Rev & Vista [now Rev & Linux] Message-ID: <46362092.3000809@howsoft.com> Marty Knapp / Ken Ray wrote: > > Thanks Ken, > > > > I appreciate the info on Rev and Vista. So is there a way to tell if > > an app is running on Vista as opposed to XP? (Again, I'm using Rev > > 2.6.1.) > Yes, you check "the systemVersion"... see the tip at: http://www.sonsothunder.com/devres/revolution/tips/env003.htm -------------------------------------------------------------------------------------------------- Ken: The systemVersion on my Ubuntu 6.06.1 ("Dapper Drake") gives: Linux 2.6.15-28-386 [the kernel??] Do you think that anything useful might be gained by attempting to provide a similar table for Linux? I would be happy (or happier at least) if I knew how to discover the name of the distro (e.g. "Ubuntu", "Puppy", "Linspire", "Mepis", etc.). Bob From pgries at cs.toronto.edu Mon Apr 30 13:30:44 2007 From: pgries at cs.toronto.edu (Paul Gries) Date: Mon, 30 Apr 2007 13:30:44 -0400 Subject: Standalone issue with Windows network file server Message-ID: Hi all, I'm new to Revolution, although I'm a Hypercard addict from years and years ago. I'm writing an application for a company that needs the application to be stored on their file server (standard Windows TCP/ IP networking environment, Windows NT 2000). The problem: the application freezes when "save this stack" is executed from a data stack. It works fine when it's run from the desktop, either in NT or on my Mac, but when it's run from the server it completely locks up (including the messages about the application not responding, do I want to end it?). The application is small: there are only a couple dozen cards. I've combed the archives, and tried the following scripts; all of them freeze the application, and it sometimes needs to be shut down with the Task Manager. Here's the first try: on mouseUp save this stack end mouseUp Locking messages doesn't help: on mouseUp lock messages save this stack -- I've also tried unlocking messages here, just in case end mouseUp Naming the stack explicitly doesn't help: on mouseUp lock messages save stack "BlueMain" end mouseUp Canceling pending messages doesn't help (I didn't think it would, but I was desperate! :-) on mouseUp repeat until the pendingMessages is empty cancel item 1 of line 1 of the pendingMessages end repeat save this stack end mouseUp Trying to save to another stack freezes as well: on mouseUp lock messages save this stack as "BlueBackup.rev" end mouseUp So, do any gurus have any suggestions? I'd appreciate any hints, tips, prayers, or black magic rituals at this point! Thank you very much, Paul From bobwarren at howsoft.com Mon Apr 30 13:42:09 2007 From: bobwarren at howsoft.com (Bob Warren) Date: Mon, 30 Apr 2007 14:42:09 -0300 Subject: Vista Revealed Again... Message-ID: <46362A71.9010302@howsoft.com> Jim Carwardine wrote: FWIW, this came into my inbox this morning... Jim http://www.regdeveloper.co.uk/2007/04/29/vista_end_dream/ ---------------------------------------------------------------------------------------- You might like to complement it with a butcher's at this little video: http://www.youtube.com/watch?v=QT6YO30GhmQ Bob From toolbook at kestner.de Mon Apr 30 14:10:28 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 30 Apr 2007 20:10:28 +0200 Subject: AW: How do I get the object under the mouse when mouseRelease? In-Reply-To: <20070430113129037396.38c7b7dc@sonsothunder.com> Message-ID: <002f01c78b52$d611fa30$18b2a8c0@TiemoPC2> Wow, that's a pitty, I was sure there must be a pretty easy solution, but if even Ken doesn't has it ;-( Thanks anyway, don't have to bother any more for it :) 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, 30. April 2007 18:31 > An: How to use Revolution > Betreff: Re: How do I get the object under the mouse when mouseRelease? > > On Mon, 30 Apr 2007 09:53:26 +0200, Tiemo Hollmann TB wrote: > > > Hello again, > > > > sorry, another newbee question > > > > I want to realize my own drag and drop handlers with mouseDown, > > mouseRelease, etc. On mouseDown I get the underneath lying object with > > mousecontrol. How do I get the name of an object (image) under the mouse > > when releasing it, because mousecontrol is still the mouseDown object > when > > releasing? I created a workaround with a repeat loop on mouseRelease to > test > > for every image on my card, if the mouseloc is in the rectangle of image > x. > > But I think there must be a more sophisticated and perfomant way in > > revolution? > > Sorry, Tiemo... for right now that's the best we've got (AFAIK). I've > lobbied for the mouseControl to not be tied to the original object on > mouseDown, but sadly that hasn't happened yet... > > 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 Mon Apr 30 14:13:39 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 30 Apr 2007 20:13:39 +0200 Subject: AW: 3 button mice with Macs. In-Reply-To: <596296.7434.qm@web37515.mail.mud.yahoo.com> Message-ID: <003001c78b53$47a2da70$18b2a8c0@TiemoPC2> Ok Richmond, I will take care about people like you :) 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: Montag, 30. April 2007 17:39 > An: use-revolution at lists.runrev.com > Betreff: 3 button mice with Macs. > > Phil Jimmieson's recipe works with my unrecognised > Logitech mouse! > > Frankly, I know that Richard Gaskin always has his > peripherals set up perfectly: HOWEVER, Tiemo, when you > are designing your software you should be designing it > for people like me (i.e. those who are so slow they > have badly configured mice) rather than people like > Richard Gaskin. > > This reminds me of a conversation I had when designing > some software in Scotland about 5 years ago: > > [boring story starting] > > The program needed Quicktime to be installed for it to > work: whether on Mac or Win. > > My employer said "Oh, surely, every person who > administers High School computer labs in Scotland [ > our target market ] has QT installed." > > So, I had a rip-roaring fight with that chap as to why > I should "waste" a day's work bunging QT detection > routines into the program and explanatiry screens > telling end users how to obtain and install QT if they > did not have it installed. > > The product went out: I phoned every single buyer, > and, surprise, surprise, about 75% had not had QT > installed. > > Work on the basis that all end users are a "bit like > that". > > sincerely, Richmond Mathewson > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development Life > Cycle. > ____________________________________________________________ > > > ___________________________________________________________ > Yahoo! Mail is the world's favourite email. Don't settle for less, sign up > for > your free account today > http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.h > tml > _______________________________________________ > use-revolution mailing list > use-revolution 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 Apr 30 14:30:53 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2007 13:30:53 -0500 Subject: How do I get the object under the mouse when mouseRelease? In-Reply-To: <000d01c78afc$a348fe10$18b2a8c0@TiemoPC2> References: <000d01c78afc$a348fe10$18b2a8c0@TiemoPC2> Message-ID: <463635DD.7050800@hyperactivesw.com> Tiemo Hollmann TB wrote: > Hello again, > > sorry, another newbee question > > I want to realize my own drag and drop handlers with mouseDown, > mouseRelease, etc. On mouseDown I get the underneath lying object with > mousecontrol. How do I get the name of an object (image) under the mouse > when releasing it, because mousecontrol is still the mouseDown object when > releasing? I created a workaround with a repeat loop on mouseRelease to test > for every image on my card, if the mouseloc is in the rectangle of image x. > But I think there must be a more sophisticated and perfomant way in > revolution? Is there a reason you can't use the built-in drag and drop functions? Those will tell you what you want to know. If you do have to use your own handlers, then you could scan all the objects when the mouse goes up: on mouseUp put the mouseloc into tXY repeat with x = 1 to the number of controls if tXY is within the rect of control x then -- do what you need exit repeat end if end repeat end mouseUp But this way can be time-consuming if you have many controls. The built-in commands and functions are much better. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 30 14:57:14 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2007 13:57:14 -0500 Subject: Large data stacks - performance Message-ID: <46363C0A.3090806@hyperactivesw.com> Has anyone worked with very large data stacks -- say, 500 megs or so? Is there an appreciable slowdown? I have a client who wants to convert his HyperCard stacks as-is, without a database. I'm concerned about virtual memory swapping and other performance issues. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Mon Apr 30 15:00:35 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 30 Apr 2007 14:00:35 -0500 Subject: Rev & Vista [now Rev & Linux] In-Reply-To: <46362092.3000809@howsoft.com> References: <46362092.3000809@howsoft.com> Message-ID: <20070430140035842406.4901a914@sonsothunder.com> On Mon, 30 Apr 2007 14:00:02 -0300, Bob Warren wrote: > Marty Knapp / Ken Ray wrote: > >>> Thanks Ken, >>> > I appreciate the info on Rev and Vista. So is there a way to >> tell if > an app is running on Vista as opposed to XP? (Again, I'm >> using Rev > 2.6.1.) >> > > Yes, you check "the systemVersion"... see the tip at: > > http://www.sonsothunder.com/devres/revolution/tips/env003.htm > > -------------------------------------------------------------------------------------------------- > Ken: > > The systemVersion on my Ubuntu 6.06.1 ("Dapper Drake") gives: > Linux 2.6.15-28-386 [the kernel??] > > Do you think that anything useful might be gained by attempting to > provide a similar table for Linux? Perhaps, although with all the distros out there, I wouldn't even know where to start... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Mon Apr 30 15:02:52 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 30 Apr 2007 14:02:52 -0500 Subject: Standalone issue with Windows network file server In-Reply-To: References: Message-ID: <20070430140252959776.5496b75e@sonsothunder.com> On Mon, 30 Apr 2007 13:30:44 -0400, Paul Gries wrote: > Hi all, > > I'm new to Revolution, although I'm a Hypercard addict from years and > years ago. I'm writing an application for a company that needs the > application to be stored on their file server (standard Windows > TCP/IP networking environment, Windows NT 2000). The problem: the > application freezes when "save this stack" is executed from a data > stack. It works fine when it's run from the desktop, either in NT or > on my Mac, but when it's run from the server it completely locks up > (including the messages about the application not responding, do I > want to end it?). The application is small: there are only a couple > dozen cards. So is this a standalone that is saving a data stack, or is this being saved from a locally-run copy of Revolution? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pgries at cs.toronto.edu Mon Apr 30 15:14:22 2007 From: pgries at cs.toronto.edu (Paul Gries) Date: Mon, 30 Apr 2007 15:14:22 -0400 Subject: Standalone issue with Windows network file server In-Reply-To: <20070430140252959776.5496b75e@sonsothunder.com> References: <20070430140252959776.5496b75e@sonsothunder.com> Message-ID: <8CC2B447-45D3-4C0E-8517-20DBCE03DC0D@cs.toronto.edu> On 30 Apr 2007, at 3:02 PM, Ken Ray wrote: > On Mon, 30 Apr 2007 13:30:44 -0400, Paul Gries wrote: > >> Hi all, >> >> I'm new to Revolution, although I'm a Hypercard addict from years and >> years ago. I'm writing an application for a company that needs the >> application to be stored on their file server (standard Windows >> TCP/IP networking environment, Windows NT 2000). The problem: the >> application freezes when "save this stack" is executed from a data >> stack. It works fine when it's run from the desktop, either in NT or >> on my Mac, but when it's run from the server it completely locks up >> (including the messages about the application not responding, do I >> want to end it?). The application is small: there are only a couple >> dozen cards. > > So is this a standalone that is saving a data stack, or is this being > saved from a locally-run copy of Revolution? That is a standalone saving a data stack. (I used the splash-screen approach to building the standalone, using Rev. version 2.7.4.291, in case it matters.) There is the standalone splash screen stack, the primary stack ("BlueMain", with a Save button), and three substacks of BlueMain. Saving either BlueMain or one of the substacks causes the freeze. Thanks! Paul From ambassador at fourthworld.com Mon Apr 30 15:14:32 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 30 Apr 2007 12:14:32 -0700 Subject: 3 button mice with Macs. Message-ID: <46364018.8060904@fourthworld.com> Richmond wrote: > Frankly, I know that Richard Gaskin always has his > peripherals set up perfectly: Actually, as I noted in my post, at first I didn't. When I first got my Logitech mouse I ignored the docs -- and crashed as a result. Only then did I get around to RTFM. > HOWEVER, Tiemo, when you > are designing your software you should be designing it > for people like me (i.e. those who are so slow they > have badly configured mice) rather than people like > Richard Gaskin. While I would ordinarily encourage doing everything possible to support the widest possible audience, I don't see much upside in trying to provide workarounds for improperly-installed third-party devices. There are too many of them, and too many ways people can install them incorrectly. In the case of QT support, checking whether it's installed is a one-linter, recommended for apps that rely on QT: if the qtVersion = 0 then -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From Camm29 at tesco.net Mon Apr 30 16:00:48 2007 From: Camm29 at tesco.net (Camm29) Date: Mon, 30 Apr 2007 21:00:48 +0100 Subject: Com Port Failure in Rev 2.8 Message-ID: <001301c78b62$4aa76a10$0a01a8c0@workshop> Having trouble since using Rev 2.8 with ComPort RS232 failing in development mode ? PC Hangs on occasion. Seems to work in Standalone ! Never a problem in previous versions in any mode ? Any ideas or bug ? Regards Camm From sarah.reichelt at gmail.com Mon Apr 30 16:28:19 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 1 May 2007 06:28:19 +1000 Subject: Large data stacks - performance In-Reply-To: <46363C0A.3090806@hyperactivesw.com> References: <46363C0A.3090806@hyperactivesw.com> Message-ID: On 5/1/07, J. Landman Gay wrote: > Has anyone worked with very large data stacks -- say, 500 megs or so? Is > there an appreciable slowdown? I have a client who wants to convert his > HyperCard stacks as-is, without a database. I'm concerned about virtual > memory swapping and other performance issues. I haven't worked with anything that large, but I did convert a HyperCard stack that used one card per record. It had about 5000 cards. Searching using "mark card" was super-fast in HC and unusably slow in Rev, so I had to convert it to a text file database. Since Rev works by loading stacks completely into memory, I would reckon that a 500 Meg stack would not be feasible. Cheers, Sarah From geradamas at yahoo.com Mon Apr 30 16:48:09 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 30 Apr 2007 21:48:09 +0100 (BST) Subject: QT Support Message-ID: <217165.36745.qm@web37510.mail.mud.yahoo.com> A One-Liner . . . WELL . . . Yes, and No: Then you really need a platform detect routine (another one-liner), and then various cards/screens showing "those who haven't a clue" how to install QuickTime. [another boring story follows] I have recently fooled my adult students into buying CD-ROMs with a variety of English pronunciation programs I have cobbled together for Windows - that require QT. Even with the QT detect and the instruction screens (in Bulgarian - for Bulgarians) about 50% got "tied up in knots" installing QT. Not As Straight Forward As It Seems! c.f. Reader Response Theory. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From jacque at hyperactivesw.com Mon Apr 30 18:29:33 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Apr 2007 17:29:33 -0500 Subject: Large data stacks - performance In-Reply-To: References: <46363C0A.3090806@hyperactivesw.com> Message-ID: <46366DCD.6090601@hyperactivesw.com> Sarah Reichelt wrote: > Since Rev works by loading stacks completely into memory, I would > reckon that a 500 Meg stack would not be feasible. Thanks Sarah. I kind of figured the same thing but was hoping someone would say it was no problem. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dick.kriesel at mail.com Mon Apr 30 18:51:50 2007 From: dick.kriesel at mail.com (Dick Kriesel) Date: Mon, 30 Apr 2007 15:51:50 -0700 Subject: How do I get the object under the mouse when mouseRelease? In-Reply-To: <463635DD.7050800@hyperactivesw.com> Message-ID: On 4/30/07 11:30 AM, "J. Landman Gay" wrote: > If you do have to use your own handlers, then you could scan all the > objects when the mouse goes up: > > on mouseUp > put the mouseloc into tXY > repeat with x = 1 to the number of controls > if tXY is within the rect of control x then > -- do what you need > exit repeat > end if > end repeat > end mouseUp > > But this way can be time-consuming if you have many controls. The > built-in commands and functions are much better. There's another way that's fast even for many controls. Here's a description posted last month: On 3/19/07 3:38 AM, "Dick Kriesel" wrote: > Here's another technique for identifying the object at the mouseLoc. This > technique is different because it works with no repeat loop, no checking the > visible or the rect of any object, no formulas based on the mouseLoc, and no > reference to the mouseControl. > > Create a button named "mouseObject" with the following script: > > --