Re: Slider Questions
Hi Varen, As for the first point, you could check the Custom Volume Slider stack from Klaus Major. RevOnline, user: klausimusi As for the second point, you could check my #007 How-To stack: How to manage Snap to scrollbars. RevOnline, user: So Smart Software Best regards from Paris, Le 24 avr. 05, 23:25, Varen Swaab a crit : I have a couple of questions about sliders. Im using my slider to adjust the speed of playback for a presentation. 1. Is there a way to build a new slider widget to replace the system sliders? Id like to have the identical slider on all platforms. 2. Is there a way to snap the slider handle into specific positions so the slider handle is in the absolute position of the closest whole value it was near when the user releases the mouse click there must be an easier way to say that :) Amicalement, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Web sitehttp://www.sosmartsoftware.com/ Email [EMAIL PROTECTED]/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Unicode Displaying in Runtime Revolution #2
Hello Trevor, Thank you so much for your reply. I had tried on your suggestion(using cursors) but it didn't work with me, still. While, English texts can be displayed just fine, Thai's texts cannot. Well, I connect to the database through ODBC. Do you think this is where the problem is? Every suggestions are welcome as I'm willing to try. Regards, Marisa Trevor DeVore wrote: On Apr 20, 2005, at 10:30 PM, Marisa. wrote: Hmm, this worked in a test I did last night using MySQL on some UTF8 encoded data. The only difference is that I used cursors (revQueryDatabase and revDatabaseColumnNamed). Perhaps try that and see if it changes results at all. I'm not sure why it would but you never know. Hi Trevor, Thank you agian for your suggestion. You are right about the database of UTF-8. :-) However, I've tried on that, too, but the result is the same!! I wrote script as: on openCard global tID set the unicodeText of fld testDB to uniEncode( revDataFromQuery (, return, tID, SELECT cityLocalName FROM POSTAL_CODE_TABLE),utf8) end openCard Am I doing sth wrong with the script? Also, I used to try on ; put revDataFromQuery (, return, tID, SELECT cityLocalName FROM POSTAL_CODE_TABLE) into tCityThai set the unicodeText of fld TestDB to uniEncode (tCityThai, utf8) The result is the same! Then, i thought 'binfile' may help. So, I saved the result from revDataFromQuery directly as binfile. However, when I open it, the result was wrong. Anyway, I tried to put its content to field with unicodeText settings and uniEncode. put revDataFromQuery (, return, tID, SELECT cityLocalName FROM POSTAL_CODE_TABLE) into URL binfile: tCityThai.txt set the unicodeText of fld TestDB to uniEncode(URL binfile: tCityThai.txt, utf8) The result is the same, too. Any suggestions? Regards, Marisa ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Little questions on Rev as a game plataform (related to: myst)
i wont to create my own game but i dont know how could you please send me some infomation on how to create scenes, characters and missions yours thankfully violet parr ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Little questions on Rev as a game plataform (related to: myst)
Hi Violet, Have a look at the Latest News section on RevOnline: As part of Runtime Revolution's Christmas Coding Campaign, Brian Thomas of Rivertext has put together a demo of the premiere title 'If Monks had Macs...' complete with commentary on the design and scripting. This is available as a stack - viewable in the Revolution Dreamcard Player, and editable with both trial and full versions of Dreamcard and Revolution. Due to the beautiful artwork contained in the demo, it is provided as a zip archive that needs to be unpacked before gaining access to the stack. You can download the archive here: http://revonline.runrev.com/resources/coding/monks-demo.zip Best regards from Paris, Le 22 avr. 05, à 12:31, [EMAIL PROTECTED] a écrit : i wont to create my own game but i dont know how could you please send me some infomation on how to create scenes, characters and missions yours thankfully violet parr Amicalement, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Web sitehttp://www.sosmartsoftware.com/ Email [EMAIL PROTECTED]/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Little questions on Rev as a game plataform (related to: myst)
-Original Message- From: [EMAIL PROTECTED] Sent: Apr 22, 2005 12:31 AM To: use-revolution@lists.runrev.com Subject: Little questions on Rev as a game plataform (related to: myst) i wont to create my own game but i dont know how could you please send me some infomation on how to create scenes, characters and missions yours thankfully violet parr ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Have not learned yet-ssorry! JT Key ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Last Menubar Problem - or The Incredible Shrinking Stack!
Hi, I've got my menu bar handling working except I have one annoying problem. This is how my app work: I have a Stack (call it StackA) that may be called from the MainMenu (in which case the MainMenu stack sends an event to the target stack with the long name of the MainMenu Group. This works fine. However, if StackA can also be loaded from other places that don't supply a menu. In this case StackA uses it's own menu. This works fine too. The only problem I have left is that in the closeStack handler of StackA I have the following: -- -- Delete the Imported Menubar if there is one -- set the menubar of this stack to InternalMenuBar, get DeleteMenuBar(the cpImportedMenu of this stack) -- deletes the menubar if not empty, is empty if there is no imported menubar. set the cpImportedMenu of this stack to empty And this causes the Stack to shrink by the height of the menu bar each time the stack is closed! Since the stack is saved after this (cos I don't want the imported menubar hanging around). Any ideas of how to get around this? Thanks a lot Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 'Blessed' plugins
Hi Hugh, Just a question if you have seen a similar problem I have: When I drag'n'Drop a control over stack b and ControlsN2O is in the path of the drag, ControslN2O intercepts the control (even in palette mode), hides my stack ControlsN2O and the best is that it's still visible, in the rect of teh screen and you can't see it again until you toplevel/palette it again... Have you seen that too? I have other plugins with similar calls and they dont cause this trouble... Very strange indeed... I'll add a fix to teh Rev's scritps in my IDE modder... For a release soon! ;) cheers Xavier On 17.09.2004 22:58:46 use-revolution-bounces wrote: There is, presently no way I can figure to make a plugin immune from Rev's drap and drop of controls. For plugins that need to be modifiable this is a problem, especially for palette or modeless stacks... User accidentally creates a control on your plugin and cannot easily remove it (and if a newbie to Rev would probably be very confused if not lost). At the moment, the revTools palette locks messages (so no trapping events) and only tests if visible and modifiable (unreliable). My suggestion is a 'blessed' property of some nature that the plugin author and revTools both implement as a common identifier. Comments? Suggestions? /H Hugh Senior The Flexible Learning Company Web: _www.FlexibleLearning.com_ (http://www.flexiblelearning.com/) E: [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) T/F: +44(0)1483.27 87 27 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - Visit us at http://www.clearstream.com IMPORTANT MESSAGEInternet 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.END OF DISCLAIMER ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: 'Blessed' plugins
Sorry, I didn't see the date on that post. I assumed my email client would keep things sorted the way it was last time - but it being lotus not... it doesn't... And I keep messing it up :) sorry Xav On 25.04.2005 14:19:28 use-revolution-bounces wrote: Hi Hugh, Just a question if you have seen a similar problem I have: When I drag'n'Drop a control over stack b and ControlsN2O is in the path of the drag, ControslN2O intercepts the control (even in palette mode), hides my stack ControlsN2O and the best is that it's still visible, in the rect of teh screen and you can't see it again until you toplevel/palette it again... Have you seen that too? I have other plugins with similar calls and they dont cause this trouble... Very strange indeed... I'll add a fix to teh Rev's scritps in my IDE modder... For a release soon! ;) cheers Xavier On 17.09.2004 22:58:46 use-revolution-bounces wrote: There is, presently no way I can figure to make a plugin immune from Rev's drap and drop of controls. For plugins that need to be modifiable this is a problem, especially for palette or modeless stacks... User accidentally creates a control on your plugin and cannot easily remove it (and if a newbie to Rev would probably be very confused if not lost). At the moment, the revTools palette locks messages (so no trapping events) and only tests if visible and modifiable (unreliable). My suggestion is a 'blessed' property of some nature that the plugin author and revTools both implement as a common identifier. Comments? Suggestions? /H Hugh Senior The Flexible Learning Company Web: _www.FlexibleLearning.com_ (http://www.flexiblelearning.com/) E: [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) T/F: +44(0)1483.27 87 27 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - Visit us at http://www.clearstream.com IMPORTANT MESSAGEInternet 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.END OF DISCLAIMER ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Problem with convert it to seconds
Hi list, When using the convert function in Rev cgi Linux and in Rev Mac OS9 (or Win XP) I get different results : - Rev cgi : 1114427491 - Rev Win XP : 1114423891 There's a 3600 seconds difference, and I vaguely remember a discussion (in the old MC days) about the fact that the cgi engine calling a unix convert function that doesn't take into account the summer / winter time change... Anyone has some info about this (or a workaround) ? Thanks, JB ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Simulating 'drawer' behaviour on Windows
As far as I can tell, it is not possible to make a really effective simulation on Windows of the MacOS X 'drawer' behaviour using transcript. The essential aspect is that the 'drawer' window is always at the same level in the window stack as its parent, and always moves attached to it. It is possible to code event handlers so that when one window is moved, another is snapped to it, but there's a powerful difference in effect. It does not seem to be possible to keep two windows in the same or consecutive layers of the window stack - in fact it is quite hard to manipulate this altogether. The two leading options seem to be: use a second pane on the main window, with a disclosure triangle or similar; use a palette, at least on non OSX systems. Using the main window gives the right effect in terms of window layer. It's more hassle from a coding point of view, as the the substack becomes a group (and in effect everything on the 'parent' stack probably has to become a group as well, especially if you want to support having the 'drawer' on either side of the 'main' window). The user experience in terms of sizing etc is also different and in my view suboptimal. Using a palette works well for more sophisticated users, but in my experience is less helpful for more naïve users (obviously this depends considerably on the app in question). Since the 'drawer' UI is now supported at a core level in the engine (for Mac OS X only), and cannot effectively be implemented on other platforms using Transcript (AFAICT - I'd welcome suggestions on other ways to attack this) I've added an enhancement request to bugzilla to support this mode on other platforms: http://support.runrev.com/bugdatabase/show_bug.cgi?id=2797 If you would find this useful, please vote for it. Ben Rubinstein | Email: [EMAIL PROTECTED] Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com| Fax : +44 (0)1273-728866 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Table Formatting
Le 24-avr.-05, à 20:27, Len Morgan a écrit : This may seem like a simple question but how do I format a table field with different widths for the columns and a header? What I want is a three column table with a single digit in the first column, a dollar amount in the second, and a (fairly) long description in the third. I also want to have a set of titles above the table denoting what each column is for. I looked up table in the documents and don't see much that would help me. Thanks in advance... Look at tabstops property : set the tabStops of field to tabStopList tabstops only gets me the width of the columns. I want to end up with something more like a spreadsheet. I need to be able to right align the numbers but left align the text fields (or maybe center them) and it appears that this is not possible with the table control. Is there something available like a table control or the TkTable widget that I can use? Will I have to roll my own? In a similar vein, is there some mechanism that I can use to create a new control (perhaps in C) that could be added to RR to get missing functionality? Len Morgan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Table Formatting
Hi Len, tabstops only gets me the width of the columns. I want to end up with something more like a spreadsheet. I need to be able to right align the numbers but left align the text fields (or maybe center them) and it appears that this is not possible with the table control. Is there something available like a table control or the TkTable widget that I can use? Will I have to roll my own? In a similar vein, is there some mechanism that I can use to create a new control (perhaps in C) that could be added to RR to get missing functionality? To do that you will need a number of column fields. It's not hard but a bit more tedious to code. The best technique is to keep the Main data table in memory and drop the data in the columns as needed. The other way becomes a lot more cumbersome after (custom sorts for one)... The missing functionality is not new. I thnk i suggested that long long ago but as usual i wasn't listened to ;)) If you want a sample stack, contact me at [EMAIL PROTECTED] cheers Xavier On 25.04.2005 15:13:09 use-revolution-bounces wrote: Le 24-avr.-05, à 20:27, Len Morgan a écrit : This may seem like a simple question but how do I format a table field with different widths for the columns and a header? What I want is a three column table with a single digit in the first column, a dollar amount in the second, and a (fairly) long description in the third. I also want to have a set of titles above the table denoting what each column is for. I looked up table in the documents and don't see much that would help me. Thanks in advance... Look at tabstops property : set the tabStops of field to tabStopList tabstops only gets me the width of the columns. I want to end up with something more like a spreadsheet. I need to be able to right align the numbers but left align the text fields (or maybe center them) and it appears that this is not possible with the table control. Is there something available like a table control or the TkTable widget that I can use? Will I have to roll my own? In a similar vein, is there some mechanism that I can use to create a new control (perhaps in C) that could be added to RR to get missing functionality? Len Morgan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - Visit us at http://www.clearstream.com IMPORTANT MESSAGEInternet 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.END OF DISCLAIMER ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Last Menubar Problem - or The Incredible Shrinking Stack!
I still can't get this to work * I have tried doing this: set the locksScreen to true set the lockMenus to true put the rect of this stack into myStackRect set the menubar of this stack to x set the rect of this stack to myStackRect set the lockmenus to false set the lockscreen to false This sort of fixes it, but I still get the window and/or menu flickering. How do I make this work? Thanks a lot Dave Hi, I've got my menu bar handling working except I have one annoying problem. This is how my app work: I have a Stack (call it StackA) that may be called from the MainMenu (in which case the MainMenu stack sends an event to the target stack with the long name of the MainMenu Group. This works fine. However, if StackA can also be loaded from other places that don't supply a menu. In this case StackA uses it's own menu. This works fine too. The only problem I have left is that in the closeStack handler of StackA I have the following: -- -- Delete the Imported Menubar if there is one -- set the menubar of this stack to InternalMenuBar, get DeleteMenuBar(the cpImportedMenu of this stack) -- deletes the menubar if not empty, is empty if there is no imported menubar. set the cpImportedMenu of this stack to empty And this causes the Stack to shrink by the height of the menu bar each time the stack is closed! Since the stack is saved after this (cos I don't want the imported menubar hanging around). Any ideas of how to get around this? Thanks a lot Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simulating 'drawer' behaviour on Windows
I would honestly say for aesthetic reasons, don't make the drawer a palette. Make it a normal stack with no window decorations and create your own simulated border. That way if someone drags your main stack, the drawer will not raise above other windows while your main stack does not. Thus far from my testing I've been able to successfully create a drawer that slides open and close on either side of the window. The only thing it can't do is keep the focus on the main window. But if that's the only side effect, I can live with that. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Profiling? Odd delay on windows
Is there any way to do application profiling (to find out what Revolution is doing)? I am experiencing an odd delay of 1-2 seconds when going to a card on Windows in a stand-alone (which doesn't happen on the Mac). It appears it is something that is happening between preOpenCard and OpenCard. It is happening only on the first time I go to that card. Is there anyway to generate a log of what Rev is doing so I could track it down? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Profiling? Odd delay on windows
Hi Peter, Use the message watcher from the development menu... cheers Xavier http://monsieurx.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter T. Evensen Sent: Monday, April 25, 2005 16:48 To: use-revolution@lists.runrev.com Subject: Profiling? Odd delay on windows Is there any way to do application profiling (to find out what Revolution is doing)? I am experiencing an odd delay of 1-2 seconds when going to a card on Windows in a stand-alone (which doesn't happen on the Mac). It appears it is something that is happening between preOpenCard and OpenCard. It is happening only on the first time I go to that card. Is there anyway to generate a log of what Rev is doing so I could track it down? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Profiling? Odd delay on windows
It only seems to have the delay in the standalone, unfortunately. At 09:58 AM 4/25/2005, MisterX wrote: Hi Peter, Use the message watcher from the development menu... cheers Xavier http://monsieurx.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter T. Evensen Sent: Monday, April 25, 2005 16:48 To: use-revolution@lists.runrev.com Subject: Profiling? Odd delay on windows Is there any way to do application profiling (to find out what Revolution is doing)? I am experiencing an odd delay of 1-2 seconds when going to a card on Windows in a stand-alone (which doesn't happen on the Mac). It appears it is something that is happening between preOpenCard and OpenCard. It is happening only on the first time I go to that card. Is there anyway to generate a log of what Rev is doing so I could track it down? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Profiling? Odd delay on windows
On 25 Apr 2005, at 15:48, Peter T. Evensen wrote: Is there any way to do application profiling (to find out what Revolution is doing)? I am experiencing an odd delay of 1-2 seconds when going to a card on Windows in a stand-alone (which doesn't happen on the Mac). It appears it is something that is happening between preOpenCard and OpenCard. It is happening only on the first time I go to that card. Are you using visual effects when going to the card. It could be QuickTime starting up that causes the delay. I seem to remember a report of this before. If so, perhaps you can do something to start quickTime before going to the card. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Profiling? Odd delay on windows
No, I'm not using any visual effects. I'm just using go to card CardName I basically have 3 tabs, and when you click on one of the tabs, it goes to one of 3 cards. The 3rd card is what takes so long (and it has less on it than the first two). At 10:53 AM 4/25/2005, Dave Cragg wrote: On 25 Apr 2005, at 15:48, Peter T. Evensen wrote: Is there any way to do application profiling (to find out what Revolution is doing)? I am experiencing an odd delay of 1-2 seconds when going to a card on Windows in a stand-alone (which doesn't happen on the Mac). It appears it is something that is happening between preOpenCard and OpenCard. It is happening only on the first time I go to that card. Are you using visual effects when going to the card. It could be QuickTime starting up that causes the delay. I seem to remember a report of this before. If so, perhaps you can do something to start quickTime before going to the card. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Profiling? Odd delay on windows
On 4/25/05 11:03 AM, Peter T. Evensen wrote: No, I'm not using any visual effects. I'm just using go to card CardName I basically have 3 tabs, and when you click on one of the tabs, it goes to one of 3 cards. The 3rd card is what takes so long (and it has less on it than the first two). I just had a similar delay in a stack and found it was running a long preOpenCard script while the screen was locked. That made it look like the card hadn't changed, though it really had. Are you locking the screen? At 10:53 AM 4/25/2005, Dave Cragg wrote: On 25 Apr 2005, at 15:48, Peter T. Evensen wrote: Is there any way to do application profiling (to find out what Revolution is doing)? I am experiencing an odd delay of 1-2 seconds when going to a card on Windows in a stand-alone (which doesn't happen on the Mac). It appears it is something that is happening between preOpenCard and OpenCard. It is happening only on the first time I go to that card. Are you using visual effects when going to the card. It could be QuickTime starting up that causes the delay. I seem to remember a report of this before. If so, perhaps you can do something to start quickTime before going to the card. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simulating 'drawer' behaviour on Windows
Recently, Ben Rubinstein wrote: As far as I can tell, it is not possible to make a really effective simulation on Windows of the MacOS X 'drawer' behaviour using transcript. Maybe something like this could help (enter in msg box): go url http://www.tactilemedia.com/download/slider.rev; Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Simulating 'drawer' behaviour on Windows
you get a much smoother fx from HotKeyN2O or the breakpointsN2O stacks with a few more effects when you click the diskette icon! ;) But that's the general idea... I dont dare the open url link but here's the links to the stacks... http://www.monsieurx.com/modules.php?name=Downloadsd_op=getitlid=74 http://www.monsieurx.com/modules.php?name=Downloadsd_op=getitlid=77 Now part of the Nitrous library called TAOO... Those interested in sharing and pitching in the ultimate scripting environment wanted! Takes one call to do the message: ShowMessage mymessage Why make it more complicated and have less features? Obviously this is not my first attempt! It sure beats the unseen message box. If you want to enjoy cool modules like that, just join the TAOO team... cheers X http://monsieurx.com - doing RAD^N2O with TAOO -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Rossi Sent: Monday, April 25, 2005 18:37 To: How to use Revolution Subject: Re: Simulating 'drawer' behaviour on Windows Recently, Ben Rubinstein wrote: As far as I can tell, it is not possible to make a really effective simulation on Windows of the MacOS X 'drawer' behaviour using transcript. Maybe something like this could help (enter in msg box): go url http://www.tactilemedia.com/download/slider.rev; Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simulating 'drawer' behaviour on Windows
Ben- My knee-jerk reaction is don't do that - Windows users expect their applications to look and act like Windows applications, and OSX users expect their applications to look and act like OSX applications. I do the snapping technique on Windows apps myself sometimes, but nothing I hope that can be mistaken for an ersatz drawer. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Draw over existing objects
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to set up an environment where I can use the standard drawing tools (graphic, field, pointer) and draw over top of a group, so that I can catch the new objects and add them to the group myself. I set the cantSelect of the group, etc., and that stuff is working okay; however, when I try to draw over the group, nothing happens. Apparently, Rev automatically tries to select an object when you mouseDown on it in pointer mode, even when you are using the graphic tool instead of the pointer tool. Thus instead of starting to draw a graphic, Rev is trying to select the group, but sees the cantSelect property and just decides to do nothing instead. Anyone know of a way to convince Rev to start the new graphic rather than just sit there when I try to draw with such a group underneath? Rev 2.5, OS X.3.whatever, etc. Thank you! - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbSy67aqtWrR9cZoRAkqDAKCL1dtDU1J4ZY3lwBCiPsyboGJm0wCgg+KV Emd46eKmarOeRcn3rKrDEWk= =lzNq -END PGP SIGNATURE- ___ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Transparent Bitmap Images
Hi Fred, Sorry so late to the party, I've been away the last week and am just now catching up. A couple of things you might try: 1) On PC (don't know if it works on Macs) you can overlap text with a single image below it, the text will print with the image underneath correctly. 2) You can use my compositing library at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm to composite your overlapping images. 3) You can print at higher resolutions by using print card from topLeft to rightBottom into pageRect If you want to print at 150 dpi, try making your card: 8.5*150 pixels wide X 11.0*150 pixels high best, Chipp [EMAIL PROTECTED] wrote: I'm having problems printing overlapping transparent bitmap images in Revolution. I try it so many ways, but it seems that whatever I do, transparent images print poorly (they become fuzzy) and opaque images print nice and sharp. Oddly enough, sometimes images that are transparent on screen print sharp, but they also turn out to be opaque on the printout (i.e., they obliterate the images underneath.) I have tried taking a snapshot of the card and printing that; the image does print transparent, but the printout becomes fuzzy. These images need to be transparent because they often overlap one another. I am using png's. Does anyone (e.g. Chipp Walters, Scott Rossi) have any suggestions? Thanks a lot. Fred Moyer ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: To MySQL or Not SQL
Pierre. I think you meant to refer to Trevor's libDB libraries here. Just in case someone gets confused. I really agree with you about SQL being the perfect Rev sister ship, though, and I like the analogy. One thing I've been thinking about a lot lately in conjunction with a set of apps I'm doing for my main client, is whether or not to use altSQlite out the gate for all data storage, skipping over cards and custom properties altogether (I'm talking about storage of record-type data here, not things for which cards and props are decidedly correct). One big advantage of that approach is that if the client's needs change and suddenly he wants the data on a networked server with a robust database, I don't have to change my code except for the connect stuff (typically one line) for it to just work. Since I seem to attract clients whose needs always change (I think that's why we call them clients), this has a lot of attraction for me. And now that altSQLite has overcome all the objections I had to Valentina (primarily the costs), this approach makes more and more sense to me. Anyone else thinking along these lines? On Apr 24, 2005, at 12:00 PM, Pierre Sahores wrote: SQL is, probably, in about direct to disk datas storage and management, the perfect Rev sister-ship and, with the help of Chipp's libraries, a piece of cake to set-up. Leaen once how to drive SQL back-ends from within Rev and you will than use this winning combination all the time :-) ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
counting keystrokes
I am using Rev 2.5.1 on Mac OS X to count keystrokes that are typed in any application that I have running - it keeps a running total of how many keys I hit no matter what applications I use (MS Word, Eudora, etc.). I use one btn with the script shown below and one fld which I lock so I don't accidently place text in it and mess up my count. When I try this same Rev file on Windows XP it doesn't work. Can anyone tell me what I might have to do to get this to work (keep a running total of the number of keys hit) on Windows? Thanks in advance, sims on mouseUp busyHands send mouseUp to me in 200 millisecs end mouseUp on busyHands repeat put the KeysDown into tKeys if the KeysDown is not empty then add 1 to fld strokesClicks exit busyHands end if wait 10 millisecs with messages if the optionKey is down then exit repeat end repeat end busyHands ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Draw over existing objects
look at how ResizeN2O does it... http://www.monsieurx.com/modules.php?name=Downloadsd_op=getitlid=78 Another example (but in browse mode) is how i make palettes draggeable... just intercept (or pass) the mousedown except where you shouldn't (or should)... cheers Xavier http://monsieurx.com - TAOO - the rave in RAD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank D. Engel, Jr. Sent: Monday, April 25, 2005 19:45 To: How to use Revolution Subject: Draw over existing objects -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to set up an environment where I can use the standard drawing tools (graphic, field, pointer) and draw over top of a group, so that I can catch the new objects and add them to the group myself. I set the cantSelect of the group, etc., and that stuff is working okay; however, when I try to draw over the group, nothing happens. Apparently, Rev automatically tries to select an object when you mouseDown on it in pointer mode, even when you are using the graphic tool instead of the pointer tool. Thus instead of starting to draw a graphic, Rev is trying to select the group, but sees the cantSelect property and just decides to do nothing instead. Anyone know of a way to convince Rev to start the new graphic rather than just sit there when I try to draw with such a group underneath? Rev 2.5, OS X.3.whatever, etc. Thank you! - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbSy67aqtWrR9cZoRAkqDAKCL1dtDU1J4ZY3lwBCiPsyboGJm0wCgg+KV Emd46eKmarOeRcn3rKrDEWk= =lzNq -END PGP SIGNATURE- ___ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Draw over existing objects
Frank D. Engel, Jr. wrote: Anyone know of a way to convince Rev to start the new graphic rather than just sit there when I try to draw with such a group underneath? Not reliably in all cases. Anyone working on drawing apps may find these requests useful: http://support.runrev.com/bugdatabase/show_bug.cgi?id=623 http://support.runrev.com/bugdatabase/show_bug.cgi?id=624 -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: another multi-user solution?
Two comments. First, check the total number of records you need. I think that there are (at least used to be) upper limits on the total number of files in a directory in some OSes. (That may have only applied to Mac Classic, but it's worth being sure about up front.) Second, using the semaphore file approach that Jacque suggested is eminently doable and quite simple to implement. It would be pretty easy, e.g., to have a single file that just contained a list of all the card numbers currently open for editing and checking it before allowing a user to edit a card's contents. Equally easy and perhaps a little better from a robustness perspective would be to create a text file called, e.g., card.lok, where card is the name or ID of the card, for a card when it's opened for editing and then deleting that file when the user's done. In either case, a pretty simple command could check to ensure the card the user asks to edit isn't already being edited and take some appropriate action. On Apr 24, 2005, at 12:56 PM, J. Landman Gay wrote: On 4/24/05 10:39 AM, Rob Cozens wrote: I concluded that, since Transcript reserves write capability for the first person to open a stack until she closes it, any scheme that requires concurrent update by more than one user meant opening and closing the data stack with each read or write--which I considered unacceptable overhead. But note that all read-only stacks can be shared by multiple users now. Actually, while HyperCard works that way, Revolution lets multiple users open a stack and write to it. If two people have the stack open at the same time, either one can overwrite the other's changes. Record locking has to be scripted; often accomplished by writing a small text file to disk that tracks usage. ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simple Scoping Question
on Thu, 21 Apr 2005 Mikey wrote: d) The lack of manuals means that most of the issues are from noobs,who don't know about the archives, or aren't used to using them before asking questions first. Hi Mikey, Could you explain what you mean when you said: The lack of manuals? You could download a manual from: http://www.sonsothunder.com/devres/revolution/downloads/revdocs-PDF.zip http://www.sonsothunder.com/devres/revolution/downloads/revdocs-RTF.zip http://www.sonsothunder.com/devres/revolution/downloads/revdocs-TXT.zip 98 % of the Printed manual is in these docs... For free. But notice, mikey, you could buy the manual here: http://secure.runrev.com/Merchant2/merchant.mvc?Screen=PRODProduct_Code=MANLPRNTCategory_Code=Store_Code=WYRUQVXT al Visit my site: http://www.geocities.com/capellan2000/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
OT: 10.4 Automator = Applescript?
Anyone know if Mac 10.4's Automator is a collection of customizable pre-fab Applescripts? As the author of a few Rev utilities that use Applescript, I'm wondering if Applescript will continue as before? KK ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: 10.4 Automator = Applescript?
Applescript will continue on strong as ever. Automator is just a tool that will help people harness the power of Applescript without having to learn how to program. Or so the marketing speak goes. ; ) On Apr 25, 2005, at 2:40 PM, Kurt Kaufman wrote: Anyone know if Mac 10.4's Automator is a collection of customizable pre-fab Applescripts? As the author of a few Rev utilities that use Applescript, I'm wondering if Applescript will continue as before? KK ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- Todd Higgins ASG Systems Engineer MICRO Technology Groupe, Inc voice: 215-788-6811 fax: 215-788-1766 email: [EMAIL PROTECTED] www: http://www.mtgroupe.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simulating 'drawer' behaviour on Windows
Scott Rossi [EMAIL PROTECTED] writes: Maybe something like this could help (enter in msg box): go url http://www.tactilemedia.com/download/slider.rev; Hi Scott, I found this in archives, and checked it out (indeed I namechecked you in my Bugzilla entry). This solution looks great; however it requires the main window to be a palette (not workable for me) and in what I guess is a related issue, as soon as you have additional 'normal' windows, you get crazy layering issues, where the third window comes between the (palette) main window and its drawer. I played around with something based on ideas stolen from your sample - but couldn't get anything satisfactory. Hence my conclusion that there were limits to what we could achieve in Transcript, so we need support at the engine level. (Xavier - I hadn't seen your palettes before - they look great! - but I think they suffer in a similar way.) I would like to add these drawers to main document windows; they need to operate in the normal layer, not disappear when the app is in the background - and definitely not interleave. Ben Rubinstein | Email: [EMAIL PROTECTED] Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com| Fax : +44 (0)1273-728866 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: To MySQL or Not SQL
Yes I agree that SQL is the way to go. I can't wait until the MySQL to SQLite utility is released so that I can try SQLite. I think it will be faster at connecting. On 4/25/05 2:17 PM, Dan Shafer [EMAIL PROTECTED] wrote: Anyone else thinking along these lines? ||| )_) )_) )_) )___))___))___)\ )))_)\\ _|||\\\__ ---\ /- http://www.bluewatermaritime.com ^ ^ ^^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: another multi-user solution?
Hi Dan, Second, using the semaphore file approach that Jacque suggested is eminently doable and quite simple to implement. It would be pretty easy, e.g., to have a single file that just contained a list of all the card numbers currently open for editing and checking it before allowing a user to edit a card's contents. Equally easy and perhaps a little better from a robustness perspective would be to create a text file called, e.g., card.lok, where card is the name or ID of the card, for a card when it's opened for editing and then deleting that file when the user's done. In either case, a pretty simple command could check to ensure the card the user asks to edit isn't already being edited and take some appropriate action. Question: How do changes on individual cards in different copies of a stack in each user's RAM get made to the copy resident on disk? There is not, to my knowledge, a way to save changes on one card of a stack without overwriting the entire stack. So if I open a stack before you, Jacque, and Kurt do, wait until you all close the stack, and then save it, the only changes to the original stack will be mine. You need to take it the extra step the Rob Eppich took EPSI-Talk, and have each users' copy of the stack updated whenever anyone else makes a change. This was more feasible in HyperTalk than Transcript, me thinks. One advantage of a client-server design is record locking tables can reside in the server's RAM; so no disk files are necessary and all records are automatically unlocked when the server shuts down. Rob Cozens CCW Serendipity Software Company And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee. from The Triple Foole by John Donne (1572-1631) ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Simulating 'drawer' behaviour on Windows
have you tried opening one stack #1 (layer x) before stack 2 (layer X+1) so as to layer them? when you go to a stack it becomes #1, to make it layer 2, open a stack after it (even offscreen)... works like charm using the defaultstack... cheers Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Rubinstein Sent: Monday, April 25, 2005 20:46 To: use-revolution@lists.runrev.com Subject: Re: Simulating 'drawer' behaviour on Windows Scott Rossi [EMAIL PROTECTED] writes: Maybe something like this could help (enter in msg box): go url http://www.tactilemedia.com/download/slider.rev; Hi Scott, I found this in archives, and checked it out (indeed I namechecked you in my Bugzilla entry). This solution looks great; however it requires the main window to be a palette (not workable for me) and in what I guess is a related issue, as soon as you have additional 'normal' windows, you get crazy layering issues, where the third window comes between the (palette) main window and its drawer. I played around with something based on ideas stolen from your sample - but couldn't get anything satisfactory. Hence my conclusion that there were limits to what we could achieve in Transcript, so we need support at the engine level. (Xavier - I hadn't seen your palettes before - they look great! - but I think they suffer in a similar way.) I would like to add these drawers to main document windows; they need to operate in the normal layer, not disappear when the app is in the background - and definitely not interleave. Ben Rubinstein | Email: [EMAIL PROTECTED] Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com| Fax : +44 (0)1273-728866 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simulating 'drawer' behaviour on Windows
Mark Wieder [EMAIL PROTECTED] writes: My knee-jerk reaction is don't do that - Windows users expect their applications to look and act like Windows applications, and OSX users expect their applications to look and act like OSX applications. I do the snapping technique on Windows apps myself sometimes, but nothing I hope that can be mistaken for an ersatz drawer. I'm not hoping to make it look like an 'os x' drawer; but I do find the UI technique of a panel that's clearly linked to, but clearly subsidiary to, a main window to be a useful one. I don't believe that it has never been seen on Windows (including before OS X 'blessed' it); the fact that OS X has provided core support for this technique doesn't mean that using the same technique on Windows is now a sign of platform-treachery! Many other conventions have started on one platform or another (Mac die hards could make some pithy comments here!) and spread to the other; palettes probably being a good example, not originally native to either platform, now very well accepted on both. If Rev incorporated this into the engine for Windows (etc), I would certainly not want it to look exactly like the OS X version, for that reason (in my Bugzilla entry I specifically mentioned not having rounded corners, for a trivial example). Derek Bump [EMAIL PROTECTED] writes: I would honestly say for aesthetic reasons, don't make the drawer a palette. Make it a normal stack with no window decorations and create your own simulated border. That way if someone drags your main stack, the drawer will not raise above other windows while your main stack does not. I agree - if I can get it working well enough, I'll be using a normal stack with no decorations. However, if I can't get it working well enough, then I'll use a standard palette on Windows, without any special display or moving behaviour. Derek also wrote: Thus far from my testing I've been able to successfully create a drawer that slides open and close on either side of the window. The only thing it can't do is keep the focus on the main window. But if that's the only side effect, I can live with that. The problem I have with focus is more than that; my problem is that other normal stack/windows can interleave between the 'main' window and its drawer, and I seem to be powerless to stop it. If you or anyone else has a solution to this I'd be very grateful to hear it. Ben Rubinstein | Email: [EMAIL PROTECTED] Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com| Fax : +44 (0)1273-728866 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Well done runrev. valentina
Hi All. Well.. I moaned about marketing of runrev in the past. Specifically that there was no mention of runrev on the valentina web page but there was a version for real basic etc being sold. Well runrev has a slot on the new valentina page. Well done all at runrev for addressing this... :-) Cheers Bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 21/04/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Simulating 'drawer' behaviour on Windows
My knee-jerk reaction is don't do that - Windows users expect their applications to look and act like Windows applications, and OSX users expect their applications to look and act like OSX applications. I do the snapping technique on Windows apps myself sometimes, but nothing I hope that can be mistaken for an ersatz drawer. Is there room for the fruity WinAmp windowing GUI? ;) I grew up on MacOS 1 - 9 and a few first Raphsody betas Then switched to clunky NT4... N2K, (i hate XP), N2K3 (love it or hate it) Meanwhile discovered NeXTStep, W98 (licensed from NeXT?), WinAmp, FruityLoops, KPT, Talisman, DragThing, and the ultimate Wrap Init that makes screen life so much shorter way back in MacOS3... Although i admit not to have seen it work on osx, it seems Like WinAmp, it's a layer above in the GUI reality layer ;) This is how KPT stood out of the crowd for one... and made osx come bit by bit following kaleidoscope and the aqua revoltion (still the nicest, i agree...) But all still so flat... The army is checking out the Minority Report movie 3D interfaces and screens and that's cool! But we can still do more (without the effects ;) and unless we experiment with our own GUIs which is so easy in RunRev, then there's no point in trying... But since it's better info, faster the way I like it on my desktop or your drawer, it's RunRev's way or no way - i forgot MS's way long ago - it's so senile... ;) RunRev's the only place where I can marry the best GUIs for my personalized paperless desktop - since Hypercard times! I just do my GUI... maybe not to everyone's taste, but for efficiency of the moment... Nothing's forever... But thanks to RUnRev, mission critical is almost like real-time GUI delivery! ;) cheers and nitee rev-nite from Europe! Xavier http://monsieurx.com - TAOO - n-tuplate or nothing keep the good, throw the useless, adapt to the moment - Bruce Lee ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: another multi-user solution?
Hi guys, here's what I can share about multi-user solutions... Sorry for the complexity but it should cover a maximum of cases and situations in a simple way... I work in a multi-user - multi-server - multi-domain - multi-network evironment, an enterprise. The multi-domain part is a Moft Active Directory where user's are delimited by their security credentials which can be cascaded down to the field level in some applications... It's a different IDE level but someone at microsoft managed to script it and it's amazing the layering, the guis, the drivers, the whole bit top to bottom is finally consistent (if not a bit over-complex)... There's clustering, dfs, and scripting at dos, vbs, wsh, odbc, asp, etc levels... A small enterprise... You can use python, runrev, perl, anything you want to manage it... How do we transmit data? We got mainframes, unix, nts by the hundreds and maybe one or 2 macs. Dozens of mac fans that dont relenquish their desktop origins and have desktops instead of thin clients have their cool desktops... Files: unix to NT: use ftp or samba (EMC does...) Mainframe to NT: use ftp NT to outworld over secured IP: use ftp... Outlook: send an email from your shared drive Lotus Notes: send via a shared drive without notes Share a file format: Unix to NT: text, html, xml NT to Unix: text, html, xml business: sql+ I wont say but it's big and fast... sql - too many front ends to mention except for java... as usual But in the end one thing prevails... xml... sql and text files... im sure some of you might remember record or file-locking in some programs (Filemaker for example)... the cool thing is that if anyone can read text files, it's best if a central process updates them. The reader reads and closes the file, goodbie... Can be in-effective in long file treatments but that's up to the app to eat what it can digest efficiently. So the next step in this is for the client to write... The solution is quite simple. We can't write and hope others to read the file simultaneously. More than one file update may happen too... But more than one simultaneous ecord change is unlikely. The changes are also usually a small percentage. So instead of updating the whole file we can queue up small changes to update the main file. Your server application updates the main file as it validates and processes queued changes... One or many at a time... Depending on the work load... Hope what i explained is not too obscure... It's quite simple though... Processes to update with time or sererity priority can also be adapted. Security should be a definite concern in these applications from the beginning. cheers Xavier http://monsieurx.com - TAOO, try HyperRAD style... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Shafer Sent: Monday, April 25, 2005 20:24 To: [EMAIL PROTECTED]; How to use Revolution Subject: Re: another multi-user solution? Two comments. First, check the total number of records you need. I think that there are (at least used to be) upper limits on the total number of files in a directory in some OSes. (That may have only applied to Mac Classic, but it's worth being sure about up front.) Second, using the semaphore file approach that Jacque suggested is eminently doable and quite simple to implement. It would be pretty easy, e.g., to have a single file that just contained a list of all the card numbers currently open for editing and checking it before allowing a user to edit a card's contents. Equally easy and perhaps a little better from a robustness perspective would be to create a text file called, e.g., card.lok, where card is the name or ID of the card, for a card when it's opened for editing and then deleting that file when the user's done. In either case, a pretty simple command could check to ensure the card the user asks to edit isn't already being edited and take some appropriate action. On Apr 24, 2005, at 12:56 PM, J. Landman Gay wrote: On 4/24/05 10:39 AM, Rob Cozens wrote: I concluded that, since Transcript reserves write capability for the first person to open a stack until she closes it, any scheme that requires concurrent update by more than one user meant opening and closing the data stack with each read or write--which I considered unacceptable overhead. But note that all read-only stacks can be shared by multiple users now. Actually, while HyperCard works that way, Revolution lets multiple users open a stack and write to it. If two people have the stack open at the same time, either one can overwrite the other's changes. Record locking has to be scripted; often accomplished by writing a small text file to disk that tracks usage. ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest
Re: Simulating 'drawer' behaviour on Windows
Recently, Ben Rubinstein wrote: Thus far from my testing I've been able to successfully create a drawer that slides open and close on either side of the window. The only thing it can't do is keep the focus on the main window. But if that's the only side effect, I can live with that. The problem I have with focus is more than that; my problem is that other normal stack/windows can interleave between the 'main' window and its drawer, and I seem to be powerless to stop it. If you or anyone else has a solution to this I'd be very grateful to hear it. Maybe an option is two palettes, and making sure the drawer-ed palette lines up at the exact edge of the main palette. You could add a little fake shadow on the interior edge of the drawer palette to make it look like it's layered below the main palette. The biggest issue is that when dragged, a gap may be visible between the drawer and main palettes, but once dragging is complete they should line up. Also, to start the effect, you may need to open the drawer offscreen, make the main palette the default, the reposition the drawer at the same loc as the main to prevent any unwanted window visibility. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simple Scoping Question
Al, I'm not going to argue with you at length on this one. The reason there is a Revolution Documentation Project is because... -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: someone noticed this one?
Hmmm. Show of hands-- anyone who has lost a client to RR? I really don't see it as a threat, especially since they're in Scotland, and I don't know of any clients who wouldn't rather work with customers in their own country. My guess, is the main point here is they're offering to become a resource for *us developers* if we need to make engine modifications, etc.. In fact, they advertise 3rd party RR developer services on their website! In fact, I've gotten a lead or 2 already from the website links. best, Chipp ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: another multi-user solution?
Rob Ah, good point. It would appear that there is not a simple way to solve this problem using text files as locking semaphores. Back to the ol' drawing board! On Apr 25, 2005, at 11:59 AM, Rob Cozens wrote: Hi Dan, Second, using the semaphore file approach that Jacque suggested is eminently doable and quite simple to implement. It would be pretty easy, e.g., to have a single file that just contained a list of all the card numbers currently open for editing and checking it before allowing a user to edit a card's contents. Equally easy and perhaps a little better from a robustness perspective would be to create a text file called, e.g., card.lok, where card is the name or ID of the card, for a card when it's opened for editing and then deleting that file when the user's done. In either case, a pretty simple command could check to ensure the card the user asks to edit isn't already being edited and take some appropriate action. Question: How do changes on individual cards in different copies of a stack in each user's RAM get made to the copy resident on disk? There is not, to my knowledge, a way to save changes on one card of a stack without overwriting the entire stack. So if I open a stack before you, Jacque, and Kurt do, wait until you all close the stack, and then save it, the only changes to the original stack will be mine. You need to take it the extra step the Rob Eppich took EPSI-Talk, and have each users' copy of the stack updated whenever anyone else makes a change. This was more feasible in HyperTalk than Transcript, me thinks. One advantage of a client-server design is record locking tables can reside in the server's RAM; so no disk files are necessary and all records are automatically unlocked when the server shuts down. Rob Cozens CCW Serendipity Software Company And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee. from The Triple Foole by John Donne (1572-1631) ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: 10.4 Automator = Applescript?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For details: http://developer.apple.com/macosx/tiger/automator.html On Apr 25, 2005, at 2:46 PM, Todd Higgins wrote: Applescript will continue on strong as ever. Automator is just a tool that will help people harness the power of Applescript without having to learn how to program. Or so the marketing speak goes. ; ) On Apr 25, 2005, at 2:40 PM, Kurt Kaufman wrote: Anyone know if Mac 10.4's Automator is a collection of customizable pre-fab Applescripts? As the author of a few Rev utilities that use Applescript, I'm wondering if Applescript will continue as before? KK ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- Todd Higgins ASG Systems Engineer MICRO Technology Groupe, Inc voice: 215-788-6811 fax: 215-788-1766 email: [EMAIL PROTECTED] www: http://www.mtgroupe.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbV3A7aqtWrR9cZoRAqByAJ9jfueLMe6dBbBfaiJj7cuAbc5N7gCePB3T icAwQ4p8eOwDBJEbQItbIM8= =7DjP -END PGP SIGNATURE- ___ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Draw over existing objects
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, I'm aware of both of those requests, and have commented on (and I think voted for) both of them a while back. The first would be particularly nice for me, but in the meantime I'm trying to work around that limitation by doing this. I guess this is a no-go then, too... :-( On Apr 25, 2005, at 2:23 PM, Richard Gaskin wrote: Frank D. Engel, Jr. wrote: Anyone know of a way to convince Rev to start the new graphic rather than just sit there when I try to draw with such a group underneath? Not reliably in all cases. Anyone working on drawing apps may find these requests useful: http://support.runrev.com/bugdatabase/show_bug.cgi?id=623 http://support.runrev.com/bugdatabase/show_bug.cgi?id=624 -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbV027aqtWrR9cZoRAva1AJwPpfftpWyFjeOBD1/es4idJzfXIACdFyPa 1Y7j2jyKMWxRzzh/5YwBeRg= =arKN -END PGP SIGNATURE- ___ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: To MySQL or Not SQL
Hello Dan, Trevor and All, Pierre. I think you meant to refer to Trevor's libDB libraries here. Just in case someone gets confused. All my apologies, Trevor. As you are remembering, Dan, i just wants to speak from your libDatabase client-server dedicated usefull framework, Trevor and from the Chipp's altSQLlite one in about the Rev's embbedable SQLlite solutions... I really agree with you about SQL being the perfect Rev sister ship, though, and I like the analogy. One thing I've been thinking about a lot lately in conjunction with a set of apps I'm doing for my main client, is whether or not to use altSQlite out the gate for all data storage, skipping over cards and custom properties altogether (I'm talking about storage of record-type data here, not things for which cards and props are decidedly correct). One big advantage of that approach is that if the client's needs change and suddenly he wants the data on a networked server with a robust database, I don't have to change my code except for the connect stuff (typically one line) for it to just work. Exactly the same motivations there, Dan... When Rev let us code our apps teen times faster and securly than in going down with UML+Java miseries (core-coding or low-level frameworks), when ACID-SQL back-ends let us learn how to let powerfull transactions managers handle the security of our datas, we are going head with more and more reliable and powerfull ways to design and build great xtalk's solutions... Is'n it just : cool ? Best, :-) Pierre Since I seem to attract clients whose needs always change (I think that's why we call them clients), this has a lot of attraction for me. And now that altSQLite has overcome all the objections I had to Valentina (primarily the costs), this approach makes more and more sense to me. Anyone else thinking along these lines? On Apr 24, 2005, at 12:00 PM, Pierre Sahores wrote: SQL is, probably, in about direct to disk datas storage and management, the perfect Rev sister-ship and, with the help of Chipp's libraries, a piece of cake to set-up. Leaen once how to drive SQL back-ends from within Rev and you will than use this winning combination all the time :-) ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: another multi-user solution?
RC wrote: Question: How do changes on individual cards in different copies of a stack in each user's RAM get made to the copy resident on disk? There is not, to my knowledge, a way to save changes on one card of a stack without overwriting the entire stack. So if I open a stack before you, Jacque, and Kurt do, wait until you all close the stack, and then save it, the only changes to the original stack will be mine. Kurt: I'm actually concerned about two things here. The first is that the single (standalone) stack being used now contains about 900 record cards, and is about 13 MB in size. I'm concerned that it might gradually become unwieldy during saves. It already takes an unacceptable amount of time to save over the Windows network. I'd also rather separate the app and the data so that if something goes wrong, the data is still relatively easily accessible. The second is that by dividing the records, the only restrictions are that no more than one user can work on a single record at a time, all the others being available. I initially thought that the individual records could be stacks, but ended up using text files instead for the ability to manually edit if needed. I've got it working (with busy marker files); now I have to test it on the real network (as opposed to my Mac with VPC at home). I will keep in mind the folder limits of the OS (in this case Win XP Pro): -Appears to be 65,534 [combined folders/files] per folder on FAT32; and 4,294,967,295 per volume [no folder limit specified] on NTFS; however the practical limits would be slightly lower ;-) -Kurt ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simulating 'drawer' behaviour on Windows
On Mon, 25 Apr 2005, Ben Rubinstein [EMAIL PROTECTED] wrote: As far as I can tell, it is not possible to make a really effective simulation on Windows of the MacOS X 'drawer' behaviour using transcript. The essential aspect is that the 'drawer' window is always at the same level in the window stack as its parent, and always moves attached to it. (snip) Ben Rubinstein Have a look at my sample stack Drawers of August 2003 at http://www.sanke.org/MetaMedia page Samples and Tools. The stack was uploaded again (originally to my FTP-site and later transferred) following discussions on the Metacard list in February 2004. The stack does *not* use the new drawer command, therefore the examples could be implemented on any platform and also with older versions of Metacard or Revolution. Two approaches are illustrated - changing the stack size - and even here achieving a real sliding-drawer effect - using substacks or other stacks Modifying the examples - that use substacks - you can create any reasonable number of drawers at any point of the four sides of the base stack that slide out in any direction, i.e. also diagonally. If you wish, you could also go to another card of the drawer stack before it is displayed ( There was a request or a question about this on the list). No resize-problems occur as they were reported for the new drawer command on MacOS X Regards, Wilhelm Sanke www.sanke.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
[ANN] ChatRev with Kevin Miller
Dear Revolutionaries On Friday the 6th May 17.00 GMT, there will be a chat session with Kevin Miller and Ro Nagey. Everyone is invited to ask polite questions and we hope for a civilised discussion about RunRev in general. If you have a special topic that you want to ask the CEO of RunRev then this chat is the right time and place. To join just paste the next line into your message box, and hit enter: go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev; You need to click register and enter at least a nickname and a password. After that hit connect, and you should join the chat. Best wishes Bjoernke von Gierke -- official ChatRev page: http://chatrev.cjb.net Chat with other RunRev developers: go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev; ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: To MySQL or Not SQL
On 4/25/05, Dan Shafer [EMAIL PROTECTED] wrote: Pierre. I think you meant to refer to Trevor's libDB libraries here. Just in case someone gets confused. I really agree with you about SQL being the perfect Rev sister ship, though, and I like the analogy. One thing I've been thinking about a lot lately in conjunction with a set of apps I'm doing for my main client, is whether or not to use altSQlite out the gate for all data storage, skipping over cards and custom properties altogether (I'm talking about storage of record-type data here, not things for which cards and props are decidedly correct). Anyone else thinking along these lines? I absolutely agree. Personally, next to finding Rev in the first place (yeah!), Chipp's altSQlite plugin has got to be the most exciting news I've run across in quite some time. ...I've already shot my personal software budget for this month or I'd have already licensed a copy. That's okay, though next month's budget is just around the corner. :) Once the ability to use binary data is firmly in place, I see the Rev/SQlite/altSQlite combination as an almost perfect solution... ..well, that is unless Kevin and crew decide to add a native SQL database feature directly to Rev. :) -Doc- ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Recovery of a corrupted stack
On 23 Apr 2005, at 10:49 AM, Paul Salyers wrote: Maybe this answer will also help me, not a reinitialized I try to load it in my rev editor and it closes down not even asking if I wish to save. I can't even load in edit mode. Any suggestion. This script isn't some great program I was just making scripts to see how they worked so I remade in about 5 min. I would like to know why this is happening. Try locking messages before opening the stack - click the Messages button in the toolbar until the lock looks locked. Your stack may have an openStack or similar handler that is closing it down. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: counting keystrokes
On 4/25/05 1:18 PM, sims wrote: I am using Rev 2.5.1 on Mac OS X to count keystrokes that are typed in any application that I have running - it keeps a running total of how many keys I hit no matter what applications I use (MS Word, Eudora, etc.). I use one btn with the script shown below and one fld which I lock so I don't accidently place text in it and mess up my count. When I try this same Rev file on Windows XP it doesn't work. Can anyone tell me what I might have to do to get this to work (keep a running total of the number of keys hit) on Windows? Thanks in advance, sims on mouseUp busyHands send mouseUp to me in 200 millisecs end mouseUp on busyHands repeat put the KeysDown into tKeys if the KeysDown is not empty then add 1 to fld strokesClicks exit busyHands end if wait 10 millisecs with messages if the optionKey is down then exit repeat end repeat end busyHands The repeat loop might be hogging the cpu and could cause problems. I'd suggest something like this if you were using only Rev: global tCount on rawKeyDown add 1 to tCount pass rawKeyDown end rawKeyDown But I'm not sure the keypresses would be passed to Rev if it weren't in front. I suppose you've already tried it. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Scripting conference stack available
The topic stack for the first Revolution Scripting Conference this Saturday, April 30, is now available for download at http://support.runrev.com/scriptingconferences/. Scripting conferences are both online teaching sessions for newcomers and an opportunity for you to ask questions of the pros. We are focusing on the basics of Revolution for novices but experienced scripters will want to attend too, to add their input and expertise. Those who attend all the conferences will receive an excellent education in the use of all major aspects of Revolution. Each topic stack is provided the week before the conference so that you can study the material to be presented. Familiarity with the stack isn't required, but knowing the material will enhance your experience. Speakers may sometimes refer to the stack in their presentation. Our topic for this conference is Stack Structure, which is a general overview of Revolution's major structural elements and a look at the objects and methods Revolution uses. Many of the concepts presented this week will be covered in more detail in future conferences. Due to a late change in plans, the presentation this week will be given by Runtime CEO Kevin Miller. You won't want to miss this; nobody knows more about Revolution than he does. More details on times and dates can be found on the web page. Please note that our conference follows a strict chat protocol, which is described in the topic stack (in the Conference Info section) and is also briefly outlined when you sign on to the conference. Chat is moderated during the presentation to prevent everyone from talking at once. Please arrive a few minutes early so that you can get settled in before we begin. We hope to see you all there! Jacque -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] ChatRev with Kevin Miller
Bjoernke, I tried to sign on with ChatRev last week and couldn't connect. Is there more we should know about connecting, or was the server down? On 4/25/05 5:21 PM, Björnke von Gierke wrote: Dear Revolutionaries On Friday the 6th May 17.00 GMT, there will be a chat session with Kevin Miller and Ro Nagey. Everyone is invited to ask polite questions and we hope for a civilised discussion about RunRev in general. If you have a special topic that you want to ask the CEO of RunRev then this chat is the right time and place. To join just paste the next line into your message box, and hit enter: go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev; You need to click register and enter at least a nickname and a password. After that hit connect, and you should join the chat. Best wishes Bjoernke von Gierke -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Starting from Shell
How could I setup a rev standalone to launch on the following shell command? click start choose run type jpegcompress == Boom, it loads! I have no idea on how to set this up and I'd really like to add this functionality without having to type the full path. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: another multi-user solution?
Dan said... Rob Ah, good point. It would appear that there is not a simple way to solve this problem using text files as locking semaphores. Back to the ol' drawing board! I just wrote the solution and you didn't get it or understand me... In a server-client - the client doesn't touch the database. Only sends updates to the server to queue up changes. This way, you have no locks, no problems. Everyone accesses it. You can't do this with stacks - without damaging them. So you work with a client front-end (or stack replica but inneficient) that receives (collects) the data you browse and sends the data you change... Data can be send in mini-stacks, text files, sql queries or sockets... Oh yes, a server can lock the record for you more reliably than counting on a client's poor connection to do it... If you lost the connection to the server when you edit the databse, then what? You corrupt the database probably (trust me, i do this at work all the time)... The server cannot lose that connection. cheers Xavier On Apr 25, 2005, at 11:59 AM, Rob Cozens wrote: Hi Dan, Second, using the semaphore file approach that Jacque suggested is eminently doable and quite simple to implement. It would be pretty easy, e.g., to have a single file that just contained a list of all the card numbers currently open for editing and checking it before allowing a user to edit a card's contents. Equally easy and perhaps a little better from a robustness perspective would be to create a text file called, e.g., card.lok, where card is the name or ID of the card, for a card when it's opened for editing and then deleting that file when the user's done. In either case, a pretty simple command could check to ensure the card the user asks to edit isn't already being edited and take some appropriate action. Question: How do changes on individual cards in different copies of a stack in each user's RAM get made to the copy resident on disk? There is not, to my knowledge, a way to save changes on one card of a stack without overwriting the entire stack. So if I open a stack before you, Jacque, and Kurt do, wait until you all close the stack, and then save it, the only changes to the original stack will be mine. You need to take it the extra step the Rob Eppich took EPSI-Talk, and have each users' copy of the stack updated whenever anyone else makes a change. This was more feasible in HyperTalk than Transcript, me thinks. One advantage of a client-server design is record locking tables can reside in the server's RAM; so no disk files are necessary and all records are automatically unlocked when the server shuts down. Rob Cozens CCW Serendipity Software Company And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee. from The Triple Foole by John Donne (1572-1631) ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Starting from Shell
Hi Derek Just make sure the path to the jpegcompress.exe application is in the path of windows. To change the path, check window's help. (my computer properties - tab advanced, environment variables... find the path and add your application's path to it. or drop your application in the winnt folder (but messy)... cheers Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Bump Sent: Tuesday, April 26, 2005 05:50 To: How to use Revolution Subject: Starting from Shell How could I setup a rev standalone to launch on the following shell command? click start choose run type jpegcompress == Boom, it loads! I have no idea on how to set this up and I'd really like to add this functionality without having to type the full path. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting conference stack available
Jacque, This sounds great, I'll be there! Errr, just one question. I was trying to read the time table but got confused, it is 8:30 AM or PM pacific time? Thanks Var On 4/25/05 8:16 PM, J. Landman Gay [EMAIL PROTECTED] wrote: The topic stack for the first Revolution Scripting Conference this Saturday, April 30, is now available for download at http://support.runrev.com/scriptingconferences/. Scripting conferences are both online teaching sessions for newcomers and an opportunity for you to ask questions of the pros. We are focusing on the basics of Revolution for novices but experienced scripters will want to attend too, to add their input and expertise. Those who attend all the conferences will receive an excellent education in the use of all major aspects of Revolution. Each topic stack is provided the week before the conference so that you can study the material to be presented. Familiarity with the stack isn't required, but knowing the material will enhance your experience. Speakers may sometimes refer to the stack in their presentation. Our topic for this conference is Stack Structure, which is a general overview of Revolution's major structural elements and a look at the objects and methods Revolution uses. Many of the concepts presented this week will be covered in more detail in future conferences. Due to a late change in plans, the presentation this week will be given by Runtime CEO Kevin Miller. You won't want to miss this; nobody knows more about Revolution than he does. More details on times and dates can be found on the web page. Please note that our conference follows a strict chat protocol, which is described in the topic stack (in the Conference Info section) and is also briefly outlined when you sign on to the conference. Chat is moderated during the presentation to prevent everyone from talking at once. Please arrive a few minutes early so that you can get settled in before we begin. We hope to see you all there! Jacque ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: counting keystrokes
Thanks for the reply Jacque, The issue is that the keystrokes *are* passed to my application even when Rev is *not* in front BUT this only occurs on OS X. I need to be able to count keystrokes on Windows machines also. [This is for an application which provides therapy and prevention for musculoskeletal problems caused by sitting at the computer and working for too many hours without a break. ] On the PC side I have only tested on XP (two different machines so far, thanks Klaus) and the script shown below is only working on Macs right now. I need to count keystrokes on PCs also. ciao, sims At 9:50 PM -0500 4/25/05, J. Landman Gay wrote: The repeat loop might be hogging the cpu and could cause problems. I'd suggest something like this if you were using only Rev: global tCount on rawKeyDown add 1 to tCount pass rawKeyDown end rawKeyDown But I'm not sure the keypresses would be passed to Rev if it weren't in front. I suppose you've already tried it. On 4/25/05 1:18 PM, sims wrote: I am using Rev 2.5.1 on Mac OS X to count keystrokes that are typed in any application that I have running - it keeps a running total of how many keys I hit no matter what applications I use (MS Word, Eudora, etc.). I use one btn with the script shown below and one fld which I lock so I don't accidently place text in it and mess up my count. When I try this same Rev file on Windows XP it doesn't work. Can anyone tell me what I might have to do to get this to work (keep a running total of the number of keys hit) on Windows? Thanks in advance, sims on mouseUp busyHands send mouseUp to me in 200 millisecs end mouseUp on busyHands repeat put the KeysDown into tKeys if the KeysDown is not empty then add 1 to fld strokesClicks exit busyHands end if wait 10 millisecs with messages if the optionKey is down then exit repeat end repeat end busyHands ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripting conference stack available
On 4/25/05 11:08 PM, Varen Swaab wrote: Jacque, This sounds great, I'll be there! Errr, just one question. I was trying to read the time table but got confused, it is 8:30 AM or PM pacific time? Thanks It's morning on the US east coast -- doors open at 8:30 AM for you and the formal presentation starts at 9:00 AM. Over in the UK it is dinner time. And over in OZ they have to get up at 2 AM Sunday morning. Bring coffee. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Simulating 'drawer' behaviour on Windows
Ben Rubinstein wrote: As far as I can tell, it is not possible to make a really effective simulation on Windows of the MacOS X 'drawer' behaviour using transcript. I think I missed the original post, so please forgive me if this has been addressed: The Win HIG recommends using a disclosure triangle for the sorts of things the Aqua HIG recommends using drawers for. Even better, the Aqua HIG maintains support for disclosure triangles, so one solution can cover you on all major platforms. Would a disclosure triangle not work in the app you're designing? -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: another multi-user solution?
Kurt Kaufman wrote: I'm actually concerned about two things here. The first is that the single (standalone) stack being used now contains about 900 record cards, and is about 13 MB in size. I'm concerned that it might gradually become unwieldy during saves. It already takes an unacceptable amount of time to save over the Windows network.\ I'm not sure if this will work for you, but lately I've been using tab-delimited text for the sorts of things I used to use cards for. I maintain a one-card window for display, pouring data into the fields as needed, but the data itself is maintained as just straight text. Fast, flexible, and about as small as it can be -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: counting keystrokes
What if you make the window a systemWindow so that it is always at the front? Actually, I am surprised that it works in any system. I would have assumed that keystrokes only got passed to the front application no matter what OS you were using :-) Sarah On 26 Apr 2005, at 2:48 PM, sims wrote: Thanks for the reply Jacque, The issue is that the keystrokes *are* passed to my application even when Rev is *not* in front BUT this only occurs on OS X. I need to be able to count keystrokes on Windows machines also. [This is for an application which provides therapy and prevention for musculoskeletal problems caused by sitting at the computer and working for too many hours without a break. ] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Recovery of a corrupted stack -- actual case study
David, i used your ideas on my bad stack songsDB with the most amazing results! backgroundbehavior = true for both stacks 1. make a fresh stack 2. copy the bad stack script, 3. copy the bad stack group(s), one in this case containing all controls 4. copy all 400 pages of the bad stack all of the contents of all of the fields transfered correctly. buttons to find, sort, limit, checkbox which fields to display for printing, all worked correctly. the bad stack was 137K, the new one: 16 Megabytes! then the corker, the bad stack somehow auto-corrected and began to work again! Erik Hansen --- David Burgun [EMAIL PROTECTED] wrote: If you need to save the scripts then try this: With a fresh load of RunRev (making sure there are no Stacks in memory), open the message box and type: answer file Which Stack?;edit script of stack it. This will prompt you for a file, select the Stack in question. Which will open the Stack Script, you can use: edit script of card X of stack it or edit script of control X of card Y of stack it This should allow you to at least copy your Scripts into a text file(s) so you can re-paste them. You can then try to open the Script using the command open stack it, however this may crash the IDE if the Stack is really corrupted. One thing I tried was to comment out the preOpenStack and openStack handlers in the Stack Script and save it back using the Apply and Save Stack command (after making a backup). Once you have saved the stack quit RunRev and try reloading the Stack. If it now works you know it's something in your preOpen ot Open handler that is causing the IDE to barf when the Stack is first opened. You can also write a tool stack that you can use to extract Objects from the Stack in question. If you need more help on this feel free to contact me directly. I have become quite a expert at recovering weird Stacks lately! [EMAIL PROTECTED]http://www.erikhansen.org __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Well done runrev. valentina
Bob Hartley wrote: Hi All. Well.. I moaned about marketing of runrev in the past. Specifically that there was no mention of runrev on the valentina web page but there was a version for real basic etc being sold. Well runrev has a slot on the new valentina page. Well done all at runrev for addressing this... :-) And a tip of the hat to the good folks at Valentina, as I suspect they had a hand in their web site too. :) They've been very helpful to Rev folks using their DB, and it is indeed nice to see them get more public about the great support they've been providing the Rev community for years. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: counting keystrokes
What if you make the window a systemWindow so that it is always at the front? Interesting idea...and if I don't want that window to show I could hide it somehow. I'll give that a try, thanks. Actually, I am surprised that it works in any system. I would have assumed that keystrokes only got passed to the front application no matter what OS you were using :-) Surprised me also...but it works on OS X, at least with all the non-Rev apps I have and that includes Word. ciao, sims ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: another multi-user solution?
At 10:10 PM -0700 4/25/05, Richard Gaskin wrote: I'm not sure if this will work for you, but lately I've been using tab-delimited text for the sorts of things I used to use cards for. I maintain a one-card window for display, pouring data into the fields as needed, but the data itself is maintained as just straight text. Fast, flexible, and about as small as it can be Is this usually reading from text files or using custom properties? ciao, sims ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution