From kray at sonsothunder.com Wed Oct 1 00:25:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 1 00:25:01 2003 Subject: Selecting text using REGEX In-Reply-To: <1F6166ED-F3CA-11D7-A49C-000393529642@mindlube.com> Message-ID: <002801c387da$b2b2abe0$6601a8c0@LightningFlash> > > function Trim what > > local tText > > get matchText(what,"(?s)\s*(\S.*\S)\s*",tText) > > return tText > > end Trim > > Thanks Ken this is a good one. > > People might be confused about the (?s) since it's not in the > transcript docs- but it is in the PCRE docs. (?s) says the dot > metacharacter matches any character, including newlines. Yup, this is one of those gems that make PCRE so very useful... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From monte at sweattechnologies.com Wed Oct 1 00:32:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Oct 1 00:32:01 2003 Subject: [ANN] libLinedFields Message-ID: Hi All I just spent 1/2 an hour working out how to get decent looking alternate color lined fields in Rev. Then I spent another half an hour making a library out of it and uploading it to my rev site ;-) Take a look: www.sweattechnologies.com/rev Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From dsc at swcp.com Wed Oct 1 00:34:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 1 00:34:01 2003 Subject: snapshot on XP makes icons wink out In-Reply-To: Message-ID: <484EEE10-F3CF-11D7-9B4A-000A9567A3E6@swcp.com> On Tuesday, September 30, 2003, at 10:41 PM, Chipp Walters wrote: > Yep, this is the existing behavior. The desktop is redrawn each time a > snapshot is created. I've mentioned this before as well, and would > like to > see it fixed. I bugzilla'd this, but it is in _worksforme_. Ken Ray didn't see this either. What video card do you have? > > On slower machines, some of the windows don't even finish redrawing by > the > time the snapshot is taken. I have seen the missing image in repeated snapshots, but I had assumed the redrawing was from the previous snapshot. Dar Scott From curry at pair.com Wed Oct 1 00:50:01 2003 From: curry at pair.com (curry) Date: Wed Oct 1 00:50:01 2003 Subject: Burning ISO CD image on Mac In-Reply-To: <200309302313.TAA26008@www.runrev.com> References: <200309302313.TAA26008@www.runrev.com> Message-ID: I am trying to test the downloadable Lindows CD, but my CD burner is on my iMac (built-in), so I'm trying to burn it there before using it on my PC. I was using the Finder's burn feature, and made two CDs to try: first I dragged the ISO itself onto the CD image and burned it, and the second time I double-clicked the ISO to mount it and burned the contents. Neither of the CDs was able to boot the PC. (Yes, the PC is checking CD first for boot.) Does anyone know how to do this type of burn? :) Thanks very much, -- Curry Kenworthy -- Christian xTalk discussion list http://groups.yahoo.com/group/cxtalk/ From alex at mindlube.com Wed Oct 1 01:02:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 01:02:01 2003 Subject: Burning ISO CD image on Mac In-Reply-To: Message-ID: <23ED8B28-F3D3-11D7-A49C-000393529642@mindlube.com> On Tuesday, September 30, 2003, at 11:34 PM, curry wrote: > I am trying to test the downloadable Lindows CD, but my CD burner is > on my iMac (built-in), so I'm trying to burn it there before using it > on my PC. I was using the Finder's burn feature, and made two CDs to > try: first I dragged the ISO itself onto the CD image and burned it, > and the second time I double-clicked the ISO to mount it and burned > the contents. Neither of the CDs was able to boot the PC. (Yes, the PC > is checking CD first for boot.) > > Does anyone know how to do this type of burn? :) I used Application/Utilities/Disk Copy.app File menu | Burn Image ... | select the .iso file. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From pixelbird at interisland.net Wed Oct 1 01:08:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Oct 1 01:08:01 2003 Subject: Saving Preferences In-Reply-To: <200309301920.PAA18843@www.runrev.com> Message-ID: Hi Ken, > From: "Ken Ray" > Subject: RE: Saving Preferences > Date: Tue, 30 Sep 2003 14:21:48 -0500 > Organization: Sons of Thunder Software > >> What are you favorite ways of saving Preferences? > > Read in from an external file on startup; if the file doesn't exist, > default prefs are applied inside the program an a new prefs file with > the defaults is written out to disk. This way, if someone wants to reset > their prefs to the defaults, all they need to do is throw away the prefs > file. ---------- Why throw away? Seems more laborious than just having a permanent Prefs substack (which would become its own Prefs file when building for distr., right?). At startup, the splash with the engine looks at the prefs stack, checks the mode, loads the appropriate settings where they go, and otherwise sets up the project. I thought about it some more. Most if not all of my intended users will not be "Power Users", so I want to keep things obvious on their side. They will often have lots of options available, which will be enough for them to handle if they dig into the Prefs. This is the approximate model I came up with: 1) There will be a Prefs dialog with two Radio buttons for Default or Custom modes, and all the Preference settings. It will probably look more like a combination Prefs and Control Panel thing. 2) When you distribute the project, the "on" Radio button will initially be "Default" and the Custom settings will initially be identical to the Default settings. 3) The settings will be shown, but disabled, i.e. you can see what the settings are AND that they are Default because the Radio button says so, but you cannot change them. 4) If the user clicks the "Custom" radio button, the initial settings will be the same as the Default, but the settings are enabled, i.e., you can change them, PLUS Save and Cancel buttons appear. 5) After the user makes the changes they want, they must click Save or Cancel. The Cancel button reverts the onscreen settings to reflect the current Custom settings in the Prefs stack, which hasn't changed yet. The Save button writes new Custom settings to reflect the current onscreen settings to the Prefs stack. You can't switch back to Default mode nor close the Prefs dialog without clicking one of those two buttons. This method allows the developer to easily change the Default settings at an update. I need to study the scripts posted to understand where this thing should go in each platform. Thanks, ken N. From alex at mindlube.com Wed Oct 1 01:16:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 01:16:01 2003 Subject: character sets- missing feature? Message-ID: <1C88E85E-F3D5-11D7-A49C-000393529642@mindlube.com> In Revolution how can I display text with foreign character sets? Not Unicode. For example this text file is ISO-8859-2 (Central European ISO Latin 2) In Apple TextEdit, I can select "Central European ISO Latin 2" while open that file and it displays what appear to be the correct characters. Rev's MacToISO and ISOToMac functions, while useful, seem to fall short of dealing with many, many text encodings out there. Hopefully I am overlooking something. I fear I will have to write an external to do this :-/ Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Wed Oct 1 01:33:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 1 01:33:00 2003 Subject: Saving Preferences In-Reply-To: Message-ID: <002d01c387e4$3be65570$6601a8c0@LightningFlash> > > Read in from an external file on startup; if the file > doesn't exist, > > default prefs are applied inside the program an a new prefs > file with > > the defaults is written out to disk. This way, if someone wants to > > reset their prefs to the defaults, all they need to do is > throw away > > the prefs file. > ---------- > Why throw away? Seems more laborious than just having a > permanent Prefs substack (which would become its own Prefs > file when building for distr., right?). True, but having it in an external file means that it is in a user-readable form that can be modified externally by other programs or by administrators without opening the stack each time. A lot of it depends on who the application is going to (i.e. what market). Also, I haven't quite understood the advantage of developing with a substack of a mainstack and then at the last minute breaking it out into a separate stack... I would think that if I really wanted a substack to be separate file, I would have started with it that way... Can someone enlighten me? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pixelbird at interisland.net Wed Oct 1 01:50:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Oct 1 01:50:00 2003 Subject: Saving Preferences In-Reply-To: <200309301920.PAA18843@www.runrev.com> Message-ID: Back again, Something I don't quite understand: 1) Suppose you have a Splash that contains the engine and initializes Prefs from a data stack (which I'll call a Prefs stack from now on). Now, when you originally create this in the Rev IDE, the Main stack would actually be the Splash, and the substacks will actually become Rev files at distr build time. Is this correct? 2) I'll then have a substack which I'll call the UI stack, which is a Rev file after the distr build. To the user, this thing would look like the main stack because it has all the buttons, graphics, fields, menus, palettes, etc. Is this OK so far? 3) I'll also have a PrefDialog substack which will read data from the Prefs stack, which won't be saved in itself, but can operate on it while open, change data as appropriate, then write directly back to the Prefs stack, replacing data (save) there. Is this correct? 4) If all the above is true, then it looks like the Prefs dialog should be another substack opened by the UI stack, correct? TIA, Ken N. From k.r.hauge at east.uio.no Wed Oct 1 02:21:01 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Wed Oct 1 02:21:01 2003 Subject: character sets- missing feature? In-Reply-To: <1C88E85E-F3D5-11D7-A49C-000393529642@mindlube.com> References: <1C88E85E-F3D5-11D7-A49C-000393529642@mindlube.com> Message-ID: >In Revolution how can I display text with >foreign character sets? Not Unicode. For example >this text file is ISO-8859-2 (Central European >ISO Latin 2) > > >In Apple TextEdit, I can select "Central >European ISO Latin 2" while open that file and >it displays what appear to be the correct >characters. > >Rev's MacToISO and ISOToMac functions, while >useful, seem to fall short of dealing with many, >many text encodings out there. Hopefully I am >overlooking something. I fear I will have to >write an external to do this :-/ > From psahores at easynet.fr Wed Oct 1 03:28:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Oct 1 03:28:01 2003 Subject: Burning ISO CD image on Mac In-Reply-To: References: <200309302313.TAA26008@www.runrev.com> Message-ID: <1064996199.2620.6.camel@www.kmax.ici> Hello, Here is the way i did successfully the same work : 1.- insert a new writable CD into your macosx box. 2.- it will be asked you to prepare it for writing mode 3.- select the last option in the popup (copy cd) 4.- it will be asked you witch iso formated file to write 5.- select directly the lindows iso file you downloaded (instead of your unneded desktop mounted file) 6.- the copy will begin... Bests, Pierre Le mer 01/10/2003 ? 07:34, curry a ?crit : > I am trying to test the downloadable Lindows CD, but my CD burner is > on my iMac (built-in), so I'm trying to burn it there before using it > on my PC. I was using the Finder's burn feature, and made two CDs to > try: first I dragged the ISO itself onto the CD image and burned it, > and the second time I double-clicked the ISO to mount it and burned > the contents. Neither of the CDs was able to boot the PC. (Yes, the > PC is checking CD first for boot.) > > Does anyone know how to do this type of burn? :) > > Thanks very much, -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From ttasovac at princeton.edu Wed Oct 1 03:59:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Wed Oct 1 03:59:01 2003 Subject: [ANN] libLinedFields In-Reply-To: Message-ID: Monte, a very basic question: what does it mean when you say "start using the library"? I must say I haven't used your libraries yet so I am confused. I used the ScriptLibraryInstaller.rev to create a userscript folder in componentes/save. I then placed uLinedFields.rev in that folder, restarted Revolution. I checked in Development -- Plugins --revScriptLibrary to make sure that the library loads on startup. Yet when I try the following script: set the uLinedField of fld "Field 1" to true - nothing happens. What am I missing? All best, Toma Am Mittwoch, 01.10.03 um 07:20 Uhr schrieb Monte Goulding: > > Hi All > > I just spent 1/2 an hour working out how to get decent looking > alternate > color lined fields in Rev. Then I spent another half an hour making a > library out of it and uploading it to my rev site ;-) > > Take a look: www.sweattechnologies.com/rev > > Cheers > > Monte Goulding > B.App.Sc. (Hons.) > > Executive Director > Sweat Technologies > > email: monte at sweattechnologies.com > website: www.sweattechnologies.com > mobile (International): +61 421 138 274 > (Australia): 0421 138 274 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From joel at alpsgiken.gr.jp Wed Oct 1 04:25:00 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Wed Oct 1 04:25:00 2003 Subject: standard file dialog? Message-ID: <20031001181451.F389.JOEL@alpsgiken.gr.jp> I know I must just be missing something, but what's the equivalent of the Mac OS's standard file dialogs? I need to let the user specify a place and name to save a (results) stack to. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) From tuviah at runrev.com Wed Oct 1 04:26:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Wed Oct 1 04:26:01 2003 Subject: character sets- missing feature? References: <200310010801.EAA06954@www.runrev.com> Message-ID: <006b01c387fc$8ee49800$416db918@user> >From the documentation, it seems that ISOtoMac >handles only 8859-1. Other encodings would surely >be a welcome addition to this function. This >workaround will enable you to show the Polish >text above in a Revolution field: Yeah support for polish as a language will be in 2.1.1. So you'll be able to use set the unicodetext of fld 1 to uniencode(sometext,"polish") Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From janschenkel at yahoo.com Wed Oct 1 04:31:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Oct 1 04:31:01 2003 Subject: standard file dialog? In-Reply-To: <20031001181451.F389.JOEL@alpsgiken.gr.jp> Message-ID: <20031001091948.63282.qmail@web11904.mail.yahoo.com> --- Joel Rees wrote: > I know I must just be missing something, but what's > the equivalent of > the Mac OS's standard file dialogs? > > I need to let the user specify a place and name to > save a (results) stack > to. > Hi Joel, Have a look at the Transcript Dictionary entries for the commands 'ask file' and 'answer file'. - ask file "Save file as :" - answer file "Open file :" Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From janschenkel at yahoo.com Wed Oct 1 04:35:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Oct 1 04:35:01 2003 Subject: Saving Preferences In-Reply-To: Message-ID: <20031001092406.37677.qmail@web11905.mail.yahoo.com> --- Ken Norris wrote: > Back again, > > Something I don't quite understand: > > 1) Suppose you have a Splash that contains the > engine and initializes Prefs > from a data stack (which I'll call a Prefs stack > from now on). > > Now, when you originally create this in the Rev IDE, > the Main stack would > actually be the Splash, and the substacks will > actually become Rev files at > distr build time. Is this correct? > That's not really necessary : you only have to break out the stacks that you want to save changes to ; the other stacks can stay in the standalone. > 2) I'll then have a substack which I'll call the UI > stack, which is a Rev > file after the distr build. To the user, this thing > would look like the main > stack because it has all the buttons, graphics, > fields, menus, palettes, > etc. Is this OK so far? > That looks like the standard way of handling it. > 3) I'll also have a PrefDialog substack which will > read data from the Prefs > stack, which won't be saved in itself, but can > operate on it while open, > change data as appropriate, then write directly back > to the Prefs stack, > replacing data (save) there. Is this correct? > That will work just fine ; and is IMHO a better solution than to merge the preferences UI and data storage into a single stack. > 4) If all the above is true, then it looks like the > Prefs dialog should be > another substack opened by the UI stack, correct? > Yes, you will have to open it in order to get to its data ; but you can open it invisibly so nobody ever has to know :-) > TIA, > Ken N. > Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From joel at alpsgiken.gr.jp Wed Oct 1 04:48:00 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Wed Oct 1 04:48:00 2003 Subject: standard file dialog? In-Reply-To: <20031001091948.63282.qmail@web11904.mail.yahoo.com> References: <20031001181451.F389.JOEL@alpsgiken.gr.jp> <20031001091948.63282.qmail@web11904.mail.yahoo.com> Message-ID: <20031001183756.5E37.JOEL@alpsgiken.gr.jp> ZZZZZZZZ snort cough cough wheeze shuffle shuffle > --- Joel Rees wrote: > > I know I must just be missing something, but what's > > the equivalent of > > the Mac OS's standard file dialogs? > > > > I need to let the user specify a place and name to > > save a (results) stack > > to. > > > > Hi Joel, > > Have a look at the Transcript Dictionary entries for > the commands 'ask file' and 'answer file'. > - ask file "Save file as :" > - answer file "Open file :" > > Hope this helped, > > Jan Schenkel. You must have telepathic powers, because I was dozing in front of the Mac a few minutes ago and suddenly woke up with the impression I should check for options to ask and answer. 8-/ Thanks, and sorry for the noise. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) From rjb at rz.uni-potsdam.de Wed Oct 1 05:23:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Oct 1 05:23:01 2003 Subject: character sets- missing feature? In-Reply-To: <006b01c387fc$8ee49800$416db918@user> References: <200310010801.EAA06954@www.runrev.com> <006b01c387fc$8ee49800$416db918@user> Message-ID: > >From the documentation, it seems that ISOtoMac > >handles only 8859-1. Other encodings would surely >>be a welcome addition to this function. This >>workaround will enable you to show the Polish >>text above in a Revolution field: >Yeah support for polish as a language will be in 2.1.1. So you'll be able to >use > >set the unicodetext of fld 1 to uniencode(sometext,"polish") > >Tuviah Snyder >Runtime Revolution Limited - Software at the Speed of Thought > But how does uniencode know what the current encoding of sometext is? It can be 8859-2 but also MacCE or Windows-1250. Even more options are for example for Russian (Cyrillic). Robert Brenstein From livfoss at blueyonder.co.uk Wed Oct 1 05:39:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed Oct 1 05:39:00 2003 Subject: I need Distribution Builder advice Message-ID: I'm having a number of problems creating a distribution for OSX. I've searched bugzilla and I see at least one of the problems I've had (a kind of dummy copy of Revolution appears beside my app when the distribution is built, but it crashes on opening and anyway what's it doing there?), but I couldn't understand from the Bugzilla comment in what sense it had been fixed. I have had other issues with 'Revolution' appearing in the app's menu for example, which only happens sometimes... I also seem to have problems setting icons and also creating OSX distributions when using MacOS 9.2.2 (in native mode, not using Classic under OSX). Basically I need a tutorial, so that I can try to use the Dist Builder as correctly as I can and then if need be report any actual bugs. I may have missed it, but I have not found any cookbook items relating to distribution building. It seems to me that we badly need some kind of step-by-step instructions for creating a robust app with proper icons and menus for OSX, explaining what to do about the various issues that have come up from time to time (like the Quit menu issue, what to do with plists, what exactly an icon set has to consist of etc). Clearly building a robust OSX distribution is possible, since RunRev itself has done it, but since it didn't work first time for me, I really don't know what to do now. I can't believe I'm the only one to be confused by all this. Can anyone point me in the right direction? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From malte.brill at t-online.de Wed Oct 1 06:07:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Wed Oct 1 06:07:01 2003 Subject: I need Distribution Builder advice In-Reply-To: <200309291433.KAA32082@www.runrev.com> Message-ID: Hi Graham, maybe I can help you with some of them, even though it is a bit complicated because I do it "by hand": >I also seem to have problems setting icons Thats an easy one, you can copy and paste it in the finder: You need an icon file (.icns I believe) Try selecting your app bundle. Click Apple&i, select your icon click apple&i, selct the thumbnail of your icon in the info window press apple&c select the icon thumbnail of your app in its info window press apple&v >I have had other issues with >'Revolution' appearing in the app's menu for example, which only >happens sometimes... If that happens on X: open the app bundle by control clicking on it. Choose show Package contents open the file info.plist. Look for the word Revolution. Change it to your apps name. I will look for the correct tags when I?m under X again in a few minutes) Open the folder MacOs: Change the name of the File in it (named revolution) to your apps. name. Now it should show correct in the quit menu for example. You can double check it by opening a terminal window and typing top into it. Your apps name should show in that window. Hope that helps a bit, Regards, Malte From malte.brill at t-online.de Wed Oct 1 06:21:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Wed Oct 1 06:21:00 2003 Subject: I need Distribution Builder advice In-Reply-To: <200309291433.KAA32082@www.runrev.com> Message-ID: Hi Graham, >open the app bundle by control clicking on it. Choose show Package contents >open the file info.plist. Look for the word Revolution. Change it to your apps >name. I will look for the correct tags when I?m under X again in a few minutes) It is CFBBundleExecutableRevolution Where Revolution should be your apps name. >Open the folder MacOs: Change the name of the File in it (named revolution) to >your apps. name. Now it should show correct in the quit menu for example. You >can double check it by opening a terminal window and typing top into it. Your >apps name should show in that window. Hope that helps a bit, Regards, Malte From curry at pair.com Wed Oct 1 06:47:01 2003 From: curry at pair.com (curry) Date: Wed Oct 1 06:47:01 2003 Subject: Burning ISO CD image on Mac In-Reply-To: <200310010801.EAA06954@www.runrev.com> References: <200310010801.EAA06954@www.runrev.com> Message-ID: Thanks so much, Alex and Pierre! I had almost lost hope on it. Lindows, here I come. -- Curry Kenworthy -- Christian xTalk discussion list http://groups.yahoo.com/group/cxtalk/ From sims at ezpzapps.com Wed Oct 1 07:08:00 2003 From: sims at ezpzapps.com (sims) Date: Wed Oct 1 07:08:00 2003 Subject: I need Distribution Builder advice In-Reply-To: References: Message-ID: >Hi Graham, > > >open the app bundle by control clicking on it. Choose show Package contents > >open the file info.plist. Also change "get info" information such as version number and copyright whilst there. atb sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting We make... iBirthday! http://EZPZapps.com/iB SmartDog! http://EZPZapps.com/SmartDog Kartolina! http://ezpzapps.com/kartolina From lists at mangomultimedia.com Wed Oct 1 09:19:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed Oct 1 09:19:01 2003 Subject: [ANN] libLinedFields In-Reply-To: Message-ID: On Tuesday, September 30, 2003, at 11:20 PM, Monte Goulding wrote: > I just spent 1/2 an hour working out how to get decent looking > alternate > color lined fields in Rev. Then I spent another half an hour making a > library out of it and uploading it to my rev site ;-) > > Take a look: www.sweattechnologies.com/rev Monte, This works great. Did a quick test and on OS X.2.6 the margins 2,3,2,8 seemed to work best. If I didn't use 8 as the bottom margin then the last line of text would get cut off. Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alex at mindlube.com Wed Oct 1 09:31:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 09:31:00 2003 Subject: character sets- missing feature? In-Reply-To: <006b01c387fc$8ee49800$416db918@user> Message-ID: <3D3E36A4-F41A-11D7-9FE7-000393529642@mindlube.com> On Wednesday, October 1, 2003, at 03:14 AM, Tuviah Snyder wrote: > Yeah support for polish as a language will be in 2.1.1. So you'll be > able to > use > > set the unicodetext of fld 1 to uniencode(sometext,"polish") Tuviah, this will be superb- I beg you to implement it for 2.1.1. This is the only capability that Rev doesn't offer for my current project. But I believe the text encoding name will have to be passed as a parameter, as Robert Brenstein notes. At least an optional parameter.Unless you have an extremely smart encoding guesser. Even TextEdit.app does not correctly guess the encoding this file with ISO-8859-2, I have to pick the encoding manually. Cocoa has a pretty good text encoding framework, so if it can't guess the encoding it must be a hard problem. For reference, I'm using Project Gutenberg, which has approx 8,000 files- the books are text files mostly with 7-bit ASCII, some with 8-bit ASCII. I think the 8-bit ones are where the ISO encodings come into play. There probably hundreds of files that have encodings other than the ISO-8859 that Rev supports. Of those maybe a few are Unicode already, but most are like this Polish file with various ISO-8859-x variants. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ttasovac at princeton.edu Wed Oct 1 10:12:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Wed Oct 1 10:12:01 2003 Subject: [ANN] libLinedFields In-Reply-To: Message-ID: Monte, a very basic question: what does it mean when you say "start using the library"? I must say I haven't used your libraries yet so I am confused. I used the ScriptLibraryInstaller.rev to create a userscript folder in componentes/save. I then placed uLinedFields.rev in that folder, restarted Revolution. I checked in Development -- Plugins --revScriptLibrary to make sure that the library loads on startup. Yet when I try the following script: set the uLinedField of fld "Field 1" to true - nothing happens. What am I missing? All best, Toma P.S. sorry if this gets posted twice -- it didn't seem to have gone through the first time. Am Mittwoch, 01.10.03 um 07:20 Uhr schrieb Monte Goulding: > > Hi All > > I just spent 1/2 an hour working out how to get decent looking > alternate > color lined fields in Rev. Then I spent another half an hour making a > library out of it and uploading it to my rev site ;-) > > Take a look: www.sweattechnologies.com/rev > > Cheers > > Monte Goulding > B.App.Sc. (Hons.) > > Executive Director > Sweat Technologies > > email: monte at sweattechnologies.com > website: www.sweattechnologies.com > mobile (International): +61 421 138 274 > (Australia): 0421 138 274 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Ben at THEHUB.CO.UK Wed Oct 1 10:22:00 2003 From: Ben at THEHUB.CO.UK (Ben Collyer) Date: Wed Oct 1 10:22:00 2003 Subject: Using Rev as a multiplatform GUI to control perl and shell scripts -- or is Tcl/tk better? Message-ID: <2A2F6406-F422-11D7-9A98-0003939212E6@thehub.co.uk> I want to make a multiplatform GUI for dozens of perl and shell scripts that process and analyse logs. I had hoped to try to use Revolution, because I know some transcript, but wondered how you simply execute a perl script using Rev, (without passing any arguments etc. -- although this might eventually be useful). I am running the scripts on MacOSX, from the bash shell. a typical command line to execute a script might be bash-2.05a$ perl desktop/logs/scripts/extract.pl its a script that churns away for potentially hours, stripping and reformatting logfile lines, counting, etc what transcript script do I need to launch the same script from a button in Rev? And would the same transcript work on other platforms? A friend said I should learn Tcl/Tk instead...... but is he right? opinions gratefully received Ben From jrvalent at wisc.edu Wed Oct 1 10:44:03 2003 From: jrvalent at wisc.edu (rand valentine) Date: Wed Oct 1 10:44:03 2003 Subject: copying text from lists.runrev.com Message-ID: hi, all. i have a really basic question. often, when i have a question about runrev, instead of bugging/bothering the list, i open my browser and do a google search on the list archive for relevant info, e.g. if i were wondering about how arrays work (which I am!), then I would type: array site:lists.runrev.com well, this is great, because it's easy to follow threads, and i _should_ be able to cut and paste a given thread to produce nice little threaded "studies" of topics. but here's my problem: whenever i paste a message in mac os x.2.6 [and x.2.8] (and i haven't tried other systems) all of the "quoted" material (with lines beginning with > or >>) in a message "collapses" into a single "paragraph", eg, >Yves, >>As long as cPoints only has student data (i.e. every element in cPoints is >what you'll be checking), you can do this: >>put "" into myList >put 1 into elementNum >repeat for each element e in cPoints >if e >= 5 then >put line elementNum of keys(cPoints) & cr after myList >end if >add 1 to elementNum >end repeat >>Hope this helps, > now, the display in my browser has a line break before each > or >>. why are the cr's before > so spineless, i.e., does anyone know why my computer converts this into the useless mess above, and how i might correct it? i've tried everything i can think of. does it have something to do with mac vs windows linefeed/cr stuff? thanks. rand From k.r.hauge at east.uio.no Wed Oct 1 11:24:00 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Wed Oct 1 11:24:00 2003 Subject: copying text from lists.runrev.com In-Reply-To: References: Message-ID: >the cr's before > so spineless, i.e., does anyone know why my computer >converts this into the useless mess above, and how i might correct it? i've It seems to be a (mis)feature of Safari. Does not happen with Mozilla. -- --- Kjetil R? Hauge, U. of Oslo, PO Box 1030 Blindern, N-0315 Oslo, Norway Tel. +47/22856710, fax +47/22854140 From psahores at easynet.fr Wed Oct 1 11:40:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Oct 1 11:40:00 2003 Subject: Using Rev as a multiplatform GUI to control perl and shell scripts -- or is Tcl/tk better? In-Reply-To: <2A2F6406-F422-11D7-9A98-0003939212E6@thehub.co.uk> References: <2A2F6406-F422-11D7-9A98-0003939212E6@thehub.co.uk> Message-ID: <1065025749.2620.37.camel@www.kmax.ici> Hi Ben, The best way is to pipe all the needed perl or any other kind of scripting languages you would have to use. See, as an example, how i'm accessing the psql command line client (PostgreSQL) and just tune the script below by replacing my code by yours : > put "psql -h localhost projecoles -U postgres" into PgPath > put shell("echo" && quote & "select * from etablist order by etab0011" && quote && "|" && PgPath) into AccPpx Bests, Pierre Le mer 01/10/2003 ? 17:16, Ben Collyer a ?crit : > I want to make a multiplatform GUI for dozens of perl and shell scripts > that process and analyse logs. > > I had hoped to try to use Revolution, because I know some transcript, > but wondered how you simply execute a perl script using Rev, (without > passing any arguments etc. -- although this might eventually be useful). > > I am running the scripts on MacOSX, from the bash shell. > > a typical command line to execute a script might be > > bash-2.05a$ perl desktop/logs/scripts/extract.pl > > its a script that churns away for potentially hours, stripping and > reformatting logfile lines, counting, etc > > what transcript script do I need to launch the same script from a > button in Rev? > And would the same transcript work on other platforms? > > A friend said I should learn Tcl/Tk instead...... but is he right? > > opinions gratefully received > > Ben > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From alex at mindlube.com Wed Oct 1 12:48:02 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 12:48:02 2003 Subject: Using Rev as a multiplatform GUI to control perl and shell scripts -- or is Tcl/tk better? In-Reply-To: <2A2F6406-F422-11D7-9A98-0003939212E6@thehub.co.uk> Message-ID: On Wednesday, October 1, 2003, at 09:16 AM, Ben Collyer wrote: > A friend said I should learn Tcl/Tk instead...... but is he right? > > opinions gratefully received As Pierre mentioned- see the shell() function. As for Tcl/Tk, I am not a tcl programmer, but I think that Revolution is going to have similar capabilities as Tcl/Tk - in that they are both high-level languages. Revolution is event-driven- I assume Tcl is also. Revolution can compile relatively small, fast single-file executables for many platforms, which I don't think Tcl can do. Tcl/Tk some versions are Free, but Revolution is not. Tcl/Tk may not come with a GUI builder tool like Revolution offers. Tk apps used to be glacially slow- click a button and go get a cup of coffee - kind of slow. I assume that is no longer an issue on today's hardware. I would also compare Tcl/Tk's shell/task/process management functions and see if it's any better than Revolution's offerings. Also keep an eye on this new site by David Bovill "Open source environments which use Rev for rapid prototyping of fron ends, but which relate to other componenets written in othe languages." HTH Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From pixelbird at interisland.net Wed Oct 1 12:51:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Oct 1 12:51:00 2003 Subject: Saving Preferences In-Reply-To: <200310011446.KAA17420@www.runrev.com> Message-ID: > Date: Wed, 1 Oct 2003 02:24:06 -0700 (PDT) > From: Jan Schenkel > Subject: Re: Saving Preferences >> 3) I'll also have a PrefDialog substack which will >> read data from the Prefs >> stack, which won't be saved in itself, but can >> operate on it while open, >> change data as appropriate, then write directly back >> to the Prefs stack, >> replacing data (save) there. Is this correct? >> > > That will work just fine ; and is IMHO a better > solution than to merge the preferences UI and data > storage into a single stack. ---------- Well, I thought about that, but it wouldn't save to itself, so it made more sense to break out the Prefs stack into a separate file by itself. In fact, it will probably have no controls at all. But I also think I should make the Prefs dialog stack separate as well. That's why I'm exploring and asking opinions. I still haven't completely decided how I should do what I want. I think I'd like to develop a standard way to build Prefs/Control Panel stacks which can be updated independantly and remotely. Suppose I want to offer a new theme package of icons and feedback sounds. I would like a module that will download the package from a website, and install it automatically, i.e., the image and sound data files will be loaded into the Prefs stack folder and the new choice added to the availability list in the Prefs stack, which can be read and acted on from the Prefs _dialog_ stack. I know this can be done in Rev, but I haven't quite worked it out yet. It should check for duplicates and the like. And, also, for the user's own sake, a security device to prevent the user from accidentally throwing away the Prefs or other pertinent data stacks. ---------- >> 4) If all the above is true, then it looks like the >> Prefs dialog should be >> another substack opened by the UI stack, correct? >> > > Yes, you will have to open it in order to get to its > data ; but you can open it invisibly so nobody ever > has to know :-) ---------- By opening it offscreen, locking the screen,...what method? Ken N. From dsc at swcp.com Wed Oct 1 13:02:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 1 13:02:01 2003 Subject: character sets- missing feature? In-Reply-To: <1C88E85E-F3D5-11D7-A49C-000393529642@mindlube.com> Message-ID: On Wednesday, October 1, 2003, at 12:04 AM, Alex Rice wrote: > In Revolution how can I display text with foreign character sets? Not > Unicode. For example this text file is ISO-8859-2 (Central European > ISO Latin 2) I suspect the mapping to unicode is straight-forward. You might be able to do this yourself. One of my references suggested that for many encodings all you have to do is change the high byte. I am pretty sure this is an oversimplification, but it does indicate that it may not require a table for random mapping. Dar Scott unicode newbie From janschenkel at yahoo.com Wed Oct 1 13:04:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Oct 1 13:04:00 2003 Subject: Saving Preferences In-Reply-To: Message-ID: <20031001175238.68115.qmail@web11907.mail.yahoo.com> --- Ken Norris wrote: > > Date: Wed, 1 Oct 2003 02:24:06 -0700 (PDT) > > From: Jan Schenkel > > Subject: Re: Saving Preferences > > > >> 4) If all the above is true, then it looks like > the > >> Prefs dialog should be > >> another substack opened by the UI stack, correct? > >> > > > > Yes, you will have to open it in order to get to > its > > data ; but you can open it invisibly so nobody > ever > > has to know :-) > ---------- > By opening it offscreen, locking the screen,...what > method? > Steer your copy of Revolution to the Transcript Dictionary, and check out the 'invisible' clause for the 'go'/'open' command :-) Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From ttasovac at princeton.edu Wed Oct 1 13:16:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Wed Oct 1 13:16:01 2003 Subject: QuickTime, text fields, closed captioning Message-ID: Is it possible to have a transparent text field on top of a quicktime movie, the way we can put a text field layer over an image? if not -- is there any way in revolution to fake closed captioning? (i know i can do this in, say, LiveStage Pro, but I want to implement closed captioning in such a way that the user can stop the movie at any frame, and click on any words in the subtitle -- which Revolution should then take care of, translate etc... Is this absolutely hopeless? All best, Toma From alex at mindlube.com Wed Oct 1 13:18:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 13:18:00 2003 Subject: character sets- missing feature? In-Reply-To: Message-ID: On Wednesday, October 1, 2003, at 11:51 AM, Dar Scott wrote: > > I suspect the mapping to unicode is straight-forward. You might be > able to do this yourself. One of my references suggested that for > many encodings all you have to do is change the high byte. I am > pretty sure this is an oversimplification, but it does indicate that > it may not require a table for random mapping. Really? I am kind of a character encoding neophyte- can you hook me up with a reference or a couple of lines of code if you have something in mind? Thanks Dar, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Wed Oct 1 13:26:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 13:26:01 2003 Subject: I need Distribution Builder advice In-Reply-To: Message-ID: <2BB17B74-F43B-11D7-8BE8-000393529642@mindlube.com> On Wednesday, October 1, 2003, at 04:27 AM, Graham Samuel wrote: > Can anyone point me in the right direction? Like Malte, I also construct my App bundles by hand on OS X. Because of the new bundle/package format on OS X you are no longer dependent on the compiler or resedit to create the application file. In addition to the other suggestions, here are some tips I thought of: 1) I wrote a shell script to copy files, including my Rev standalone executable, and my already existing app bundle. Then I double-click on the bundle's Info.plist to edit the other bundle properties with the PropertyListEditor.app # example shell script command to copy the executable file cp FacilityCa_MacOSX_Standalone/FacilityCalculator.app/Contents/MacOS/ Revolution \ NPSFacCalc/FacilityCalculator.app/Contents/MacOS/FacilityCalculator 2) Apple's Project Builder, although it is a compiler, also has really flexible methods of creating application bundles, and has GUI forms for a lot of the bundle properties. You can also add shell scripts to customize the build process. One could use Project Builder to do automate builds of app bundles, even if it's just collecting files from various places and not really compiling any C/C++ code. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ttasovac at princeton.edu Wed Oct 1 13:39:03 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Wed Oct 1 13:39:03 2003 Subject: QuickTime, text fields, closed captioning Message-ID: <47713BCE-F436-11D7-A62A-000393D60E0C@princeton.edu> Is it possible to have a transparent text field on top of a quicktime movie, the way we can put a text field layer over an image? if not -- is there any way in revolution to fake closed captioning? (i know i can do this in, say, LiveStage Pro, but I want to implement closed captioning in such a way that the user can stop the movie at any frame, and click on any words in the subtitle -- which Revolution should then take care of, translate etc... Is this absolutely hopeless? All best, Toma From tuviah at runrev.com Wed Oct 1 13:45:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Wed Oct 1 13:45:01 2003 Subject: character sets- missing feature? References: <200310011446.KAA17439@www.runrev.com> Message-ID: <00a501c3884a$8ffee530$416db918@user> > But how does uniencode know what the current encoding of sometext is? > It can be 8859-2 but also MacCE or Windows-1250. Even more options > are for example for Russian (Cyrillic). When you say Polish it maps to central european. Just like saying japanese maps to shift-JIS with uniencode. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From revlist at cableone.net Wed Oct 1 13:47:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Oct 1 13:47:01 2003 Subject: RegEx difficulties Message-ID: <000d01c3884a$d20f4780$64fea8c0@chris1> I'm using the matchChunk function to search for given words in a field and then change the textStyle of those words to link. I'm having a problem though when a given word is found in another, longer word. An example would be "match" and "matches". The word I'm searching for is "match" but I only want to find "match", not "matches". My code is if matchChunk(tStoryText, "(" & tWord & ")", tStartChar, tEndChar) then set the textStyle of char tStartChar to tEndChar of field "myText" to empty end if I need a RegEx string that will match only the whole word. Kind of like the wholeMatches property works with the offset functions. Is this possible? Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From ambassador at fourthworld.com Wed Oct 1 13:58:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Oct 1 13:58:01 2003 Subject: QuickTime, text fields, closed captioning In-Reply-To: Message-ID: Toma Tasovac wrote: > Is it possible to have a transparent text field on top of a quicktime > movie, the way we can put a text field layer over an image? if not -- > is there any way in revolution to fake closed captioning? (i know i > can do this in, say, LiveStage Pro, but I want to implement closed > captioning in such a way that the user can stop the movie at any frame, > and click on any words in the subtitle -- which Revolution should then > take care of, translate etc... > > Is this absolutely hopeless? You can turn on the alwaysBuffer of the player, but that disables the controller. :( Better would be to write a SMIL file and use that instead of your QT movie as the filename. SMIL lets you synchronize multiple media elements using a simple XML tile. Rev player objects can handle SMIL 1.0 plus the additional QT-specific syntax options noted at . The SMIL 1.0 spec is at . A good tutorial is at . I started work on a GUI SMIL editor in Rev some time ago, but alas it's been collecting dust on my hard drive in favor of more pressing projects. So while I don't have a handy tool to pass to you yet, I can offer some encouragement in the meantime: SMIL may seem daunting at first, but you can pick it up in an afternoon and it's as easy to write as HTML. To give you an idea of the format, here's an example from the above-referenced tutorial: The vim icon Made with SOJA As a side note, you can also use QT 6's support for 3GPP to dynamically create text tracks (see ), but it requires QT 6.3 and so it's not nearly as widely supported yet as SMIL, which should cover what you need. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Wed Oct 1 14:03:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Oct 1 14:03:01 2003 Subject: I need Distribution Builder advice In-Reply-To: <2BB17B74-F43B-11D7-8BE8-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > 2) Apple's Project Builder, although it is a compiler, also has really > flexible methods of creating application bundles, and has GUI forms for > a lot of the bundle properties. You can also add shell scripts to > customize the build process. Better still might be a Rev plugin that generates plist and PAD files (see ) from the same data. How many of you use PAD to promote your wares? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Wed Oct 1 14:10:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 1 14:10:00 2003 Subject: RegEx difficulties In-Reply-To: <000d01c3884a$d20f4780$64fea8c0@chris1> Message-ID: <4B99C4FE-F441-11D7-9B7A-000A9567A3E6@swcp.com> On Wednesday, October 1, 2003, at 12:35 PM, Chris Sheffield wrote: > I need a RegEx string that will match only the whole word. Kind of > like the > wholeMatches property works with the offset functions. Is this > possible? Yes. Before the word should be either whitespace or the start of the string. After the word should be either whitespace or the end of the string. Dar Scott From kray at sonsothunder.com Wed Oct 1 14:12:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 1 14:12:01 2003 Subject: RegEx difficulties In-Reply-To: <000d01c3884a$d20f4780$64fea8c0@chris1> Message-ID: <009e01c3884e$16c769e0$6601a8c0@LightningFlash> > if matchChunk(tStoryText, "(" & tWord & ")", > tStartChar, tEndChar) then > set the textStyle of char tStartChar to tEndChar of > field "myText" to empty > end if > > I need a RegEx string that will match only the whole word. > Kind of like the wholeMatches property works with the offset > functions. Is this possible? You better believe it, Chris. You can use the "\b" command which means "word boundary", like this: if matchChunk(tStoryText,"\b(" & tWord & ")\b",tStartChar,tEndChar) then Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Oct 1 14:14:02 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 1 14:14:02 2003 Subject: QuickTime, text fields, closed captioning In-Reply-To: <47713BCE-F436-11D7-A62A-000393D60E0C@princeton.edu> Message-ID: <009f01c3884e$5dcd2d20$6601a8c0@LightningFlash> Yes, Toma. You need to put the movie into player object and set its "alwaysBuffer" to true. Then you can layer objects on top of it. Note, though, that buffered QT movies may not play at as high a frame rate or quality than when they are unbuffered, but since you can't layer something on top of an *un*buffered movie, you don't have much of a choice. ;-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Toma Tasovac > Sent: Wednesday, October 01, 2003 12:40 PM > To: use-revolution at lists.runrev.com > Subject: QuickTime, text fields, closed captioning > > > Is it possible to have a transparent text field on top of a quicktime > movie, the way we can put a text field layer over an image? > if not -- > is there any way in revolution to fake closed captioning? (i know i > can do this in, say, LiveStage Pro, but I want to implement closed > captioning in such a way that the user can stop the movie at > any frame, > and click on any words in the subtitle -- which Revolution > should then > take care of, translate etc... > > Is this absolutely hopeless? > > All best, > Toma > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From dsc at swcp.com Wed Oct 1 14:20:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 1 14:20:01 2003 Subject: snapshot on XP makes icons wink out In-Reply-To: <4685D36C-F377-11D7-9CDC-000A9567A3E6@swcp.com> Message-ID: <9F52B0B2-F442-11D7-9B7A-000A9567A3E6@swcp.com> On Tuesday, September 30, 2003, at 12:52 PM, Dar Scott wrote: >> On Windows XP, import snapshot or export snapshot causes the icons on >> the primary monitor to wink out. > > Anybody else seeing this on Windows? > > Try this in the message box: > export snapshot of rect "0,0,100,100" to x as PNG Chipp described this as redrawing the desktop. Would folks who try this please send me a note, even if it works? And if you are willing to take the time, let me know what video board, how many monitors and what Windows version. Or anything you think applicable. I'll collect these and add to the bugzilla report #729. Or if you prefer, you can comment directly to the bugzilla report. So far RunRev and Ken Ray do not see this. Chipp Walters and I do see this. Dar Scott From revlist at cableone.net Wed Oct 1 14:23:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Oct 1 14:23:00 2003 Subject: RegEx difficulties In-Reply-To: <009e01c3884e$16c769e0$6601a8c0@LightningFlash> Message-ID: <000e01c3884f$d3325170$64fea8c0@chris1> Thanks, Ken. That is exactly what I was looking for. Is that documented somewhere? It'd be handy to have some really good RegEx docs. I'm kind of new at it. Thanks again. Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Ken Ray Sent: Wednesday, October 01, 2003 12:59 PM To: use-revolution at lists.runrev.com Subject: RE: RegEx difficulties > if matchChunk(tStoryText, "(" & tWord & ")", > tStartChar, tEndChar) then > set the textStyle of char tStartChar to tEndChar of > field "myText" to empty > end if > > I need a RegEx string that will match only the whole word. > Kind of like the wholeMatches property works with the offset > functions. Is this possible? You better believe it, Chris. You can use the "\b" command which means "word boundary", like this: if matchChunk(tStoryText,"\b(" & tWord & ")\b",tStartChar,tEndChar) then Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jamesjrichards at lineone.net Wed Oct 1 14:36:03 2003 From: jamesjrichards at lineone.net (James Richards) Date: Wed Oct 1 14:36:03 2003 Subject: Free Revolution anyone? In-Reply-To: <200310011602.MAA19648@www.runrev.com> Message-ID: There's a competition on the MacUser (UK) site http://www.macuser.co.uk/?competitions/competitions_story.php?id=47988 James PS While you are there you could vote for Rev as best software product too - if you get there for the deadline - Thu 2 Oct. You'll need to have a hardware product and Mac reseller in mind too. http://www.macuser.co.uk/Competition/awardvote -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 From kray at sonsothunder.com Wed Oct 1 14:38:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 1 14:38:01 2003 Subject: snapshot on XP makes icons wink out In-Reply-To: <9F52B0B2-F442-11D7-9B7A-000A9567A3E6@swcp.com> Message-ID: <00a701c38851$e0a3b720$6601a8c0@LightningFlash> > So far RunRev and Ken Ray do not see this. Chipp Walters and > I do see this. Dar, Perhaps I'm not seeing it because I am looking in the wrong place or testing the wrong thing? I opened a new mainstack, imported a graphic and put it in the upper left corner of my stack, opened the message box, and typed: export snapshot of rect "0,0,100,100" to "C:\test.png" as PNG and I didn't notice any kind of flash... is there something else I should try? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at mindlube.com Wed Oct 1 14:44:03 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 14:44:03 2003 Subject: character sets- missing feature? In-Reply-To: <00a501c3884a$8ffee530$416db918@user> Message-ID: <068949CA-F446-11D7-8BE8-000393529642@mindlube.com> On Wednesday, October 1, 2003, at 12:33 PM, Tuviah Snyder wrote: > When you say Polish it maps to central european. Just like saying > japanese > maps to shift-JIS with uniencode. Aha! OK I'm starting to get it. uniEncode is a lot more powerful than I thought. So we've got: ANSI => ISO-8859 Polish => ISO-8859-2 But where can I learn about all the other ISO character set mappings that uniEncode offers? The "language" parameter of uniEncode is kind of vague. For instance the open file dialog in TextEdit.app offers 4 different encodings for "Arabic", 3 different encodings for "Thai", 4 different encodings for "Greek", and so on. Supposing all I know is the ISO-xxxx-x code, and I want to be able to display it as unicodeText property, I'm not sure it's possible with the uniEncode function. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Wed Oct 1 15:09:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 1 15:09:00 2003 Subject: Free Revolution anyone? In-Reply-To: Message-ID: <00b101c38856$33b63510$6601a8c0@LightningFlash> Don't forget, you need to be a UK citizen... (too bad for me; any chance Wisconsin could be annexed to Britain? ;-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > James Richards > Sent: Wednesday, October 01, 2003 2:23 PM > To: use-revolution at lists.runrev.com > Subject: Free Revolution anyone? > > > There's a competition on the MacUser (UK) site > http://www.macuser.co.uk/?competitions/competitions_story.php?id=47988 > > James > > PS While you are there you could vote for Rev as best > software product too - if you get there for the deadline - > Thu 2 Oct. You'll need to have a hardware product and Mac > reseller in mind too. http://www.macuser.co.uk/Competition/awardvote > -- > James J Richards > > jamesjrichards at lineone.net > > Tel. +44 (0)15394 43063 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From Tom.Cole at asu.edu Wed Oct 1 15:10:00 2003 From: Tom.Cole at asu.edu (Thomas Cole) Date: Wed Oct 1 15:10:00 2003 Subject: The close box Message-ID: <3996AE5EBEF964418D80953BDCABFF5606AB1DDE@ex1.asurite.ad.asu.edu> I want to write a script that executes when anyone clicks the little close box in the upper left in my standalone for Mac and on the right for Windows. Mac Users aren't accustomed to having the application quit when this box is clicked and there are places in my stack where instinct would have Windows users click it to get rid of something that looks like a window. I want this message to come up when that box is clicked: "Do you really want to quit the program?" with "Yes quit!" or "Cancel" I can't seem to find "on closebox" anywhere so I can do this. Thanks, Tom From dsc at swcp.com Wed Oct 1 15:10:14 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 1 15:10:14 2003 Subject: snapshot on XP makes icons wink out In-Reply-To: <00a701c38851$e0a3b720$6601a8c0@LightningFlash> Message-ID: On Wednesday, October 1, 2003, at 01:26 PM, Ken Ray wrote: > and typed: > > export snapshot of rect "0,0,100,100" to "C:\test.png" as PNG > > and I didn't notice any kind of flash... is there something else I > should try? I think that is it. For mine, I used the variable x, but I'm not real sure what that means in a message box. Dar From kray at sonsothunder.com Wed Oct 1 15:14:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 1 15:14:01 2003 Subject: RegEx difficulties In-Reply-To: <000e01c3884f$d3325170$64fea8c0@chris1> Message-ID: <00b901c38856$d7f0e6c0$6601a8c0@LightningFlash> www.pcre.org - it's all there (although it's a bit long-winded). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Chris Sheffield > Sent: Wednesday, October 01, 2003 2:11 PM > To: use-revolution at lists.runrev.com > Subject: RE: RegEx difficulties > > > Thanks, Ken. That is exactly what I was looking for. Is > that documented somewhere? It'd be handy to have some really > good RegEx docs. I'm kind of new at it. > > Thanks again. > > Chris Sheffield > Software Development > Read Naturally > csheffield at readnaturally.com > > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Ken Ray > Sent: Wednesday, October 01, 2003 12:59 PM > To: use-revolution at lists.runrev.com > Subject: RE: RegEx difficulties > > > if matchChunk(tStoryText, "(" & tWord & ")", > > tStartChar, tEndChar) then > > set the textStyle of char tStartChar to tEndChar of > > field "myText" to empty > > end if > > > > I need a RegEx string that will match only the whole word. > > Kind of like the wholeMatches property works with the offset > > functions. Is this possible? > > You better believe it, Chris. You can use the "\b" command > which means "word boundary", like this: > > if matchChunk(tStoryText,"\b(" & tWord & > ")\b",tStartChar,tEndChar) then > > > Have fun! > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > > > > _______________________________________________ > > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From klaus at major-k.de Wed Oct 1 15:19:00 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Oct 1 15:19:00 2003 Subject: The close box In-Reply-To: <3996AE5EBEF964418D80953BDCABFF5606AB1DDE@ex1.asurite.ad.asu.edu> Message-ID: Hi Thomas, > I want to write a script that executes when anyone clicks the little > close box in the upper left in my standalone for Mac and on the right > for Windows. Mac Users aren't accustomed to having the application > quit when this box is clicked and there are places in my stack where > instinct would have Windows users click it to get rid of something > that looks like a window. I want this message to come up when that box > is clicked: "Do you really want to quit the program?" with "Yes quit!" > or "Cancel" > I can't seem to find "on closebox" anywhere so I can do this. You are probably looking for "closestackrequest" ;-) > Thanks, > Tom Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Wed Oct 1 15:21:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 1 15:21:01 2003 Subject: RegEx difficulties In-Reply-To: <00b901c38856$d7f0e6c0$6601a8c0@LightningFlash> Message-ID: <000C77CB-F44B-11D7-9B7A-000A9567A3E6@swcp.com> On Wednesday, October 1, 2003, at 02:01 PM, Ken Ray wrote: > www.pcre.org - it's all there (although it's a bit long-winded). IIRC, the two man pages might be easier for Revolutionaries to read in reverse order. Dar Scott From pixelbird at interisland.net Wed Oct 1 16:14:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Oct 1 16:14:01 2003 Subject: Saving Preferences In-Reply-To: <200310010801.EAA06917@www.runrev.com> Message-ID: Hi Ken, Thanks for the Re. > From: "Ken Ray" > Subject: RE: Saving Preferences > Date: Wed, 1 Oct 2003 01:21:06 -0500 > Organization: Sons of Thunder Software >> Why throw away? Seems more laborious than just having a >> permanent Prefs substack (which would become its own Prefs >> file when building for distr., right?). > > True, but having it in an external file means that it is in a > user-readable form that can be modified externally by other programs or > by administrators without opening the stack each time. A lot of it > depends on who the application is going to (i.e. what market). ---------- Well, I meant for the Prefs substack to become a separate (external) file at build time. ---------- > Also, I haven't quite understood the advantage of developing with a > substack of a mainstack and then at the last minute breaking it out into > a separate stack... I would think that if I really wanted a substack to > be separate file, I would have started with it that way... > > Can someone enlighten me? ---------- I'd say it has to a lot to do with ease and speed of development and buildout. It also depends on content and intentions for use (memory and performance parameters). During development, a substack _feels_ much more integral to the project from a development standpoint. Knowing a substack can be its own environment, with cards, groups, backgrounds, menus, and objects, but, while in the IDE, it's easier and faster to test for interaction, tracking changes, and otherwise manipulate things relative to the Main stack. You can treat it simply as another hierarchical level, or as a separate file requiring a filepath, and you don't have to decide which works better until the project is near completion. If it performs better as an integral substack, and isn't likely to require updating, then leave it as an integral substack. If you need to update it, or work on it independently, then break it out as a separate file at build time. OTOH, if it's just text or images with no objects or anything, or your plans are such that you know it will be updated regularly, then it may be OK to start it off as a separate file. The problem would be that if, during development, you wanted to integrate it into the main project, it would take extra work to do that. HTH, Ken N. From st.king42 at ntlworld.com Wed Oct 1 16:27:00 2003 From: st.king42 at ntlworld.com (Stephen King) Date: Wed Oct 1 16:27:00 2003 Subject: Running Standalones from the windows desktop Message-ID: <002101c38861$2ab9a2c0$5602a8c0@Athalon> Hi All, I have a standalone that my installer places in c:\program files\app_name and also places a shortcut on the windows desktop. On first run, this app then copies or creates an ini and a datafile into its working directory (c:\program files\app_name). However, it doesn't. If run from the desktop, saving files simply as filename without path saves to the desktop, not to the working directory. Rev seems to know this and works happliy with these files on the desktop, but of course this is not what was intended and is rather messy. Running from the working directory saves these files in the working directory. Is there a way that Rev can pick up the real working directory rather than the desktop? (user has option to change the working directory on installation). Any help appreciated. Cheers Steve King From david at kwinter.ca Wed Oct 1 16:34:01 2003 From: david at kwinter.ca (David Kwinter) Date: Wed Oct 1 16:34:01 2003 Subject: Freeware testing request Message-ID: Dear Revolutionaries, I recently finished a fun little project made in Revolution. I've done some thorough bug testing but would like to invite anyone interested to try out the program and give their feedback. It's 100% free and available for OS X and Windows (only tested in XP so far). It's available at http://www.SofaKing.tv/ Please send feedback to my project's email address: yourhero at sofaking.tv Thanks for your time From rgmiller at pacbell.net Wed Oct 1 16:53:00 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Wed Oct 1 16:53:00 2003 Subject: Off Topic! Auto-opening scocket References: <200307112102.RAA28550@www.runrev.com> Message-ID: <3F7B49E9.8030701@pacbell.net> Revolvers, I have a poltergeist or gremlin running my Mac (MOS 9.9.2). I have DSL with SBC and I always close the DSL when I go off-line. Since yesterday afternoon, something is opening a socket to my server. Every 15 minutes, a socket is opened to SBC. At first I thought it was errant script dribbled into the stack I was working on or into the home stack. Today, I closed all apps except Launcher and Stickies and the dohicky strip at the bottom. At precisely 12:45 the socket opened. Every 15 minutes it opened again! I cleared all the cookies. I just check the cookie jar and appears normal except for a site called "atwola.com" Anyone got an inkling what's happening? Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From stephenREVOLUTION at barncard.com Wed Oct 1 17:00:02 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Wed Oct 1 17:00:02 2003 Subject: Off Topic! Auto-opening scocket Message-ID: Could be spyware, but most don't bother with Macs. Could it be the auto-time setting, or perhaps "software update" checking in? and of course Adobe and M$ products 'check in with headquarters' sometimes, but you said those were not running. >Revolvers, > >I have a poltergeist or gremlin running my Mac (MOS 9.9.2). > >I have DSL with SBC and I always close the DSL when I go off-line. >Since yesterday afternoon, something is opening a socket to my >server. Every 15 minutes, a socket is opened to SBC. > >At first I thought it was errant script dribbled into the stack I >was working on or into the home stack. Today, I closed all apps >except Launcher and Stickies and the dohicky strip at the bottom. At >precisely 12:45 the socket opened. Every 15 minutes it opened again! > >I cleared all the cookies. I just check the cookie jar and appears >normal except for a site called "atwola.com" > > >Anyone got an inkling what's happening? > >Ray G. Miller From alex at mindlube.com Wed Oct 1 17:03:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 17:03:01 2003 Subject: Running Standalones from the windows desktop In-Reply-To: <002101c38861$2ab9a2c0$5602a8c0@Athalon> Message-ID: <67C92E68-F459-11D7-8BE8-000393529642@mindlube.com> On Wednesday, October 1, 2003, at 03:15 PM, Stephen King wrote: > Is there a way that Rev can pick up the real working directory rather > than > the desktop? (user has option to change the working directory on > installation). You can inspect and modify Rev's concept of the working directory with the defaultFolder property. Also beware that Windows 2000 and XP don't allow apps to write to \Program Files\ except by administrator level users. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From stephenREVOLUTION at barncard.com Wed Oct 1 17:06:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Wed Oct 1 17:06:01 2003 Subject: Off Topic! Auto-opening scocket Message-ID: Check out "IPNETMONITOR" to keep an eye on things... Sustainable Softworks - great products designed by Peter Sichel, a foremost authority in Mac networking. http://www.sustworks.com/ >Revolvers, > >I have a poltergeist or gremlin running my Mac (MOS 9.9.2). > >I have DSL with SBC and I always close the DSL when I go off-line. >Since yesterday afternoon, something is opening a socket to my >server. Every 15 minutes, a socket is opened to SBC. From dsc at swcp.com Wed Oct 1 17:08:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 1 17:08:00 2003 Subject: character sets- missing feature? In-Reply-To: Message-ID: On Wednesday, October 1, 2003, at 12:05 PM, Alex Rice wrote: >> I suspect the mapping to unicode is straight-forward. You might be >> able to do this yourself. One of my references suggested that for >> many encodings all you have to do is change the high byte. I am >> pretty sure this is an oversimplification, but it does indicate that >> it may not require a table for random mapping. > > Really? I am kind of a character encoding neophyte- can you hook me up > with a reference or a couple of lines of code if you have something > in mind? I was wrong. You will need a small table. This is a handy reference: http://www.cs.tut.fi/~jkorpela/iso8859/ Note: "Upper half" means A0 (hex) and up. A mapping table is available. I'd use useUnicode and numToChar() to get the host byte order right. It might be almost as easy to make a conversion function for the entire ISO family. Off the top of my head, typed directly into mail: function ISO8859ToUnicode s member local unicodeResult, upperHalfTable buildISO8859Table upperHalfTable, member repeat for each char c in s set useUnicode to false put put charToNum(c) into code -- one-byte charToNum() if code <= 127 then set useUnicode to true put numToChar(code) after unicodeResult -- two-byte numToChar() else if code >= 160 then put upperHalfTable[c] after unicodeResult else throw "bad ISO8859 char!" end if end if end repeat return unicodeResult end ISO8859ToUnicode Just looking at this, I can see better ways to do this, but you get the idea. I left buildISO8859Table to you. Remember both keys and elements can be binary, so if you want (and I implied above) you can have one-byte keys and two-byte elements instead of code keys and elements. You might let empty (no entry) mean an error. If you do that, you can move those 'if's above to the table making handler. The table building will need to get the host ordering right if codes are not used. I just learning about unicode and ISO-8859, so watch out. Dar Scott From alex at mindlube.com Wed Oct 1 17:09:26 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 17:09:26 2003 Subject: Off Topic! Auto-opening scocket In-Reply-To: <3F7B49E9.8030701@pacbell.net> Message-ID: On Wednesday, October 1, 2003, at 03:40 PM, Ray G. Miller wrote: > > Anyone got an inkling what's happening? Extensions and Control Panels can access the Internet, in addition to regular user apps. Try using Conflict Catcher to turn of extensions, if you have it. Or look for new Extensions or Control Panels installed around the time the problem started and try disabling them (removing them from Extensions or the Control Panels folder) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From livfoss at blueyonder.co.uk Wed Oct 1 17:13:02 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed Oct 1 17:13:02 2003 Subject: I need Distribution Builder advice Message-ID: On Wed, 1 Oct 2003 12:15:00 -0600, Alex Rice wrote: > >Like Malte, I also construct my App bundles by hand on OS X. Because of >the new bundle/package format on OS X you are no longer dependent on >the compiler or resedit to create the application file. > >In addition to the other suggestions, here are some tips I thought of: > >1) I wrote a shell script to copy files, including my Rev standalone >executable, and my already existing app bundle. Then I double-click on >the bundle's Info.plist to edit the other bundle properties with the >PropertyListEditor.app > ># example shell script command to copy the executable file >cp >FacilityCa_MacOSX_Standalone/FacilityCalculator.app/Contents/MacOS/ >Revolution \ > NPSFacCalc/FacilityCalculator.app/Contents/MacOS/FacilityCalculator > > >2) Apple's Project Builder, although it is a compiler, also has really >flexible methods of creating application bundles, and has GUI forms for >a lot of the bundle properties. You can also add shell scripts to >customize the build process. One could use Project Builder to do >automate builds of app bundles, even if it's just collecting files from >various places and not really compiling any C/C++ code. Thanks to Alex and others who have replied so far: I am collecting all the material and I have some hopes of reaching a reasonable recipe for reliably generating an OSX standalone. But what I realise is that my real wish is that I should not have to understand the topics discussed above just to generate a standalone - I think that RunRev in its guise as a RAD tool should handle this for me. In an ideal world, I don't want to know what a plist is (nor what it contains), or what a shell is, or what a bundle is, or even that Apple's Project Builder exists (let alone having to find it and then learn how to use it), just as I don't want to see, still less analyse or alter, the code of the RunRev IDE, or on the Windows platform have to mess with the Registry. I admire people who do understand these things, and in my way I have been expert in similar arcane matters in other parts of my career (yes, I too was a geek and I was paid to be a geek), but now I want to use the power of RunRev to construct and then deploy apps across different platforms while being protected from the messy details. This to my mind is the true promise of Runtime Revolution for the majority of its potential users. So I want to see the whole standalone creation process smoother, more automated and more truly part of the RunRev experience. Meanwhile I am still eagerly collecting information. Rant over, I guess. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From pixelbird at interisland.net Wed Oct 1 17:19:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Oct 1 17:19:01 2003 Subject: Saving Preferences In-Reply-To: <200310011816.OAA26219@www.runrev.com> Message-ID: Hi Jan, > Date: Wed, 1 Oct 2003 10:52:38 -0700 (PDT) > From: Jan Schenkel > Subject: Re: Saving Preferences > Steer your copy of Revolution to the Transcript > Dictionary, and check out the 'invisible' clause for > the 'go'/'open' command :-) > > Hope this helped, ---------- Oh yes. Thanks. I didn't know it was there. Ken N. From alex at mindlube.com Wed Oct 1 17:20:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 17:20:01 2003 Subject: character sets- missing feature? In-Reply-To: Message-ID: On Wednesday, October 1, 2003, at 03:55 PM, Dar Scott wrote: > I just learning about unicode and ISO-8859, so watch out. Thanks for the starter, Dar. Although I just realized going character-wise for 1MB+ of text is not going to be practical, I don't think, so I hope to be able to get the engine to do it. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From pixelbird at interisland.net Wed Oct 1 17:28:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Oct 1 17:28:00 2003 Subject: QuickTime, text fields, closed captioning In-Reply-To: <200310011816.OAA26219@www.runrev.com> Message-ID: Hi Toma, > Date: Wed, 1 Oct 2003 20:04:37 +0200 > Subject: QuickTime, text fields, closed captioning > From: Toma Tasovac > Is it possible to have a transparent text field on top of a quicktime > movie, the way we can put a text field layer over an image? ---------- Why on top of? Is it critical to the way it looks? Does it have to _look_ like movie subtitles? Screen space issue? I'd just stick a field under the thing, coordinated with the movie. Easy to edit, stays out of the way of the visual part of the movie, things you can't easily do with a real film...the advantage of this venue for presentation. HTH, Ken N. From gdevore at mac.com Wed Oct 1 17:30:00 2003 From: gdevore at mac.com (Greg DeVore) Date: Wed Oct 1 17:30:00 2003 Subject: Modal stacks not working in OS 9 Message-ID: <42AE276C-F45D-11D7-8E04-000393D567AA@mac.com> Has anyone run into this problem? I have a handler in my program that modals a substack to allow the user to set a preference. It works fine under OS X. In OS 9 the stack opens up but then after a second it moves to the back behind the top stack. It is still open because the program won't allow you to interact with the main stack. To do anything you have to switch to another application and then return to the standalone, move the main stack and close the modal substack. I haven't tried this out to see if it is also a Windows issue. I just know that it is a problem under OS 9. Thanks, Greg DeVore From dsc at swcp.com Wed Oct 1 17:33:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 1 17:33:01 2003 Subject: character sets- missing feature? In-Reply-To: Message-ID: <96C0D01A-F45D-11D7-9B7A-000A9567A3E6@swcp.com> On Wednesday, October 1, 2003, at 04:08 PM, Alex Rice wrote: > Thanks for the starter, Dar. Although I just realized going > character-wise for 1MB+ of text is not going to be practical, I don't > think, so I hope to be able to get the engine to do it. But the engine won't do it until 2.1.1? Applescript to textEdit? Dar Scott From alex at mindlube.com Wed Oct 1 17:36:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 17:36:00 2003 Subject: I need Distribution Builder advice In-Reply-To: Message-ID: <12E249E1-F45E-11D7-8BE8-000393529642@mindlube.com> On Wednesday, October 1, 2003, at 04:01 PM, Graham Samuel wrote: > So I want to see the whole standalone creation process smoother, more > automated and more truly part of the RunRev experience. > > Meanwhile I am still eagerly collecting information. > > Rant over, I guess. File an enhancement request in bugzilla! You got my vote. But also I wanted to emphasize that the OS X app bundle scheme (and APIs not available from Rev) offers more flexibility and features than Revolution could possibly offer, at least in it's current incarnation. App bundles are used not only to store the executable file in, but to package resources, libraries, sounds, media, help files, and so forth. And maintain localized variations for all of the above. So: the OS X app bundle scheme is like your application delivery vehicle. So it's not just a hassle, it's also empowering. It could be worse- you could be forced to use ResEdit like in MacOS<10 days. Also- I do recommend installing the Free Mac OS X Developer CD even if you aren't a C programmer because it installs a number of useful utilities like IconComposer, PackageMaker, PropertyListEditor and about 20 others. HTH more :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From lists at mangomultimedia.com Wed Oct 1 17:38:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed Oct 1 17:38:01 2003 Subject: QuickTime, text fields, closed captioning In-Reply-To: Message-ID: <3B580C79-F45E-11D7-B69B-000A956C462A@mangomultimedia.com> On Wednesday, October 1, 2003, at 12:04 PM, Toma Tasovac wrote: > Is it possible to have a transparent text field on top of a quicktime > movie, the way we can put a text field layer over an image? if not -- > is there any way in revolution to fake closed captioning? (i know i > can do this in, say, LiveStage Pro, but I want to implement closed > captioning in such a way that the user can stop the movie at any > frame, and click on any words in the subtitle -- which Revolution > should then take care of, translate etc... Some others have mentioned the alwaysBuffer property. You can also use LiveStage and accomplish what you want. If you have access to Livestage Pro you can create the captioning in text tracks (LSP has a Media Synchronizer that might help) and then create links that within the text that call the DebugStr function. Revolution can trap DebugStr (QTDebugStr player message) messages from a QT movie and respond accordingly. I use this with QTVR and it works great. Keeping the captioning with the movie can be beneficial if you end up deploying the movie on the web as well. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Wed Oct 1 17:40:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 1 17:40:01 2003 Subject: Tip: A tutorial on character code issues Message-ID: I am finding this useful as I learn to exploit character encoding with Revolution: http://www.cs.tut.fi/~jkorpela/chars.html Dar Scott From monte at sweattechnologies.com Wed Oct 1 18:03:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Oct 1 18:03:00 2003 Subject: [ANN] libLinedFields In-Reply-To: Message-ID: > Monte, a very basic question: > > what does it mean when you say "start using the library"? I must say I > haven't used your libraries yet so I am confused. It means you insert the library into the message path use either: library "libLinedFields" or start using stack "libLinedFields" You can also use the Stacks In Use card of the message box. > > I used the ScriptLibraryInstaller.rev to create a userscript folder in > componentes/save. I then placed uLinedFields.rev in that folder, > restarted Revolution. I checked in Development -- Plugins > --revScriptLibrary to make sure that the library loads on startup. Yet > when I try the following script: > > set the uLinedField of fld "Field 1" to true > > - nothing happens. > > What am I missing? Start scrolling ;-) The library works for a scrolling field. If you don't have a scrolling field you could just use a static backgroundPattern on the field. Cheers Monte From rgmiller at pacbell.net Wed Oct 1 18:12:00 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Wed Oct 1 18:12:00 2003 Subject: Off Topic! Auto-opening socket References: <200310012102.RAA00926@www.runrev.com> Message-ID: <3F7B5C92.1020102@pacbell.net> From: Stephen Quinn Barncard Stephen said: > Could be spyware, but most don't bother with Macs. > Could it be the auto-time setting, or perhaps "software update" checking in? What is the "auto-time setting"? My browser is Netscape 7.0, and it is not running when the socket opens. > and of course Adobe and M$ products 'check in with headquarters' sometimes, but you said those were not running. I said: > I have DSL with SBC and I always close the DSL when I go off-line. >Since yesterday afternoon, something is opening a socket to my >server. Every 15 minutes, a socket is opened to SBC. > > Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From monte at sweattechnologies.com Wed Oct 1 19:06:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Oct 1 19:06:00 2003 Subject: [ANN] libLinedFields In-Reply-To: Message-ID: > > On Tuesday, September 30, 2003, at 11:20 PM, Monte Goulding wrote: > > > I just spent 1/2 an hour working out how to get decent looking > > alternate > > color lined fields in Rev. Then I spent another half an hour making a > > library out of it and uploading it to my rev site ;-) > > > > Take a look: www.sweattechnologies.com/rev > > Monte, > > This works great. Did a quick test and on OS X.2.6 the margins 2,3,2,8 > seemed to work best. If I didn't use 8 as the bottom margin then the > last line of text would get cut off. > I just fixed it so it can use markings of 8. It means there'a a little bit of grey just before the top line. Cheers Monte From ambassador at fourthworld.com Wed Oct 1 19:48:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Oct 1 19:48:00 2003 Subject: Off Topic! Auto-opening scocket In-Reply-To: <3F7B49E9.8030701@pacbell.net> Message-ID: Ray G. Miller wrote: > I have DSL with SBC and I always close the DSL when I go off-line. Since > yesterday afternoon, something is opening a socket to my server. Every > 15 minutes, a socket is opened to SBC. If you have a licensed copy of the ultra-cool FTP tool Interarchy, part of its coolness is one of its most powerful but seldom-needed features: it lets you log all Internet activity in and out of your Mac. (For the record I don't have any business relationship with Interarchy, just a deep appreciation for a solid tool sold at a good price.) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Wed Oct 1 19:53:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Oct 1 19:53:00 2003 Subject: I need Distribution Builder advice In-Reply-To: Message-ID: Graham Samuel wrote: > I admire people who do understand these things, and in my way I have > been expert in similar arcane matters in other parts of my career > (yes, I too was a geek and I was paid to be a geek), but now I want > to use the power of RunRev to construct and then deploy apps across > different platforms while being protected from the messy details. If you need to get messy, Apple explains how here: Fortunately that document doesn't appear to have been written bythe same folks who wrote the Inside Mac chapter on Apple events, i.e., it's readable. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From pixelbird at interisland.net Wed Oct 1 21:54:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Oct 1 21:54:01 2003 Subject: QuickTime, text fields, closed captioning In-Reply-To: <200310011816.OAA26219@www.runrev.com> Message-ID: Hello again Toma, > Date: Wed, 1 Oct 2003 20:04:37 +0200 > Subject: QuickTime, text fields, closed captioning > From: Toma Tasovac > > Is it possible to have a transparent text field on top of a quicktime > movie, the way we can put a text field layer over an image? if not -- > is there any way in revolution to fake closed captioning? (i know i > can do this in, say, LiveStage Pro, but I want to implement closed > captioning in such a way that the user can stop the movie at any frame, > and click on any words in the subtitle -- which Revolution should then > take care of, translate etc... ----------- OK forget about the standard fields. You want a QT text track. Simple to create in QT Pro. You don't really need LSP except, as Trevor says, it has a way to synch text tracks. What you should have, though, is QT Pro: This Apple tutorial: This captioning tutorial: HTH, Ken N. From alex at mindlube.com Wed Oct 1 23:07:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 1 23:07:01 2003 Subject: character sets- missing feature? In-Reply-To: <96C0D01A-F45D-11D7-9B7A-000A9567A3E6@swcp.com> Message-ID: <3A186834-F48C-11D7-9A28-000393529642@mindlube.com> On Wednesday, October 1, 2003, at 04:21 PM, Dar Scott wrote: > > But the engine won't do it until 2.1.1? It won't do Polish until 2.1.1- that's OK my app isn't finished yet and Polish is a very very small proportion of the files. But I haven't done much testing to see exactly how many weird character encodings I have to deal with. I think the current uniEncode will cover most but not all of the app's encoding needs. > Applescript to textEdit? Or applescript to Safari- but if it comes to that I will put up a dialog for the user- here is the filename, here is what the text encoding might be, now knock yourself out, then hit reload here. :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From m.young at mac.com Wed Oct 1 23:23:01 2003 From: m.young at mac.com (Michael Young) Date: Wed Oct 1 23:23:01 2003 Subject: array on card In-Reply-To: <200310010801.EAA06917@www.runrev.com> Message-ID: <832B3F91-F48E-11D7-8F94-000A956A6E6C@mac.com> I apologize if the answer to this question is terribly obvious, but I would appreciate some help. How can I put an expandable indexed array as an object on a card. For those few who have heard of LabVIEW I am looking for something equivalent to how it handles array display. It looks something like this: ______ _____________ ^ | index | | element | ---------- ----------------------- column 1: up down arrows (I did not know how to mimic down arrows.) column 2: index number column 3: indexed array element It would also be great if element could show multiple indexed elements in an expandable vertical column. Thanks for any help. Michael myoung at ieee.org From chipp at chipp.com Wed Oct 1 23:41:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Oct 1 23:41:00 2003 Subject: snapshot on XP makes icons wink out In-Reply-To: <484EEE10-F3CF-11D7-9B4A-000A9567A3E6@swcp.com> Message-ID: Dar, I did this: Create new stack with a button with the following script: on mouseUp import snapshot from rect the screenrect delete last img end mouseUp position the stack so you can see the icons on the desktop Click the button. Screen flashes and icons redraw. This happens on 4 of 4 WinXP machines. best, Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dar Scott > Sent: Wednesday, October 01, 2003 12:23 AM > To: use-revolution at lists.runrev.com > Subject: Re: snapshot on XP makes icons wink out > > > > On Tuesday, September 30, 2003, at 10:41 PM, Chipp Walters wrote: > > > Yep, this is the existing behavior. The desktop is redrawn each time a > > snapshot is created. I've mentioned this before as well, and would > > like to > > see it fixed. > > I bugzilla'd this, but it is in _worksforme_. Ken Ray didn't see > this either. What video card do you have? > > > > > On slower machines, some of the windows don't even finish redrawing by > > the > > time the snapshot is taken. > > I have seen the missing image in repeated snapshots, but I had assumed > the redrawing was from the previous snapshot. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Oct 1 23:42:30 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Oct 1 23:42:30 2003 Subject: Window's Icon In-Reply-To: <13660B16-F36B-11D7-B0AE-000393A19046@earthlink.net> Message-ID: Hi Bob, I've found RR2.1 won't build using a document icon. It works if you apply only an application icon, but if you add a document icon, it won't build the standalone. I've bugzilla'd this. -Chipp From st.king42 at ntlworld.com Thu Oct 2 00:57:01 2003 From: st.king42 at ntlworld.com (Stephen King) Date: Thu Oct 2 00:57:01 2003 Subject: Running Standalones from the windows desktop - solved Message-ID: <000b01c388a8$5fca42c0$5602a8c0@Athalon> Thanks Alex, Actually my real problem was why Rev was doing this (ie not picking up the correct working directory). However, found it was not Rev. My installer was not setting the 'Start in' parameter of the shortcut, so the standalone was only pickup up the exe from the app dir, then running on the desktop. Being a single exe, there were no errors produced. Lesson learned here. Cheers Steve >>>>>>>.. On Wednesday, October 1, 2003, at 03:15 PM, Stephen King wrote: > Is there a way that Rev can pick up the real working directory rather > than > the desktop? (user has option to change the working directory on > installation). You can inspect and modify Rev's concept of the working directory with the defaultFolder property. Also beware that Windows 2000 and XP don't allow apps to write to \Program Files\ except by administrator level users. Alex Rice | Mindlube Software | http://mindlube.com >>>>>>>>>>>. From alex at mindlube.com Thu Oct 2 01:13:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Oct 2 01:13:01 2003 Subject: [OT] aspiring game developers Message-ID: Check out (as seen on TechTV this week) Dozens of simple, unique Flash games. Every single one is stunningly beautiful. The reason I hope Rev gets antialiased graphics one day, is so games like this will be possible in Rev. Although I can only hope to one day be such a good graphic artist as Ferry Halim. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Thu Oct 2 01:25:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Oct 2 01:25:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: <8C76E691-F49F-11D7-9B7A-000A9567A3E6@swcp.com> On Monday, September 29, 2003, at 02:45 PM, Dar Scott wrote: > The biggest part of that is not the method or the speed, but the > logistics of keeping up with signatures and the like to allow users to > verify the integrity of the module. Users will need to depend on the > integrity of signers and either their experience and dedication to > managing signed code or the review-ability of the code. To me, this > means that initial encryption modules must be in Transcript, but I > would consider an external. Another possibility would be external > programs run by shell for some needs. I change my mind slightly. There are some memory handling benefits to an external. I would move to the front an external that references a signed and well established dll or similar library. Dar Scott From ttasovac at princeton.edu Thu Oct 2 01:42:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Thu Oct 2 01:42:01 2003 Subject: QuickTime, text fields, closed captioning In-Reply-To: Message-ID: Many thanks to Richard, Ken and Trevor for their illuminating comments and suggestions. I'm looking forward to exploring the options I have now... All best, Toma From stephenIC at barncard.com Thu Oct 2 02:15:02 2003 From: stephenIC at barncard.com (Stephen Quinn Barncard) Date: Thu Oct 2 02:15:02 2003 Subject: Off Topic! Auto-opening scocket Message-ID: Check out "IPNETMONITOR" to keep an eye on things... Sustainable Softworks - great products designed by Peter Sichel, a foremost authority in Mac networking. http://www.sustworks.com/ >Revolvers, > >I have a poltergeist or gremlin running my Mac (MOS 9.9.2). > >I have DSL with SBC and I always close the DSL when I go off-line. >Since yesterday afternoon, something is opening a socket to my >server. Every 15 minutes, a socket is opened to SBC. From k.r.hauge at east.uio.no Thu Oct 2 02:44:00 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Thu Oct 2 02:44:00 2003 Subject: QuickTime, text fields, closed captioning In-Reply-To: References: Message-ID: >You don't really need LSP except, as Trevor says, it has a way to synch text >tracks. What you should have, though, is QT Pro: ...but be aware that Unicode, if you should need that, is broken in QuickTime 6.3 for the Mac. A fix has been promised for the next update (propably due in Panther). -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From scott at tactilemedia.com Thu Oct 2 03:36:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Oct 2 03:36:01 2003 Subject: [OT] aspiring game developers In-Reply-To: Message-ID: > The reason I hope Rev gets antialiased graphics one day, is so games > like this will be possible in Rev. Although I can only hope to one day > be such a good graphic artist as Ferry Halim. Not OT at all. If you keep your sprite images pretty small (as is done on the Flash site you mentioned), you can do pretty well with Rev in its current state. PNGs and GIFs, as well as draw graphics, will work fine. Before Rev even existed I did some game experiments in MetaCard that moved 9 to 12 *image* (not vector) sprites simultaneously and pretty smoothly on a card. Another experiment moved around 40 animated GIF objects simultaneously on a card while also playing their animations -- interestingly, this worked fine on Macs and Win2K/XP but blew gaskets on Win98. A fast video card seems to be key here, more so than processor speed. Rev also seems to bog down when calculating translucency. Anything that has varying degrees of transparency can make movement slow down, so while it will be great when Rev gets antialiased vectors, they're not going to be much use for games unless the transparency calculations can be speeded up. Geoff Canyon has also done some phenomenal (and I do mean phenomenal) game stuff with vectors. I'm hoping he'll post his experiments and formulas sometime. FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From wmb at internettrainer.com Thu Oct 2 04:02:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Oct 2 04:02:01 2003 Subject: transparent graphic with border visible, windows In-Reply-To: Message-ID: <7B31963A-F4B5-11D7-91D0-003065430226@internettrainer.com> On Dienstag, Sep 30, 2003, at 14:51 Europe/Vienna, Howard Bornstein wrote: >> This works perfectly on the MAc a blank area on a blank ground you >> can see nothing but on windows (builds) you see a ugly grey >> rectangle. > > Make sure that the ShowFocusBorder is set to false. I've found that on > Windows, this shows up as a black or gray rectangle. Unfortunately, > you don't see this with any of the Look and Feel options. Hi Howard, thanks for the tip, but it did not helped in my case. I have also a grey (card)background only on Win and only in one stack. Any other ideas...? regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From ludovic.thebault at laposte.net Thu Oct 2 07:16:00 2003 From: ludovic.thebault at laposte.net (Ludovic Thebault) Date: Thu Oct 2 07:16:00 2003 Subject: Stack In-Reply-To: <20030529200840.15247.qmail@web11901.mail.yahoo.com> References: <20030529200840.15247.qmail@web11901.mail.yahoo.com> Message-ID: <3F7C1458.5090002@laposte.net> Hello, I want to display a little substack with a normal title bar (with closebox) but i want to block the possibility to enable other windows. In some, i want the same behavior as modal or palette windows but with a "real" windows. It is possible ? Thanks and sorry for my english. From xbury.cs at clearstream.com Thu Oct 2 07:30:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu Oct 2 07:30:01 2003 Subject: Stack Message-ID: You'll have to play with the decorations. As far as being modeless, you'll have to handle the events to prevent other windows coming on top (for example...). this may require a bit of frontscripts and relative head-aches... ;) As far as your english, I wouldn't worry, it was quite clear! I've seen far worse from so called pros... ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 Ludovic Thebault Sent by: use-revolution-admin at lists.runrev.com 02/10/03 14:04 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Stack Hello, I want to display a little substack with a normal title bar (with closebox) but i want to block the possibility to enable other windows. In some, i want the same behavior as modal or palette windows but with a "real" windows. It is possible ? Thanks and sorry for my english. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Thu Oct 2 08:24:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Oct 2 08:24:00 2003 Subject: array on card In-Reply-To: <832B3F91-F48E-11D7-8F94-000A956A6E6C@mac.com> Message-ID: <1E510F37-F4DA-11D7-9DD9-000A9567A3E6@swcp.com> On Wednesday, October 1, 2003, at 10:11 PM, Michael Young wrote: > How can I put an expandable indexed array as an object on a card. For > those few who have heard of LabVIEW I am looking for something > equivalent to how it handles array display. I know what you mean. At one time almost all I made was in LabVIEW. I don't know of a direct way to do what you want. I think it is possible to make a custom control to do what you want, but that might take some work. You might be better off looking for a way to address your immediate need. What control or indicator were you thinking for your array element? Can you get by with a fixed number of displayed elements? Dar Scott From kodel at terra.com.br Thu Oct 2 08:49:02 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Thu Oct 2 08:49:02 2003 Subject: 'bout Revolution and FireBird Message-ID: <003f01c388ea$5d06fe10$0100a8c0@avatar> I was developing a commercial system in VB 6, but many clients request me Linux compatibility, which I can't achieve with VB, then, I found Revolution and downloaded a trial version to see its capabilities... I already know that Revolution have support for MySQL and ODBC, but I using FireBird (a Interbase compatible database engine). In Windows, I have an OCX DLL that implement ODBC with FireBird (and thus, allowing VB access to FireBird). But, I don't know how this work on Linux systems... It will be possible to use FireBird on Linux, or even ODBC? Any help on this issue will be welcome... ;-) Thanx in advance, Tenebree Software http://www.tenebree.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From themacguy at macosx.com Thu Oct 2 10:00:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Oct 2 10:00:01 2003 Subject: Running Standalones from the windows desktop - solved In-Reply-To: <200310021133.HAA27142@www.runrev.com> Message-ID: <6FE2F3B5-F4E7-11D7-833B-000A95763ABC@macosx.com> So, unless the user is the admin (or has admin auth's), my app won't be able to write to any stacks located in my app's folder (assuming it's been installed in the /Programs directory)? I would need to move (or copy) the stacks to /My Documents (or another folder owned by the user)? Thanks, Barry On Thursday, Oct 2, 2003, at 05:33 America/Denver: > You can inspect and modify Rev's concept of the working directory with > the defaultFolder property. > > Also beware that Windows 2000 and XP don't allow apps to write to > \Program Files\ except by administrator level users. From alptex2 at orwell.net Thu Oct 2 10:44:01 2003 From: alptex2 at orwell.net (T. R. Ponn) Date: Thu Oct 2 10:44:01 2003 Subject: Screen snapshot troubles Message-ID: <3F7C4516.2020809@orwell.net> Hello all! Developing a standalone with Mac OS 9.2.2 and Rev1.1.1 I'm having a small problem with taking a screenshot of the cards of my app. What I'm trying to accomplish is this... My app has MANY settings and options for the user to make. If things don't work out correctly for him, I wanted an easy way for him to send me a screenshot, so that I could help him. So, when I do this: import snapshot from rectangle 85,80,695,565 export JPEG to URL "binfile:MainPageSnap.jpg" delete last image This works fine except you see a momentary "offsetting" of the image on the screen. Being picky, I thought I would add a simple lockScreen...so...I end up with: lock screen import snapshot from rectangle 85,80,695,565 export JPEG to URL "binfile:MainPageSnap.jpg" delete last image This results in an image that is just a large, solid purple block the size of the screen...with all the details gone. This happens from the IDE, I haven't tried it with a standalone yet...but I can't imagine it will improve. What's up with this? Any ideas? Thanks in advance for your help! Best Regards, Tim Ponn From psahores at easynet.fr Thu Oct 2 11:01:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Thu Oct 2 11:01:00 2003 Subject: 'bout Revolution and FireBird In-Reply-To: <003f01c388ea$5d06fe10$0100a8c0@avatar> References: <003f01c388ea$5d06fe10$0100a8c0@avatar> Message-ID: <1065109808.3664.35.camel@www.kmax.ici> Hi J?lio, Revolution is full featured to let us build fine web's/erp's clients and server side applications. I used Metacard and Revolution extensively since 98 in this way with full satisfaction. There are, for yet, two ways you can use to connect Revolution to FireBird (in between, FB is a great acid compliant db !) : - the build-in "RevDB" library to connect both Rev's client-side front-end, via "POST method" requests to your remote or localhost server - the build-in shell() command in sending direct SQL's statements to the FireBird command-line client via "pipe" statements. This way can be usefull to bind server-side Rev's apps to your FireBird back-end (in root mode). It's the way i used for years, before Tuviah did the RevDB lib available to us (Rev 1.1.1 and above). I would recommand you to use the first way, even if the second, i used extensively (Linux/OSX, Apache, MC/RR, PostgreSQL) for years, can be usefull too, if needed. See below an example of code you can test and adapt to your own needs : > put "psql -h localhost projecoles -U postgres" into PgPath > put shell("echo" && quote & "select * from etablist order by etab0011" && quote && "|" && PgPath) into AccPpx Have fun ! Bests, Pierre Le jeu 02/10/2003 ? 15:37, J?lio C?sar K?del a ?crit : > I was developing a commercial system in VB 6, but many clients request > me Linux compatibility, which I can't achieve with VB, then, I found > Revolution and downloaded a trial version to see its capabilities... I > already know that Revolution have support for MySQL and ODBC, but I > using FireBird (a Interbase compatible database engine). In Windows, I > have an OCX DLL that implement ODBC with FireBird (and thus, allowing > VB access to FireBird). But, I don't know how this work on Linux > systems... It will be possible to use FireBird on Linux, or even ODBC? > Any help on this issue will be welcome... ;-) > > Thanx in advance, > Tenebree Software > http://www.tenebree.com > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From alex at mindlube.com Thu Oct 2 11:10:00 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Oct 2 11:10:00 2003 Subject: [OT] aspiring game developers In-Reply-To: Message-ID: <4AEE549A-F4F1-11D7-A55E-000393529642@mindlube.com> On Thursday, October 2, 2003, at 02:24 AM, Scott Rossi wrote: > > Geoff Canyon has also done some phenomenal (and I do mean phenomenal) > game > stuff with vectors. I'm hoping he'll post his experiments and formulas > sometime. Hear hear! Thanks for the tips Scott- it does sound encouraging. What about the game Bubble Bees on Orisinal? When you draw a bubble it seems to render the bubble with vector graphics, with some kind of lense flare effect. The bubble has a very fine look. Also how do you think Flash and Rev stack up performance wise- for graphics, video and audio? Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Thu Oct 2 11:13:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Oct 2 11:13:00 2003 Subject: [OT] aspiring game developers In-Reply-To: Message-ID: On Thursday, October 2, 2003, at 12:02 AM, Alex Rice wrote: > The reason I hope Rev gets antialiased graphics one day, is so games > like this will be possible in Rev. Wouldn't fast image processing do what is needed? Very little of what I saw involved any straight lines. Dar Scott From psahores at easynet.fr Thu Oct 2 11:13:06 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Thu Oct 2 11:13:06 2003 Subject: [Fwd: Re: 'bout Revolution and FireBird] Message-ID: <1065110501.3664.46.camel@www.kmax.ici> Julio, I encourage you to ask more about RevDB to Tuviah Snyder (RunRev's technical manager and RevDB developer). -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" -------------- next part -------------- An embedded message was scrubbed... From: Pierre Sahores Subject: Re: 'bout Revolution and FireBird Date: 02 Oct 2003 17:50:09 +0200 Size: 4912 URL: From alex at mindlube.com Thu Oct 2 11:21:00 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Oct 2 11:21:00 2003 Subject: Stack In-Reply-To: <3F7C1458.5090002@laposte.net> Message-ID: On Thursday, October 2, 2003, at 06:04 AM, Ludovic Thebault wrote: > Hello, > > I want to display a little substack with a normal title bar (with > closebox) but i want to block the possibility to enable other windows. > In some, i want the same behavior as modal or palette windows but with > a "real" windows. > It is possible ? I think you want the default window docorations, but do go "stackName" as modal -- OR modal "stackName" Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Thu Oct 2 11:22:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Oct 2 11:22:00 2003 Subject: [OT] aspiring game developers In-Reply-To: <4AEE549A-F4F1-11D7-A55E-000393529642@mindlube.com> Message-ID: <048CBED3-F4F3-11D7-9DD9-000A9567A3E6@swcp.com> On Thursday, October 2, 2003, at 09:58 AM, Alex Rice wrote: > What about the game Bubble Bees on Orisinal? When you draw a bubble it > seems to render the bubble with vector graphics, with some kind of > lense flare effect. The bubble has a very fine look. The aiming line in Bauns looks like vector graphics and it is smooth, I think. Dar Scott From alex at mindlube.com Thu Oct 2 11:25:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Oct 2 11:25:01 2003 Subject: Running Standalones from the windows desktop - solved In-Reply-To: <6FE2F3B5-F4E7-11D7-833B-000A95763ABC@macosx.com> Message-ID: <57E5987C-F4F3-11D7-A55E-000393529642@mindlube.com> On Thursday, October 2, 2003, at 08:48 AM, Barry Levine wrote: > So, unless the user is the admin (or has admin auth's), my app won't > be able to write to any stacks located in my app's folder (assuming > it's been installed in the /Programs directory)? Right > I would need to move (or copy) the stacks to /My Documents (or another > folder owned by the user)? Yep- but a better place is Documents and Settings/USER/Application Data/YourApp/xxx, unless it's really a document-oriented app. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ttasovac at princeton.edu Thu Oct 2 11:32:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Thu Oct 2 11:32:01 2003 Subject: callbacks behavior after movie restart Message-ID: <6017395D-F4EE-11D7-A62A-000393D60E0C@princeton.edu> I am using a quicktime clip with callbacks. On each callback, a message is sent and a line of text is displayed in a field, all very straightforward on message1 put "blah" in fld "blah" end message1 on message2 put "something" in fld "blah" end message2 When the user stops the movie, the current text remains in the text field as it should, but when the user starts the movie again, the engine will "fast forward" through all the text lines from the beginning of the clip until the current text, displaying all of them for a split second. Is this a bug and is there a workaround? How do I avoid all the previous callback messages being sent when the movie starts playing from a certain point? All best, Toma From rgould8 at aol.com Thu Oct 2 11:43:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Thu Oct 2 11:43:01 2003 Subject: "Launch" command on Mac OS X Message-ID: <3F7C52CE.6090603@aol.com> An HTML attachment was scrubbed... URL: From alex at mindlube.com Thu Oct 2 11:48:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Oct 2 11:48:01 2003 Subject: [OT] aspiring game developers In-Reply-To: Message-ID: <771FFD30-F4F6-11D7-A55E-000393529642@mindlube.com> On Thursday, October 2, 2003, at 10:01 AM, Dar Scott wrote: > Wouldn't fast image processing do what is needed? Very little of what > I saw involved any straight lines. Although most of the games on Orisinal do use bitmap images for characters and backgrounds and such, most all of them do use some drawing methods- curves, lines, tweens etc. - which is where the antialiasing really makes it look fine. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From livfoss at blueyonder.co.uk Thu Oct 2 12:22:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Oct 2 12:22:01 2003 Subject: I need Distribution Builder advice Message-ID: On Wed, 01 Oct 2003 17:41:19 -0700, Richard Gaskin wrote: >I had writen: > >I want > > to use the power of RunRev to construct and then deploy apps across >> different platforms while being protected from the messy details. > >If you need to get messy, Apple explains how here: >undles/chapter_5_section_1.html> > >Fortunately that document doesn't appear to have been written bythe same >folks who wrote the Inside Mac chapter on Apple events, i.e., it's readable. Thanks very much for the ref Richard, it does look comprehensible at first glance - I guess I will have to wade in... but it does rather let down the charm of RunRev. As I wrote recently elsewhere, I am old enough to remember what programming was like in the dark ages before GUIs and where a command line interface at least told you there was an Operating System in the machine somewhere, but was nevertheless a dog to use - productivity in applications development was orders of magnitude less than it is today. I just want to avoid anything that takes me back to geekland. I have absolutely no nostalgia for those days of heroic difficulty. Life is just too short. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From ambassador at fourthworld.com Thu Oct 2 12:38:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Oct 2 12:38:01 2003 Subject: I need Distribution Builder advice In-Reply-To: Message-ID: Graham Samuel wrote: > Thanks very much for the ref Richard, it does look comprehensible at > first glance - I guess I will have to wade in... but it does rather > let down the charm of RunRev. I don't see why that must be the case. As a SuperCard user who's built standalones under Classic you've had to deal with ResEdit, modifying 'BNDL' resources and other arcana. With OS X the steps are nearly the same but can be done with any text editor instead of a specialized geek tool. And while there may be some elements of OS X builds that Rev has not yet fully automated, for many standalones it does an adequate job with no manual plist editing at all. The biggest problem when migrating from other tools is that in most cases it's been so long since that tool was learned that the steep curve has long since been forgotten, being mistakenly remembered as "inuitive". Very little about building applications is truly intuitive with any tool, since the art of developing software involves stepping behind the curtain to see how the magic's done. Rev does as least as good a job as anything before it, and arguably more so in many cases. Think back to the first time you booted ResEdit.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Oct 2 12:49:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Oct 2 12:49:00 2003 Subject: Running Standalones from the windows desktop - solved In-Reply-To: <57E5987C-F4F3-11D7-A55E-000393529642@mindlube.com> Message-ID: Alex Rice wrote: >> I would need to move (or copy) the stacks to /My Documents (or another >> folder owned by the user)? > > Yep- but a better place is Documents and Settings/USER/Application > Data/YourApp/xxx, unless it's really a document-oriented app. This raises a question about the Distro Builder feature of automatically moving substacks into separate stack files: if it requires admin privileges on modern OSes to update them what's the benefit? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rgmiller at pacbell.net Thu Oct 2 13:09:00 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Thu Oct 2 13:09:00 2003 Subject: use-revolution digest, Vol 1 #1983 - 17 msgs References: <200310021133.HAA27102@www.runrev.com> Message-ID: <3F7C6722.5040105@pacbell.net> Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From psahores at easynet.fr Thu Oct 2 13:14:02 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Thu Oct 2 13:14:02 2003 Subject: 'bout Revolution and FireBird] In-Reply-To: <007801c38900$badc2220$0100a8c0@avatar> References: <1065110501.3664.46.camel@www.kmax.ici> <007801c38900$badc2220$0100a8c0@avatar> Message-ID: <1065117734.3663.61.camel@www.kmax.ici> J?lio, Le jeu 02/10/2003 ? 18:17, J?lio C?sar K?del a ?crit : > Thanx for the tip... I was thinking in some more, how could I say, easy, he > he he (something like ADO), About "something like ADO", sorry, i forgot to say, explicitly, that RevDB supports natively ODBC. Just pick the "Database Query Builder" item from the "Tools" menu and fill the needed fields to connect your Firebird backend in ticks ;-) > but I'll try to contact him... Thank you very > much for the help... I'm analysing a lot of languages (including RealBasic, > wich doesn't have Linux support yet), and Revolution seems to be a perfect > tool for my little program. You welcome, Pierre > > Best Regards, > > ----- Original Message ----- > From: "Pierre Sahores" > To: > Sent: Thursday, October 02, 2003 1:01 PM > Subject: [Fwd: Re: 'bout Revolution and FireBird] > > > Julio, > > I encourage you to ask more about RevDB to Tuviah Snyder (RunRev's > technical manager and RevDB developer). > -- > Bien cordialement, Pierre Sahores > > 100, rue de Paris > F - 77140 Nemours > > GSM: +33 6 03 95 77 70 > Pro: +33 1 41 60 52 68 > Dom: +33 1 64 45 05 33 > Fax: +33 1 64 45 05 33 > > Inspection acad?mique de Seine-Saint-Denis > Applications et SGBD ACID SQL (WEB et PGI) > Penser et produire "delta de rentabilit?" > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Verso: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From rgmiller at pacbell.net Thu Oct 2 13:14:07 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Thu Oct 2 13:14:07 2003 Subject: Off Topic! Auto-opening socket References: <200310021133.HAA27102@www.runrev.com> Message-ID: <3F7C6820.30703@pacbell.net> From: Richard Gaskin > > Ray G. Miller wrote: > > >>I have DSL with SBC and I always close the DSL when I go off-line. Since >>yesterday afternoon, something is opening a socket to my server. Every >>15 minutes, a socket is opened to SBC. > > > If you have a licensed copy of the ultra-cool FTP tool Interarchy, part of > its coolness is one of its most powerful but seldom-needed features: it > lets you log all Internet activity in and out of your Mac. > > (For the record I don't have any business relationship with Interarchy, just > a deep appreciation for a solid tool sold at a good price.) > Thanks Stephen & Richard, I just bought the InetSentry and I also have the Interarchy app (but I've never used it.) I'll try out both to see what the name of the gremlin is called. Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From kodel at terra.com.br Thu Oct 2 14:00:00 2003 From: kodel at terra.com.br (=?UTF-8?B?SsO6bGlvIEPDqXNhciBLw7ZkZWw=?=) Date: Thu Oct 2 14:00:00 2003 Subject: 'bout Revolution and FireBird] References: <1065110501.3664.46.camel@www.kmax.ici> <007801c38900$badc2220$0100a8c0@avatar> <1065117734.3663.61.camel@www.kmax.ici> Message-ID: <002001c38915$d4636c70$0100a8c0@avatar> I was testing some things here... I'm a bit confuse... What I need is: A "remote" database engine, available for Revolution. In the actual project (VB6), I have the FireBird installed in one machine (the server) and I connect the client machine with a connection-string, which contains the "provider" (ODBC), "host", "user" and "password" parameters. In Revolution, ODBC works with DSN, but ODBC Manager doesn't create DSNs for remote databases (or am I wrong?). For me, I would install MySQL and work with it, 'cos it's a great engine, but, for my costumers, the MySQL download and installation result in a "I won't use this software because is huge and complicated to install". =\ Firebird is my choice because it's small and it's a "point-and-click" install... I didn't see yet a possibility to make Revolution make the life of my costumer easier... =( ----- Original Message ----- From: "Pierre Sahores" To: "J?lio C?sar K?del" ; Sent: Thursday, October 02, 2003 3:02 PM Subject: Re: Re: 'bout Revolution and FireBird] > J?lio, > > Le jeu 02/10/2003 ? 18:17, J?lio C?sar K?del a ?crit : > > Thanx for the tip... I was thinking in some more, how could I say, easy, he > > he he (something like ADO), > > About "something like ADO", sorry, i forgot to say, explicitly, that > RevDB supports natively ODBC. Just pick the "Database Query Builder" > item from the "Tools" menu and fill the needed fields to connect your > Firebird backend in ticks ;-) > > > but I'll try to contact him... Thank you very > > much for the help... I'm analysing a lot of languages (including RealBasic, > > wich doesn't have Linux support yet), and Revolution seems to be a perfect > > tool for my little program. > > You welcome, Pierre > > > > Best Regards, > > > > ----- Original Message ----- > > From: "Pierre Sahores" > > To: > > Sent: Thursday, October 02, 2003 1:01 PM > > Subject: [Fwd: Re: 'bout Revolution and FireBird] > > > > > > Julio, > > > > I encourage you to ask more about RevDB to Tuviah Snyder (RunRev's > > technical manager and RevDB developer). > > -- > > Bien cordialement, Pierre Sahores > > > > 100, rue de Paris > > F - 77140 Nemours > > > > GSM: +33 6 03 95 77 70 > > Pro: +33 1 41 60 52 68 > > Dom: +33 1 64 45 05 33 > > Fax: +33 1 64 45 05 33 > > > > Inspection acad?mique de Seine-Saint-Denis > > Applications et SGBD ACID SQL (WEB et PGI) > > Penser et produire "delta de rentabilit?" > > > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > > Scan engine: VirusScan / Atualizado em 01/10/2003 / Verso: 1.4.0 > > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > > > > > -- > Bien cordialement, Pierre Sahores > > 100, rue de Paris > F - 77140 Nemours > > GSM: +33 6 03 95 77 70 > Pro: +33 1 41 60 52 68 > Dom: +33 1 64 45 05 33 > Fax: +33 1 64 45 05 33 > > Inspection acad?mique de Seine-Saint-Denis > Applications et SGBD ACID SQL (WEB et PGI) > Penser et produire "delta de rentabilit?" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Verso: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From revolution at knowledgeworks.plus.com Thu Oct 2 14:45:00 2003 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Thu Oct 2 14:45:00 2003 Subject: 'bout Revolution and FireBird] Message-ID: Julio, >> In Revolution, ODBC works with DSN, but ODBC Manager doesn't create DSNs for remote databases (or am I wrong?). << A revolution application running on Windows (or OS X or Linux or the other Unices) is in principle capable of making an ODBC connection to a local database _OR_ a remote database via ODBC. You will have to configure your own DSNs. I haven't looked into this (as mostly my work has been server side this last year), but I think you could make the registry entries automatically yourself via Rev. You will find that there are free ODBC drivers available for Firebird at http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_int_comps However, I would check your results with several of the drivers. I found that there were apparently bugs in the Rev ODBC implementation, and reported these to Runrev about 12 months ago (preBugzilla). I have no idea if they fixed them (at the time there was no official process for squashing bugs if one was not an Enterprise level licensee). Regards, Bernard From alex at mindlube.com Thu Oct 2 15:02:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Oct 2 15:02:01 2003 Subject: 'bout Revolution and FireBird] In-Reply-To: <002001c38915$d4636c70$0100a8c0@avatar> Message-ID: On Thursday, October 2, 2003, at 12:48 PM, J?lio C?sar K?del wrote: > In Revolution, ODBC works with DSN, but ODBC Manager doesn't create > DSNs for > remote databases (or am I wrong?). ODBC can be used with remote databases. When creating the DSN you specify the hostname or IP address of the server. Aside: for Win32 the ODBC setup is in Control Panels. For Mac OS X the ODBC Manager is useless- I recommend using the commercial one from IODBC instead. > For me, I would install MySQL and work with it, 'cos it's a great > engine, > but, for my costumers, the MySQL download and installation result in a > "I > won't use this software because is huge and complicated to install". =\ > Firebird is my choice because it's small and it's a "point-and-click" > install... > > I didn't see yet a possibility to make Revolution make the life of my > costumer easier... =( Are you confusing the database server with the database client libraries? No matter what database you choose, if it's running on a remote server, then the client user should not need to download and install the database- all they need is the client libraries, whether they be ODBC drivers, or revDB drivers. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chipp at chipp.com Thu Oct 2 15:03:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Oct 2 15:03:01 2003 Subject: Screen snapshot troubles In-Reply-To: <3F7C4516.2020809@orwell.net> Message-ID: Tim, use export snapshot and BE SURE and reference the window. Check you docs. export snapshot [from rect[angle] rectangle [of window windowID]] \ to {file filePath |container} [as format] [with mask maskFile] -Chipp From bornstein at designeq.com Thu Oct 2 15:12:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Thu Oct 2 15:12:00 2003 Subject: Modal stacks not working in OS 9 In-Reply-To: <42AE276C-F45D-11D7-8E04-000393D567AA@mac.com> Message-ID: <1E622720-F513-11D7-B045-000A95909E26@designeq.com> On Wednesday, October 1, 2003, at 06:19 PM, Greg DeVore wrote: > In OS 9 the stack opens up but then after a second it moves to the > back behind the top stack. I've seen this behavior if I have something like a "on mousemove" handler in my main stack. It brings the stack forward. The modal nature of your substack is probably what makes the main stack inaccessible. The solution, if this is the case, is to trap out the mousemove handler (or whatever it is) in the substack: on mousemove end mousemove Regards, Howard Bornstein ---------------- D E S I G N E Q www.designeq.com From kkaufman at snet.net Thu Oct 2 16:09:00 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Oct 2 16:09:00 2003 Subject: I need Distribution Builder advice Message-ID: <2ED0768E-F519-11D7-A9C7-0003937052EC@snet.net> "...Think back to the first time you booted ResEdit...." About the only thing I could recognize was the jack-in-the-box! :-) -Kurt From sanke at hrz.uni-kassel.de Thu Oct 2 16:19:00 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu Oct 2 16:19:00 2003 Subject: Unstuffing Preceptor Tools Message-ID: <3F7C95E4.CA0F26A5@hrz.uni-kassel.de> Has anybody managed to get Preceptor Tools running on Windows? I unstuffed Preceptor Tools on MacOS 10.2.6 and everything - as far as I got - worked fine. Then I transferred the files to my PC , put the PTPalette into the plug-ins folder where it belonged, and started PT. First thing I noticed: When PT starts, the PTPalette will not show, only after the PT Tutorial is loaded does the Palette appear. Clicking at the Object Toolkit button of the PT Palette the "quizObjects Toolkit" appears, and here is where the trouble begins with error messages of various kinds: If I move the mousecursor into the area of the "quizObjects Toolkit" I get the following error message Type if: missing 'then' Object MCGrp? Line if the name of btn id 1339 "mcDemo?" then send mcBGOReset to cd "buttonQuiz" -- prevents demo bGO from being left in a configured state when the setup grp is hidden. Hint The problem is the "square" character after "ID 1339" which should be an "unequal" operator in the script. I checked the same script line in the Mac version of PT, there is an "unequal" char - written by ALT + 0 and looking like a crossed "=" character. Clicking at any of the buttons of the quizObjects Toolkit results in nothing but more error messages. As apparently the problems had to do with the different appearance of the script characters on MacOS and Windows I unzipped the zip-version of the Preceptor Tools on the PC. After unzipping, two of the components appeared as "revPTPalette.rev.bin" and "PreceptorTools.rev.bin", so I had to resort to my Mac to unstuff the two bin-files. Putting the extracted files back on the PC produced the same described results. I have never before seen such problems of incompatibility of Mac and Windows scripts, there were only compatibility problems of field texts and texts in custom properties. Am I missing something or is the zipped version of Preceptor Tools somehow corrupt? What about the script compatibility issue between MacOS and Windows? Regards, Wilhelm Sanke From dsc at swcp.com Thu Oct 2 16:37:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Oct 2 16:37:01 2003 Subject: I need Distribution Builder advice In-Reply-To: Message-ID: <02B4DD3D-F51F-11D7-AEAE-000A9567A3E6@swcp.com> On Thursday, October 2, 2003, at 11:10 AM, Graham Samuel wrote: > Life is just too short. Which means life is overflowing with things to do. I agree with you. I would like to put my feet up and thumb through some set up pages and "ooh and ah" (it being very clear what choices are) and make some selections and click a button and out come programs. Dar Scott From rpresender at earthlink.net Thu Oct 2 18:31:00 2003 From: rpresender at earthlink.net (Robert Presender) Date: Thu Oct 2 18:31:00 2003 Subject: Window's Icon In-Reply-To: <200310021133.HAA27102@www.runrev.com> Message-ID: Hi Chipp, On Thursday, October 2, 2003, at 04:33 AM, Chipp wrote: > Hi Bob, > > I've found RR2.1 won't build using a document icon. It works if you > apply > only an application icon, but if you add a document icon, it won't > build the > standalone. I've bugzilla'd this. I tried to replicate the above on my eMachine using OS ME , Rev 2.1RC1 and my app which contains 5 substacks. I used the application icon for both the application and document icon in the build. The standalone was built OK. I just downloaded the evaluation copy of 2.1 for windows and when I get the unlock code, I will test again. Is my test valid? I have not been able to get the standalone 'substacks' icons in the data or contents folders to show other than the Rev or default icons on both Mac and Windows builds. Are the substacks considered documents? Will appreciate your comments. Regards ... Bob From livfoss at blueyonder.co.uk Thu Oct 2 18:43:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Oct 2 18:43:01 2003 Subject: I need Distribution Builder advice Message-ID: On Thu, 02 Oct 2003 10:26:12 -0700, Richard Gaskin wrote: > >Graham Samuel wrote: > >> Thanks very much for the ref Richard, it does look comprehensible at >> first glance - I guess I will have to wade in... but it does rather >> let down the charm of RunRev. > >I don't see why that must be the case. As a SuperCard user who's built >standalones under Classic you've had to deal with ResEdit, modifying 'BNDL' >resources and other arcana. With OS X the steps are nearly the same but can >be done with any text editor instead of a specialized geek tool. Man, did I hate it! I NEVER found any explanation 'for the rest of us' about how Mac icon families were structured, what the various naming conventions meant (ICN8 was it?) etc etc. or really what a BNDL was. I just stumbled about, modifying existing icons etc and somehow got there in the end. Really the only thing I clearly understood was the type and creator codes, which didn't really need ResEdit to set them up... and I know these problems have not yet gone away. > >And while there may be some elements of OS X builds that Rev has not yet >fully automated, for many standalones it does an adequate job with no manual >plist editing at all. OK, I hope this is true. I had problems from the start, partly perhaps because I was trying to create OSX distributions from other platforms (MacOS 9.2.2 and Windows XP). I then found I had to go deeper and that's when I got upset. > >The biggest problem when migrating from other tools is that in most cases >it's been so long since that tool was learned that the steep curve has long >since been forgotten, being mistakenly remembered as "inuitive". Very >little about building applications is truly intuitive with any tool, since >the art of developing software involves stepping behind the curtain to see >how the magic's done. Rev does as least as good a job as anything before >it, and arguably more so in many cases. Think back to the first time you >booted ResEdit.... OK, you are right to defend RunRev. As I said I have never thought of those earlier Mac tools as intuitive, nor would I characterise the standalone-making features of SuperCard as superior to RunRev's. Of course I see that there is a fuzzy boundary area between the development system (RunRev) and the OS (in the plural in the case of RunRev), where it is unclear just how far the developer should expect the development system to take him/her. Perhaps I expect too much - but if so, it seems to me even more important (if RunRev is to have a wide appeal) that there should be a way for the developer to find out exactly what one is supposed to do to get a fully working app on each platform. I'd like to think I will be able to help with this effort to provide coherent information/recipes, but I'm not yet confident enough to promise anything. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From steve at messimercomputing.com Thu Oct 2 19:12:00 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Thu Oct 2 19:12:00 2003 Subject: re Preceptortools Message-ID: From: Wilhelm Sanke To: use-revolution at lists.runrev.com Subject: Unstuffing Preceptor Tools Reply-To: use-revolution at lists.runrev.com Wihelm, Sorry you are having problems with windows. I haven't tested preceptorTools to any degree with Windows so I am not surprised that it is acting up. I hope to test this more thoroughly in the Windows environment shortly. In the meantime any experiences like you are having are very useful to me from a debugging standpoint. Thanks for your feedback. Regards, Steve > Has anybody managed to get Preceptor Tools running on Windows? > > I unstuffed Preceptor Tools on MacOS 10.2.6 and everything - as far as > I > got - worked fine. > > Then I transferred the files to my PC , put the PTPalette into the > plug-ins folder where it belonged, and started PT. First thing I > noticed: When PT starts, the PTPalette will not show, only after the PT > Tutorial is loaded does the Palette appear. > > Clicking at the Object Toolkit button of the PT Palette the > "quizObjects > Toolkit" appears, and here is where the trouble begins with error > messages of various kinds: > > If I move the mousecursor into the area of the "quizObjects Toolkit" I > get the following error message > > > Type if: missing 'then' > Object MCGrp? > Line if the name of btn id 1339 "mcDemo?" then send mcBGOReset to cd > "buttonQuiz" -- prevents demo bGO from being left in a configured state > when the setup grp is hidden. > Hint > > The problem is the "square" character after "ID 1339" which should be > an > "unequal" operator in the script. I checked the same script line in the > Mac version of PT, there is an "unequal" char - written by ALT + 0 and > looking like a crossed "=" character. > > Clicking at any of the buttons of the quizObjects Toolkit results in > nothing but more error messages. > > As apparently the problems had to do with the different appearance of > the script characters on MacOS and Windows I unzipped the zip-version > of > the Preceptor Tools on the PC. > > After unzipping, two of the components appeared as > "revPTPalette.rev.bin" and "PreceptorTools.rev.bin", so I had to resort > to my Mac to unstuff the two bin-files. > > Putting the extracted files back on the PC produced the same described > results. > > I have never before seen such problems of incompatibility of Mac and > Windows scripts, there were only compatibility problems of field texts > and texts in custom properties. > > Am I missing something or is the zipped version of Preceptor Tools > somehow corrupt? What about the script compatibility issue between > MacOS > and Windows? > > Regards, > > Wilhelm Sanke Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available Now! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 From dsc at swcp.com Thu Oct 2 21:58:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Oct 2 21:58:00 2003 Subject: encryption of stacks- how good? In-Reply-To: <56DD1570-E9F4-11D7-A24E-000393529642@mindlube.com> Message-ID: On Thursday, September 18, 2003, at 10:22 AM, Alex Rice wrote: > """It's interesting to note that one can "set the passkey of this > stack to p" in the preOpenStack handler, and it unlocks the stack. I > think this means that the engine is decrypting the stack, reading the > script, compiling it, then finally checking the password. The password > is therefore not used in the encryption. Right?""" Did you get a confirmation on this? Dar Scott From alex at mindlube.com Thu Oct 2 22:12:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Oct 2 22:12:01 2003 Subject: encryption of stacks- how good? In-Reply-To: Message-ID: On Thursday, October 2, 2003, at 08:46 PM, Dar Scott wrote: > >> """It's interesting to note that one can "set the passkey of this >> stack to p" in the preOpenStack handler, and it unlocks the stack. I >> think this means that the engine is decrypting the stack, reading the >> script, compiling it, then finally checking the password. The >> password is therefore not used in the encryption. Right?""" > > Did you get a confirmation on this? Nope- just a hypothesis at this point. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chipp at chipp.com Thu Oct 2 22:30:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Oct 2 22:30:00 2003 Subject: Window's Icon In-Reply-To: Message-ID: Bob, I'm using: RunRev version: 2.1 MetaCard engine version: 2.5.1 Build Number: 1 on XP, and I still can't build a standalone with both application and document icons. You're using Rev 2.1RC1 on ME. Different Build, different OS. -Chipp btw, if you install the altPlugins toolbar, it will put the version, engine and build info in the message box each time you open RR. You can find it at: > > I tried to replicate the above on my eMachine using OS ME , Rev 2.1RC1 > and my app which contains 5 substacks. I used the application icon for > both the application and document icon in the build. The standalone > was built OK. I just downloaded the evaluation copy of 2.1 for windows > and when I get the unlock code, I will test again. Is my test valid? > > I have not been able to get the standalone 'substacks' icons in the > data or contents folders to show other than the Rev or default icons on > both Mac and Windows builds. Are the substacks considered documents? > > Will appreciate your comments. > > Regards ... Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Thu Oct 2 23:46:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Oct 2 23:46:00 2003 Subject: Kudos In-Reply-To: <000e01c380cc$b926fe50$6501a8c0@LightningFlash> Message-ID: Hi Ken: I wanted to send some praise your way. :-) I just took a look at RevZilla and wow, this is just the coolest thing. Now I can see why you responded to my post regarding specialized browsers - birds of a feather... Not only does RevZilla provide the info we want in a nicely ordered fashion, but it looks great too (I'll bet 99% of my money that you designed it on a Mac). Too bad the scroll fields are hampered by the stupid field redraw bug, but even so, a really nice app. How much time did you spend on this thing? I have to admit I'm still clinging to MetaCard and while grudgingly trying to get into Rev (I still don't get the whole stack browser, properties, whatever organization). It's nice to see some good tool work done in Rev. Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From gdevore at mac.com Fri Oct 3 01:19:00 2003 From: gdevore at mac.com (Greg DeVore) Date: Fri Oct 3 01:19:00 2003 Subject: Modal stacks not working in OS 9 In-Reply-To: <1E622720-F513-11D7-B045-000A95909E26@designeq.com> Message-ID: Thanks, that was the problem. Once I trapped the right handler everything worked great. Thanks so much for the help. Greg DeVore On Thursday, October 2, 2003, at 01:00 PM, Howard Bornstein wrote: > > On Wednesday, October 1, 2003, at 06:19 PM, Greg DeVore wrote: > >> In OS 9 the stack opens up but then after a second it moves to the >> back behind the top stack. > > I've seen this behavior if I have something like a "on mousemove" > handler in my main stack. It brings the stack forward. The modal > nature of your substack is probably what makes the main stack > inaccessible. The solution, if this is the case, is to trap out the > mousemove handler (or whatever it is) in the substack: > > on mousemove > > end mousemove > > > Regards, > > Howard Bornstein > ---------------- > D E S I G N E Q > www.designeq.com > > Greg DeVore music at gregdevore.com 661-753-9335 From kray at sonsothunder.com Fri Oct 3 02:20:03 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Oct 3 02:20:03 2003 Subject: Kudos In-Reply-To: Message-ID: <009401c3897d$293878f0$6601a8c0@LightningFlash> > I wanted to send some praise your way. :-) > > I just took a look at RevZilla and wow, this is just the > coolest thing. Now I can see why you responded to my post > regarding specialized browsers - birds of a feather... Thanks, Scott! > Not only does RevZilla provide the info we want in a nicely > ordered fashion, but it looks great too (I'll bet 99% of my > money that you designed it on a Mac). Too bad the scroll > fields are hampered by the stupid field redraw bug, but even > so, a really nice app. How much time did you spend on this thing? Yup, Mac developed, tweaked on Windows. I spent about 10 hours on it so far, but there's more coming... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From eric.rognard at laposte.net Fri Oct 3 03:05:00 2003 From: eric.rognard at laposte.net (Eric Rognard) Date: Fri Oct 3 03:05:00 2003 Subject: about field list In-Reply-To: Message-ID: Hi everybody, 1) I want to put long sentences as elements of a list field. When I type a sentence in the "content" window of the object inspector, the text wrap (if the small left button is hilited) but my sentence stays on one line in the field list object. Can I have list elements that wrap to fit to the size of the object list? And How? 2) I want the user can reorder the elements of the list field in the browse mode with his mouse pointer. Is it possible? How? May be the list field is not the right object to do that? :-) Eric Rognard Think different! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 591 bytes Desc: not available URL: From janschenkel at yahoo.com Fri Oct 3 03:33:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Oct 3 03:33:00 2003 Subject: about field list In-Reply-To: Message-ID: <20031003082147.84923.qmail@web11901.mail.yahoo.com> --- Eric Rognard wrote: > Hi everybody, > > 1) I want to put long sentences as elements of a > list field. > > When I type a sentence in the "content" window of > the object inspector, > the text wrap (if the small left button is hilited) > but my sentence > stays on one line in the field list object. > > Can I have list elements that wrap to fit to the > size of the object > list? And How? > > 2) I want the user can reorder the elements of the > list field in the > browse mode with his mouse pointer. Is it possible? > How? > > > May be the list field is not the right object to do > that? :-) > > Eric Rognard > Think different! > Bonjour Eric, Unfortunately, the response to your first question is negative : listBehaviour negates dontWrap. If you know the number of lines and their sizes in advance, you may get around this by making each line an individual field, grouping those fields together, and then turning on the group's vertical scrollbar. However, this won't help you for your second question either. I do have a stack on my website that scripts a way to support drag-and-drop of list field elements ; direct link : I'mp still hoping for a built-in solution in list fields that we may turn on at some point in the future, and praying for a full-blown table control that would take care of optional drag-and-drop of its elements. Maybe someday :-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From gcanyon at inspiredlogic.com Fri Oct 3 05:22:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Oct 3 05:22:01 2003 Subject: [OT] aspiring game developers In-Reply-To: Message-ID: On Thursday, October 2, 2003, at 01:24 AM, Scott Rossi wrote: > Geoff Canyon has also done some phenomenal (and I do mean phenomenal) > game > stuff with vectors. I'm hoping he'll post his experiments and formulas > sometime. With a plug like that, how can I resist? I've posted the stack "Star Battle." Type this in the message box and press return to try it out: go stack url "http://www.inspiredlogic.com/rev/starbattle.rev" Star Battle is a thought experiment that I might want to do something with. As such, feel free to poke around in the script (everything useful is in the card script) offer critiques, suggestions, and even borrow if you like. Please don't redistribute the stack or claim it as your own. Okay, I've kicked the lawyers out. I used to be a big Asteroids player back in the early 80's. It was a vector video game from Atari. Revolution graphic objects have a points property that can be set. If you leave a blank line in the points, you get a blank line segment in the graphic -- it appears as more than one graphic, in essence. This is the point where I said to myself, "Revolution can't possibly set the points of a graphic fast enough to be useful in making a game...can it?" 600 lines of code later, it turns out it can. Be sure to check out the "Really nice technical details" at the bottom. WHAT IT IS Star Battle is a variation on the Asteroids theme. You have a bunch of rocks floating across the screen, and a little ship. You can rotate left and right, thrust and fire bullets. There the similarities end. In Star Battle, the rocks are impervious. Instead there are enemy ships that move much like yours, shooting at you just as you shoot at them. The game keeps score, awards extra ships, has individual rounds, and can restart the game. No high score list, though. TECHNICAL DETAILS The rocks exert gravitational attraction on all the ships. This is done mathematically correctly, I believe (feel free to check and correct me if I've taken an inadvertent short cut). I don't do gravity on the bullets. The game performs collision detection on all the bullets, ships, and rocks, each time through. It's a simple proximity test, not an actual overlap test. In practice it seems to work pretty well. When placing a new ship, the game checks for other ships and rocks (but not bullets). The game tracks levels and your score. THE REALLY NICE TECHNICAL DETAILS Everything drawn on screen except for the score and player's lives is a single graphic object. That includes all the rocks, your ship, the enemy's ships, and all the bullets. The game calculates and sets the points of the graphic repeatedly. The beautiful aspect of this is that no screen locking is required. Since the one graphic draws everything, and setting the points of the graphic is an atomic operation, there is no need. Levels run a minute in length. A few months back I would have handled that by checking periodically whether it was time to update the level. Since then, I've learned the wonders of wait...with messages. The game logic is in a straight repeat loop. It just cranks and cranks and cranks. The loop has a timing governor -- even on the fastest machine the game will never go faster than twenty frames per second because it checks each time through the loop how long it has spent, and if it's running fast, it waits. To do that, I put the ticks() into a variable at the start of the loop, and at the end of the loop I do something like this: put tStartTicks + 3 - ticks() into tWaitTicks At this point, tWaitTicks is how long I need to wait to delay the game appropriately. On a really fast machine it might be as much as 3 ticks. On a slower machine it will be 0 ticks, or even negative. To enforce the wait period, I use this: wait tWaitTicks ticks with messages It doesn't matter if tWaitTicks goes negative, the command above works. Now the "with messages" part deserves special mention. Because of that, changing levels is easy (remember, this start out about how to update the level each minute). To update the level, I use: send "updateLevel" to me in 60 seconds Because of the "with messages" part of the command above, the "updateLevel" message gets delivered just fine, and without an apparent hitch in the game. I don't have to keep track of time, I let Rev do it for me. Anyway, it's late. Let me know what you think. regards, Geoff Canyon gcanyon at inspiredlogic.com From sonesond1 at southernct.edu Fri Oct 3 07:17:00 2003 From: sonesond1 at southernct.edu (Dan Soneson) Date: Fri Oct 3 07:17:00 2003 Subject: Mac OSX standalone voice record problem Message-ID: Hi everyone, I am once again trying to get a voice recording application to work appropriately in an OSX standalone. I develop on a G4 dual 1.42 Ghz, Rev 2.02, OSX 10.2.6 and deploy on both 700Mzh G4 eMacs and 500Mhz G3 iBooks, same OS. In the development environment, everything works just fine. However, when I build a standalone and try to record through an attached microphone (plantronics Audio 90 with Griffin iMic), the recording tends to be truncated and jumbled up. In other words, if I were to say "1,2,3,4,5" I might get "3,4,2" as a result -- very strange. Also, I have noticed a tendency to limit the recording file to about 4 seconds total. Several months ago I thought I had licked the problem by making absolutely sure the recorded file was located outside the application package. This workaround now seems to have no effect. The frustrating part is that we might occasionally get a perfectly normal recording, but the next time we try, we get the jumbled up results again. It just doesn't seem to be consistent. We intend to deploy a recording application in our language lab, so that students may record their voices and the files can be saved so that instructors can hear the students' output. Occasionally, the program can be used for oral testing. However, if the recording is unstable at all, the program is useless. I have checked the bugzilla database, but have been able to find anything regarding this problem there. Before I post it on bugzilla, I wonder if anyone out there has found a consistent solution to the problem. Thanks, Dan Daniel B. Soneson Director, Language Lab Southern CT State University From myoung at bigskyneuro.com Fri Oct 3 08:41:01 2003 From: myoung at bigskyneuro.com (Michael Young) Date: Fri Oct 3 08:41:01 2003 Subject: array on card In-Reply-To: <200310021544.LAA01042@www.runrev.com> Message-ID: > On Wednesday, October 1, 2003, at 10:11 PM, Michael Young wrote: > > > How can I put an expandable indexed array as an object on a card. For > > those few who have heard of LabVIEW I am looking for something > > equivalent to how it handles array display. > > I know what you mean. At one time almost all I made was in LabVIEW. > > I don't know of a direct way to do what you want. I think it is > possible to make a custom control to do what you want, but that might > take some work. > > You might be better off looking for a way to address your immediate > need. What control or indicator were you thinking for your array > element? Can you get by with a fixed number of displayed elements? > > Dar Scott My array element is a text string. I would prefer a non fixed length array display since my array length may change, but a large enough fixed length array would probably work. Since, you know LabVIEW I will explain a little more about what I am doing. I actually use LV now for a project that I would like to convert to RR. I store simple comma delimited plain text files on disk that are read into my current LV program. By simply selecting different text data files I of course get different array elements in my program. My current text files are a little more complicated in that I actually read text files into an LV cluster with first element true/false control and second element string, however I wanted to see if RR could do the more simple array first before tackling the harder "cluster" project. You know, I am probably looking for something similar to the Revolution Tutorial setup but I want to have each tutorial number card be an object on a card rather than the card itself. I also want to see more than one tutorial number card at a time. I will have to look into how I can do this. Or maybe what I am looking to do might be best performed by setting up a database. If any of the above makes any sense, I would appreciate your input. Michael PS If you are wondering why I am converting a working LV project to RR, it is simply that RR better meets my long range needs and the current LV project needs a number of techniques that I know will be useful down the RR road. From kodel at terra.com.br Fri Oct 3 08:49:01 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Fri Oct 3 08:49:01 2003 Subject: 'bout Revolution and FireBird] References: Message-ID: <003501c389b3$82e03970$0100a8c0@avatar> > ODBC can be used with remote databases. When creating the DSN you > specify the hostname or IP address of the server. > That's the point... I didn't found this option... It only permits create DSN for local databases =( In VB, we use connection string, not DSN... I know it's not a Revolution issue, but could you give-me more information about remote databases and DSNs? (I will not program for Macs, only for IBM, in both Microsoft and *nix plataforms). > Are you confusing the database server with the database client > libraries? No matter what database you choose, if it's running on a > remote server, then the client user should not need to download and > install the database- all they need is the client libraries, whether > they be ODBC drivers, or revDB drivers. > Indeed, there is a ODBC driver for FireBird, and works fine, but, as I said, VB works with connection string (which gives me possibilities to declare provider (FireBird ODBC), host, database (in host), username and password. In ODBC with DSN, I can't declare host, thus, only local databases can be used =( Thanx for all the help ;-) From revolution at knowledgeworks.plus.com Fri Oct 3 09:30:00 2003 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Fri Oct 3 09:30:00 2003 Subject: 'bout Revolution and FireBird] Message-ID: Julio, >> In ODBC with DSN, I can't declare host, thus, only local databases can be used =( << I have connected Windows clients to remote Firebird databases via ODBC. Can you provide me with - the server name where your remote Firebird db is located - the port being used (if other than that used with the default Firebird install) - the path to the database on the server. Which ODBC driver are you using? Can you send me a screenshot of what you are seeing? Please send me this off-list to revolution at knowledgeworks.plus.com -- I will post my response back to the list for you and any other interested party. Regards, Bernard From alex at mindlube.com Fri Oct 3 10:39:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 10:39:01 2003 Subject: 'bout Revolution and FireBird] In-Reply-To: <003501c389b3$82e03970$0100a8c0@avatar> Message-ID: <20AC91C9-F5B6-11D7-8A0B-000393529642@mindlube.com> On Friday, October 3, 2003, at 07:37 AM, J?lio C?sar K?del wrote: > That's the point... I didn't found this option... It only permits > create DSN > for local databases =( > In VB, we use connection string, not DSN... I know it's not a > Revolution > issue, but could you give-me more information about remote databases > and > DSNs? (I will not program for Macs, only for IBM, in both Microsoft > and *nix > plataforms). In Windows 2000: Control Panel | Administrative Tools | Data Sources (ODBC) | User DSN or System DSN | Add | Select Driver | (now what you see depends on which driver selected) If the ODBC driver supports remote databases, then you will see a "server" or "hostname" field to type into. Not being a firebird user I can't give any more details than that. For Unix you will have to either compile everything- or download the commercial drivers from IODBC. I've never used IODBC on Unix- it's always seemed too complicated to bother with, when native drivers are also available for most databases. > Indeed, there is a ODBC driver for FireBird, and works fine, but, as I > said, > VB works with connection string (which gives me possibilities to > declare > provider (FireBird ODBC), host, database (in host), username and > password. > In ODBC with DSN, I can't declare host, thus, only local databases can > be > used =( There must be more than one ODBC driver for Firebird then. Maybe you don't have the client-server ODBC driver? There are two different firebird versions right- single user and multi-user? Maybe you have the single-user ODBC driver. Just a guess. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Fri Oct 3 10:48:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 10:48:01 2003 Subject: [OT] aspiring game developers In-Reply-To: Message-ID: <76E973F8-F5B7-11D7-8A0B-000393529642@mindlube.com> On Friday, October 3, 2003, at 04:10 AM, Geoff Canyon wrote: > With a plug like that, how can I resist? I've posted the stack "Star > Battle." Type this in the message box and press return to try it out: > > go stack url "http://www.inspiredlogic.com/rev/starbattle.rev" That's cool thanks Geoff. Good learning resource. I noticed that the sound kept playing after I did "close and remove from memory" in the application browser. Do you know what causes that or how to workaround? Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kodel at terra.com.br Fri Oct 3 11:28:01 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Fri Oct 3 11:28:01 2003 Subject: 'bout Revolution and FireBird] References: Message-ID: <006501c389c9$c767db50$0100a8c0@avatar> I get it! The database name CONTAINS the hostname =\ host:c:\databasename.ext This works with 2 ODBC drivers that I get... Only in the second driver there was a minimal tip of achieving this... People are a little lazy 'bout documentation =( Thanx for the help of all of you, now I can start to program with Revolution (and fill this list with doubts, he he he)... [] For those who want to use FireBird and have the same problem o'mine: Use any ODBC driver for FB (I recommend IBOLEDB, which is easier to install and faster to connect), then, when creating a DSN, put the hostname before the path: HOSTNAME:PATH\DATABASE.GDB or FDB ----- Original Message ----- From: "Bernard Devlin" To: Sent: Thursday, October 02, 2003 11:18 AM Subject: Re: 'bout Revolution and FireBird] > Julio, > > >> > In ODBC with DSN, I can't declare host, thus, only local databases can be > used =( > << > > I have connected Windows clients to remote Firebird databases via ODBC. > Can you provide me with > > - the server name where your remote Firebird db is located > - the port being used (if other than that used with the default Firebird > install) > - the path to the database on the server. > > Which ODBC driver are you using? Can you send me a screenshot of what you > are seeing? > > Please send me this off-list to revolution at knowledgeworks.plus.com -- I > will post my response back to the list for you and any other interested > party. > > Regards, > Bernard > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From scott at tactilemedia.com Fri Oct 3 11:39:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Oct 3 11:39:01 2003 Subject: [OT] aspiring game developers In-Reply-To: Message-ID: On 10/3/03 3:10 AM, "Geoff Canyon" wrote: > I've posted the stack "Star Battle." > Type this in the message box and press return to try it out: > > go stack url "http://www.inspiredlogic.com/rev/starbattle.rev" > ... > Let me know what you think. I think "this is really cool." I think "'inspired logic' is an appropriate name for this guy's operation." I think "I hope sometime he can provide a simple demo of some the gravity/bounce algorithms he uses in Rev." So I wonder if you used four vector objects instead of one (a stretch, I know), you might be able to introduce colored objects? (player's ship color, rock color, enemy ship color, shot color) Maybe setting the points of more than one graphic is too slow, but if the current experiment works so well? Maybe more experiments are in order... Thanks for sharing Geoff. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at mindlube.com Fri Oct 3 11:52:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 11:52:00 2003 Subject: [OT] aspiring game developers In-Reply-To: Message-ID: <508C411D-F5C0-11D7-8A0B-000393529642@mindlube.com> On Friday, October 3, 2003, at 04:10 AM, Geoff Canyon wrote: > There the similarities end. And unfortunately it doesn't have the "trails" effect caused by the slow old monochrome vector display in the Asteroids console game. :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Fri Oct 3 11:56:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 11:56:00 2003 Subject: specialFolderPath("Temporary") on OS X Message-ID: specialFolderPath("Temporary") works on Mac OS X, most of the time. It returns a path like /tmp/xxx/temporary items/ where xxx is the UID. However, on my OS X box, it has recently started cleaning out /tmp on reboot, and after that specialFolderPath("Temporary") returns empty. After some time has passed, some other app, or the OS, decides to recreate the /tmp/xxx/temporary directories and then specialFolderPath("Temporary") works again. It's very strange. Anyone know the cause of this? I'm just going to use the unix-like "/tmp" and not use specialFolderPath("Temporary") for OS X, but I would like to know how this is happening. Anyone using the MLXEditor plugin, this is a possible gotcha. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From rpresender at earthlink.net Fri Oct 3 12:17:00 2003 From: rpresender at earthlink.net (Robert Presender) Date: Fri Oct 3 12:17:00 2003 Subject: Window's Icon In-Reply-To: <200310030923.FAA21778@www.runrev.com> Message-ID: On Friday, October 3, 2003, at 02:23 AM, Chipp wrote: snip > btw, if you install the altPlugins toolbar, it will put the version, > engine > and build info in the message box each time you open RR. You can find > it at: > Thanks Chipp. Regards ... Bob From scott at tactilemedia.com Fri Oct 3 12:47:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Oct 3 12:47:01 2003 Subject: specialFolderPath("Temporary") on OS X In-Reply-To: Message-ID: Recently, "Alex Rice" wrote: > specialFolderPath("Temporary") works on Mac OS X, most of the time. It > returns a path like /tmp/xxx/temporary items/ where xxx is the UID. > However, on my OS X box, it has recently started cleaning out /tmp on > reboot, and after that specialFolderPath("Temporary") returns empty. > After some time has passed, some other app, or the OS, decides to > recreate the /tmp/xxx/temporary directories and then > specialFolderPath("Temporary") works again. > > It's very strange. Anyone know the cause of this? Not sure why you see this but what happens if you do: put the tempName Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From herz at ucsd.edu Fri Oct 3 12:53:00 2003 From: herz at ucsd.edu (Richard K. Herz) Date: Fri Oct 3 12:53:00 2003 Subject: Sculley on lost opportunity with HyperCard Message-ID: <002801c389d5$af838fa0$58bfef84@rkhpc1> Interesting comment from John Scully on lost opportunity with HyperCard at http://news.com.com/2008-7351-5085423.html?tag=nefd_gutspro Interview with John Sculley, former CEO of Apple Computer, October 2, 2003, 4:00 AM PDT, By Dawn Kawamoto, Staff Writer, CNET News.com Any missed opportunities that you wish you could do over? As I look back on things that I wished we would have done differently when I was at Apple, I think one of the biggest missed opportunities, and it was on my watch, so I feel responsible and disappointed that we didn't do more with it, was Hypercard. It was created back in 1987 by Bill Atkinson, Apple's first software programmer. We could never figure out exactly what it was... We weren't insightful enough to recognize that what we had inside of Hypercard, essentially, was everything that later was developed so successfully by Tim Berners-Lee with HTTP (Hypertext Transfer Protocol) and HTML (Hypertext Markup Language)... From alex at mindlube.com Fri Oct 3 12:55:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 12:55:01 2003 Subject: specialFolderPath("Temporary") on OS X In-Reply-To: Message-ID: <1F8053B4-F5C9-11D7-89DA-000393529642@mindlube.com> On Friday, October 3, 2003, at 11:35 AM, Scott Rossi wrote: > Not sure why you see this but what happens if you do: > > put the tempName Good idea- I'll try that next reboot. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From revlists at canelasoftware.com Fri Oct 3 14:25:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Fri Oct 3 14:25:01 2003 Subject: Mac OSX standalone voice record problem In-Reply-To: Message-ID: On Friday, October 3, 2003, at 05:05 AM, Dan Soneson wrote: > Hi everyone, > > I am once again trying to get a voice recording application to work > appropriately in an OSX standalone. I develop on a G4 dual 1.42 Ghz, > Rev 2.02, OSX 10.2.6 and deploy on both 700Mzh G4 eMacs and 500Mhz G3 > iBooks, same OS. In the development environment, everything works just > fine. However, when I build a standalone and try to record through an > attached microphone (plantronics Audio 90 with Griffin iMic), the > recording tends to be truncated and jumbled up. In other words, if I > were to say "1,2,3,4,5" I might get "3,4,2" as a result -- very > strange. Also, I have noticed a tendency to limit the recording file > to about 4 seconds total. > > Several months ago I thought I had licked the problem by making > absolutely sure the recorded file was located outside the application > package. This workaround now seems to have no effect. The frustrating > part is that we might occasionally get a perfectly normal recording, > but the next time we try, we get the jumbled up results again. It just > doesn't seem to be consistent. > > We intend to deploy a recording application in our language lab, so > that students may record their voices and the files can be saved so > that instructors can hear the students' output. Occasionally, the > program can be used for oral testing. However, if the recording is > unstable at all, the program is useless. > > I have checked the bugzilla database, but have been able to find > anything regarding this problem there. Before I post it on bugzilla, I > wonder if anyone out there has found a consistent solution to the > problem. > I remember the problem existing when I first started using the recording features in MC. At the time I could not find a workaround and gave up. Was told by Scott that using the wrong compression settings could cause problems. I never looked deeper into it as it was not needed at the time. Bugzilla it! Best regards, Mark Talluto http://www.canelasoftware.com From jacque at hyperactivesw.com Fri Oct 3 14:26:09 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Oct 3 14:26:09 2003 Subject: Decompress cross platform Message-ID: <3F7DCA8B.8010405@hyperactivesw.com> This has come up on the list before, but I didn't find a solution in the archives. I have a field with a lot of data in it. To save disk space, I run it through compress() and put the compressed data back into the field before saving the stack. When the stack opens, it uses decompress() to extract the information. The data decompresses fine on whatever platform did the compression. But when the data is compressed on Windows, it won't decompress when the stack is copied to a Mac. When the data is compressed on a Mac, it won't decompress when the stack is copied to Windows. I suspect this may have something to do with line endings, but maybe not. In any case, I get an error saying the data is not compressed data. I don't want to maintain separate stacks for each platform. Any idea how to get around this problem? I thought compression was supposed to work the same way on all plaforms. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From thierry.arbellot at wanadoo.fr Fri Oct 3 14:35:00 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Fri Oct 3 14:35:00 2003 Subject: specialFolderPath("Temporary") on OS X In-Reply-To: Message-ID: Hi Alex, I had a similar problem on one of my iMac, that didn't have the temporary folder, and specialFolderPath("Temporary") returned empty. Worst, if I created this folder, it was removed when the system is restarted. The solution was to add in the script the command "put the tempName" that creates the missing temporary folder. Hope that helps. Regards. Thierry. On Friday, October 3, 2003, at 06:44 PM, Alex Rice wrote: > specialFolderPath("Temporary") works on Mac OS X, most of the time. It > returns a path like /tmp/xxx/temporary items/ where xxx is the UID. > However, on my OS X box, it has recently started cleaning out /tmp on > reboot, and after that specialFolderPath("Temporary") returns empty. > After some time has passed, some other app, or the OS, decides to > recreate the /tmp/xxx/temporary directories and then > specialFolderPath("Temporary") works again. > > It's very strange. Anyone know the cause of this? I'm just going to > use the unix-like "/tmp" and not use specialFolderPath("Temporary") > for OS X, but I would like to know how this is happening. > > Anyone using the MLXEditor plugin, this is a possible gotcha. > > > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at mindlube.com Fri Oct 3 15:09:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 15:09:00 2003 Subject: cRevgeneral["script"] Message-ID: While using my MLXEditor plugin, I noticed that old copies of the scripts, in HTML markup!, were stored in cRevgeneral["script"]. Is it safe to set that property to empty? I assume it's something that the IDE's script editor stack writes, but I don't use it for MLXEditor. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jeanne at runrev.com Fri Oct 3 15:25:00 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Oct 3 15:25:00 2003 Subject: Decompress cross platform In-Reply-To: <3F7DCA8B.8010405@hyperactivesw.com> References: <3F7DCA8B.8010405@hyperactivesw.com> Message-ID: At 2:14 PM -0500 10/3/2003, J. Landman Gay wrote: >The data decompresses fine on whatever platform did the compression. >But when the data is compressed on Windows, it won't decompress when >the stack is copied to a Mac. When the data is compressed on a Mac, >it won't decompress when the stack is copied to Windows. I suspect >this may have something to do with line endings, but maybe not. In >any case, I get an error saying the data is not compressed data. I haven't checked this, but I'll bet it's because of the automatic character set conversion between Mac and Windows/Unix. So the fix would be to either store the thing in a custom property (which doesn't have this conversion done) or to run it through MacToISO or ISOToMac, as appropriate, before decompressing it. -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From dsc at swcp.com Fri Oct 3 15:32:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 15:32:00 2003 Subject: Decompress cross platform In-Reply-To: <3F7DCA8B.8010405@hyperactivesw.com> Message-ID: <0F847DA5-F5DF-11D7-A374-000A9567A3E6@swcp.com> On Friday, October 3, 2003, at 01:14 PM, J. Landman Gay wrote: > I don't want to maintain separate stacks for each platform. Any idea > how to get around this problem? I thought compression was supposed to > work the same way on all plaforms. Me, too. There is a decompression bug for OS X & Revolution 2.1, but this does not seem to be it. Or is it? That bug is fixed and the fix will be in an upcoming release. Revolution compression uses a gzip style compression that is the same as that (the best I can tell) in RFC1952. The decompression does not check the CRC, so it can't be compliant. In my opinion, it should _not_ check the CRC in decompression. I would expect this to work across platforms. IIRC, the OS X bug is a type bug and those might make differences across platforms. Do you have a small example that does not work the same across platforms. Dar Scott From todd at geistinteractive.com Fri Oct 3 15:35:00 2003 From: todd at geistinteractive.com (Todd Geist) Date: Fri Oct 3 15:35:00 2003 Subject: JDBC instead of ODBC Message-ID: Hello, All this talk about Rev and Firebird has got me wishing again for JDBC instead of ODBC. Does anyone know if there are any plans for JDBC in Rev's future. Is it particular hard to build this kind of driver? I know some underemployed java programmers who might be interested in giving it go. Is it worth it? Any comments? Todd -- Todd Geist _________________________________ g e i s t i n t e r a c t i v e web hosting ? web design ? application design From dsc at swcp.com Fri Oct 3 15:38:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 15:38:00 2003 Subject: Decompress cross platform In-Reply-To: <3F7DCA8B.8010405@hyperactivesw.com> Message-ID: On Friday, October 3, 2003, at 01:14 PM, J. Landman Gay wrote: > To save disk space, I run it through compress() and put the compressed > data back into the field before saving the stack. A field can lose data that contains a null or has "lines" too long. ...and what Jeanne said. Dar Scott From dsc at swcp.com Fri Oct 3 15:40:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 15:40:01 2003 Subject: cRevgeneral["script"] In-Reply-To: Message-ID: <3D5E169E-F5E0-11D7-A374-000A9567A3E6@swcp.com> On Friday, October 3, 2003, at 01:57 PM, Alex Rice wrote: > While using my MLXEditor plugin, I noticed that old copies of the > scripts, in HTML markup!, were stored in cRevgeneral["script"]. Is it > safe to set that property to empty? I assume it's something that the > IDE's script editor stack writes, but I don't use it for MLXEditor. Wouldn't it be easier to use it? Suppose someone switched back and forth? I'm just making wild guesses on how things work. Dar Scott From alex at mindlube.com Fri Oct 3 15:43:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 15:43:01 2003 Subject: JDBC instead of ODBC In-Reply-To: Message-ID: <8AF51AA5-F5E0-11D7-89DA-000393529642@mindlube.com> On Friday, October 3, 2003, at 01:01 PM, Todd Geist wrote: > Is it particular hard to build this kind of driver? If you are programming in Java it's not hard, I would imagine. But JDBC makes no sense for Rev because it's not related to Java in any way. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Fri Oct 3 15:45:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 15:45:01 2003 Subject: cRevgeneral["script"] In-Reply-To: <3D5E169E-F5E0-11D7-A374-000A9567A3E6@swcp.com> Message-ID: On Friday, October 3, 2003, at 02:29 PM, Dar Scott wrote: > Wouldn't it be easier to use it? It's the script marked up as HTML! That's not in MLXEditor's purview, nor do I want it to be. If MLXEditor touches it, it's only going to be for getting rid of it purposes. > Suppose someone switched back and forth? I'm just making wild guesses > on how things work. Donnow I haven't looked at Rev IDEs source code carefully enough. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jacque at hyperactivesw.com Fri Oct 3 15:56:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Oct 3 15:56:01 2003 Subject: Decompress cross platform In-Reply-To: References: <3F7DCA8B.8010405@hyperactivesw.com> Message-ID: <3F7DDFD5.2070201@hyperactivesw.com> On 10/3/03 3:13 PM, Jeanne A. E. DeVoto wrote: > At 2:14 PM -0500 10/3/2003, J. Landman Gay wrote: > >> The data decompresses fine on whatever platform did the compression. >> But when the data is compressed on Windows, it won't decompress when >> the stack is copied to a Mac. When the data is compressed on a Mac, it >> won't decompress when the stack is copied to Windows. I suspect this >> may have something to do with line endings, but maybe not. In any >> case, I get an error saying the data is not compressed data. > > > I haven't checked this, but I'll bet it's because of the automatic > character set conversion between Mac and Windows/Unix. So the fix would > be to either store the thing in a custom property (which doesn't have > this conversion done) or to run it through MacToISO or ISOToMac, as > appropriate, before decompressing it. I may be mis-remembering, but I thought character conversions were now done on custom properties as well as on fields. Or was I dreaming that? I will try the ISO conversions though and see if that helps. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kodel at terra.com.br Fri Oct 3 16:08:01 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Fri Oct 3 16:08:01 2003 Subject: JDBC instead of ODBC References: <8AF51AA5-F5E0-11D7-89DA-000393529642@mindlube.com> Message-ID: <00c601c389f0$e66aa150$0100a8c0@avatar> Those links that I passed in my messages are both for open source ODBC engines (for both Windows and Linux). I think would not be hard to make a MacOS X version, but, for MacOS, I don't know (therefore, I hate macs ;-] ) ----- Original Message ----- From: "Alex Rice" To: Sent: Friday, October 03, 2003 5:31 PM Subject: Re: JDBC instead of ODBC > > On Friday, October 3, 2003, at 01:01 PM, Todd Geist wrote: > > Is it particular hard to build this kind of driver? > > If you are programming in Java it's not hard, I would imagine. > But JDBC makes no sense for Rev because it's not related to Java in any > way. > > > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From dsc at swcp.com Fri Oct 3 16:14:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 16:14:00 2003 Subject: cRevgeneral["script"] In-Reply-To: Message-ID: On Friday, October 3, 2003, at 02:34 PM, Alex Rice wrote: > On Friday, October 3, 2003, at 02:29 PM, Dar Scott wrote: > >> Wouldn't it be easier to use it? > > It's the script marked up as HTML! That's not in MLXEditor's purview, > nor do I want it to be. If MLXEditor touches it, it's only going to be > for getting rid of it purposes. Ah. You think of a script editor as an editor that edits script properties. ;-) I think it quite reasonable to think that. And it may be the right way to think about this. My mind had gone down some bunny trail and started wandering into to thinking a script editor edits a source that is processed to become a script. If I put fancy formatting and tabular data and math and color and multiple languages in my /* */ handler/function headers, then they might be lost in MLXEditor, I guess. I don't know how this would really work; my mind wanders off in directions that my actions have yet to find. (I won't mention pictures; that would be a distraction.) If it does not match the script property, then getting rid of it might be best. I don't know how the Revolution editor works, but if it assumes that is the latest, things can go wrong. Or setting it to a trivial uncolored html value whenever the script is set, whatever works. What might be good would be a function you can call to set the script and it can do what it needs to to keep a consistent cRevgeneral["script"]. Or get the script. If color is a function of the script syntax, then the flow of info is not the direction my mind had wandered into, and there may not be a problem at all. Except for my fancy headers. Dar Scott From jacque at hyperactivesw.com Fri Oct 3 16:23:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Oct 3 16:23:01 2003 Subject: Decompress cross platform In-Reply-To: References: <3F7DCA8B.8010405@hyperactivesw.com> Message-ID: <3F7DE626.6010401@hyperactivesw.com> On 10/3/03 3:13 PM, Jeanne A. E. DeVoto wrote: > At 2:14 PM -0500 10/3/2003, J. Landman Gay wrote: > >> The data decompresses fine on whatever platform did the compression. >> But when the data is compressed on Windows, it won't decompress when >> the stack is copied to a Mac. When the data is compressed on a Mac, it >> won't decompress when the stack is copied to Windows. I suspect this >> may have something to do with line endings, but maybe not. In any >> case, I get an error saying the data is not compressed data. > > > I haven't checked this, but I'll bet it's because of the automatic > character set conversion between Mac and Windows/Unix. So the fix would > be to either store the thing in a custom property (which doesn't have > this conversion done) or to run it through MacToISO or ISOToMac, as > appropriate, before decompressing it. Doesn't seem to work. :( -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Fri Oct 3 16:26:02 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 16:26:02 2003 Subject: Decompress cross platform In-Reply-To: <3F7DDFD5.2070201@hyperactivesw.com> Message-ID: <9F974B1E-F5E6-11D7-A374-000A9567A3E6@swcp.com> On Friday, October 3, 2003, at 02:45 PM, J. Landman Gay wrote: > I may be mis-remembering, but I thought character conversions were now > done on custom properties as well as on fields. Or was I dreaming > that? Yikes! Does this mean all binary data in a stack will have to be base64 or hex? This is crazy. It is not a field. Next, I'll find out that stack encryption will destroy binary data. Dar Scott From jacque at hyperactivesw.com Fri Oct 3 16:26:14 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Oct 3 16:26:14 2003 Subject: Decompress cross platform In-Reply-To: <0F847DA5-F5DF-11D7-A374-000A9567A3E6@swcp.com> References: <0F847DA5-F5DF-11D7-A374-000A9567A3E6@swcp.com> Message-ID: <3F7DE6E4.2050403@hyperactivesw.com> On 10/3/03 3:20 PM, Dar Scott wrote: > > On Friday, October 3, 2003, at 01:14 PM, J. Landman Gay wrote: > >> I don't want to maintain separate stacks for each platform. Any idea >> how to get around this problem? I thought compression was supposed to >> work the same way on all plaforms. > > > Me, too. > > There is a decompression bug for OS X & Revolution 2.1, but this does > not seem to be it. Or is it? That bug is fixed and the fix will be in > an upcoming release. > > Revolution compression uses a gzip style compression that is the same as > that (the best I can tell) in RFC1952. The decompression does not check > the CRC, so it can't be compliant. In my opinion, it should _not_ check > the CRC in decompression. I would expect this to work across > platforms. IIRC, the OS X bug is a type bug and those might make > differences across platforms. > > Do you have a small example that does not work the same across platforms. You can use anything. Just create a field and put any text into it. Then do this: put compress(fld x) into fld x Save the stack and transfer it to the other platform. Then do: put decompress(fld x) into fld x It won't work for me. In re: your other note, there are no nulls and the lines are not long; it is just plain ascii. So I don't think the problem is with the source text, especially since I can reproduce the problem no matter what I put in the field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Fri Oct 3 16:40:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 16:40:00 2003 Subject: Decompress cross platform In-Reply-To: <3F7DDFD5.2070201@hyperactivesw.com> Message-ID: <93315E71-F5E8-11D7-A374-000A9567A3E6@swcp.com> On Friday, October 3, 2003, at 02:45 PM, J. Landman Gay wrote: > I may be mis-remembering, but I thought character conversions were now > done on custom properties as well as on fields. Or was I dreaming > that? From the dictionary entry for ISOToMac(): > Revolution automatically translates text in fields and scripts, as > well as the names of custom properties, into the appropriate character > set when you move a stack from one platform to another. It is > therefore not necessary to translate them. However, the contents of > custom properties, since they may contain binary data, are not > translated automatically and must be translated if they contain > characters whose ASCII value is 128 or greater. > From "Why... is a custom property garbled when switching platforms": > However, text in custom properties is not converted between the ISO > and Macintosh character sets. This is because custom properties can > contain binary data as well as text, and converting them would garble > the data. If you plan to display the data in a custom property as > text, you must convert it yourself when you use the stack on another > platform. So, my panic was premature. Maybe the compressed htmlText could go into a custom property. I don't think storing binary in fields is safe, be it crossplatform or not. Dar Scott panic prone From dsc at swcp.com Fri Oct 3 16:51:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 16:51:00 2003 Subject: Decompress cross platform In-Reply-To: <3F7DE6E4.2050403@hyperactivesw.com> Message-ID: <12ABD60A-F5EA-11D7-A374-000A9567A3E6@swcp.com> On Friday, October 3, 2003, at 03:15 PM, J. Landman Gay wrote: > It won't work for me. In re: your other note, there are no nulls and > the lines are not long; it is just plain ascii. So I don't think the > problem is with the source text, especially since I can reproduce the > problem no matter what I put in the field. I mean the compressed data. Starting at the fourth byte are some nulls. And since it is binary, there is no reason why there might not be no Lf chars for well over the max line length. Here is a hex dump of compress("abc"): 1f8b08000000000000034b4c4a0600c241243503000000 (Compression is only shorter for strings over, uh, about 25 bytes, I think. A trick is to store strings less than 20 as uncompressed strings; you know whether to uncompress or not by the length.) Dar Scott From david at kwinter.ca Fri Oct 3 16:51:43 2003 From: david at kwinter.ca (David Kwinter) Date: Fri Oct 3 16:51:43 2003 Subject: Do Proxies Interfere With Sockets? Message-ID: Hello, I have a program which works great on Mac and PCs which are either directly connected to the internet or behind a router, not a proxy. On openStack my program gets the IP address of the host computer via the URL http://www.sofaking.tv/w.txt It then does its communication via sockets. I understand that the first request may not work if "httpProxy" is not set first. That is ok and I can change it. My question is: Will my socket communication work normally thereafter or does a proxy mess with it too? Unfortunately I don't have a proxy to test with. Please help, David Kwinter From alex at mindlube.com Fri Oct 3 16:57:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 16:57:01 2003 Subject: Decompress cross platform In-Reply-To: <3F7DDFD5.2070201@hyperactivesw.com> Message-ID: On Friday, October 3, 2003, at 02:45 PM, J. Landman Gay wrote: > I may be mis-remembering, but I thought character conversions were now > done on custom properties as well as on fields. Or was I dreaming > that? I hope that's not the case- then there would be no safe place to put binary data in stacks. > I will try the ISO conversions though and see if that helps. I think the automatic ISO conversion is the culprit if you are storing the compressed data in fields. Try storing it in a custom property. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Fri Oct 3 17:02:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 17:02:01 2003 Subject: cRevgeneral["script"] In-Reply-To: Message-ID: On Friday, October 3, 2003, at 03:02 PM, Dar Scott wrote: > My mind had gone down some bunny trail and started wandering into to > thinking a script editor edits a source that is processed to become a > script. If I put fancy formatting and tabular data and math and color > and multiple languages in my /* */ handler/function headers, then they > might be lost in MLXEditor, I guess. I don't know how this would > really work; my mind wanders off in directions that my actions have > yet to find. (I won't mention pictures; that would be a distraction.) MLXEditor gets and sets the script property of objects. It assumes the script property is just a long string, and it writes the script to a file and launches an external editor on the file. Then when the file has been modified, MLXEditor reads it and sets the script property of the object. MLXEditor doesn't have any concept of fancy formatting. Whatever editor being used can of course do formatting or syntax coloring if it's capable. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Fri Oct 3 17:10:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 17:10:01 2003 Subject: JDBC instead of ODBC In-Reply-To: <00c601c389f0$e66aa150$0100a8c0@avatar> Message-ID: On Friday, October 3, 2003, at 02:57 PM, J?lio C?sar K?del wrote: > Those links that I passed in my messages are both for open source ODBC > engines (for both Windows and Linux). I think would not be hard to > make a > MacOS X version, but, for MacOS, I don't know (therefore, I hate macs > ;-] ) I once tried to compile an open-source ODBC driver for OS X, but utterly failed. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Fri Oct 3 17:15:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 17:15:01 2003 Subject: Do Proxies Interfere With Sockets? In-Reply-To: Message-ID: <6F65E069-F5ED-11D7-A374-000A9567A3E6@swcp.com> On Friday, October 3, 2003, at 03:40 PM, David Kwinter wrote: > On openStack my program gets the IP address of the host computer via > the URL > http://www.sofaking.tv/w.txt Currently 137.186.182:8080 > > It then does its communication via sockets. Do you mean via tcp using "open socket"? One might infer from the above IP address and port that it is tcp to an http port. > > I understand that the first request may not work if "httpProxy" is not > set > first. That is ok and I can change it. > > My question is: Will my socket communication work normally thereafter > or > does a proxy mess with it too? No. Well, not with simply an "open socket" command. If it really is http, then you need to open the port at the proxy. (Well, some firewalls will forward requests to its proxy, so... maybe.) If it is not http, then you will likely have to deal with the firewall and firewall keepers. > Unfortunately I don't have a proxy to test > with. Maybe somebody has figured out how to provide that service. Dar Scott From sharonstamps at byu.edu Fri Oct 3 17:18:02 2003 From: sharonstamps at byu.edu (Sharon Stamps) Date: Fri Oct 3 17:18:02 2003 Subject: Accessing Multidimensional Arrays Message-ID: <01L1EC59Q5KK8Y596B@EMAIL1.BYU.EDU> I am interested in creating several large, multidimensional arrays within my stack (I'm creating a diagnostic testing program). What I want to do is add info to and remove info from these arrays during the use of the program, and then, when the user completes the test, pipe the information contained in the arrays to a text file for teacher assessment. Is there a quick and painless way to do this? So far I have been able to create and edit the values of the dimensions of the arrays just fine, but the end text file baffles me. I have toyed with the idea of using a function or a repeat loop to obtain the values to put into the file, but I was hoping there would be an easier way. There isn't much documentation on arrays, so I would really appreciate any suggestions! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Fri Oct 3 17:21:02 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 17:21:02 2003 Subject: cRevgeneral["script"] In-Reply-To: Message-ID: <3F2EF14F-F5EE-11D7-A374-000A9567A3E6@swcp.com> On Friday, October 3, 2003, at 03:50 PM, Alex Rice wrote: > MLXEditor gets and sets the script property of objects. It assumes the > script property is just a long string, and it writes the script to a > file and launches an external editor on the file. Then when the file > has been modified, MLXEditor reads it and sets the script property of > the object. MLXEditor doesn't have any concept of fancy formatting. > Whatever editor being used can of course do formatting or syntax > coloring if it's capable. I get it. And this makes sense. My kibitzing at this point is to encourage you to make sure one who goes back to the IDE editor does not edit old script data--which may already be the case. Dar Scott From jacque at hyperactivesw.com Fri Oct 3 17:24:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Oct 3 17:24:01 2003 Subject: Decompress cross platform In-Reply-To: <93315E71-F5E8-11D7-A374-000A9567A3E6@swcp.com> References: <93315E71-F5E8-11D7-A374-000A9567A3E6@swcp.com> Message-ID: <3F7DF445.70801@hyperactivesw.com> On 10/3/03 4:28 PM, Dar Scott wrote: > > On Friday, October 3, 2003, at 02:45 PM, J. Landman Gay wrote: > >> I may be mis-remembering, but I thought character conversions were now >> done on custom properties as well as on fields. Or was I dreaming > that? > > > From the dictionary entry for ISOToMac(): > >> Revolution automatically translates text in fields and scripts, as >> well as the names of custom properties, into the appropriate character >> set when you move a stack from one platform to another. It is >> therefore not necessary to translate them. However, the contents of >> custom properties, since they may contain binary data, are not >> translated automatically and must be translated if they contain >> characters whose ASCII value is 128 or greater. So I was mis-remembering. Good. It's just the names that are translated. > Maybe the compressed htmlText could go into a custom property. Yes, I think that's what I'll do. It solves everything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at kwinter.ca Fri Oct 3 18:24:00 2003 From: david at kwinter.ca (David Kwinter) Date: Fri Oct 3 18:24:00 2003 Subject: Do Proxies Interfere With Sockets? In-Reply-To: <6F65E069-F5ED-11D7-A374-000A9567A3E6@swcp.com> Message-ID: On 10/3/03 4:03 PM, "Dar Scott" wrote: >> >> It then does its communication via sockets. > > Do you mean via tcp using "open socket"? One might infer from the > above IP address and port that it is tcp to an http port. I use "open socket" TCP style communication with the host using: accept connections on port 8080 with message "newMsg" - everything runs beautifully in non-proxy situations. The use of 8080 is just a first attempt to get the traffic through routers and proxies. My program got on www.macnn.com and www.macupdate.com and now has hundreds of users, a couple people have emailed that it doesn't work and I'm certain it's due to proxy problems. Has anyone made a program that uses sockets successfully through proxies?? David Kwinter From dsc at swcp.com Fri Oct 3 18:31:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 18:31:01 2003 Subject: Do Proxies Interfere With Sockets? In-Reply-To: Message-ID: <16522B26-F5F8-11D7-B181-000A9567A3E6@swcp.com> On Friday, October 3, 2003, at 05:12 PM, David Kwinter wrote: > I use "open socket" TCP style communication with the host using: > accept connections on port 8080 with message "newMsg" - everything runs > beautifully in non-proxy situations. Your problem is more than just proxy; you will have problems with firewalls. Gotta run. Dar Scott From david at kwinter.ca Fri Oct 3 18:39:00 2003 From: david at kwinter.ca (David Kwinter) Date: Fri Oct 3 18:39:00 2003 Subject: Do Proxies Interfere With Sockets? [RevNet?] In-Reply-To: <16522B26-F5F8-11D7-B181-000A9567A3E6@swcp.com> Message-ID: On 10/3/03 5:19 PM, "Dar Scott" wrote: > > On Friday, October 3, 2003, at 05:12 PM, David Kwinter wrote: > >> I use "open socket" TCP style communication with the host using: >> accept connections on port 8080 with message "newMsg" - everything runs >> beautifully in non-proxy situations. > > Your problem is more than just proxy; you will have problems with > firewalls. Geez, I really hope there's a way to make sockets work. I'd hate to redo everything using HTTP and a webserver to sidestep the proxies & firewalls. Sheesh Any help would be greatly appreciated, I haven't checked it out too much but has RevNet dealt with this issue or is it 100% HTTP? David From alex at mindlube.com Fri Oct 3 18:46:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 18:46:01 2003 Subject: cRevgeneral["script"] In-Reply-To: <3F2EF14F-F5EE-11D7-A374-000A9567A3E6@swcp.com> Message-ID: <255D6948-F5FA-11D7-8E20-000393529642@mindlube.com> On Friday, October 3, 2003, at 04:09 PM, Dar Scott wrote: > I get it. And this makes sense. > > My kibitzing at this point is to encourage you to make sure one who > goes back to the IDE editor does not edit old script data--which may > already be the case. Thanks- I do switch back and forth between MLXEditor and the IDE built-in editor, so I'm guessing cRevgeneral["script"] is some kind of cache- maybe used by the "revert" button in the IDE editor. In MLXEditor, if the shift key is down, the builtin editor will launch instead of the external editor. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Fri Oct 3 18:57:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Oct 3 18:57:00 2003 Subject: Do Proxies Interfere With Sockets? [RevNet?] In-Reply-To: Message-ID: On Friday, October 3, 2003, at 05:27 PM, David Kwinter wrote: > Geez, I really hope there's a way to make sockets work. I'd hate to > redo > everything using HTTP and a webserver to sidestep the proxies & > firewalls. > Sheesh Why should you rewrite? Require the user to open up their firewalls on the required port. If they can't or don't know how, they are probably at their workplace. Most firewalls don't restrict outgoing connections, no matter what the port number. If outgoing connections are restricted, it's usually because of a security policy. But, I think one reason XML-RPC and SOAP are so popular right now is because HTTP is the least likely service to run into firewall issues. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gizmotron at earthlink.net Fri Oct 3 21:42:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Oct 3 21:42:00 2003 Subject: Accessing Multidimensional Arrays In-Reply-To: <01L1EC59Q5KK8Y596B@EMAIL1.BYU.EDU> Message-ID: On Friday, October 3, 2003, at 03:05 PM, Sharon Stamps wrote: > I am interested in creating several large, multidimensional arrays > within my stack (I?m creating a diagnostic testing program). ?What I > want to do is add info to and remove info from these arrays during the > use of the program, and then, when the user completes the test, pipe > the information contained in the arrays to a text file for teacher > assessment. ?Is there a quick and painless way to do this?? So far I > have been able to create and edit the values of the dimensions of the > arrays just fine, but the end text file baffles me.? I have toyed with > the idea of using a function or a repeat loop to obtain the values to > put into the file, but I was hoping there would be an easier way. > ?There isn?t much documentation on arrays, so I would really > appreciate any suggestions! Sharon, I did some array manipulations in an example: put: go url "http://www.gizmotron.org/frogbreath.rev" into the message window with an active internet connection. ... hit return Not sure this will help but there it is. Mark From chipp at chipp.com Fri Oct 3 23:01:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Oct 3 23:01:01 2003 Subject: Do Proxies Interfere With Sockets? [RevNet?] In-Reply-To: Message-ID: There are many different kinds of Proxy servers, and many different authentication schemes. At some point, RR will want to support as many different authentication schemes as possible -- though it may take a bit of 'expert' programming. Altuit, and Daniels-Mara are hoping to work on this problem in the near future, as we have several enterprise products which need to work through different proxy servers. If anyone has a desire to help, or share any existing solutions, please email me offlist and I'll try and setup a website with status (and hopefully some beta code) of some preliminary solutions. IMHO, I think this all needs to be integrated with libURL. It may also be necessary to create some custom externals in order to handle some of the more difficult authentication schemes (such as MS challenge/response), though I'm not an expert on this. best, Chipp From dsc at swcp.com Fri Oct 3 23:40:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Oct 3 23:40:01 2003 Subject: no binary keys for arrays Message-ID: <38AFC7C2-F623-11D7-BADC-000A9567A3E6@swcp.com> Recently, I mentioned on some list or maybe in private that arrays can have binary keys and binary elements. I was sure I ran the test. I must have been thinking of my element test. Well, I ran into a bug in my code and learned that nulls break keys. So, what I said is not true. Dar Scott From dsc at swcp.com Sat Oct 4 01:26:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Oct 4 01:26:00 2003 Subject: Do Proxies Interfere With Sockets? [RevNet?] In-Reply-To: Message-ID: <12904CFB-F632-11D7-BADC-000A9567A3E6@swcp.com> On Friday, October 3, 2003, at 05:27 PM, David Kwinter wrote: > Geez, I really hope there's a way to make sockets work. I'd hate to > redo > everything using HTTP and a webserver to sidestep the proxies & > firewalls. Here is an approach. Have a few lines in the doc describe exactly what is needed. Something like this: TCP outgoing Port: 4401 IP Addresses: all Protocol: Proprietary Database Access If you can narrow it down to a small range of IP address or even one, that is better. The user can take that to the keeper of the firewall. Dar Scott From david at kwinter.ca Sat Oct 4 02:17:00 2003 From: david at kwinter.ca (David Kwinter) Date: Sat Oct 4 02:17:00 2003 Subject: Do Proxies Interfere With Sockets? [RevNet?] In-Reply-To: <12904CFB-F632-11D7-BADC-000A9567A3E6@swcp.com> Message-ID: As far as languages go, transcript is my mother tongue. I tried this in Terminal, no go, how do I implement this? On 10/4/03 12:14 AM, "Dar Scott" wrote: > Have a few lines in the doc describe exactly what is needed. Something > like this: > > TCP outgoing > Port: 4401 > IP Addresses: all > Protocol: Proprietary Database Access > > If you can narrow it down to a small range of IP address or even one, > that is better. > > The user can take that to the keeper of the firewall. > > Dar Scott From FlexibleLearning at aol.com Sat Oct 4 03:18:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat Oct 4 03:18:01 2003 Subject: Decompress cross platform Message-ID: <174.21061f24.2cafd97a@aol.com> > Next, I'll find out that stack encryption will destroy binary data. It does, Dar... when compressed userProperty data is involved. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From FlexibleLearning at aol.com Sat Oct 4 10:56:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat Oct 4 10:56:00 2003 Subject: Menu parser Message-ID: <7143D1BB.1879B889.DC67E5C7@aol.com> Aaaargh! Me brain's gone west and taken me intelligence with it.... Does anyone have a function that parses out only the active menuitems from a menuList? Feel free to mail me off-list as I am on digest. Thank you! Example: Menu1 Menu1.1 Menu1.2 (- Menu2 - Menu3 Menu3.1 Menu3.1.1 Menu3.1.2 Menu3.2 Menu3.3 Menu4 Would return... Menu1.1 Menu1.2 Menu2 Menu3.1.1 Menu3.1.2 Menu3.2 Menu3.3 Menu4 /H From mcdomi at free.fr Sat Oct 4 11:08:00 2003 From: mcdomi at free.fr (Dom) Date: Sat Oct 4 11:08:00 2003 Subject: Newcard: a curious bug!? Message-ID: <1g2bfw1.zn1b5b124j3jyM%mcdomi@free.fr> I have a single card stack. I don't want the user adds a new card; so I trap the "newcard" message (accordingly with the help) If I write: on newcard send "delete this card" to this card in 1 sec end newcard That works... But if I add a warning, such as in: on newcard answer "Only one card, please!" send "delete this card" to this card in 1 sec end newcard That doesn't work... the newly created card is not deleted! If I go further and add again new card, it ends with a blank dialog and Rev freezes... -- From dsc at swcp.com Sat Oct 4 11:12:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Oct 4 11:12:01 2003 Subject: Do Proxies Interfere With Sockets? [RevNet?] In-Reply-To: Message-ID: On Saturday, October 4, 2003, at 01:05 AM, David Kwinter wrote: > As far as languages go, transcript is my mother tongue. I tried this in > Terminal, no go, how do I implement this? Arg. I was being cryptic again. I mean that is enough info for the person who manages the firewall to make the changes. Each firewall type will be different in how that is done. In some organizations the person who manages the firewall can do this in a minute. In others, where that is not a primary responsibility or the firewall is a pain to manage, there is often delay or hesitation. In some, an approval process is involved. In some, chocolate is required. The important thing is that an exact description of the need is required. Some organizations require a business purpose. Some require a risk assessment. If the range of computers outside and even the range inside can be limited, that helps. "Because the connection is TCP outgoing and because a single port is involved, the risk is ..." So... My advice here is not technical in a strict sense, but pragmatic in it gets firewalls open. A URL to a page for firewall administrators might help. Dar Scott From dsc at swcp.com Sat Oct 4 11:19:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Oct 4 11:19:01 2003 Subject: Decompress cross platform In-Reply-To: <174.21061f24.2cafd97a@aol.com> Message-ID: On Saturday, October 4, 2003, at 02:06 AM, FlexibleLearning at aol.com wrote: > > Next, I'll find out that stack encryption will destroy binary data. > > It does, Dar... when compressed userProperty data is involved. Thanks for the warning. Uh, I'm a little confused this morning. Under what conditions does this occur? I know mcencrypt() loses info on binary data. Is that involved in stack encryption? Dar Scott From klaus at major-k.de Sat Oct 4 11:38:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Oct 4 11:38:01 2003 Subject: Newcard: a curious bug!? In-Reply-To: <1g2bfw1.zn1b5b124j3jyM%mcdomi@free.fr> Message-ID: <910909E3-F687-11D7-9B7C-000A27B49A96@major-k.de> Bon soir Domi, > ... > on newcard > answer "Only one card, please!" send "delete this card" to this STACK in 1 sec ## stack !!! > end newcard That works here for me ;-) Hope that helps... Au revoir Klaus Major klaus at major-k.de www.major-k.de From psahores at easynet.fr Sat Oct 4 11:47:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Oct 4 11:47:00 2003 Subject: Newcard: a curious bug!? In-Reply-To: <1g2bfw1.zn1b5b124j3jyM%mcdomi@free.fr> References: <1g2bfw1.zn1b5b124j3jyM%mcdomi@free.fr> Message-ID: <1065285398.4910.41.camel@www.kmax.ici> Hi Dom, It's not a bug... Just because your "answer" brakes the original message path, you just need to invert your two statments as below to get the expected result : Bests, Pierre > on newcard > send "delete this card" to this card -- in 1 sec > answer "Only one card, please!" > end newcard Le sam 04/10/2003 ? 17:57, Dom a ?crit : > I have a single card stack. > > I don't want the user adds a new card; so I trap the "newcard" message > (accordingly with the help) > > If I write: > > on newcard > send "delete this card" to this card in 1 sec > end newcard > > That works... > But if I add a warning, such as in: > > on newcard > answer "Only one card, please!" > send "delete this card" to this card in 1 sec > end newcard > > That doesn't work... the newly created card is not deleted! > If I go further and add again new card, it ends with a blank dialog and > Rev freezes... -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From FlexibleLearning at aol.com Sat Oct 4 12:17:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat Oct 4 12:17:01 2003 Subject: Decompress cross platform Message-ID: <76.32cfa821.2cb057e9@aol.com> >>> Next, I'll find out that stack encryption will destroy binary data. >> It does, Dar... when compressed userProperty data is involved. > Thanks for the warning. > > Uh, I'm a little confused this morning. Under what conditions does > this occur? > > I know mcencrypt() loses info on binary data. Is that involved in > stack encryption? SFAIK under all circumstances. The workaround (if memory serves) is to store base64Encode(compress(tData)) in a userProperty instead, but there is no space saving. Has been a 'feature' since mc.forever and therefore .rev also as the underlying code. MCEncrypt is internal use only and is, I believe, the engine used when a stack is password protected. So yes. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Sat Oct 4 12:31:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Oct 4 12:31:00 2003 Subject: Encryption and binary (was Decompress cross platform) In-Reply-To: <76.32cfa821.2cb057e9@aol.com> Message-ID: On Saturday, October 4, 2003, at 11:05 AM, FlexibleLearning at aol.com wrote: > >> It does, Dar... when compressed userProperty data is involved. > SFAIK under all circumstances. The workaround (if memory serves) is to > store base64Encode(compress(tData)) in a userProperty instead, but > there is no space saving. Has been a 'feature' since mc.forever and > therefore .rev also as the underlying code. Is userProperty what I know as custom property? Your workaround makes sense. Dar Scott From todd at geistinteractive.com Sat Oct 4 13:01:01 2003 From: todd at geistinteractive.com (Todd Geist) Date: Sat Oct 4 13:01:01 2003 Subject: JDBC instead of ODBC In-Reply-To: <8AF51AA5-F5E0-11D7-89DA-000393529642@mindlube.com> Message-ID: On 10/3/03 2:31 PM, "Alex Rice" wrote: > > On Friday, October 3, 2003, at 01:01 PM, Todd Geist wrote: >> Is it particular hard to build this kind of driver? > > If you are programming in Java it's not hard, I would imagine. > But JDBC makes no sense for Rev because it's not related to Java in any > way. But what about all those database engines that can use JDBC? OpenBase FrontBase Firebird Postrgres MySQL FileMaker Etc. etc. I know some of them are already supported by Rev but wouldn't it be nice to have a single method to connect to all those databases that didn't require setting up and configuring ODBC? Todd -- Todd Geist _________________________________ g e i s t i n t e r a c t i v e web hosting ? web design ? application design From alex at mindlube.com Sat Oct 4 13:38:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Oct 4 13:38:01 2003 Subject: JDBC instead of ODBC In-Reply-To: Message-ID: <5700E15A-F698-11D7-85EA-000393529642@mindlube.com> On Saturday, October 4, 2003, at 11:49 AM, Todd Geist wrote: > But what about all those database engines that can use JDBC? > > I know some of them are already supported by Rev but wouldn't it be > nice to > have a single method to connect to all those databases that didn't > require > setting up and configuring ODBC? But JDBC is for JAVA apps/applets. Java programmers we are not. Maybe I am missing your point. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From trevor at mangomultimedia.com Sat Oct 4 13:59:03 2003 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Sat Oct 4 13:59:03 2003 Subject: revXMLText and accented characters on Windows Message-ID: <426BE83E-F69B-11D7-A475-000A956C462A@mangomultimedia.com> I am creating an XML file from Revolution and saving it as UTF8. I have it working on OS X but am experiencing problems with Windows (win 2000). When an accented character is entered such as ? (e with an accent egout) then it seems the character is encoded when using revXMLText on Windows. The code below works fine on Mac OS X with an input string of "? is accented". It creates the file and when I open it in BBEdit on Mac or IE Explorer on Win then the accented characters display correctly. On Windows the same code (with path name changed and text entered into the field on win platform) creates an output file that with the string represented as "頩s accented". Any ideas on how to get around this? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com Here is the code: on mouseUp put revCreateXMLTree("" & text of field 1 & "", false, true, false) into tTreeID put "/Users/trevordevore/Desktop/test1.xml" into tPath put revXMLRootNode(tTreeID) into tRootNodeID get revXMLText(tTreeID) open file tPath for binary write write (uniDecode (GetBOM() & uniEncode (revXMLText(tTreeID, tRootNodeID), "UTF16"), "UTF8")) & \ to file tPath close file tPath end mouseUp function GetBOM set the useUnicode to true return numToChar(abs(baseConvert("FEFF",16,10))) -- Thanks Dar :) end GetBOM From janschenkel at yahoo.com Sat Oct 4 14:22:02 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Oct 4 14:22:02 2003 Subject: Menu parser In-Reply-To: <7143D1BB.1879B889.DC67E5C7@aol.com> Message-ID: <20031004191059.14015.qmail@web11906.mail.yahoo.com> --- FlexibleLearning at aol.com wrote: > Aaaargh! Me brain's gone west and taken me > intelligence with it.... > > Does anyone have a function that parses out only the > active menuitems from a menuList? Feel free to mail > me off-list as I am on digest. Thank you! > > Example: > Menu1 > Menu1.1 > Menu1.2 > (- > Menu2 > - > Menu3 > Menu3.1 > Menu3.1.1 > Menu3.1.2 > Menu3.2 > Menu3.3 > Menu4 > > Would return... > > Menu1.1 > Menu1.2 > Menu2 > Menu3.1.1 > Menu3.1.2 > Menu3.2 > Menu3.3 > Menu4 > > > /H > Try this : put the text of btn "Foo" into tMenuText -- strip off the elading tabs for submenus replace tab with empty in tMenuText -- now filter out the divider lines repeat for each line tMenuLine in tMenuText if tMenuLine is not among the items of "-,(-" then put tMenuLine & return after tStrippedList end repeat -- finally clean up the trailing return delete char -1 of tStrippedList Then the variable tStrippedList should contain what you want. I was looking for a way to "filter" instead of the "repeat" loop but didn't find one right away. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From psahores at easynet.fr Sat Oct 4 14:53:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Oct 4 14:53:00 2003 Subject: JDBC instead of ODBC In-Reply-To: <5700E15A-F698-11D7-85EA-000393529642@mindlube.com> References: <5700E15A-F698-11D7-85EA-000393529642@mindlube.com> Message-ID: <1065296551.4911.136.camel@www.kmax.ici> Allo Friends, Under, at least, Linux, Java is between 200% and 600% slower than the RR 2.1 engine is. Use, at least the shell() + pipe option if you are not really aware (alike me, for yet) with the RevDB lib. I used it for years in production state critical apps (80% of writes, up to 250 connections/second) with never a problem (Athlon 800, 1Go RAM, Suse-Linux 8.2 Pro, Apache, PHP, Revolution 2.1, PostgreSQL 7.3.3). Le sam 04/10/2003 ? 20:26, Alex Rice a ?crit : > On Saturday, October 4, 2003, at 11:49 AM, Todd Geist wrote: > > > But what about all those database engines that can use JDBC? > > > > I know some of them are already supported by Rev but wouldn't it be > > nice to > > have a single method to connect to all those databases that didn't > > require > > setting up and configuring ODBC? > > But JDBC is for JAVA apps/applets. Java programmers we are not. Maybe I > am missing your point. > > > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From revolution at knowledgeworks.plus.com Sat Oct 4 15:02:01 2003 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sat Oct 4 15:02:01 2003 Subject: JDBC instead of ODBC Message-ID: >>But what about all those database engines that can use JDBC? Todd, maybe you are thinking of things in the converse. Are you seeing Rev stacks as databases, and asking for a JDBC driver so that people could connect to a stack from a Java application? That is the only sense in which the databases you mention have JDBC drivers - so that Java applications can connect to them. Rev uses ODBC in the opposite way - that is, so that Rev _applications_ can connect to these _other_ databases. The Rev drivers for Oracle, MySQL, Valentina etc. are the Rev equivalents of the JDBC drivers - drivers which enable an application to make direct (network) calls to a database (that may be local) from within the application. With the databases you cite, the JDBC drivers are provided (effectively) by the database providers to enable Java applications to communicate with their DB. As for Rev apps, there is only really three ways to interface with an external database: 1) the Runrev-supplied drivers 2) ODBC (or maybe a JDBC-ODBC bridge, although usually they are the other way round) 3) Shelling out to a command line SQL processor I expect some more imaginative individual may come up with others.... Regards, Bernard From kodel at terra.com.br Sat Oct 4 16:17:00 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sat Oct 4 16:17:00 2003 Subject: JDBC instead of ODBC References: Message-ID: <001501c38abb$5f293780$595db1c8@tarja> Easier than a ODBC/JDBC/whateverDBC engine is a custom engine for a specific database. For example, FireBird (or Interbase 6, which is almost the same), there is a VB OCX and some LIBs for C to direct connect to Firebird servers without using ODBC... The most right would we achieve the maximum information (and source codes) of determined engine and then give it to Revolution developers... This way, I think new native engines for Revolution will be more easy made than we just ask "I need a driver for sbrobow database engine" ;-) And there is a advantage in this process: as native database engines doesn't work uppon ODBC, and considering that all database servers are equal (plataform independent), a engine made for revolution would work in any plataforms (different from ODBC, which is a problem in MacOS and, I guess, a really pain in *nix stations). By the way... Some developer wants the source code for some libs to FireBird? ;-) ----- Original Message ----- From: "Bernard Devlin" To: Sent: Friday, October 03, 2003 4:50 PM Subject: Re: JDBC instead of ODBC > >>But what about all those database engines that can use JDBC? > > Todd, maybe you are thinking of things in the converse. Are you seeing > Rev stacks as databases, and asking for a JDBC driver so that people could > connect to a stack from a Java application? That is the only sense in > which the databases you mention have JDBC drivers - so that Java > applications can connect to them. > > Rev uses ODBC in the opposite way - that is, so that Rev _applications_ > can connect to these _other_ databases. > > The Rev drivers for Oracle, MySQL, Valentina etc. are the Rev equivalents > of the JDBC drivers - drivers which enable an application to make direct > (network) calls to a database (that may be local) from within the > application. > > With the databases you cite, the JDBC drivers are provided (effectively) > by the database providers to enable Java applications to communicate with > their DB. > > As for Rev apps, there is only really three ways to interface with an > external database: > 1) the Runrev-supplied drivers > 2) ODBC (or maybe a JDBC-ODBC bridge, although usually they are the other > way round) > 3) Shelling out to a command line SQL processor > > I expect some more imaginative individual may come up with others.... > > Regards, > Bernard > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From kodel at terra.com.br Sat Oct 4 16:37:00 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sat Oct 4 16:37:00 2003 Subject: Some doubts 'bout Revolution Message-ID: <007301c38abe$1d658e40$595db1c8@tarja> Each day I'm more convinced that Revolution is a great program tool. Some things are amazing easy to do, and seems so powerfull that I think no program CAN'T be developed in Rev. But, I must ask some questions: (first, sorry by comparing Rev with VB, but I'm a BASIC programmer since 1986, and VB is my current world ;-] ) 1) Nowadays, more and more applications (especially those developed in RAD tools) are using HTML, for display data, forms, or whatever. In my case, I use HTML for custom relats (my program parses tags in HTML file and then replace them with some data. It's a easy way to make relats customizable for the final user). Revolution doesn't have a control that show HTML pages (I know there is a DLL, which I assume that use IE engine, but work only for Windows). There is some way to display full HTML pages within cards, in all plataforms (or, at least, Windows and *nix)? Or, if not, at least a "standard" way to "execute" a HTML file (some kind of shell that would open the default Web Browser of OS and display a local file). 2) Someone know a site where there is some Rev. applications to download (to study, of course, open source)? 3) Since Windows 95, both Mac and *nix plataforms are using controls like the Windows TreeView and ListItems controls. There is something like this for Revolution (TV and LI objects are used, for example, in a Windows Explorer window, wich TreeView is the object that shows a "tree" of folders and ListItems is the object that show items with icons, tabs and subitems) 4) Is there a IDE for Revolution other than the current? 5) Revolution IDE is capable of showing the "look and feel" of other plataforms (for example, MacOS and Motif). In a distributed application, there is some way to make it look like a Mac, for example, by default (in other words: Can I make a Revolution application in Windows that mantain the "look" of Mac?) 6) When making a compiled application from Revolution, I noticed that it would NOT support Microsoft icons other than 16 colors... There's no way to use 256 colors icons? (the best would be if Rev. could use TrueColor or RGBA icons, but 256 colors are the minimal to nowadays Windows stardards). Well... I guess it's "only" this... Thanx in advance for all ;-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From revolution at knowledgeworks.plus.com Sat Oct 4 16:45:00 2003 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sat Oct 4 16:45:00 2003 Subject: JDBC instead of ODBC Message-ID: >> Easier than a ODBC/JDBC/whateverDBC engine is a custom engine for a specific database. << Julio, If you are asking for native Rev drivers for Firebird (to go alongside the drivers that are provided for PostgreSQL, Oracle, etc), I suggested it to Runrev before, but have heard nothing for a year or so. If you are suggesting something else, I'm afraid I don't understand. Could you give more detail? Bernard From kodel at terra.com.br Sat Oct 4 17:05:00 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sat Oct 4 17:05:00 2003 Subject: JDBC instead of ODBC References: Message-ID: <007b01c38ac2$03326a30$595db1c8@tarja> I'm not suggesting nothing ;-) I was just saying that it's easier to work on a native engine than support a Java ODBC engine ;-) Therefore, Java it's NOT so good as it seems (especially on Windows XP). And, other thing I said: I think it is more applicable we give the maximum information we have instead of just ask for something... As those tools are, almost always, open source. For example, my case (FireBird). I know that there is a lot of drivers and libs that are open source... With this in hands, it's a lot easier to devs to make something 'bout FB than just ask for support to FB, don't you agree? ;-) ----- Original Message ----- From: "Bernard Devlin" To: Sent: Friday, October 03, 2003 6:33 PM Subject: Re: JDBC instead of ODBC > >> > Easier than a ODBC/JDBC/whateverDBC engine is a custom engine for a > specific > database. > << > > Julio, > > If you are asking for native Rev drivers for Firebird (to go alongside the > drivers that are provided for PostgreSQL, Oracle, etc), I suggested it to > Runrev before, but have heard nothing for a year or so. > > If you are suggesting something else, I'm afraid I don't understand. Could > you give more detail? > > Bernard > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From ambassador at fourthworld.com Sat Oct 4 17:12:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Oct 4 17:12:01 2003 Subject: Some doubts 'bout Revolution In-Reply-To: <007301c38abe$1d658e40$595db1c8@tarja> Message-ID: J?lio C?sar K?del wrote: > 1) Nowadays, more and more applications (especially those developed in RAD > tools) are using HTML, for display data, forms, or whatever. In my case, I use > HTML for custom relats (my program parses tags in HTML file and then replace > them with some data. It's a easy way to make relats customizable for the final > user). Revolution doesn't have a control that show HTML pages (I know there is > a DLL, which I assume that use IE engine, but work only for Windows). There is > some way to display full HTML pages within cards, in all plataforms (or, at > least, Windows and *nix)? Or, if not, at least a "standard" way to "execute" a > HTML file (some kind of shell that would open the default Web Browser of OS > and display a local file). What's a "relat"? Rev's native support for HTML is limited to tags that have a meaningful representation in Rev field objects: links, images, and text styling attributes like bold, italic, underline, strikethrough, superscript, and subscript. Expanding the field objects to handle more of the HTML DOM is on the request list. But the full HTML spec is big, and I don't know if we'll ever see everything supported, from form elements to CSS; I'm not sure how they would match th object models up. In the meantime, opening a page in the user's preferred browser is a one-liner, and its text parsing fast enough that there's a lot you can do with custom tags. Check out the XML external that ships with Rev for ideas on sectioning displayable HTML in more complex custom structures. > 2) Someone know a site where there is some Rev. applications to download (to > study, of course, open source)? Already on your hard drive: see the menu item Development->Plugins->Go_RevNet That launches an online service for downloading dozens of third-party examples stacks and tools. > 3) Since Windows 95, both Mac and *nix plataforms are using controls like the > Windows TreeView and ListItems controls. There is something like this for > Revolution (TV and LI objects are used, for example, in a Windows Explorer > window, wich TreeView is the object that shows a "tree" of folders and > ListItems is the object that show items with icons, tabs and subitems) A native tree view object is on the request list. In the meantime a scripted solution is available from the Contributions page at RunRev.com's Developer Central. > 4) Is there a IDE for Revolution other than the current? There are two others: The MetaCard IDE was written by the inventor of the engine. Much more spartan than Rev's, it's also a little more nimble. You can get it at metacard.com. There's also FreeGUI, an open source project that aims to provide the simplicity of the HyperCard experience to Transcript developers. It has a group on Yahoo Groups. > 5) Revolution IDE is capable of showing the "look and feel" of other > plataforms (for example, MacOS and Motif). In a distributed application, there > is some way to make it look like a Mac, for example, by default (in other > words: Can I make a Revolution application in Windows that mantain the "look" > of Mac?) Classic, but not OS X. That's the only one you can't at this time. While the other OS appearances are emulated it would be way too much work to emulate Apple's Aqua Appearance Manager. > 6) When making a compiled application from Revolution, I noticed that it would > NOT support Microsoft icons other than 16 colors... There's no way to use 256 > colors icons? (the best would be if Rev. could use TrueColor or RGBA icons, > but 256 colors are the minimal to nowadays Windows stardards). 256 color icons in a hotly requested item these days. At the moment it's just the 16 colors, but I'm told that with the interest in 256-color Win icons it's definitely on the list. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From psahores at easynet.fr Sat Oct 4 17:22:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Oct 4 17:22:01 2003 Subject: Some doubts 'bout Revolution In-Reply-To: <007301c38abe$1d658e40$595db1c8@tarja> References: <007301c38abe$1d658e40$595db1c8@tarja> Message-ID: <1065305462.4910.151.camel@www.kmax.ici> Hi J?lio, To see an example of a full working Revolution+PostgreSQL application, here as the Web issue (there is a Rev's client side app available too), developped in less than some days, have an eye at : and let me know, off-list, if you need more infos or sources stack about how to run this kind of Rev's process. Bests, Pierre Le sam 04/10/2003 ? 23:26, J?lio C?sar K?del a ?crit : > Each day I'm more convinced that Revolution is a great program tool. > Some things are amazing easy to do, and seems so powerfull that I > think no program CAN'T be developed in Rev. But, I must ask some > questions: (first, sorry by comparing Rev with VB, but I'm a BASIC > programmer since 1986, and VB is my current world ;-] ) > > 1) Nowadays, more and more applications (especially those developed in > RAD tools) are using HTML, for display data, forms, or whatever. In my > case, I use HTML for custom relats (my program parses tags in HTML > file and then replace them with some data. It's a easy way to make > relats customizable for the final user). Revolution doesn't have a > control that show HTML pages (I know there is a DLL, which I assume > that use IE engine, but work only for Windows). There is some way to > display full HTML pages within cards, in all plataforms (or, at least, > Windows and *nix)? Or, if not, at least a "standard" way to "execute" > a HTML file (some kind of shell that would open the default Web > Browser of OS and display a local file). > > 2) Someone know a site where there is some Rev. applications to > download (to study, of course, open source)? > > 3) Since Windows 95, both Mac and *nix plataforms are using controls > like the Windows TreeView and ListItems controls. There is something > like this for Revolution (TV and LI objects are used, for example, in > a Windows Explorer window, wich TreeView is the object that shows a > "tree" of folders and ListItems is the object that show items with > icons, tabs and subitems) > > 4) Is there a IDE for Revolution other than the current? > > 5) Revolution IDE is capable of showing the "look and feel" of other > plataforms (for example, MacOS and Motif). In a distributed > application, there is some way to make it look like a Mac, for > example, by default (in other words: Can I make a Revolution > application in Windows that mantain the "look" of Mac?) > > 6) When making a compiled application from Revolution, I noticed that > it would NOT support Microsoft icons other than 16 colors... There's > no way to use 256 colors icons? (the best would be if Rev. could use > TrueColor or RGBA icons, but 256 colors are the minimal to nowadays > Windows stardards). > > Well... I guess it's "only" this... Thanx in advance for all ;-) -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From themacguy at macosx.com Sat Oct 4 17:59:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Sat Oct 4 17:59:00 2003 Subject: Display problem - is this a bug? Message-ID: I've seen an issue with scrolling fields where sliding the "thumb" back up reveals the previously hidden lines of lext but the text is broken up as if it was printed with a clogged inkjet printer. I have a screen shot and will eMail to anyone if asked. However, you can reproduce it by displaying the Transcript Help window, selecting "Filter" from the popup, typing a few letters (try "ba"), clicking below the thumb to scroll the field down, and then dragging the thumb back up. You'll see that the text is goofy looking. The larger the thumb is (less lines of text), the more pronounced the problem is. I can't believe I'm the first to see it. Has this been bugzilla'd? Barry From dsc at swcp.com Sat Oct 4 18:09:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Oct 4 18:09:01 2003 Subject: Display problem - is this a bug? In-Reply-To: Message-ID: <301C36F0-F6BE-11D7-A585-000A9567A3E6@swcp.com> On Saturday, October 4, 2003, at 04:47 PM, Barry Levine wrote: > I can't believe I'm the first to see it. Has this been bugzilla'd? OS X? Yeah. Reported and fixed. I would assume it will be in the next bug-fix release. There are workarounds. (but I gotta leave!) Dar Scott From jtenny at willamette.edu Sat Oct 4 18:17:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Sat Oct 4 18:17:01 2003 Subject: Display problem - is this a bug? In-Reply-To: <301C36F0-F6BE-11D7-A585-000A9567A3E6@swcp.com> Message-ID: <3DB357D5-F6BF-11D7-AB28-000A95A4EDD2@willamette.edu> I get the same effect using a browser, without Rev running. Interesting that it appears when scrolling down but disappears when scrolling up. On Saturday, October 4, 2003, at 03:57 PM, Dar Scott wrote: > > On Saturday, October 4, 2003, at 04:47 PM, Barry Levine wrote: > >> I can't believe I'm the first to see it. Has this been bugzilla'd? > > OS X? Yeah. Reported and fixed. I would assume it will be in the > next bug-fix release. > > There are workarounds. (but I gotta leave!) > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Peace, John Flowing Thought Educational Solutions 503-508-3398 From todd at geistinteractive.com Sat Oct 4 19:14:01 2003 From: todd at geistinteractive.com (Todd Geist) Date: Sat Oct 4 19:14:01 2003 Subject: JDBC instead of ODBC In-Reply-To: <5700E15A-F698-11D7-85EA-000393529642@mindlube.com> Message-ID: On 10/4/03 12:26 PM, "Alex Rice" wrote: > On Saturday, October 4, 2003, at 11:49 AM, Todd Geist wrote: > >> But what about all those database engines that can use JDBC? >> >> I know some of them are already supported by Rev but wouldn't it be >> nice to >> have a single method to connect to all those databases that didn't >> require >> setting up and configuring ODBC? > > But JDBC is for JAVA apps/applets. Java programmers we are not. Maybe I > am missing your point. Well not always. For example: There is a FileMaker Pro plug-in which can connect to any database that has JDBC access. I have used this plug-in to retrieve data from and edit data on Firebird, MySQL, and Postgres servers. There was very little difference in the code, and it was very fast. (Why am I using FileMaker? That's another story). FileMaker's plug-in API is C/C++, not Java. So the developers of the plug-in had to write some kind of C/C++ wrapper around the java code. I was imagining that some clever Rev Nut could do the same thing for Revolution. Maybe as others have pointed out there is no need. Todd -- Todd Geist _________________________________ g e i s t i n t e r a c t i v e web hosting ? web design ? application design From kodel at terra.com.br Sat Oct 4 20:56:00 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sat Oct 4 20:56:00 2003 Subject: Some doubts 'bout Revolution References: Message-ID: <001201c38ae2$4472ebd0$6f5cb1c8@tarja> > > What's a "relat"? > Ops... It's a "report", he he he... Well... Opening a local html file it's fine. I don't know if is possible on all systems, but, in Windows, it's possible to get a HTML Browser within a OLE Object. I know that Macitosh also have OLE Objects support from Microsoft (and, if there is a IE for Macs, I think it would be possible to make this trick on Mac), but I don't know about Linux... > Classic, but not OS X. That's the only one you can't at this time. While > the other OS appearances are emulated it would be way too much work to > emulate Apple's Aqua Appearance Manager. > My question was: it is possible to make this "look and feel" of Classic MacOS in a Rev. application running in Windows (i.e. I make a application, that is distributed for Windows machines, and want to apply ClassicMacOS style on it, as it is possible in the development stage) Thanx for the help ;-) From alex at mindlube.com Sat Oct 4 22:11:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Oct 4 22:11:00 2003 Subject: JDBC instead of ODBC In-Reply-To: Message-ID: <05A69156-F6E0-11D7-85EA-000393529642@mindlube.com> On Saturday, October 4, 2003, at 06:02 PM, Todd Geist wrote: > There is a FileMaker Pro plug-in which can connect to any database > that has > JDBC access. I have used this plug-in to retrieve data from and edit > data > on Firebird, MySQL, and Postgres servers. There was very little > difference > in the code, and it was very fast. (Why am I using FileMaker? That's > another story). > > FileMaker's plug-in API is C/C++, not Java. So the developers of the > plug-in had to write some kind of C/C++ wrapper around the java code. > I was > imagining that some clever Rev Nut could do the same thing for > Revolution. > > Maybe as others have pointed out there is no need. Todd, that's a new one one me! I'm all for any method to get the bountiful world of JDBC drivers can be opened up to us. Certainly better than dealing with ODBC, on Win32 platforms. You reminded me that some Objective-C/Cocoa programmers are using Apple's "Java Bridge" for the purpose of using JDBC from their C apps. But the "Java Bridge" is some mysterious runtime voodoo that Apple whipped up for OS X. I've heard of JNI (java native interfaces) but that's for calling C code from Java, I think. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From monte at sweattechnologies.com Sat Oct 4 22:55:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Oct 4 22:55:01 2003 Subject: JDBC instead of ODBC In-Reply-To: <05A69156-F6E0-11D7-85EA-000393529642@mindlube.com> Message-ID: > On Saturday, October 4, 2003, at 06:02 PM, Todd Geist wrote: > > > There is a FileMaker Pro plug-in which can connect to any database > > that has > > JDBC access. I have used this plug-in to retrieve data from and edit > > data > > on Firebird, MySQL, and Postgres servers. There was very little > > difference > > in the code, and it was very fast. (Why am I using FileMaker? That's > > another story). > > > > FileMaker's plug-in API is C/C++, not Java. So the developers of the > > plug-in had to write some kind of C/C++ wrapper around the java code. > > I was > > imagining that some clever Rev Nut could do the same thing for > > Revolution. > > > > Maybe as others have pointed out there is no need. > > Todd, that's a new one one me! > > I'm all for any method to get the bountiful world of JDBC drivers can > be opened up to us. Certainly better than dealing with ODBC, on Win32 > platforms. > This is a very interesting idea. Personally I'd go for expanding the external API to include Java. JDBC would be an advantage considering there's a JDBC dirver for almost every DB but think of the possibilities that RMI would bring. We could all get fat writing Rev clients to J2EE systems ;-) Cheers Monte From jeanne at runrev.com Sun Oct 5 02:02:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Oct 5 02:02:01 2003 Subject: Some doubts 'bout Revolution In-Reply-To: <001201c38ae2$4472ebd0$6f5cb1c8@tarja> References: <001201c38ae2$4472ebd0$6f5cb1c8@tarja> Message-ID: At 10:44 PM -0300 10/4/2003, J?lio C?sar K?del wrote: >My question was: it is possible to make this "look and feel" of Classic >MacOS in a Rev. application running in Windows (i.e. I make a application, >that is distributed for Windows machines, and want to apply ClassicMacOS >style on it, as it is possible in the development stage) Set the lookAndFeel property to "Macintosh" to get the Platinum appearance. (This is what the menu item in the development environment does.) -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From psahores at easynet.fr Sun Oct 5 02:06:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Oct 5 02:06:01 2003 Subject: JDBC instead of ODBC In-Reply-To: References: Message-ID: <1065336709.4910.163.camel@www.kmax.ici> Le dim 05/10/2003 ? 05:43, Monte Goulding a ?crit : > > On Saturday, October 4, 2003, at 06:02 PM, Todd Geist wrote: > > > > > There is a FileMaker Pro plug-in which can connect to any database > > > that has > > > JDBC access. I have used this plug-in to retrieve data from and edit > > > data > > > on Firebird, MySQL, and Postgres servers. There was very little > > > difference > > > in the code, and it was very fast. (Why am I using FileMaker? That's > > > another story). > > > > > > FileMaker's plug-in API is C/C++, not Java. So the developers of the > > > plug-in had to write some kind of C/C++ wrapper around the java code. > > > I was > > > imagining that some clever Rev Nut could do the same thing for > > > Revolution. > > > > > > Maybe as others have pointed out there is no need. > > > > Todd, that's a new one one me! > > > > I'm all for any method to get the bountiful world of JDBC drivers can > > be opened up to us. Certainly better than dealing with ODBC, on Win32 > > platforms. > > > > This is a very interesting idea. Personally I'd go for expanding the > external API to include Java. JDBC would be an advantage considering there's > a JDBC dirver for almost every DB but think of the possibilities that RMI > would bring. We could all get fat writing Rev clients to J2EE systems ;-) > > Cheers > > Monte Yes, Yes, Yes. Even if Rev don't really need Java to connect RDBMS, it could be a good marketing way to help and let J2EE developers come to Revolution, in discovering and loving it's elegance and simplicity :-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From FlexibleLearning at aol.com Sun Oct 5 02:08:02 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun Oct 5 02:08:02 2003 Subject: Encryption and binary (was Decompress cross platform) Message-ID: <2d.34bdc365.2cb11a8c@aol.com> >>>It does, Dar... when compressed userProperty data is involved. Is userProperty what I know as custom property? Yes... terminology error... oops. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From FlexibleLearning at aol.com Sun Oct 5 02:17:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun Oct 5 02:17:01 2003 Subject: Menu parser Message-ID: <149.19e5b8d5.2cb11c96@aol.com> >Does anyone have a function that parses out only the >active menuitems from a menuList? Try this : put the text of btn "Foo" into tMenuText -- strip off the elading tabs for submenus replace tab with empty in tMenuText -- now filter out the divider lines repeat for each line tMenuLine in tMenuText if tMenuLine is not among the items of "-,(-" then put tMenuLine &return after tStrippedList end repeat -- finally clean up the trailing return delete char -1 of tStrippedList Then the variable tStrippedList should contain what you want. I was looking for a way to "filter" instead of the "repeat" loop but didn't find one right away. Not exactly, Jan. This retains the non-selectable lines of a menu which need to be stripped. I'm having a re-think here. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From monte at sweattechnologies.com Sun Oct 5 02:36:03 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Oct 5 02:36:03 2003 Subject: JDBC instead of ODBC In-Reply-To: <1065336709.4910.163.camel@www.kmax.ici> Message-ID: > Le dim 05/10/2003 ? 05:43, Monte Goulding a ?crit : > > > On Saturday, October 4, 2003, at 06:02 PM, Todd Geist wrote: > > > > > > > There is a FileMaker Pro plug-in which can connect to any database > > > > that has > > > > JDBC access. I have used this plug-in to retrieve data > from and edit > > > > data > > > > on Firebird, MySQL, and Postgres servers. There was very little > > > > difference > > > > in the code, and it was very fast. (Why am I using > FileMaker? That's > > > > another story). > > > > > > > > FileMaker's plug-in API is C/C++, not Java. So the > developers of the > > > > plug-in had to write some kind of C/C++ wrapper around the > java code. > > > > I was > > > > imagining that some clever Rev Nut could do the same thing for > > > > Revolution. > > > > > > > > Maybe as others have pointed out there is no need. > > > > > > Todd, that's a new one one me! > > > > > > I'm all for any method to get the bountiful world of JDBC drivers can > > > be opened up to us. Certainly better than dealing with ODBC, on Win32 > > > platforms. > > > > > > > This is a very interesting idea. Personally I'd go for expanding the > > external API to include Java. JDBC would be an advantage > considering there's > > a JDBC dirver for almost every DB but think of the > possibilities that RMI > > would bring. We could all get fat writing Rev clients to J2EE > systems ;-) > > > > Cheers > > > > Monte > > Yes, Yes, Yes. Even if Rev don't really need Java to connect RDBMS, it > could be a good marketing way to help and let J2EE developers come to > Revolution, in discovering and loving it's elegance and simplicity :-) > I imagine the combination of Sun's 'write once, run anywhere' marketing and the fact that Rev actually delivers on it would be quite a good combination ;-) To be quite honest I think this is an area that Rev could clean up. Java GUI's (swing or not) are crap and dog slow. J2EE clients could be developed in VB but that rules out cross platform clients. Cheers Monte From psahores at easynet.fr Sun Oct 5 03:03:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Oct 5 03:03:01 2003 Subject: JDBC instead of ODBC In-Reply-To: References: Message-ID: <1065340283.4911.171.camel@www.kmax.ici> Le dim 05/10/2003 ? 09:24, Monte Goulding a ?crit : > > Le dim 05/10/2003 ? 05:43, Monte Goulding a ?crit : > > > > On Saturday, October 4, 2003, at 06:02 PM, Todd Geist wrote: > > > > > > > > > There is a FileMaker Pro plug-in which can connect to any database > > > > > that has > > > > > JDBC access. I have used this plug-in to retrieve data > > from and edit > > > > > data > > > > > on Firebird, MySQL, and Postgres servers. There was very little > > > > > difference > > > > > in the code, and it was very fast. (Why am I using > > FileMaker? That's > > > > > another story). > > > > > > > > > > FileMaker's plug-in API is C/C++, not Java. So the > > developers of the > > > > > plug-in had to write some kind of C/C++ wrapper around the > > java code. > > > > > I was > > > > > imagining that some clever Rev Nut could do the same thing for > > > > > Revolution. > > > > > > > > > > Maybe as others have pointed out there is no need. > > > > > > > > Todd, that's a new one one me! > > > > > > > > I'm all for any method to get the bountiful world of JDBC drivers can > > > > be opened up to us. Certainly better than dealing with ODBC, on Win32 > > > > platforms. > > > > > > > > > > This is a very interesting idea. Personally I'd go for expanding the > > > external API to include Java. JDBC would be an advantage > > considering there's > > > a JDBC dirver for almost every DB but think of the > > possibilities that RMI > > > would bring. We could all get fat writing Rev clients to J2EE > > systems ;-) > > > > > > Cheers > > > > > > Monte > > > > Yes, Yes, Yes. Even if Rev don't really need Java to connect RDBMS, it > > could be a good marketing way to help and let J2EE developers come to > > Revolution, in discovering and loving it's elegance and simplicity :-) > > > I imagine the combination of Sun's 'write once, run anywhere' marketing and the fact that Rev actually delivers on it would be quite a good combination ;-) > > To be quite honest I think this is an area that Rev could clean up. Java GUI's (swing or not) are crap and dog slow. J2EE clients could be developed in VB but that rules out cross platform clients. > > Cheers > > Monte > LOTS MORE THAN 1000 TIMES TRUE. Kevin, Tuviah, Scott ? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From stephenREVOLUTION at barncard.com Sun Oct 5 03:09:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Sun Oct 5 03:09:01 2003 Subject: Some doubts 'bout Revolution Message-ID: I don't think that's what J?lio meant. I think he wants his app to *look like* aqua when it runs in Windoze, not just in development. I suppose one could create 'aqua like' graphic objects such as invisible buttons, but the scrollbars in fields would be a problem, not to mention menus. There also might be some 'look and feel' copyright issues with Apple, depending on how far one went. Besides, it would probably be disconcerting for a Windoze user to see what he is not used to.... >At 10:44 PM -0300 10/4/2003, J?lio C?sar K?del wrote: >>My question was: it is possible to make this "look and feel" of Classic >>MacOS in a Rev. application running in Windows (i.e. I make a application, >>that is distributed for Windows machines, and want to apply ClassicMacOS >>style on it, as it is possible in the development stage) > > >Set the lookAndFeel property to "Macintosh" to >get the Platinum appearance. (This is what the >menu item in the development environment does.) >-- >Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ From jeanne at runrev.com Sun Oct 5 04:23:03 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Oct 5 04:23:03 2003 Subject: Some doubts 'bout Revolution In-Reply-To: References: Message-ID: At 12:57 AM -0700 10/5/2003, Stephen Quinn Barncard wrote: >I don't think that's what J?lio meant. I think he wants his app to >*look like* aqua when it runs in Windoze, not just in development. He said "classic Mac OS", though. (Julio?) -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From mcdomi at free.fr Sun Oct 5 04:30:01 2003 From: mcdomi at free.fr (Dom) Date: Sun Oct 5 04:30:01 2003 Subject: Newcard: a curious bug!? In-Reply-To: <910909E3-F687-11D7-9B7C-000A27B49A96@major-k.de> Message-ID: <1g2cseh.13kau5j89g9aM%mcdomi@free.fr> Klaus Major wrote: > > on newcard > > answer "Only one card, please!" > send "delete this card" to this STACK in 1 sec ## stack !!! > > end newcard > > That works here for me ;-) No luck for me... The same "bug" arises! OS 10.2.4 iceBook 800 Rev 2.1 -- From mcdomi at free.fr Sun Oct 5 04:30:08 2003 From: mcdomi at free.fr (Dom) Date: Sun Oct 5 04:30:08 2003 Subject: Newcard: a curious bug!? In-Reply-To: <1065285398.4910.41.camel@www.kmax.ici> Message-ID: <1g2csgh.94m6ift62b40M%mcdomi@free.fr> Pierre Sahores wrote: > Just because your "answer" brakes the original message path, you just > need to invert your two statments as below to get the expected result : Tu as tout bon, Pierre :-))) You are all right, Pierre :-))) -- mais je ne sais pas si c'est une histoire de frein ;-> From psahores at easynet.fr Sun Oct 5 04:50:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Oct 5 04:50:00 2003 Subject: Newcard: a curious bug!? In-Reply-To: <1g2cseh.13kau5j89g9aM%mcdomi@free.fr> References: <1g2cseh.13kau5j89g9aM%mcdomi@free.fr> Message-ID: <1065346744.4910.184.camel@www.kmax.ici> Le dim 05/10/2003 ? 11:19, Dom a ?crit : > OS 10.2.4 > iceBook 800 > Rev 2.1 Run an icebook 800, here too. Good mothercard, lots more faster than my previous icebook 600 and even than the G4 12 inches, i was going to brought before my resseller said me i would do a best operation in taking the icebook instead ;-) Why don't you upgrade to 10.2.6 ? Bests, Pierre -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From klaus at major-k.de Sun Oct 5 05:11:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Oct 5 05:11:01 2003 Subject: answer file of type "JPEG" In-Reply-To: <910909E3-F687-11D7-9B7C-000A27B49A96@major-k.de> Message-ID: <9E6287D6-F71A-11D7-AA1F-000A27B49A96@major-k.de> Hi listers, has anyone successfully used e.g.: answer file "yadda" of type "JPEG" on OS X? Does not work, not ALL jpgs are shown in the open-dialog... Some are dimmed... Looks like the ones (coming from win or a digital camera!) without a "filetype" are dimmed. Their last item is empty in the "long files"... Is it a bug? Is it already bugzilla'd? Are there (not too ugly ;-) workarounds? I reported this yesterday: [Bug 762] result is empty when setting the filename of an image to a non-image file! So checking the result does not work in this context/case... Thanks in advance... Regards Klaus Major klaus at major-k.de www.major-k.de From tuviah at runrev.com Sun Oct 5 06:20:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Sun Oct 5 06:20:01 2003 Subject: JDBC instead of ODBC References: <200310050621.CAA02836@www.runrev.com> Message-ID: <006f01c38b31$13e2b9b0$1602a8c0@user> >I'm all for any method to get the bountiful world of JDBC drivers can >be opened up to us. Certainly better than dealing with ODBC, on Win32 >platforms. ODBC is standard on Win32 platforms, and OSX ships with an ODBC manager. So it's just a matter of getting the ODBC drivers from the vendor. If you want direct access we support a number of databases and are sure to support more. If you want to get your hands dirty with RevDB you can build your own RevDB driver (or pay someone else to), contact me off list for an SDK. You can also use the bugzilla, and request support for the database. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From klaus at major-k.de Sun Oct 5 07:56:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Oct 5 07:56:00 2003 Subject: answer file of type "JPEG" In-Reply-To: <9E6287D6-F71A-11D7-AA1F-000A27B49A96@major-k.de> Message-ID: <92A6BA57-F731-11D7-AA1F-000A27B49A96@major-k.de> Hi all, > Hi listers, > > has anyone successfully used e.g.: > answer file "yadda" of type "JPEG" > on OS X? > > Does not work, not ALL jpgs are shown in the open-dialog... > Some are dimmed... > Looks like the ones (coming from win or a digital camera!) without a > "filetype" are dimmed. > Their last item is empty in the "long files"... > > Is it a bug? > Is it already bugzilla'd? > Are there (not too ugly ;-) workarounds? > > I reported this yesterday: > [Bug 762] result is empty when setting the filename of an image to a > non-image file! > > So checking the result does not work in this context/case... I found a workaround by myself, maybe its helpful to others, too... Since the open dialog on OS X does not work as it should***, i needed a solution to check for a valid image file (BMP,JPG,GIF and PNG) before setting the filename of an image to that file after the user chose one... (*** with "ask file "yadda" of type "JPEG" etc... Not all files are accessible, some jpgs are dimmed...) Otherwise you will end with anugly and empty image-object... Anyway, here's my little function :-) Works fine here with all my image files on OS X (X only!) ##function rrimage what function rrbild was ### was = absolute path to the file... if there is not a file was then return false open file was for read read from file was for 15 close file was if char 1 to 2 of it = "BM" then return true ### is a BMP file repeat for each item i in "GIF,JFIF,PNG" ### you guessed if i is in it then return true end repeat return false end rrbild (Takes about 1 to 20 millisecs :-) And then i use it right after the user selected a file: ... answer file ... if rrbild(it) then set the filename of img ... ... Have nice sunday... Best from germany Klaus Major klaus at major-k.de www.major-k.de P.S. Get you free "Memory"-game for little and not so little kids today :-) On my site -> Download I can make a basic "memory-RR-source-code" available, too, if you like... Surprisingly simple ;-) From janschenkel at yahoo.com Sun Oct 5 08:19:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Oct 5 08:19:00 2003 Subject: Menu parser In-Reply-To: <7143D1BB.1879B889.DC67E5C7@aol.com> Message-ID: <20031005130654.6131.qmail@web11904.mail.yahoo.com> --- FlexibleLearning at aol.com wrote: > Aaaargh! Me brain's gone west and taken me > intelligence with it.... > > Does anyone have a function that parses out only the > active menuitems from a menuList? Feel free to mail > me off-list as I am on digest. Thank you! > > Example: > Menu1 > Menu1.1 > Menu1.2 > (- > Menu2 > - > Menu3 > Menu3.1 > Menu3.1.1 > Menu3.1.2 > Menu3.2 > Menu3.3 > Menu4 > > Would return... > > Menu1.1 > Menu1.2 > Menu2 > Menu3.1.1 > Menu3.1.2 > Menu3.2 > Menu3.3 > Menu4 > > > /H > Blegh, looks like my brain went out for a trip to the Carribean as well (not me, unfortunately). Here's one better suited to your purposes : put the text of btn "Foobar" into tMenuText put 0 into tLastNumTabs repeat for each line tMenuItem in tMenuText if tMenuItem is empty or \ tMenuItem is among the items of "-,(-" then next repeat put 0 into tNumTabs repeat until char 1 of tMenuItem is not tab add 1 to tNumTabs delete char 1 of tMenuItem end repeat if tNumTabs > tLastNumTabs then delete line -1 of tStrippedList put tNumTabs into tLastNumTabs put return & tMenuItem after tStrippedList end repeat if char 1 of tStrippedList is return then delete char 1 of tStrippedList And now tStrippedList should be what you wanted. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From Roger.E.Eller at sealedair.com Sun Oct 5 08:34:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sun Oct 5 08:34:01 2003 Subject: Some doubts 'bout Revolution Message-ID: > At 10:44 PM -0300 10/4/2003, J?lio C?sar K?del wrote: >>My question was: it is possible to make this "look and feel" of Classic >>MacOS in a Rev. application running in Windows (i.e. I make a application, >>that is distributed for Windows machines, and want to apply ClassicMacOS >>style on it, as it is possible in the development stage) > > > Set the lookAndFeel property to "Macintosh" to get the Platinum > appearance. (This is what the menu item in the development > environment does.) > -- > Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > ~~~ Check our web site for new Revolution editions & special offers ~~~ Jeanne, Are there any plans for Rev to simulate the Aqua appearance in the same way? It would be nice for those of us who develop apps on Windows that will be used on OS X to be able to preview the look and feel. Set the lookAndFeel to "MacOSX" -- would be a nice Christmas present this year. Thanks. Roger Eller roger.e.eller at sealedair.com From alex at mindlube.com Sun Oct 5 10:32:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Oct 5 10:32:01 2003 Subject: JDBC instead of ODBC In-Reply-To: <006f01c38b31$13e2b9b0$1602a8c0@user> Message-ID: <7AD268A9-F747-11D7-B41C-000393529642@mindlube.com> On Sunday, October 5, 2003, at 05:08 AM, Tuviah Snyder wrote: >> I'm all for any method to get the bountiful world of JDBC drivers can >> be opened up to us. Certainly better than dealing with ODBC, on Win32 >> platforms. > ODBC is standard on Win32 platforms, and OSX ships with an ODBC > manager. So > it's just a matter of getting the ODBC drivers from the vendor. Understood. The point is that JDBC is de facto standard now for database access. Nobody is suggesting Rev's ODBC or revDB capabilities are faulty or anything. BTW the ODBC Manager on OS X is totally broken in my experience) And ODBC drivers for OS X are *very* expensive. > If you want > direct access we support a number of databases and are sure to support > more. I know > If you want to get your hands dirty with RevDB you can build your own > RevDB > driver (or pay someone else to), contact me off list for an SDK. You > can > also use the bugzilla, and request support for the database. > Thanks for the offer, that's good to know. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kodel at terra.com.br Sun Oct 5 11:56:01 2003 From: kodel at terra.com.br (=?UTF-8?B?SsO6bGlvIEPDqXNhciBLw7ZkZWw=?=) Date: Sun Oct 5 11:56:01 2003 Subject: JDBC instead of ODBC References: Message-ID: <002b01c38b5f$ddd53f80$1990b1c8@tarja> Sorry If I'm making a great mistake, but... I was thinking... There is a "Microsoft" Java (or, at least, an attempt to do so) called Microsoft .Net Framework. It's well know that there is a .Net Framework for *nix called Mono (and, If I'm not wrong, available for Macitosh also). If the Framework has ADODB capabilities, would be possible to achieve a ADODB connection within Rev using a external plugin made in .Net? I know it sounds insane, but, well, we're programmers, aren't we? =P ----- Original Message ----- From: "Monte Goulding" To: Sent: Sunday, October 05, 2003 4:24 AM Subject: RE: JDBC instead of ODBC > > > Le dim 05/10/2003 ? 05:43, Monte Goulding a ?crit : > > > > On Saturday, October 4, 2003, at 06:02 PM, Todd Geist wrote: > > > > > > > > > There is a FileMaker Pro plug-in which can connect to any database > > > > > that has > > > > > JDBC access. I have used this plug-in to retrieve data > > from and edit > > > > > data > > > > > on Firebird, MySQL, and Postgres servers. There was very little > > > > > difference > > > > > in the code, and it was very fast. (Why am I using > > FileMaker? That's > > > > > another story). > > > > > > > > > > FileMaker's plug-in API is C/C++, not Java. So the > > developers of the > > > > > plug-in had to write some kind of C/C++ wrapper around the > > java code. > > > > > I was > > > > > imagining that some clever Rev Nut could do the same thing for > > > > > Revolution. > > > > > > > > > > Maybe as others have pointed out there is no need. > > > > > > > > Todd, that's a new one one me! > > > > > > > > I'm all for any method to get the bountiful world of JDBC drivers can > > > > be opened up to us. Certainly better than dealing with ODBC, on Win32 > > > > platforms. > > > > > > > > > > This is a very interesting idea. Personally I'd go for expanding the > > > external API to include Java. JDBC would be an advantage > > considering there's > > > a JDBC dirver for almost every DB but think of the > > possibilities that RMI > > > would bring. We could all get fat writing Rev clients to J2EE > > systems ;-) > > > > > > Cheers > > > > > > Monte > > > > Yes, Yes, Yes. Even if Rev don't really need Java to connect RDBMS, it > > could be a good marketing way to help and let J2EE developers come to > > Revolution, in discovering and loving it's elegance and simplicity :-) > > > I imagine the combination of Sun's 'write once, run anywhere' marketing and the fact that Rev actually delivers on it would be quite a good combination ;-) > > To be quite honest I think this is an area that Rev could clean up. Java GUI's (swing or not) are crap and dog slow. J2EE clients could be developed in VB but that rules out cross platform clients. > > Cheers > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Verso: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From kodel at terra.com.br Sun Oct 5 11:58:01 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sun Oct 5 11:58:01 2003 Subject: Some doubts 'bout Revolution References: Message-ID: <003701c38b60$3843baf0$1990b1c8@tarja> I think that would be a problem, since both Windows XP and MacOS X use, in a large scale, alpha blending (those shadows and a lot of other window gadgets). Would be impossible to achieve a complete MacOS X look and feel in Windows 32, Windows NT 4 and Linuxes environments. ----- Original Message ----- From: To: Sent: Sunday, October 05, 2003 10:15 AM Subject: Re: Some doubts 'bout Revolution > > At 10:44 PM -0300 10/4/2003, J?lio C?sar K?del wrote: > >>My question was: it is possible to make this "look and feel" of Classic > >>MacOS in a Rev. application running in Windows (i.e. I make a > application, > >>that is distributed for Windows machines, and want to apply ClassicMacOS > >>style on it, as it is possible in the development stage) > > > > > > Set the lookAndFeel property to "Macintosh" to get the Platinum > > appearance. (This is what the menu item in the development > > environment does.) > > -- > > Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ > > Runtime Revolution - User-Centric Development Tools > > ~~~ Check our web site for new Revolution editions & special offers ~~~ > > Jeanne, > > Are there any plans for Rev to simulate the Aqua appearance in the same > way? It would be nice for those of us who develop apps on Windows that > will be used on OS X to be able to preview the look and feel. > > Set the lookAndFeel to "MacOSX" -- would be a nice Christmas present this > year. > > Thanks. > Roger Eller > roger.e.eller at sealedair.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From mcdomi at free.fr Sun Oct 5 11:58:07 2003 From: mcdomi at free.fr (Dom) Date: Sun Oct 5 11:58:07 2003 Subject: Newcard: a curious bug!? Rev-only! In-Reply-To: <910909E3-F687-11D7-9B7C-000A27B49A96@major-k.de> Message-ID: <1g2cusu.k7tw4k14bz29pM%mcdomi@free.fr> Klaus Major wrote: > That works here for me ;-) As I have also a MC 2.5 on my hard disk, I tested also with it: that works! It seems that the "newcard breakage" is a Rev-only peculiarity ;->>> -- From kodel at terra.com.br Sun Oct 5 12:04:01 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sun Oct 5 12:04:01 2003 Subject: Some doubts 'bout Revolution References: Message-ID: <003c01c38b60$d824fd90$1990b1c8@tarja> No... I was thinking in Platinum... ;-) After some time, users get a little tired about the look and feel of their OSes (that's why exists skins modules for Windows and Linux). It would be nice to change the look of my app without any effort. One thing that I'm getting some problem is on buttons. It would be nice if we could make buttons like the skins programs. Let's suppose a PNG file: +-+ !*! +-+ A Skin program would divide a PNG file in a 3x3 matrix, then, apply the + on corners, repeat -, * and - on center (H) and ! on vertical, mouting this way a button (independent of its size). Would be a nice addition to Rev a way to make a fixed 32x32 PNG and apply it to a button (whatever the button changes in size, it will reorganize the matrix making the graphic fit to any size without magnifications). ----- Original Message ----- From: "Stephen Quinn Barncard" To: Sent: Sunday, October 05, 2003 4:57 AM Subject: Re: Some doubts 'bout Revolution > I don't think that's what J?lio meant. I think he > wants his app to *look like* aqua when it runs > in Windoze, not just in development. > > I suppose one could create 'aqua like' graphic > objects such as invisible buttons, but the > scrollbars in fields would be a problem, not to > mention menus. There also might be some 'look and > feel' copyright issues with Apple, depending on > how far one went. > > Besides, it would probably be disconcerting for a > Windoze user to see what he is not used to.... > > > >At 10:44 PM -0300 10/4/2003, J?lio C?sar K?del wrote: > >>My question was: it is possible to make this "look and feel" of Classic > >>MacOS in a Rev. application running in Windows (i.e. I make a application, > >>that is distributed for Windows machines, and want to apply ClassicMacOS > >>style on it, as it is possible in the development stage) > > > > > >Set the lookAndFeel property to "Macintosh" to > >get the Platinum appearance. (This is what the > >menu item in the development environment does.) > >-- > >Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From kodel at terra.com.br Sun Oct 5 12:08:01 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sun Oct 5 12:08:01 2003 Subject: JDBC instead of ODBC References: <200310050621.CAA02836@www.runrev.com> <006f01c38b31$13e2b9b0$1602a8c0@user> Message-ID: <004801c38b61$9ab9c3e0$1990b1c8@tarja> The problem is (for Firebird): Firebird is, in my opinion, the best database engine, after Microsoft SQL and MySQL. BUT, there only source code for direct access in Linux and Windows (nobody likes mac =( ). Even if ODBC would be a TRUE reality on all plataforms, we'd need a ODBC driver for Firebird, wich exists only for Windows (there is plans for a Linux one, but it's not available yet). For Macintosh, Firebird is nothing. (Those who program in Windows environment know what is Borland and Interbase, are "strong names" on our plataform, and Firebird is the continuation, the evolution, of Interbase). So, we need not only ODBC, but the drivers for ODBC also (that's why I insist that would be A LOT simple, faster, clean and easier, to make a native driver for Firebird/Interbase). After MySQL, Valentine, PostgreSQL and Firebird, what more could we want??? Access and MSSQL Server? (This could be true to Macs and Windows, but I doubt about someone in Linux make some Microsoft thing, he he he) ----- Original Message ----- From: "Tuviah Snyder" To: Sent: Sunday, October 05, 2003 8:08 AM Subject: Re: JDBC instead of ODBC > >I'm all for any method to get the bountiful world of JDBC drivers can > >be opened up to us. Certainly better than dealing with ODBC, on Win32 > >platforms. > ODBC is standard on Win32 platforms, and OSX ships with an ODBC manager. So > it's just a matter of getting the ODBC drivers from the vendor. If you want > direct access we support a number of databases and are sure to support more. > If you want to get your hands dirty with RevDB you can build your own RevDB > driver (or pay someone else to), contact me off list for an SDK. You can > also use the bugzilla, and request support for the database. > > Tuviah Snyder > Runtime Revolution Limited - Software at the Speed of Thought > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From klaus at major-k.de Sun Oct 5 12:25:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Oct 5 12:25:01 2003 Subject: Newcard: a curious bug!? Rev-only! In-Reply-To: <1g2cusu.k7tw4k14bz29pM%mcdomi@free.fr> Message-ID: <3918D78A-F757-11D7-AA1F-000A27B49A96@major-k.de> Hi Dom, > Klaus Major wrote: > >> That works here for me ;-) > > As I have also a MC 2.5 on my hard disk, I tested also with it: > that works! > > It seems that the "newcard breakage" is a Rev-only peculiarity ;->>> Yo, another "feature" we got to get used to ;-) Regards Klaus Major klaus at major-k.de www.major-k.de From mcdomi at free.fr Sun Oct 5 12:47:00 2003 From: mcdomi at free.fr (Dom) Date: Sun Oct 5 12:47:00 2003 Subject: Newcard: a curious bug!? In-Reply-To: <1065346744.4910.184.camel@www.kmax.ici> Message-ID: <1g2deb2.p36dsq11bliakM%mcdomi@free.fr> Pierre Sahores wrote: > Why don't you upgrade to 10.2.6 ? Quand ?a marche, ne touche ? rien ;-> (c'est comment en anglais ?) (I know there is an expression in english but can't remember) With each "upgrade" the battery problem arises again... idem with the new fresh 10.2.8 ;-> I will wait until a stable 10.3 ;-))) -- From mcdomi at free.fr Sun Oct 5 12:47:14 2003 From: mcdomi at free.fr (Dom) Date: Sun Oct 5 12:47:14 2003 Subject: Newcard: a curious bug!? In-Reply-To: <1065346744.4910.184.camel@www.kmax.ici> Message-ID: <1g2degp.1mcyrlrt4vwbnM%mcdomi@free.fr> Pierre Sahores wrote: > Run an icebook 800, here too. But a tiny screen (I'm very myopic)... It's better with a second screen :-)) I put all these palettes on the 'Book screen, and my stack in work on the "main" screen. -- From revolution at knowledgeworks.plus.com Sun Oct 5 12:54:00 2003 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sun Oct 5 12:54:00 2003 Subject: Drivers for Firebird/Interbase (Was Re: JDBC instead of ODBC) Message-ID: Julio >> Even if ODBC would be a TRUE reality on all plataforms, we'd need a ODBC driver for Firebird, wich exists only for Windows (there is plans for a Linux one, but it's not available yet). For Macintosh, Firebird is nothing. << You are mistaken. There are ODBC drivers for Interbase (and Firebird) for Linux, Solaris, Windows, and OS X. Have a look at: http://www.easysoft.com/products/9999/platforms.phtml?product=2201 and http://www.ibdatabase.com/ Nevertheless, if there was only one external database for which Runrev provided native Rev drivers, it should be Interbase/Firebird. From klaus at major-k.de Sun Oct 5 13:11:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Oct 5 13:11:00 2003 Subject: Newcard: a curious bug!? In-Reply-To: <1g2deb2.p36dsq11bliakM%mcdomi@free.fr> Message-ID: <9EEBF930-F75D-11D7-AA1F-000A27B49A96@major-k.de> Bon soir Dom, > Pierre Sahores wrote: > >> Why don't you upgrade to 10.2.6 ? > > Quand ?a marche, ne touche ? rien ;-> > > (c'est comment en anglais ?) > (I know there is an expression in english but can't remember) C'est: "Never touch a running system!" ;-) Au revoir Klaus Major klaus at major-k.de www.major-k.de From ambassador at fourthworld.com Sun Oct 5 13:45:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Oct 5 13:45:01 2003 Subject: Some doubts 'bout Revolution In-Reply-To: Message-ID: Roger.E.Eller at sealedair.com wrote: > Set the lookAndFeel to "MacOSX" -- would be a nice Christmas present this > year. I'd rather have a new bicycle. :) Emulating OS X'x complex Appearance Manager would be a tremendous amount of work, effectively requiring the reverse-engineering and re-implementation of the Quartz rendering engine along with it for it to look right. I'd much rather see that amount of effort go into a hundred other new features, the sum of all of which would likely cost less. Besides, OS X is such an odd beast that the best way to build apps for it is to at least spend some time tweaking on that OS natively. One of the downsides to implementing Aqua emulation would be to encourage a false confidence for things that might look good buy do not work properly once actually deployed there. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kodel at terra.com.br Sun Oct 5 14:00:00 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sun Oct 5 14:00:00 2003 Subject: Why this doesn't work? =( Message-ID: <000a01c38b71$4afaedb0$303bb1c8@tarja> HTMLText property of a field = "Teste" The link is shown, but it won't open nothing =( What I'm doing wrong??? (Notice: this text has to be setted FROM CODE, not editing the contents of fields in IDE) -------------- next part -------------- An HTML attachment was scrubbed... URL: From psahores at easynet.fr Sun Oct 5 14:02:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Oct 5 14:02:00 2003 Subject: Some doubts 'bout Revolution In-Reply-To: <003c01c38b60$d824fd90$1990b1c8@tarja> References: <003c01c38b60$d824fd90$1990b1c8@tarja> Message-ID: <1065379866.2785.12.camel@www.kmax.ici> Le dim 05/10/2003 ? 18:50, J?lio C?sar K?del a ?crit : > No... I was thinking in Platinum... ;-) > After some time, users get a little tired about the look and feel of their > OSes (that's why exists skins modules for Windows and Linux). It would be > nice to change the look of my app without any effort. > One thing that I'm getting some problem is on buttons. > It would be nice if we could make buttons like the skins programs. Let's > suppose a PNG file: > +-+ > !*! > +-+ > A Skin program would divide a PNG file in a 3x3 matrix, then, apply the + on > corners, repeat -, * and - on center (H) and ! on vertical, mouting this way > a button (independent of its size). > Would be a nice addition to Rev a way to make a fixed 32x32 PNG and apply it > to a button (whatever the button changes in size, it will reorganize the > matrix making the graphic fit to any size without magnifications). Hi J?lio, In between many good addresses, you will find most of what you are thinking about in visiting the Chipp's web site at , the Richard's one at , the Jacque's one at , the Rev's developers home at etc, etc... Just see how it's always, in between us, a "Revolutionnary" to gohead, in what each other is searching about ;-) Cool, is'n it ? Bests, Pierre > > ----- Original Message ----- > From: "Stephen Quinn Barncard" > To: > Sent: Sunday, October 05, 2003 4:57 AM > Subject: Re: Some doubts 'bout Revolution > > > > I don't think that's what J?lio meant. I think he > > wants his app to *look like* aqua when it runs > > in Windoze, not just in development. > > > > I suppose one could create 'aqua like' graphic > > objects such as invisible buttons, but the > > scrollbars in fields would be a problem, not to > > mention menus. There also might be some 'look and > > feel' copyright issues with Apple, depending on > > how far one went. > > > > Besides, it would probably be disconcerting for a > > Windoze user to see what he is not used to.... > > > > > > >At 10:44 PM -0300 10/4/2003, J?lio C?sar K?del wrote: > > >>My question was: it is possible to make this "look and feel" of Classic > > >>MacOS in a Rev. application running in Windows (i.e. I make a > application, > > >>that is distributed for Windows machines, and want to apply ClassicMacOS > > >>style on it, as it is possible in the development stage) > > > > > > > > >Set the lookAndFeel property to "Macintosh" to > > >get the Platinum appearance. (This is what the > > >menu item in the development environment does.) > > >-- > > >Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From kodel at terra.com.br Sun Oct 5 14:04:00 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sun Oct 5 14:04:00 2003 Subject: Drivers for Firebird/Interbase (Was Re: JDBC instead of ODBC) References: Message-ID: <001001c38b71$c40fa1f0$303bb1c8@tarja> You are talking about commercial drivers, I'm talking about free software. You're right, 'cos I didn't mention this before, but, for users like me, from Brazil, it's almost impossible to buy foreign softwares (the software must be VERY good to compensate all the troubles that we have to make such transations). ----- Original Message ----- From: "Bernard Devlin" To: Sent: Saturday, October 04, 2003 2:41 PM Subject: Drivers for Firebird/Interbase (Was Re: JDBC instead of ODBC) > Julio > > >> > Even if ODBC would be a TRUE reality on all > plataforms, we'd need a ODBC driver for Firebird, wich exists only for > Windows (there is plans for a Linux one, but it's not available yet). For > Macintosh, Firebird is nothing. > << > > You are mistaken. There are ODBC drivers for Interbase (and Firebird) for > Linux, Solaris, Windows, and OS X. > > Have a look at: > > http://www.easysoft.com/products/9999/platforms.phtml?product=2201 > > and > > http://www.ibdatabase.com/ > > Nevertheless, if there was only one external database for which Runrev > provided native Rev drivers, it should be Interbase/Firebird. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From mcdomi at free.fr Sun Oct 5 14:10:01 2003 From: mcdomi at free.fr (Dom) Date: Sun Oct 5 14:10:01 2003 Subject: Newcard: a curious bug!? In-Reply-To: <9EEBF930-F75D-11D7-AA1F-000A27B49A96@major-k.de> Message-ID: <1g2dijw.1nlzp5azp1pgdM%mcdomi@free.fr> Klaus Major wrote: > C'est: "Never touch a running system!" ;-) I thought to a more argotic one, such as "If ain't broke, don't touch it" ? -- From psahores at easynet.fr Sun Oct 5 14:14:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Oct 5 14:14:00 2003 Subject: Why this doesn't work? =( In-Reply-To: <000a01c38b71$4afaedb0$303bb1c8@tarja> References: <000a01c38b71$4afaedb0$303bb1c8@tarja> Message-ID: <1065380544.2784.20.camel@www.kmax.ici> Le dim 05/10/2003 ? 20:48, J?lio C?sar K?del a ?crit : > HTMLText property of a field = > > "Teste" > > The link is shown, but it won't open nothing =( > > What I'm doing wrong??? > > (Notice: this text has to be setted FROM CODE, not editing the > contents of fields in IDE) Try to see if it's not because you need to launch the ref file dynamically trough your web server (IIS or Apache), something alike : "Teste" or : "Teste" where "teste.htm" will be stored in your default web directory. Bests, -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From psahores at easynet.fr Sun Oct 5 14:27:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Oct 5 14:27:01 2003 Subject: JDBC instead of ODBC In-Reply-To: <004801c38b61$9ab9c3e0$1990b1c8@tarja> References: <200310050621.CAA02836@www.runrev.com> <006f01c38b31$13e2b9b0$1602a8c0@user> <004801c38b61$9ab9c3e0$1990b1c8@tarja> Message-ID: <1065381332.2784.31.camel@www.kmax.ici> Le dim 05/10/2003 ? 18:56, J?lio C?sar K?del a ?crit : > The problem is (for Firebird): > Firebird is, in my opinion, the best database engine, after Microsoft SQL > and MySQL. I would for my own say : before them and many others alike, Sybase ASE 12.5 or IBM DB2, and along the other best ACID compliant SQL server available for free : the usefull and unbreakable PostgreSQL... > BUT, there only source code for direct access in Linux and > Windows (nobody likes mac =( ). Even if ODBC would be a TRUE reality on all > plataforms, we'd need a ODBC driver for Firebird, wich exists only for > Windows (there is plans for a Linux one, but it's not available yet). For > Macintosh, Firebird is nothing. (Those who program in Windows environment > know what is Borland and Interbase, are "strong names" on our plataform, and > Firebird is the continuation, the evolution, of Interbase). > So, we need not only ODBC, but the drivers for ODBC also (that's why I > insist that would be A LOT simple, faster, clean and easier, to make a > native driver for Firebird/Interbase). After MySQL, Valentine, PostgreSQL > and Firebird, what more could we want??? Access and MSSQL Server? (This > could be true to Macs and Windows, but I doubt about someone in Linux make > some Microsoft thing, he he he) > > ----- Original Message ----- > From: "Tuviah Snyder" > To: > Sent: Sunday, October 05, 2003 8:08 AM > Subject: Re: JDBC instead of ODBC > > > > >I'm all for any method to get the bountiful world of JDBC drivers can > > >be opened up to us. Certainly better than dealing with ODBC, on Win32 > > >platforms. > > ODBC is standard on Win32 platforms, and OSX ships with an ODBC manager. > So > > it's just a matter of getting the ODBC drivers from the vendor. If you > want > > direct access we support a number of databases and are sure to support > more. > > If you want to get your hands dirty with RevDB you can build your own > RevDB > > driver (or pay someone else to), contact me off list for an SDK. You can > > also use the bugzilla, and request support for the database. > > > > Tuviah Snyder > > Runtime Revolution Limited - Software at the Speed of Thought > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From psahores at easynet.fr Sun Oct 5 14:31:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Oct 5 14:31:01 2003 Subject: Newcard: a curious bug!? In-Reply-To: <1g2deb2.p36dsq11bliakM%mcdomi@free.fr> References: <1g2deb2.p36dsq11bliakM%mcdomi@free.fr> Message-ID: <1065381567.2785.36.camel@www.kmax.ici> Le dim 05/10/2003 ? 19:35, Dom a ?crit : > Pierre Sahores wrote: > > > Why don't you upgrade to 10.2.6 ? > > Quand ?a marche, ne touche ? rien ;-> > > (c'est comment en anglais ?) > (I know there is an expression in english but can't remember) > > With each "upgrade" the battery problem arises again... idem with the > new fresh 10.2.8 ;-> Agreed. Some times, mouse freezing and so on, on wake-up, there too... > > I will wait until a stable 10.3 ;-))) -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From tuviah at runrev.com Sun Oct 5 14:49:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Sun Oct 5 14:49:01 2003 Subject: Drivers for Firebird/Interbase (Was Re: JDBC instead of ODBC) References: <200310051828.OAA02357@www.runrev.com> Message-ID: <00bc01c38b78$1067f290$1602a8c0@user> >Nevertheless, if there was only one external database for which Runrev >provided native Rev drivers, it should be Interbase/Firebird. So go file an enhancement request and everyone who thinks we should support FireBird or whatever other database (SQLLite, OpenBase, FrontBase, ect) please vote for it. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From kodel at terra.com.br Sun Oct 5 15:03:01 2003 From: kodel at terra.com.br (=?UTF-8?B?SsO6bGlvIEPDqXNhciBLw7ZkZWw=?=) Date: Sun Oct 5 15:03:01 2003 Subject: Why this doesn't work? =( References: <000a01c38b71$4afaedb0$303bb1c8@tarja> <1065380544.2784.20.camel@www.kmax.ici> Message-ID: <001101c38b7a$05809650$a739b1c8@tarja> Nop. I don't want to open a http: file, I want to open a local file (a HTML file saved in my AppFolder). ----- Original Message ----- From: "Pierre Sahores" To: Sent: Sunday, October 05, 2003 4:02 PM Subject: Re: Why this doesn't work? =( > Le dim 05/10/2003 ? 20:48, J?lio C?sar K?del a ?crit : > > HTMLText property of a field = > > > > "Teste" > > > > The link is shown, but it won't open nothing =( > > > > What I'm doing wrong??? > > > > (Notice: this text has to be setted FROM CODE, not editing the > > contents of fields in IDE) > > Try to see if it's not because you need to launch the ref file > dynamically trough your web server (IIS or Apache), something alike : > > "Teste" > > or : > > "Teste" > > where "teste.htm" will be stored in your default web directory. > > Bests, > -- > Bien cordialement, Pierre Sahores > > 100, rue de Paris > F - 77140 Nemours > > GSM: +33 6 03 95 77 70 > Pro: +33 1 41 60 52 68 > Dom: +33 1 64 45 05 33 > Fax: +33 1 64 45 05 33 > > Inspection acad?mique de Seine-Saint-Denis > Applications et SGBD ACID SQL (WEB et PGI) > Penser et produire "delta de rentabilit?" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Verso: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From kodel at terra.com.br Sun Oct 5 15:08:01 2003 From: kodel at terra.com.br (=?UTF-8?B?SsO6bGlvIEPDqXNhciBLw7ZkZWw=?=) Date: Sun Oct 5 15:08:01 2003 Subject: JDBC instead of ODBC References: <200310050621.CAA02836@www.runrev.com> <006f01c38b31$13e2b9b0$1602a8c0@user> <004801c38b61$9ab9c3e0$1990b1c8@tarja> <1065381332.2784.31.camel@www.kmax.ici> Message-ID: <001501c38b7a$c88a3e80$a739b1c8@tarja> > I would for my own say : before them and many others alike, Sybase ASE > 12.5 or IBM DB2, and along the other best ACID compliant SQL server > available for free : the usefull and unbreakable PostgreSQL... > PostgreSQL... Did you install it on Windows? How many days did you get to do this task? A good program is a program that you don't need to be a pHD in informatic to install. Remember that our costumers are not always genius. Install MySQL or PostgreSQL is a pain for a light user, MS SQL is too big... Firebird is the only one that you can deploy within your application (it have about 3Mb and installation is just as simple as copy files and run a register app.). The driver is just a small ActiveX DLL, which you put in the System Folder, call Register Service of DLL and you're done (and you don't need to use ODBC for that. It will create a ADODB engine). Remember RAD? It would be fast, easy and fun ;-) From yvescoppe at skynet.be Sun Oct 5 15:09:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun Oct 5 15:09:00 2003 Subject: Sheet command in MAc OS X Message-ID: <12AFC518-F76E-11D7-8754-000393533246@skynet.be> Hi, I've tried something in Mac OSX but doesn't luck Main stack "A", substack "B" and "C" from stack "A", a btn with sheet stack "B" in stack "A" from stack "B", a btn with sheet stack "C" in stack "B" the last command doesn't work : the stack "C" is open but without the "sheet" effect... Bien amicalement. Yves COPPE yvescoppe at skynet.be From pixelbird at interisland.net Sun Oct 5 15:13:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Oct 5 15:13:00 2003 Subject: Some doubts 'bout Revolution In-Reply-To: <200310051828.OAA02338@www.runrev.com> Message-ID: Hi Richard, > Date: Sun, 05 Oct 2003 11:33:13 -0700 > Subject: Re: Some doubts 'bout Revolution > From: Richard Gaskin > One of the > downsides to implementing Aqua emulation would be to encourage a false > confidence for things that might look good buy do not work properly once > actually deployed there. ---------- Dumb question from someone who hasn't followed all of this. Why would someone want to emulate Mac OSX Aqua on a Windoze platform to begin with? Ken N. From psahores at easynet.fr Sun Oct 5 15:22:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Oct 5 15:22:01 2003 Subject: JDBC instead of ODBC In-Reply-To: <001501c38b7a$c88a3e80$a739b1c8@tarja> References: <200310050621.CAA02836@www.runrev.com> <006f01c38b31$13e2b9b0$1602a8c0@user> <004801c38b61$9ab9c3e0$1990b1c8@tarja> <1065381332.2784.31.camel@www.kmax.ici> <001501c38b7a$c88a3e80$a739b1c8@tarja> Message-ID: <1065384662.2784.80.camel@www.kmax.ici> Le dim 05/10/2003 ? 21:56, J?lio C?sar K?del a ?crit : > > I would for my own say : before them and many others alike, Sybase ASE > > 12.5 or IBM DB2, and along the other best ACID compliant SQL server > > available for free : the usefull and unbreakable PostgreSQL... > > > PostgreSQL... Did you install it on Windows? How many days did you get to do > this task? My apologies about Win32 ;-> I don't need nor want to use it anymore, since i'm mostly working in about Web's and ERP's client-server solutions and because OSX and Linux are giving me all the power and security i need, where Win NT, XP and so, are, as server-side solutions, in less than 15 seconds, still full breakables and unsecure systems. > A good program is a program that you don't need to be a pHD in informatic to > install. Remember that our costumers are not always genius. Install MySQL or > PostgreSQL is a pain for a light user, MS SQL is too big... Agreed ;-) > Firebird is the > only one that you can deploy within your application (it have about 3Mb and > installation is just as simple as copy files and run a register app.). The > driver is just a small ActiveX DLL, which you put in the System Folder, call > Register Service of DLL and you're done (and you don't need to use ODBC for > that. It will create a ADODB engine). > Remember RAD? It would be fast, easy and fun ;-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From revolution at knowledgeworks.plus.com Sun Oct 5 15:24:01 2003 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sun Oct 5 15:24:01 2003 Subject: Drivers for Firebird/Interbase (Was Re: JDBC instead of ODBC) Message-ID: >>Nevertheless, if there was only one external database for which Runrev >>provided native Rev drivers, it should be Interbase/Firebird. >So go file an enhancement request Tuviah, If I'm not mistaken, I did this about 12 months ago. I remember Geoff Canyon writing to me for further details. Where does one view (and vote for) these feature requests? I had a look on the Runrev website, and all I found was a list of 9 "top feature requests", most of which were marked "now available in 2.0" (http://www.runrev.com/Revolution1/developercentral/featurerequests.html) Bernard From kodel at terra.com.br Sun Oct 5 15:26:00 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Sun Oct 5 15:26:00 2003 Subject: Some doubts 'bout Revolution References: Message-ID: <005001c38b7d$350af7f0$a739b1c8@tarja> 'Cos is beaultiful??? =P For Windows XP, it's not a problem, since there is Aqua-like "styles" for Windows XP wich make Windows works as Aqua does. But, for other Windows (like 95 and 98), the user is REALLY bored of that non-gracefull gray window, every day, year by year... It's just a cosmetic trick to bring more hapiness to the user, just this ;-) (Besides: someone here knows of a Media Player that works in a default window, with default buttons and all those "gray" stuffs? No. Almost all media players are skinned to have a better appearence. Sometimes it's good to change the user experience within your application). Windows XP uses Luna interface, MacOS uses Platinum, MacOSX use Aqua, Linux use, well, I don't know what the hell is that, he he he... It's just graphics... nothing more. And I'm not asking nothing about Aqua... Just Platinum =) ----- Original Message ----- From: "Ken Norris" To: Sent: Sunday, October 05, 2003 5:00 PM Subject: Re: Some doubts 'bout Revolution > Hi Richard, > > > Date: Sun, 05 Oct 2003 11:33:13 -0700 > > Subject: Re: Some doubts 'bout Revolution > > From: Richard Gaskin > > > One of the > > downsides to implementing Aqua emulation would be to encourage a false > > confidence for things that might look good buy do not work properly once > > actually deployed there. > ---------- > Dumb question from someone who hasn't followed all of this. Why would > someone want to emulate Mac OSX Aqua on a Windoze platform to begin with? > > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From swartart at iafrica.com Sun Oct 5 15:29:00 2003 From: swartart at iafrica.com (Ryno Swart) Date: Sun Oct 5 15:29:00 2003 Subject: Pardon my French... In-Reply-To: <200310051828.OAA02357@www.runrev.com> Message-ID: > Quand ?a marche, ne touche ? rien ;-> Or: Don't fix it if it ain't broke... Thanks for a very nice new French expression. Ryno. http://artistvision.org ...a work in progress... From klaus at major-k.de Sun Oct 5 15:49:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Oct 5 15:49:01 2003 Subject: Newcard: a curious bug!? In-Reply-To: <1g2dijw.1nlzp5azp1pgdM%mcdomi@free.fr> Message-ID: Hi Dom, > Klaus Major wrote: > >> C'est: "Never touch a running system!" ;-) > > I thought to a more argotic one, such as > "If ain't broke, don't touch it" > > ? Sorry, looks like i'm too computer-centric ;-) Ciao ragazzo... Klaus Major klaus at major-k.de www.major-k.de From jeanne at runrev.com Sun Oct 5 17:11:00 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Oct 5 17:11:00 2003 Subject: Drivers for Firebird/Interbase (Was Re: JDBC instead of ODBC) In-Reply-To: References: Message-ID: At 9:11 PM +0100 10/4/2003, Bernard Devlin wrote: >Where does one view (and vote for) these feature requests? In Bugzilla: . To file an enhancement request, click "Submit a new bug report or enhancement request", and set the Severity rating to "Enhancement". (You'll need to sign up for a bugzilla account first - just click "Create a new account".) -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From preid at reidit.co.uk Sun Oct 5 17:19:02 2003 From: preid at reidit.co.uk (Peter Reid) Date: Sun Oct 5 17:19:02 2003 Subject: Cladding C Libraries for Rev use? Message-ID: My older son is at a university that provide a range of functions for programming in the form of C libraries. Can anyone tell me what's involved in creating some suitable cladding around such libraries so the functions can be called from Rev? My son has his own licence for Rev 2.0.3, so any solutions would need to work for that version of Rev if possible. Thanks. Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From monte at sweattechnologies.com Sun Oct 5 18:19:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Oct 5 18:19:01 2003 Subject: Some doubts 'bout Revolution In-Reply-To: Message-ID: > Are there any plans for Rev to simulate the Aqua appearance in the same > way? It would be nice for those of us who develop apps on Windows that > will be used on OS X to be able to preview the look and feel. Ummm... no offence Roger but wouldn't it be nice to get even an emulated XP look and feel before RunRev goes trying to emulate OS X? If we had full XP theme support you could get OS X look anyway. Many of us have been frustrated by the focus on OS X look and feel while a far more popular OS is 2 years out of date. I'm reasonably sure that XP theme support is just around the corner. I'm also reasonably sure that we won't ever get OS X emulation seeing as by the time it was emulated Apple would have changed it ;-) Cheers Monte From tsj at unimelb.edu.au Sun Oct 5 18:33:00 2003 From: tsj at unimelb.edu.au (Terry Judd) Date: Sun Oct 5 18:33:00 2003 Subject: getting revXML to work in a standalone - how? In-Reply-To: <1065380544.2784.20.camel@www.kmax.ici> Message-ID: <2A0C9BF0-F78A-11D7-A182-000393AEC28C@unimelb.edu.au> Hmm - what am I missing? I included the XML script library in the distribution builder prefs but there's no XML action in my built application (OSX Rev 2.1). Admittedly this is the first time I've built an app with the XML library included (actually come to think of it this is the first time I've actually used the distribution builder). Everything works fine in the development environment. Any clues? Cheers, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From revolution at knowledgeworks.plus.com Sun Oct 5 19:20:00 2003 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sun Oct 5 19:20:00 2003 Subject: Drivers for Firebird/Interbase (Was Re: JDBC instead of ODBC) Message-ID: >>Where does one view (and vote for) these feature requests? >In Bugzilla: >. To file >an enhancement request, click "Submit a new bug report or enhancement >request", and set the Severity rating to "Enhancement". >(You'll need to sign up for a bugzilla account first - just click >"Create a new account".) Kinda weird, but thanks Jeanne :-) I wouldn't have thought to submit an enhancement request through a bug-reporting facility. And I must have missed the advisory that non-Enterprise users could submit bugs (I remember emailing Heather last year that it was a bad idea to not encourage bug-reports from all users). Regards, Bernard Rooting for Revolution! (but www.runrev.com really needs an overhaul) From dsc at swcp.com Sun Oct 5 19:34:02 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Oct 5 19:34:02 2003 Subject: Revolution names on the dock (OS X) Message-ID: <22C8230B-F793-11D7-AB84-000A9567A3E6@swcp.com> I sometimes keep a version back and a beta ahead on the dock. But they all have the name Revolution. Is there a way to set the version # in the name that shows up. Dar Scott From monte at sweattechnologies.com Sun Oct 5 19:47:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Oct 5 19:47:00 2003 Subject: Revolution names on the dock (OS X) In-Reply-To: <22C8230B-F793-11D7-AB84-000A9567A3E6@swcp.com> Message-ID: > I sometimes keep a version back and a beta ahead on the dock. But they > all have the name Revolution. Is there a way to set the version # in > the name that shows up. Change the name of the .app bundle to Revolution 2.1.app then drag it to the dock ;-) Cheers Monte From dsc at swcp.com Sun Oct 5 20:23:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Oct 5 20:23:00 2003 Subject: Revolution names on the dock (OS X) In-Reply-To: Message-ID: <09A0A268-F79A-11D7-AB84-000A9567A3E6@swcp.com> On Sunday, October 5, 2003, at 06:35 PM, Monte Goulding wrote: >> I sometimes keep a version back and a beta ahead on the dock. But >> they >> all have the name Revolution. Is there a way to set the version # in >> the name that shows up. > > Change the name of the .app bundle to Revolution 2.1.app then drag it > to the > dock ;-) Couldn't you come with something more complicated? Dar Scott From monte at sweattechnologies.com Sun Oct 5 20:41:03 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Oct 5 20:41:03 2003 Subject: Revolution names on the dock (OS X) In-Reply-To: <09A0A268-F79A-11D7-AB84-000A9567A3E6@swcp.com> Message-ID: > >> I sometimes keep a version back and a beta ahead on the dock. But > >> they > >> all have the name Revolution. Is there a way to set the version # in > >> the name that shows up. > > > > Change the name of the .app bundle to Revolution 2.1.app then drag it > > to the > > dock ;-) > > Couldn't you come with something more complicated? I tried but I couldn't understand it so I came up with this ;-) Cheers monte From myoung at ieee.org Sun Oct 5 22:40:00 2003 From: myoung at ieee.org (Michael Young) Date: Sun Oct 5 22:40:00 2003 Subject: use-revolution digest, Vol 1 #1997 - 17 msgs In-Reply-To: <200310052335.TAA11045@www.runrev.com> Message-ID: > I sometimes keep a version back and a beta ahead on the dock. But they > all have the name Revolution. Is there a way to set the version # in > the name that shows up. > > Dar Scott When faced with the same problem, I have created aliases to each program version I wanted. I then renamed the aliases with version number names. I then put the renamed aliases on the OS X dock. It worked for me. :-) Michael myoung at ieee.org From opus.species at wanadoo.fr Sun Oct 5 22:48:00 2003 From: opus.species at wanadoo.fr (opus.species at wanadoo.fr) Date: Sun Oct 5 22:48:00 2003 Subject: newTool In-Reply-To: <200310052335.TAA11108@www.runrev.com> References: <200310052335.TAA11108@www.runrev.com> Message-ID: I can not let work the newTool message. if i create a new stack with the script on newTool nTool beep put nTool end newTool nothing happens when i switch from browse tool to pointer tool. What am i missing ? --** I can also not let work the saveStackRequest and closeStackRequest messages. I reported it to bugzilla and was answered they where trapped by the frontscripts. So i know why they dont work but i still dont know how i can let them work :-( Any suggestion ? Claude From alex at mindlube.com Sun Oct 5 22:49:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Oct 5 22:49:01 2003 Subject: Cladding C Libraries for Rev use? In-Reply-To: Message-ID: <7179E078-F7AE-11D7-B41C-000393529642@mindlube.com> On Sunday, October 5, 2003, at 04:07 PM, Peter Reid wrote: > My older son is at a university that provide a range of functions for > programming in the form of C libraries. Can anyone tell me what's > involved in creating some suitable cladding around such libraries so > the functions can be called from Rev? > > My son has his own licence for Rev 2.0.3, so any solutions would need > to work for that version of Rev if possible. > > Thanks. Peter, you can email support at runrev.com and ask for the Externals SDK, or look for it on metacard.com. An "external" is C library (.dll/.bundle/.so) that the Rev engine loads and defines new transcript handlers and functions that are implemented in C or whatever language. The Externals SDK consists of a couple of example projects, but no documentation. Docs are expected to be forthcoming. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From shaosean at unitz.ca Sun Oct 5 22:51:01 2003 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Sun Oct 5 22:51:01 2003 Subject: Some doubts 'bout Revolution In-Reply-To: References: Message-ID: i'd rather have my buttons looking "native" in winXP ;-) -----Original Message----- > > Set the lookAndFeel to "MacOSX" -- would be a nice Christmas present From alex at mindlube.com Sun Oct 5 22:57:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Oct 5 22:57:01 2003 Subject: Some doubts 'bout Revolution In-Reply-To: Message-ID: <8C6DED2D-F7AF-11D7-B41C-000393529642@mindlube.com> On Sunday, October 5, 2003, at 05:07 PM, Monte Goulding wrote: > Ummm... no offence Roger but wouldn't it be nice to get even an > emulated XP > look and feel before RunRev goes trying to emulate OS X? If we had > full XP > theme support you could get OS X look anyway. Many of us have been > frustrated by the focus on OS X look and feel while a far more popular > OS is > 2 years out of date. I'm reasonably sure that XP theme support is just > around the corner. I hope so. It's like swimming upstream I guess. They are planning a new style UI again """Avalon is the graphics and media plumbing within Longhorn that software developers use to build applications. "Aero" is the company's name for the actual graphical user interface (GUI) in Longhorn that the end user sees. """ Also keep in mind that the "Aqua/Appearance Manager" look and feel is the only one currently offered by Rev that uses native widgets. All the others are emulated. I agree with what Richard said: it would be difficult or impossible to emulate. All those drop shadows and gradients and animated buttons. Too much. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jeanne at runrev.com Mon Oct 6 00:00:00 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Oct 6 00:00:00 2003 Subject: Drivers for Firebird/Interbase (Was Re: JDBC instead of ODBC) In-Reply-To: References: Message-ID: At 1:07 AM +0100 10/5/2003, Bernard Devlin wrote: >Kinda weird, but thanks Jeanne :-) I wouldn't have thought to submit an >enhancement request through a bug-reporting facility. And I must have >missed the advisory that non-Enterprise users could submit bugs (I >remember emailing Heather last year that it was a bad idea to not >encourage bug-reports from all users). I think Heather posted about it in June sometime. (You might have missed the message - this is a pretty high-traffic list....) We may separate bugfixes and enhancement requests at some point, but for right now they're in a convenient one-stop-shopping location. (And when I've done QA, often the two have been in the same database - it can be handy when there's a borderline issue that might be considered either a bug or a feature request, depending on how you squint.) >(but www.runrev.com really needs an overhaul) I know. Patience. ;-) -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From jeanne at runrev.com Mon Oct 6 00:19:00 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Oct 6 00:19:00 2003 Subject: Cladding C Libraries for Rev use? In-Reply-To: <7179E078-F7AE-11D7-B41C-000393529642@mindlube.com> References: <7179E078-F7AE-11D7-B41C-000393529642@mindlube.com> Message-ID: At 9:37 PM -0600 10/5/2003, Alex Rice wrote: >Peter, you can email support at runrev.com and ask for the Externals >SDK, or look for it on metacard.com. You can also download it from . -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From katir at hindu.org Mon Oct 6 00:27:00 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Oct 6 00:27:00 2003 Subject: revCopyFile broken on OS X? In-Reply-To: Message-ID: <1A0B790F-F7BC-11D7-8D7B-000A959D0AC6@hindu.org> We are experiencing some corruption on files worked directly over the LAN on our OS X server (InDesign) and Adobe's recommendation is to always copy the files to the local hard drive and then work on the local file, then put it back. It works, suddenty ID2 file corruption is gone... that's the good news. But, this creates challenges for a collaborative work group with many editors and writers... so, I am trying to create a drag and drop RCS (Revision Control System), which copies files to the local hard drive, increments a galley number in the file name, moves old galleys on the server to a back up folder etc... all very easy thanks to Rev... in fact we have a number of other applications running in Rev that we use every day that perform all these same operations in one for or another, but they are all raw ascii, xml, html files.... this is different... the problem is revCopyFile is not behaving as documented on OS X... purportedly it should: "... the revCopyFile command provides certain advantages. It copies file attributes (such as file type) and Mac OS resource forks along with the file. It also does not require reading the entire file into memory, so even extremely large files can be copied." But, we are not seeing this. An InDesign file (or any file for that matter) copied from the server which has a visible ID2 icon in the finder, using: revCopyFile (gRemotePath& gRemoteFile),fld "localfolder" arrives on the local hard drive as nondescript, no icon and no application binding... looks like the resource fork is not making it across the copy... An attempt to boot the file by double-clicking in the finder invokes the OS user input dialog,: "There is no specified application to open document "whatever document.ind" [btns:] "Choose Application" "OK" Presumably, since revCopyfile invokes onboard Applescript in the background, one might assume its not Rev's fault but AppleScript's fault.. but before digging into this any further I thought I might just ask here... This is pretty much a "show stopper" for the little RCS widget I am trying to create, which otherwise took about 30 minutes to put together and will be a dream machine for the team. Retaining the application binding is mandatory and adding the ".ind" extension doesn't help... Any thoughts? (including any thoughts on RCS if you have already "been there, done that.") Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From katir at hindu.org Mon Oct 6 00:50:00 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Oct 6 00:50:00 2003 Subject: Rotate imageData Through Color Wheel Message-ID: <5D3875EA-F7BF-11D7-8D7B-000A959D0AC6@hindu.org> Has anyone written the code to rotate an image through the color wheel--or a subset thereof, since 16 million is probably more than any one would want to see, by poking the imageData of the image on some kind of loop? This seems doable, in theory, but then looking more closely at it, assuming one could figure out the algorithm to do it (which I don't have at this time), the CPU power to crunch the numbers for a real time shift over a range of colors looks daunting and would probably run like cold molasses... Goal: color animate, under script control, an otherwise static color image without having to generate an inordinately large number of frames were one to do it as an animated GIF (where the artist makes the color shift manually for each frame) thereby keeping the file size way down while retaining the kids visual attention with a little on screen action. This is for on-screen teachers' aids that want to be web deliverable... i.e. not so giant as to required a CD to be shipped. But a 400 x 600 pixel animated Gif with 20-30 frames starts to balloon beyond control -- 8-10 megs for a single image in a presentation that wants to be able to carry dozens of images... Thus the "hope" for doing it by the numbers... to a single imported image. Or perhaps someone knows another way to achieve the same goal? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From janschenkel at yahoo.com Mon Oct 6 00:56:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Oct 6 00:56:00 2003 Subject: Sheet command in MAc OS X In-Reply-To: <12AFC518-F76E-11D7-8754-000393533246@skynet.be> Message-ID: <20031006054418.25172.qmail@web11903.mail.yahoo.com> --- Yves COPPE wrote: > Hi, > > > I've tried something in Mac OSX but doesn't luck > > > Main stack "A", substack "B" and "C" > > from stack "A", a btn with > > sheet stack "B" in stack "A" > > > from stack "B", a btn with > > sheet stack "C" in stack "B" > > the last command doesn't work : the stack "C" is > open but without the > "sheet" effect... > > > Bien amicalement. > Yves COPPE > Hi Yves, If you're trying to display a sheet within another sheet : well it just doesn't work that way ; it will automatically be displayed as a modal dialog box. Sorry to disappoint you, Jan Schenkel. __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From mcdomi at free.fr Mon Oct 6 02:26:00 2003 From: mcdomi at free.fr (Dom) Date: Mon Oct 6 02:26:00 2003 Subject: Pardon my English... In-Reply-To: Message-ID: <1g2ee02.cb1tkw1n3rockM%mcdomi@free.fr> Ryno Swart wrote: > Don't fix it if it ain't broke... Voila :-) -- Not really rude, but a little slang, informal? From mcdomi at free.fr Mon Oct 6 02:27:06 2003 From: mcdomi at free.fr (Dom) Date: Mon Oct 6 02:27:06 2003 Subject: Sheet command in MAc OS X In-Reply-To: <12AFC518-F76E-11D7-8754-000393533246@skynet.be> Message-ID: <1g2ehdi.1e4lmrashue0M%mcdomi@free.fr> Yves COPPE wrote: > sheet stack "C" in stack "B" > > the last command doesn't work : the stack "C" is open but without the > "sheet" effect... You are trying to open a sheet within a sheet: this is forbidden! See the doc ;-) -- From briany at qldlearning.com Mon Oct 6 02:41:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Mon Oct 6 02:41:01 2003 Subject: revCopyFile broken on OS X? In-Reply-To: <1A0B790F-F7BC-11D7-8D7B-000A959D0AC6@hindu.org> Message-ID: I can't speak to revCopyFile, but on OS X there is a shell command for copying files with resource fork intact. If that's not what revCopyFile is using, you could try it: get shell("ditto -rsrcFork ""e&sourcePath"e&"e&destPath"e) You might try it out first in Terminal.app if you haven't used shell() before. For more information about ditto, type "man ditto" into Terminal.app. If that's what revCopyFile uses already, maybe it's a remote volume / server problem? HTH Brian From preid at reidit.co.uk Mon Oct 6 03:18:01 2003 From: preid at reidit.co.uk (Peter Reid) Date: Mon Oct 6 03:18:01 2003 Subject: Cladding C Libraries for Rev use? In-Reply-To: References: <7179E078-F7AE-11D7-B41C-000393529642@mindlube.com> Message-ID: >At 9:37 PM -0600 10/5/2003, Alex Rice wrote: >>Peter, you can email support at runrev.com and ask for the Externals >>SDK, or look for it on metacard.com. > > >You can also download it from >. >-- >Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Thanks Alex & Jeanne. I'll take a look at what's available. Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From tsj at unimelb.edu.au Mon Oct 6 05:29:00 2003 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon Oct 6 05:29:00 2003 Subject: getting revXML to work in a standalone - how? In-Reply-To: <2A0C9BF0-F78A-11D7-A182-000393AEC28C@unimelb.edu.au> Message-ID: On Monday, October 6, 2003, at 09:18 AM, Terry Judd wrote: > Hmm - what am I missing? What I was missing was the fact that the filename of a MacOS X app reports about three folders deeper than the package's location. It wasn't that the xmllib wasn't working, just that it couldn't find the required startup file. All is well now - I guess you only need to make that mistake the once. Terry... > I included the XML script library in the distribution builder prefs > but there's no XML action in my built application (OSX Rev 2.1). > Admittedly this is the first time I've built an app with the XML > library included (actually come to think of it this is the first time > I've actually used the distribution builder). Everything works fine in > the development environment. > > Any clues? > > Cheers, > > Terry... > > Dr Terry Judd > Lecturer in Educational Technology (Design) > Biomedical Multimedia Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > Parkville VIC 3052 > AUSTRALIA > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kodel at terra.com.br Mon Oct 6 06:31:00 2003 From: kodel at terra.com.br (=?iso-8859-1?B?SvpsaW8gQ+lzYXIgS/ZkZWw=?=) Date: Mon Oct 6 06:31:00 2003 Subject: Some doubts 'bout Revolution References: Message-ID: <002201c38bfb$c097eca0$0100a8c0@avatar> Did you tried to create a manifest for Revolution? If revolution uses the default Windows System Button, then the manifest would draw it as Luna or other style on XP. ----- Original Message ----- From: To: Sent: Monday, October 06, 2003 12:39 AM Subject: Re: Some doubts 'bout Revolution > i'd rather have my buttons looking "native" in winXP ;-) > > -----Original Message----- > > > Set the lookAndFeel to "MacOSX" -- would be a nice Christmas present > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > From lists at mangomultimedia.com Mon Oct 6 07:41:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Oct 6 07:41:01 2003 Subject: Some doubts 'bout Revolution In-Reply-To: <002201c38bfb$c097eca0$0100a8c0@avatar> Message-ID: I believe for the manifest to work the executable needs to link to and initialize "ComCtl32.dll". I tried using Resource Tuner (great program by the way -restuner.com) to add the manifest to an executable I built with Distribution Builder but apparently the Rev executables are not linked to this file so it won't work. At least that is what Resource Tuner says. I don't have XP handy so I couldn't test it but I could send someone a test executable if they wanted to see if it did. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com On Monday, October 6, 2003, at 05:19 AM, J?lio C?sar K?del wrote: > Did you tried to create a manifest for Revolution? If revolution uses > the > default Windows System Button, then the manifest would draw it as Luna > or > other style on XP. > > ----- Original Message ----- > From: > To: > Sent: Monday, October 06, 2003 12:39 AM > Subject: Re: Some doubts 'bout Revolution > > >> i'd rather have my buttons looking "native" in winXP ;-) >> >> -----Original Message----- >>>> Set the lookAndFeel to "MacOSX" -- would be a nice Christmas present >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> Esta mensagem foi verificada pelo E-mail Protegido Terra. >> Scan engine: VirusScan / Atualizado em 01/10/2003 / Vers?o: 1.4.0 >> Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Mon Oct 6 08:41:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Oct 6 08:41:00 2003 Subject: revCopyFile broken on OS X? In-Reply-To: Message-ID: <022901c38c0d$af984000$6601a8c0@LightningFlash> RevCopyFile uses "cp" through the shell, which copies attributes but does not copy the resource fork properly. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Brian Yennie > Sent: Monday, October 06, 2003 2:29 AM > To: use-revolution at lists.runrev.com > Subject: Re: revCopyFile broken on OS X? > > > I can't speak to revCopyFile, but on OS X there is a shell > command for > copying files with resource fork intact. If that's not what > revCopyFile > is using, you could try it: > > get shell("ditto -rsrcFork > ""e&sourcePath"e&"e&destPath"e) > > You might try it out first in Terminal.app if you haven't > used shell() > before. For more information about ditto, type "man ditto" into > Terminal.app. > > If that's what revCopyFile uses already, maybe it's a remote volume / > server problem? > > HTH > > Brian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From James.Cass at sealedair.com Mon Oct 6 08:53:01 2003 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Mon Oct 6 08:53:01 2003 Subject: revCopyFile broken on OS X? In-Reply-To: <022901c38c0d$af984000$6601a8c0@LightningFlash> Message-ID: The terminal command "CpMac" will properly copy a Mac file with it's Data and Resource info. You'll have to install Mac OS X Developer Tools to get it though. -James |---------+-------------------------------------> | | "Ken Ray" | | | | | | Sent by: | | | use-revolution-admin at lists| | | .runrev.com | | | | | | | | | 10/06/03 09:28 AM | | | Please respond to | | | use-revolution | |---------+-------------------------------------> >-------------------------------------------------------------------------------------------------------| | | | To: | | cc: | | Subject: RE: revCopyFile broken on OS X? | >-------------------------------------------------------------------------------------------------------| RevCopyFile uses "cp" through the shell, which copies attributes but does not copy the resource fork properly. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Brian Yennie > Sent: Monday, October 06, 2003 2:29 AM > To: use-revolution at lists.runrev.com > Subject: Re: revCopyFile broken on OS X? > > > I can't speak to revCopyFile, but on OS X there is a shell > command for > copying files with resource fork intact. If that's not what > revCopyFile > is using, you could try it: > > get shell("ditto -rsrcFork > ""e&sourcePath"e&"e&destPath"e) > > You might try it out first in Terminal.app if you haven't > used shell() > before. For more information about ditto, type "man ditto" into > Terminal.app. > > If that's what revCopyFile uses already, maybe it's a remote volume / > server problem? > > HTH > > Brian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Mon Oct 6 08:53:18 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Oct 6 08:53:18 2003 Subject: getting revXML to work in a standalone - how? In-Reply-To: Message-ID: <022a01c38c0f$5d87ba00$6601a8c0@LightningFlash> Terry, Richard Gaskin has a nice function to handle getting the path to the currently running application that is useful in these circumstances. It's called AppPath, and you can see it at: http://www.sonsothunder.com/devres/revolution/revolution.htm?_file008 Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Terry Judd > Sent: Monday, October 06, 2003 5:14 AM > To: use-revolution at lists.runrev.com > Subject: Re: getting revXML to work in a standalone - how? > > > > On Monday, October 6, 2003, at 09:18 AM, Terry Judd wrote: > > > Hmm - what am I missing? > > What I was missing was the fact that the filename of a MacOS X app > reports about three folders deeper than the package's location. It > wasn't that the xmllib wasn't working, just that it couldn't find the > required startup file. All is well now - I guess you only > need to make > that mistake the once. > > Terry... > > > I included the XML script library in the distribution builder prefs > > but there's no XML action in my built application (OSX Rev 2.1). > > Admittedly this is the first time I've built an app with the XML > > library included (actually come to think of it this is the > first time > > I've actually used the distribution builder). Everything > works fine in > > the development environment. > > > > Any clues? > > > > Cheers, > > > > Terry... > > > > Dr Terry Judd > > Lecturer in Educational Technology (Design) > > Biomedical Multimedia Unit > > Faculty of Medicine, Dentistry & Health Sciences > > The University of Melbourne > > Parkville VIC 3052 > > AUSTRALIA > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From ttasovac at princeton.edu Mon Oct 6 08:55:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Mon Oct 6 08:55:01 2003 Subject: problem with callbacks Message-ID: <02F89F12-F803-11D7-A155-000393D60E0C@princeton.edu> i'm sorry i will have to repost my question -- i think i got spoiled by this list where things usually get resolved immediately. in this particular case, i have a deadline tomorrow, which is why i am so impatient to get this cleared out. i have a text field in which the highlighting of the sentences is synchronized with the callbacks being sent by the QuickTime audio file. The problem is that when the player is stopped and restarted or moved to another point -- all the previous callbacks are sent again and the engine quickly goes through all the highlights before continuing with the sentence at which it left off. How can this be avoided? Callbacks are messages sent by the player at certain points in the timeline -- why should restarting a player in the middle of the movie trigger the callbacks which come before that point? If this turns out to be a bug, if you have an idea on a possible scripting workaround for the time being, I'll be eternally grateful to you. Many thanks in advance, Toma From jamesjrichards at lineone.net Mon Oct 6 09:50:00 2003 From: jamesjrichards at lineone.net (James Richards) Date: Mon Oct 6 09:50:00 2003 Subject: (OT) Pardon my French... was Newcard: a curious bug!? In-Reply-To: <200310051828.OAA02338@www.runrev.com> Message-ID: on 5 Oct 2003 19:35:42 +0200 (Dom) wrote > Quand ?a marche, ne touche ? rien ;-> > > (c'est comment en anglais ?) > (I know there is an expression in english but can't remember) on 5 Oct 2003 19:59:10 +0200 Klaus Major wrote > C'est: "Never touch a running system!" ;-) on 5 Oct 2003 20:59:09 +0200 (Dom) wrote: > "If ain't broke, don't touch it" on 5 Oct 2003 22:23:34 +0200 Ryno Swart wrote > Or: Don't fix it if it ain't broke... The version I'm used to is: If it ain't broke, don't fix it which preserves the French word order and in HIG terms ;-) puts the warning before the deprecated action! -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 From jamesjrichards at lineone.net Mon Oct 6 09:51:00 2003 From: jamesjrichards at lineone.net (James Richards) Date: Mon Oct 6 09:51:00 2003 Subject: Newbie question - bug fixes In-Reply-To: <200310052335.TAA11045@www.runrev.com> Message-ID: I see bug 450 has been fixed. This means I could run 2.1 on my OS X 10.1.x Mac. Do I just redownload (on the basis that fixes to date are automatically included), or do I wait for a new (bug fix) release? Thanks for your help James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 From dsc at swcp.com Mon Oct 6 10:12:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Oct 6 10:12:01 2003 Subject: Newbie question - bug fixes In-Reply-To: Message-ID: On Monday, October 6, 2003, at 08:37 AM, James Richards wrote: > I see bug 450 has been fixed. This means I could run 2.1 on my OS X > 10.1.x > Mac. Do I just redownload (on the basis that fixes to date are > automatically > included), or do I wait for a new (bug fix) release? Bug fix releases will come. This weekend I downloaded 2.1 for OS X and got 2.1.1. (This might be available for other OS's, but at least three of the bugs fixed were OS X specific.) I then noticed it is listed in bugzilla for bug reporting. The readme stated that one could find exactly which bugs were fixed from bugzilla. That is not clear to me. Some fixed bugs have 2.1 as the target, but I see no way to differentiate that from ones fixed by 2.1.0 or fixed in 2.1.1 or will be fixed in 2.1.2. As for 450, bugzilla is down at the moment, so I can't comment. However, there is a chance it is fixed in 2.1.1. I have seen no announcement for 2.1.1. That might mean that not all are built; I don't know. Dar Scott From dsc at swcp.com Mon Oct 6 10:22:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Oct 6 10:22:00 2003 Subject: Rotate imageData Through Color Wheel In-Reply-To: <5D3875EA-F7BF-11D7-8D7B-000A959D0AC6@hindu.org> Message-ID: <2FC82495-F80F-11D7-A5E3-000A9567A3E6@swcp.com> On Sunday, October 5, 2003, at 11:38 PM, Sannyasin Sivakatirswami wrote: > Has anyone written the code to rotate an image through the color > wheel--or a subset thereof, since 16 million is probably more than > any one would want to see, by poking the imageData of the image on > some kind of loop? If the image is a solid color, then you can compute the four-byte pixel once and then replicate it for the number of pixels in the image. Maybe it is possible to have a 1X1 pixel image (or some other small image) and have it resized to the size you want. That reduces your problem to a single color calculation per frame. Dar Scott From janschenkel at yahoo.com Mon Oct 6 10:59:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Oct 6 10:59:01 2003 Subject: problem with callbacks In-Reply-To: <02F89F12-F803-11D7-A155-000393D60E0C@princeton.edu> Message-ID: <20031006154648.98234.qmail@web11907.mail.yahoo.com> --- Toma Tasovac wrote: > i'm sorry i will have to repost my question -- i > think i got spoiled by > this list where things usually get resolved > immediately. in this > particular case, i have a deadline tomorrow, which > is why i am so > impatient to get this cleared out. > > i have a text field in which the highlighting of the > sentences is > synchronized with the callbacks being sent by the > QuickTime audio file. > The problem is that when the player is stopped and > restarted or moved > to another point -- all the previous callbacks are > sent again and the > engine quickly goes through all the highlights > before continuing with > the sentence at which it left off. > > How can this be avoided? Callbacks are messages > sent by the player at > certain points in the timeline -- why should > restarting a player in the > middle of the movie trigger the callbacks which come > before that point? > > If this turns out to be a bug, if you have an idea > on a possible > scripting workaround for the time being, I'll be > eternally grateful to > you. > > Many thanks in advance, > Toma > Hi Toma, Off the top of my head, I'd try and save in script locals whether or not I had received and reacted to a certain callback -- are they all different callback handlers or does QT pass a different parameter to the same callback handler ? Then, if the movie starts (not resumes) you could clear these variables. Not sure how to do the above, but it seems the best solution at this point. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From dan at shafermedia.com Mon Oct 6 11:58:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Mon Oct 6 11:58:01 2003 Subject: newTool Message-ID: <9E51F1AA-F81C-11D7-904D-0030656FB5D4@shafermedia.com> Claude wrote: > I can not let work the newTool message. > Looks like a bug from here. Your script does not work on Mac OS X or Windows. If you choose a new tool through a script, your script works right on Windows but not on OS X, where still nothing happens. You should report this to bugzilla. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From dan at shafermedia.com Mon Oct 6 12:08:56 2003 From: dan at shafermedia.com (Dan Shafer) Date: Mon Oct 6 12:08:56 2003 Subject: newTool (Correction) Message-ID: Correction. Claude's newTool script does behave identically on Win2K and on OS X. That is, it works if the new tool is chosen from a script but not if it's selected by the user. My bad. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From alex at mindlube.com Mon Oct 6 12:10:02 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Oct 6 12:10:02 2003 Subject: JDBC instead of ODBC In-Reply-To: <05A69156-F6E0-11D7-85EA-000393529642@mindlube.com> Message-ID: On Saturday, October 4, 2003, at 09:00 PM, Alex Rice wrote: > I'm all for any method to get the bountiful world of JDBC drivers can > be opened up to us. Certainly better than dealing with ODBC, on Win32 > platforms. Oops- I meant "[JDBC is] Certainly better than dealing with ODBC, on *non* Win32 platforms." ODBC has worked pretty good for me in Win32. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From mcdomi at free.fr Mon Oct 6 14:02:01 2003 From: mcdomi at free.fr (Dom) Date: Mon Oct 6 14:02:01 2003 Subject: delete card, again... Message-ID: <1g2f7ak.kf7l8qzkuveoM%mcdomi@free.fr> Still this problem after deleting a card... it seems that it is not possible to put a statement *before* a delete card command, e.g. on deletekey answer "Suppress this card?" with "Cancel" or "Suppress" if it is "suppress" then send "delete this card" to this card in 10 milliseconds end deletekey Here, I cant' follow Pierre's advice: better to ask a deleting permission *before* acting ;-> Nonetheless... in the development environment, menu Object, menu item Delete Card, I do have a dialog before card deleting... So, where is the trick??? OS 10.2.4 Rev 2.1 By the way, is there a mean to quit Rev other than force quit (OPT-CMD-Esc) in this case? -- From pixelbird at interisland.net Mon Oct 6 14:38:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Oct 6 14:38:01 2003 Subject: problem with callbacks In-Reply-To: <200310061602.MAA19821@www.runrev.com> Message-ID: Hi Toma, > Date: Mon, 6 Oct 2003 08:46:48 -0700 (PDT) > From: Jan Schenkel > Subject: Re: problem with callbacks > > Off the top of my head, I'd try and save in script > locals whether or not I had received and reacted to a > certain callback -- are they all different callback > handlers or does QT pass a different parameter to the > same callback handler ? > Then, if the movie starts (not resumes) you could > clear these variables. Not sure how to do the above, > but it seems the best solution at this point. ---------- I agree this sounds like the right idea until further investigation can show what's actually happening. I would simply flag the callbacks as it goes with a simple routine, and prevent them from showing ("if"). Make sure the flags are cleared at the beginning. This is a standard way of flagging things and should be easy to implement. HTH, Ken N. From klaus at major-k.de Mon Oct 6 14:52:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Oct 6 14:52:00 2003 Subject: delete card, again... In-Reply-To: <1g2f7ak.kf7l8qzkuveoM%mcdomi@free.fr> Message-ID: Hi Dom, > Still this problem after deleting a card... > > it seems that it is not possible to put a statement *before* a delete > card command, e.g. > > on deletekey > answer "Suppress this card?" with "Cancel" or "Suppress" > if it is "suppress" then send "delete this card" to this card in 10 > milliseconds > end deletekey Your example did ugly things to my version of RR (empty Answer Dialog :-(, so i think the engine is not sure what to dlete from what stack... Try this: on deletekey put the number of this cd into xyz answer "Suppress this card?" with "Cancel" or "Suppress" if it is "suppress" then delete card xyz of stack "your stack name here" end deletekey Works fine here... Remember that even the last (and then only) card can be deleted, which means that all controls are GONE... So be careful not to have a group and that last cd or its history... I always check for the num of cds and ask the user to empty all fields etc... (in my app) in that case... This is how the RR menuitem does it ;-) ... set the defaultstack to the topstack answer "Really yadda?" with "Yes" or "No" or "Maybe?" if it = "Yes" then delete this cd ... Here, too, confusion for the engine is being avoided by setting the defaultstack... > Here, I cant' follow Pierre's advice: better to ask a deleting > permission *before* acting ;-> > > Nonetheless... in the development environment, menu Object, menu item > Delete Card, I do have a dialog before card deleting... So, where is > the > trick??? > > OS 10.2.4 > Rev 2.1 > > By the way, is there a mean to quit Rev other than force quit > (OPT-CMD-Esc) in this case? NO, as i also had to experience ;-) Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From kray at sonsothunder.com Mon Oct 6 15:08:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Oct 6 15:08:00 2003 Subject: delete card, again... In-Reply-To: <1g2f7ak.kf7l8qzkuveoM%mcdomi@free.fr> Message-ID: <027301c38c43$d038b2a0$6601a8c0@LightningFlash> The problem is probably the ask/answer dialogs. These are scripted stacks that interpose themselves modally while your script is running, and if the defaultStack is changed as a result of their intervention, the "this card" will point somewhere else. This may also be the reason why it works in MetaCArd but not in Revolution (similar but different code in each ask/answer dialog). Try calling the card specifically, as in: on deleteKey put the long id of this card into tCardID answer "Suppress this card?" with "Cancel" or "Suppress" if it is "suppress" then send "delete this card" to tCardID in 10 milliseconds end if end deletekey (You may need to "do" the "send" statement if it can't resolve tCardID properly.) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Dom > Sent: Monday, October 06, 2003 1:38 PM > To: Liste Rev > Subject: delete card, again... > > > Still this problem after deleting a card... > > it seems that it is not possible to put a statement *before* > a delete card command, e.g. > > on deletekey > answer "Suppress this card?" with "Cancel" or "Suppress" > if it is "suppress" then send "delete this card" to this > card in 10 milliseconds end deletekey > > Here, I cant' follow Pierre's advice: better to ask a > deleting permission *before* acting ;-> > > Nonetheless... in the development environment, menu Object, > menu item Delete Card, I do have a dialog before card > deleting... So, where is the trick??? > > OS 10.2.4 > Rev 2.1 > > By the way, is there a mean to quit Rev other than force quit > (OPT-CMD-Esc) in this case? > > -- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From sanke at hrz.uni-kassel.de Mon Oct 6 15:27:00 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon Oct 6 15:27:00 2003 Subject: Rev 2.1.1 enforces U.S.A. keyboard Message-ID: <3F81CFAD.A4FD2B6D@hrz.uni-kassel.de> Rev 2.1.1 enforces an U.S.A. keyboard layout no matter what keyboard language is set in the Windows control panel. This begins with the "unlock dialog" and holds for text fields (did not yet test with scripts and custom properties). Rev 2.1 allows me to use my own selected language. This certainly needs a quick repair. It is an engine bug - not the IDE - as you have the same problem with Metacard, too. Wilhelm Sanke From cm_sheffield at yahoo.com Tue Oct 7 16:03:00 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Oct 7 16:03:00 2003 Subject: test Message-ID: <20031007205135.37156.qmail@web20405.mail.yahoo.com> Just testing again. ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From sims at ezpzapps.com Tue Oct 7 16:15:01 2003 From: sims at ezpzapps.com (sims) Date: Tue Oct 7 16:15:01 2003 Subject: Mac OS 10.2.8 and Rev Message-ID: Has anyone tested the new 10.2.8 with a Rev standalone? Does it seem ok? Not a very active list today..! atb sims From klaus at major-k.de Tue Oct 7 16:27:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Oct 7 16:27:01 2003 Subject: Mac OS 10.2.8 and Rev In-Reply-To: Message-ID: <4846C012-F90B-11D7-8423-000A27B49A96@major-k.de> Hi sims, > Has anyone tested the new 10.2.8 with a Rev standalone? Yep, even with he 2.1.1 engine :-) > Does it seem ok? Looks OK so far... > Not a very active list today..! True ;-) > atb > > sims Regards Klaus Major klaus at major-k.de www.major-k.de From speitel at hawaii.edu Tue Oct 7 16:43:01 2003 From: speitel at hawaii.edu (Thomas Speitel) Date: Tue Oct 7 16:43:01 2003 Subject: .mp4 Mac file type? Message-ID: Hi Folks, I am looking for the Macintosh file type for .mp4 files and .mp3 files. For instance .mov files are Mac file type "MooV". I need the info to filter file types using ANSWER FILE. Thanks in advance, Tom From dsc at swcp.com Tue Oct 7 16:50:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Oct 7 16:50:00 2003 Subject: List (was Mac OS 10.2.8 and Rev) In-Reply-To: Message-ID: <80CC2785-F90E-11D7-BCF2-000A9567A3E6@swcp.com> On Tuesday, October 7, 2003, at 03:05 PM, sims wrote: > Not a very active list today..! The lists were broken and RunRev mail has been broken in general. Folks may be taking advantage of the lull to get some work done. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From klaus at major-k.de Tue Oct 7 16:54:00 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Oct 7 16:54:00 2003 Subject: .mp4 Mac file type? In-Reply-To: Message-ID: <14E1C8DE-F90F-11D7-8423-000A27B49A96@major-k.de> Hi Thomas, > Hi Folks, > I am looking for the Macintosh file type for .mp4 files and .mp3 files. > For instance .mov files are Mac file type "MooV". I need the info to > filter file types using ANSWER FILE. Just checked some "long files" ;-) iTunes MP3 are: SJAMMPG3 MP4 appear to be just Quicktime Movies with the "common" filetype: TVODMooV I would check for the suffix, too. Hope that helps... > Thanks in advance, > Tom Regards Klaus Major klaus at major-k.de www.major-k.de From ttasovac at princeton.edu Tue Oct 7 17:24:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Tue Oct 7 17:24:01 2003 Subject: problem with callbacks In-Reply-To: <20031006154648.98234.qmail@web11907.mail.yahoo.com> Message-ID: <4159E560-F913-11D7-9690-000393D60E0C@princeton.edu> (sorry if this is a double post, but the list seems to have been dead all day long) Thanks to Ken and Jan for responding. For some reason, I couldn't get to prevent the callbacks from showing with a simple if clause... I started now with a different approach, which works with preventing the callbacks from showing if they've already been showed, but lands me in trouble with onCurrentTimeChanged Here's what I've done. On openStack, I create a global myCallbacks -- so that at any time I can have a list of all callbacks available. My callback messages (sentnece 1, sentence 2, sentence 3) do the following: on sentence x lock screen set the textColor of item x-1 of fld "Field 1" to black set the textColor of item x of fld "Field 1" to blue put x into lastPlayed unlock screen end sentence Now, since I want to avoid repeated executions when the user stopps the movie, I have: on playPaused put the callbacks of player "Player 1" into tempCallbacks delete line 1 to lastPlayed - 1 of tempCallbacks set the callbacks of player "Player 1" to tempCallbacks end playPaused So far so good. When the user stops the movie and then continues playing -- previous callbacks are not sent. Beautiful. But then, I want to deal with onCurrentTimeChanged, that is if the user scrolls back to the beginning of the movie. I thought this would be simple enough: on currentTimeChanged set the callbacks of player "Player 1" to myCallbacks end currentTimeChanged But this DOESN'T work because (as Message Watcher will tell us) when the user moves to the beginning of the movie, currentTimeChanged is sent, but when the user releases the scroller, another "playPaused" is sent, which means I'm stuck again with a truncated version of callbacks (from on playPaused handler) and the not the full version that I expected from my global variable. What's the best thing to do now? Many thanks in advance. T. Am Montag, 06.10.03 um 17:46 Uhr schrieb Jan Schenkel: > Hi Toma, > > Off the top of my head, I'd try and save in script > locals whether or not I had received and reacted to a > certain callback -- are they all different callback > handlers or does QT pass a different parameter to the > same callback handler ? > Then, if the movie starts (not resumes) you could > clear these variables. Not sure how to do the above, > but it seems the best solution at this point. > > Hope this helped, > > Jan Schenkel. > > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From gdevore at mac.com Tue Oct 7 17:41:00 2003 From: gdevore at mac.com (Greg DeVore) Date: Tue Oct 7 17:41:00 2003 Subject: Mouse scroll wheel problems Message-ID: I am having a bit of trouble getting the mouse scroll wheel to work. I have set up a rawkeydown handler that reads like this: On rawKEyDown theKeyNumber if theKeyNumber is 65308 then -- mouse wheel down put the vscroll of group "View" into tScroll add 10 to tSCroll set the vscroll of group "View" to tScroll else if theKeyNumber is 65309 then -- mouse wheel up put the vscroll of group "View" into tScroll subtract 10 from tSCroll set the vscroll of group "View" to tScroll else pass rawKeyDown end rawKEyDown The problem is that Rev only seems to recognize the rawkeydown message intermittently on OS X and not at all on OS 9. When it does get the rawkeydown message in OS X everything works as it should. Any suggestions? Greg DeVore Blue Mango Multimedia media at gregdevore.com 661-753-9335 From alex at mindlube.com Tue Oct 7 18:06:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Oct 7 18:06:01 2003 Subject: Runtime Revolution 2.1.1 release candidate available In-Reply-To: Message-ID: <1E280EB7-F919-11D7-BD9D-000393529642@mindlube.com> On Monday, October 6, 2003, at 02:11 PM, Heather Williams wrote: > Revolution 2.1.1 is available for download from > . I am curious of this is a beta or a full release- you are calling it "release candidate" and the website says "Download and test now" which kind of implies there will be a 2.1.1 final release later? > For a limited time, Revolution Studio is available for $299, a savings > of $100 off the list price. So much for the August 31st expiration on this deal eh :-)? Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dan at shafermedia.com Tue Oct 7 18:48:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Tue Oct 7 18:48:01 2003 Subject: Script-Printing Script? Message-ID: <043944CF-F91F-11D7-9F1C-0030656FB5D4@shafermedia.com> Does anyone already have a script that will go through a stack or stack file and print out all the scripts, along with object descriptors? I have such a beast for HyperCard, but it's not (yet) obvious to me how to make the concept work in Rev since I don't see a "print script" command. But I really need such a beast so I'll figure out how to write it if it doesn't yet exist. I'm just not into re-inventing wheels. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From monte at sweattechnologies.com Tue Oct 7 19:09:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Oct 7 19:09:01 2003 Subject: Script-Printing Script? In-Reply-To: <043944CF-F91F-11D7-9F1C-0030656FB5D4@shafermedia.com> Message-ID: > Does anyone already have a script that will go through a stack or stack > file and print out all the scripts, along with object descriptors? > > I have such a beast for HyperCard, but it's not (yet) obvious to me how > to make the concept work in Rev since I don't see a "print script" > command. But I really need such a beast so I'll figure out how to > write it if it doesn't yet exist. I'm just not into re-inventing wheels. There was such a beast on the xWorlds contributor site. I don't know if xworlds.com is still up??? Otherwise it's just looping over the objects in the stack and adding their long name and script to a variable, then calling revPrintText. You can use htmlText markup for formatting. Watch out that you don't include backgrounds for every card they are on. Cheers Monte From lists at mangomultimedia.com Tue Oct 7 19:32:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Oct 7 19:32:01 2003 Subject: 256 color icons in Windows Message-ID: <36A02204-F925-11D7-8056-000A956C462A@mangomultimedia.com> Just wondering if someone knows of anyway to get a Rev executable to have a 256 color icon? I am getting complaints from a client about how ugly the icon for an app looks when using alt+tab on windows to switch apps. I have Resource Tuner and Microangelo on Windows but as far as I can tell you can't add an icon to a file that wasn't part of the exe when it was compiled. I believe you can only change existing icons. Is this correct? Any ideas? Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Tue Oct 7 19:32:23 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Oct 7 19:32:23 2003 Subject: Making Windows HtmlHelp API call Message-ID: <3D4A669C-F925-11D7-8056-000A956C462A@mangomultimedia.com> Hi, I am finishing an app (Windows only) which will be integrated with some other applications that are not made in Revolution. The other applications all share the same help file and ideally my Revolution app will as well. I was told that in order to do this I will need to make an API call to HtmlHelp: HtmlHelp( hRevAppWindowHandle, "HelpFile.chm", HH_HELP_CONTEXT, nJumpToTopic ); hRevAppWindowHandle = handle to the main window in Rev app. "HelpFile.chm" = path to the help file. HH_HELP_CONTEXT = defined as 0x000F in the htmlhelp.h file from the Microsoft Platform SDK. The HtmlHelp function does different things depending on this argument. This argument tells it to launch to a particular page specified by the last argument. nJumpToTopic = This is the ID of the topic you want to jump to. Is this something I would have to have an external for if I wanted to do it in my Revolution app? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Tue Oct 7 19:32:29 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Oct 7 19:32:29 2003 Subject: revXMLText and accented characters on Windows Message-ID: <42C3F4A7-F925-11D7-8056-000A956C462A@mangomultimedia.com> On Saturday, October 4, 2003, at 12:47 PM, Trevor DeVore wrote: > I am creating an XML file from Revolution and saving it as UTF8. I > have it working on OS X but am experiencing problems with Windows (win > 2000). When an accented character is entered such as ? (e with an > accent egout) then it seems the character is encoded when using > revXMLText on Windows. > > The code below works fine on Mac OS X with an input string of "? is > accented". It creates the file and when I open it in BBEdit on Mac or > IE Explorer on Win then the accented characters display correctly. On > Windows the same code (with path name changed and text entered into > the field on win platform) creates an output file that with the string > represented as "頩s accented". Just an update on the solution I found to this problem. To get around this problem I was experiencing on Windows I ended up using URLEncode for all values that I added to the xml tree I created. After using revXMLText to get the text file I used URLDecode on the final xml text and everything seems to be working fine. I did have to replace "&" with "&" after doing this though. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From monte at sweattechnologies.com Tue Oct 7 19:53:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Oct 7 19:53:01 2003 Subject: Making Windows HtmlHelp API call In-Reply-To: <3D4A669C-F925-11D7-8056-000A956C462A@mangomultimedia.com> Message-ID: > Hi, > > I am finishing an app (Windows only) which will be integrated with some > other applications that are not made in Revolution. The other > applications all share the same help file and ideally my Revolution app > will as well. I was told that in order to do this I will need to make > an API call to HtmlHelp: > > HtmlHelp( hRevAppWindowHandle, "HelpFile.chm", HH_HELP_CONTEXT, > nJumpToTopic ); > > hRevAppWindowHandle = handle to the main window in Rev app. > "HelpFile.chm" = path to the help file. > HH_HELP_CONTEXT = defined as 0x000F in the htmlhelp.h file from the > Microsoft Platform SDK. The HtmlHelp function does different things > depending on this argument. This argument tells it to launch to a > particular page specified by the last argument. > nJumpToTopic = This is the ID of the topic you want to jump to. > > Is this something I would have to have an external for if I wanted to > do it in my Revolution app? > Nah... just a two liner: set the hideConsoleWindows to true get shell("start ""e"e&"e&Helpfile.chm"e) Cheers Monte From kray at sonsothunder.com Tue Oct 7 20:22:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Oct 7 20:22:01 2003 Subject: 256 color icons in Windows In-Reply-To: <36A02204-F925-11D7-8056-000A956C462A@mangomultimedia.com> Message-ID: <00d301c38d38$c66ad140$6601a8c0@LightningFlash> Trevor, You're right and there's not much you can do about it. You can't change a 16-color icon to a 256 color one inside of the executable, and Rev doesn't support anything other than 16 colors for icons. You can create a shortcut to the app that has 256 color icons, but that only changes what the user may see *on disk*; it doesn't have anything to do with the alt-tab display. The only thing I can suggest is perhaps to go with a very simple icon that uses the 16 colors to their best and not to dither down a 256 color image (if you have the luxury of creating a new icon). I know you've already voted for this on Bugzilla; anyone else want to add their votes? (Bug #730). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Trevor DeVore > Sent: Tuesday, October 07, 2003 7:52 AM > To: Revolution List > Subject: 256 color icons in Windows > > > Just wondering if someone knows of anyway to get a Rev executable to > have a 256 color icon? I am getting complaints from a client > about how > ugly the icon for an app looks when using alt+tab on windows > to switch > apps. > > I have Resource Tuner and Microangelo on Windows but as far as I can > tell you can't add an icon to a file that wasn't part of the exe when > it was compiled. I believe you can only change existing icons. Is > this correct? Any ideas? > > Thanks, > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From lists at mangomultimedia.com Tue Oct 7 20:22:23 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Oct 7 20:22:23 2003 Subject: Making Windows HtmlHelp API call In-Reply-To: Message-ID: <31FE8B24-F92C-11D7-8343-000A956C462A@mangomultimedia.com> On Tuesday, October 7, 2003, at 06:41 PM, Monte Goulding wrote: >> I am finishing an app (Windows only) which will be integrated with >> some >> other applications that are not made in Revolution. The other >> applications all share the same help file and ideally my Revolution >> app >> will as well. I was told that in order to do this I will need to make >> an API call to HtmlHelp: >> >> HtmlHelp( hRevAppWindowHandle, "HelpFile.chm", HH_HELP_CONTEXT, >> nJumpToTopic ); >> >> hRevAppWindowHandle = handle to the main window in Rev app. >> "HelpFile.chm" = path to the help file. >> HH_HELP_CONTEXT = defined as 0x000F in the htmlhelp.h file from the >> Microsoft Platform SDK. The HtmlHelp function does different things >> depending on this argument. This argument tells it to launch to a >> particular page specified by the last argument. >> nJumpToTopic = This is the ID of the topic you want to jump to. >> >> Is this something I would have to have an external for if I wanted to >> do it in my Revolution app? >> > > Nah... just a two liner: > set the hideConsoleWindows to true > get shell("start ""e"e&"e&Helpfile.chm"e) Monte, I forgot to explain that the help file needs to be called this way in order for different executables to share the same help file. That is why the HtmlHelp API must be used rather than just opening the help file using shell. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From kray at sonsothunder.com Tue Oct 7 20:26:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Oct 7 20:26:01 2003 Subject: Making Windows HtmlHelp API call In-Reply-To: Message-ID: <00d401c38d39$1ed650c0$6601a8c0@LightningFlash> I don't know if you can pass the HH_HELP_CONTEXT and nJumpToTopic arguments from the command line; if you can, then Monte's suggestion (with a couple of additional params) would work just fine. If not, you might need to write an external or call on a VB app to do it for you. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Monte Goulding > Sent: Tuesday, October 07, 2003 7:41 PM > To: use-revolution at lists.runrev.com > Subject: RE: Making Windows HtmlHelp API call > > > > > Hi, > > > > I am finishing an app (Windows only) which will be integrated with > > some > > other applications that are not made in Revolution. The other > > applications all share the same help file and ideally my > Revolution app > > will as well. I was told that in order to do this I will > need to make > > an API call to HtmlHelp: > > > > HtmlHelp( hRevAppWindowHandle, "HelpFile.chm", HH_HELP_CONTEXT, > > nJumpToTopic ); > > > > hRevAppWindowHandle = handle to the main window in Rev app. > > "HelpFile.chm" = path to the help file. HH_HELP_CONTEXT = > defined as > > 0x000F in the htmlhelp.h file from the Microsoft Platform SDK. The > > HtmlHelp function does different things depending on this > argument. > > This argument tells it to launch to a particular page > specified by the > > last argument. nJumpToTopic = This is the ID of the topic > you want to > > jump to. > > > > Is this something I would have to have an external for if I > wanted to > > do it in my Revolution app? > > > > Nah... just a two liner: > set the hideConsoleWindows to true > get shell("start ""e"e&"e&Helpfile.chm"e) > > Cheers > > Monte > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Tue Oct 7 20:35:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Oct 7 20:35:01 2003 Subject: Making Windows HtmlHelp API call In-Reply-To: <31FE8B24-F92C-11D7-8343-000A956C462A@mangomultimedia.com> Message-ID: > > Nah... just a two liner: > > set the hideConsoleWindows to true > > get shell("start ""e"e&"e&Helpfile.chm"e) > > Monte, > > I forgot to explain that the help file needs to be called this way in > order for different executables to share the same help file. That is > why the HtmlHelp API must be used rather than just opening the help > file using shell. > Do you mean at the same time? It seems odd either way. Opening a file is opening a file whichever way you look at it. Have you tested it? Regards Monte From dsc at swcp.com Tue Oct 7 20:47:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Oct 7 20:47:00 2003 Subject: 256 color icons in Windows In-Reply-To: <00d301c38d38$c66ad140$6601a8c0@LightningFlash> Message-ID: On Tuesday, October 7, 2003, at 07:09 PM, Ken Ray wrote: > The only thing I can suggest is perhaps to go with a > very simple icon that uses the 16 colors to their best Often problems are opportunities for creativity. Dar Scott From chipp at chipp.com Tue Oct 7 21:02:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Oct 7 21:02:01 2003 Subject: 256 color icons in Windows In-Reply-To: <36A02204-F925-11D7-8056-000A956C462A@mangomultimedia.com> Message-ID: Hi Trevor, I'd suggest creating a monochrome color scheme, and then dithering the icon in Photoshop using an adaptive palette and forced black and white before saving as a 16-color BMP. See if you haven't already. I've had success doing it this way. best, Chipp > Just wondering if someone knows of anyway to get a Rev executable to > have a 256 color icon? I am getting complaints from a client about how > ugly the icon for an app looks when using alt+tab on windows to switch > apps. From jiml at netrin.com Tue Oct 7 21:04:01 2003 From: jiml at netrin.com (Jim Lambert) Date: Tue Oct 7 21:04:01 2003 Subject: Runtime Revolution 2.1.1 release candidate available In-Reply-To: <200310080024.UAA07786@www.runrev.com> Message-ID: Revolution 2.1.1 is available for download> Where was this announcement made? Jim Lambert --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/03 From lists at mangomultimedia.com Tue Oct 7 21:09:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Oct 7 21:09:01 2003 Subject: 256 color icons in Windows In-Reply-To: <00d301c38d38$c66ad140$6601a8c0@LightningFlash> Message-ID: On Tuesday, October 7, 2003, at 07:09 PM, Ken Ray wrote: > You're right and there's not much you can do about it. You can't change > a 16-color icon to a 256 color one inside of the executable, and Rev > doesn't support anything other than 16 colors for icons. You can create > a shortcut to the app that has 256 color icons, but that only changes > what the user may see *on disk*; it doesn't have anything to do with > the > alt-tab display. The only thing I can suggest is perhaps to go with a > very simple icon that uses the 16 colors to their best and not to > dither > down a 256 color image (if you have the luxury of creating a new icon). Unfortunatley I don't have control over the icon. This app will be a part of a suite of apps. My client has the icons designed for the whole suite. The other apps are programmed in C++ and and make use of all icon sizes. Mine on the other hand only uses the 16 color one which is unfortunate. The quality control team is very picky about little details like this and I don't enjoy telling them there is a limit such as this for icons. Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Tue Oct 7 21:13:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Oct 7 21:13:01 2003 Subject: 256 color icons in Windows In-Reply-To: Message-ID: <57CF1896-F933-11D7-8343-000A956C462A@mangomultimedia.com> On Tuesday, October 7, 2003, at 07:50 PM, Chipp Walters wrote: > Hi Trevor, > > I'd suggest creating a monochrome color scheme, and then dithering the > icon > in Photoshop using an adaptive palette and forced black and white > before > saving as a 16-color BMP. > > See > > if you haven't already. I've had success doing it this way. Thanks Chipp. I will play around with this and see if I can improve things at all. The icon uses greys and blacks already so perhaps this will work. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Tue Oct 7 21:17:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Oct 7 21:17:01 2003 Subject: Making Windows HtmlHelp API call In-Reply-To: Message-ID: On Tuesday, October 7, 2003, at 07:23 PM, Monte Goulding wrote: >>> Nah... just a two liner: >>> set the hideConsoleWindows to true >>> get shell("start ""e"e&"e&Helpfile.chm"e) >> >> Monte, >> >> I forgot to explain that the help file needs to be called this way in >> order for different executables to share the same help file. That is >> why the HtmlHelp API must be used rather than just opening the help >> file using shell. >> > > Do you mean at the same time? It seems odd either way. Opening a file > is > opening a file whichever way you look at it. Have you tested it? Yes. There is one help file that is shared among 4-5 applications. Any/all of these apps could be open at the same time. When calling the help file, each application must be able to tell the help file where to start within the file. App A needs to start on the start page for App A, App B on the start page for App B. If App A opens the help file and then the user opens App B and clicks on help then the already open help file needs to navigate to the start page for App B. Does this make sense? I haven't done tests on this myself, this were the instructions provided to me by my client. I asked about other methods but this is the way they said it had to be done. They know Windows inside and out so I'm pretty sure this is how it has to be done to accomplish the desired behavior. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Tue Oct 7 21:29:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Oct 7 21:29:00 2003 Subject: 256 color icons in Windows In-Reply-To: Message-ID: <840D5536-F935-11D7-8343-000A956C462A@mangomultimedia.com> On Tuesday, October 7, 2003, at 07:50 PM, Chipp Walters wrote: > I'd suggest creating a monochrome color scheme, and then dithering the > icon > in Photoshop using an adaptive palette and forced black and white > before > saving as a 16-color BMP. > > See > > if you haven't already. I've had success doing it this way. Chipp, I followed the example you provided and the icon looks MUCH better than before. Thanks! -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revlists at canelasoftware.com Tue Oct 7 21:37:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Oct 7 21:37:01 2003 Subject: Script-Printing Script? In-Reply-To: <043944CF-F91F-11D7-9F1C-0030656FB5D4@shafermedia.com> Message-ID: <912F5FFD-F936-11D7-AD5E-000393C3F5BC@canelasoftware.com> On Tuesday, October 7, 2003, at 04:36 PM, Dan Shafer wrote: > Does anyone already have a script that will go through a stack or > stack file and print out all the scripts, along with object > descriptors? > > I have such a beast for HyperCard, but it's not (yet) obvious to me > how to make the concept work in Rev since I don't see a "print script" > command. But I really need such a beast so I'll figure out how to > write it if it doesn't yet exist. I'm just not into re-inventing > wheels. > > I wrote one many moons ago. It was hosted by X-Worlds I believe. I can e-mail it to you if you like. I will also post it on RevNet. Best regards, Mark Talluto http://www.canelasoftware.com From katir at hindu.org Tue Oct 7 23:03:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Oct 7 23:03:01 2003 Subject: revCopyFile broken on OS X? In-Reply-To: Message-ID: Brian, Thanks! "ditto" works perfectly. Resource fork is maintained. File is copied with creator type etc all intact and boots into the right application. Two caveats which I would like to understand, just for my training on shell usage: a) I could not get this to work: get shell ("ditto -rsrcFork ""e &(gRemotePath&gRemoteFile)"e&"e& fld "localfolder""e) instead I had to do this: put ("ditto -rsrcFork ""e &(gRemotePath&gRemoteFile)"e&"e& fld "localfolder""e) into tCommand get shell (tCommand) why? b) use of "get" why is it needed? is it because this is a function and not a command? Thanks, this list is such a great resource... Aloha from Kauai Sivakatirswami On Sunday, October 5, 2003, at 09:28 PM, Brian Yennie wrote: > I can't speak to revCopyFile, but on OS X there is a shell command for > copying files with resource fork intact. If that's not what > revCopyFile is using, you could try it: > > get shell("ditto -rsrcFork > ""e&sourcePath"e&"e&destPath"e) > > You might try it out first in Terminal.app if you haven't used shell() > before. For more information about ditto, type "man ditto" into > Terminal.app. > > If that's what revCopyFile uses already, maybe it's a remote volume / > server problem? > > HTH > > Brian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at mindlube.com Tue Oct 7 23:21:00 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Oct 7 23:21:00 2003 Subject: Runtime Revolution 2.1.1 release candidate available In-Reply-To: Message-ID: <404FBE75-F945-11D7-BD9D-000393529642@mindlube.com> On Tuesday, October 7, 2003, at 07:51 PM, Jim Lambert wrote: > > Revolution 2.1.1 is available for download> > > Where was this announcement made? It was sent to the revolution announcements list for sure I don't know if it went out to use-rev and improve-rev. I haven't seen it on the metacard list either. Most likely runrev had some mail server problems recently as some of my messages didn't make it to the list and there was a halt in use-revolution list traffic for about 12-18 hours. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Tue Oct 7 23:44:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Oct 7 23:44:01 2003 Subject: Runtime Revolution 2.1.1 release candidate available In-Reply-To: <404FBE75-F945-11D7-BD9D-000393529642@mindlube.com> Message-ID: <62DBE808-F948-11D7-A52E-000A9567A3E6@swcp.com> On Tuesday, October 7, 2003, at 10:09 PM, Alex Rice wrote: > It was sent to the revolution announcements list for sure > I don't know if > it went out to use-rev and improve-rev. I haven't seen it on the > metacard list either. > > Most likely runrev had some mail server problems recently as some of > my messages didn't make it to the list and there was a halt in > use-revolution list traffic for about 12-18 hours. The announcement was delayed in mail about 6 hours, I think. Also, the Bugzilla mail failed. Dar Scott From davethebrv at crystalpiersw.com Tue Oct 7 23:44:12 2003 From: davethebrv at crystalpiersw.com (David Beck) Date: Tue Oct 7 23:44:12 2003 Subject: Windows Explorer popping into foreground In-Reply-To: <200310080024.UAA07786@www.runrev.com> Message-ID: Hey, I am having what an unusual problem while using rev 1.1.1 on Windows machines (I haven't tested this with 2.x). It can be easily reproduced. The problem is that whenever I have 3 or more modal dialogs on top of each other, after closing two of them the Windows Explorer pops into the foreground! Let's say we have 4 stacks, named s1, s2, s3, s4. s1 has a button on it to open s2 as modal. s2 has a button on it to open s3 as modal. s3 has a button on it to open s4 as modal. They all have "Close" buttons as well so that we can close them once they have been opened as modal. If we click the button on s1, then s2, then s3, then s4, we will have opened all 4 stacks, the top three being opened as modal. This works as expected, but when we go to close the stacks by hitting their close button the following happens: s4 closes as expected, but when we click the close button for s3, it closes, and the frontmost Windows Explorer window pops into the foreground! On top of s2! Then when you bring s2 to the foreground by clicking on it, and close it by clicking its button, the explorer window is on top of s1! You have to click on s1 in order for it to be brought back to the front. Whats with this?? Has anybody else had this problem? I can get around it by putting a "go this stack" after the "go stack sx as modal", but you can still see an ugly flicker when the exporer window pops into the front for a split second. Any help would be appreciated. Thanks, Dave From stephenREVOLUTION at barncard.com Tue Oct 7 23:51:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Tue Oct 7 23:51:01 2003 Subject: .mp4 Mac file type? Message-ID: > > >iTunes MP3 are: >SJAMMPG3 SJAM -- SoundJam? > >MP4 appear to be just Quicktime Movies with the "common" filetype: >TVODMooV Ha ha TVOD was a early song by DEVO !! (Backed with 'Warm Leatherette') and Moof was the sound of Clarus the dogcow...... From ludovic.thebault at laposte.net Wed Oct 8 00:08:01 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Wed Oct 8 00:08:01 2003 Subject: .mp4 Mac file type? In-Reply-To: References: Message-ID: <20031008065610312318.GyazMail.ludovic.thebault@laposte.net> On Tue, 07 Oct 2003 11:33:28 -1000, Thomas Speitel wrote: > Hi Folks, > I am looking for the Macintosh file type for .mp4 files and .mp3 > files. For instance .mov files are Mac file type "MooV". I need the > info to filter file types using ANSWER FILE. Natively, mp4 are not readable on mac. A (free) component for quicktime is necessary. After installation, mp4 files have this creator & type : TVODmpg4 Ludovic From yvescoppe at skynet.be Wed Oct 8 01:17:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed Oct 8 01:17:00 2003 Subject: Rev CR 2.1.1 and Mac OS X Message-ID: <6902DC77-F955-11D7-B8F2-003065E14B04@skynet.be> Hi, Big problem with CR 2.1.1 on Mac OS X.2.8 FRENCH My "metal" decoration has disappeared....!!!!!! HELP !! Greetings. Yves COPPE yvescoppe at skynet.be From warren at howsoft.com Wed Oct 8 01:34:00 2003 From: warren at howsoft.com (Robert J Warren (howsoft.com)) Date: Wed Oct 8 01:34:00 2003 Subject: 16M colour icons in Windows Message-ID: <001e01c38d64$545e0640$0201a8c0@bob> I have just run a test and have successfully substituted the icon in a Revolution executable for one of 16 million colours. I used a very simple but well-prepared freeware utility known as "Resource Hacker". If anyone would like to confirm the results of my experiment, this software can be downloaded from http://www.users.on.net/johnson/resourcehacker/ From kray at sonsothunder.com Wed Oct 8 01:42:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 01:42:00 2003 Subject: Windows Explorer popping into foreground In-Reply-To: Message-ID: <010701c38d65$86518a90$6601a8c0@LightningFlash> Yes, this is something that I reported to Bugzilla (although it is under a "window interleaving issue" - Bug #471), that is apparently fixed in 2.1.1. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of David Beck > Sent: Tuesday, October 07, 2003 11:31 PM > To: use-revolution at lists.runrev.com > Subject: Windows Explorer popping into foreground > > > > > Hey, > > I am having what an unusual problem while using rev 1.1.1 on > Windows machines (I haven't tested this with 2.x). It can be > easily reproduced. The problem is that whenever I have 3 or > more modal dialogs on top of each other, after closing two of > them the Windows Explorer pops into the foreground! > > Let's say we have 4 stacks, named s1, s2, s3, s4. s1 has a > button on it to open s2 as modal. s2 has a button on it to > open s3 as modal. s3 has a button on it to open s4 as modal. > They all have "Close" buttons as well so that we can close > them once they have been opened as modal. > > If we click the button on s1, then s2, then s3, then s4, we > will have opened all 4 stacks, the top three being opened as > modal. This works as expected, but when we go to close the > stacks by hitting their close button the following happens: > s4 closes as expected, but when we click the close button for > s3, it closes, and the frontmost Windows Explorer window pops > into the foreground! On top of s2! Then when you bring s2 to > the foreground by clicking on it, and close it by clicking > its button, the explorer window is on top of s1! You have to > click on s1 in order for it to be brought back to the front. > > Whats with this?? Has anybody else had this problem? I can > get around it by putting a "go this stack" after the "go > stack sx as modal", but you can still see an ugly flicker > when the exporer window pops into the front for a split > second. Any help would be appreciated. > > Thanks, > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Wed Oct 8 01:43:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 01:43:01 2003 Subject: Rev CR 2.1.1 and Mac OS X In-Reply-To: <6902DC77-F955-11D7-B8F2-003065E14B04@skynet.be> Message-ID: <010801c38d65$a7806a10$6601a8c0@LightningFlash> Yves, did you bugzilla this? (If not, you should...) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Yves COPPE > Sent: Wednesday, October 08, 2003 1:05 AM > To: Use Rev > Subject: Rev CR 2.1.1 and Mac OS X > > > Hi, > > > > Big problem with CR 2.1.1 on Mac OS X.2.8 FRENCH > > > My "metal" decoration has disappeared....!!!!!! > > > HELP !! > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From warren at howsoft.com Wed Oct 8 01:50:01 2003 From: warren at howsoft.com (Robert J Warren (howsoft.com)) Date: Wed Oct 8 01:50:01 2003 Subject: 16M colour icons in Windows Message-ID: <004201c38d66$a1a79180$0201a8c0@bob> Hasty apologies to everyone! The Revolution EXE doesn't run any more after the icon change (pity I didn't think of testing it before opening my big mouth). Anyway, I'm going to play around with the "Resource Hacker" to see if I can get it to work. From kray at sonsothunder.com Wed Oct 8 01:51:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 01:51:01 2003 Subject: 16M colour icons in Windows In-Reply-To: <001e01c38d64$545e0640$0201a8c0@bob> Message-ID: <010b01c38d66$bcf613d0$6601a8c0@LightningFlash> Awesome, Robert! I just tested it and it works! Well... at least we have a workaround for now until it is built into Rev... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Robert J Warren (howsoft.com) > Sent: Wednesday, October 08, 2003 1:13 AM > To: use-revolution at lists.runrev.com > Subject: 16M colour icons in Windows > > > I have just run a test and have successfully substituted the > icon in a Revolution executable for one of 16 million > colours. I used a very simple but well-prepared freeware > utility known as "Resource Hacker". If anyone would like to > confirm the results of my experiment, this software can be > downloaded from http://www.users.on.net/johnson/resourcehacker/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From FlexibleLearning at aol.com Wed Oct 8 02:25:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed Oct 8 02:25:01 2003 Subject: Script-Printing Script? Message-ID: <27.48ead5f0.2cb512d7@aol.com> Does anyone already have a script that will go through a stack or stack file and print out all the scripts, along with object descriptors? Dan: Try http://www.FlexibleLearning.com/xtalk/docs/scriptdump.script.txt /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From warren at howsoft.com Wed Oct 8 02:46:00 2003 From: warren at howsoft.com (Robert J Warren (howsoft.com)) Date: Wed Oct 8 02:46:00 2003 Subject: 256 colour icons in Windows using Resource Hacker Message-ID: <007801c38d6e$712b7be0$0201a8c0@bob> It seems that the Resource Hacker CAN susbstitute the Revolution EXE icon for one of 256 colours (32x32 pixels), but I have not tested it sufficiently to discover whether it works with all programs. When you open the EXE prog in Resource Hacker it shows you 2 "Icon Groups". If you DELETE the 2nd icon group this seems to make room for substituting the icon of the 1st icon group with one which is "fatter". As I said, I have done only a few tests, but all the programs tested have worked. Please confirm, ladies and gents... From yvescoppe at skynet.be Wed Oct 8 03:31:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed Oct 8 03:31:00 2003 Subject: Scroll fld Message-ID: Hi, I have a fld named "DATA" on a cd "Viewer" I want a handler in the preopencard status so that the fld "DATA" scrolls automatically at the end of the text Thus when the cd is open, the fld appears scrolled at the end of the text of the "data" fld Can anyone help me for writing this little code ? thank you. Greetings. Yves COPPE yvescoppe at skynet.be From janschenkel at yahoo.com Wed Oct 8 03:39:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Oct 8 03:39:01 2003 Subject: Scroll fld In-Reply-To: Message-ID: <20031008082725.52295.qmail@web11908.mail.yahoo.com> --- Yves COPPE wrote: > Hi, > > I have a fld named "DATA" on a cd "Viewer" > > I want a handler in the preopencard status so that > the fld "DATA" > scrolls automatically at the end of the text > > Thus when the cd is open, the fld appears scrolled > at the end of the > text of the "data" fld > > Can anyone help me for writing this little code ? > > thank you. > > Greetings. > > Yves COPPE > Bonjour Yves, This ought to do it : -- on preOpenCard set the scroll of fld "Data" to \ the formattedHeight of fld "Data" end preOpenCard -- If you set the scroll to something larger than the maximum value, it automatically changes it to that maximum. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From janschenkel at yahoo.com Wed Oct 8 03:46:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Oct 8 03:46:00 2003 Subject: problem with callbacks In-Reply-To: <4159E560-F913-11D7-9690-000393D60E0C@princeton.edu> Message-ID: <20031008083401.54792.qmail@web11905.mail.yahoo.com> --- Toma Tasovac wrote: > (sorry if this is a double post, but the list seems > to have been dead > all day long) > > Thanks to Ken and Jan for responding. For some > reason, I couldn't get > to prevent the callbacks from showing with a simple > if clause... I > started now with a different approach, which works > with preventing the > callbacks from showing if they've already been > showed, but lands me in > trouble with onCurrentTimeChanged > > Here's what I've done. On openStack, I create a > global myCallbacks -- > so that at any time I can have a list of all > callbacks available. My > callback messages (sentnece 1, sentence 2, sentence > 3) do the following: > > on sentence x > lock screen > set the textColor of item x-1 of fld "Field 1" to > black > set the textColor of item x of fld "Field 1" to > blue > put x into lastPlayed > unlock screen > end sentence > > Now, since I want to avoid repeated executions when > the user stopps the > movie, I have: > > on playPaused > put the callbacks of player "Player 1" into > tempCallbacks > delete line 1 to lastPlayed - 1 of tempCallbacks > set the callbacks of player "Player 1" to > tempCallbacks > end playPaused > > So far so good. When the user stops the movie and > then continues > playing -- previous callbacks are not sent. > Beautiful. > > But then, I want to deal with onCurrentTimeChanged, > that is if the user > scrolls back to the beginning of the movie. I > thought this would be > simple enough: > > on currentTimeChanged > set the callbacks of player "Player 1" to > myCallbacks > end currentTimeChanged > > But this DOESN'T work because (as Message Watcher > will tell us) when > the user moves to the beginning of the movie, > currentTimeChanged is > sent, but when the user releases the scroller, > another "playPaused" is > sent, which means I'm stuck again with a truncated > version of callbacks > (from on playPaused handler) and the not the full > version that I > expected from my global variable. > > What's the best thing to do now? > > Many thanks in advance. > T. > Hi Toma, Glad to hear you're getting closer to a complete solution. What I'd do in this case, is use one more script local sJustChangedTheTime, set it to true in your currentTimeChanged handler, and reset it to false from within your playPaused handler but not execute the rest of that handler's code. -- local sJustChangedTheTime on currentTimeChanged put true into sJustChangedTheTime -- ... end currentTimeChanged on playPaused if sJustChangedTheTime then put false into sJustChangedTheTime else -- ... end if end playPaused -- You may have to tweak the mechanism a bit, but this ought to bring you closer to a solution. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From yvescoppe at skynet.be Wed Oct 8 03:58:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed Oct 8 03:58:01 2003 Subject: Scroll fld In-Reply-To: <20031008082725.52295.qmail@web11908.mail.yahoo.com> Message-ID: HI, thank you Jan > Bonjour Yves, > > This ought to do it : > -- > on preOpenCard > set the scroll of fld "Data" to \ > the formattedHeight of fld "Data" > end preOpenCard > -- > If you set the scroll to something larger than the > maximum value, it automatically changes it to that > maximum. > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Greetings. Yves COPPE yvescoppe at skynet.be From yvescoppe at skynet.be Wed Oct 8 03:58:10 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed Oct 8 03:58:10 2003 Subject: Rev CR 2.1.1 and Mac OS X In-Reply-To: <010801c38d65$a7806a10$6601a8c0@LightningFlash> Message-ID: Le mercredi, 8 oct 2003, ? 08:30 Europe/Brussels, Ken Ray a ?crit : > Yves, did you bugzilla this? (If not, you should...) > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > I'll do it Greetings. Yves COPPE yvescoppe at skynet.be From dan at danshafer.com Wed Oct 8 04:35:01 2003 From: dan at danshafer.com (Dan Shafer) Date: Wed Oct 8 04:35:01 2003 Subject: Script-Reporting Script? Message-ID: <273A3B81-F90C-11D7-9F1C-0030656FB5D4@danshafer.com> Does anyone already have a script that will go through a stack or stack file and print out all the scripts, along with object descriptors? I have such a beast for HyperCard, but it's not (yet) obvious to me how to make the concept work in Rev since I don't see a "print script" command. But I really need such a beast so I'll figure out how to write it if it doesn't yet exist. I'm just not into re-inventing wheels. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From sanke at hrz.uni-kassel.de Wed Oct 8 04:49:01 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed Oct 8 04:49:01 2003 Subject: Rev 2.1.1 enforces U.S.A. keyboard Message-ID: <3F83DD1A.FB90A9CC@hrz.uni-kassel.de> I posted this already Monday night, but because of the mail server problems the post made it only to the archives and was not included in the mailings: Rev 2.1.1 enforces a U.S.A. keyboard layout no matter what keyboard language is set in the Windows control panel. This begins with the "unlock dialog" and holds everywhere for text in fields, scripts, and custom properties. Rev 2.1 allows me to use my own selected language. This certainly needs a quick repair. It is an engine bug - not the IDE - as you have the same problem with Metacard, too. Wilhelm Sanke From heather at runrev.com Wed Oct 8 05:47:01 2003 From: heather at runrev.com (Heather Williams) Date: Wed Oct 8 05:47:01 2003 Subject: Runtime Revolution 2.1.1 release candidate available In-Reply-To: <200310080024.UAA07786@www.runrev.com> Message-ID: >> Revolution 2.1.1 is available for download from >> . > > I am curious of this is a beta or a full release- you are calling it > "release candidate" and the website says "Download and test now" which > kind of implies there will be a 2.1.1 final release later? This is a beta, or rather its the release candidate. Final release shortly. > >> For a limited time, Revolution Studio is available for $299, a savings >> of $100 off the list price. > > So much for the August 31st expiration on this deal eh :-)? The August 31st expiration was for the $199 offer. Which has expired. Regards, Heather P.S. Sorry for any inconvenience, we were having some server problems yesterday. -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 131 7184333 Fax +44 (0) 131 7184334 ~~~ Check our web site for new Revolution editions & special offers ~~~ From xbury.cs at clearstream.com Wed Oct 8 09:34:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed Oct 8 09:34:01 2003 Subject: Script-Reporting Script? Message-ID: I have one but it needs adaptation to RR/MC... But for next week... Unless you want to work it out... ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 Dan Shafer Sent by: use-revolution-admin at lists.runrev.com 07/10/03 23:21 Please respond to use-revolution To: Revolution List cc: ^ Subject: Script-Reporting Script? Does anyone already have a script that will go through a stack or stack file and print out all the scripts, along with object descriptors? I have such a beast for HyperCard, but it's not (yet) obvious to me how to make the concept work in Rev since I don't see a "print script" command. But I really need such a beast so I'll figure out how to write it if it doesn't yet exist. I'm just not into re-inventing wheels. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From revlist at cableone.net Wed Oct 8 09:35:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Oct 8 09:35:01 2003 Subject: doc problems on Windows Message-ID: <000401c38da7$a480b8a0$65fea8c0@chris1> I just wanted to see if anyone else is having problems with the documentation on Windows using 2.1.1 RC. I've noticed in the Transcript Dictionary that the Go Back and See Also menus do not work. They seem to be fine on the Mac. Is anyone else seeing this? If so, I'll bug report it. If not, any suggestions on what I can do to fix it? Chris Sheffield Software Development Read Naturally From kray at sonsothunder.com Wed Oct 8 09:42:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 09:42:01 2003 Subject: 256 colour icons in Windows using Resource Hacker In-Reply-To: <007801c38d6e$712b7be0$0201a8c0@bob> Message-ID: <015401c38da8$8a1e4e90$6601a8c0@LightningFlash> Actually, Robert, it looks like you don't have to delete the second icon group. All I did was grab a high color icon from Windows Messenger (which has a graduated fill pattern so it's a good one to test with) and stick it into the first icon slot. Worked out just great! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Robert J Warren (howsoft.com) > Sent: Wednesday, October 08, 2003 2:33 AM > To: use-revolution at lists.runrev.com > Cc: lists at mangomultimedia.com > Subject: 256 colour icons in Windows using Resource Hacker > > > It seems that the Resource Hacker CAN susbstitute the > Revolution EXE icon for one of 256 colours (32x32 pixels), > but I have not tested it sufficiently to discover whether it > works with all programs. > > When you open the EXE prog in Resource Hacker it shows you 2 > "Icon Groups". If you DELETE the 2nd icon group this seems to > make room for substituting the icon of the 1st icon group > with one which is "fatter". > > As I said, I have done only a few tests, but all the programs > tested have worked. Please confirm, ladies and gents... > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Wed Oct 8 09:44:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 09:44:01 2003 Subject: 16M colour icons in Windows In-Reply-To: <004201c38d66$a1a79180$0201a8c0@bob> Message-ID: <015501c38da8$ddce8ff0$6601a8c0@LightningFlash> Crud, you're right, Robert... oh, well... back to the drawing board. Ken > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Robert J Warren (howsoft.com) > Sent: Wednesday, October 08, 2003 1:37 AM > To: use-revolution at lists.runrev.com > Subject: 16M colour icons in Windows > > > Hasty apologies to everyone! The Revolution EXE doesn't run > any more after the icon change (pity I didn't think of > testing it before opening my big mouth). Anyway, I'm going to > play around with the "Resource Hacker" to see if I can get it to work. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Wed Oct 8 09:47:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 09:47:01 2003 Subject: Rev 2.1.1 enforces U.S.A. keyboard In-Reply-To: <3F83DD1A.FB90A9CC@hrz.uni-kassel.de> Message-ID: <015601c38da9$44b0c210$6601a8c0@LightningFlash> Wilhelm, Please make sure this is added to bugzilla so the guys at RR can fix it. They don't always see what is posted to the list. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Wilhelm Sanke > Sent: Wednesday, October 08, 2003 4:47 AM > To: use-revolution at lists.runrev.com > Subject: Re: Rev 2.1.1 enforces U.S.A. keyboard > > > I posted this already Monday night, but because of the mail > server problems the post made it only to the archives and was > not included in the mailings: > > Rev 2.1.1 enforces a U.S.A. keyboard layout no matter what > keyboard language is set in the Windows control panel. > > This begins with the "unlock dialog" and holds everywhere for > text in fields, scripts, and custom properties. > > Rev 2.1 allows me to use my own selected language. > > This certainly needs a quick repair. It is an engine bug - > not the IDE - as you have the same problem with Metacard, too. > > > Wilhelm Sanke > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From mcdomi at free.fr Wed Oct 8 09:54:03 2003 From: mcdomi at free.fr (Dom) Date: Wed Oct 8 09:54:03 2003 Subject: Rev Easter Egg... Message-ID: <1g2ies5.10b3idb1iyi1b2M%mcdomi@free.fr> Maybe this one is not known: in the about splash screen (revabout), cmd-click on "Kevin Miller" ;-))) -- From klaus at major-k.de Wed Oct 8 10:05:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Oct 8 10:05:01 2003 Subject: Rev Easter Egg... In-Reply-To: <1g2ies5.10b3idb1iyi1b2M%mcdomi@free.fr> Message-ID: <17927D05-F99F-11D7-9C8B-000A27B49A96@major-k.de> Am Mittwoch, 08.10.03 um 16:41 Uhr schrieb Dom: > Maybe this one is not known: > > in the about splash screen (revabout), cmd-click on "Kevin Miller" > > ;-))) LOL!!! Growler :-) Anyone knows if Kevin IS a growler? :-D Dom, how did you find this one? Regards Klaus Major klaus at major-k.de www.major-k.de From warren at howsoft.com Wed Oct 8 10:17:00 2003 From: warren at howsoft.com (Robert J Warren (howsoft.com)) Date: Wed Oct 8 10:17:00 2003 Subject: 16M colour 16x16 icons for Runrev EXE in Windows Message-ID: <000f01c38dad$708181a0$0201a8c0@bob> Dear All, Last night, I confirmed the following: >It seems that the Resource Hacker CAN susbstitute the Revolution EXE icon >for one of 256 colours (32x32 pixels), but I have not tested it sufficiently >to discover whether it works with all programs. >When you open the EXE prog in Resource Hacker it shows you 2 "Icon Groups". >If you DELETE the 2nd icon group this seems to make room for substituting >the icon of the 1st icon group with one which is "fatter". >As I said, I have done only a few tests, but all the programs tested have >worked. Today, by the same method, I have managed to put a 16M-colour 16x16 pixel icon into a Runrev EXE. However, nothing I have tried so far has enabled me to substitute with a 32x32 16M-colour icon. The icon is substituted OK, but the EXE does not execute any more. So this is a small limitation. For anyone who is sufficiently interested, perhaps an e-mail to the author of the Resource Hacker would provide further suggestions. From dsc at swcp.com Wed Oct 8 10:20:02 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 8 10:20:02 2003 Subject: Launch IDE from terminal on OS X Message-ID: <36685B8E-F9A1-11D7-A0B4-000A9567A3E6@swcp.com> How do I launch the Revolution IDE from terminal? Dar Scott From rjb at rz.uni-potsdam.de Wed Oct 8 10:27:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Oct 8 10:27:01 2003 Subject: Newbie question - bug fixes In-Reply-To: References: Message-ID: > >The readme stated that one could find exactly which bugs were fixed >from bugzilla. That is not clear to me. Some fixed bugs have 2.1 >as the target, but I see no way to differentiate that from ones >fixed by 2.1.0 or fixed in 2.1.1 or will be fixed in 2.1.2. > Shouldn't the "fixed" status simply include the version number in which the fix appears? Robert Brenstein From kray at sonsothunder.com Wed Oct 8 10:35:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 10:35:01 2003 Subject: Launch IDE from terminal on OS X In-Reply-To: <36685B8E-F9A1-11D7-A0B4-000A9567A3E6@swcp.com> Message-ID: <016201c38db0$0fe37030$6601a8c0@LightningFlash> Dar, open Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Dar Scott > Sent: Wednesday, October 08, 2003 10:08 AM > To: use-revolution at lists.runrev.com > Subject: Launch IDE from terminal on OS X > > > How do I launch the Revolution IDE from terminal? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From csheffield at readnaturally.com Wed Oct 8 10:47:01 2003 From: csheffield at readnaturally.com (Chris Sheffield) Date: Wed Oct 8 10:47:01 2003 Subject: dob problems on Windows Message-ID: <000301c38da7$6d978fd0$65fea8c0@chris1> I just wanted to see if anyone else is having problems with the documentation on Windows using 2.1.1 RC. I've noticed in the Transcript Dictionary that the Go Back and See Also menus do not work. They seem to be fine on the Mac. Is anyone else seeing this? If so, I'll bug report it. If not, any suggestions on what I can do to fix it? Chris Sheffield Software Development Read Naturally From alex at mindlube.com Wed Oct 8 11:04:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 8 11:04:01 2003 Subject: doc problems on Windows In-Reply-To: <000401c38da7$a480b8a0$65fea8c0@chris1> Message-ID: On Wednesday, October 8, 2003, at 08:22 AM, Chris Sheffield wrote: > I just wanted to see if anyone else is having problems with the > documentation on Windows using 2.1.1 RC. I've noticed in the > Transcript > Dictionary that the Go Back and See Also menus do not work. They seem > to be > fine on the Mac. Is anyone else seeing this? If so, I'll bug report > it. > If not, any suggestions on what I can do to fix it? Yep, Chipp has bugzilla'd it. I also see the problem on Mac OS X, but only when in Mac OS Emulated look and feel, which is strange. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jeanne at runrev.com Wed Oct 8 12:29:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Oct 8 12:29:01 2003 Subject: dob problems on Windows In-Reply-To: <000301c38da7$6d978fd0$65fea8c0@chris1> References: <000301c38da7$6d978fd0$65fea8c0@chris1> Message-ID: At 8:21 AM -0600 10/8/03, Chris Sheffield wrote: >I just wanted to see if anyone else is having problems with the >documentation on Windows using 2.1.1 RC. I've noticed in the Transcript >Dictionary that the Go Back and See Also menus do not work. They seem to be >fine on the Mac. Is anyone else seeing this? If so, I'll bug report it. >If not, any suggestions on what I can do to fix it? It's already been reported to bugzilla (and fixed ;-). To work around, enter this in the message box: show button "Go Back" of stack "revDocsLanguageReference" show button "See Also" of stack "revDocsLanguageReference" and save the stack. -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From alex at mindlube.com Wed Oct 8 12:31:52 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 8 12:31:52 2003 Subject: Message Box usage Message-ID: <41C30E2D-F9B3-11D7-B711-000393529642@mindlube.com> How can I get the Message Box to display useful info like the script and line number an error occurred on? For example I'm testing a handler from the message box and I get: Message execution error: Error description: Chunk: no such object Stepping through it the handler with the debugger is not a good solution unless I know the line number the error occurs on. Otherwise I have multiple loops to step through. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From klaus at major-k.de Wed Oct 8 12:51:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Oct 8 12:51:01 2003 Subject: new version of "My favourite things..." In-Reply-To: Message-ID: <4DB45E9D-F9B6-11D7-86E1-000A27B49A96@major-k.de> Hi all, i just uploaded a new version of my RR plug-in "My favourite things..." Palette is now resizable :-) Added a context-menu (Ctrl-click on the listfield), which lets you add a separator line and shuffle entries up or down in the list... Check it out! Its free and worth every cent :-D Regards Klaus Major klaus at major-k.de www.major-k.de From pixelbird at interisland.net Wed Oct 8 14:06:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Oct 8 14:06:00 2003 Subject: Script-Reporting Script? In-Reply-To: <200310080850.EAA28838@www.runrev.com> Message-ID: Hi Dan, > Date: Tue, 7 Oct 2003 14:21:02 -0700 > Subject: Script-Reporting Script? > From: Dan Shafer > > Does anyone already have a script that will go through a stack or stack > file and print out all the scripts, along with object descriptors? > > I have such a beast for HyperCard, but it's not (yet) obvious to me how > to make the concept work in Rev since I don't see a "print script" > command. ---------- I remember that. I still have binders full of HC script printouts somewhere. I used to go through them and make notes, change lines, and hiliter pen hilites when I wasn't around the computer at work. ---------- > But I really need such a beast so I'll figure out how to > write it if it doesn't yet exist. I'm just not into re-inventing wheels. ---------- I'd be EXTREMELY interested. One way would be to simply create an indexed stack and something like (very basic): put script of x into field y. ...then you'd have a stack with all the scripts in fields, and you can print any field or sequence of fields you want from there. Ken N. From ambassador at fourthworld.com Wed Oct 8 14:17:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Oct 8 14:17:01 2003 Subject: Script-Reporting Script? In-Reply-To: Message-ID: Ken Norris wrote: >> Does anyone already have a script that will go through a stack or stack >> file and print out all the scripts, along with object descriptors? >> >> I have such a beast for HyperCard, but it's not (yet) obvious to me how >> to make the concept work in Rev since I don't see a "print script" >> command. > ---------- > I remember that. I still have binders full of HC script printouts somewhere. > I used to go through them and make notes, change lines, and hiliter pen > hilites when I wasn't around the computer at work. > ---------- >> But I really need such a beast so I'll figure out how to >> write it if it doesn't yet exist. I'm just not into re-inventing wheels. > ---------- > I'd be EXTREMELY interested. One way would be to simply create an indexed > stack and something like (very basic): > > put script of x into field y. > > ...then you'd have a stack with all the scripts in fields, and you can print > any field or sequence of fields you want from there. Does the one posted from Flexible Learning Co. do what you need? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From steve at messimercomputing.com Wed Oct 8 14:18:00 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Wed Oct 8 14:18:00 2003 Subject: version question Message-ID: <8AED5374-F9C2-11D7-A8DE-000A27D75508@messimercomputing.com> Hi all, I just downloaded 2.1 and I'm adding a statement to the preopenstack handler that checks for the version of Rev. If it is >= 2.1 then it sets the decorations to metal if < 2.1 it leaves the decorations alone. here are the statements concerned on preOpenStack -- other stuff if the version >= 2.1 then set the metal of this stack to true else end if --other stuff end preOpenStack So I add this to my stack save and relaunch and nothing happens? The statements look OK. so I open the msgbox and type "put the version" and hit OK and what yo my wondering eyes should appear but 2.5.1??? What gives? Is this the metacard version or what. I thought that the version function should give me the current Rev version number. Regards. Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available Now! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.1 From klaus at major-k.de Wed Oct 8 14:27:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Oct 8 14:27:01 2003 Subject: version question In-Reply-To: <8AED5374-F9C2-11D7-A8DE-000A27D75508@messimercomputing.com> Message-ID: Hi Stephen, > Hi all, > > I just downloaded 2.1 and I'm adding a statement to the preopenstack > handler that checks for the version of Rev. > If it is >= 2.1 then it sets the decorations to metal if < 2.1 it > leaves the decorations alone. > > here are the statements concerned > on preOpenStack > -- other stuff > if the version >= 2.1 then > set the metal of this stack to true > else > end if > --other stuff > end preOpenStack > > So I add this to my stack save and relaunch and nothing happens? > The statements look OK. so I open the msgbox and type "put the > version" and hit OK and what yo my wondering eyes should appear but > 2.5.1??? > What gives? Is this the metacard version or what. I thought that the > version function should give me the current Rev version number. > > Regards. > > Steve "the version" returns the number of the current engine (which is MC indeed ;-) and "revappversion" the number of the RR version, should be 2.1.1... Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de P.S. Do you think checking "the version >= 2.1" is a good idea? With version 2.1.1 you will get the error: Unquoted literal -> 2.1.1 ;-) From janschenkel at yahoo.com Wed Oct 8 14:28:02 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Oct 8 14:28:02 2003 Subject: version question In-Reply-To: <8AED5374-F9C2-11D7-A8DE-000A27D75508@messimercomputing.com> Message-ID: <20031008191636.38650.qmail@web11908.mail.yahoo.com> --- Stephen Messimer wrote: > Hi all, > > I just downloaded 2.1 and I'm adding a statement to > the preopenstack > handler that checks for the version of Rev. > If it is >= 2.1 then it sets the decorations to > metal if < 2.1 it > leaves the decorations alone. > > here are the statements concerned > on preOpenStack > -- other stuff > if the version >= 2.1 then > set the metal of this stack to true > else > end if > --other stuff > end preOpenStack > > So I add this to my stack save and relaunch and > nothing happens? > > The statements look OK. so I open the msgbox and > type "put the > version" and hit OK and what yo my wondering eyes > should appear but > 2.5.1??? > > What gives? Is this the metacard version or what. I > thought that the > version function should give me the current Rev > version number. > > Regards. > > Steve > Hi Steve, Check the global 'gRevAppVersion' ; while your in the IDE, 'the version' returns the MetaCard version ; but I seem to recall from my HyperCard days, that it would actually return the version of the app in standalones. Not sure if that applies to MC/Rev, though. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From warren at howsoft.com Wed Oct 8 14:55:00 2003 From: warren at howsoft.com (Robert J Warren (howsoft.com)) Date: Wed Oct 8 14:55:00 2003 Subject: 256 colour icons in Windows using Resource Hacker Message-ID: <000b01c38dd4$39866cc0$0201a8c0@bob> Ken: Well, it seems that your experience is a little different to mine. Congratulations. Sorry to ask what might be a silly question, but did you make sure that the EXE still runs OK? The Resource Hacker substitutes with any icon you like, and it shows up beautifully just sitting there in the Windows Explorer or on your desktop, but it can certainly interfere with the integrity of the other data in the file and Windows refuses to execute it. Success or failure obviously depends on the properties of the icons you are trying to introduce, but could it depend on the platform as well? I am using Windows ME, not XP. >Actually, Robert, it looks like you don't have to delete the second icon >group. All I did was grab a high color icon from Windows Messenger >(which has a graduated fill pattern so it's a good one to test with) and >stick it into the first icon slot. >Worked out just great! >Ken Ray >Sons of Thunder Software From dsc at swcp.com Wed Oct 8 15:50:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 8 15:50:00 2003 Subject: version question In-Reply-To: Message-ID: <587C95EA-F9CF-11D7-A0B4-000A9567A3E6@swcp.com> On Wednesday, October 8, 2003, at 01:14 PM, Klaus Major wrote: > P.S. > Do you think checking "the version >= 2.1" is a good idea? > With version 2.1.1 you will get the error: Unquoted literal -> 2.1.1 > ;-) Also it would be nice to have a function that does ">=" for revappversion even with betas and the like. Or a tip that is supposed to work even with future versions. Dar Scott From jperryl at ecs.fullerton.edu Wed Oct 8 15:58:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed Oct 8 15:58:01 2003 Subject: Visual Effects in Windows In-Reply-To: <010b01c38d66$bcf613d0$6601a8c0@LightningFlash> Message-ID: Hi, A couple of my students have reported that visual effects aren't working in Rev 2.1 under Windows. Has anyone else experienced this? Should I query them as to OS specifics or is this is known thing (sorry; I don't have access to a Windows box and we work in our Mac lab where the visual effects work fine). I think at least one of them is using XP. Thanks for any light anyone can shed, Judy From yvescoppe at skynet.be Wed Oct 8 16:06:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed Oct 8 16:06:00 2003 Subject: visual effect Message-ID: <7F8F5266-F9D1-11D7-AAD2-000393533246@skynet.be> Hello, on Mac OSX, is it possible to make a transition effect between two cds showing such a "rotating cube" as you can see when there is a change of session in Panther ??? Greetings. Yves COPPE yvescoppe at skynet.be From scott at tactilemedia.com Wed Oct 8 16:07:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Oct 8 16:07:01 2003 Subject: Visual Effects in Windows In-Reply-To: Message-ID: Recently, "Judy Perry" wrote: > A couple of my students have reported that visual effects aren't working > in Rev 2.1 under Windows. > > Has anyone else experienced this? Yes. (most?) Visual effects are apparently broken on Windows when using QuickTime, but if you set the dontUseQTEffects to true upon opening your stack, the effects should work. It appears that QT effects are OK on MacOS. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Wed Oct 8 16:15:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 16:15:00 2003 Subject: 256 colour icons in Windows using Resource Hacker In-Reply-To: <000b01c38dd4$39866cc0$0201a8c0@bob> Message-ID: <01b001c38ddf$7430bb40$6601a8c0@LightningFlash> > Well, it seems that your experience is a little different to > mine. Congratulations. Sorry to ask what might be a silly > question, but did you make sure that the EXE still runs OK? Not until after your post about it not working. So I tried my app and it also doesn't work. So my experience is *exactly* yours. :-| Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Oct 8 16:21:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 16:21:01 2003 Subject: Visual Effects in Windows In-Reply-To: Message-ID: <01b701c38de0$63f0ebf0$6601a8c0@LightningFlash> > > A couple of my students have reported that visual effects aren't > > working in Rev 2.1 under Windows. > > > > Has anyone else experienced this? > > Yes. (most?) Visual effects are apparently broken on Windows > when using QuickTime, but if you set the dontUseQTEffects to > true upon opening your stack, the effects should work. It > appears that QT effects are OK on MacOS. Really? I'm using visual effects with QuickTime on XP and they're working just fine (at least the small handful I tried including 'cross fade'). Can you give me an effect that doesn't work on your machine so I can test it on mine? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From scott at tactilemedia.com Wed Oct 8 16:36:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Oct 8 16:36:01 2003 Subject: Visual Effects in Windows In-Reply-To: <01b701c38de0$63f0ebf0$6601a8c0@LightningFlash> Message-ID: Recently, "Ken Ray" wrote: >> Yes. (most?) Visual effects are apparently broken on Windows >> when using QuickTime, but if you set the dontUseQTEffects to >> true upon opening your stack, the effects should work. It >> appears that QT effects are OK on MacOS. > > Really? I'm using visual effects with QuickTime on XP and they're > working just fine (at least the small handful I tried including 'cross > fade'). Can you give me an effect that doesn't work on your machine so I > can test it on mine? Try dissolve? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Wed Oct 8 16:46:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Oct 8 16:46:01 2003 Subject: Visual Effects in Windows In-Reply-To: <01b701c38de0$63f0ebf0$6601a8c0@LightningFlash> Message-ID: I've already bugzilla'ed this. Turns out if you're showing or hiding a group before doing the transition, then it breaks. You can show/hide controls all day long, but not groups. This WILL WORK: on mouseUp lock screen hide fld 1 show fld 2 unlock screen with visual dissolve end mouseUp But, make each fld a grp and change the script: on mouseUp lock screen hide grp 1 show grp 2 unlock screen with visual dissolve end mouseUp This doesn't work (as long as useQTEffects is true). It displays the hidden grp *BEFORE* doing the dissolve. Remember, if you've used QTeffects even once, you'll have to restart RR because once instantiated, you can uninstatiate it. :-) -Chipp > > > > A couple of my students have reported that visual effects aren't > > > working in Rev 2.1 under Windows. > > > > > > Has anyone else experienced this? > > > > Yes. (most?) Visual effects are apparently broken on Windows > > when using QuickTime, but if you set the dontUseQTEffects to > > true upon opening your stack, the effects should work. It > > appears that QT effects are OK on MacOS. > > Really? I'm using visual effects with QuickTime on XP and they're > working just fine (at least the small handful I tried including 'cross > fade'). Can you give me an effect that doesn't work on your machine so I > can test it on mine? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ From scott at tactilemedia.com Wed Oct 8 17:10:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Oct 8 17:10:00 2003 Subject: Visual Effects in Windows In-Reply-To: Message-ID: Recently, "Chipp Walters" wrote: > I've already bugzilla'ed this. > > Turns out if you're showing or hiding a group before doing the transition, > then it breaks. You can show/hide controls all day long, but not groups. > This WILL WORK: > > > on mouseUp > lock screen > hide fld 1 > show fld 2 > unlock screen with visual dissolve > end mouseUp The above doesn't work for me on Win2K or XP. The objects just appear or hide without any transition. We had a discussion similar to this recently, and it does appear that hiding and showing objects is the problem, as Chipp describes. For me, doing this doesn't work: lock screen hide grc 1 unlock screen with visual dissolve But this (going to a new card) does: lock screen go cd 2 unlock screen with visual dissolve Maybe there's an issue with the syntax (other folks are having similar experiences?...). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Wed Oct 8 17:22:03 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 17:22:03 2003 Subject: Visual Effects in Windows In-Reply-To: Message-ID: <01c201c38de8$52b55350$6601a8c0@LightningFlash> > > Really? I'm using visual effects with QuickTime on XP and they're > > working just fine (at least the small handful I tried > including 'cross > > fade'). Can you give me an effect that doesn't work on your > machine so > > I can test it on mine? > > Try dissolve? Works fine for me, both with QTEffects on and off: on mouseUp visual effect dissolve go next card end mouseUP What version of QT are you running? I have 6.3. And I assume you've downloaded the QT Effects add-on through the "update and install additional QuickTime software"? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From scott at tactilemedia.com Wed Oct 8 17:30:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Oct 8 17:30:01 2003 Subject: Visual Effects in Windows In-Reply-To: <01c201c38de8$52b55350$6601a8c0@LightningFlash> Message-ID: Recently, "Ken Ray" wrote: > What version of QT are you running? I have 6.3. And I assume you've > downloaded the QT Effects add-on through the "update and install > additional QuickTime software"? 6.3 here, but I've never done the install you mention above. Actually, I never had to install any additional QT stuff before to make effects work. The odd thing is, dissolve seems to work when switching cards, but not hiding/showing on the same card. Not sure why this could be. Too many tests to do and not enough time... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Wed Oct 8 17:43:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 17:43:01 2003 Subject: Visual Effects in Windows In-Reply-To: Message-ID: <01c501c38deb$cb3a4350$6601a8c0@LightningFlash> > Recently, "Chipp Walters" wrote: > > > I've already bugzilla'ed this. > > > > Turns out if you're showing or hiding a group before doing the > > transition, then it breaks. You can show/hide controls all > day long, > > but not groups. This WILL WORK: > > > > > > on mouseUp > > lock screen > > hide fld 1 > > show fld 2 > > unlock screen with visual dissolve > > end mouseUp > > The above doesn't work for me on Win2K or XP. The objects > just appear or hide without any transition. Sorry, Scott... works for me doing exactly what Chipp did (except I used buttons instead of fields). I tried both "unlock screen with visual dissolve" and "unlock screen with visual effect dissolve", and both worked for me, with or without QT Effects on. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Oct 8 18:04:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 18:04:00 2003 Subject: Visual Effects in Windows In-Reply-To: Message-ID: <01ca01c38dee$9c1e2520$6601a8c0@LightningFlash> > Turns out if you're showing or hiding a group before doing > the transition, then it breaks. You can show/hide controls > all day long, but not groups. Hmm. I checked this in Rev 2.1, and you're right, it doesn't work. But oddly enough, it works fine in MC 2.5.1, even in the IDE. I thought it was the Rev IDE, so I built a standalone... but it still doesn't work, even in the standalone. Although it's fine in MetaCard. Chalk it up to one more "gotcha" in the migration path from MC to Rev... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Wed Oct 8 18:09:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 8 18:09:00 2003 Subject: Visual Effects in Windows In-Reply-To: Message-ID: On Wednesday, October 8, 2003, at 04:18 PM, Scott Rossi wrote: > Too many tests to do and not enough time... ...something to ponder on. -- Dar Scott From scott at tactilemedia.com Wed Oct 8 18:11:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Oct 8 18:11:01 2003 Subject: Visual Effects in Windows In-Reply-To: <01ca01c38dee$9c1e2520$6601a8c0@LightningFlash> Message-ID: Recently, "Ken Ray" wrote: >> Turns out if you're showing or hiding a group before doing >> the transition, then it breaks. You can show/hide controls >> all day long, but not groups. > > Hmm. I checked this in Rev 2.1, and you're right, it doesn't work. But > oddly enough, it works fine in MC 2.5.1, even in the IDE. I thought it > was the Rev IDE, so I built a standalone... but it still doesn't work, > even in the standalone. Although it's fine in MetaCard. Chalk it up to > one more "gotcha" in the migration path from MC to Rev... DOH! For me the problem occurs in MC! Go figure... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Wed Oct 8 18:34:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Oct 8 18:34:00 2003 Subject: Visual Effects in Windows In-Reply-To: <01ca01c38dee$9c1e2520$6601a8c0@LightningFlash> Message-ID: Ken and Scott, Try: on mouseUp lock screen set the vis of grp 1 to not the vis of grp 1 set the vis of grp 2 to not the vis of grp 2 unlock screen with visual scroll left end mouseUp Make sure you use groups. I should have used the scroll instead of dissolve. The dissolve is actually working, it's just dissolving to something which is already there. BTW, Ken, this did work just fine in 1.5 (Don't know about 2.0, know it DOESN'T work in 2.1 or 2.1.1) -Chipp > > > Turns out if you're showing or hiding a group before doing > > the transition, then it breaks. You can show/hide controls > > all day long, but not groups. > > Hmm. I checked this in Rev 2.1, and you're right, it doesn't work. But > oddly enough, it works fine in MC 2.5.1, even in the IDE. I thought it > was the Rev IDE, so I built a standalone... but it still doesn't work, > even in the standalone. Although it's fine in MetaCard. Chalk it up to > one more "gotcha" in the migration path from MC to Rev... From chipp at chipp.com Wed Oct 8 18:44:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Oct 8 18:44:01 2003 Subject: Visual Effects in Windows In-Reply-To: <01ca01c38dee$9c1e2520$6601a8c0@LightningFlash> Message-ID: >Although it's fine in MetaCard. Chalk it up to > one more "gotcha" in the migration path from MC to Rev... > Hmmm, sure you're using the same mc engine? Older versions of the engine worked fine, newer ones seem to be the ones broken. cw From scott at tactilemedia.com Wed Oct 8 18:51:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Oct 8 18:51:00 2003 Subject: Visual Effects in Windows In-Reply-To: Message-ID: Recently, "Chipp Walters" wrote: >> Although it's fine in MetaCard. Chalk it up to >> one more "gotcha" in the migration path from MC to Rev... >> > > Hmmm, sure you're using the same mc engine? Older versions of the engine > worked fine, newer ones seem to be the ones broken. I would agree -- under MC 2.4, QT effects appear to work fine on the same systems that are problematic under 2.5. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From igor at pixelmedia.com.au Wed Oct 8 19:45:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Wed Oct 8 19:45:01 2003 Subject: Where is the 2.1.1 list of bug fixes? Message-ID: <2E4738F5-F9F0-11D7-8356-000393AD9396@pixelmedia.com.au> Hi all, I was wondering if anyone knows where the list of bug fixes for version 2.1.1 is. The release notes simply tell us to look at Bugzilla, but I honestly do not know how to setup a query in Bugzilla to tell me what bugs were supposed to have been fixed by this latest release... The release notes mention, for instance, that (apart from the introduction to of Polish encoding) there have been numerous changes to Unicode. Unfortunately, it seems that none of the areas of Unicode I work with have seen any change at all. This concerns me a little, as because of the lack of comprehensive release notes, I do not know whether these ARE things that should have been fixed or not by now, and that therefore we should perhaps be re-opening reports in Bugzilla to let the RunRev team know about it. Any hints? Many thanks, -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- From stephenREVOLUTION at barncard.com Wed Oct 8 19:55:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Wed Oct 8 19:55:01 2003 Subject: Where is the 2.1.1 list of bug fixes? Message-ID: Some of the major stuff is covered in the built-in documentation. Select "New In Version 2.1.1" or "Changed in 2.1.1" sqb >Hi all, > >I was wondering if anyone knows where the list of bug fixes for >version 2.1.1 is. The release notes simply tell us to look at >Bugzilla, but I honestly do >Igor de Oliveira Couto From igor at pixelmedia.com.au Wed Oct 8 20:17:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Wed Oct 8 20:17:00 2003 Subject: Where is the 2.1.1 list of bug fixes? In-Reply-To: Message-ID: Dear Stephen, Thank you for the hint: On Thursday, October 9, 2003, at 10:42 AM, Stephen Quinn Barncard wrote: > Some of the major stuff is covered in the built-in documentation. > Select "New In Version 2.1.1" or "Changed in 2.1.1" > >> >> I was wondering if anyone knows where the list of bug fixes for >> version 2.1.1 is. The release notes simply tell us to look at >> Bugzilla, but I honestly do > > Unfortunately, the release notes in the documentation simply mention 5 things: 1) a change to the FILTER command 2) inclusion of Polish encoding to uniEncode/uniDecode 3) optional parameter added to revMacFromUnixPath/revUnixFromMacPath 4) WINDOWSHAPE problem fixed 5) compatibility issues with older MacOSs addressed That's it. However, under the "Issues Addressed in This Version" heading it also says: -- For a comprehensive list of bug fixes, consult the bug reporting system at . In particular, areas with multiple fixes include: ? Script editor ? Debugger ? Unicode -- Please note the term "multiple fixes" - which is what I was talking about in the first place. How can we get this list of 'multiple fixes'? I don't seem to be able to configure a Bugzilla query to provide me with this 'comprehensive list of bug fixes' for this version, as the release documentation implies. What bugs, specifically, were supposed to be fixed by THIS RELEASE? Searching for the 'FIXED' status bugs will not provide us with such a list... Many thanks, -- Igor ---------------------------------- ---------------------------------- From xslaugh at hotmail.com Wed Oct 8 21:35:01 2003 From: xslaugh at hotmail.com (Scott Slaugh) Date: Wed Oct 8 21:35:01 2003 Subject: 256 colour icons in Windows using Resource Hacker Message-ID: > > Well, it seems that your experience is a little different to > > mine. Congratulations. Sorry to ask what might be a silly > > question, but did you make sure that the EXE still runs OK? > >Not until after your post about it not working. So I tried my app and it >also doesn't work. So my experience is *exactly* yours. :-| I just tried this and was able to get the icon to work. I opened my stack in Resource Hacker and went and changed the first icon to the one I wanted. I then deleted the second icon and saved the file. The icon showed up, and my stack ran. Scott Slaugh _________________________________________________________________ Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From katir at hindu.org Wed Oct 8 22:02:02 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed Oct 8 22:02:02 2003 Subject: Rev CR 2.1.1 and Mac OS X In-Reply-To: <010801c38d65$a7806a10$6601a8c0@LightningFlash> Message-ID: <481C5908-FA03-11D7-A799-000A959D0AC6@hindu.org> I got metal here with 2.1.1 on OS X 10.2.6 maybe 10.2.8 is buggy? On Tuesday, October 7, 2003, at 08:30 PM, Ken Ray wrote: >> >> Big problem with CR 2.1.1 on Mac OS X.2.8 FRENCH >> >> >> My "metal" decoration has disappeared....!!!!!! >> >> >> HELP !! From alex at mindlube.com Wed Oct 8 22:12:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 8 22:12:00 2003 Subject: Rev CR 2.1.1 and Mac OS X In-Reply-To: <481C5908-FA03-11D7-A799-000A959D0AC6@hindu.org> Message-ID: On Wednesday, October 8, 2003, at 08:50 PM, Sannyasin Sivakatirswami wrote: > I got metal here with 2.1.1 on OS X 10.2.6 > > maybe 10.2.8 is buggy? I've got metal on 2.1.1/OS X 10.2.8. Looks OK in the IDE. Haven't tried standalones or anything else. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From joel at alpsgiken.gr.jp Wed Oct 8 22:17:01 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Wed Oct 8 22:17:01 2003 Subject: trouble with user permissions (Mac OS X, RR2.1.1) Message-ID: <20031009120019.7E05.JOEL@alpsgiken.gr.jp> Okay, I just threw it into my Applications folder and it runs okay when I'm logged in as the user I was when I copied it in. But if I log in under a different account (ergo, to test under a Japanese environment or a non-admin account), I get the unexpected error message. I can get around this (two ways, in fact), but I wonder if the licensing department would not want me to do that? Is this a bug, or is it just the way the license for RunRev is supposed to work? -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) From alex at mindlube.com Wed Oct 8 22:46:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 8 22:46:01 2003 Subject: trouble with user permissions (Mac OS X, RR2.1.1) In-Reply-To: <20031009120019.7E05.JOEL@alpsgiken.gr.jp> Message-ID: <68AD7764-FA09-11D7-9085-000393529642@mindlube.com> On Wednesday, October 8, 2003, at 09:09 PM, Joel Rees wrote: > Okay, I just threw it into my Applications folder and it runs okay when > I'm logged in as the user I was when I copied it in. But if I log in > under a different account (ergo, to test under a Japanese environment > or > a non-admin account), I get the unexpected error message. What is the error message? Is this a standalone, or a .rev stack? Does the stack write to the Applications folder at all? Does it write any other files? > I can get around this (two ways, in fact), but I wonder if the > licensing > department would not want me to do that? > > Is this a bug, or is it just the way the license for RunRev is supposed > to work? I am guessing it's just a file permissions problem. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From 3mcgrath at adelphia.net Wed Oct 8 22:56:01 2003 From: 3mcgrath at adelphia.net (Thomas McGrath) Date: Wed Oct 8 22:56:01 2003 Subject: USBIO3 MacBrick Message-ID: I need to find out how to access the USB port and send the serial commands to a MacBrick USBio3 for light sensors and external switches. Does any one know how? I did this awhile ago in SC but on an older make with a printer port and rs232 to an x10 module. But the MacBrick is a USB cable and I have no idea. Thanks Thomas From kray at sonsothunder.com Wed Oct 8 23:33:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Oct 8 23:33:01 2003 Subject: 256 colour icons in Windows using Resource Hacker In-Reply-To: Message-ID: <01f701c38e1a$8f6cec40$6601a8c0@LightningFlash> Scott, was that a 256 color icon, or a 16M color one? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Scott Slaugh > Sent: Wednesday, October 08, 2003 9:22 PM > To: use-revolution at lists.runrev.com > Subject: RE: 256 colour icons in Windows using Resource Hacker > > > > > Well, it seems that your experience is a little different > to mine. > > > Congratulations. Sorry to ask what might be a silly question, but > > > did you make sure that the EXE still runs OK? > > > >Not until after your post about it not working. So I tried > my app and > >it also doesn't work. So my experience is *exactly* yours. :-| > > I just tried this and was able to get the icon to work. I > opened my stack > in Resource Hacker and went and changed the first icon to the > one I wanted. > I then deleted the second icon and saved the file. The icon > showed up, and > my stack ran. > > Scott Slaugh > > _________________________________________________________________ > Help protect your PC. Get a FREE computer virus scan online > from McAfee. > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From alex at mindlube.com Wed Oct 8 23:47:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Oct 8 23:47:01 2003 Subject: errorDialog - how reliable? Message-ID: <02C1BBE8-FA12-11D7-9085-000393529642@mindlube.com> If anyone else is developing with exception handling (using the "throw" control structure) I will save you some serious grief- but maybe this is already common knowledge? Maybe a new bug in 2.1.1? errorDialog messages vanish if you are in the IDE in Script Debug Mode. Consequently if you are stepping through a script in the debugger, and an exception is thrown then a) the debugging session stops and b) the exception vanishes without a trace. (bugzilla #780) Can someone assuage my concerns there could be situations like this in the Rev engine for standalones- where errorDialog messages can vanish without a trace? I want my thrown exceptions to MAKE SOME NOISE. Without fail. I see the lockErrorDialogs property and it is set to false. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dan at shafermedia.com Wed Oct 8 23:55:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Wed Oct 8 23:55:00 2003 Subject: Script-Reporting Script? In-Reply-To: <200310082047.QAA17078@www.runrev.com> Message-ID: <2854110A-FA13-11D7-8FD6-0030656FB5D4@shafermedia.com> On Wednesday, October 8, 2003, at 01:47 PM, Richard Gaskin asked: > Does the one posted from Flexible Learning Co. do what you need? > I think it will. I just downloaded it. I'll report back to the list tonight or in the morning. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From dsc at swcp.com Wed Oct 8 23:55:10 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Oct 8 23:55:10 2003 Subject: USBIO3 MacBrick In-Reply-To: Message-ID: <29AC7A0F-FA13-11D7-A0B4-000A9567A3E6@swcp.com> On Wednesday, October 8, 2003, at 09:44 PM, Thomas McGrath wrote: > I need to find out how to access the USB port and send the serial > commands to a MacBrick USBio3 for light sensors and external switches. > Does any one know how? I did this awhile ago in SC but on an older > make with a printer port and rs232 to an x10 module. But the MacBrick > is a USB cable and I have no idea. I believe the drivers make this look like a serial port or more. Sarah mentioned something about this back early in the year. Too bad MacBrick has closed its doors. Dar Scott From mcdomi at free.fr Thu Oct 9 00:59:00 2003 From: mcdomi at free.fr (Dom) Date: Thu Oct 9 00:59:00 2003 Subject: Mouse scroll wheel problems In-Reply-To: Message-ID: <1g2j4v4.1p6gu4y3oacicM%mcdomi@free.fr> Greg DeVore wrote: > I am having a bit of trouble getting the mouse scroll wheel to work. Which problems with the mouse wheel? Sorry to add TWOMM... Here, OS 10.2.4, Rev 2.1, Microsoft mouse -- From dsc at swcp.com Thu Oct 9 01:10:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Oct 9 01:10:01 2003 Subject: Multiple active players Message-ID: <8BC1B88A-FA1D-11D7-A0B4-000A9567A3E6@swcp.com> I've been looking at audio. I see from the documentation that only one audioClip can be playing at a time. Do players have this limitation? Will setting the startTime buffer and queue the player? Is there a way to get the current time of a playing player? Dar Scott From ambassador at fourthworld.com Thu Oct 9 01:23:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Oct 9 01:23:00 2003 Subject: errorDialog - how reliable? In-Reply-To: <02C1BBE8-FA12-11D7-9085-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > Can someone assuage my concerns there could be situations like this in > the Rev engine for standalones- where errorDialog messages can vanish > without a trace? I want my thrown exceptions to MAKE SOME NOISE. > Without fail. I see the lockErrorDialogs property and it is set to > false. There are times when checking the result is best. And times when throw is your friend. And other times when lockErrorDialogs will catch nearly everything. I agree it would be ideal to have a single mechanism for error-catching that did it all, but some errors are not fatal. In some cases all you want to do is advise the user and keep going, or do something else.... If making those decisions in your app seems hard, imagine deciding for the engine, across 12 operating systems, and compounded by a complex IDE. At the extreme of error-handling is the generic dialog with an inexplicable number and a cryptic message like "That action cannot be completed because it cannot be found" (an actual Apple message). When error handling is most generic it is most complete, but also least helpful for the user. FWIW, while a single _optimal_ solution has eluded me all these years, I've found few errors that could not be trapped for and handled gracefully one way or another. That's why we love good testers.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Oct 9 01:35:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Oct 9 01:35:01 2003 Subject: Multiple active players In-Reply-To: <8BC1B88A-FA1D-11D7-A0B4-000A9567A3E6@swcp.com> Message-ID: Dar Scott wrote: > I've been looking at audio. I see from the documentation that only one > audioClip can be playing at a time. > > Do players have this limitation? No such hard limit. In the cloister in Brian Thomas' "If Monks Had Macs" CD we have three audio players running sometimes simultaneously to provide bird sounds and a waterfall sound. The waterfall is constant, but the birds are intermittent, with a semi-random algorithm that keeps them varied while avoided moments where they might all sound off at once. And on top of those is a QT video of a rotating bookcase. While the limit is not hard and fast, remember that QT is an event loop hog; the more players running simultaneously the less CPU time is available to other processes, like the enngine's event loop. > Will setting the startTime buffer and > queue the player? Not sure what you mean by buffer in this context, but it will queue to the specified point if you have the playSelection set to true. In HyperRESEARCH the QT playback is all about letting the user save and pay back specified selections of time-based media (both audio and video). Setting the startTime and EndTime work great on Mac and win both, with only one caveat: a bug was introduced in Rev 2.1 in which if you select a segment manually by shift-clicking from right to left, the startTime and endTime reflect the order of the user action rather than the logical start and end; i.e., they two values will be reversed. That's easy enough to work around, and in all other respects everything I've done with player selection has been working great since Rev 2.0. > Is there a way to get the current time of a playing > player? get the currentTime of player 1 -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From scott at tactilemedia.com Thu Oct 9 01:39:02 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Oct 9 01:39:02 2003 Subject: Multiple active players In-Reply-To: <8BC1B88A-FA1D-11D7-A0B4-000A9567A3E6@swcp.com> Message-ID: On 10/8/03 10:58 PM, "Dar Scott" wrote: > I've been looking at audio. I see from the documentation that only one > audioClip can be playing at a time. > Do players have this limitation? No (depending on the multimedia facilities available). The one thing I've had trouble doing is starting multiple players simultaneously without a bit of delay between each start. Otherwise, multiple players = no problem. > Will setting the startTime buffer and queue the player? You might try the prepare command for this but I'm pretty sure setting the filename of a player will cue up the content for playback. > Is there a way to get the current time of a playing player? See the currentTime property. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Thu Oct 9 01:39:10 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Oct 9 01:39:10 2003 Subject: Multiple active players In-Reply-To: <8BC1B88A-FA1D-11D7-A0B4-000A9567A3E6@swcp.com> Message-ID: Dar Scott wrote: > I've been looking at audio. I see from the documentation that only one > audioClip can be playing at a time. > > Do players have this limitation? No such hard limit. In the cloister in Brian Thomas' "If Monks Had Macs" CD we have three audio players running sometimes simultaneously to provide bird sounds and a waterfall sound. The waterfall is constant, but the birds are intermittent, with a semi-random algorithm that keeps them varied while avoided moments where they might all sound off at once. And on top of those is a QT video of a rotating bookcase. While the limit is not hard and fast, remember that QT is an event loop hog; the more players running simultaneously the less CPU time is available to other processes, like the enngine's event loop. > Will setting the startTime buffer and > queue the player? Not sure what you mean by buffer in this context, but it will queue to the specified point if you have the playSelection set to true. In HyperRESEARCH the QT playback is all about letting the user save and pay back specified selections of time-based media (both audio and video). Setting the startTime and EndTime work great on Mac and win both, with only one caveat: a bug was introduced in Rev 2.1 in which if you select a segment manually by shift-clicking from right to left, the startTime and endTime reflect the order of the user action rather than the logical start and end; i.e., they two values will be reversed. That's easy enough to work around, and in all other respects everything I've done with player selection has been working great since Rev 2.0. > Is there a way to get the current time of a playing > player? get the currentTime of player 1 -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Oct 9 01:50:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Oct 9 01:50:01 2003 Subject: Kudos In-Reply-To: Message-ID: Scott Rossi wrote: > I have to admit I'm still clinging to MetaCard and while grudgingly trying > to get into Rev (I still don't get the whole stack browser, properties, > whatever organization). It's nice to see some good tool work done in Rev. Most tools work well in both Rev and MC. And between my Stack Browser, Geoff's Navigator, and others you can get around easily in either IDE without having to deal with the quirks in either. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From alex at mindlube.com Thu Oct 9 02:29:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Oct 9 02:29:01 2003 Subject: errorDialog - how reliable? In-Reply-To: Message-ID: <926C80B7-FA28-11D7-9085-000393529642@mindlube.com> On Thursday, October 9, 2003, at 12:11 AM, Richard Gaskin wrote: > And other times when lockErrorDialogs will catch nearly everything. I thought lockErrorDialogs was supposed to prevent errorDialog messages from being sent. Then nothing is "caught" at all. > FWIW, while a single _optimal_ solution has eluded me all these years, > I've > found few errors that could not be trapped for and handled gracefully > one > way or another. That's why we love good testers.... Richard, I'm glad you are comfortable with the design choices you have made, and your tone is reassuring. I am not suggesting that throwing exceptions is a substitute for QA testing and design for usability. I am not suggesting that I would stop using Rev because of this issue. But you are speaking in general terms and I really have a specific concern: How is it possible for errorDialog messages to vanish & how can I make sure it never happens in my built apps? I am still learning the best ways to think and code in transcript. Having programmed in Java I have a particular concept of how exception handling is supposed to work. To quote Stroustrup on exception handling "Successful fault-tolerant systems are multilevel. Each level copes with as many errors as it can without getting too contorted and leaves the rest to higher levels." In my case "higher levels" means the IDE or the runtime engine. If the runtime tosses exceptions- errorDialog messages- into the great bit bucket where does that leave me? Back to square 1 and ready to rip every single throw statement out of my code. Exceptions are for *very unusual situations*. Should very unusual situations be met with complete silence? Struggling. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From joel at alpsgiken.gr.jp Thu Oct 9 04:18:02 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Thu Oct 9 04:18:02 2003 Subject: trouble with user permissions (Mac OS X, RR2.1.1) In-Reply-To: <68AD7764-FA09-11D7-9085-000393529642@mindlube.com> References: <20031009120019.7E05.JOEL@alpsgiken.gr.jp> <68AD7764-FA09-11D7-9085-000393529642@mindlube.com> Message-ID: <20031009133028.27F4.JOEL@alpsgiken.gr.jp> -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) > > On Wednesday, October 8, 2003, at 09:09 PM, Joel Rees wrote: > > > Okay, I just threw it into my Applications folder and it runs okay when > > I'm logged in as the user I was when I copied it in. But if I log in > > under a different account (ergo, to test under a Japanese environment > > or > > a non-admin account), I get the unexpected error message. > > What is the error message? The "unexpected error, the application will now quit" message. > Is this a standalone, or a .rev stack? RunRev itself. Standalones do not seem to have this problem. > Does > the stack write to the Applications folder at all? Does it write any > other files? Well, we are talking about RunRev, the dev environment, so I think the answer to that is yes. (heh) > > I can get around this (two ways, in fact), but I wonder if the > > licensing > > department would not want me to do that? > > > > Is this a bug, or is it just the way the license for RunRev is supposed > > to work? > > I am guessing it's just a file permissions problem. If it is just a file permissions problem and not tangled up with the licensing policy, it would sure be nice to have it fixed. I'm thinking it may have something to do with bug #540. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) From chipp at chipp.com Thu Oct 9 04:39:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Oct 9 04:39:01 2003 Subject: Visual Effects in Windows In-Reply-To: Message-ID: Been playing around a bit more with this. Turns out, you need to also put: set the dontUseQT to true as well for standalones... > > This doesn't work (as long as useQTEffects is true). It displays > the hidden > grp *BEFORE* doing the dissolve. > > Remember, if you've used QTeffects even once, you'll have to restart RR > because once instantiated, you can uninstatiate it. :-) > > > -Chipp > From ambassador at fourthworld.com Thu Oct 9 05:27:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Oct 9 05:27:01 2003 Subject: errorDialog - how reliable? In-Reply-To: <926C80B7-FA28-11D7-9085-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > How is it possible for errorDialog messages to vanish & how > can I make sure it never happens in my built apps? I am still learning > the best ways to think and code in transcript. Having programmed in > Java I have a particular concept of how exception handling is supposed > to work. > > To quote Stroustrup on exception handling > > "Successful fault-tolerant systems are multilevel. Each level copes > with as many errors as it can without getting too contorted and leaves > the rest to higher levels." > > In my case "higher levels" means the IDE or the runtime engine. If the > runtime tosses exceptions- errorDialog messages- into the great bit > bucket where does that leave me? Back to square 1 and ready to rip > every single throw statement out of my code. > > Exceptions are for *very unusual situations*. Should very unusual > situations be met with complete silence? This must be the week for Stroustrup quotes: I included one in my Handy Handlers column at revJournal. ;) You picked a good one, and I think it's a desirable goal. But it may take a while. The very thing we love about Rev comes to bite us on exception handling: as 4GLs go it's among the most powerful, but few 4GLs provide the sort of debugging tasks Rev does written in the 4GL itself. It's not just that the patient is squirming, it's the patient himself who's holding the scalpel. One thing that may be worth trying would be to see if you get similar behavior in the MC IDE. I wouldn't suggest you move your work to that environment, just to try to reproduce the problem there to determine the extent to which the issue may be specific to the IDE. FWIW, unless you're working on something that involves debugging scripts I believe you can have reasonaable confidence in having a much better chance of catching every error. Debugging scripts with a scripted debugger and scripted error handling is inevitably among the more complicated things the engine ever has to do. I suspect with your dilligence your standalones will be provide graceful degredation for 99.9% of the errors that occur; the other 0.1% is for your v1.1. ;) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kevin at runrev.com Thu Oct 16 13:22:33 2003 From: kevin at runrev.com (Kevin Miller) Date: Thu, 16 Oct 2003 18:22:33 +0100 Subject: Mailing lists back up Message-ID: Hi Everyone, The mailing lists are now back up, running with updated software on our new, higher capacity server. Sorry for the inconvenience while they were down. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From mark at runrev.com Thu Oct 16 17:25:55 2003 From: mark at runrev.com (Mark Chia) Date: 16 Oct 2003 22:25:55 +0100 Subject: test Message-ID: <1066339555.32275.4.camel@voyager> test From lists at mangomultimedia.com Thu Oct 16 17:40:03 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 16 Oct 2003 15:40:03 -0600 Subject: target(), mouseControl(), etc. when mouse button is down Message-ID: <4D1FEF67-0021-11D8-83CA-000A956C462A@mangomultimedia.com> What is the best way to find out which control the mouse is over when the mouse button is depressed? Functions such as target() within a mouseMove handler and mouseControl() placed in the group script always return the control the user clicked on rather than the control the mouse is currently over. I have a scenario where I have a series of buttons grouped together. If a user clicks on one of the buttons and moves over another button with the mouse button still depressed then I want to shift focus to that button. I haven't fond an efficient way of shifting focus since it is difficult to find out when the user moves over different controls with the mouse button down. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revlist at cableone.net Thu Oct 16 17:50:24 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 16 Oct 2003 15:50:24 -0600 Subject: test Message-ID: <000001c3942f$812fe7c0$64fea8c0@chris1> Is it working now? Chris Sheffield Software Development Read Naturally From pa.lindgren at chello.se Thu Oct 16 18:30:37 2003 From: pa.lindgren at chello.se (P=?ISO-8859-1?B?5A==?=r Lindgren) Date: Fri, 17 Oct 2003 00:30:37 +0200 Subject: test In-Reply-To: <000001c3942f$812fe7c0$64fea8c0@chris1> Message-ID: Den 03-10-16 23.50, skrev "Chris Sheffield" : > Is it working now? > > Chris Sheffield > Software Development > Read Naturally > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From nfeasey at utpress.utoronto.ca Thu Oct 16 18:34:43 2003 From: nfeasey at utpress.utoronto.ca (nfeasey at utpress.utoronto.ca) Date: Thu, 16 Oct 2003 18:34:43 -0400 Subject: test Message-ID: I got it. N -----Original Message----- From: P?r Lindgren [mailto:pa.lindgren at chello.se] Sent: Thursday, October 16, 2003 6:31 PM To: How to use Revolution Subject: Re: test Den 03-10-16 23.50, skrev "Chris Sheffield" : > Is it working now? > > Chris Sheffield > Software Development > Read Naturally > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From gizmotron at earthlink.net Thu Oct 16 18:40:17 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu, 16 Oct 2003 15:40:17 -0700 Subject: test In-Reply-To: Message-ID: On Thursday, October 16, 2003, at 03:34 PM, nfeasey at utpress.utoronto.ca wrote: > Subject: RE: test > Reply-To: How to use Revolution > > I got it. > > N 10-4 Baltimore: roger, wilco, over... From monte at sweattechnologies.com Thu Oct 16 19:38:55 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 17 Oct 2003 09:08:55 +0930 Subject: target(), mouseControl(), etc. when mouse button is down In-Reply-To: <4D1FEF67-0021-11D8-83CA-000A956C462A@mangomultimedia.com> Message-ID: > What is the best way to find out which control the mouse is over when > the mouse button is depressed? Functions such as target() within a > mouseMove handler and mouseControl() placed in the group script always > return the control the user clicked on rather than the control the > mouse is currently over. > > I have a scenario where I have a series of buttons grouped together. > If a user clicks on one of the buttons and moves over another button > with the mouse button still depressed then I want to shift focus to > that button. I haven't fond an efficient way of shifting focus since > it is difficult to find out when the user moves over different controls > with the mouse button down. > Use a mouseMove handler on the card and the target Cheers Monte From katir at hindu.org Thu Oct 16 20:07:04 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu, 16 Oct 2003 14:07:04 -1000 Subject: POST variables to CGI via URL with URLencoded string fails?? In-Reply-To: Message-ID: I have a simple CGI running that receives subscription requests to our Hindu Press International mailing list. Odd thing is... if I post the name and email address (only two fields in this form) to the CGI from a web form.. it works.. but if we try to post the same two values via a standard URL, with the input values appended in the normal way a URLencoded string, the CGI does respond, but it tells us that standardIn is returning empty?? The beginning of the CGI is straightforward: on startup read from stdin until empty put it into temp put urlDecode (it) into tDataIn put tDataIn into tRemit split tDataIn by "&" and "=" put isWellFormedMailtoScheme (tDataIn ["email"]) into emailCheck switch emailCheck ## etc. process the subscription.. only two values expected, name and email address... But this: http://www.hinduismtoday.com/cgi-bin/ send_sub_request.cgi?name=Aloha+test&email=jiva%40hindu.org doesn't work... standardIn returns empty. but this online service for auto generating posts to CGI's does work: http://www.io.com/~jsm/nph-ap.cgi/http://www.hinduismtoday.com/cgi-bin/ send_sub_request.cgi?name=Aloha+test&email=jiva%40hindu.org Any clues on why standardIn would be empty on one and not on the other? Or strategies for testing? Thanks Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From lists at mangomultimedia.com Thu Oct 16 20:26:25 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 16 Oct 2003 18:26:25 -0600 Subject: target(), mouseControl(), etc. when mouse button is down In-Reply-To: Message-ID: <8AB10AFC-0038-11D8-83CA-000A956C462A@mangomultimedia.com> On Thursday, October 16, 2003, at 05:38 PM, Monte Goulding wrote: >> What is the best way to find out which control the mouse is over when >> the mouse button is depressed? Functions such as target() within a >> mouseMove handler and mouseControl() placed in the group script always >> return the control the user clicked on rather than the control the >> mouse is currently over. >> >> I have a scenario where I have a series of buttons grouped together. >> If a user clicks on one of the buttons and moves over another button >> with the mouse button still depressed then I want to shift focus to >> that button. I haven't fond an efficient way of shifting focus since >> it is difficult to find out when the user moves over different >> controls >> with the mouse button down. >> > > Use a mouseMove handler on the card and the target In my tests the mouseMove handler will always return the target() or mouseControl() of the control the user clicked on rather than the control the mouse is currently over. Is there something I am missing that will allow me to get the id of the control the mouse is over while the mouse button is being held down? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From monte at sweattechnologies.com Thu Oct 16 20:37:08 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 17 Oct 2003 10:07:08 +0930 Subject: target(), mouseControl(), etc. when mouse button is down In-Reply-To: <8AB10AFC-0038-11D8-83CA-000A956C462A@mangomultimedia.com> Message-ID: > On Thursday, October 16, 2003, at 05:38 PM, Monte Goulding wrote: > >> What is the best way to find out which control the mouse is over when > >> the mouse button is depressed? Functions such as target() within a > >> mouseMove handler and mouseControl() placed in the group script always > >> return the control the user clicked on rather than the control the > >> mouse is currently over. > >> > >> I have a scenario where I have a series of buttons grouped together. > >> If a user clicks on one of the buttons and moves over another button > >> with the mouse button still depressed then I want to shift focus to > >> that button. I haven't fond an efficient way of shifting focus since > >> it is difficult to find out when the user moves over different > >> controls > >> with the mouse button down. > >> > > > > Use a mouseMove handler on the card and the target > > In my tests the mouseMove handler will always return the target() or > mouseControl() of the control the user clicked on rather than the > control the mouse is currently over. Is there something I am missing > that will allow me to get the id of the control the mouse is over while > the mouse button is being held down? Oops sorry, mouseMove and the within function... Cheers Monte From lists at mangomultimedia.com Thu Oct 16 20:45:27 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 16 Oct 2003 18:45:27 -0600 Subject: target(), mouseControl(), etc. when mouse button is down In-Reply-To: Message-ID: <33BC9C26-003B-11D8-83CA-000A956C462A@mangomultimedia.com> On Thursday, October 16, 2003, at 06:37 PM, Monte Goulding wrote: >> In my tests the mouseMove handler will always return the target() or >> mouseControl() of the control the user clicked on rather than the >> control the mouse is currently over. Is there something I am missing >> that will allow me to get the id of the control the mouse is over >> while >> the mouse button is being held down? > > Oops sorry, mouseMove and the within function... That is what I was afraid of. Seems like there should be a built in function to get the controls id rather than having to test against all of my button objects to find out which it is over. Oh well. Thanks for the help Monte. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From stephenREVOLUTION at barncard.com Thu Oct 16 21:58:42 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Thu, 16 Oct 2003 18:58:42 -0700 Subject: POST variables to CGI via URL with URLencoded string fails?? Message-ID: could it be the space in the filename? (after /cgi-bin/) > > >But this: > >http://www.hinduismtoday.com/cgi-bin/ >send_sub_request.cgi?name=Aloha+test&email=jiva%40hindu.org > >doesn't work... standardIn returns empty. > >but this online service for auto generating posts to CGI's does work: > >http://www.io.com/~jsm/nph-ap.cgi/http://www.hinduismtoday.com/cgi-bin/ >send_sub_request.cgi?name=Aloha+test&email=jiva%40hindu.org > > >Any clues on why standardIn would be empty on one and not on the >other? Or strategies for testing? > >Thanks > >Sannyasin Sivakatirswami From pixelbird at interisland.net Thu Oct 16 22:41:19 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 16 Oct 2003 19:41:19 -0700 Subject: Mailing lists back up In-Reply-To: <20031016115949.A1D1593008D@mail.runrev.com> Message-ID: ALLRIGHTYTHEN... > Date: Thu, 16 Oct 2003 18:22:33 +0100 > From: Kevin Miller > Subject: Mailing lists back up > > Hi Everyone, > > The mailing lists are now back up, running with updated software on our new, > higher capacity server. Sorry for the inconvenience while they were down. --------- Thanks, A bunch of us had no idea what was happening. Whew!! Ken N. From jburtt at earthlink.net Thu Oct 16 23:31:08 2003 From: jburtt at earthlink.net (John) Date: Thu, 16 Oct 2003 20:31:08 -0700 Subject: Deleting lines in a field... Message-ID: Hi All, In previous versions of Revolution if you used a command like: delete line 3 of fld "test" the entire line would be deleted (if there were 10 lines, now there would be 9 lines). In version 2.1, if I use the same command, the contents of line 3 are deleted, but the empty line remains (there are still 10 lines in the field). Anybody else find this to be true? How do I delete the entire line? Have I missed something? John From ambassador at fourthworld.com Thu Oct 16 23:58:22 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Oct 2003 20:58:22 -0700 Subject: Deleting lines in a field... In-Reply-To: Message-ID: John wrote: > In previous versions of Revolution if you used a command like: > > delete line 3 of fld "test" > > the entire line would be deleted (if there were 10 lines, now there > would be 9 lines). > > In version 2.1, if I use the same command, the contents of line 3 are > deleted, but the empty line remains (there are still 10 lines in the > field). > > Anybody else find this to be true? How do I delete the entire line? > Have I missed something? I just tested that here and it seems to work as expected. Considering how fundamental it is to so many apps I'm sure such an obvious bug would hve been addressed before shipping. Could there be something else at play contributing to the result you're seeing there? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jacque at hyperactivesw.com Fri Oct 17 00:42:17 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Oct 2003 23:42:17 -0500 Subject: Deleting lines in a field... In-Reply-To: References: Message-ID: <3F8F7329.3040104@hyperactivesw.com> On 10/16/03 10:31 PM, John wrote: > Hi All, > > In previous versions of Revolution if you used a command like: > > delete line 3 of fld "test" > > the entire line would be deleted (if there were 10 lines, now there > would be 9 lines). > > In version 2.1, if I use the same command, the contents of line 3 are > deleted, but the empty line remains (there are still 10 lines in the > field). > > Anybody else find this to be true? How do I delete the entire line? Have > I missed something? If I remember right, this was a bug that got fixed. Are you using the latest version of Rev? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Fri Oct 17 01:31:56 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Oct 2003 00:31:56 -0500 Subject: test In-Reply-To: Message-ID: <01d001c3946f$fdcac170$6601a8c0@LightningFlash> Wahoo! Glad to see we're back on line... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Brownell > Sent: Thursday, October 16, 2003 5:40 PM > To: How to use Revolution > Subject: Re: test > > > > On Thursday, October 16, 2003, at 03:34 PM, > nfeasey at utpress.utoronto.ca wrote: > > > Subject: RE: test > > Reply-To: How to use Revolution > > > > I got it. > > > > N > > > 10-4 Baltimore: roger, wilco, over... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From psahores at easynet.fr Fri Oct 17 01:41:14 2003 From: psahores at easynet.fr (Pierre Sahores) Date: 17 Oct 2003 07:41:14 +0200 Subject: test In-Reply-To: <01d001c3946f$fdcac170$6601a8c0@LightningFlash> References: <01d001c3946f$fdcac170$6601a8c0@LightningFlash> Message-ID: <1066369273.3009.1.camel@www.kmax.ici> Hello again, List 'nd Friends ;-): > Wahoo! Glad to see we're back on line... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > Mark Brownell > > Sent: Thursday, October 16, 2003 5:40 PM > > To: How to use Revolution > > Subject: Re: test > > > > > > > > On Thursday, October 16, 2003, at 03:34 PM, > > nfeasey at utpress.utoronto.ca wrote: > > > > > Subject: RE: test > > > Reply-To: How to use Revolution > > > > > > I got it. > > > > > > N > > > > > > 10-4 Baltimore: roger, wilco, over... > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-> revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From alex at mindlube.com Fri Oct 17 01:43:14 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 16 Oct 2003 23:43:14 -0600 Subject: Selecting text using REGEX Message-ID: On Sunday, September 28, 2003, at 06:48 PM, Ken Ray wrote: > Interesting... my regEx version of Trim was this: > > function Trim what > local tText > get matchText(what,"(?s)\s*(\S.*\S)\s*",tText) > return tText > end Trim Beware this function fails for single-character-with-whitespace strings like " s" and " 9 ". By changing the regex to "(?s)\s*(\S.*\S?)\s*" and checking the result of matchText(), we can make it safer. But it still was failing some of my tests- I can't remember which strings though. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Fri Oct 17 01:48:43 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 16 Oct 2003 23:48:43 -0600 Subject: [OT] LivingCels/Expression3 Message-ID: <9104316A-0065-11D8-A5CE-000393529642@mindlube.com> Keep an eye on The creators of Expression, a fine vector+bitmap illustration software, are coming out with LivingCels, a 2D animation system. Really some amazing stuff! Kind of like Flash + Illustrator, but lean and mean, with a next gen graphics concept called "skeletal strokes". Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ian at azurevision.co.uk Fri Oct 17 03:38:56 2003 From: ian at azurevision.co.uk (Ian Wood) Date: Fri, 17 Oct 2003 08:38:56 +0100 Subject: Several newbie questions & a documentation request In-Reply-To: Message-ID: Hi Folks, I am new to the list, having received Revolution 1.1.1 on a cover Cd and immediately realised that I can now make my AppleScript project into a cross-platform app! Revolution 1.1.1 on OS X 10.2.1, 1GB RAM. An application that opens a QTVR cubic pano, takes start and end points then produces a sequence of stills that can then be put together into video. The main market is for putting pans onto DVDs, but i started doing this for a 'timelapse' project of my own. Anyway, I downloaded the 24K message mbox & have been looking on there, but have problems I cannot find on it... 1) I am running an AppleScript to open an image sequence in QT Pro. The applescript is stored in a field, a replace is done on the variables and the "do theScript as AppleScript". So far, so good. Except that Classic launches as the AppleScript tries to launch the OS 9 version of QT. Both from Script Editor and as a compiled script the script correctly launches QT in OS X. Any ideas? ======================================= put the text of field "applescript 1" into theScript replace filePath with defaultFolder in theScript replace frameRate with frame_rate in theScript replace "/" with ":" in theScript --to get correct filepath breaks in AS answer theScript do theScript as AppleScript ======================================= 2) The app has three option menu buttons to set video size, frame rate and pan direction (l/r). Is it just something in my coding (I tried to convert the info in the menu manager tutorial to the button) or are these always so slow to work? On a PB 1GHz and a P4 1.5GHz it can take up to 15 seconds for each menu button to become active! ======================================= global gVar_dimensions on menupick pWhich switch pWhich case "768x576-PAL square" answer "Use this option only when the movie will be seen on a Tv screen, you will need to export the movie at 720x576" break case "720x576- DV-PAL" break case "720x534-NTSC square" answer "Use this option only when the movie will be seen on a Tv screen, you will need to export the movie at 720x480" break case "720x480- DV-NTSC" break case "600x400" break case "480x320" break case "320x240" end switch put pWhich into gVar_dimensions get gVar_dimensions if it = "768x576-PAL square" then set width of player 1 to 768 set height of player 1 to 576 set the top of player 1 to 0 set the left of player 1 to 150 set the hilitedButtonName of group "frame rate" to "25" set the menuHistory of button "frame rate" to 4 (then come all the other ifs) end menuPick ======================================= Would it be better to do the if statements in a separate script? 3) The 'New Developers' documentation needs a section on the differences between AppleScript and Transcript, if this has not already been added in 2.1! All the time wasted until I discovered that 'put 20 into variable' was the correct grammar, not 'set variable to 20' got irritating, especially as properties DO work in the 'set to' grammar. 4) I can't see from the website, do the new video capabilities of Rev 2 include making video from image sequences? 5) Is it possible to export a snapsho directly to file? I am currently importing the snapshot and then exporting it to JPEG, but of course this results in a huge amount of flicker and general nastiness as I am generating up to 1500 snapshots in a row. ======================================= put the windowID of this stack into savedID import snapshot from rectangle 150,0,(width of player 1 + 150),(height of player 1) of window savedID export JPEG to file file_name & ".jpg" delete last image ======================================= That's all for now! Ian Wood Panoramic photography, from web to billboard, sunrise to moonrise http://www.azurevision.co.uk P.S. An early beta can be found at http:www.azurevision.co.uk/qtvr2mov From graham.samuel at wanadoo.fr Fri Oct 17 03:46:24 2003 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Fri, 17 Oct 2003 09:46:24 +0200 Subject: Default path in answer file Message-ID: <5.2.1.1.0.20031017094358.00c4c548@pop.wanadoo.fr> I find I can set the default path in an 'ask file' command but I am not having any success with 'answer file' I've set up a default path for an answer file command (on Windows XP) and RunRev seems to be ignoring the path specification. In a desperate attempt to understand what's happening, I executed this script: answer "about to request file from"&&scgTheFolder&"/" answer file scgFileSelectText with scgTheFolder&"/" with filter "Data Files,*.scs;*.scp" The path in scgTheFolder is of the form C:/Program Files/Revolution 2.1/Data but when the open dialog is shown, it has defaulted to a different place on the 'C' drive (probably the last place from which RR read a file). What did I do wrong? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Fri Oct 17 03:54:11 2003 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Fri, 17 Oct 2003 09:54:11 +0200 Subject: Mailing lists back up + where is Bugzilla? Message-ID: <5.2.1.1.0.20031017094655.00caf4c8@pop.wanadoo.fr> On Thu, 16 Oct 2003 18:22:33 +0100, Kevin Miller wrote: >The mailing lists are now back up, running with updated software on our new, >higher capacity server. Sorry for the inconvenience while they were down. I wrote at least one message that hasn't appeared in either of the digest so far but didn't bounce either. My message was just a test, but can anyone say if a lot of messages got lost? Judging by the normal volume of traffic, this must be so. Also, it seems that the link to Bugzilla is down at the RR Bug Database page on the RR website. Anyone else seeing this? --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From dcragg at lacscentre.co.uk Fri Oct 17 05:03:44 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 17 Oct 2003 10:03:44 +0100 Subject: POST variables to CGI via URL with URLencoded string fails?? In-Reply-To: References: Message-ID: At 2:07 pm -1000 16/10/03, Sannyasin Sivakatirswami wrote: >I have a simple CGI running that receives subscription requests to >our Hindu Press International mailing list. > >Odd thing is... if I post the name and email address (only two >fields in this form) to the CGI from a web form.. it works.. > >but if we try to post the same two values via a standard URL, with >the input values appended in the normal way a URLencoded string, the >CGI does respond, but it tells us that standardIn is returning >empty?? > >The beginning of the CGI is straightforward: > >on startup > read from stdin until empty > put it into temp >put urlDecode (it) into tDataIn >put tDataIn into tRemit > split tDataIn by "&" and "=" > put isWellFormedMailtoScheme (tDataIn ["email"]) into emailCheck > switch emailCheck > > ## etc. process the subscription.. only two values expected, name >and email address... > >But this: > >http://www.hinduismtoday.com/cgi-bin/ >send_sub_request.cgi?name=Aloha+test&email=jiva%40hindu.org > >doesn't work... standardIn returns empty. In this case you should be using GET not POST. On the server side, your script shouldn't be reading from the socket; that will only get posted data, and in this case there is none. Instead, it should be getting the $QUERY_STRING environment variable which should contain this: name=Aloha+test&email=jiva%40hindu.org Cheers Dave From martin at harbourtown.co.uk Fri Oct 17 05:18:04 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Fri, 17 Oct 2003 10:18:04 +0100 Subject: target(), mouseControl(), etc. when mouse button is down Message-ID: Trevor, Some variation of this script in your stack or card script might do what you want. I find it works the same whether the mouse button is up or down. I use a version of this as a development utility so I can get the name of objects just by pointing at them, i.e. without recourse to the properties palette. Hence the global to turn the behaviour on and off on mouseenter global gdids if gdids is true then put the id of the target end if end mouseenter martin baxter >>>Trevor De Vore wrote: >>> In my tests the mouseMove handler will always return the target() or >>> mouseControl() of the control the user clicked on rather than the >>> control the mouse is currently over. Is there something I am missing >>> that will allow me to get the id of the control the mouse is over >>> while >>> the mouse button is being held down? From Jacques.Hausser at ie-zea.unil.ch Fri Oct 17 12:41:42 2003 From: Jacques.Hausser at ie-zea.unil.ch (Jacques.Hausser at ie-zea.unil.ch) Date: Fri, 17 Oct 2003 12:41:42 CEST Subject: scrolling groups and graphic border Message-ID: Hello, Nice to see the list alive again! But it seems my last message was lost in the process, so I repeat it. I have a scrolling group of fields (say group A) which scroll also a second group (B). Both groups are created by script, and have the same width. But group A (with the scrollbar) can scroll left 16 pixels further away than group B. It seems that in the "opinion" of the scrollbar, the width of group A is larger than in its properties... As a quick (and very dirty) solution, I added (still in the script) a 16 pixel wide rectangle to group B. Now my scroll is perfectly synchronized, but I met another problem: impossible to get rid of the border of the rectangle. I tried to set the borderWidth of the templateRectangle to 0, to set the bordercolor to the backgroundcolor, to hide the rectangle (in which case, the scrolling problem reappeared). I didn't find anything about that in Bugzilla (but I'm not very skilled with its interface). Any idea welcome Jacques From director at web-mill.de Fri Oct 17 06:58:11 2003 From: director at web-mill.de (Thomas Mill) Date: Fri, 17 Oct 2003 12:58:11 +0200 Subject: scrolling groups and graphic border References: Message-ID: <004d01c3949d$8f22ba60$c7e3fea9@hpsurfer> Hi Jaques, I'm not into revolution yet but.... The 16 pixel difference is the width of the scrollbar. Can you set the width of the groups? Or, otherwise -if the width of the group is determined by its largest element- maybe you could set the width of one field to the width you want to achieve. Thomas Mill, director at web-mill.de From trevordevore at mac.com Thu Oct 16 17:39:28 2003 From: trevordevore at mac.com (Trevor DeVore) Date: Thu, 16 Oct 2003 15:39:28 -0600 Subject: target(), mouseControl(), etc. with mouse button depressed Message-ID: <37FC342A-0021-11D8-83CA-000A956C462A@mac.com> What is the best way to find out which control the mouse is over when the mouse button is depressed? Functions such as target() within a mouseMove handler and mouseControl() placed in the group script always return the control the user clicked on rather than the control the mouse is currently over. I have a scenario where I have a series of buttons grouped together. If a user clicks on one of the buttons and moves over another button with the mouse button still depressed then I want to shift focus to that button. I haven't fond an efficient way of shifting focus since it is difficult to find out when the user moves over different controls with the mouse button down. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From FMoyer at aol.com Fri Oct 17 09:10:07 2003 From: FMoyer at aol.com (FMoyer at aol.com) Date: Fri, 17 Oct 2003 09:10:07 EDT Subject: Deleting lines in a field... Message-ID: <165.267b80ee.2cc1442f@aol.com> In a message dated 10/17/03 2:01:12 AM, use-revolution-request at lists.runrev.com writes: >Hi All, > >In previous versions of Revolution if you used a command like: > >delete line 3 of fld "test" > >the entire line would be deleted (if there were 10 lines, now there >would be 9 lines). > >In version 2.1, if I use the same command, the contents of line 3 are >deleted, but the empty line remains (there are still 10 lines in the >field). > >Anybody else find this to be true? How do I delete the entire line? >Have I missed something? > >John I am confused by everyone's responses. I am experiencing the same thing as John. But that is the way it has always been -- in Hypercard, in Metacard and in all versions I've used of Revolution. If you have 10 lines in fld "test" and type delete line 3 of fld "test" you still have 10 lines; the only difference is that line 3 is blank. I'd be really surprised if version 2.1 changed that. The way I delete I would delete the entire line is: put line 1 to 2 of fld "test" & return & line 4 to 10 of fld "Test" into fld "test" (If anyone knows a more elegant way, please let me know!) Fred From Doug_Ivers at lord.com Fri Oct 17 09:10:50 2003 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri, 17 Oct 2003 09:10:50 -0400 Subject: Q for Regexperts Message-ID: This may be a common need... I want to parse text into a list of words. What is particularly troublesome is the apostrophe: He said, "Don't ever say 'never' 'til you're sure." The desired result is: He said Don't ever say never til you're sure Is there any reason why the same regex won't work with European languages? Do other languages have characters like the English apostrophe should be considered part of a word? TIA, D From heather at runrev.com Fri Oct 17 09:10:44 2003 From: heather at runrev.com (Heather Williams) Date: Fri, 17 Oct 2003 14:10:44 +0100 Subject: Welcome back! In-Reply-To: <20031016160003.057C79300BC@mail.runrev.com> Message-ID: Greetings again, list members! Great to see you all again. My sincere apologies for not having warned you all that the lists were about to go down - they went offline a day earlier than scheduled and my message informing you never got through. The good news is the server upgrade includes some great new upgrades to the list software. Among them is the option to obscure email addresses when they are presented on list web pages, even when in the text of the message. This is turned on, and I wait with interest to see the effect. During the transfer it is possible that some of your list settings may have become unset or altered. You may want to go and check your settings and make sure everything is to your liking. You can do this here: http://lists.runrev.com/mailman/listinfo/use-revolution You have all been assigned new passwords. To obtain your password, enter your subscribed email address in the box at the bottom of the page and click on "unsubscribe or edit options". If you have any problems you know my address :) If you get an authentication failed message when you try to access the web interface, (and you've checked and re-entered your password), wait an hour or so and try again - it takes a little while for the new server address to propagate around the world, your ISP may not have received it yet. If you sent a message to the list between Thursday 9th October and today, Friday 17th of October, I regret it must be recorded as missing in action. Please send again (unless it was to ask what had happened to the lists...) The bug database is still offline. This should be back up on Monday, and its return to service will complete the entire operation. Once again, we apologise for any inconvenience, but the server upgrade has been well worthwhile, and is part of a far reaching program of improvements we're putting in place to make our services to you the best we possibly can. Warm Regards, Heather Your local and international listmom -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 131 7184333 Fax +44 (0) 131 7184334 ~~~ Check our web site for new Revolution editions & special offers ~~~ From steve at messimercomputing.com Fri Oct 17 09:13:08 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Fri, 17 Oct 2003 09:13:08 -0400 Subject: cross platform scripting Message-ID: Hi, I am creating an application for use on both Macs and PCs. I know that to ensure cross platform compatibility between Mac and Windows OS the following characters need to be used when scripting. "< > " should be used instead of "?" " >= " should be used instead of " ? " " =< " should be used instead of " ? " and " \ " should be used instead of " ? " Are these all the cross platform scripting cautions you need to be aware of when developing for both the Windows and Macintosh platforms? Having a complete set of information on this subject in one place would be most helpful. Thanks Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available Now! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.1 From isb at macconnect.com Fri Oct 17 09:22:45 2003 From: isb at macconnect.com (Ed McCabe) Date: Fri, 17 Oct 2003 09:22:45 -0400 Subject: Problem locating functions Message-ID: In some of my HC stacks which I have converted to Rev, Rev is unable to locate any functions whether they are within the stack script or the card script. These are not externals just functions. The message is unable to locate (function). help! Ed Mccabe From kray at sonsothunder.com Fri Oct 17 10:01:52 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Oct 2003 09:01:52 -0500 Subject: Deleting lines in a field... In-Reply-To: Message-ID: <023d01c394b7$3bf9ab90$6601a8c0@LightningFlash> John, I'm not seeing this on Rev 2.1 Windows and 2.1.1 Mac. It is possible that it is a Mac-only 2.1 issue, but since Bugzilla is down I can't check it. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of John > Sent: Thursday, October 16, 2003 10:31 PM > To: use-revolution at lists.runrev.com > Subject: Deleting lines in a field... > > > Hi All, > > In previous versions of Revolution if you used a command like: > > delete line 3 of fld "test" > > the entire line would be deleted (if there were 10 lines, now there > would be 9 lines). > > In version 2.1, if I use the same command, the contents of line 3 are > deleted, but the empty line remains (there are still 10 lines in the > field). > > Anybody else find this to be true? How do I delete the entire line? > Have I missed something? > > John > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From bvlahos at mac.com Fri Oct 17 10:30:52 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 17 Oct 2003 07:30:52 -0700 Subject: Viruses and Revolution Message-ID: <82CBDBBF-00AE-11D8-96D2-0003936A2C42@mac.com> I'm writing an application that could be exposed to file system based viruses due to the nature of how it will be used. I'd like to minimize the risk to users. I doubt there is any way I can prevent the standalone or stacks from being infected because that is a function of the cleanliness of the Windows computer it will be on (there is virtually no risk for Mac and Linux users). If I can't prevent an infection (please let me know if I'm wrong), I would like to be able to detect and report a possible infection to the user. I was thinking along the lines that since a standalone app can't be modified, either checking the modification date and/or checksum size at launch might be a good way to detect any changes. I'm interested in hearing what others have to say. Has anyone had any experiences with infected standalones or stacks? Bill Vlahos From ambassador at fourthworld.com Fri Oct 17 10:48:04 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Oct 2003 07:48:04 -0700 Subject: Deleting lines in a field... In-Reply-To: <165.267b80ee.2cc1442f@aol.com> Message-ID: FMoyer at aol.com wrote: > I am confused by everyone's responses. I am experiencing the same thing as > John. But that is the way it has always been -- in Hypercard, in Metacard and > in > all versions I've used of Revolution. If you have 10 lines in fld "test" and > type > delete line 3 of fld "test" > you still have 10 lines; the only difference is that line 3 is blank. That's not how it works in HyperCard, Rev, or any of the xTalks as far as I can recall. After being mystified by this thread I double-checked both Rev and HyperCard. To get the blank line you'd use: put empty into line 3 of fld "test" -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Fri Oct 17 10:51:18 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Oct 2003 07:51:18 -0700 Subject: cross platform scripting In-Reply-To: Message-ID: Stephen Messimer wrote: > Are these all the cross platform scripting cautions you need to be > aware of when developing for both the Windows and Macintosh platforms? > Having a complete set of information on this subject in one place would > be most helpful. Stay with low-ASCII and you're fine. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From Jacques.Hausser at ie-zea.unil.ch Fri Oct 17 16:52:07 2003 From: Jacques.Hausser at ie-zea.unil.ch (Jacques.Hausser at ie-zea.unil.ch) Date: Fri, 17 Oct 2003 16:52:07 CEST Subject: scrolling groups and graphic border Message-ID: Hello and thanks, Thomas, Like you, I was not on revolution when I discovered the list was back, so I rewrote my message from memory (not a very good one) and I was a bit sloppy. Scrolling deals with formattedwidth, not mere width... and formattedwidth is read only. I put again my message with corrections: I have a scrolling group of fields (say group A) with horizontal and vertical scrollbars, which scroll also (horizontally) a second group (B). Both groups are created by script, and have the same formattedwidth. But group A (with the scrollbar) can scroll left 16 pixels further away than group B. It seems that in the "opinion" of the scrollbar, the formattedwidth of group A is larger than in its actuel properties... As a quick (and very dirty) solution, I added (still in the script) a 16 pixel wide rectangle to group B. Now my scroll is perfectly synchronized, but I met another problem: impossible to get rid of the border of the rectangle. I tried to set the borderWidth of the templateRectangle to 0, to set the bordercolor to the backgroundcolor, to hide the rectangle (in which case, the scrolling problem reappeared). I didn't find anything about that in Bugzilla (but I'm not very skilled with its interface). Any idea welcome (for both problems!) Jacques From scott at tactilemedia.com Fri Oct 17 10:54:08 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 17 Oct 2003 07:54:08 -0700 Subject: Viruses and Revolution In-Reply-To: <82CBDBBF-00AE-11D8-96D2-0003936A2C42@mac.com> Message-ID: > I'm interested in hearing what others have to say. Has anyone had any > experiences with infected standalones or stacks? This would be interesting to know. At first glance, this wouldn't seem possible since modifying any part of the code in a standalone usually causes the standalone to become inoperable. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From opus.species at wanadoo.fr Fri Oct 17 10:57:55 2003 From: opus.species at wanadoo.fr (opus.species at wanadoo.fr) Date: Fri, 17 Oct 2003 16:57:55 +0200 Subject: target(), mouseControl(), etc. when mouse button is down In-Reply-To: <20031016115950.5DF2F930090@mail.runrev.com> References: <20031016115950.5DF2F930090@mail.runrev.com> Message-ID: > What is the best way to find out which control the mouse is over when > the mouse button is depressed? Functions such as target() within a > mouseMove handler and mouseControl() placed in the group script always > return the control the user clicked on rather than the control the > mouse is currently over. > > I have a scenario where I have a series of buttons grouped together. > If a user clicks on one of the buttons and moves over another button > with the mouse button still depressed then I want to shift focus to > that button. I haven't fond an efficient way of shifting focus since > it is difficult to find out when the user moves over different controls > with the mouse button down. > In the mouseDown handler set the dradData to something The dragEnter message is send to all controls under the mouse as long as the mouse is down. I guess that this trick do the job even if you dont intend to drag and drop Claude Lemmel From scott at tactilemedia.com Fri Oct 17 11:14:14 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 17 Oct 2003 08:14:14 -0700 Subject: Deleting lines in a field... In-Reply-To: <165.267b80ee.2cc1442f@aol.com> Message-ID: >> delete line 3 of fld "test" >> >> the entire line would be deleted (if there were 10 lines, now there >> would be 9 lines). >> >> In version 2.1, if I use the same command, the contents of line 3 are >> deleted, but the empty line remains (there are still 10 lines in the >> field). >> >> Anybody else find this to be true? How do I delete the entire line? Not here on OSX. "delete line 3 of fld "test" results in the entire line being deleted, and "put number of lines of fld "test" results in 9. > I am confused by everyone's responses. I am experiencing the same thing as > John. But that is the way it has always been -- in Hypercard, in Metacard and > in > all versions I've used of Revolution. If you have 10 lines in fld "test" and > type > delete line 3 of fld "test" > you still have 10 lines; the only difference is that line 3 is blank. I'd be > really surprised if version 2.1 changed that. Try using a simple dummy stack to reproduce this behavior. Perhaps something is going on in your working stack/s to cause this. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Fri Oct 17 11:25:34 2003 From: dsc at swcp.com (Dar Scott) Date: Fri, 17 Oct 2003 09:25:34 -0600 Subject: Q for Regexperts In-Reply-To: Message-ID: <2703C5A1-00B6-11D8-B803-000A9567A3E6@swcp.com> On Friday, October 17, 2003, at 07:10 AM, Ivers, Doug E wrote: > This may be a common need... > > I want to parse text into a list of words. I don't know how to pull out an arbitrary number of captures in a Revolution regex. I use a regex that gets me the first capture and the string after that. I loop on that. For the apostrophe, a simple model would be to assume a word is a sequence of letters but may include embedded apostrophes. > > Is there any reason why the same regex won't work with European > languages? Do other languages have characters like the English > apostrophe should be considered part of a word? You can look at the PCRE doc web page (start half-way down) and look at the definition of \w, the "word" character matcher. This will match some high characters if the locale is set right. However, it will match underline. You might be better off, looking at just what you want to match in a particular encoding and match with \xhh. (PCRE has a very limited UTF-8 mode, but we don't seem to have a way to turn that on; I'd prefer full-width unicode mode when it comes, anyway.) Dar Scott From Mark.Powell at veritas.com Fri Oct 17 11:28:46 2003 From: Mark.Powell at veritas.com (Mark Powell) Date: Fri, 17 Oct 2003 08:28:46 -0700 Subject: revMail (got HTML?) Message-ID: (Apologies if this is duplicated. Have been afflicted with bounce-back or system problems) Have any Outlook users out there written revMail (or any other) handlers that generate anything other than plain text mail? I direly need to be able to generate HTML-formatted memos to my department. Thanks in advance. Mark Powell From steve at messimercomputing.com Fri Oct 17 11:52:05 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Fri, 17 Oct 2003 11:52:05 -0400 Subject: Mac / PC Scripting issues In-Reply-To: <20031017152748.6BD8393012D@mail.runrev.com> Message-ID: Richard, I think I understand what you mean by low ASCII. Not having memorized either the Mac or PC character sets this becomes an issue when I am using a particular character. It would be nice to have a simple list that points out areas where the two character sets diverge. Thanks for your response. It will send me in the right direction. On Friday, October 17, 2003, at 11:27 AM, use-revolution-request at lists.runrev.com wrote: >> Are these all the cross platform scripting cautions you need to be >> aware of when developing for both the Windows and Macintosh platforms? >> Having a complete set of information on this subject in one place >> would >> be most helpful. > > Stay with low-ASCII and you're fine. > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > Regards, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available Now! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.1 From themacguy at macosx.com Fri Oct 17 12:23:02 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri, 17 Oct 2003 10:23:02 -0600 Subject: Rev2.1 Bug on a Dell Inspiron and some Dell Desktops - bugzilla #794 Message-ID: <2DF12A04-00BE-11D8-86EB-000A95763ABC@macosx.com> (This is a re-post compilation of three messages that didn't get to the list while it was down.) After much teeth-gnashing and hair-pulling, I've narrowed down the cause of the bizarre display of text fields on a Dell Inspiron (and some Dell desktop models, #'s unknown at this moment). Rev 2.1.x on Windows (and Windows distributions built from either MacOSX or Windows versions of that revision) pushes the line of text up beyond the top of the field as soon as you specify a font and size. Clicking the "fixed line height" moves the text down but only a few points - not enough to rectify the problem. The same problem (text moving -way- "north") is apparent in all types of buttons, as well, as soon as you create the button. Additionally, the menubar (on Windows) seems to be missing except for a one or two point "line" that appears at the top of where the menubar should be. Clicking where the menu should be drops down -something- but when you move your mouse down to a menu item (no text!), a blue "selection bar" appears across the entire width of the screen. The menu items are selectable and do call the handlers. A distribution that works perfectly on my ShuttlePC, a Gateway desktop and an older Dell (PII/400) will have the display issues on a Dell Inspiron 2600. I've been told of other Dells in the Region Ed Service Ctr and Canutillo ISD (here in Texas) that exhibit this problem, as well. I thought it might be a bad "ghost" installer that Dell might have used on all these units (they were purchased around the same time with a "custom load set" by Dell), but installing a fresh copy of W2KPro & QT makes no difference. I hope to have the model #'s of these Dells by Monday late PM. I have returned to v2.0.3 of Rev and the problem is gone. I can confirm that a distribution made in v2.0.3 also works properly. Again, you won't see this unless you're running one of these Dells. I've filed a Bugzilla report (#794) but, unless, RunRev can get their hands on one of these Dell machines, I'm not sure how they experience it first-hand, much less fix it. I'll get the model #'s of the desktop units that have this problem. However, the problem seems to have its genesis in the 2.1 release as 2.0.3 seems to be okay. Barry From ccondit at geo.umass.edu Fri Oct 17 12:22:52 2003 From: ccondit at geo.umass.edu (Chris Condit) Date: Fri, 17 Oct 2003 12:22:52 -0400 Subject: centering ask & answer dialogs Message-ID: I've run into problems on the Win32 platform getting ask & answer dialog boxes to display completely on the screen. As a work around, what I've done is hacked the revAsk and revAnswer stacks and in the preOpen stack handler added "set the loc of me to the screenLoc", since that seems to me to be as good a place as any to display dialog boxes. Seemed to work fine both using the rev GUI and when I created a stand alone, both on Mac and Win32. Can anyone thingk of a reason i shouldn't be doing that, or where it will cause problems? and Rev Team: any chance of including the capability of beinag able to choose where to place ask & answer dialog boxes, using for example: ask "Can we do this" at 300,300 ? TIA Chris -- Dr. Christopher D. Condit, Associate Prof., Dept. of Geosciences Univ. Massachusetts, 611 North Pleasant St., Amherst, MA, 01003-9297 ccondit at geo.umass.edu 413-545-0272 My Web Page: http://www.geo.umass.edu/faculty/condit.htm Revolution/MetaCard Dynamic Digital Maps: http://ddm.geo.umass.edu From dsc at swcp.com Fri Oct 17 12:35:06 2003 From: dsc at swcp.com (Dar Scott) Date: Fri, 17 Oct 2003 10:35:06 -0600 Subject: Mac / PC Scripting issues In-Reply-To: Message-ID: On Friday, October 17, 2003, at 09:52 AM, Stephen Messimer wrote: > I think I understand what you mean by low ASCII. This is redundant, of course! The ASCII codes are 7-bit codes. That means in a byte there is an additional 128 values, that are used as character codes in some environments. Richard is suggesting that a conservative approach is to ignore the upper codes. (The term US-ASCII is redundant, too. It is also a bit abrasive, but since it is written into several standards, it has to be used at times.) ASCII defines these non-control characters: space and these... !"#$%&'()*,-./01234567890:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ [\]^_`abcdefghijklmnopqrstuvwxyz{|}~ These have key tops on my keyboard. > Not having memorized either the Mac or PC character sets this becomes > an issue when I am using a particular character. It would be nice to > have a simple list that points out areas where the two character sets > diverge. If you need special characters, you might want to consider unicode. It is the in thing. What do people say? "It is all the rave!" or "all the rage!" Something like that. I expect unicode in Revolution to mature. Dar Scott From dsc at swcp.com Fri Oct 17 12:46:25 2003 From: dsc at swcp.com (Dar Scott) Date: Fri, 17 Oct 2003 10:46:25 -0600 Subject: Mac / PC Scripting issues In-Reply-To: Message-ID: <7284B03E-00C1-11D8-B803-000A9567A3E6@swcp.com> > > It would be nice to have a simple list that points out areas where the > two character sets diverge. > This might help: http://www1.tip.nl/~t876506/charsets.html I don't know whether the automatic mac/windows code translation used by Revolution when you open a stack on a different platform matches the tables there for the common characters. Dar Scott From dsc at swcp.com Fri Oct 17 12:47:36 2003 From: dsc at swcp.com (Dar Scott) Date: Fri, 17 Oct 2003 10:47:36 -0600 Subject: Rev2.1 Bug on a Dell Inspiron and some Dell Desktops - bugzilla #794 In-Reply-To: <2DF12A04-00BE-11D8-86EB-000A95763ABC@macosx.com> Message-ID: <9CBE7916-00C1-11D8-B803-000A9567A3E6@swcp.com> On Friday, October 17, 2003, at 10:23 AM, Barry Levine wrote: > I've filed a Bugzilla report (#794) How'd you do that? I can't see bugzilla. Dar Scott From lists at mangomultimedia.com Fri Oct 17 12:49:32 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 Oct 2003 10:49:32 -0600 Subject: target(), mouseControl(), etc. when mouse button is down In-Reply-To: Message-ID: On Friday, October 17, 2003, at 03:18 AM, Martin Baxter wrote: > Trevor, > > Some variation of this script in your stack or card script might do > what > you want. I find it works the same whether the mouse button is up or > down. > I use a version of this as a development utility so I can get the name > of > objects just by pointing at them, i.e. without recourse to the > properties > palette. Hence the global to turn the behaviour on and off > > on mouseenter > global gdids > if gdids is true then > put the id of the target > end if > end mouseenter I created a new stack to test this out but it doesn't seem to be working. In the new stack I created about 10 buttons and put the following script in the card: on mouseEnter put id of target() end mouseEnter If I drag the mouse over the buttons without the left mouse button depressed it works fine. If I click on a button and then drag the mouse around then the ids are not displayed. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Fri Oct 17 12:51:56 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 Oct 2003 10:51:56 -0600 Subject: target(), mouseControl(), etc. when mouse button is down In-Reply-To: Message-ID: <37887B8C-00C2-11D8-B3F4-000A956C462A@mangomultimedia.com> On Friday, October 17, 2003, at 08:57 AM, opus.species at wanadoo.fr wrote: > >> What is the best way to find out which control the mouse is over when >> the mouse button is depressed? Functions such as target() within a >> mouseMove handler and mouseControl() placed in the group script always >> return the control the user clicked on rather than the control the >> mouse is currently over. >> >> I have a scenario where I have a series of buttons grouped together. >> If a user clicks on one of the buttons and moves over another button >> with the mouse button still depressed then I want to shift focus to >> that button. I haven't fond an efficient way of shifting focus since >> it is difficult to find out when the user moves over different >> controls >> with the mouse button down. > In the mouseDown handler set the dradData to something > > The dragEnter message is send to all controls under the mouse as long > as the mouse is down. > > I guess that this trick do the job even if you dont intend to drag and > drop This does work in that if you put the following in dragEnter: on dragEnter put id of target() end dragEnter the id of the controls is displayed properly if in the mousedown handler you put: on mouseDown set dragData["text"] to "active" end mouseDown My buttons control a QTVR movie and there seems to be a pause where the watch cursor is displayed when setting the dragData. If I could find a workaround for that then this would work perfectly. It may be that there is some oddities occuring with other code in the script. -- Trevor DeVore Blue Mango Multimedia From kray at sonsothunder.com Fri Oct 17 13:11:08 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Oct 2003 12:11:08 -0500 Subject: Selecting text using REGEX In-Reply-To: Message-ID: <028b01c394d1$aefabed0$6601a8c0@LightningFlash> > > function Trim what > > local tText > > get matchText(what,"(?s)\s*(\S.*\S)\s*",tText) > > return tText > > end Trim > > Beware this function fails for > single-character-with-whitespace strings > like " s" and " 9 ". By changing the regex to > "(?s)\s*(\S.*\S?)\s*" and > checking the result of matchText(), we can make it safer. But > it still > was failing some of my tests- I can't remember which strings though. Thanks for the heads-up, Alex. I'll see if there's a better way to do it and repost to the list when I have it... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Fri Oct 17 13:21:09 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Oct 2003 12:21:09 -0500 Subject: Mailing lists back up + where is Bugzilla? In-Reply-To: <5.2.1.1.0.20031017094655.00caf4c8@pop.wanadoo.fr> Message-ID: <028c01c394d3$16736f20$6601a8c0@LightningFlash> Yup, it's down alright... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Graham Samuel > Sent: Friday, October 17, 2003 2:54 AM > To: RunRev Users List > Subject: Re: Mailing lists back up + where is Bugzilla? > > > On Thu, 16 Oct 2003 18:22:33 +0100, Kevin Miller > wrote: > > >The mailing lists are now back up, running with updated > software on our > >new, higher capacity server. Sorry for the inconvenience while they > >were down. > > I wrote at least one message that hasn't appeared in either > of the digest > so far but didn't bounce either. My message was just a test, but can > anyone say if a lot of messages got lost? Judging by the > normal volume of > traffic, this must be so. > > Also, it seems that the link to Bugzilla is down at the RR > Bug Database > page on the RR website. Anyone else seeing this? > > > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From acidburn at libertysurf.fr Fri Oct 17 13:00:50 2003 From: acidburn at libertysurf.fr (=?iso-8859-1?Q?Pierre?=) Date: Fri, 17 Oct 2003 19:00:50 +0200 Subject: No subject Message-ID: Hello, I'm trying to call a function which is defined in a card, from another card of the same stack. I've been tryinng with the "get" and "call" keyword but each time, revolution tells me "can't find handler". Does anyone can give me the right syntax to call a function ? Do I need to define this function as a "global function" (if it is possible ...) ? Thanks a lot Pierre ********** L'ADSL A 20 EUR/MOIS********** Avec Tiscali, l'ADSL est ? 20 EUR/mois. Vous pourrez chercher longtemps avant de trouver moins cher ! Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/ Offre soumise ? conditions. From johnrule at rcsprogramming.com Fri Oct 17 10:00:43 2003 From: johnrule at rcsprogramming.com (John Rule) Date: Fri, 17 Oct 2003 07:00:43 -0700 Subject: Fonts in Linux References: <20031017131030.1FA329300ED@mail.runrev.com> Message-ID: <004801c394b7$3426cd30$6201dc0a@rcsserver> How exactly does RunRev look for fonts in Linux? It seems like it is not using the X11 folders, and TrueType fonts hardly work (there is a trick, but it is rediculous). It also seems like the RunRev engine only likes PostScript Type 1 fonts... Thanks for any info, JR From johnrule at rcsprogramming.com Fri Oct 17 10:02:03 2003 From: johnrule at rcsprogramming.com (John Rule) Date: Fri, 17 Oct 2003 07:02:03 -0700 Subject: Word wrap broken? References: <20031017131030.1FA329300ED@mail.runrev.com> Message-ID: <004901c394b7$43470640$6201dc0a@rcsserver> I can't seem to get word wrap to work...even in older version of the engine. Has this been broken for a while? This is in Windows XP... JR From ludovic.thebault at laposte.net Fri Oct 17 14:37:55 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 17 Oct 2003 20:37:55 +0200 Subject: No subject In-Reply-To: References: Message-ID: <20031017203755920736.GyazMail.ludovic.thebault@laposte.net> On Fri, 17 Oct 2003 19:00:50 +0200, Pierre wrote: > I'm trying to call a function which is defined in a card, from > another card of the same stack. I've been tryinng with the "get" and > "call" keyword but each time, revolution tells me "can't find > handler". > Does anyone can give me the right syntax to call a function ? > Do I need to define this function as a "global function" (if it is > possible ...) ? Put your function into the stack script. Ludovic From dan at clearvisiontech.com Fri Oct 17 14:49:43 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 17 Oct 2003 11:49:43 -0700 Subject: Search and Replace In-Reply-To: <20031017183012.CFB6093017B@mail.runrev.com> Message-ID: Hello all! I'm having a problem with a function that Ken Ray helped me with. I tried to fix it myself, but I don't really understand the matchChunk function. The goal is to pass searchAndReplaceMaleToFemale() whatText and return a female version of whatText. But it's not quite working correctly. When I pass: he him himself his he's boy guy He Him Himself His He's Boy Guy I get: he her herself her she's girl gal He Him Himself His He's Boy Guy There seems to be a problem if a replaceable word is the first word of a sentence, and obviously, capitalization seems to be an issue. Below is the searchAndReplaceMaleToFemale() function. Any ideas? function searchAndReplaceMaleToFemale whatText local tStart,tEnd put "he,him,himself,his,he's,boy,guy" into SearchWordsMale put "she,her,herself,her,she's,girl,gal" into SearchWordsFemale set the wholeMatches to true set the caseSensitive to false repeat forever get matchChunk(whatText,"[^A-Za-z0-9](boy|h(e|im|is|imself|e's)|guy)[^A-Za-z0-9] ",tStart,tEnd) if it is true then put char tStart to tEnd of whatText into tFoundChunk put (charToNum(toUpper(char 1 of tFoundChunk)) = charToNum(char 1 of tFoundChunk)) into isUpper put itemOffset(tFoundChunk,SearchWordsMale) into tItem if tItem <> 0 then put item tItem of SearchWordsFemale into temp if isUpper then put toUpper(char 1 of temp) into char 1 of temp put temp into char tStart to tEnd of whatText else -- you decide... bail? error out? ignore? end if else exit repeat end if end repeat return whatText end searchAndReplaceMaleToFemale From themacguy at macosx.com Fri Oct 17 14:51:52 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri, 17 Oct 2003 12:51:52 -0600 Subject: Bugzilla down In-Reply-To: <20031017183012.CFB6093017B@mail.runrev.com> Message-ID: Dar, I filed the bug report before Bugzilla went down as I can't even get back there now. Barry On Friday, Oct 17, 2003, at 12:30 America/Denver, Dar wrote: > On Friday, October 17, 2003, at 10:23 AM, Barry Levine wrote: > >> I've filed a Bugzilla report (#794) > > How'd you do that? I can't see bugzilla. > > Dar Scott > From Cubist at aol.com Fri Oct 17 14:53:22 2003 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 17 Oct 2003 14:53:22 EDT Subject: Mac / PC Scripting issues Message-ID: <50.239664f3.2cc194a2@aol.com> sez steve at messimercomputing.com: >Richard, > I think I understand what you mean by low ASCII. Not having memorized >either the Mac or PC character sets this becomes an issue when I am >using a particular character. It would be nice to have a simple list >that points out areas where the two character sets diverge. Strictly speaking, ASCII only deals with seven-bit binary numbers, i.e. from 0 to 127; these so-called "low ASCII" characters are the same all over. Characters that involve the 8th bit, i.e. 128 to 255, called "high ASCII", are outside of the ASCII spec, hence tend to vary wildly from platform to platform. Therefore, the solution is to make sure you never use any characters whose ASCII value is greater than 127. If you're curious, you can see which ones those are for yourself: put "High-ASCII characters" & return into Fred repeat with K1 = 128 to 255 put numToChar (K1) after Fred end repeat put Fred into field "Display case" Hope this helps... From janschenkel at yahoo.com Fri Oct 17 14:56:02 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 17 Oct 2003 11:56:02 -0700 (PDT) Subject: No subject In-Reply-To: <20031017203755920736.GyazMail.ludovic.thebault@laposte.net> Message-ID: <20031017185602.17113.qmail@web11901.mail.yahoo.com> Pierre wrote: > I'm trying to call a function which is defined in a > card, from another card of the same stack. I've > been tryinng with the "get" and "call" keyword but > each time, revolution tells me "can't find handler". > Does anyone can give me the right syntax to call a > function ? > Do I need to define this function as a "global > function" (if it is possible ...) ? Bonjour Pierre, Have a look at the entry for 'value' in the Transcript Dictionary : in RunRev it ahs a second parmeter, which allows you to set the object in which context to evaluate the expression. Example : -- script for field "snafu" function foobar pTimes repeat pTimes put "foobar" after tResult end repeat return tResult end foobar -- now call that function from the message box answer value("foobar(4)", fld "snafu") -- and you should see "foobarfoobarfoobarfoobar" Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From themacguy at macosx.com Fri Oct 17 14:56:42 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri, 17 Oct 2003 12:56:42 -0600 Subject: Installing REV in Linux - how? Message-ID: I DL'd the v2.0.3 Rev but the .tgz file (when I double-click it to open it in KDE) appears to be missing much of what needs to be there; the "engines" folder is empty, for example. I'm running YDL (Yellow Dog Linux) on my PowerBook. Taking into account I'm a Mac guy (obvious by my eMail) who expects a "drag & drop" installation, what am I doing wrong? Thanks, Barry PS - If you think this is too off-topic, you may eMail me directly. From janschenkel at yahoo.com Fri Oct 17 15:05:59 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 17 Oct 2003 12:05:59 -0700 (PDT) Subject: Installing REV in Linux - how? In-Reply-To: Message-ID: <20031017190559.60313.qmail@web11903.mail.yahoo.com> --- Barry Levine wrote: > I DL'd the v2.0.3 Rev but the .tgz file (when I > double-click it to open > it in KDE) appears to be missing much of what needs > to be there; the > "engines" folder is empty, for example. I'm running > YDL (Yellow Dog > Linux) on my PowerBook. > > Taking into account I'm a Mac guy (obvious by my > eMail) who expects a > "drag & drop" installation, what am I doing wrong? > > Thanks, > Barry > > PS - If you think this is too off-topic, you may > eMail me directly. > Hmm, and there I thought support for LinuxPPC was dropped after MetaCard 2.4.1 ? So the last one you can run on YDL should be Revolution 1.1.1 IIRC. The absence of engines is no big deal, as by default it only needs the engine for that platform -- and that's the one you're running Revolution with anyway, so it can simply make a quick copy when building a distribution. When compiling for other platforms (you do have a Studio or Enterprise, right?) it will connect to the Revolution server and download the engines it needs if it can't find them in the engines folder. Hope this clarified things a bit, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From kray at sonsothunder.com Fri Oct 17 15:26:54 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Oct 2003 14:26:54 -0500 Subject: Problem locating functions In-Reply-To: Message-ID: <000a01c394e4$a7d60020$6601a8c0@LightningFlash> Is it possible that the functions are named with reserved words in Rev? Can you provide an example of a function that Rev doesn't seem to be able to locate and where it is? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Ed McCabe > Sent: Friday, October 17, 2003 8:23 AM > To: RunRev list > Subject: Problem locating functions > > > In some of my HC stacks which I have converted to Rev, Rev is > unable to locate any functions whether they are within the > stack script or the card script. These are not externals just > functions. The message is unable to locate (function). > > help! > > Ed Mccabe > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Fri Oct 17 15:29:18 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Oct 2003 14:29:18 -0500 Subject: centering ask & answer dialogs In-Reply-To: Message-ID: <000b01c394e4$fd99df40$6601a8c0@LightningFlash> > As a work around, what I've done is hacked the revAsk and revAnswer > stacks and in the preOpen stack handler added "set the loc of me to > the screenLoc", since that seems to me to be as good a place as any > to display dialog boxes. Seemed to work fine both using the rev GUI > and when I created a stand alone, both on Mac and Win32. Can anyone > thingk of a reason i shouldn't be doing that, or where it will cause > problems? I can't think of any problems with it; Rev seems to want to center the dialog on the defaultStack, so if the defaultStack is partially offscreen, the answer/ask dialog is as well. I think what you're doing (so long as it is visually acceptable) is a good workaround. > and Rev Team: any chance of including the capability of beinag able > to choose where to place ask & answer dialog boxes, using for > example: ask "Can we do this" at 300,300 ? Once Bugzilla is back online, I'd suggest adding it as a feature request (if it's not already there). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From psahores at easynet.fr Fri Oct 17 15:32:22 2003 From: psahores at easynet.fr (Pierre Sahores) Date: 17 Oct 2003 21:32:22 +0200 Subject: Mac / PC Scripting issues In-Reply-To: References: Message-ID: <1066419141.2860.5.camel@www.kmax.ici> Le ven 17/10/2003 ? 17:52, Stephen Messimer a ?crit : > Richard, > > I think I understand what you mean by low ASCII. Not having memorized > either the Mac or PC character sets this becomes an issue when I am > using a particular character. It would be nice to have a simple list > that points out areas where the two character sets diverge. > > Thanks for your response. It will send me in the right direction. > > On Friday, October 17, 2003, at 11:27 AM, > use-revolution-request at lists.runrev.com wrote: > > >> Are these all the cross platform scripting cautions you need to be > >> aware of when developing for both the Windows and Macintosh platforms? > >> Having a complete set of information on this subject in one place > >> would > >> be most helpful. > > > > Stay with low-ASCII and you're fine. > > > > -- > > Richard Gaskin > > Fourth World Media Corporation > > Developer of WebMerge: Publish any database on any Web site > > > > Regards, > > Steve > > Stephen R. Messimer, PA > 208 1st Ave. South > Escanaba, MI 49829 > www.messimercomputing.com > -- > Build Computer-Based Training modules FAST with preceptorTools? -- > Public Beta available Now! > -- > Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.1 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Hello There, Try this utility button to stick in your in development stage apps : > on mouseUp > if the shiftkey is up then > repeat with c = 1 to 255 > put numtochar(c) && "= &#" & c & ";" & return after buffa > end repeat > answer buffa > end if > end mouseUp -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From psahores at easynet.fr Fri Oct 17 15:38:42 2003 From: psahores at easynet.fr (Pierre Sahores) Date: 17 Oct 2003 21:38:42 +0200 Subject: No subject In-Reply-To: References: Message-ID: <1066419521.2859.11.camel@www.kmax.ici> Le ven 17/10/2003 ? 19:00, Pierre a ?crit : > Hello, > > I'm trying to call a function which is defined in a card, from another card of the same stack. I've been tryinng with the "get" and "call" keyword but each time, revolution tells me "can't find handler". > Does anyone can give me the right syntax to call a function ? > Do I need to define this function as a "global function" (if it is possible ...) ? > > Thanks a lot > > Pierre > > ********** L'ADSL A 20 EUR/MOIS********** > Avec Tiscali, l'ADSL est ? 20 EUR/mois. Vous pourrez chercher longtemps avant de trouver moins cher ! > Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/ > Offre soumise ? conditions. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Bonsoir Pierre, Try this : Send mouseup to btn "x" of cd "y" where btn "x" contains : on mouseup handlerz # where "handlerz" lies on the card script end mouseup -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From psahores at easynet.fr Fri Oct 17 15:47:06 2003 From: psahores at easynet.fr (Pierre Sahores) Date: 17 Oct 2003 21:47:06 +0200 Subject: Installing REV in Linux - how? In-Reply-To: References: Message-ID: <1066420026.2860.19.camel@www.kmax.ici> Le ven 17/10/2003 ? 20:56, Barry Levine a ?crit : > I DL'd the v2.0.3 Rev but the .tgz file (when I double-click it to open > it in KDE) appears to be missing much of what needs to be there; the > "engines" folder is empty, for example. I'm running YDL (Yellow Dog > Linux) on my PowerBook. > > Taking into account I'm a Mac guy (obvious by my eMail) who expects a > "drag & drop" installation, what am I doing wrong? > > Thanks, > Barry > > PS - If you think this is too off-topic, you may eMail me directly. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Hello, Bad news for us, the LinuxPPC "afficionados"... If i right remember, there is no, for yet, LinuxPPC engine available for Rev 2 ;-< The last one available was, again if i good remember, the Metacard 2.4 one. -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From runrev at rivertext.com Fri Oct 17 15:49:24 2003 From: runrev at rivertext.com (Brian Thomas) Date: Fri, 17 Oct 2003 12:49:24 -0700 Subject: must restart in OS X after install ?? - re: Monks In-Reply-To: <20031017183012.B31A493017A@mail.runrev.com> References: <20031017183012.B31A493017A@mail.runrev.com> Message-ID: My Revolution CD, If Monks had Macs, is being beta tested now -- and several people on the list are testing it. By far the most reported bug is that under Mac OS 10.2 the program doesn't launch right after an install . Everyone has got it to launch -- some people after restarting the computer. Or some as in this example -- after doing other things. Once it works, it works. I was aware of this kind of issues and kept a "virgin" machine to test the beta version on, but... What is somewhat unique about If Monks is that it is not launched by clicking on the standalone, but on a document linked to that standalone. This is our weakest link only on OS X. [The reason that If Monks is launched in such an unusual fashion is that it contains 2 application that can run simultaneously, and we didn't want to make it 3 applications] So I guess that what is happening is that OS X is not recognizing the creator code link we use soon enough for us: Here is a comment from one of the testers: 1) After doing the install on os x (10.2.8) I got a dialog saying that no application was selected to open the "If Monks Had Macs" document. I played around with Sophie and the next time I tried double clicking the IMHM document the app opened without problems. Sophie is the other application included with If Monks. ------------ ****** Does anybody know why OS X doesn't recognize creator codes right away. Or if there is something we can do to speed up the recognition? ******** ****** Do you think it is outrageous to ask OSX users to restart their computers after an install:? *** I'm using InstallerMaker to create to make the installers. Thanks for reading this long request. But it isn't long compared to how long this software has been in development!! -- Brian From ambassador at fourthworld.com Fri Oct 17 15:58:44 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Oct 2003 12:58:44 -0700 Subject: Mac / PC Scripting issues In-Reply-To: Message-ID: Stephen Messimer wrote: > I think I understand what you mean by low ASCII. Not having memorized > either the Mac or PC character sets this becomes an issue when I am > using a particular character. It would be nice to have a simple list > that points out areas where the two character sets diverge. 1234567890 abcdefghijklmnopqstuvwxyz !"@#$%^&*()_-=+\|[] No memorization required: as a general rule, if you have to use the Option key to enter it it's an OS-specific high-ASCII character. Keep in mind that some valid chars have special purposes in Transcript, like "[]" for denoting arrays, "^" for exponents, "\" for line continuation, "&" for concatenation, etc. And remember that that really low ASCII (0-31) are control characters that have special purposes in all ASCII usages, like ASCII 13 for carriage return and ASCII 9 for tab. Given these two considerations, for var and handler names you're best served by sticking to alphanumeric chars and underscores. Periods are accepted by the interpreter as part of a var or handler name but should not be relied on in anticipation of OOP implementation in a future version of the language. It's my understanding that the few Mac-specific chars entered with the Option key in HyperCard (e.g., Option-L, ?, for line continuation) are supported by the interpreter for compatibility with Mac-specific xTalks; they are not recommended because non-Mac systems do not display them properly, but I believe they still work (at least ? and ?, but I haven't tried others). -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From yvescoppe at skynet.be Fri Oct 17 16:05:17 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 17 Oct 2003 22:05:17 +0200 Subject: Drawer and Mac OS X Message-ID: <3A3A23C0-00DD-11D8-B710-000393533246@skynet.be> Hi list Happy to hear you again after the down period Is it possible to have something like go to cd 3 of stack "B" as drawer at bottom in stack "A" I can't find the way. Thanks. Greetings. Yves COPPE yvescoppe at skynet.be From themacguy at macosx.com Fri Oct 17 16:09:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri, 17 Oct 2003 14:09:00 -0600 Subject: YDL Linux support In-Reply-To: <20031017193632.2D7349301AD@mail.runrev.com> Message-ID: Jan, Thanks for the info. I do have a Studio license and I'd like to try the Linux version (for PPC). Do you (or anyone, for that matter) have an unlicensed installer for 1.1.1 for Linux that they'd like to make available for DL? Thanks, Barry On Friday, Oct 17, 2003, at 13:36 America/Denver, Jan wrote: > > Hmm, and there I thought support for LinuxPPC was > dropped after MetaCard 2.4.1 ? So the last one you can > run on YDL should be Revolution 1.1.1 IIRC. > The absence of engines is no big deal, as by default > it only needs the engine for that platform -- and > that's the one you're running Revolution with anyway, > so it can simply make a quick copy when building a > distribution. > When compiling for other platforms (you do have a > Studio or Enterprise, right?) it will connect to the > Revolution server and download the engines it needs if > it can't find them in the engines folder. > > Hope this clarified things a bit, > > Jan Schenkel. > > --- Barry Levine wrote: >> I DL'd the v2.0.3 Rev but the .tgz file (when I >> double-click it to open >> it in KDE) appears to be missing much of what needs >> to be there; the >> "engines" folder is empty, for example. I'm running >> YDL (Yellow Dog >> Linux) on my PowerBook. >> >> Taking into account I'm a Mac guy (obvious by my >> eMail) who expects a >> "drag & drop" installation, what am I doing wrong? >> >> Thanks, >> Barry >> >> PS - If you think this is too off-topic, you may >> eMail me directly. >> From themacguy at macosx.com Fri Oct 17 16:13:29 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri, 17 Oct 2003 14:13:29 -0600 Subject: Linux PPC 1.1.1 found! - never mind. Message-ID: <5F68573A-00DE-11D8-8D4F-000A95763ABC@macosx.com> I found the link to the 1.1.1 DL's. Never mind. Barry From steve at messimercomputing.com Fri Oct 17 16:18:45 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Fri, 17 Oct 2003 16:18:45 -0400 Subject: MAc / PC Scripting Issues In-Reply-To: <20031017183012.CFB6093017B@mail.runrev.com> Message-ID: <1BEAC5BC-00DF-11D8-A9E2-000A27D75508@messimercomputing.com> Dar et al Thanks to everyone who helped with this issue. Dang I love this group. :-) On Friday, October 17, 2003, at 02:30 PM, use-revolution-request at lists.runrev.com wrote: > This might help: It did indeed this is a great reference. I repost it here just in case anyone else might want to take a look. http://www1.tip.nl/~t876506/charsets.html > I don't know whether the automatic mac/windows code translation used by > Revolution when you open a stack on a different platform matches the > tables there for the common characters. I'll bet it does. And the reason Rev talks about scripting cautions is that those Mac characters aren't represented in the windows tables. I think I have a pretty clear idea now which characters to avoid using in scripts. Out of the 255 Characters in the Macintosh set there are 25 that are not represented in the Windows character set. Of those I think there are only 3 that are used in scripting. They are: ? not equal, < > should be used instead ? less than or equal, =< should be used instead ? greater then or equal, >= should be used instead There might also be an issue with the " / " fraction character as it isn't represented in the Windows character set either. source: http://www1.tip.nl/~t876506/Probl1.gif If any one else can add to this list please feel free to do so. Thanks so much to you all. Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available Now! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 From graham.samuel at wanadoo.fr Fri Oct 17 12:05:14 2003 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Fri, 17 Oct 2003 18:05:14 +0200 Subject: Default path in answer file Message-ID: <5.2.1.1.0.20031017172124.00c73738@pop.wanadoo.fr> I wrote: >I've set up a default path for an answer file command (on Windows XP) and >RunRev seems to be ignoring the path specification. In a desperate attempt >to understand what's happening, I executed this script: > > answer "about to request file from"&&scgTheFolder&"/" > answer file scgFileSelectText with scgTheFolder&"/" with filter "Data > Files,*.scs;*.scp" > >The path in scgTheFolder is of the form C:/Program Files/Revolution 2.1/Data > >but when the open dialog is shown, it has defaulted to a different place >on the 'C' drive (probably the last place from which RR read a file). > >What did I do wrong? Since I wrote this, Ken Ray has pointed out (thanks, Ken) that if the folder doesn't exist, then answer file defaults to the last folder you used with a file dialog box, which is the same action that occurs when no defaultPath is specified. However, I absolutely know the folder does exist, and indeed I take steps to make sure it's there by creating it before the answer file is executed. I think I've found a bug, since this acts as if there was no defaultPath: answer file "Get a File" with scgTheTestFolder&"/" whereas this works: put scgTheTestFolder&"/" into temp answer file "Get a File" with temp So it looks like a quirk in the engine. Can anyone confirm this? Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From sanke at hrz.uni-kassel.de Fri Oct 17 16:49:13 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 17 Oct 2003 22:49:13 +0200 Subject: centering ask & answer dialogs Message-ID: <3F9055C9.736F4DB0@hrz.uni-kassel.de> On Fri, 17 Oct 2003 , "Ken Ray" wrote: > > As a work around, what I've done is hacked the revAsk and revAnswer > > stacks and in the preOpen stack handler added "set the loc of me to > > the screenLoc", since that seems to me to be as good a place as any > > to display dialog boxes. Seemed to work fine both using the rev GUI > > and when I created a stand alone, both on Mac and Win32. Can anyone > > thingk of a reason i shouldn't be doing that, or where it will cause > > problems? > > I can't think of any problems with it; Rev seems to want to center the > dialog on the defaultStack, so if the defaultStack is partially > offscreen, the answer/ask dialog is as well. I think what you're doing > (so long as it is visually acceptable) is a good workaround. > > > and Rev Team: any chance of including the capability of beinag able > > to choose where to place ask & answer dialog boxes, using for > > example: ask "Can we do this" at 300,300 ? > > Once Bugzilla is back online, I'd suggest adding it as a feature request > (if it's not already there). > > Ken Ray > Hello Ken, we had a similar discussion in May this year. I have also hacked the answer and ask dialogs and provided a version that can place the dialogs anywhere on the screen. Here is my post of May 3rd "New locs for old dialogs": "There are two minor changes in my sample stacks "NewLocAnswer-Metacard.mc" and "NewLocAnswer-Revolution.rev" and its "answer dialog" substacks in folder "ftp://ftp.hrz.uni-kassel.de/pub/uni-kassel/Zentraler.Medienbereich/Sanke/Metacard/MetacardPractice/" - an added script line in the script of the "answer dialog" that resets the loc-setting behavior to default if no "NewLoc" property is specified before calling the dialog - a slightly "didactically" improved surface of the sample stacks The added script line resets the modified answer dialog to "normal" behavior under Revolution and Metacard, i.e. if you do not specify a NewLoc the dialog acts as you are used to it. But if you see the need to place the answer dialog anywhere relative to the stack or on the screen, you can do that. It is not too difficult to modify your own answer dialog (or the ask dialog accordingly) with the two additional script lines as shown in the sample stacks or you could even substitute your answer dialogs with the modified version, but be careful if you do that and backup before. But you can also attach the modified versions as substacks to your applications and thus also have the option to use both the normal and improved loc-setting feature of the answer command." Regards, Wilhelm Sanke From ambassador at fourthworld.com Fri Oct 17 16:46:42 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Oct 2003 13:46:42 -0700 Subject: centering ask & answer dialogs In-Reply-To: <3F9055C9.736F4DB0@hrz.uni-kassel.de> Message-ID: Wilhelm Sanke wrote: > I have also hacked the > answer and ask dialogs and provided a version that can place the dialogs > anywhere on the screen. I needed to center the ask and answer fialogs once, but rather than alter the code every time I copied those stacks into my stack file I just added a frontscript: on preOpenStack if the short name of this stack is in "ask dialog,answer dialog" then set the loc of this stack to the screenLoc end if pass preOpenStack end preOpenStack -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From sanke at hrz.uni-kassel.de Fri Oct 17 17:17:49 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 17 Oct 2003 23:17:49 +0200 Subject: Drawer and Mac OS X Message-ID: <3F905C7D.ADABCF39@hrz.uni-kassel.de> On Fri Oct 17 Yves COPPE wrote: > Hi list > > Happy to hear you again after the down period > > Is it possible to have something like > > > go to cd 3 of stack "B" as drawer at bottom in stack "A" > > I can't find the way. > > Thanks. > > Greetings. > Yves COPPE > Hi Yves, I remember dimly somebody had found out you cannot do this. But you can use my own solution of the problem where you can attach drawer stacks or substacks with any number of cards that can be accessed directly. . Here is my post (to the Metacard list) of August 28th: "Reacting to a discussion we had on the Metacard list about the new drawer command and some posts on the use-revolution list I have uploaded a sample stack "drawers2.zip" to "ftp.hrz.uni-kassel.de/pub/uni-kassel/Zentraler.Medienbereich/Sanke/Metacard/MetacardPractice/" 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 From davis.phil at comcast.net Fri Oct 17 17:23:50 2003 From: davis.phil at comcast.net (Phil Davis) Date: Fri, 17 Oct 2003 14:23:50 -0700 Subject: docs vs. experience - 'start using' Message-ID: I notice that the Rev docs about the 'start using' command describe only the script library aspects of the command. They say nothing about how 'start using' also gives the 'using' stack access to images stored in the 'used' stack. Example: - Stack B contains image ID 3333 - Stack A contains no images In Stack A: on openStack start using stack "B" set the icon of btn 1 to 3333 end openStack This works. It also worked in MC for as long as I can remember. My Big Question: Is it a bug, or an undocumented feature? More precisely, is it likely to go away once discovered by the Rev Dev Team, or be documented, or be left unaddressed? I would like to use this capability but don't know if I safely dare. Thanks - Phil Davis From lists at mangomultimedia.com Fri Oct 17 17:41:37 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 Oct 2003 15:41:37 -0600 Subject: Lingo BBEdit Language Module - Useful with Transcript In-Reply-To: Message-ID: For anyone who likes to edit their transcript outside of the script editor I found a Lingo Language Module for BBEdit that works pretty well for Transcript. It recognizes all commands in the function drop-down (unfortunately not functions) and does a good job of hiliting strings, etc. I use Alex Rice's MLXEditor on occasion and this makes working with the files in BBEdit much easier. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From kray at sonsothunder.com Fri Oct 17 18:02:08 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Oct 2003 17:02:08 -0500 Subject: Default path in answer file In-Reply-To: <5.2.1.1.0.20031017172124.00c73738@pop.wanadoo.fr> Message-ID: <001f01c394fa$582f8530$6601a8c0@LightningFlash> > I think I've found a bug, since this acts as if there was no > defaultPath: > > answer file "Get a File" with scgTheTestFolder&"/" Can you try: answer file "Get a File" with (scgTheTestFolder&"/") Sometimes it's all in the parentheses... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From FMoyer at aol.com Fri Oct 17 18:29:27 2003 From: FMoyer at aol.com (FMoyer at aol.com) Date: Fri, 17 Oct 2003 18:29:27 EDT Subject: Deleting lines in a field... Message-ID: <19a.1bc892f9.2cc1c747@aol.com> > >Message: 5 >Date: Fri, 17 Oct 2003 07:48:04 -0700 >From: Richard Gaskin >Subject: Re: Deleting lines in a field... >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >FMoyer at aol.com wrote: > >> I am confused by everyone's responses. I am experiencing the same thing >as >> John. But that is the way it has always been -- in Hypercard, in Metacard >and >> in >> all versions I've used of Revolution. If you have 10 lines in fld "test" >and >> type >> delete line 3 of fld "test" >> you still have 10 lines; the only difference is that line 3 is blank. > >That's not how it works in HyperCard, Rev, or any of the xTalks as far >as I >can recall. After being mystified by this thread I double-checked both >Rev >and HyperCard. > >To get the blank line you'd use: > > put empty into line 3 of fld "test" > > Wow! I learn something new everyday! I misread John's email. I honestly didn't know you could just type delete line 3 of fld "test" and get rid of the whole line and the carriage return. Besides feeling stupid, I'm overjoyed that I don't have to go to such ridiculous lengths to delete a line and keep textstyles intact. From erikhans08 at yahoo.com Fri Oct 17 18:52:51 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri, 17 Oct 2003 15:52:51 -0700 (PDT) Subject: functions to return properties? In-Reply-To: <19a.1bc892f9.2cc1c747@aol.com> Message-ID: <20031017225251.54957.qmail@web20008.mail.yahoo.com> is there any reason NOT to use: function myVar return (the uMyVar of this stack) end return in scripts? it sure saves script space. thanks, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From ambassador at fourthworld.com Fri Oct 17 19:10:21 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Oct 2003 16:10:21 -0700 Subject: functions to return properties? In-Reply-To: <20031017225251.54957.qmail@web20008.mail.yahoo.com> Message-ID: erik hansen wrote: > is there any reason NOT to use: > > function myVar > return (the uMyVar of this stack) > end return > > in scripts? > it sure saves script space. It sure does, with many benefits. Such functions are generically referred to as "accessors", and can be a very smart way to handle things. By creating simple functions to access data, as you've found it simplifies coding, reducing errors which in turn reduces development and maintence time. But more significantly, accessors route all of your storage-handling to a small set of functions that could, ideally, be tossed into a library or backscript for global access. With the philosophy that separating code, data, and UI keep large projects easier to maintain and enhance, accessors support this philosophy well by minimizing hard-coded references to data storage mechanisms. If, for example, you decide in a future version of your app to migrate custom props to a database, you'd only need to update your accessor functions contained in one small library and the rest of your code throughout your app continues to work without modification; used consistently, you'll never have to wonder if you've caught all of the places your code refers to storage mechanisms. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Fri Oct 17 19:17:41 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Oct 2003 16:17:41 -0700 Subject: Deleting lines in a field... In-Reply-To: <19a.1bc892f9.2cc1c747@aol.com> Message-ID: FMoyer at aol.com wrote: >> FMoyer at aol.com wrote: >> >>> I am confused by everyone's responses. I am experiencing the same thing >> as >>> John. But that is the way it has always been -- in Hypercard, in Metacard >> and >>> in >>> all versions I've used of Revolution. If you have 10 lines in fld "test" >> and >>> type >>> delete line 3 of fld "test" >>> you still have 10 lines; the only difference is that line 3 is blank. >> >> That's not how it works in HyperCard, Rev, or any of the xTalks as far >> as I >> can recall. After being mystified by this thread I double-checked both >> Rev >> and HyperCard. >> >> To get the blank line you'd use: >> >> put empty into line 3 of fld "test" >> >> > Wow! I learn something new everyday! I misread John's email. I honestly > didn't know you could just type > delete line 3 of fld "test" > and get rid of the whole line and the carriage return. Besides feeling > stupid, I'm overjoyed that I don't have to go to such ridiculous lengths to > delete a line and keep textstyles intact. No chagrin; there isn't enough bandwidth for me to list all of the assumptions I've made mistakenly about xTalk usage. It was my own lack of confidence on this issue that prompted me to boot HC and verify. :) I think that's the key: when in doubt, test. And if you've ever submitted a bug report to Scott Raney you've probably had the lecture about the usefulness of testing in isolation, outside of the context of your app where other factors can come into play in unexpected ways. Oh, the embarassing moments of submitting a bug report only to find the issue was one of my too-clever frontscripts.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From erikhans08 at yahoo.com Fri Oct 17 19:50:52 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri, 17 Oct 2003 16:50:52 -0700 (PDT) Subject: functions to return properties? In-Reply-To: Message-ID: <20031017235052.75388.qmail@web20007.mail.yahoo.com> --- Richard Gaskin wrote: > erik hansen wrote: > > > is there any reason NOT to use: > > > > function myVar > > return (the uMyVar of this stack) > > end return > > > > in scripts? > > it sure saves script space. > > It sure does, with many benefits. > > Such functions are generically referred to as > "accessors", and can be a very > smart way to handle things. By creating > simple functions to access data, > as you've found it simplifies coding, reducing > errors which in turn reduces > development and maintence time. > > But more significantly, accessors route all of > your storage-handling to a > small set of functions that could, ideally, be > tossed into a library or > backscript for global access. With the > philosophy that separating code, > data, and UI keep large projects easier to > maintain and enhance, accessors > support this philosophy well by minimizing > hard-coded references to data > storage mechanisms. > > If, for example, you decide in a future version > of your app to migrate > custom props to a database, you'd only need to > update your accessor > functions contained in one small library and > the rest of your code > throughout your app continues to work without > modification; used > consistently, you'll never have to wonder if > you've caught all of the places > your code refers to storage mechanisms. > > -- > Richard Gaskin > Fourth World Media Corporation > > ___________________________________________________________ > Ambassador at FourthWorld.com > http://www.FourthWorld.com > Tel: 323-225-3717 AIM: > FourthWorldInc thanks, and thanks again for the article on naming conventions like uMyProp, pMyParam etc. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From katir at hindu.org Fri Oct 17 20:24:03 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Fri, 17 Oct 2003 14:24:03 -1000 Subject: POST variables to CGI via URL with URLencoded string fails?? In-Reply-To: Message-ID: <60B9CEDB-0101-11D8-A451-000A959D0AC6@hindu.org> Aloha from Hawaii, "wonderful Dave!" OK, that works great... can we depend on the order of the environment variables? i.e This works: put urlDecode (value(item 3 of the globals)) into tRemit and delivers the $QUERY_STRING value.. but if the order changed the cgi would break (depends on $QUERY_STRING being always item three of the globals) This also works and would not be affected by a change of order repeat for each item i in the globals put i & "=" & value(i) & cr after tGlobes end repeat split tGlobes by cr and "=" put urlDecode (tGlobes["$QUERY_STRING"]) into tDataIn What is recommended? Thanks, what a great list, solutions in under 18 hours ;-) Sivakatirswami On Thursday, October 16, 2003, at 11:03 PM, Dave Cragg wrote: > In this case you should be using GET not POST. > > On the server side, your script shouldn't be reading from the socket; > that will only get posted data, and in this case there is none. > Instead, it should be getting the $QUERY_STRING environment variable > which should contain this: > > name=Aloha+test&email=jiva%40hindu.org > > Cheers > Dave From jburtt at earthlink.net Fri Oct 17 22:25:58 2003 From: jburtt at earthlink.net (John) Date: Fri, 17 Oct 2003 19:25:58 -0700 Subject: Deleting lines in a field... In-Reply-To: <20031016160002.A8AB59300BA@mail.runrev.com> References: <20031016160002.A8AB59300BA@mail.runrev.com> Message-ID: > > >In previous versions of Revolution if you used a command like: > > >> delete line 3 of fld "test" >> >> the entire line would be deleted (if there were 10 lines, now there >> would be 9 lines). >> >> In version 2.1, if I use the same command, the contents of line 3 are >> deleted, but the empty line remains (there are still 10 lines in the >> field). >> >> Anybody else find this to be true? How do I delete the entire line? Have >> I missed something? > >If I remember right, this was a bug that got fixed. Are you using the >latest version of Rev? Thanks to everyone with the quick responses. I checked with all my old Rev versions (1.1.1, 2.0, 2.0.1, and 2.0.2) and the delete lines in a field command does work as expected. So, Fred, you should take a closer look. Deleting lines is suppose to work. However, in version 2.1RC1, it does not work. I will take Jacqueline's word, and hope that it has been fixed. Unfortunately for me, this was my last upgrade. I guess I'll have to try and find that old credit card and send in some money to get the latest and greatest. John > From marty at vertex.ucls.uchicago.edu Sat Oct 18 00:00:04 2003 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Fri, 17 Oct 2003 23:00:04 -0500 (CDT) Subject: docs vs. experience - 'start using' (Phil Davis) In-Reply-To: <20031018022448.5735593020A@mail.runrev.com> References: <20031018022448.5735593020A@mail.runrev.com> Message-ID: > From: "Phil Davis" > > I notice that the Rev docs about the 'start using' command describe only the > script library aspects of the command. They say nothing about how 'start > using' also gives the 'using' stack access to images stored in the 'used' > stack. > > Example: > - Stack B contains image ID 3333 > - Stack A contains no images > > In Stack A: > > on openStack > start using stack "B" > set the icon of btn 1 to 3333 > end openStack > > This works. It also worked in MC for as long as I can remember. > > My Big Question: > Is it a bug, or an undocumented feature? More precisely, is it likely to go > away once discovered by the Rev Dev Team, or be documented, or be left > unaddressed? > > I would like to use this capability but don't know if I safely dare. In HyperCard if you did a 'start using' you had access to all of the resources in that stack. I had just assumed that RunRev followed that model and have been using it that way. My vote is for for "feature" -- it's somewhat anagous to using include libraries in other programming languages and makes reusing code pretty easy. - marty -- Marty Billingsley (marty at .ucls.uchicago.edu) The University of Chicago Laboratory Schools "We are our choices...." - Sartre From kray at sonsothunder.com Sat Oct 18 00:34:15 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Oct 2003 23:34:15 -0500 Subject: Search and Replace In-Reply-To: Message-ID: <008901c39531$1f27e430$6601a8c0@LightningFlash> > he him himself his he's boy guy He Him Himself His He's Boy Guy > > I get: > > he her herself her she's girl gal He Him Himself His He's Boy Guy > > There seems to be a problem if a replaceable word is the > first word of a sentence, and obviously, capitalization seems > to be an issue. > > Below is the searchAndReplaceMaleToFemale() function. Any ideas? Dan, Here's a replacement function - it's a little "messy" (because I have to wrap 'whatText' in spaces at the beginning and strip them at the end), but it works: function searchAndReplaceMaleToFemale whatText local tStart,tEnd put "he,him,himself,his,he's,boy,guy" into SearchWordsMale put "she,her,herself,her,she's,girl,gal" into SearchWordsFemale set the wholeMatches to true set the caseSensitive to false put " " & whatText & " " into whatText repeat forever get matchChunk(whatText,"\W+((B|b)oy|(h|H)(e|im|is|imself|e's)|(g|G)uy)\W+", tStart,tEnd) if it is true then put char tStart to tEnd of whatText into tFoundChunk put (charToNum(toUpper(char 1 of tFoundChunk)) = charToNum(char 1 of tFoundChunk)) into isUpper put itemOffset(tFoundChunk,SearchWordsMale) into tItem if tItem <> 0 then put item tItem of SearchWordsFemale into temp if isUpper then put toUpper(char 1 of temp) into char 1 of temp put temp into char tStart to tEnd of whatText else -- you decide... bail? error out? ignore? end if else exit repeat end if end repeat delete char 1 of whatText delete char -1 of whatText return whatText end searchAndReplaceMaleToFemale If I find a more elegant solution, I'll let you know... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sat Oct 18 00:35:06 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Oct 2003 23:35:06 -0500 Subject: Welcome back! In-Reply-To: Message-ID: <008a01c39531$3d5bd330$6601a8c0@LightningFlash> Thanks, Heather! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Heather Williams > Sent: Friday, October 17, 2003 8:11 AM > To: use-revolution at lists.runrev.com > Subject: Welcome back! > > > Greetings again, list members! > > Great to see you all again. My sincere apologies for not > having warned you all that the lists were about to go down - > they went offline a day earlier than scheduled and my message > informing you never got through. > > The good news is the server upgrade includes some great new > upgrades to the list software. Among them is the option to > obscure email addresses when they are presented on list web > pages, even when in the text of the message. This is turned > on, and I wait with interest to see the effect. > > During the transfer it is possible that some of your list > settings may have become unset or altered. You may want to go > and check your settings and make sure everything is to your > liking. You can do this here: > http://lists.runrev.com/mailman/listinfo/use-revolution You have all been assigned new passwords. To obtain your password, enter your subscribed email address in the box at the bottom of the page and click on "unsubscribe or edit options". If you have any problems you know my address :) If you get an authentication failed message when you try to access the web interface, (and you've checked and re-entered your password), wait an hour or so and try again - it takes a little while for the new server address to propagate around the world, your ISP may not have received it yet. If you sent a message to the list between Thursday 9th October and today, Friday 17th of October, I regret it must be recorded as missing in action. Please send again (unless it was to ask what had happened to the lists...) The bug database is still offline. This should be back up on Monday, and its return to service will complete the entire operation. Once again, we apologise for any inconvenience, but the server upgrade has been well worthwhile, and is part of a far reaching program of improvements we're putting in place to make our services to you the best we possibly can. Warm Regards, Heather Your local and international listmom -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 131 7184333 Fax +44 (0) 131 7184334 ~~~ Check our web site for new Revolution editions & special offers ~~~ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From gwills at ozemail.com.au Fri Oct 10 04:49:21 2003 From: gwills at ozemail.com.au (Greg Wills) Date: Fri, 10 Oct 2003 18:19:21 +0930 Subject: Printing a file In-Reply-To: <200309212215.SAA18765@www.runrev.com> Message-ID: Hi All Is there a way to print a file that is outside of Rev? Sort of like this - which doesn't work! print URL "myPicture.jpg" Thanks Greg From yvescoppe at skynet.be Sat Oct 18 01:40:20 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 18 Oct 2003 07:40:20 +0200 Subject: Drawer and Mac OS X In-Reply-To: <3F905C7D.ADABCF39@hrz.uni-kassel.de> Message-ID: <8F7FD57F-012D-11D8-A0D9-003065E14B04@skynet.be> Le vendredi, 17 oct 2003, ? 23:17 Europe/Brussels, Wilhelm Sanke a ?crit : > Hi Yves, > > I remember dimly somebody had found out you cannot do this. > > But you can use my own solution of the problem where you can attach > drawer stacks or substacks with any number of cards that can be > accessed > directly. > > . Here is my post (to the Metacard list) of August 28th: > > "Reacting to a discussion we had on the Metacard list about the new > drawer command and some posts on the use-revolution list I have > uploaded > > a sample stack "drawers2.zip" to > > "ftp.hrz.uni-kassel.de/pub/uni-kassel/Zentraler.Medienbereich/Sanke/ > Metacard/MetacardPractice/" > > 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." > > > Thank you, I will have a look. Greetings. Yves COPPE yvescoppe at skynet.be From kray at sonsothunder.com Sat Oct 18 01:43:59 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 18 Oct 2003 00:43:59 -0500 Subject: Word wrap broken? In-Reply-To: <004901c394b7$43470640$6201dc0a@rcsserver> Message-ID: <00a701c3953a$db70a420$6601a8c0@LightningFlash> No, it works just fine so long as there is whitespace (spaces, etc.) to allow it to wrap. That is, if you have a field that can display 50 characters and you have a string that is 75 characters long (no spaces), it will not wrap the last 25 chars to the next line. HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > John Rule > Sent: Friday, October 17, 2003 9:02 AM > To: use-revolution at lists.runrev.com > Subject: Word wrap broken? > > > I can't seem to get word wrap to work...even in older version > of the engine. Has this been broken for a while? > > This is in Windows XP... > > JR > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Sat Oct 18 01:48:55 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 18 Oct 2003 00:48:55 -0500 Subject: docs vs. experience - 'start using' In-Reply-To: Message-ID: <00a901c3953b$8cabbc20$6601a8c0@LightningFlash> > Is it a bug, or an undocumented feature? More precisely, is > it likely to go away once discovered by the Rev Dev Team, or > be documented, or be left unaddressed? It's a feature; whether or not it's undocumented, I don't know (I haven't read every page in the online help)... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dcragg at lacscentre.co.uk Sat Oct 18 03:40:46 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 18 Oct 2003 08:40:46 +0100 Subject: POST variables to CGI via URL with URLencoded string fails?? In-Reply-To: <60B9CEDB-0101-11D8-A451-000A959D0AC6@hindu.org> References: <60B9CEDB-0101-11D8-A451-000A959D0AC6@hindu.org> Message-ID: At 2:24 pm -1000 17/10/03, Sannyasin Sivakatirswami wrote: >OK, that works great... can we depend on the order of the >environment variables? > >i.e > >This works: > >put urlDecode (value(item 3 of the globals)) into tRemit > >and delivers the $QUERY_STRING value.. > >but if the order changed the cgi would break (depends on >$QUERY_STRING being always item three of the globals) I don't understand why the order is important. Why can't you do this? put urlDecode($QUERY_STRING) into tRemit Cheers Dave From cowhead at mac.com Sat Oct 18 05:28:03 2003 From: cowhead at mac.com (mitchell mark) Date: Sat, 18 Oct 2003 18:28:03 +0900 Subject: Lost PlayStopped Message Message-ID: <5FCFDF0F-014D-11D8-ABB6-0030656DAB8E@mac.com> I have a weird result (mac OS 10.2x) I have a stack that has a player. The player script has "on playStopped"..etc. It works fine in the Rev Development environment but the SAME stack opened by the standAlone does not work. Seems the playStopped message is not getting to the player with the standAlone engine? BUT, when I click on a field on that card in the stand alone, suddenly the "on playstopped" handler runs, and the thing works fine thereafter until the stand alone is quit. But if I quit and restart, I have to click on the field again to get the first 'playstopped' handler to run again. If I make the field non-focusable, there is nothing I can do to get the "on playstopped" handler to run. I believe I'm using the latest QT. The standalone was made with Rev 2.02. I have downloaded the latest rev, but none of my license codes seem to work. thanks, mm From cowhead at mac.com Sat Oct 18 05:28:42 2003 From: cowhead at mac.com (mitchell mark) Date: Sat, 18 Oct 2003 18:28:42 +0900 Subject: conflicting globals Message-ID: <768D056C-014D-11D8-ABB6-0030656DAB8E@mac.com> I have a standalone to which I add stack little by little. My scripting style uses a lot of globals, and I tend to use the same names (e.g. myStart). Thus, I am running into occasional global conflicts when more than one stack is opened at a time. This will only get worse as I add more stacks. I don't want to change my scripting style (ie use more custom props, handler local vars, etc) nor my naming conventions (saves typing and easy to remember for me). So I want a global global changer: something that will change the names of all the global vars globally throughout a given stack. I want a script that will go through the stack on completion and add a stack specific bit of my choosing (eg "-plzt1") to each global variable in any and all scripts throughout the stack. I don't think this will be too hard to write, but if anyone already has one, can I have it? Of if anyone knows another easy way, please let me know. thanks mark mitchell From ttasovac at princeton.edu Sat Oct 18 05:38:18 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Sat, 18 Oct 2003 11:38:18 +0200 Subject: Lost PlayStopped Message In-Reply-To: <5FCFDF0F-014D-11D8-ABB6-0030656DAB8E@mac.com> Message-ID: Mark, there is a series of problems with QuickTime in standalone on Mac OSX -- I also had a case last week where things worked ok in the development environment, but would not work in the standalone. The guys from the RunRev team are aware of it and working on the engine solution, but they suggested in the meantime a workaround that forces the player to refresh... I don't know if this will solve your particular problem (i wasn't having problems with onPlayStopped), but it may give you an idea... local isplaying on playstarted put true into isplaying send refreshme to me in 300 milliseconds end playstarted on refreshme if isplaying is true then set the opaque of me to not the opaque of me send refreshme to me in 300 milliseconds end if end refreshme on playStopped put false into isplaying end playStopped all best, Toma Am Samstag, 18.10.03 um 11:28 Uhr schrieb mitchell mark: > I have a weird result (mac OS 10.2x) I have a stack that has a > player. The player script has "on playStopped"..etc. It works fine > in the Rev Development environment but the SAME stack opened by the > standAlone does not work. Seems the playStopped message is not > getting to the player with the standAlone engine? > > BUT, when I click on a field on that card in the stand alone, suddenly > the "on playstopped" handler runs, and the thing works fine thereafter > until the stand alone is quit. But if I quit and restart, I have to > click on the field again to get the first 'playstopped' handler to run > again. If I make the field non-focusable, there is nothing I can do > to get the "on playstopped" handler to run. I believe I'm using the > latest QT. > > The standalone was made with Rev 2.02. I have downloaded the latest > rev, but none of my license codes seem to work. > > thanks, > mm > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From gwills at ozemail.com.au Sat Oct 18 08:48:12 2003 From: gwills at ozemail.com.au (Greg Wills) Date: Sat, 18 Oct 2003 22:18:12 +0930 Subject: Saving to a Stack In-Reply-To: <20031017131030.817C89300EE@mail.runrev.com> Message-ID: <5560F00A-0169-11D8-9A07-000A2791139E@ozemail.com.au> Welcome back everyone! Could some kind sole please give me a hand with the process of saving updated information into a field in a standalone substack. I have read a number of items on the subject, but I am the type of leaner that has to do it by example and then I get it. (I haven't got it yet.) I have put together a very simple stack to run my test. Could someone please give me some guidance to his wayward son!! Here is what I have - that does not work. Main stack - "InfoStack" with a field where data is entered - "Masterfield" Substack - "DataCollector" with a field to hold updated data - "Holder" In the mainstack script I have; on preOpenStack set the stackFiles of this stack to "DataCollector" -- is this correct? end preOpenStack On a Mainstack card with the field "Masterfield" I have a button with the script; -- to put added data into the "Holder" field in the sub stack "DataCollector". on mouseUp put field "Masterfield" into field "Holder" of stack "DataCollector" save stack "DataCollector" end mouseUp On the same card there is another button to update this field "Masterfield" from the saved state of the substack. on mouseUp put field "Holder" of stack "DataCollector" into field "Masterfield" of this card end mouseUp This works fine in Rev but not as a standalone. When I build a Distribution I have checked "Automaticaly set stackfiles on mainstack", "Move substacks into individual files" and "Create folder for sub stacks" (data). I imagined that the substack, "DataCollector" would be put into the "data" folder in this build - but it doesn't. Is this right? (Using Rev 2.0.2, Mac OSX) I am missing something I know, but don't now what. Thanks in advance. Greg From klaus at major-k.de Sat Oct 18 09:24:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sat, 18 Oct 2003 15:24:00 +0200 Subject: Saving to a Stack In-Reply-To: <5560F00A-0169-11D8-9A07-000A2791139E@ozemail.com.au> Message-ID: <56035E24-016E-11D8-B844-000A27B49A96@major-k.de> Hi Greg, > ... > In the mainstack script I have; > > on preOpenStack > set the stackFiles of this stack to "DataCollector" -- is this > correct? I guess not :-) See below... > end preOpenStack > > On a Mainstack card with the field "Masterfield" I have a button with > the script; -- to put added data into the "Holder" field in the sub > stack "DataCollector". > > on mouseUp > put field "Masterfield" into field "Holder" of stack "DataCollector" > save stack "DataCollector" > end mouseUp > > On the same card there is another button to update this field > "Masterfield" from the saved state of the substack. > > on mouseUp > put field "Holder" of stack "DataCollector" into field "Masterfield" > of this card > end mouseUp > > > This works fine in Rev but not as a standalone. > > When I build a Distribution I have checked "Automaticaly set > stackfiles on mainstack", !!! > "Move substacks into individual files" and "Create folder for sub > stacks" (data). !!! > I imagined that the substack, "DataCollector" would be put into the > "data" folder in this build - but it doesn't. > Is this right? Partly :-) This is an OS X feature! Please Control-click on the standalone in the finder and choose "Show contents" (or soemthing like that...) and another folder will open. Standalones on OS X ARE folders in disguise ;-) There you find another folder called "Contents". Open it and you will have some files and 2 other folders... Open the folder "MacOS" and there you will find "Revolution", which is the standalone and the "missing" folder "data"... Interesting, isn't it?!!! ;-) > (Using Rev 2.0.2, Mac OSX) > > I am missing something I know, but don't now what. It looks like you are overwriting the (correct) stackfiles-property that the standalonebuilder has already set! After moving substacks into a folder "data", the standalonebuilder sets the stackfiles to: "data/DataCollector" and your preopenstack-handler overwrites it with "DataCollector" again... BUT there is no stack "DataCollector"! Its "data/DataCollector" now!!! > Thanks in advance. I have not checked it by myself, but give it a try ;-) > Greg Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From kkaufman at snet.net Sat Oct 18 09:50:54 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat, 18 Oct 2003 09:50:54 -0400 Subject: Rev2.1 Bug on a Dell Inspiron and some Dell Desktops - bugzilla #794 Message-ID: <179CA91A-0172-11D8-A6C0-0003937052EC@snet.net> Well, this has nothing to do with the visual bug you mention, but my stack also does "funny" things on Dell laptops: MIDI file playback through QT sometimes results in a horrible scratching sound instead of the expected pitches. This happens on-and-off, but will always happen at least a few times each time the program is run (MIDI Builder Rev. 2.1 standalone for Windows, running on XP Pro). As an aside: I have to admit that I don't know how the Rev team can keep up with all of these problems; at least where Apple Computer is concerned there is a limited number of expected hardware configurations. How could Rev be expected to predict how Win_OS_x would work on Hardware_y (and in this case using QT_version_z!) ?? KK From kkaufman at snet.net Sat Oct 18 09:39:06 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat, 18 Oct 2003 09:39:06 -0400 Subject: Lost PlayStopped Message Message-ID: <7190F396-0170-11D8-A6C0-0003937052EC@snet.net> Mark, There are some problems I've encountered using QuickTime audio in Rev 2.x standalones on Mac OS X. A bug report has been entered at Bugzilla (Thanks, Jeanne!), and hopefully we'll see these issues resolved sometime soon. In the meantime, I use Rev. 1.1.1 since much of my work involves sound/QT. -Kurt From rcozens at pon.net Sat Oct 18 09:49:45 2003 From: rcozens at pon.net (Rob Cozens) Date: Sat, 18 Oct 2003 06:49:45 -0700 Subject: Saving to a Stack In-Reply-To: <56035E24-016E-11D8-B844-000A27B49A96@major-k.de> References: <56035E24-016E-11D8-B844-000A27B49A96@major-k.de> Message-ID: >Standalones on OS X ARE folders in disguise Greg, Klaus, et al: For this reason, as well as the Distribution Builder's apparent inability to place non-stack files & folders in distribution folders, I find it easier to: * manually build a distribution folder containing all files & stacks except the standalone * designate NO files (except Rev Libraries) other than the standalone source stack and No folders to the Distribution Builder * drag the completed standalone to my distribution folder once its built. Another approach to this particular OS X "feature" is to have the standalone search multiple paths for the stacks & other files it needs. Eg: On Mac OS X platforms, my file search handler looks in both the folder containing the "application bundle" and the folder in the app bundle that contains the actual standalone. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "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) From johnrule at rcsprogramming.com Sat Oct 18 11:21:44 2003 From: johnrule at rcsprogramming.com (John Rule) Date: Sat, 18 Oct 2003 08:21:44 -0700 Subject: Word wrap is ok References: <20031018093701.2909C93024E@mail.runrev.com> Message-ID: <001201c3958b$90ce0740$6201dc0a@rcsserver> (From Ken Ray) > No, it works just fine so long as there is whitespace (spaces, etc.) to allow it to wrap My mistake...I was testing by just typing a bunch of chars in the field. That would be 'Char Wrap' wouldn't it! ;-) Thanks Ken, JR From graham.samuel at wanadoo.fr Sat Oct 18 12:15:27 2003 From: graham.samuel at wanadoo.fr (Graham Samuel) Date: Sat, 18 Oct 2003 18:15:27 +0200 Subject: Activating a button script when not in browse mode Message-ID: <5.2.1.1.0.20031018180956.00c4c5f8@pop.wanadoo.fr> This must be easy since it works in the IDE itself, but I can't see how to do the following: I want to create a button on a card that operates on a selected object on another card (this is to set certain custom props of the object as part of my development process - I need to do this a lot, so I wanted to automate it to some extent). I can easily create and script the button, but of course I can only select an object when I'm out of browse mode (when the cursor is an arrow), and then the button won't fire. I've tried sending 'mouseUp' to my button via the message box, but this doesn't seem to work. Can anyone explain how the trick can be done? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From dsc at swcp.com Sat Oct 18 12:20:04 2003 From: dsc at swcp.com (Dar Scott) Date: Sat, 18 Oct 2003 10:20:04 -0600 Subject: Activating a button script when not in browse mode In-Reply-To: <5.2.1.1.0.20031018180956.00c4c5f8@pop.wanadoo.fr> Message-ID: On Saturday, October 18, 2003, at 10:15 AM, Graham Samuel wrote: > I want to create a button on a card that operates on a selected object > on another card Would a plugin do what you want? Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From themacguy at macosx.com Sat Oct 18 12:29:38 2003 From: themacguy at macosx.com (Barry Levine) Date: Sat, 18 Oct 2003 10:29:38 -0600 Subject: Rev2.1 Bug on a Dell Inspiron and some Dell Desktops - bugzilla #794 In-Reply-To: <20031018160004.719B6930276@mail.runrev.com> Message-ID: <44A203B2-0188-11D8-AC83-000A95763ABC@macosx.com> Kurt, Agreed. I hope my post didn't come across as "scolding". It was simply a warning about the problem and how to avoid it (either stay with 2.0.3 or don't deploy on a Dell). I've got schools full of Dells so I'm back to using v2.0.3 until another revision beyond 2.1.1 is out...and its "read me" says that they've addressed the problem.) As for the QT problems: I've seen some PCs that have had their QT settings overridden by the Windoze media settings. In some of these cases, returning the QT settings to play most everything it can (rather than WMP) seems to fix it. I've reinstalled QT in the other misbehaving PCs and most of those now play QT media in my stacks properly. I am thinking that the Windoze media settings "hijack" QuickTime in some manner. Of course, this is just an educated guess and YMMV. Regards, Barry On Saturday, Oct 18, 2003, at 10:00 America/Denver, Kurt wrote: > From: Kurt Kaufman > Subject: Rev2.1 Bug on a Dell Inspiron and some Dell Desktops - > bugzilla #794 > ...snip... > As an aside: > I have to admit that I don't know how the Rev team can keep up with all > of these problems; at least where Apple Computer is concerned there is > a limited number of expected hardware configurations. How could Rev be > expected to predict how Win_OS_x would work on Hardware_y (and in this > case using QT_version_z!) ?? From jrvalent at wisc.edu Sat Oct 18 12:52:36 2003 From: jrvalent at wisc.edu (rand valentine) Date: Sat, 18 Oct 2003 11:52:36 -0500 Subject: additional icons Message-ID: Hi, all. I'm wondering if there is anywhere where I can easily get more icons to add to a kind of "general" store of them for standard Revolution development. For example, there are only a couple of "next" and "previous" navigational icons in the standard set, and they ain't that pretty, nor are the metacard icons that are included with RunRev. We could all use a couple of dozen more, I'm sure! So here are my questions: 1. where can I find additional (pretty) icons? What are the factors that one must consider with icons in general in RunRev? Where can I find a good discussion of this? 2. how "consistent" are icons across platforms, esp. Mac and Windows? Eg, can I insert an icon in a stack I'm developing on a Mac and will it then show up all pretty under Windows (assuming it begins that way on the Mac)? Thanks. rand From jrvalent at wisc.edu Sat Oct 18 12:57:03 2003 From: jrvalent at wisc.edu (rand valentine) Date: Sat, 18 Oct 2003 11:57:03 -0500 Subject: problems with google and list archive Message-ID: Hi, all. I noticed a problem when I tried to google the list archive in my normal fashion, e.g., entering into the google search field: icons site:lists.runrev.com Well, google produces a nice list, but when you click on the link google provide, it doesn't link to the appropriate message. Now the links look like this: lists.runrev.com/pipermail/metacard/ 2003-April/004592.html So we see that messages are stored by year-month/ and then a number, such as 004562, above. But somehow the new system has massively screwed this up. Is there a way around this, or is it being fixed? thanks. rand From jrvalent at wisc.edu Sat Oct 18 13:03:18 2003 From: jrvalent at wisc.edu (rand valentine) Date: Sat, 18 Oct 2003 12:03:18 -0500 Subject: memory dimensions in stacks and standalones Message-ID: Hi, all. 1. I'm working on a set of stacks which will provide quite a bit of information, representing a kind of encyclopedic dictionary of an American Indian language. I'm manipulating a lot of this info with various global arrays, and I'm wondering what sorts of limits on memory I need to think about. For example, I want to include a citation database -- that is, a collection of texts which can be used to provide examples to users of the dictionary -- this database could easily grow to 5 megabytes in size. If I have say, five other array files open that together take up 10-15 megabytes, will this be a problem? I just have no idea of how memory management works with runrev stacks (or any application!). And of course, I want my final dictionary to be a standalone. What do I need to worry about? 2. If I were to put my citation database in a text file, in order to look something up in that file, does the whole file have to be in memory? Thanks. rand From klaus at major-k.de Sat Oct 18 13:03:36 2003 From: klaus at major-k.de (Klaus Major) Date: Sat, 18 Oct 2003 19:03:36 +0200 Subject: additional icons In-Reply-To: Message-ID: <03409CAF-018D-11D8-B844-000A27B49A96@major-k.de> Hi rand, > Hi, all. I'm wondering if there is anywhere where I can easily get > more > icons to add to a kind of "general" store of them for standard > Revolution > development. For example, there are only a couple of "next" and > "previous" > navigational icons in the standard set, and they ain't that pretty, > nor are > the metacard icons that are included with RunRev. We could all use a > couple > of dozen more, I'm sure! So here are my questions: > > 1. where can I find additional (pretty) icons? Hmmm, search the web for FREE graphics... > What are the factors that one must consider with icons in general in > RunRev? > Where can I find a good discussion of this? No discussion necessary, i think ;-) Since icons in RR are nothing more than IMAGES!!! displayed in BUTTONS!!! these images have just to be a RR-compatible format: (Remember: we set the icon of a button to the ID of an image!) JPEG (no transparency) GIF (1 Bit transparency possible) or PNG (8 bit tranparency possible) > 2. how "consistent" are icons across platforms, esp. Mac and Windows? > Eg, > can I insert an icon in a stack I'm developing on a Mac and will it > then > show up all pretty under Windows (assuming it begins that way on the > Mac)? Yes, see above... (...although it WILL look better on a mac most of the time ;-) > Thanks. Hope that helps... > rand Have a nice weekend. Regards Klaus Major klaus at major-k.de www.major-k.de From kray at sonsothunder.com Sat Oct 18 13:09:09 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 18 Oct 2003 12:09:09 -0500 Subject: Activating a button script when not in browse mode In-Reply-To: <5.2.1.1.0.20031018180956.00c4c5f8@pop.wanadoo.fr> Message-ID: <00fb01c3959a$921be630$6601a8c0@LightningFlash> Graham, If you can put the button into a palette, the palette will have a different "tool" than the stack you're operating on. So you can have a browse tool on the palette, but an a select tool on the card you're attempting to operate on. > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Graham Samuel > Sent: Saturday, October 18, 2003 11:15 AM > To: RunRev Users List > Subject: Activating a button script when not in browse mode > > > This must be easy since it works in the IDE itself, but I > can't see how to > do the following: > > I want to create a button on a card that operates on a > selected object on > another card (this is to set certain custom props of the > object as part of > my development process - I need to do this a lot, so I wanted > to automate > it to some extent). I can easily create and script the button, but of > course I can only select an object when I'm out of browse > mode (when the > cursor is an arrow), and then the button won't fire. I've > tried sending > 'mouseUp' to my button via the message box, but this doesn't > seem to work. > > Can anyone explain how the trick can be done? > > TIA > > Graham > > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From jamesjrichards at lineone.net Sat Oct 18 11:00:45 2003 From: jamesjrichards at lineone.net (James Richards) Date: Sat, 18 Oct 2003 16:00:45 +0100 Subject: must restart in OS X after install ?? - re: Monks In-Reply-To: <20031017204508.6DF329301D5@mail.runrev.com> Message-ID: on 17 Oct 2003 12:49:24 -0700 Brian Thomas wrote: > ****** Do you think it is outrageous to ask OSX users to restart > their computers after an install:? *** Restarting after installation is quite a common request for professional software on earlier Mac OSs, I don't why it should be any surprise on OS X. Regards James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 From kray at sonsothunder.com Sat Oct 18 13:34:11 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 18 Oct 2003 12:34:11 -0500 Subject: Several newbie questions & a documentation request In-Reply-To: Message-ID: <010101c3959e$11e927d0$6601a8c0@LightningFlash> > 1) I am running an AppleScript to open an image sequence in QT Pro. > The applescript is stored in a field, a replace is done on the > variables and the "do theScript as AppleScript". So far, so good. > Except that Classic launches as the AppleScript tries to > launch the OS > 9 version of QT. Both from Script Editor and as a compiled > script the > script correctly launches QT in OS X. Any ideas? Do you have an OS X version of QT Pro? If so, what's its path? > 2) The app has three option menu buttons to set video size, > frame rate > and pan direction (l/r). Is it just something in my coding > (I tried to > convert the info in the menu manager tutorial to the button) or are > these always so slow to work? On a PB 1GHz and a P4 1.5GHz > it can take > up to 15 seconds for each menu button to become active! That's ridiculously slow... something else must be going on. Rev is really fast at this kind of stuff. When you say "become active", do you mean that you initially have them in a disabled state and then it takes the time to re-enable them? Can you please clarify? > 3) The 'New Developers' documentation needs a section on the > differences between AppleScript and Transcript, if this has > not already > been added in 2.1! All the time wasted until I discovered > that 'put 20 > into variable' was the correct grammar, not 'set variable to 20' got > irritating, especially as properties DO work in the 'set to' grammar. Agreed. > 4) I can't see from the website, do the new video > capabilities of Rev 2 > include making video from image sequences? Sorry, can't help you there (video's not my strong suit). > 5) Is it possible to export a snapsho directly to file? I am > currently > importing the snapshot and then exporting it to JPEG, but of course > this results in a huge amount of flicker and general > nastiness as I am > generating up to 1500 snapshots in a row. Sure, the "export snapshot" command allows you to do this, but this was introduced in Rev 2.1, so you'd have to upgrade to get this feature. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sat Oct 18 13:36:33 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 18 Oct 2003 12:36:33 -0500 Subject: Several newbie questions & a documentation request In-Reply-To: Message-ID: <010201c3959e$683c2790$6601a8c0@LightningFlash> One other thing, Ian... there's a bunch of tips on using Rev at my site: http://www.sonsothunder.com/devres/revolution/revolution.htm that might help out in your development. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Sat Oct 18 13:47:14 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Oct 2003 12:47:14 -0500 Subject: Getting MC CGI to work on OS X with "Web Sharing" turned on In-Reply-To: <00f801c39598$c88f2da0$6601a8c0@LightningFlash> References: <00f801c39598$c88f2da0$6601a8c0@LightningFlash> Message-ID: <3F917CA2.9040900@hyperactivesw.com> On 10/18/03 11:56 AM, Ken Ray wrote: > 7) Create the rest of your site in the Site folder and when you want to > refer to the CGI, simply use /cgi-bin/" into Retour > end PDFoMaticbyMC > > > on PDFoMaticbyMCLS -- (landscape) > global Retour,LeTestNe,Lepath > get shell ("htmldoc --quiet --jpeg --links --webpage --landscape --size A4 -t pdf14 -f /tmp/p" & LeTestNe & ".pdf /tmp/p" & LeTestNe & ".html") > set httpheaders to "Content-Type: application/pdf" & cr & "Content-Length:" && the length of "lalalahitou" & cr & cr # Apache :oui ; IIS : non > put "" into Retour > end PDFoMaticbyMCLS 2.- the php part : > > $f=$HTTP_GET_VARS['f']; > > #Contr?le du fichier (? ne pas oublier !) > if (substr($f,5,4)!='p093' or strpos($f,'.php') or strpos($f,'/') or strpos($f,'\\')) > { > print ("ERROR: File Not Found". > "

File Not Found

". > "

Nom de fichier incorrect.

". > "
\n"); > exit; > } > if (!file_exists($f)) > { > print ("ERROR: File Not Found". > "

File Not Found

". > "

Le document attendu r?sulte d'une publication qui n'est plus > disponible. Renouvelez la requ?te initiale pour le recharger.

". > "
\n"); > exit; > } > if($HTTP_ENV_VARS['USER_AGENT']=='contype') > { > print ("ERROR: File Not Found". > "

File Not Found

". > "

Pour pouvoir consulter ce document, une mise-?-jour de votre navigateur IE est n?cessaire.

". > "
\n"); > exit; > } > > #Envoi du PDF > header('Content-type: application/pdf'); > // header('Content-disposition: inline; filename=($f)'); > readfile($f); > > #Suppression du fichier > unlink($f); > exit; > > ?> -- Bests, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores at easynet.fr GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de productivit?" From alex at mindlube.com Wed Oct 29 16:41:53 2003 From: alex at mindlube.com (Alex Rice) Date: Wed, 29 Oct 2003 14:41:53 -0700 Subject: Scripting PDF files In-Reply-To: <3FA02849.1060702@hyperactivesw.com> References: <009301c39de7$9f7fb9a0$6601a8c0@LightningFlash> <96331BE8-0A25-11D8-9E89-000393C4760A@mindlube.com> <3FA001D3.7080706@hyperactivesw.com> <42D33C52-0A4D-11D8-8C3B-000393C4760A@mindlube.com> <3FA02849.1060702@hyperactivesw.com> Message-ID: On Oct 29, 2003, at 1:51 PM, J. Landman Gay wrote: > > If I knew how to write externals. ;) Maybe some creative individual > will volunteer. It sounds like this would be a fairly popular > external. Sorry I may have spoken too soon. Anyone who can try it: The function requires 5 parameters. The last 3 I know how to provide, but the first 2: printSession and printSettings, I think must come from the engine itself. Just guessing though. OSStatus PMSessionSetDestination ( PMPrintSession printSession, PMPrintSettings printSettings, PMDestinationType destType, CFStringRef destFormat, CFURLRef destLocation ); Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Wed Oct 29 16:43:14 2003 From: alex at mindlube.com (Alex Rice) Date: Wed, 29 Oct 2003 14:43:14 -0700 Subject: xcode In-Reply-To: References: Message-ID: On Oct 25, 2003, at 1:30 PM, Dar Scott wrote: > Let us know if you try xcode for making an external. XCode does open, convert and compile the external.pbproj (Project Builder project) in the usual externals.tgz sdk. That's about all I can say definitively. HTH Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Wed Oct 29 16:51:58 2003 From: dsc at swcp.com (Dar Scott) Date: Wed, 29 Oct 2003 14:51:58 -0700 Subject: quote in a string literal? In-Reply-To: Message-ID: <1EBA1C21-0A5A-11D8-89B0-000A9567A3E6@swcp.com> On Wednesday, October 29, 2003, at 02:12 PM, Alex Rice wrote: > Is true that one cannot define a constant string with quotes in it? > something like > > constant commandString = "%s -b -v -xzy \"%s\"" -- error That seems to be the case. However, the context of format() allows such a literal. There might be other contexts that allow it, but I don't know what they are. If and when constant expressions are evaluated and simplified at compile time, then maybe this will be allowed: constant commandString = format("\%s -b -v -xyz \\\"\%s\\\"") That looks a little ugly, though. Dar Scott From revlists at canelasoftware.com Wed Oct 29 16:56:40 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed, 29 Oct 2003 13:56:40 -0800 Subject: Still no good PNG In-Reply-To: References: Message-ID: On Oct 28, 2003, at 8:11 PM, Ken Norris wrote: > Howdy, > > I'm stumped. > > Nothing I do makes the image show up properly. I want a blended > translucent > image for all platforms mode. In SC I could do it by setting inks, but > in > Rev's All Platforms mode, the middle of the image where the blend > occurs is > blown out. I tried all kinds of tricks in PhotoShop (LE is all I have > on > this machine), and the image is a layer with no background (the > checkerboard > is there in PS). In PS the image is fine, but when I import it to Rev, > the > blended portion is completely gone. > > If anyone has a blended translucent image for all platforms in a Rev > stack, > can you please send me a demo offlist, and explain how you got it? > > Desparately Seeking Blended Translucent PNG, > Ken N. > Ken, My offer still stands. Send me your image and I will have a look at it. mtalluto(*at*)canelasoftware.com Best regards, Mark Talluto 1536 W. 25th St. #278 San Pedro, CA 90732 tel: (310) 547-4718 fax: (310) 547-5213 http://www.canelasoftware.com From jperryl at ecs.fullerton.edu Wed Oct 29 17:02:06 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 29 Oct 2003 14:02:06 -0800 (PST) Subject: How to set the cursor?? In-Reply-To: <007001c39dcc$b0ad1c10$6601a8c0@LightningFlash> Message-ID: Ray, I understand the need to use the lockCursor property when using mouseEnter, which is sent I thought just ONCE, but still do not understand why it is necessary when using mouseWithin, which I had thought was sent continuously. Else, what is the difference between mouseEnter and mouseWithin? Thank you, Judy On Tue, 28 Oct 2003, Ken Ray wrote: > Judy, > > You need to lock the cursor so it will remain with what you want: > > on mouseEnter > set the lockCursor to true > set the cursor to > end mouseEnter > > on mouseLeave > set the lockCursor to false -- to return to your original cursor > end mouseLeave From 3mcgrath at adelphia.net Wed Oct 29 17:18:24 2003 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 29 Oct 2003 17:18:24 -0500 Subject: Cross Platform Build - my first Message-ID: Hello All, I hope everyone is doing fine. I have been building a standalone for CD distribution at my company. It is a project that uses content from Powerpoint and I have been exporting PPT as PNG and referencing them on each slide. I can then update/correct them in PPT and auto replace them in REV. In Rev I built the Visual effects and invisible buttons to do the links etc. I also have two large mpegs and 18 or so voiceover .wav files referenced in the app. My problems so far: 1. Built for 3 platforms resulting in 3 apps that share the same media (in a 'media' folder in the samefolder as app) but REV outputs to three separate folders with three separate 'Data' folders. So I copied the contents of each 'Data' folder to a new 'Data' folder at the root of the CD. I copied the media folder to the root of the CD as well since they all share it's content. a. WindowsXP works fine in Virtual PC but audio is choppy. - links are ok b. Windows 2000 works slower but fine in Virtual PC but audio is choppy. - links are ok b. OSX works fine and audio seems ok - links are ok c. OS Classic does not load mpegs or audio or png images as referenced - links are NOT ok Classic seems to have lost the reference path yet I built them all at once so nothing changed on my end. Any ideas??? 2. Both Macintosh builds looks great as expected. Both Windows builds look terrible. a. light blue card background shows up in some fields and not others - did not show up in original rev app b. parts of actual light blue background show up as white. c. parts of white area(should not even be there) actually cover up background text fields in background. d. buttons look awful. The three dimensional effect in Mac OSX in REV are lost and buttons lose borders so they appear to bleed into background. e. fields look awful. The edges have lost their borders d. text with effects have lost their styles completely - size, font etc. What settings in Build should I use for best cross platform support? What font should I use? - Can a font be included with build? (like director) How can I make "NICE" looking buttons and fields that will look good on all platforms?(with out recreating from scratch) Did I do right by combining the Data folder and moving to root of CD? How can I get media folder to be at root and still be shared by all three apps? Thanks guys, I know I'm new and have only been doing this for two weeks in REV. I must be insane to take on a rush project with new software to learn, but I used HC and SC plus Director for years so the learning curve is not too bad. Actually I think I've done ok considering. Your help is appreciated. Tom Thomas J McGrath III Advanced Media Group 220 Drake Rd. Bethel Park, PA 15102 3mcgrath at adelphia.net From sanke at hrz.uni-kassel.de Wed Oct 29 17:31:53 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 29 Oct 2003 23:31:53 +0100 Subject: Still no good PNG Message-ID: <3FA03FD9.96E39F1B@hrz.uni-kassel.de> On Tue, 28 Oct 2003 Ken Norris wrote: > Howdy, > > I'm stumped. > > Nothing I do makes the image show up properly. I want a blended translucent > image for all platforms mode. In SC I could do it by setting inks, but in > Rev's All Platforms mode, the middle of the image where the blend occurs is > blown out. I tried all kinds of tricks in PhotoShop (LE is all I have on > this machine), and the image is a layer with no background (the checkerboard > is there in PS). In PS the image is fine, but when I import it to Rev, the > blended portion is completely gone. > I prefer "RealDraw Pro" instead of all kinds of Photoshop. It is simpler to operate and much cheaper - about 50 $ (www.mediachance.com), but there is only a Windows version. There is a trial version without restrictions. No troubles with importing translucent PNGs of any blend level into Rev or Metacard and both on Windows and MacOS. Regards, Wilhelm Sanke From michaell at unimelb.edu.au Wed Oct 29 18:05:50 2003 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Thu, 30 Oct 2003 10:05:50 +1100 Subject: Command Option Message-ID: If you click the Messages button in the toolbar twice it usually fixes the problem with the command-option thing. I'm pretty sure it was Kevin Miller who gave me that workaround. It seems that the problem can be reliably triggered if you cancel all messages in a script and sometimes if you have to interrupt a script with command-full stop (command-period for Americans). After all this time I am surprised that this problem (bad bug, in my opinion) has not been fixed. In fact, early in the development of Rev I argued on the list that any command involving only modifier keys and a vague action like "hover" is dumb. Much better to have something definite like command-option click in my opinion. -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From kray at sonsothunder.com Wed Oct 29 18:15:35 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 29 Oct 2003 17:15:35 -0600 Subject: Cross Platform Build - my first In-Reply-To: Message-ID: <005001c39e72$90921920$6601a8c0@LightningFlash> Tom, > c. OS Classic does not load mpegs or audio or png > images as referenced > - links are NOT ok > Classic seems to have lost the reference path yet I built them all at > once so nothing changed on my end. Any ideas??? This may have to do with the path differences between OS X and Classic. You may need to check under Classic to see what paths it thinks it's supposed to use. > 2. Both Macintosh builds looks great as expected. Both Windows builds > look terrible. > a. light blue card background shows up in some fields > and not others - > did not show up in original rev app > b. parts of actual light blue background show up as white. > c. parts of white area(should not even be there) > actually cover up > background text fields in background. Can't help you here... that sounds really strange unless you have set those colors somehow. > d. buttons look awful. The three dimensional effect in > Mac OSX in REV > are lost and buttons lose borders so they appear to bleed into > background. > e. fields look awful. The edges have lost their borders First of all, you need to know that the buttons and fields should look exactly as other buttons/fields in other Windows apps which may look awful to you coming from development on the Mac, but are perfectly normal in Windows (that is, if you're using standard settings and haven't gone and set a bunch of border, etc. properties). > d. text with effects have lost their styles completely > - size, font > etc. If you used a Mac-specific font in development (like Lucida Grande) it won't exist in Windows and it will default to a default font like MS Sans Serif or Helvetica. > What settings in Build should I use for best cross platform > support? What font should I use? - Can a font be included > with build? (like > director) You can't embed a font (like in Director or Flash), but you can install one with your app if you need to. Better yet would be to pick a good Windows font and use it for Windows and your Mac font for Mac. > How can I make "NICE" looking buttons and fields that will > look good on > all platforms?(with out recreating from scratch) Well, "Nice" is relative... :-) Look at other apps in Windows and see if your app's buttons and fields look different... if so, let us know and someone on the list should be able to help out. Some screenshots of what your app looks like in Mac and in Windows would help a lot. > Did I do right by combining the Data folder and moving to > root of CD? How can I get media folder to be at root and > still be shared by all > three apps? What you did *should* work, although I haven't done that myself. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Oct 29 18:18:42 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 29 Oct 2003 17:18:42 -0600 Subject: quote in a string literal? In-Reply-To: Message-ID: <005101c39e73$023f8210$6601a8c0@LightningFlash> Yes, that is correct. (unfortunately) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Alex Rice > Sent: Wednesday, October 29, 2003 3:13 PM > To: How to use Revolution > Subject: quote in a string literal? > > > Is true that one cannot define a constant string with quotes in it? > something like > > constant commandString = "%s -b -v -xzy \"%s\"" -- error > > > Alex Rice | Mindlube Software | > > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From 3mcgrath at adelphia.net Wed Oct 29 19:05:41 2003 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Wed, 29 Oct 2003 19:05:41 -0500 Subject: Cross Platform Build - my first In-Reply-To: <005001c39e72$90921920$6601a8c0@LightningFlash> Message-ID: On Wednesday, October 29, 2003, at 06:15 PM, Ken Ray wrote: >> c. OS Classic does not load mpegs or audio or png >> images as referenced >> - links are NOT ok >> Classic seems to have lost the reference path yet I built them all at >> once so nothing changed on my end. Any ideas??? > > This may have to do with the path differences between OS X and Classic. > You may need to check under Classic to see what paths it thinks it's > supposed to use. How does one find the Classic path it thinks it is using. I'm rather new to REV. >> 2. Both Macintosh builds looks great as expected. Both Windows builds >> look terrible. >> a. light blue card background shows up in some fields >> and not others - >> did not show up in original rev app >> b. parts of actual light blue background show up as white. >> c. parts of white area(should not even be there) >> actually cover up >> background text fields in background. > Can't help you here... that sounds really strange unless you have set > those colors somehow. I have been going back and checking each object on the background and find that I know nothing about REV.... It appears I thought that a group would override an object and as such have dozens of groups to 'simplify' my updating of object colors and sizes and text. I guess I screwed it all up. BUT it did look ok on OSX. >> d. buttons look awful. The three dimensional effect in >> Mac OSX in REV >> are lost and buttons lose borders so they appear to bleed into >> background. >> e. fields look awful. The edges have lost their borders > First of all, you need to know that the buttons and fields should look > exactly as other buttons/fields in other Windows apps which may look > awful to you coming from development on the Mac, but are perfectly > normal in Windows (that is, if you're using standard settings and > haven't gone and set a bunch of border, etc. properties). I had to laugh when I read this. But, No they didn't look like regular XP window buttons at all. I set all kinds of stupid border, color, text settings and then put them all in groups because I thought that would help separate sections of the app. Boy, did I screw up. One question: If I had left them alone would the standard 'unabused' buttons change their look when in 2000 and then change their look in XP and still again look normal in OSX/Classic?????? >> d. text with effects have lost their styles completely >> - size, font > If you used a Mac-specific font in development (like Lucida Grande) it > won't exist in Windows and it will default to a default font like MS > Sans Serif or Helvetica. I used my favorite font - Arial - Is that not good for Windows??? What fonts are good?? also I have group settings for fonts and then item settings for fonts etc. I screwed this up but good. >> What settings in Build should I use for best cross platform >> support? What font should I use? - Can a font be included >> with build? (like >> director) > You can't embed a font (like in Director or Flash), but you can install > one with your app if you need to. Better yet would be to pick a good > Windows font and use it for Windows and your Mac font for Mac. Your suggestion for a good font?? >> How can I make "NICE" looking buttons and fields that will >> look good on >> all platforms?(with out recreating from scratch) > Well, "Nice" is relative... :-) Look at other apps in Windows and see > if > your app's buttons and fields look different... if so, let us know and > someone on the list should be able to help out. Some screenshots of > what > your app looks like in Mac and in Windows would help a lot. How can I get you guys the screen shots - the list refuses them??? >> Did I do right by combining the Data folder and moving to >> root of CD? How can I get media folder to be at root and >> still be shared by all >> three apps? > What you did *should* work, although I haven't done that myself. Has anyone built multiple same apps on one CD that share the same media??? Thanks Ken, I do appreciate your input... > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ Thomas J McGrath III Advanced Media Group 220 Drake Rd. Bethel Park, PA 15102 3mcgrath at adelphia.net From igor at pixelmedia.com.au Wed Oct 29 19:06:07 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Thu, 30 Oct 2003 11:06:07 +1100 Subject: Trapping The Keypad 'Clear' Key In-Reply-To: <00e101c39e35$b42d7880$6601a8c0@LightningFlash> References: <00e101c39e35$b42d7880$6601a8c0@LightningFlash> Message-ID: Dear Ken, Thank you for the reply! On 30/10/2003, at 2:59 AM, Ken Ray wrote: > Trap the rawKeyDown or rawKeyUp message and look for 65407. I'm pretty > sure it's the same on all platforms, but haven't tested it yet. > This is *precisely* what I'm concerned about, though: will this number be the same on ALL keyboards, and ALL PLATFORMS? Is this number based on some hardware standard that all manufacturers must adhere to, or will there be variations? If there is anyone out there who can try this on a Windows & on a Linux keyboard - and perhaps on a laptop, too - could you kindly report back to us?... And while we're on this topic: will I have to use the same message (rawKeyDown) to trap the "=" (equal) key on the keypad? - it does not seem to trigger any character!... Many thanks for any hints or reports! Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From curry at pair.com Wed Oct 29 22:05:15 2003 From: curry at pair.com (curry) Date: Wed, 29 Oct 2003 21:05:15 -0600 Subject: mciSendString for volume In-Reply-To: <20031029230412.D2CDD930121@mail.runrev.com> References: <20031029230412.D2CDD930121@mail.runrev.com> Message-ID: I'm trying to set MIDI volume on Windows so that my stack can control the volume for playing .mid files when not using QuickTime. I looked for info on mciSendString and was successful in playing a file, but haven't been successful in finding volume. Here's the all-purpose handler I use for trying the commands: on mci x replace "/" with "\" in x -- convert any Rev file paths to Windows get mcisendstring(x) answer it & cr & the result end mci The following commands don't work: mci "status sequencer volume" mci "set sequencer volume to 30" I did get it to play a file, with file path stored in a field: mci "open" && quote & field "file" & quote && "type sequencer alias mid" mci "play mid" mci "status mid position" mci "close mid" But also volume didn't work: mci "status mid volume" mci "set mid volume to 30" (There I tried using a specific file just to see if it worked, but I would prefer setting volume for the device rather than a file.) Does anyone know the proper way to do this? Thanks very much, Curry From sarahr at genesearch.com.au Wed Oct 29 23:11:30 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu, 30 Oct 2003 14:11:30 +1000 Subject: Newbie questions In-Reply-To: Message-ID: <23F1EF00-0A8F-11D8-A696-0003937A97B8@genesearch.com.au> Hi Paul, Some-one else has already told you that "name" is a reserved word, so that it what breaks this script. An easy way to find out if you have used any reserved words is to "Colorize" your scripts. From the Script Editor, turn on "Live Colorization" in the View menu, of choose "Colorize" in the Script menu. Then any reserved words will be colored and you can see at a glance whether any of your variable names or function names are going to cause problems. Cheers, Sarah On Sunday, October 19, 2003, at 07:54 am, Paul Malloy wrote: > I am a former HyperCard, SuperCard and OMO user who has just purchased > Revolution. Good to see many familiar names on this list. > > I am trying to port some OMO stacks to Revolution by pasting the > scripts > into objects in Rev. I am running into a very basic problem: None of my > scripts execute. For example, I have this script in card 2 > > on closecard > global name, age, education, occupation, gender, handedness, marital > put fld "name" into name From kkaufman at snet.net Wed Oct 29 23:43:57 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed, 29 Oct 2003 23:43:57 -0500 Subject: Cross Platform Build - my first Message-ID: Thomas, You might want to build a simple stack with default settings for all of the buttons, fields, and other objects you plan to use. See if the objects then conform to what you would expect for the individual platforms. From that point you could "tweak" individual objects to see whether the changes give the desired effect. Keep track of all of your changes, and you'll find out whether arranging/manipulating group characteristics has anything to do with your unexpected results. -Kurt From ambassador at fourthworld.com Wed Oct 29 23:48:10 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Oct 2003 20:48:10 -0800 Subject: Newbie questions In-Reply-To: <23F1EF00-0A8F-11D8-A696-0003937A97B8@genesearch.com.au> Message-ID: On Sunday, October 19, 2003, at 07:54 am, Paul Malloy wrote: > I am running into a very basic problem: None of my > scripts execute. For example, I have this script in card 2 > > on closecard > global name, age, education, occupation, gender, handedness, marital > put fld "name" into name Another benefit to the "Hungarian-lite" notation described in this week's Handy Handlers column at is that it greatly reduces the potential for having variable names that are reserved words. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kray at sonsothunder.com Wed Oct 29 23:47:38 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 29 Oct 2003 22:47:38 -0600 Subject: Cross Platform Build - my first In-Reply-To: Message-ID: <009a01c39ea0$f57ea6e0$6601a8c0@LightningFlash> > > This may have to do with the path differences between OS X and > > Classic. You may need to check under Classic to see what paths it > > thinks it's supposed to use. > > How does one find the Classic path it thinks it is using. I'm rather > new to REV. Well, you could put in a button that when you click it answers "the filename of img " and see what it shows. Make sure you build in the answer dialog in the Distribution Builder. > I have been going back and checking each object on the background and > find that I know nothing about REV.... > It appears I thought that a group would override an object > and as such > have dozens of groups to 'simplify' my updating of object colors and > sizes and text. I guess I screwed it all up. BUT it did look > ok on OSX. There's an inheritance at work in Rev... if you don't set a property for an object, it inherits it from the group that owns it. If the group doesn't have it, it inherits it from the card; if not on the card, it inherits it from the stack. Perhaps if you sent the stack to me I could look at it and give you some feedback. > > First of all, you need to know that the buttons and fields > should look > > exactly as other buttons/fields in other Windows apps which > may look > > awful to you coming from development on the Mac, but are perfectly > > normal in Windows (that is, if you're using standard settings and > > haven't gone and set a bunch of border, etc. properties). > > I had to laugh when I read this. But, No they didn't look > like regular > XP window buttons at all. I set all kinds of stupid border, > color, text > settings and then put them all in groups because I thought that would > help separate sections of the app. Boy, did I screw up. > > One question: If I had left them alone would the standard 'unabused' > buttons change their look when in 2000 and then change their > look in XP > and still again look normal in OSX/Classic?????? Yes (mostly). Rev doesn't support the XP look and feel, so buttons "left alone" would look like standard Win2000 buttons. But the rest of your statement is true. If you create a standard button, it looks all 3-d and shaded in OS X, a simple beveled roundrect in OS 9, and a beveled rectangle in Windows. You can take a look at how it will look (approximately) by changing the Look and Feel (View menu -> Look and Feel) to another platform. > >> d. text with effects have lost their styles completely > >> - size, font > > If you used a Mac-specific font in development (like Lucida > Grande) it > > won't exist in Windows and it will default to a default > font like MS > > Sans Serif or Helvetica. > > I used my favorite font - Arial - Is that not good for > Windows??? What fonts are good?? also I have group settings > for fonts and then > item settings for fonts etc. I screwed this up but good. Arial should have been ok for both, so I'm not sure what to say here without seeing it. > Your suggestion for a good font?? Arial > > >> How can I make "NICE" looking buttons and fields that will > look good > >> on all platforms?(with out recreating from scratch) > > Well, "Nice" is relative... :-) Look at other apps in > Windows and see > > if > > your app's buttons and fields look different... if so, let > us know and > > someone on the list should be able to help out. Some screenshots of > > what > > your app looks like in Mac and in Windows would help a lot. > > How can I get you guys the screen shots - the list refuses them??? I don't think you can send 'em to the list. You'd have to send them to me (or anyone else) personally. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sarahr at genesearch.com.au Wed Oct 29 23:18:47 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu, 30 Oct 2003 14:18:47 +1000 Subject: relative path to stack in send In-Reply-To: <20031022112819.B4B1.JOEL@alpsgiken.gr.jp> Message-ID: <2816EF8F-0A90-11D8-A696-0003937A97B8@genesearch.com.au> The way I implement relative paths is to have a function that returns the full path to the folder of the mainStack. Then I can have a function that appends the path for my substack, media file etc. to that overall path. e.g. mainStackFolderPath() -- in the stack script of my main stack -- uses "the fileName of this stack", then deletes the stack file name -- returns "E:/users/home/rees-j/projects/hypercard/practice/" relativePathTo("Gurobaru.rev") -- uses mainStackFolderPath() -- returns "E:/users/home/rees-j/projects/hypercard/practice/Gurobaru.rev" relativePathTo("images/photo1.jpg") -- uses mainStackFolderPath() -- returns "E:/users/home/rees-j/projects/hypercard/practice/images/photo1.jpg" Cheers, Sarah On Wednesday, October 22, 2003, at 12:36 pm, Joel Rees wrote: >>> None of these seem to work: >>> >>> send "gimmeSomeOThatStuff" to stack "../Gurobaru stack.rev" >>> send "gimmeSomeOThatStuff" to stack "file:../Gurobaru stack.rev" >>> send "gimmeSomeOThatStuff" to stack URL "file:../Gurobaru >>> stack.rev" >>> >>> This works, but only if Gurobaru stack is already open: >>> >>> send "gimmeSomeOThatStuff" to stack "Gurobaru stack" > > Forgot something here. What works if Gurobaru stack is not open is > > send "gimmeSomeOThatStuff" to stack > "E:/users/home/rees-j/projects/hypercard/practice/Gurobaru stack.rev" > > > It would be nice to be able to use relative path, if anyone knows how. From chipp at chipp.com Wed Oct 29 23:58:31 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed, 29 Oct 2003 22:58:31 -0600 Subject: Scripting PDF files In-Reply-To: Message-ID: I've successfully used HTMLdoc (OpenSource) to render HTML files to PDF in Windows. I believe it's cross platform and available for Mac and PC... -Chipp From sarahr at genesearch.com.au Wed Oct 29 23:22:44 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu, 30 Oct 2003 14:22:44 +1000 Subject: printing In-Reply-To: <20031027095136.33756.qmail@web11901.mail.yahoo.com> Message-ID: Hi Jan, Great introduction to the Report Builder stuff. I was able to get a report stack working fine, but I wasn't able to work out how to do labels i.e. more than one card per page. Even more annoyingly, Report Builder's Print button just prints instantly with no print dialog. When using OS X, I always print all my testing to PDF - saves a LOT of paper, so I was not pleased when my label test produced multiple pages :-( Anyway, I didn't mean to rant at you after your helpful email, but I need further hlp before i can produce labels. Cheers, Sarah > The Report Builder seems a mistery to quite a few > people. Here's what I found out : snipped - really good introduction to Report Builder by Jan Schenkel From JonathanC at ag.nsw.gov.au Thu Oct 30 00:11:15 2003 From: JonathanC at ag.nsw.gov.au (JonathanC at ag.nsw.gov.au) Date: Thu, 30 Oct 2003 16:11:15 +1100 Subject: Pointer tool not working Message-ID: I recently created a stack ("Launcher.rev") to act like HyperCard's Home stack. It works OK, but just then, when I went to edit a button, I discovered that the pointer tool wasn't working. When I choose the pointer tool (either from the palette or the Tools menu) and click on the button, instead of selecting it, it CLICKS it (as though the browse tool is active). This only happens with this one stack (so far). I can still select objects by choosing "Card [or Stack] Inspector" from the Object menu and then finding the object I want from the Selection pop-up menu, or by using the Application Browser, but why can't I select them directly? Jonathan Cooper Manager of Information / Website Art Gallery of New South Wales Sydney, Australia http://www.artgallery.nsw.gov.au From bill at igame3d.com Thu Oct 30 00:45:15 2003 From: bill at igame3d.com (WIlliam Griffin) Date: Thu, 30 Oct 2003 00:45:15 -0500 Subject: iGame3D FMOD & Revolution Message-ID: <3C51F69A-0A9C-11D8-85EB-0030657D0A8E@igame3d.com> Hello Rev-List Readers, Tobias Opfermann and I would like to share with you some of our hard work. First the blood and sweat of many months labor, iGame3D, a 3D game development program using a custom OpenGL external in Revolution, for Mac and PC can now be downloaded: Mac Version: http://www.igame3d.com/beta/iGame3D_b102903.sit Windows Version: http://www.igame3d.com/beta/iGame3Db102903.zip You will find a number of demo levels under the "Levels" menu, Extensive scripting help under the help menu, and some in progress Interface help by typing help into the console. The included read me will help with the various keyboard controls. Complete help is next on the to do list. iGame3D is free to use and share (see the license in read me) We intend to market the external very soon so please email us with your interest and questions about using 3D in your very own Revolution products. We also have another item for you today, FMODforRev external and a starter stack: Mac Version: http://www.igame3d.com/FMODforRev.sit PC Version: http://www.igame3d.com/FMODforRev.zip Fmod is a music library that is free to use in freeware products, and costs varying amounts of money for other shareware and commercial uses. http://www.fmod.org/ has more info on that. The stack you can download now will allow you to load a folder of sounds and play them as a play list. FMOD can also play music from URL's, but we leave that to you to build your own stack for. The external commands are fairly simple to access. One benefit of the FMOD external is that you don't have to install Quicktime on a PC. If you have further questions please email us. We are eager to receive your comments. Bill Griffin & Tobias Opfermann info at igame3d.com http://www.igame3d.com/ http://www.igame3d.com/phpBB2/ From ambassador at fourthworld.com Thu Oct 30 00:53:29 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Oct 2003 21:53:29 -0800 Subject: iGame3D FMOD & Revolution In-Reply-To: <3C51F69A-0A9C-11D8-85EB-0030657D0A8E@igame3d.com> Message-ID: WIlliam Griffin wrote: > Tobias Opfermann and I would like to share with you some of our hard > work. > First the blood and sweat of many months labor, iGame3D, a 3D game > development program using a custom OpenGL external in Revolution, for > Mac and PC can now be downloaded: > Mac Version: http://www.igame3d.com/beta/iGame3D_b102903.sit > Windows Version: http://www.igame3d.com/beta/iGame3Db102903.zip Dude - that so very rocks! Great job! -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From 3mcgrath at adelphia.net Thu Oct 30 01:01:58 2003 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 30 Oct 2003 01:01:58 -0500 Subject: Cross Platform build - my second build Message-ID: <92347F98-0A9E-11D8-9405-000A95DA60FA@adelphia.net> Hey all, Well, I cleaned up all of my extra groups and button borders etc. and rebuilt the Win/OSX/Classic apps. Problems: 1. A couple of animated text fields do not keep their fonts. I changed them and did the build and it looks like they switched back. I used the same font as in other non-animated fields but they are OK. 2. mpeg movies work fine in REV. They work fine in WindowsXP and 2000. BUT they do not work in OSX build. 3. Classic Fat Build does not work at all now. I didn't change anything in the Build Standalone settings. It did work last time I built. That's it, I'm getting closer. Thanks Tom Thomas J McGrath III Advanced Media Group 220 Drake Rd. Bethel Park, PA 15102 3mcgrath at adelphia.net From dsc at swcp.com Thu Oct 30 01:09:05 2003 From: dsc at swcp.com (Dar Scott) Date: Wed, 29 Oct 2003 23:09:05 -0700 Subject: mciSendString for volume In-Reply-To: Message-ID: <90BC4868-0A9F-11D8-89B0-000A9567A3E6@swcp.com> On Wednesday, October 29, 2003, at 08:05 PM, curry wrote: > mci "set mid volume to 30" Wild guesses to try: mci "setaudio mid volume to 30" mci "set mid volume to .3" midiOutSetVolume Oh, wait. That last one might take an external. (I put my MCI reference is storage; sorry.) Maybe the new fmod external can address this for you. Dar From 3mcgrath at adelphia.net Thu Oct 30 01:11:20 2003 From: 3mcgrath at adelphia.net (Thomas J McGrath III) Date: Thu, 30 Oct 2003 01:11:20 -0500 Subject: Pointer tool not working In-Reply-To: Message-ID: This may be the same problem I had. I was told to turn off the receive messages and turn it back on. It worked for me. Tom On Thursday, October 30, 2003, at 12:11 AM, JonathanC at ag.nsw.gov.au wrote: > I recently created a stack ("Launcher.rev") to act like HyperCard's > Home > stack. It works OK, but just then, when I went to edit a button, I > discovered that the pointer tool wasn't working. When I choose the > pointer > tool (either from the palette or the Tools menu) and click on the > button, > instead of selecting it, it CLICKS it (as though the browse tool is > active). > > This only happens with this one stack (so far). I can still select > objects > by choosing "Card [or Stack] Inspector" from the Object menu and then > finding the object I want from the Selection pop-up menu, or by using > the > Application Browser, but why can't I select them directly? > > Jonathan Cooper > Manager of Information / Website > Art Gallery of New South Wales > Sydney, Australia > http://www.artgallery.nsw.gov.au > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J McGrath III Advanced Media Group 220 Drake Rd. Bethel Park, PA 15102 3mcgrath at adelphia.net From kray at sonsothunder.com Thu Oct 30 01:50:20 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 30 Oct 2003 00:50:20 -0600 Subject: iGame3D FMOD & Revolution In-Reply-To: <3C51F69A-0A9C-11D8-85EB-0030657D0A8E@igame3d.com> Message-ID: <00a501c39eb2$1945adb0$6601a8c0@LightningFlash> > We are eager to receive your comments. Sweet stuff! Wonderful job, guys! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From scott at tactilemedia.com Thu Oct 30 01:59:15 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 29 Oct 2003 22:59:15 -0800 Subject: Newbie questions In-Reply-To: Message-ID: On 10/29/03 8:48 PM, "Richard Gaskin" wrote: >> I am running into a very basic problem: None of my >> scripts execute. For example, I have this script in card 2 >> >> on closecard >> global name, age, education, occupation, gender, handedness, marital >> put fld "name" into name > > Another benefit to the "Hungarian-lite" notation described in this week's > Handy Handlers column at > is that it greatly > reduces the potential for having variable names that are reserved words. At the risk of contradicting Richard's advice and useful style guide on his site, you might try prepending your object names with an underscore (ie field _name). I use this technique in my scripts and this prevents any confusion with reserved words. Some folks have complained that use of the underscore prevents you from selecting the entire name by doubleclicking in the script editor, but I find this to be a minor inconvenience (especially since you don't need to change the underscore itself when editing the name, for example). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From erikhans08 at yahoo.com Thu Oct 30 02:02:03 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed, 29 Oct 2003 23:02:03 -0800 (PST) Subject: Newbie questions In-Reply-To: <23F1EF00-0A8F-11D8-A696-0003937A97B8@genesearch.com.au> Message-ID: <20031030070203.49808.qmail@web20010.mail.yahoo.com> > > on closecard > > global name, age, education, occupation,... try: global gName, n12 # etc. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ From ambassador at fourthworld.com Thu Oct 30 02:32:37 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Oct 2003 23:32:37 -0800 Subject: Newbie questions In-Reply-To: Message-ID: Scott Rossi wrote: > On 10/29/03 8:48 PM, "Richard Gaskin" wrote: > >>> I am running into a very basic problem: None of my >>> scripts execute. For example, I have this script in card 2 >>> >>> on closecard >>> global name, age, education, occupation, gender, handedness, marital >>> put fld "name" into name >> >> Another benefit to the "Hungarian-lite" notation described in this week's >> Handy Handlers column at >> is that it greatly >> reduces the potential for having variable names that are reserved words. > > At the risk of contradicting Richard's advice and useful style guide on his > site, you might try prepending your object names with an underscore (ie > field _name). I use this technique in my scripts and this prevents any > confusion with reserved words. Some folks have complained that use of the > underscore prevents you from selecting the entire name by doubleclicking in > the script editor, but I find this to be a minor inconvenience (especially > since you don't need to change the underscore itself when editing the name, > for example). A single character is a single character. It could be anything that helps prevent name-space conflicts. The "g" has an additional value as a mnemonic; "g" means "global", and it lets you use other chars for other types (e.g., "p" for "parameter"). If you use an underscore for globals, what do you use for other types? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From alex at mindlube.com Thu Oct 30 02:35:28 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 30 Oct 2003 00:35:28 -0700 Subject: iGame3D FMOD & Revolution In-Reply-To: <3C51F69A-0A9C-11D8-85EB-0030657D0A8E@igame3d.com> References: <3C51F69A-0A9C-11D8-85EB-0030657D0A8E@igame3d.com> Message-ID: On Oct 29, 2003, at 10:45 PM, WIlliam Griffin wrote: > Hello Rev-List Readers, > Tobias Opfermann and I would like to share with you some of our hard > work. > First the blood and sweat of many months labor, iGame3D, a 3D game > development program using a custom OpenGL external in Revolution, for > Mac and PC can now be downloaded: Very interesting! The levels included in the demo are pretty neat. Smooth action. What does it do on Windows if there is DirectX, not OpenGL? (I don't know much about 3D graphics- I was just curious) > We also have another item for you today, FMODforRev external and a > starter stack: I tried playing some mp3s with FMODforRev but got a crash :-( But looking at fmod.org, this will shape up to be one heck of a cool external. These are great resources & I hope your externals licensing efforts work out. Game development for Revolution has more possibilities now! Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From scott at tactilemedia.com Thu Oct 30 02:51:06 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 29 Oct 2003 23:51:06 -0800 Subject: Newbie questions In-Reply-To: Message-ID: > A single character is a single character. It could be anything that helps > prevent name-space conflicts. The "g" has an additional value as a > mnemonic; "g" means "global", and it lets you use other chars for other > types (e.g., "p" for "parameter"). You're right of course. See below. > If you use an underscore for globals, what do you use for other types? I don't. I misread the problem in the original post as having to do with object references, not variable references. I was referring to the use of underscores for object names (ie field _name vs field "name"). I do, in fact, use the same naming conventions for variables. Apologies for the misread. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From joe.gardner at nwa.com Thu Oct 30 02:52:52 2003 From: joe.gardner at nwa.com (Gardner, Joseph A) Date: Thu, 30 Oct 2003 01:52:52 -0600 Subject: Setting the Mouse Button (and Printing Weirdness) Message-ID: Folks, I'm having a weird problem with setting the mouse button in a print handler. I'd like to have a regular mouse click (Button 1) print the contents of a field and a control- or right-click (Button 3) display the appropriate print dialogs before printing. However, after control-clicking the button once, subsequent regular clicks _keep_ producing the print dialogs even though the answer shows that theButton is 1 (plain click). Control-clicking works as expected, why does the "if theButton is 3" loop keep kicking in when theButton is clearly 1? Here's the handler I'm trying to get under control: on mouseUp theButton answer theButton if field "FileContents" is empty then exit to top if theButton is 3 then -- Control-click, right-click revShowPrintDialog true,true end if revPrintField ("field" && quote & "FileContents" & quote) put 1 into theButton end mouseUp Working in OSX 10.2 on a G4 expecting to port to Windows eventually. Thanks for any advice! joe. p.s. Any idea why revPrintField would print the contents of the field on a light gray background when printing to a laser printer? It's very strange. From chipp at chipp.com Thu Oct 30 02:56:11 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Oct 2003 01:56:11 -0600 Subject: iGame3D FMOD & Revolution In-Reply-To: <3C51F69A-0A9C-11D8-85EB-0030657D0A8E@igame3d.com> Message-ID: Wow...Nice work guys... Couple questions. Is it possible to do the following? -Anti-alias objects -MIP map objects -Reflection Maps? -Shadows? -Create hi-rez single pictures. IOW, create a large poly count mesh with numerous textures and 'take a picture' instead of real-time animate. -Render hi-rez single images w/alpha channel. I'm interested in being able to render high quality scenes, suitable for display on web pages. Is this possible? Thanks, and great job! -Chipp From ambassador at fourthworld.com Thu Oct 30 03:11:31 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2003 00:11:31 -0800 Subject: Newbie questions In-Reply-To: Message-ID: Scott Rossi wrote: > I misread the problem in the original post as having to do with > object references, not variable references. I was referring to the use of > underscores for object names (ie field _name vs field "name"). I do, in > fact, use the same naming conventions for variables. I misread too: I thought you were referring to vars. :) But it does inntroduce a powerful aspect of Rev, being among the very few xTalks that offer a name property and a label property separate from one another: you can use the name as a sort of mnemonic ID, since you have the label for display. For example, in an app I'm writing for a magazine article I have a button named "Connect" that is used forboth connecting and disconnecting from a server. While I've named it simply "Connect", I can change its label to "Disconnect" while it's connected, and use tha label to determine the state in my scripts. I do something similar with stack names. For example, in WebMerge the About stack is named "wmAbout", its FTP stack is named "wmFTP", etc. The stack titles are set to something more descriptive for the user, butin my scripts I havve simple single-word names that are unique for each project, allowing me to work on several app at once without fear of conflicting stack names. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From Cubist at aol.com Thu Oct 30 03:33:09 2003 From: Cubist at aol.com (Cubist at aol.com) Date: Thu, 30 Oct 2003 03:33:09 EST Subject: Trapping The Keypad 'Clear' Key Message-ID: <135.270def3d.2cd226c5@aol.com> sez igor at pixelmedia.com.au: >On 30/10/2003, at 2:59 AM, Ken Ray wrote: >> Trap the rawKeyDown or rawKeyUp message and look for 65407. I'm pretty >> sure it's the same on all platforms, but haven't tested it yet. >This is *precisely* what I'm concerned about, though: will this number >be the same on ALL keyboards, and ALL PLATFORMS? Is this number based >on some hardware standard that all manufacturers must adhere to, or >will there be variations? Personally, I'd be very surprised if it *were* the same on ALL keyboards and ALL platforms. I'd recommend that you decide which platforms you want to support, create however-many custom property sets you need to contain all the rawKey codes for the platforms you support, and select the appropriate custom property set in your stack's "on startUp" handler. Hope this helps... From ambassador at fourthworld.com Thu Oct 30 03:47:36 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2003 00:47:36 -0800 Subject: Trapping The Keypad 'Clear' Key In-Reply-To: <135.270def3d.2cd226c5@aol.com> Message-ID: Cubist at aol.com wrote: > sez igor at pixelmedia.com.au: >> On 30/10/2003, at 2:59 AM, Ken Ray wrote: >>> Trap the rawKeyDown or rawKeyUp message and look for 65407. I'm pretty >>> sure it's the same on all platforms, but haven't tested it yet. >> This is *precisely* what I'm concerned about, though: will this number >> be the same on ALL keyboards, and ALL PLATFORMS? Is this number based >> on some hardware standard that all manufacturers must adhere to, or >> will there be variations? > Personally, I'd be very surprised if it *were* the same on ALL keyboards > and ALL platforms. I'd recommend that you decide which platforms you want to > support, create however-many custom property sets you need to contain all the > rawKey codes for the platforms you support, and select the appropriate custom > property set in your stack's "on startUp" handler. I'd be surprised if they weren't, if not for all OSes then at least for most. How would keyboard manufacturers be able to make standard keyboards without a standard to follow? In a quick test here on OS X and XP, the Clear, Home, Scroll Up, and Scroll Down buttons all generate the same codes using this simple test script: on rawkeydown k put k pass rawkeydown end rawkeydown My Linux box is off right now and I don't have much time today to test further anyway, but if someone does I'd be very interested to hear if the key codes are different. As much as I'm fond of swapping custom property sets for all sorts of things (I'm working on a stack right now that uses them to store US and UK spellings for control labels), with key codes it'll hopefully prove to be overkill. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From revolution at sigsoftware.com Thu Oct 30 09:10:32 2003 From: revolution at sigsoftware.com (Gideon Greenspan) Date: Thu, 30 Oct 2003 16:10:32 +0200 Subject: Resources from externals Message-ID: <20031030140836.73FA193005B@mail.runrev.com> >> Now I want to have some resources accessible from the external code using >> the usual GetResource-style calls. I've tried putting the resources >> inside the .rev file, as well as compiling them into the external bundle, >> but neither method seems to work. I'd rather not manually mess about with >> the resource chain from within the external, since that could cause all >> sorts of problems. Is there any simple way to make resources available to >> the external? > >I think in addition to your external lib, you can stash various >resources inside the bundle, then use CoreFoundation, Carbon or Cocoa >functions to get the resources at runtime. I have done this, but it seems Revolution does not add my bundle's resources to the resource chain automatically. So instead I am trying to do this manually, using this sort of code: UseResFile(CFBundleOpenBundleResourceMap(CFBundleGetMainBundle())); The trouble is that CFBundleGetMainBundle seems to give me the CFBundleRef for the Revolution application and not my plug-in bundle. Surely there must be an easy way to get the CFBundleRef for my plug-in? Gideon Greenspan Lead Developer Sig Software ggreenspan at sigsoftware.com http://www.sigsoftware.com/ From alex at mindlube.com Thu Oct 30 11:43:35 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 30 Oct 2003 09:43:35 -0700 Subject: Resources from externals In-Reply-To: <20031030140836.73FA193005B@mail.runrev.com> References: <20031030140836.73FA193005B@mail.runrev.com> Message-ID: <349E2030-0AF8-11D8-8F54-000393C4760A@mindlube.com> On Oct 30, 2003, at 7:10 AM, Gideon Greenspan wrote: > I have done this, but it seems Revolution does not add my bundle's > resources to the resource chain automatically. So instead I am trying > to > do this manually, using this sort of code: > > UseResFile(CFBundleOpenBundleResourceMap(CFBundleGetMainBundle())); > > The trouble is that CFBundleGetMainBundle seems to give me the > CFBundleRef for the Revolution application and not my plug-in bundle. > Surely there must be an easy way to get the CFBundleRef for my plug-in? You can lookup your contained bundle just as if it's another resource in the main bundle. See "Locating a bundle using the bundle name" Also "Locating Resources Inside a Bundle" looks useful. Once you get the CFBundleRef, it should be fine and present no problems. However, it seems like it might be better to compile the original C code into your new external.bundle instead of jumping through all these hoops. Good luck! I've never had to access bundle resources from within an external. I've done it from in a Cocoa application- but that's easier because I was just dealing with the main bundle. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jperryl at ecs.fullerton.edu Thu Oct 30 12:02:49 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 30 Oct 2003 09:02:49 -0800 (PST) Subject: iGame3D FMOD & Revolution In-Reply-To: <00a501c39eb2$1945adb0$6601a8c0@LightningFlash> Message-ID: So very cool! Just sent the info off to my class... Judy > We are eager to receive your comments. From alex at mindlube.com Thu Oct 30 12:03:52 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 30 Oct 2003 10:03:52 -0700 Subject: corrupted stack In-Reply-To: References: Message-ID: <0999D76D-0AFB-11D8-8F54-000393C4760A@mindlube.com> On Oct 23, 2003, at 6:50 PM, Richard Gaskin wrote: > Is there a copy of the stack in the same directory with a tidle after > its > name? (e.g., MtStack.rv~) if so, that's a backup created bythe > engine as a > temp file when doing saves -- if you have such a file you should be > able to > just remove the tilde and get back to work. This "~" file is starting to take on mythic proportions for me. I've had stacks get corrupted several times, and not once have I been able to see a "~" backup file. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Thu Oct 30 12:08:31 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 30 Oct 2003 10:08:31 -0700 Subject: corrupted stack In-Reply-To: <0999D76D-0AFB-11D8-8F54-000393C4760A@mindlube.com> References: <0999D76D-0AFB-11D8-8F54-000393C4760A@mindlube.com> Message-ID: On Oct 30, 2003, at 10:03 AM, Alex Rice wrote: > This "~" file is starting to take on mythic proportions for me. I've > had stacks get corrupted several times, and not once have I been able > to see a "~" backup file. continuing that thought... So is there, or should there be a bugzilla bug for "stacks being corrupted with no ~ backup stack existing for recovery"? Chipp's revArchive pluging is saving my A%% again. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From pixelbird at interisland.net Thu Oct 30 12:15:32 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 30 Oct 2003 09:15:32 -0800 Subject: Still no good PNG In-Reply-To: <20031029170004.1D85A9300F8@mail.runrev.com> Message-ID: Hi Chipp, > Date: Wed, 29 Oct 2003 10:44:52 -0600 > From: "Chipp Walters" > Subject: RE: Still no good PNG > > With the checkerboard showing in Photoshop, click the Save to Web button and > make sure you select the 24 bit output with tranparency. I don't know if LE > supports this as I don't use LE. ---------- Thanks. Apparently not...and therein lies the problem. Is there anything else besides PS that might have that feature? If I knew what it was and how it works, I might be able to come up with something. Ken N. From ambassador at fourthworld.com Thu Oct 30 12:27:20 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2003 09:27:20 -0800 Subject: corrupted stack In-Reply-To: Message-ID: Alex Rice wrote: > On Oct 30, 2003, at 10:03 AM, Alex Rice wrote: > >> This "~" file is starting to take on mythic proportions for me. I've >> had stacks get corrupted several times, and not once have I been able >> to see a "~" backup file. > > continuing that thought... > > So is there, or should there be a bugzilla bug for "stacks being > corrupted with no ~ backup stack existing for recovery"? I would bug it. The engine itself seems generally reliable in this regard, so it may be something in the interactions with the IDE. As an additional data point, since 1997 I've only had one corrupted stack with MC, and in all cases where a save was terminated (fatal error elsewhere in the system, power outage, me doing something stupid) there was a "~" copy to work from. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From scott at tactilemedia.com Thu Oct 30 12:55:15 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 30 Oct 2003 09:55:15 -0800 Subject: Still no good PNG In-Reply-To: Message-ID: On 10/30/03 9:15 AM, "Ken Norris" wrote: >> With the checkerboard showing in Photoshop, click the Save to Web button and >> make sure you select the 24 bit output with tranparency. I don't know if LE >> supports this as I don't use LE. > Apparently not...and therein lies the problem. > > Is there anything else besides PS that might have that feature? I thought I posted this once before but couldn't find it in the archives. List of PNG editors: http://www.libpng.org/pub/png/pngaped.html Some kind of PNG software archive: http://gd.tuwien.ac.at/graphics/libs/png/applications/ Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Thu Oct 30 13:00:55 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Oct 2003 12:00:55 -0600 Subject: corrupted stack In-Reply-To: Message-ID: Hi Alex, I've similar experiences as Richard with this. Since using Rev, I've (knock on wood) *never* experienced a corrupted stack --and I've crashed Rev a bunch ;-) On those rare occasions when I couldn't get a stack to open, I lock messages and open the stack, then comment out all the on preOpenStack on openStack on startup handlers and go from there. Usually it's something in one of those handlers. As I'm sure you know, Rev loads your whole stack(s) in memory and works with them while in memory. So, the *only* time a stack can get corrupted is during a save or save as (or virus). I'm using XP. You're mileage may vary if on Mac. altArchive has saved by *%$ quite a few times also! For those of you who may be lurking and don't know, altArchive is a free plugin which saves iterative versions of your stack and puts them in an 'archive folder' at the same level as your stack. More can be found at: -Chipp From ambassador at fourthworld.com Thu Oct 30 13:06:37 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Oct 2003 10:06:37 -0800 Subject: corrupted stack In-Reply-To: Message-ID: Chipp Walters wrote: > I've similar experiences as Richard with this. Since using Rev, I've (knock > on wood) *never* experienced a corrupted stack --and I've crashed Rev a > bunch ;-) That raises a good question: could there be anything unique to the stack file in question or its scripts that makes it more prone to corruption? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From alex at mindlube.com Thu Oct 30 13:10:52 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 30 Oct 2003 11:10:52 -0700 Subject: corrupted stack In-Reply-To: References: Message-ID: <65B14006-0B04-11D8-8F54-000393C4760A@mindlube.com> On Oct 30, 2003, at 11:00 AM, Chipp Walters wrote: > Hi Alex, > > I've similar experiences as Richard with this. Since using Rev, I've > (knock > on wood) *never* experienced a corrupted stack --and I've crashed Rev a > bunch ;-) I figured Richard is still using Metacard most of the time & hence the good track record. You are lucky indeed. > On those rare occasions when I couldn't get a stack to open, I lock > messages > and open the stack,... FWIW when you do get a corrupted stack you will see an error dialog "There was a problem opening that stack: stack is corrupted, check for ~ backup file". This happens even with messages locked- you can't even open the stack at all. > As I'm sure you know, Rev loads your whole stack(s) in memory and > works with > them while in memory. So, the *only* time a stack can get corrupted is > during a save or save as (or virus). Which is why I think there must be a problem with Rev's save routines. These corrupted stacks have occurred on various different OS X installations with different hard disks, different CPUs, different OS versions, etc. No OS crashes or Revolution.app crashes have preceded the corrupted stack either. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Thu Oct 30 13:20:06 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 30 Oct 2003 11:20:06 -0700 Subject: corrupted stack In-Reply-To: References: Message-ID: On Oct 30, 2003, at 10:27 AM, Richard Gaskin wrote: > I would bug it. OK folks it's bug# 857. Please add your observations to it. summary: corrupted stacks are never accompanied by a ~ backup file. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Thu Oct 30 13:23:44 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 30 Oct 2003 11:23:44 -0700 Subject: corrupted stack In-Reply-To: References: Message-ID: <31DC3D9D-0B06-11D8-8F54-000393C4760A@mindlube.com> On Oct 30, 2003, at 11:06 AM, Richard Gaskin wrote: > That raises a good question: could there be anything unique to the > stack > file in question or its scripts that makes it more prone to corruption? Yes and no. It's my project stack I've been working on for 18 months. I work on the project every work day in Revolution. There is nothing unusual about the 2-3 days out of 365 days when the project gets corrupted. It's not surprising it would be *this* project stack - because that's 90% of what I do in Revolution. Also the project's data stack was corrupted once (seperate stack) and the mainstack has been corrupted once or twice. So it's not just a single stack in question. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jacque at hyperactivesw.com Thu Oct 30 13:33:47 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Oct 2003 12:33:47 -0600 Subject: Still no good PNG In-Reply-To: References: Message-ID: <3FA1598B.9060902@hyperactivesw.com> On 10/30/03 11:15 AM, Ken Norris wrote: > Is there anything else besides PS that might have that feature? If I knew > what it was and how it works, I might be able to come up with something. Use Graphic Converter and save the image as a transparent GIF. I've had good luck with that. If your graphic doesn't look right with transparency, then try saving it as an opaque image in any format (jpg or gif, etc.) Then use Rev's blendLevel property to adjust the image's translucency within the stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Oct 30 13:48:53 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 30 Oct 2003 10:48:53 -0800 Subject: [OT] Spirit of the Season Message-ID: To celebrate the upcoming end of October, we cobbled together a spooky little diversion. Turn up the sound, turn down the lights, and paste the following in your message box: go stack url "http://www.tactilemedia.com/mediaplayer/stacks/games/ouija/ouija.rev" NOTE: This stack attempts to black out your desktop at startup so save any open stacks before running just in case. :-) Approx 1.6MB total download (dial-up users beware) and requires Rev 2.1 Happy Halloween, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Thu Oct 30 15:46:10 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Oct 2003 14:46:10 -0600 Subject: [OT] Spirit of the Season In-Reply-To: Message-ID: Scott, Very Nice!!! I asked if SCO was going to be successful and it answered: "Unable to predict".. Hmmmmmmmmmmmmmm. From pixelbird at interisland.net Thu Oct 30 22:31:40 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 30 Oct 2003 19:31:40 -0800 Subject: iGame3D FMOD & Revolution In-Reply-To: <20031030070027.4EF7F930163@mail.runrev.com> Message-ID: Howdy Bill, > Date: Thu, 30 Oct 2003 00:45:15 -0500 > From: WIlliam Griffin > Subject: iGame3D FMOD & Revolution ---------- I got this error when the stack opens: executing at 7:28:03 PM Type Handler: can't find handler Object FMOD Example Line FfRInit Hint FfRInit Ken N. From pixelbird at interisland.net Thu Oct 30 21:55:48 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 30 Oct 2003 18:55:48 -0800 Subject: iGame3D FMOD & Revolution In-Reply-To: <20031030184723.78AF29300EA@mail.runrev.com> Message-ID: Bill & Tobias, > Date: Thu, 30 Oct 2003 00:45:15 -0500 > From: WIlliam Griffin > Subject: iGame3D FMOD & Revolution > > Hello Rev-List Readers, > Tobias Opfermann and I would like to share with you some of our hard > work. > First the blood and sweat of many months labor, iGame3D, a 3D game > development program using a custom OpenGL external in Revolution, for > Mac and PC can now be downloaded: > Mac Version: http://www.igame3d.com/beta/iGame3D_b102903.sit > Windows Version: http://www.igame3d.com/beta/iGame3Db102903.zip ---------- Wonderful!! Say, what about stick control? I've beem vying for something that can add other controls besides keyboard and mouse/trackball, specifically joysticks. For my uses, I would need choices of 'Relative' (similar to mouse control) or 'Absoute' (springs back to center of a specified rectangle [reverseable for flight/steering control]), and 'Sensitivity' (speed). Right now I'm using "USB Overdrive" for the Mac, but you have to assign the software to implement it in, and other settings from its Control Panel, and can't change them anywhere else (no AppleScript library). I can make it work in place of keys, too. An external for at least Windows and Mac OS/OSX would be the berries! Ken N. From pixelbird at interisland.net Thu Oct 30 22:34:03 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 30 Oct 2003 19:34:03 -0800 Subject: iGame3D FMOD & Revolution In-Reply-To: <20031030070027.4EF7F930163@mail.runrev.com> Message-ID: Back again... > Date: Thu, 30 Oct 2003 00:45:15 -0500 > From: WIlliam Griffin > Subject: iGame3D FMOD & Revolution I suspect it only works with Mac OSX...true? Ken N. From pixelbird at interisland.net Thu Oct 30 20:37:10 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 30 Oct 2003 17:37:10 -0800 Subject: Opening stacks In-Reply-To: <20031030184723.78AF29300EA@mail.runrev.com> Message-ID: Howdy, Dumb question: How do I get (non-standalone) stacks to open Rev when I doubleclick the file? Ken N. From pixelbird at interisland.net Thu Oct 30 15:24:46 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 30 Oct 2003 12:24:46 -0800 Subject: Still no good PNG In-Reply-To: <20031029230412.AF13893012A@mail.runrev.com> Message-ID: Hello Wilhelm, > Date: Wed, 29 Oct 2003 23:31:53 +0100 > From: Wilhelm Sanke > Subject: Re: Still no good PNG > I prefer "RealDraw Pro" instead of all kinds of Photoshop. It is simpler > to operate and much cheaper - about 50 $ (www.mediachance.com), but > there is only a Windows version. There is a trial version without > restrictions. > > No troubles with importing translucent PNGs of any blend level into Rev > or Metacard and both on Windows and MacOS. --------- Thanks so much, I'll check into it. Ken N. From pixelbird at interisland.net Thu Oct 30 14:35:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 30 Oct 2003 11:35:00 -0800 Subject: iGame3D FMOD & Revolution In-Reply-To: <20031030070027.4EF7F930163@mail.runrev.com> Message-ID: Bill & Tobias, > Date: Thu, 30 Oct 2003 00:45:15 -0500 > From: WIlliam Griffin > Subject: iGame3D FMOD & Revolution > > Hello Rev-List Readers, > Tobias Opfermann and I would like to share with you some of our hard > work. > First the blood and sweat of many months labor, iGame3D, a 3D game > development program using a custom OpenGL external in Revolution, for > Mac and PC can now be downloaded: > Mac Version: http://www.igame3d.com/beta/iGame3D_b102903.sit > Windows Version: http://www.igame3d.com/beta/iGame3Db102903.zip ---------- Wonderful!! Say, what about stick control? I've beem vying for something that can add other controls besides keyboard and mouse/trackball, specifically joysticks. For my uses, I would need choices of 'Relative' (similar to mouse control) or 'Absoute' (springs back to center of a specified rectangle [reverseable for flight/steering control]), and 'Sensitivity' (speed). Right now I'm using "USB Overdrive" for the Mac, but you have to assign the software to implement it in, and other settings from its Control Panel, and can't change them anywhere else (no AppleScript library). I can make it work in place of keys, too. An external for at least Windows and Mac OS/OSX would be the berries! Ken N. From sarahr at genesearch.com.au Thu Oct 30 17:06:15 2003 From: sarahr at genesearch.com.au (Sarah) Date: Fri, 31 Oct 2003 08:06:15 +1000 Subject: Setting the Mouse Button (and Printing Weirdness) In-Reply-To: Message-ID: <479FF212-0B25-11D8-A696-0003937A97B8@genesearch.com.au> revShowPrintDialog doesn't actually do anything itself, it just sets things up so that revPrintField knows what to do. I think that you need to explicitly use "revShowPrintDialog false, false" to turn off the show dialogs setting after it has been shown once. Cheers, Sarah On Thursday, October 30, 2003, at 05:52 pm, Gardner, Joseph A wrote: > Folks, I'm having a weird problem with setting the mouse button in a > print handler. I'd like to have a regular mouse click (Button 1) print > the contents of a field and a control- or right-click (Button 3) > display the appropriate print dialogs before printing. However, after > control-clicking the button once, subsequent regular clicks _keep_ > producing the print dialogs even though the answer shows that > theButton is 1 (plain click). Control-clicking works as expected, why > does the "if theButton is 3" loop keep kicking in when theButton is > clearly 1? Here's the handler I'm trying to get under control: > > on mouseUp theButton > answer theButton > if field "FileContents" is empty then exit to top > if theButton is 3 then -- Control-click, right-click > revShowPrintDialog true,true > end if > revPrintField ("field" && quote & "FileContents" & quote) > put 1 into theButton > end mouseUp > > Working in OSX 10.2 on a G4 expecting to port to Windows eventually. > > Thanks for any advice! > > joe. > > p.s. Any idea why revPrintField would print the contents of the field > on a light gray background when printing to a laser printer? It's very > strange. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From bill at igame3d.com Fri Oct 31 02:00:31 2003 From: bill at igame3d.com (WIlliam Griffin) Date: Fri, 31 Oct 2003 02:00:31 -0500 Subject: iGame3D Q&A Message-ID: Thanks for the feedback everyone. I'll quickly answer some questions. "Is it possible to do the following? I'm interested in being able to render high quality scenes, suitable for display on web pages. Is this possible? Create hi-rez single pictures. IOW, create a large poly count mesh with numerous textures and 'take a picture' instead of real-time animate." -Yes this is built right in , there is a Snapshot window you can get from under the Window Menu. It will output .png files, (I just found a glitch in that tonight, earning the app its beta status again.) A full screen snapshot scaled down to about 240dpi at 8 inches across. Plenty of resolution for your webpage. The screensave script command allows you to say, press a key, click the mouse or render out based on some variable. Also you can get about 80,000 polygons into the scene, perfomance of course takes a nose dive at some point, at least on my computer. iGame3D is not intended to replace Cinema4D, LightWave and Maya, yet. -Render hi-rez single images w/alpha channel? No not currently, iGame3D is primarily developed for interactive purposes. I'm pretty sure though you could make a stack that does that using the external and Revolution: image out, image in, do some channel trick and get the result you want, quickly. Same with making movies, iGame3D itself doesn't do that but a someone could build stacks that combine image sequences into a single movie file. -MIP map objects. Yes Thats a default. '-Anti-alias objects -Reflection Maps? -Shadows? All these things could be done, but Tobi would never be able to tell if they worked correctly because his development machine is only a G3 400 iMac. We've been working on this project for a year now without income, with varying bits of burn out, endless no feedback beta's and increasing costs, New features such as these have to wait until that situation reverses. We still face at least 3 weeks of documenting the 500 controls of the iGame3D stack along with beta testing it ourselves. Since I didn't list features explicitly last night I may as well do that now. -a feature-rich mesh modeling editor -Import of widely used 3D model formats: 3DS, Wavefront OBJ, Lightwave LWO, Coalesce and Meshwork models. -Export of 3DS,OBJ,Coalesce and Meshwork models -import of all image types QuickTime supports on Mac and PNG texture loading on PC. -an efficient, quite easy to learn scripting language that requires no compiling -about the whole engine is cross-platform -Lights, Fog, Background color, Object Mesh color, -Particles -Bones based Model Animation -Support for sound through the FMODforRev external We should have a link for the external for sale up by Monday, (waiting for PayPal account stuff to clear.) Anymore questions? Any comments? Found a Bug? Feel free to email us off list. Willaim Griffin & Tobias Opfermann info at igame3d.com http://www.igame3d.com/ http://www.igame3d.com/phpBB2/ From rcozens at pon.net Fri Oct 31 10:00:43 2003 From: rcozens at pon.net (Rob Cozens) Date: Fri, 31 Oct 2003 08:00:43 -0700 Subject: Opening stacks In-Reply-To: References: Message-ID: >How do I get (non-standalone) stacks to open Rev when I >doubleclick the file? Hi Ken, Double-clicking does it for me on Mac OS 10.2. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "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) From sarahr at genesearch.com.au Thu Oct 30 17:03:58 2003 From: sarahr at genesearch.com.au (Sarah) Date: Fri, 31 Oct 2003 08:03:58 +1000 Subject: Pointer tool not working In-Reply-To: Message-ID: What mode is the stack set to? It sounds as if it is either modeless or palette, in which case you can't edit it. This is useful for a Launcher stack as it means it is usable even when you are in edit mode, but you will have to do something different to edit the Launcher itself. Try right-clicking to bring up the contextual menu and setting the mode to top level so you can edit, then set it back. Alternatively, do all your editing via the Application Browser and then save from there. Cheers, Sarah On Thursday, October 30, 2003, at 03:17 pm, JonathanC at ag.nsw.gov.au wrote: > I recently created a stack ("Launcher.rev") to act like HyperCard's > Home > stack. It works OK, but just then, when I went to edit a button, I > discovered that the pointer tool wasn't working. When I choose the > pointer > tool (either from the palette or the Tools menu) and click on the > button, > instead of selecting it, it CLICKS it (as though the browse tool is > active). > > This only happens with this one stack (so far). I can still select > objects > by choosing "Card [or Stack] Inspector" from the Object menu and then > finding the object I want from the Selection pop-up menu, or by using > the > Application Browser, but why can't I select them directly? > > Jonathan Cooper > Manager of Information / Website > Art Gallery of New South Wales > Sydney, Australia > http://www.artgallery.nsw.gov.au > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sbalsen at taconic.net Thu Oct 30 22:11:33 2003 From: sbalsen at taconic.net (Sy Balsen) Date: Thu, 30 Oct 2003 19:11:33 -0800 Subject: on mouseEnter and mouseLeave Message-ID: I thought this was going to be easy! When the mouse goes over a certain image image, I want it to show another image: on mouseEnter show image 1 end mouseEnter when the mouse moves away from the image, I want it to show the original image: om mouseLeave hide image 1 end mouseLeave The problem is, when the mouse leaves, nothing happens (image 1 does not hide) until the mouse moves away, re-enters the image and moves away again. What am I doing wrong? Thanks for any help! Sy Balsen Malden Bridge, NY From rxfeldman at comcast.net Fri Oct 31 09:26:25 2003 From: rxfeldman at comcast.net (Russell) Date: Fri, 31 Oct 2003 09:26:25 -0500 Subject: Open "Tips" stack in edit mode Message-ID: <003501c39fba$f75da9f0$6501a8c0@S0031724895> Hello people How can I open the revolution stacks in edit mode so I can peruse how the stack was out together. Like maybe the Tips stack. as an example Thanks Russ 12345 From mcdomi at free.fr Fri Oct 31 11:42:14 2003 From: mcdomi at free.fr (Dom) Date: Fri, 31 Oct 2003 17:42:14 +0100 Subject: Odd behaviour with long file names on OS X Message-ID: <1g3pemr.ti5gg58souteM%mcdomi@free.fr> When I try to give a file a "long" filename, i.e. more than the 31 char Mac OS Classic limit via the the "set the filename" command, it ends with a truncated file name on the Finder, finishing with some # cabalistic chars... No need to say that after that Revolution is somewhat confused about which file is in use ;-> For instance, I am importing a text file named "The Adventure of the Blue Carbuncle.text" into a Rev stack... The stack is given this name : "The Adventure of the #90EAD.r#0" I had this "translation" when I copied from a OS X computer to a OS 8.6 one... Wonder why revolution this "translation"?? Besides that, not that the extension is also an odd one... When I try to open this file, Rev complains that it is corrupted! Moreover, one has to EXPLICITLY save the stack -- if I close this stack, there is sometimes NO WARNING that the the stack is not saved... -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From mcdomi at free.fr Fri Oct 31 11:42:15 2003 From: mcdomi at free.fr (Dom) Date: Fri, 31 Oct 2003 17:42:15 +0100 Subject: File Menu not functioning Message-ID: <1g3pfjl.1b8kxrp108v4u8M%mcdomi@free.fr> I am speaking of the File menu created in a stack, f.i. with the Menu Builder Tool. It appears that the menu seems to be there -- but there are no menu items! When I peek at the menubar group, all seems to be normal... (layer, menu items, script) The sole workaround I found is to place a "fake" menu at the first place, and only THEN to place my File Menu. No advice? -- Digital photos (nature, garden) : http://cooldomi.free.fr/ Scripting : http://domiscript.free.fr/ From heather at runrev.com Fri Oct 31 11:51:59 2003 From: heather at runrev.com (Heather Williams) Date: Fri, 31 Oct 2003 16:51:59 +0000 Subject: Software at the Speed of Thought - ebook imminent Message-ID: Dear listees, I'm happy to be able to announce that we go live with volume one of Dan Shafer's book Revolution: Software at the Speed of Thought on Monday, November the 3rd. This will be an ebook available for immediate purchase and download from our brand new Revolution Press webstore. The printed version will follow in approximately four weeks time. We're very excited about this partnership, we hope you find the book as useful, exciting and Revolutionary as we do. Warm Regards Heather Listmom, webmistress and publisher -- . Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From jiml at netrin.com Thu Oct 30 14:10:32 2003 From: jiml at netrin.com (Jim Lambert) Date: Thu, 30 Oct 2003 11:10:32 -0800 Subject: [OT] Spirit of the Season In-Reply-To: <20031030184723.91E1F9300F5@mail.runrev.com> Message-ID: I J L I I M K L E A I M T B E R T --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.529 / Virus Database: 324 - Release Date: 10/16/03 From pixelbird at interisland.net Fri Oct 31 12:05:14 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri, 31 Oct 2003 09:05:14 -0800 Subject: TEST In-Reply-To: <20031030070027.4EF7F930163@mail.runrev.com> Message-ID: Hello, my messages to the list are not being passed to the list. This is a test. Ken N. From alex at mindlube.com Thu Oct 30 13:55:36 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 30 Oct 2003 11:55:36 -0700 Subject: Panther Install Question In-Reply-To: <29D8DC8C-09A1-11D8-952E-000A95B02D84@mac.com> References: <29D8DC8C-09A1-11D8-952E-000A95B02D84@mac.com> Message-ID: On Oct 28, 2003, at 4:48 PM, Brian Maher wrote: > I can now get Rev to start but I immediately get the following message: > > There was an error saving your licensing key. Check file permissions. > can't open stack backup file > > Obviously, I did not set the permissions as well as I thought I did. > Can anyone give me the correct way to do this? It could be this is really new for Panther. (I always run as an admin user so it hasn't bitten me) But OS 10.3 fixes a bug where files copied from DMG files have wide open permissions (world writable). This was a security problem, but the side effect of it would be that in 10.0-10.2 you could probably run Revolution OK as a non-admin user. In 10.3 the correct file permissions on install might actually cause apparent problems with Rev. Just speculating. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Thu Oct 30 18:24:05 2003 From: alex at mindlube.com (Alex Rice) Date: Thu, 30 Oct 2003 16:24:05 -0700 Subject: [OT] Spirit of the Season In-Reply-To: References: Message-ID: <2749C390-0B30-11D8-A70F-000393C4760A@mindlube.com> On Oct 30, 2003, at 11:48 AM, Scott Rossi wrote: > To celebrate the upcoming end of October, we cobbled together a spooky > little diversion. Turn up the sound, turn down the lights, and paste > the > following in your message box: Spooky! > NOTE: This stack attempts to black out your desktop at startup so save > any > open stacks before running just in case. :-) How does it do that BTW (what combination of Rev properties)? Happy halloween, Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From rogerguay at centurytel.net Fri Oct 31 12:53:18 2003 From: rogerguay at centurytel.net (Roger Guay) Date: Fri, 31 Oct 2003 09:53:18 -0800 Subject: Panther Problem? Message-ID: <1BDF9D1A-0BCB-11D8-B251-000393A1CAAA@centurytel.net> After installing panther, I can no longer open my Rev projects by double-clicking them. I have to open them from within Revolution 2.1. I did try to save again in Rev 2.1 but to no avail. Any advice, please? Thanks, Roger From pixelbird at interisland.net Fri Oct 31 13:20:25 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri, 31 Oct 2003 10:20:25 -0800 Subject: Sorry about dual posts In-Reply-To: <20031031170005.039F6930101@mail.runrev.com> Message-ID: Howdy, Rev list seemed to be rejecting a fair number of my posts yesterday and the previous night, but apparently they eventually went through, thus the dual posts. My apologies. Ken N. From alex at mindlube.com Fri Oct 31 13:28:20 2003 From: alex at mindlube.com (Alex Rice) Date: Fri, 31 Oct 2003 11:28:20 -0700 Subject: Sorry about dual posts In-Reply-To: References: Message-ID: <00F3CBF4-0BD0-11D8-B47D-000393C4760A@mindlube.com> On Oct 31, 2003, at 11:20 AM, Ken Norris wrote: > Howdy, > > Rev list seemed to be rejecting a fair number of my posts yesterday > and the > previous night, but apparently they eventually went through, thus the > dual > posts. I didn't see any of my messages rejected, however the runrev.com website and mail server were inaccessible for a period yesterday, and so your outgoing mail server was probably holding onto the messages trying periodically to deliver them. Alex Rice | Mindlube Software | what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From rogerguay at centurytel.net Fri Oct 31 13:39:24 2003 From: rogerguay at centurytel.net (Roger Guay) Date: Fri, 31 Oct 2003 10:39:24 -0800 Subject: Panther Problem? In-Reply-To: <20031031192731.2F21C93007B@mail.runrev.com> References: <20031031192731.2F21C93007B@mail.runrev.com> Message-ID: <8C9D6278-0BD1-11D8-B251-000393A1CAAA@centurytel.net> Never Mind . . . sorry to clutter this list. I just found the solution in the Archive: Get info - Open with "Revolution 2.1" Thanks, Roger From curry at pair.com Fri Oct 31 13:42:24 2003 From: curry at pair.com (curry) Date: Fri, 31 Oct 2003 12:42:24 -0600 Subject: MIDI volume (Re: mciSendString for volume) In-Reply-To: <20031030070027.67F82930164@mail.runrev.com> References: <20031030070027.67F82930164@mail.runrev.com> Message-ID: Dar Scott wrote: >Wild guesses to try: > >mci "setaudio mid volume to 30" >mci "set mid volume to .3" > >midiOutSetVolume Hey Dar, thanks for those guesses! I tried all kind of stuff with MCI but got absolutely nowhere. I'm not sure if volume is supported for MIDI by that route or not. (If anyone knows, give a holler please! It seems like MCI should do it, theoretically, but I haven't been able to find the way.) But, that last one you mentioned got me hopeful again--I haven't done any Win API programming so I didn't know it, but I looked it up and it looks good. If MCI can't do the MIDI volume at all, this looks like my best bet. >Maybe the new fmod external can address this for you. Well, I really think that one is super, right on because we do need good non-QT support on Windows, and worth the cost of FMOD if you use all the features. But in this case, it seems like overkill since my project is all ready to go other than controlling the MIDI volume, and I'd have to license FMOD. (Also, I still couldn't tell from the Rev external download whether it supports all the features, including volume.) I think I will consider it in the future though. I think that making something that high quality available to Rev is a wonderful step. So, right now I'm thinking to use midiOutSetVolume, perhaps with one of the BASIC compilers that support Declare statements and make small enough executables. I think that's about the best I can do. Thanks Dar and if anyone has a better solution do please let me know, otherwise I am going to try making a little helper app in BASIC. Windows audio in Rev without QT is almost tolerable--MIDI volume control is the one thing missing. With it, you have one-channel sound effects (OK for many cases) and MIDI at the same time if you like. That should do it for most apps and many games. Best wishes, Curry From dan at shafermedia.com Fri Oct 31 13:48:15 2003 From: dan at shafermedia.com (Dan Shafer) Date: Fri, 31 Oct 2003 10:48:15 -0800 Subject: use-revolution Digest, Vol 1, Issue 78 In-Reply-To: <20031031192731.4957793007C@mail.runrev.com> References: <20031031192731.4957793007C@mail.runrev.com> Message-ID: On Oct 31, 2003, at 11:27 AM, Sy Balsen wrote: > I thought this was going to be easy! When the mouse goes over a certain > image image, I want it to show another image: > Without looking at the code, I can only guess, but I imagine that the problem is that you need the on mouseLeave handler in the image you're showing and hiding rather than in the originally displayed message. The event "mouseLeave" isn't being sent to the original graphic because it's masked, presumably, by the other graphic. At least that's a shot at the problem. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of "Revolution: Software at the Speed of Thought" http://www.revolutionpros.com for more info Available Nov. 3, 2003, through Runtime Revolution Store From revlist at cableone.net Fri Oct 31 13:48:37 2003 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 31 Oct 2003 11:48:37 -0700 Subject: OT: QuickTime and mp3 Message-ID: <001801c39fdf$9b4db3b0$64fea8c0@chris1> I know this is a bit off-topic, but can someone tell me the earliest version of QuickTime that supports mp3 playback? Thanks, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com ? From dan at shafermedia.com Fri Oct 31 14:02:17 2003 From: dan at shafermedia.com (Dan Shafer) Date: Fri, 31 Oct 2003 11:02:17 -0800 Subject: Software at the Speed of Thought - ebook imminent In-Reply-To: <20031031192731.4957793007C@mail.runrev.com> References: <20031031192731.4957793007C@mail.runrev.com> Message-ID: On Oct 31, 2003, at 11:27 AM, use-revolution-request at lists.runrev.com wrote: > I'm happy to be able to announce that we go live with volume one of Dan > Shafer's book > > Revolution: Software at the Speed of Thought > Gee, I'm kinda happy my own self! :-D Seriously, I am just delighted that RunRev has seen fit to adopt my three-book series, "Revolution: Software at the Speed of Thought" (insider name - SATSOT thanks to Ro Nagey). It's exciting enough that they think enough of my books to want to sell them, but when they suggested that they launch a book publishing division and handle the printed books as well, I must say I was just overwhelmingly grateful. This partnership is ideal for me and I'm glad that I can now focus all of my energies on turning out the best books -- and creating the best online community -- for Rev users possible without having to think about production, distribution, and marketing questions. Vive la revolution! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of "Revolution: Software at the Speed of Thought" http://www.revolutionpros.com for more info Available Nov. 3, 2003, through Runtime Revolution Store From Tom.Cole at asu.edu Fri Oct 31 14:01:24 2003 From: Tom.Cole at asu.edu (Thomas Cole) Date: Fri, 31 Oct 2003 12:01:24 -0700 Subject: Big White Area Appears on the Screen in Mac OS9 when Printing a Field Message-ID: <3996AE5EBEF964418D80953BDCABFF5606AB1E5B@ex1.asurite.ad.asu.edu> My Mac OS9 standalone (created with OSX Revolution) doesn't print correctly. I use the print command in a button to print a field -- just the regular revprint field command -- and a big honkin' white image of the page being printed appears on the screen and STAYS there blocking out the view of the desktop and anything else in its way. I really need to get this fixed. Thanks very much for helping me. Tom From James.Cass at sealedair.com Fri Oct 31 14:18:32 2003 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Fri, 31 Oct 2003 14:18:32 -0500 Subject: OT: QuickTime and mp3 In-Reply-To: <001801c39fdf$9b4db3b0$64fea8c0@chris1> Message-ID: Looks like QuickTime 4.1 is when MP3 (Variable Bit Rate) files could be opened. See here on Apple's website: http://docs.info.apple.com/article.html?artnum=60685 -James "Chris Sheffield" Sent by: use-revolution-bounces at lists.runrev.com 10/31/03 01:48 PM Please respond to How to use Revolution To: "RevList" cc: Subject: OT: QuickTime and mp3 I know this is a bit off-topic, but can someone tell me the earliest version of QuickTime that supports mp3 playback? Thanks, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From gbojsza at mac.com Thu Oct 30 14:53:23 2003 From: gbojsza at mac.com (Bojsza) Date: Thu, 30 Oct 2003 13:53:23 -0600 Subject: Complex Layout Problem Message-ID: Has anyone ever had to layout an interface that the user can input various values into fields and build a logical AND, OR and NOT string? For example I have two fields sAddr and dAddr in which the user can enter any ip address they want. But they also can define a logical statement from these fields: Example: The user enters sAddr 10.10.2.3 dAddr 20.20.1.2 and wants this combination OR sAddr 30.20.34.12 AND NOT dAddr 12.10.2.3 This builds the expression (sAddr 10.10.2.3 AND dAddr 20.20.1.2) OR (sAddr 30.20.34.12 NOT dAddr 12.10.2.3) The grouping is key and must be maintained as the user continues to add addition statements. My thought was to have three identical groups of fields...one for each logical operator. Allow the user to enter his first requirements, build the expression and then see if they have another set of requirements. Is the most efficient way to approach this? Sorry this is not a Revolution specific problem but I was hoping the board would still have some insight. regards, Glen From bill at igame3d.com Fri Oct 31 14:33:48 2003 From: bill at igame3d.com (WIlliam Griffin) Date: Fri, 31 Oct 2003 14:33:48 -0500 Subject: iGame3D FMOD & Revolution In-Reply-To: <20031031170005.24A2F930102@mail.runrev.com> Message-ID: <263F2186-0BD9-11D8-A5DE-0030657D0A8E@igame3d.com> > > Date: Thu, 30 Oct 2003 19:31:40 -0800 > From: Ken Norris > Subject: Re: iGame3D FMOD & Revolution > > Howdy Bill, > ---------- > I got this error when the stack opens: > > executing at 7:28:03 PM > Type Handler: can't find handler > Object FMOD Example > Line FfRInit > Hint FfRInit > > Ken N. DOH! Silly me, forgot to tell you all that for the External to work correctly during development it should be in both the stack directory and the Revolution application directory. I make this mistake 1 out of 10 times Tobi updates an external. A finished application of course only needs it in the built application directory. > ---------- > Wonderful!! > Thanks. > Say, what about stick control? I've beem vying for something that can > add > other controls besides keyboard and mouse/trackball, specifically > joysticks. > > For my uses, I would need choices of 'Relative' (similar to mouse > control) > or 'Absoute' (springs back to center of a specified rectangle > [reverseable > for flight/steering control]), and 'Sensitivity' (speed). > > Right now I'm using "USB Overdrive" for the Mac, but you have to > assign the > software to implement it in, and other settings from its Control > Panel, and > can't change them anywhere else (no AppleScript library). I can make > it work > in place of keys, too. > > An external for at least Windows and Mac OS/OSX would be the berries! > > Ken N. Hmm Neither of us owns game controllers. I suggest contacting USB OverDrive folks and see if they would be interested in building an external. If not it will be some time before we have money to go buy new toys. Does overdrive send keyboard commands if told to do so? Like hit button "X" and the preset key is sent a keydown? If so try setting it to WASDRFQE and Arrows keys and see what results you get with the demo's. > > I suspect it only works with Mac OSX...true? Works on Mac OS X and Windows. From jhurley at infostations.com Thu Oct 30 14:38:22 2003 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 30 Oct 2003 11:38:22 -0800 Subject: PreNewbie database question In-Reply-To: <20031031192731.4957793007C@mail.runrev.com> References: <20031031192731.4957793007C@mail.runrev.com> Message-ID: I've tried a couple of times to use mySQL but I can't get to first base. When I open RR Database query builder I see two tabs: Connection and Record set. Does this imply that mySQL works only with web based data? (Yes, I've read the article in the Revolution Encyclopedia.) From revlist at cableone.net Fri Oct 31 14:43:38 2003 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 31 Oct 2003 12:43:38 -0700 Subject: OT: QuickTime and mp3 In-Reply-To: Message-ID: <001b01c39fe7$4b3c2340$64fea8c0@chris1> Thank you. That is exactly the information I needed. Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of James.Cass at sealedair.com Sent: Friday, October 31, 2003 12:19 PM To: use-revolution at lists.runrev.com Subject: Re: OT: QuickTime and mp3 Looks like QuickTime 4.1 is when MP3 (Variable Bit Rate) files could be opened. See here on Apple's website: http://docs.info.apple.com/article.html?artnum=60685 -James "Chris Sheffield" Sent by: use-revolution-bounces at lists.runrev.com 10/31/03 01:48 PM Please respond to How to use Revolution To: "RevList" cc: Subject: OT: QuickTime and mp3 I know this is a bit off-topic, but can someone tell me the earliest version of QuickTime that supports mp3 playback? Thanks, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Fri Oct 31 15:23:48 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 31 Oct 2003 12:23:48 -0800 Subject: [OT] Spirit of the Season In-Reply-To: <2749C390-0B30-11D8-A70F-000393C4760A@mindlube.com> Message-ID: ... paste the following in your message box: go stack url " http://www.tactilemedia.com/mediaplayer/stacks/games/ouija/ouija.rev" On 10/30/03 3:24 PM, "Alex Rice" wrote: >> NOTE: This stack attempts to black out your desktop at startup so save >> any >> open stacks before running just in case. :-) > > How does it do that BTW (what combination of Rev properties)? At startup, the Ouija stack stores a list of all open stacks and the visibility of each, hides everything (including the menubar on Mac OS) and closes the message box (never hide the message box, just in case). At closing time, all stacks and their vis properties are restored. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From erikhans08 at yahoo.com Fri Oct 31 15:42:09 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri, 31 Oct 2003 12:42:09 -0800 (PST) Subject: Software at the Speed of Thought - ebook imminent In-Reply-To: Message-ID: <20031031204209.31769.qmail@web20007.mail.yahoo.com> --- Heather Williams wrote: > Dear listees, > > I'm happy to be able to announce that we go > live with volume one of Dan > Shafer's book > > Revolution: Software at the Speed of Thought > > on Monday, November the 3rd. This will be an > ebook available for immediate > purchase and download from our brand new > Revolution Press webstore. The > printed version will follow in approximately > four weeks time. > > We're very excited about this partnership, we > hope you find the book as > useful, exciting and Revolutionary as we do. how do you plan to tie the books to RunRev fixes and updates? there is nothing like a nice "printed version" and i want one, but it would be great to keep up with the latest developments as they relate to the structure of the book. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ From gdevore at mac.com Fri Oct 31 16:55:16 2003 From: gdevore at mac.com (Greg DeVore) Date: Fri, 31 Oct 2003 13:55:16 -0800 Subject: Mouse scroll wheel in Mac OS 9 Message-ID: I posted about this question before but that was right before the list went down. Does anyone know how to get the mouse scroll wheel to work under OS 9? As far as I can tell Revolution doesn't receive a rawkeydown message from the scroll wheel in OS 9. I wrote a little app to test this (it would put the rawkey number into a field). Under OS 10 I get a keynumber - in OS 9 nothing. Any suggestions? Thanks Greg DeVore From livfoss at blueyonder.co.uk Fri Oct 31 17:34:17 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri, 31 Oct 2003 22:34:17 +0000 Subject: Complex Layout Problem Message-ID: On Thu, 30 Oct 2003 13:53:23 -0600, Bojsza wrote: At 16:22 -0500 31/10/03, use-revolution-request at lists.runrev.com wrote: > >Has anyone ever had to layout an interface that the user can input >various values into fields and build a logical AND, OR and NOT string? >For example I have two fields sAddr and dAddr in which the user can >enter any ip address they want. But they also can define a logical >statement from these fields: > >Example: The user enters sAddr 10.10.2.3 dAddr 20.20.1.2 and wants this >combination OR sAddr 30.20.34.12 AND NOT dAddr 12.10.2.3 > >This builds the expression > >(sAddr 10.10.2.3 AND dAddr 20.20.1.2) OR (sAddr 30.20.34.12 NOT dAddr >12.10.2.3) > >The grouping is key and must be maintained as the user continues to add >addition statements. > >My thought was to have three identical groups of fields...one for each >logical operator. Allow the user to enter his first requirements, build >the expression and then see if they have another set of requirements. > >Is the most efficient way to approach this? Sorry this is not a >Revolution specific problem but I was hoping the board would still have >some insight. > Not sure if I entirely understand where your problem lies, but couldn't you lay out a rectangular area in which you have a structure like