Re: RunRev vs RealBasic (nothing to do with it really)
Hi Ken and Jeff, On 1/18/05 4:32 PM, Klaus Major [EMAIL PROTECTED] wrote: ehmm, well my name is not Fabio and my hair is DEFINITIVELY shorter, but i don't understand this one either :-( Could you give me a hint, please? :-) Klaus, do a Google search for fabio and you'll see what he means... Oh, THAT cheesy guy... I didn't imagine that he was THAT famous ;-) :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Windows externals and the imagePixmapID
imagePixmapID is an HBITMAP Thierry. On 2005, Jan 18, , at 19:44, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know what form the imagePixmapID takes under the Windows engine for Rev? Is it an HBITMAP or an HDC, or something else entirely? Thank you! - - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7VkN7aqtWrR9cZoRAqMYAJ4ooEuOcblOnUUz2LLwcl7OxvahyQCfaQrX tHEgStdm/CnD1DLueFNoM2Y= =wV7X -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Mark Hausmann/jl1 ist außer Haus.
Ich werde ab 19.01.2005 nicht im Büro sein. Ich kehre zurück am 20.01.2005. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mark Hausmann/jl1 ist außer Haus.
Hi folks, just in case someone is interested to know what Mr. Hausmann has to tell: Ich werde ab 19.01.2005 nicht im Büro sein. Ich kehre zurück am 20.01.2005. I will not be be in my office on 1/19/2005. I will be back on 1/20/2005. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. I will answer your mail after getting back. Hmm, automatisms! Luvit! :-D Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Characters not displaying in a field?
On 19/1/05 6:13 am, Richard Gaskin [EMAIL PROTECTED] wrote: normally more anemic than the Rev docs. But this is what it took me to find them in Rev: 1. Open Documentation 2. Typed Li 3. Dismissed a dialog telling me that Li could not be found. 4. Managed to type an m before - 5. Dismissed a dialog telling me that Lim could not be found. 6. Squeezed in typing an i when - 7. Dismissed a dialog telling me Limi could not be found. 8. Typed the ts really fast, which brought up: Commands and Function Memory and Limits Reference Please note that this reference is also available directly in the Help menu. Help - Quick Reference Guides - Memory and Limits Reference. Kind regards, Kevin Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Characters not displaying in a field?
Kevin Miller wrote: On 19/1/05 6:13 am, Richard Gaskin [EMAIL PROTECTED] wrote: normally more anemic than the Rev docs. But this is what it took me to find them in Rev: 1. Open Documentation 2. Typed Li 3. Dismissed a dialog telling me that Li could not be found. 4. Managed to type an m before - 5. Dismissed a dialog telling me that Lim could not be found. 6. Squeezed in typing an i when - 7. Dismissed a dialog telling me Limi could not be found. 8. Typed the ts really fast, which brought up: Commands and Function Memory and Limits Reference Please note that this reference is also available directly in the Help menu. Help - Quick Reference Guides - Memory and Limits Reference. Thanks Kevin, that's good to know. I'm curious if you have any comment on the mis-behaviour of the Filter function. It must surely be a bug to say that there are no matches for Lim or Limi and then find the match for Limits. Presumably, now that someone at RunRev is aware of the problem, they will ensure it is entered into Bugzilla and fixed in the course of time; it would be helpful to let the list know the BZ number once this has happened. -- Alex. No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Mark Hausmann/jl1 ist außer Haus.
Ich werde ab 19.01.2005 nicht im Büro sein. Ich kehre zurück am 20.01.2005. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Characters not displaying in a field?
On 19/1/05 11:57 am, Alex Tweedly [EMAIL PROTECTED] wrote: Thanks Kevin, that's good to know. I'm curious if you have any comment on the mis-behaviour of the Filter function. It must surely be a bug to say that there are no matches for Lim or Limi and then find the match for Limits. Presumably, now that someone at RunRev is aware of the problem, they will ensure it is entered into Bugzilla and fixed in the course of time; it would be helpful to let the list know the BZ number once this has happened. There will very shortly be an update which includes a fix to this. Kind regards, Kevin Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Characters not displaying in a field?
I bet you could write the data to a text file, and have the file open in whatever app you use to view text files. That way, it would still be immediately viewable, even if not in Rev. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kee nethery Sent: Wednesday, January 19, 2005 12:42 AM To: How to use Revolution Subject: Re: Characters not displaying in a field? On Jan 18, 2005, at 6:24 PM, Richard Gaskin wrote: Mark Smith wrote: I believe Rev has a problem displaying more than a certain number of characters on one line ie. with no returns...the characters are there, but they don't display properly. I don't know what the limit is, but clearly 14 :( I have an app that stores long series of numbers, delimited by commas, in custom properties. I do this because I have to do a lot of calculations using 'item n to n+n' of longSeriesOfNumbers... if I look at the custom properties in the inspector, they are displayed wrongly or not at all, but the numbers are all there, and my operations on them work correctly, so it is just a display issue, I think. It is. Variables and custom properties are not affected. The maximum number of chars that can be on any given line is 65,535, and the total field max is about 4Gb. thank you. I can watch for long lines and then put up an alert telling them that it's there, they just cannot see it. Also, these limits should be in the docs. The old Hypercard manual had a back section on limits and I reached some of them. I'd like to see limits stated in the run rev docs. Of course in most cases that's more than you'll ever need to display to the user. uh, no, I actually wanted to display the results of an SQL query and it had no spaces and was longer than that limit. Normally the results are viewable and the really long results get copied into a text document and formatted for viewing. But in this case, it looked like the results were blank and that was my assumption (something went wrong with my code?) until on a whim I copied and pasted into a text document and saw that it was all there. But, thank you very very much for an understanding of the limits. Now I can add an alert when the data is invisible. Kee ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening custom files by Drag and Drop in standalone application
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd imagine you can fix this on a Mac by intercepting the apple event which is sent to the stack. Under Windows, you would need to check the $1 variable when starting the standalone, or check the openStacks or some such, and if a stack is specified, close it right away, display an error message, and quit? (Just a guess) On Jan 19, 2005, at 2:42 AM, Ken Ray wrote: On 1/18/05 11:55 AM, Alejandro Tejada [EMAIL PROTECTED] wrote: on Mon, 17 Jan 2005 Ken Ray wrote: When you launch an MC/Rev app, any command line information is sent to the application and is retrievable via *environment variables* numbered $0 on up. Hi Ken, I have read this useful Programming tip in your website, and TRY to use it in an standalone player to OPEN ONLY the custom documents of that application. But when i drag and drop a Rev or MC stack to a standalone i had created, IT OPENS... :-( Yes, and this may be a bug (I tested Windows) - you get the path to the stack you dropped in $1, but you don't get any messages to trap to prevent that stack from opening... I tried trapping preOpenStack and openStack, and it only triggers for the application, not the document stack that is opening. I think you should log this as a bug, unless someone has an answer for this... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7m8J7aqtWrR9cZoRAqfKAJ9jbz4wJFx8Tn+dqcuZFFhvAEcnrgCdFk9P DmaXNkhcervAzxKrmhX2pps= =pBG+ -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Windows externals and the imagePixmapID
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you! On Jan 19, 2005, at 4:47 AM, Thierry Arbellot wrote: imagePixmapID is an HBITMAP Thierry. On 2005, Jan 18, , at 19:44, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know what form the imagePixmapID takes under the Windows engine for Rev? Is it an HBITMAP or an HDC, or something else entirely? Thank you! - - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7VkN7aqtWrR9cZoRAqMYAJ4ooEuOcblOnUUz2LLwcl7OxvahyQCfaQrX tHEgStdm/CnD1DLueFNoM2Y= =wV7X -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7m9Y7aqtWrR9cZoRAlT3AJ4qXzEZz8rC3xovVx5tsVeF8uLJfwCffUHH Ntbc+NXKQLO4GFuyHWu9URw= =SBGG -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: living and learning (Re: RunRev vs RealBasic (Richard Gaskin))
On Jan 17, 2005, at 12:12 PM, Dan Shafer wrote: On another app, though I *had* to use the hide/show groups method because only part of a window (card) changes in response to the users selections. Note that the multi-card solution for tabs can still be used even if only a part of the window needs to change, as long as there is only one. You can group everything else (perhaps along with the tab panel itself) and include it on all the cards. Then create only what you want to change as card controls. You _have_ to use the show/hide groups technique (or something similar) if you have more than one tab panel and they have to change independently. regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening custom files by Drag and Drop in standalone application
On 1/19/05 8:30 AM, Frank D. Engel, Jr. [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd imagine you can fix this on a Mac by intercepting the apple event which is sent to the stack. You're right about that... and you can intercept the event *before* the stack window opens of the document stack. Under Windows, you would need to check the $1 variable when starting the standalone, or check the openStacks or some such, and if a stack is specified, close it right away, display an error message, and quit? (Just a guess) Yes, although the problem is that the document stack always displays before you can do anything about it, so it looks funky. :-) I still think this is a bug, though... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revMail fails on some Macs
On 1/18/05 10:38 PM, Sivakatirswami wrote: What exactly does the Mac need to ensure that there is an email client automatically will be invoked by revMail? I can't find any preference in OS X for default mail app that requires setting. No more internet config and apple has this bizarre requirment to set the default browser from within Safari, In Panther, they've done the same idiotic thing for email -- you have to set the default email reader from within Apple's Mail app. Jaguar was better, these settings were in the System prefs. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revMail fails on some Macs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can also use the More Internet preference pane; see: http://www.monkeyfood.com/software/moreInternet/ On Jan 19, 2005, at 12:28 PM, J. Landman Gay wrote: On 1/18/05 10:38 PM, Sivakatirswami wrote: What exactly does the Mac need to ensure that there is an email client automatically will be invoked by revMail? I can't find any preference in OS X for default mail app that requires setting. No more internet config and apple has this bizarre requirment to set the default browser from within Safari, In Panther, they've done the same idiotic thing for email -- you have to set the default email reader from within Apple's Mail app. Jaguar was better, these settings were in the System prefs. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7p5b7aqtWrR9cZoRAhduAJ9ceUlp1Mwo1ULhRCA622Tey3LeoQCfSmme bCjthy+W4hmkMiqpF4LGVnE= =X2yf -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening custom files by Drag and Drop in standalone
Alejandro Tejada wrote: I have read this useful Programming tip in your website, and TRY to use it in an standalone player to OPEN ONLY the custom documents of that application. But when i drag and drop a Rev or MC stack to a standalone i had created, IT OPENS... :-( Ken Ray answer: Yes, and this may be a bug (I tested Windows) - you get the path to the stack you dropped in $1, but you don't get any messages to trap to prevent that stack from opening... I tried trapping preOpenStack and openStack, and it only triggers for the application, not the document stack that is opening. I think you should log this as a bug, unless someone has an answer for this... I even try with the message: On Startup but not even within this handler, i could prevent the stack from opening... :-( I really hope that it were possible. Could you test your handler within the startup message? (Crossing my fingers) :-) I believe that everyone rolled their own file format, using the stack format as a starting point... so, i'm a bit surprised by this. How many developers use the unmodified stack format as document file format of their applications? Frank D. Engel, Jr. wrote: Under Windows, you would need to check the $1 variable when starting the standalone, or check the openStacks or some such, and if a stack is specified, close it right away, display an error message, and quit? (Just a guess) I dont like that another file, created by anyone opens in my application. Not even a bit... ;-( I do not want to use the securemode in my apps because sometimes is necessary to save a file in the desktop. Ken Ray wrote: the problem is that the document stack always displays before you can do anything about it, so it looks funky. :-) and all stacks are able (from a preopenstack handler) to copy binary files to hard disks, change registry settings, a maybe even run an executable, etc, etc... I still think this is a bug, though... i have not too much experience posting bugs reports to Bugzilla. Ken, if you could post this bug, please do. Write back to the mail list for the number assigned to this report. I'm really interested in learning a solution for this. al = Visit my site: http://www.geocities.com/capellan2000/ __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revMail fails on some Macs
On 1/19/05 11:28 AM, J. Landman Gay [EMAIL PROTECTED] wrote: On 1/18/05 10:38 PM, Sivakatirswami wrote: What exactly does the Mac need to ensure that there is an email client automatically will be invoked by revMail? I can't find any preference in OS X for default mail app that requires setting. No more internet config and apple has this bizarre requirment to set the default browser from within Safari, In Panther, they've done the same idiotic thing for email -- you have to set the default email reader from within Apple's Mail app. Jaguar was better, these settings were in the System prefs. That information is in the LaunchServices.plist file... the problem is that you can only get the company identifier (ilike com.apple.mail and not the *true* app name easily - I think the rest is obfuscated. Here's what I've used in the past, but it only supports Apple Mail, Entourage, and QuickMail, otherwise it returns Other: function stsDefaultMailClient -- Mac OS X only local tIdentifier,tPrefData put url(file:~/Library/Preferences/com.apple.LaunchServices.pList) into tData put lineOffset(keyU:mailto/key,tData) into tLine if tLine 0 then put lineOffset(/array,tData,tLine) into tEndLine if tEndLine 0 then put line (tLine+1) to (tLine+tEndLine) of tData into tChunk get matchText(tChunk,string(.*?)/string,pIdentifier) get matchText(tChunk,(?s)data(.*?)/data,tPrefData) put base64Decode(tPrefData) into tPrefData replace null with in tPrefData set the itemDel to numToChar(18) put item 2 of tPrefData into tPath put charToNum(char 1 of tPath) into tLength delete char 1 of tPath put char 1 to tLength of tPath into pPath switch pIdentifier case com.microsoft.entourage return Entourage break case com.apple.mail return Mail break case com.outspring.quickmail return QuickMail break default return Other break end switch end if end if return end stsDefaultMailClient HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 16, Issue 57
Hi David, Sivakatirswami, et al. Date: Tue, 18 Jan 2005 21:56:02 -0700 From: David Squance [EMAIL PROTECTED] Subject: Re: revMail fails on some Macs On Jan 18, 2005, at 9:38 PM, Sivakatirswami wrote: What exactly does the Mac need to ensure that there is an email client automatically will be invoked by revMail? I can't find any preference in OS X for default mail app that requires setting. ?? Very simple. Panther: 1) Open Mail and select Preferences from the menu. 2) From the Prefs window, select the General icon at top left. 3) Click the Default Email Reader popup and choose select. 4) You should get a list of applications. Choose the email reader you want (assuming it is installed). HTH, Ken N. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revMail fails on some Macs
OOPS! Sorry, forgot to change-out the RE header, Hi David, Sivakatirswami, et al. Date: Tue, 18 Jan 2005 21:56:02 -0700 From: David Squance [EMAIL PROTECTED] Subject: Re: revMail fails on some Macs On Jan 18, 2005, at 9:38 PM, Sivakatirswami wrote: What exactly does the Mac need to ensure that there is an email client automatically will be invoked by revMail? I can't find any preference in OS X for default mail app that requires setting. ?? Very simple. Panther: 1) Open Mail and select Preferences from the menu. 2) From the Prefs window, select the General icon at top left. 3) Click the Default Email Reader popup and choose select. 4) You should get a list of applications. Choose the email reader you want (assuming it is installed). HTH, Ken N. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Characters not displaying in a field?
Wow, one of the first things I did was to search for limit with the assumption that it would find limits. Thank you for letting me know that the search is broken and that I will need to try all permutations of a word to see if it is in the documentation. Kee On Jan 18, 2005, at 10:13 PM, Richard Gaskin wrote: kee nethery wrote: The maximum number of chars that can be on any given line is 65,535, and the total field max is about 4Gb. thank you. I can watch for long lines and then put up an alert telling them that it's there, they just cannot see it. Also, these limits should be in the docs. Agreed. I came across them in the old MC docs a while back, which are normally more anemic than the Rev docs. But this is what it took me to find them in Rev: 1. Open Documentation 2. Typed Li 3. Dismissed a dialog telling me that Li could not be found. 4. Managed to type an m before - 5. Dismissed a dialog telling me that Lim could not be found. 6. Squeezed in typing an i when - 7. Dismissed a dialog telling me Limi could not be found. 8. Typed the ts really fast, which brought up: Commands and Function Memory and Limits Reference No sooner could I ask What is this doing in 'Commands and Functions'? than I discovered that while the other limits are shown (number of objects in a group, length of object names, etc.), and it does mention the number of chars in a line, it doesn't mention that this also applies to using the sort command on a variable. Even with that minor ommission it's a good read, and if you're a quick typist you might be able to cut the number of steps to get there down to four or five. ;) PS: Is there a preference to turn off the Constantly try to search whatever's being typed in real-time option in favor of any more explicit option (Enter key, Search button) like one finds in nearly any other search box? -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening custom files by Drag and Drop in standalone
Alejandro Tejada wrote: Alejandro Tejada wrote: I have read this useful Programming tip in your website, and TRY to use it in an standalone player to OPEN ONLY the custom documents of that application. But when i drag and drop a Rev or MC stack to a standalone i had created, IT OPENS... :-( Ken Ray answer: Yes, and this may be a bug (I tested Windows) - you get the path to the stack you dropped in $1, but you don't get any messages to trap to prevent that stack from opening... I tried trapping preOpenStack and openStack, and it only triggers for the application, not the document stack that is opening. I think you should log this as a bug, unless someone has an answer for this... This is strange, as I'd thought the only way for an app to be able to open documents dropped on it is to assign acceptable file types to it in the Windows registry. If you're not making that registry entry how does the OS know to allow your app to accept drops of those files? i have not too much experience posting bugs reports to Bugzilla. Ken, if you could post this bug, please do. Write back to the mail list for the number assigned to this report. Ken could give you the fish, but you'd really be much happier in the long run with the fishing pole. Bugzilla has one of the ugliest UIs ever, but after a few posts it becomes acceptable. It only takes a minute to register and confirm, and then you have the keys to the kingdom as far as communicating and monitoring technical issues to the other half of your development team, the keepers of the engine. Bonus: once you're registerest you get to apply votes to feature requests, which can be very useful in helping RunRev prioritize development efforts. -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: living and learning (Re: RunRev vs RealBasic (Richard Gaskin))
Geoff Good point. I have a mixture of the two types of needs, but when I can, I now use the card method as it is much more flexible and easier to code. Dan On Jan 19, 2005, at 7:37 AM, Geoff Canyon wrote: On Jan 17, 2005, at 12:12 PM, Dan Shafer wrote: On another app, though I *had* to use the hide/show groups method because only part of a window (card) changes in response to the users selections. Note that the multi-card solution for tabs can still be used even if only a part of the window needs to change, as long as there is only one. You can group everything else (perhaps along with the tab panel itself) and include it on all the cards. Then create only what you want to change as card controls. You _have_ to use the show/hide groups technique (or something similar) if you have more than one tab panel and they have to change independently. regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revMail fails on some Macs
Thanks to everyone for pointing out the not-so-obvious -- I would never have thought to look in mail.apps prefs. But, I decided to transcend the local configuration as the prospect of mentoring 20-30 team players through getting their system set up correctly was way too scary. Many still don't know Mac: Finder? What do you mean by Finder? Windows: I see three different My Documents folders. Which should I use? How will I know if I am in the same one later? (and a lot more our windows users require 85% more support than our mac users) So, created a very simple xTalk CGI on our web server and will have my app do an HTTP Post to this cgi. This should be rock solid. If their browser works, this works... simple. #!/usr/local/bin/revolution # Send email to admin ## ## this CGI reads form input from a form web page or any ## correctly urlEncoded name=value pairs posted from ## a rev app ## and then sends the email out on startup if $REQUEST_METHOD is POST then repeat until length(tDataIn) = $CONTENT_LENGTH read from stdin until empty put it after tDataIn end repeat split tDataIn by and = put /usr/sbin/sendmail -t into mprocess open process mprocess for write write From: (urlDecode (tDataIn[from])) cr to process mprocess write To:[EMAIL PROTECTED]cr to process mprocess write Subject:(urlDecode (tDataIn[subject])) cr cr to process mprocess write(urlDecode (tDataIn[body])) cr to process mprocess close process mprocess Put Email was sent successfully. into tResponse put Content-Type: text/html cr put Content-Length: the length of tResponse cr cr put tResponse end if end startup Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery [EMAIL PROTECTED] www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org On Jan 19, 2005, at 8:55 AM, Ken Norris wrote: OOPS! Sorry, forgot to change-out the RE header, Hi David, Sivakatirswami, et al. Sivakatirswami wrote: What exactly does the Mac need to ensure that there is an email client automatically will be invoked by revMail? I can't find any preference in OS X for default mail app that requires setting. ?? Very simple. Panther: 1) Open Mail and select Preferences from the menu. 2) From the Prefs window, select the General icon at top left. 3) Click the Default Email Reader popup and choose select. 4) You should get a list of applications. Choose the email reader you want (assuming it is installed). HTH, Ken N. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Windows externals and the imagePixmapID
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hmm, anyone know how I can use the Win32 API to obtain a HDC for that HBITMAP? I'm looking for a way to render the bitmap into another device context (specifically, a printer device context). Using the imagePixmapID seemed to me the easiest way to get the image across from a Rev stack to Win32 api code in an external, but I am starting to wonder... On Jan 19, 2005, at 9:31 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you! On Jan 19, 2005, at 4:47 AM, Thierry Arbellot wrote: imagePixmapID is an HBITMAP Thierry. On 2005, Jan 18, , at 19:44, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know what form the imagePixmapID takes under the Windows engine for Rev? Is it an HBITMAP or an HDC, or something else entirely? Thank you! - - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7VkN7aqtWrR9cZoRAqMYAJ4ooEuOcblOnUUz2LLwcl7OxvahyQCfaQrX tHEgStdm/CnD1DLueFNoM2Y= =wV7X -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7m9Y7aqtWrR9cZoRAlT3AJ4qXzEZz8rC3xovVx5tsVeF8uLJfwCffUHH Ntbc+NXKQLO4GFuyHWu9URw= =SBGG -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7sJk7aqtWrR9cZoRAo9cAJ9yP2YKhPCrO4QZJMZZWX85rJDJJgCfadqz SWzB05iunT27tCMSBe5rfgo= =Ue8d -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: living and learning (Re: RunRev vs RealBasic (Richard Gaskin))
It's really just a matter of style, for instance, I *never* use the card method for this. I only use multiple card stacks in a couple places: 1) Wizards 2) I many times use the 2nd card in a stack to store all the icons for the first card. This goes along with the concept of keeping the data and presentation layers completely seperate. HyperCard (and to an extent RunRev) allow users to mix the two, I prefer not to for a variety of good reasons. best, Chipp Dan Shafer wrote: Geoff Good point. I have a mixture of the two types of needs, but when I can, I now use the card method as it is much more flexible and easier to code. Dan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: living and learning (Re: RunRev vs RealBasic (Richard Gaskin))
Dan Shafer wrote: On Jan 19, 2005, at 7:37 AM, Geoff Canyon wrote: Note that the multi-card solution for tabs can still be used even if only a part of the window needs to change, as long as there is only one. You can group everything else (perhaps along with the tab panel itself) and include it on all the cards. Then create only what you want to change as card controls. You _have_ to use the show/hide groups technique (or something similar) if you have more than one tab panel and they have to change independently. Good point. I have a mixture of the two types of needs, but when I can, I now use the card method as it is much more flexible and easier to code. Most of the time. :) What got me started using groups instead of cards was referencing objects in scripts: While designing WebMerge 2.0 I kept moving controls from one tab to another until I got myself clear on what the program's flow should be. During those changes I'd have to change every script reference to every object to include the different card name. With groups I have all 180+ controls on one card, so I can say: get the hilite of btn idxTemplateOption ...and it doesn't matter to the code which group that's part of. I like many aspects of working with card-based tabs, and tend to use that wherever I can. But for the flexibility it lends to the design process, I'll probably use groups for a lot of tabbed interfaces going forward (at least until I learn to do proper paper prototyping like da pros at UIE http://uie.com/browse/paper_prototyping/). -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Windows externals and the imagePixmapID
I use the following code to create a screen HDC and attach the imagePixmapID to it. longimagePixmapId; HBITMAP screenImageBM; HDC theHdc; theHdc = CreateCompatibleDC(NULL); // screen DC screenImageBM = (HBITMAP) imagePixmapId; SelectObject(theHdc,screenImageBM); I hope it helps Thierry On 2005, Jan 19, , at 21:26, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hmm, anyone know how I can use the Win32 API to obtain a HDC for that HBITMAP? I'm looking for a way to render the bitmap into another device context (specifically, a printer device context). Using the imagePixmapID seemed to me the easiest way to get the image across from a Rev stack to Win32 api code in an external, but I am starting to wonder... On Jan 19, 2005, at 9:31 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you! On Jan 19, 2005, at 4:47 AM, Thierry Arbellot wrote: imagePixmapID is an HBITMAP Thierry. On 2005, Jan 18, , at 19:44, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know what form the imagePixmapID takes under the Windows engine for Rev? Is it an HBITMAP or an HDC, or something else entirely? Thank you! - - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7VkN7aqtWrR9cZoRAqMYAJ4ooEuOcblOnUUz2LLwcl7OxvahyQCfaQrX tHEgStdm/CnD1DLueFNoM2Y= =wV7X -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7m9Y7aqtWrR9cZoRAlT3AJ4qXzEZz8rC3xovVx5tsVeF8uLJfwCffUHH Ntbc+NXKQLO4GFuyHWu9URw= =SBGG -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7sJk7aqtWrR9cZoRAo9cAJ9yP2YKhPCrO4QZJMZZWX85rJDJJgCfadqz SWzB05iunT27tCMSBe5rfgo= =Ue8d -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: living and learning (Re: RunRev vs RealBasic (Richard Gaskin))
On Jan 19, 2005, at 12:34 PM, Richard Gaskin wrote: What got me started using groups instead of cards was referencing objects in scripts: While designing WebMerge 2.0 I kept moving controls from one tab to another until I got myself clear on what the program's flow should be. During those changes I'd have to change every script reference to every object to include the different card name. With groups I have all 180+ controls on one card, so I can say: get the hilite of btn idxTemplateOption ...and it doesn't matter to the code which group that's part of. Unless (as is the case in one of my apps), you have multiple groups with controls that have the same name. This facilitates making the code more generic/abstract and allowing me to place scripts at a higher level, but has the downside that I have to track the current group and do things like: get the hilite of btn idxTemplateOption of group curGroup WHen you forget to to that, stuff breaks in ways that are all but invisible. Dan ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Icons 4 Rev.
I need Icon help! I have a program IconCool Editor 4.0 but the icons are not compatible with Rev programs. What icon Editor do I need? This is my last step of making my first Rev program. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Uploading a file via serial port?
I was wondering if anyone has experience in moving files between two systems that are connected via serial ports. I have used Sarah's serial test stack (which works perfectly!) in communicating between the two machines but now I want to be able to upload a file from one machine to the other. Does anyone have some tips or ideas I can persue? regards, Glen ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Uploading a file via serial port?
At 05:37 PM 1/19/2005, you wrote: I was wondering if anyone has experience in moving files between two systems that are connected via serial ports. I have used Sarah's serial test stack (which works perfectly!) in communicating between the two machines but now I want to be able to upload a file from one machine to the other. Does anyone have some tips or ideas I can persue? regards, Glen Never did that, but you might want consider a pocket drive it will need a USB port on each computer, there may and should be a cable to connect 2 computers via USB port, don't know 4 sure. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Uploading a file via serial port?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can't use USB to network two computers without additional adapters, etc. You *can* do that with FireWire (IEEE 1394, or whatever the spec is -- DVLink, etc.), however. Is at least one of the computers running a UNIX-type system? If so, you might rig the serial port with a getty program (terminal requester) so that you can use a Terminal emulator on the other computer to log in to that one; then use XModem or ZModem, or whatever protocol the terminal emulator supports, to transfer the file(s). If both computers are running Windows, you might consider using the Direct Cable Connection facility provided with Windows. On Jan 19, 2005, at 6:46 PM, Paul Salyers wrote: At 05:37 PM 1/19/2005, you wrote: I was wondering if anyone has experience in moving files between two systems that are connected via serial ports. I have used Sarah's serial test stack (which works perfectly!) in communicating between the two machines but now I want to be able to upload a file from one machine to the other. Does anyone have some tips or ideas I can persue? regards, Glen Never did that, but you might want consider a pocket drive it will need a USB port on each computer, there may and should be a cable to connect 2 computers via USB port, don't know 4 sure. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7vWQ7aqtWrR9cZoRAm/RAJ4uPREcNM7ahHa5a7dLfZlg1NFpkgCeMZkh fQ7isPlJHeHAZW1jvhF+Zik= =5y5I -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Uploading a file via serial port?
The machine that has the file I want to upload is on windows XP and the machine I want to receive the file is a solaris box. Currently the serial stack works for reading and writing commands to the solaris box. I have asked before but without success... is there a way to send a ctrl-d through the conection? If so then I could just write the file line by line (they ae small) through the cat command but I need to be able to send a ctrl-d to close the file. On Wed, 19 Jan 2005 19:04:32 -0500, Frank D. Engel, Jr. [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can't use USB to network two computers without additional adapters, etc. You *can* do that with FireWire (IEEE 1394, or whatever the spec is -- DVLink, etc.), however. Is at least one of the computers running a UNIX-type system? If so, you might rig the serial port with a getty program (terminal requester) so that you can use a Terminal emulator on the other computer to log in to that one; then use XModem or ZModem, or whatever protocol the terminal emulator supports, to transfer the file(s). If both computers are running Windows, you might consider using the Direct Cable Connection facility provided with Windows. On Jan 19, 2005, at 6:46 PM, Paul Salyers wrote: At 05:37 PM 1/19/2005, you wrote: I was wondering if anyone has experience in moving files between two systems that are connected via serial ports. I have used Sarah's serial test stack (which works perfectly!) in communicating between the two machines but now I want to be able to upload a file from one machine to the other. Does anyone have some tips or ideas I can persue? regards, Glen Never did that, but you might want consider a pocket drive it will need a USB port on each computer, there may and should be a cable to connect 2 computers via USB port, don't know 4 sure. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7vWQ7aqtWrR9cZoRAm/RAJ4uPREcNM7ahHa5a7dLfZlg1NFpkgCeMZkh fQ7isPlJHeHAZW1jvhF+Zik= =5y5I -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Windows externals and the imagePixmapID
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aha! Turns out I was asking the wrong question, but that code certainly helped me to find a way to do it. I ended up using a GDI DIB Section object as an intermediary between the screen-level DDB and the printer DC; it went something like this (slightly modified to simplify, though coded in an external I'm working on for Rev): HDC printerDC;/* provided target DC */ HBITMAP screenDDB, sect, oldbits;/* screenDDB is the imagePixmapID from Rev */ BITMAP bmap; int dx, dy, dw, dh; /* provided position and size on printed page */ if (GetObject(screenDDB, sizeof(BITMAP), bmap) != sizeof(BITMAP)) failure-exit; /* create a DIB Section version of the bitmap */ sect = CopyImage(screenDDB, IMAGE_BITMAP, 0, 0, LR_CREATEDIBSECTION); /* select it into a memory region */ memDC = CreateCompatibleDC(printerDC); oldbits = (HBITMAP)SelectObject(memDC, sect); /* render onto printer page */ StretchBlt(printerDC, dx, dy, dw, dh, memDC, 0, 0, bmap.bmWidth, bmap.bmHeight, SRCCOPY); /* clean up */ SelectObject(memDC, oldbits); DeleteDC(memDC); DeleteObject(sect); Now I'll be able to sleep tonight (well, at least the chances of it are improved)! Thank you. On Jan 19, 2005, at 3:41 PM, Thierry Arbellot wrote: I use the following code to create a screen HDC and attach the imagePixmapID to it. longimagePixmapId; HBITMAP screenImageBM; HDC theHdc; theHdc = CreateCompatibleDC(NULL); // screen DC screenImageBM = (HBITMAP) imagePixmapId; SelectObject(theHdc,screenImageBM); I hope it helps Thierry On 2005, Jan 19, , at 21:26, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hmm, anyone know how I can use the Win32 API to obtain a HDC for that HBITMAP? I'm looking for a way to render the bitmap into another device context (specifically, a printer device context). Using the imagePixmapID seemed to me the easiest way to get the image across from a Rev stack to Win32 api code in an external, but I am starting to wonder... On Jan 19, 2005, at 9:31 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you! On Jan 19, 2005, at 4:47 AM, Thierry Arbellot wrote: imagePixmapID is an HBITMAP Thierry. On 2005, Jan 18, , at 19:44, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know what form the imagePixmapID takes under the Windows engine for Rev? Is it an HBITMAP or an HDC, or something else entirely? Thank you! - - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7VkN7aqtWrR9cZoRAqMYAJ4ooEuOcblOnUUz2LLwcl7OxvahyQCfaQrX tHEgStdm/CnD1DLueFNoM2Y= =wV7X -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7m9Y7aqtWrR9cZoRAlT3AJ4qXzEZz8rC3xovVx5tsVeF8uLJfwCffUHH Ntbc+NXKQLO4GFuyHWu9URw= =SBGG -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin)
Re: Uploading a file via serial port?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Control-D would be numToChar(4). 1 = Ctrl-A, 2 = Ctrl-B, etc. On Jan 19, 2005, at 7:14 PM, Glen Bojsza wrote: The machine that has the file I want to upload is on windows XP and the machine I want to receive the file is a solaris box. Currently the serial stack works for reading and writing commands to the solaris box. I have asked before but without success... is there a way to send a ctrl-d through the conection? If so then I could just write the file line by line (they ae small) through the cat command but I need to be able to send a ctrl-d to close the file. On Wed, 19 Jan 2005 19:04:32 -0500, Frank D. Engel, Jr. [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can't use USB to network two computers without additional adapters, etc. You *can* do that with FireWire (IEEE 1394, or whatever the spec is -- DVLink, etc.), however. Is at least one of the computers running a UNIX-type system? If so, you might rig the serial port with a getty program (terminal requester) so that you can use a Terminal emulator on the other computer to log in to that one; then use XModem or ZModem, or whatever protocol the terminal emulator supports, to transfer the file(s). If both computers are running Windows, you might consider using the Direct Cable Connection facility provided with Windows. On Jan 19, 2005, at 6:46 PM, Paul Salyers wrote: At 05:37 PM 1/19/2005, you wrote: I was wondering if anyone has experience in moving files between two systems that are connected via serial ports. I have used Sarah's serial test stack (which works perfectly!) in communicating between the two machines but now I want to be able to upload a file from one machine to the other. Does anyone have some tips or ideas I can persue? regards, Glen Never did that, but you might want consider a pocket drive it will need a USB port on each computer, there may and should be a cable to connect 2 computers via USB port, don't know 4 sure. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7vWQ7aqtWrR9cZoRAm/RAJ4uPREcNM7ahHa5a7dLfZlg1NFpkgCeMZkh fQ7isPlJHeHAZW1jvhF+Zik= =5y5I -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7vkQ7aqtWrR9cZoRAr3VAJ9zNmjiePzM32tkRViTZPt9tXZsNQCff1H1 B2hAgO1OrAVSZOJ8zovcOW4= =zSnz -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Uploading a file via serial port?
Glen Bojsza wrote: The machine that has the file I want to upload is on windows XP and the machine I want to receive the file is a solaris box. Currently the serial stack works for reading and writing commands to the solaris box. I have asked before but without success... is there a way to send a ctrl-d through the conection? If so then I could just write the file line by line (they ae small) through the cat command but I need to be able to send a ctrl-d to close the file. Run a program on the solaris box which exits the file copy when it sees a suitable pattern. If you don't have Rev (or Perl, or Python, or ) it would be easy to write an awk script to do this. -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: living and learning (Re: RunRev vs RealBasic (Richard Gaskin))
Dan Shafer wrote: On Jan 19, 2005, at 12:34 PM, Richard Gaskin wrote: What got me started using groups instead of cards was referencing objects in scripts: While designing WebMerge 2.0 I kept moving controls from one tab to another until I got myself clear on what the program's flow should be. During those changes I'd have to change every script reference to every object to include the different card name. With groups I have all 180+ controls on one card, so I can say: get the hilite of btn idxTemplateOption ...and it doesn't matter to the code which group that's part of. Unless (as is the case in one of my apps), you have multiple groups with controls that have the same name. This facilitates making the code more generic/abstract and allowing me to place scripts at a higher level, but has the downside that I have to track the current group and do things like: get the hilite of btn idxTemplateOption of group curGroup WHen you forget to to that, stuff breaks in ways that are all but invisible. But that's where my curmudgeonly habits have their rare moment of practical applicability: The name idxTemplateOption is already a unique identifier. The idx prefix tells me which part of the program it relates to, and the rest describes what it does. I can move the object anywhere in the card, from group to group, and always address it by name alone. Of course it's less readable from an English standpoint, but fortunately code is skimmed more often than it's read, and funky prefixes tend to stand out visually from the more English-like words native to Transcript. For example, skim this sentence with theWindows and the Windows and see if the former stands out as much as tWindows. Of course someone with your experience already has whatever funky naming tricks help you skim, but newcomers might find some of these helpful: http://www.fourthworld.com/embassy/articles/scriptstyle.html -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Uploading a file via serial port?
Alex Tweedly wrote: Run a program on the solaris box which exits the file copy when it sees a suitable pattern. If you don't have Rev (or Perl, or Python, or ) it would be easy to write an awk script to do this. It has been too long since I used Unix you don't need awk or Perl for this; cat myeoftoken somefile.txt line 1 line 2 last line myeoftoken is all you need in most shells (Of course, Frank's answer is better, if you are able to send numtochar(4) :-) -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
export RTF as file?
I'm having problems with my RTF export. Can someone please try this and tell me if they get any results? create a new stack create a fld and type some text into it: hello world create a button with the script: on mouseUp ask file Save As: with Untitled.rtf if it is empty then exit to top put it into tPath put the rtfText of fld 1 into tContents put tContents into URL (file: tPath) end mouseUp Now, try and open the RTF file you just created. I'm getting nothing in WordPad on XP. I don't have Word on this machine (hate M$). I've tried binfile as well. Anyone having success exporting RTF files? thanks in advance, Chipp -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: export RTF as file?
Chipp Walters wrote: Now, try and open the RTF file you just created. I'm getting nothing in WordPad on XP. I don't have Word on this machine (hate M$). Script exactly as cut/paste from your mail (except for field and file names), I get the hello world line in Wordpad (WinXP, Rev 2.5) -- Alex. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RunRev vs RealBasic (Richard Gaskin)
Thomas Gutzmann wrote: And with the recent 4000-fold increase in speed for same-size chunk replacements, I wonder if the kind of graphics processing you're doing could now be done in Rev. What does that entail? This speed increase is impressing, but having tried quite some alternatives, I'm sure that only C++ (which I don't like) and RB where adequate solutions, There are so many calculations when moving objects and scrolling the pane, that I simply cannot imagine that Rev is fast enough. But I will give it a try as soon as I have some time, and I will come back to the list with the results. For some tasks I'd have to agree, but for many you might be surprised. I've had more than one magazine mistake my WebMerge application for being written in C (that includes a writer for C++ User Journal g). And that was before I did my recent optimization which has since more than doubled WebMerge's throughput. We had a rather funny thread here last year in which an RB fan started a bake-off for speed on a parsing algorithm on a fairly large file. True 'nuff, RB was faster -- but only by 3 milliseconds. And that was the overal score -- in the most common task, loading a file, Rev was nearly twice as fast. I've been pondering this new speed enhancement to same-size chunk replacements, specifically in regard to image processing. Since much of what image processing involves is replacing a specific number of bytes, I wonder if any of the folks here have made any recent experiments with writing image filters in native Transcript. With the sort of speed Dar reports we may find that some types of filters can run acceptably well in Transcript alone. It's a bit disappointing that Rev doesn't provide support for the other Unixes any more - that was one of the big advantages against RB. Which ones are you using that are no longer supported? In my understanding the dropped platforms simply weren't used. With enough interest they might bring some back. Well, ahem, I purchased the Rev license because I wanted to rewrite tools for HP/UX and SunOS. I have to stick with Java there, now. I know that my company cannot produce enough revenue for Rev to justify any extra work for the Unix platforms - but Rev should remove the features from the web site if they don't plan to provide it, or they should give an estimated release date. Agreed. CC'ing the CEO here to make sure that gets attention. (He reads the list, but when something comes up that's really important I trust he doesn't mind the extra effort to help ensure it gets done, esp. something so small.) On the flipside, if there's a way they can help automate those builds it does indeed make a nice statment to show those platforms actively supported, and Sun OS is still quite in use. Now please don't flame! No reasonable person could flame such a balanced and thoughtful post. Thanks for taking the time. Well, I have seen the contrary. But maybe this list is really different. Results vary from list to list, and from reader to reader. But I think you'll find this is a very good crew here in this regard. Most of the pros here use multiple tools and can relate to what you're saying, and the pure Transcripters here probably enjoy learning about what other systems offer, esp. when it's presented as fairly as you have. And any post that furthers the request for alternate-colored-lines in fields will always get a round of applause here. :) Have you added your vote to the Bugzilla request for that? -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: export RTF as file?
In Notepad it works {\rtf\ansi hello baby} In Word it works hello baby Glen On Wed, 19 Jan 2005 17:47:44 -0800, Chipp Walters [EMAIL PROTECTED] wrote: I'm having problems with my RTF export. Can someone please try this and tell me if they get any results? create a new stack create a fld and type some text into it: hello world create a button with the script: on mouseUp ask file Save As: with Untitled.rtf if it is empty then exit to top put it into tPath put the rtfText of fld 1 into tContents put tContents into URL (file: tPath) end mouseUp Now, try and open the RTF file you just created. I'm getting nothing in WordPad on XP. I don't have Word on this machine (hate M$). I've tried binfile as well. Anyone having success exporting RTF files? thanks in advance, Chipp -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RunRev vs RealBasic (Richard Gaskin)
I did write some compositing and blur/sharpen filters in transcript some time ago, but I don't know the details of the 'same-size chunk' replacements. Where can I find more info? Richard Gaskin wrote: I've been pondering this new speed enhancement to same-size chunk replacements, specifically in regard to image processing. Since much of what image processing involves is replacing a specific number of bytes, I wonder if any of the folks here have made any recent experiments with writing image filters in native Transcript. With the sort of speed Dar reports we may find that some types of filters can run acceptably well in Transcript alone. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Icons 4 Rev.
I need help with Icons. I have IconCool Editor but I can't get an Icon to work. The icon file {path removed} does not include 8 required image formats: 16 color 16 x 16 pixels 256 color 16 x 16 pixels 16 color 32 x 32 pixels 256 color 32 x 32 pixels 16 color 48 x 48 pixels 256 color 48 x 48 pixels Windows XP (32.bit color) 16 x 16 pixels Windows XP (32 bit color) 48 x 48 pixels How do I get an icon to work? Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: export RTF as file?
Just for the sake of completeness, this works fine on OS X with Word, TextEdit, and BBEdit. Dan On Jan 19, 2005, at 5:47 PM, Chipp Walters wrote: I'm having problems with my RTF export. Can someone please try this and tell me if they get any results? create a new stack create a fld and type some text into it: hello world create a button with the script: on mouseUp ask file Save As: with Untitled.rtf if it is empty then exit to top put it into tPath put the rtfText of fld 1 into tContents put tContents into URL (file: tPath) end mouseUp Now, try and open the RTF file you just created. I'm getting nothing in WordPad on XP. I don't have Word on this machine (hate M$). I've tried binfile as well. Anyone having success exporting RTF files? thanks in advance, Chipp -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Icon help
I need Icon help! I have a program IconCool Editor 4.0 but the icons are not compatible with Rev programs. What icon Editor do I need? This is my last step of making my first Rev program. Paul, I've come across this problem in making windows icons too. In earlier versions of Rev, only 16-color icons were accepted, but now it seems they've gone overboard and 32-bit color icons are *required*! :( Windows .ico files are built of many parts. These different icons will be displayed based on available colors or size. According to Rev, icon files must have these parts: 16 Color 16x16 16 color 32x32 16 color 48x48 256 color 16x16 256 color 32x32 256 color 48x48 Windows XP (32-bit color) 16x16 Windows XP (32-bit color) 32x32 Windows XP (32-bit color) 48x48 I used to use IconEdit32, which supported all of the formats except for the last three. Now, I guess I'll have to use another program. IconCool Editor 4.4, I know, will support xp icons and I'm surprised it won't work for you. The Microsoft site http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/winxpicons.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/winxpicons.asp says to use a program called Gif Movie Gear. (?) It's shareware. Icon Sushi supported the right files, but it was very frustrating to use. Axalias will probably work, you can try a trial version. http://www.axialis.com/iconworkshop/http://www.axialis.com/iconworkshop/ I too am very frustrated that apparently you cannot create custom icons for a rev app without paying for some other icon software. -Ben ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
icon help
Finally have found a good icon editor for win xp. Frontbase Image to Icon. http://www.make-icon.com/http://www.make-icon.com/ It will support and automatically create these formats. 16 Color 16x16 16 color 32x32 16 color 48x48 256 color 16x16 256 color 32x32 256 color 48x48 Windows XP (32-bit color) 16x16 Windows XP (32-bit color) 32x32 Windows XP (32-bit color) 48x48 without having to do anything, the icon will be compatible with rev. You can download a trial version. I tried exporting an icon, and then loading it in Revolution standalone settings and it worked! I still don't see why rev has to be so picky about icos, though. -Ben ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: icon help
At 10:46 PM 1/19/2005, you wrote: Finally have found a good icon editor for win xp. Frontbase Image to Icon. http://www.make-icon.com/http://www.make-icon.com/ It will support and automatically create these formats. 16 Color 16x16 16 color 32x32 16 color 48x48 256 color 16x16 256 color 32x32 256 color 48x48 Windows XP (32-bit color) 16x16 Windows XP (32-bit color) 32x32 Windows XP (32-bit color) 48x48 without having to do anything, the icon will be compatible with rev. You can download a trial version. I tried exporting an icon, and then loading it in Revolution standalone settings and it worked! I still don't see why rev has to be so picky about icos, though. -Ben Well I got the same error, I use Win 2K should that make a differences? I tried 1, 4, 8, BPP XP Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening custom files by Drag and Drop in standalone application
--- Ken Ray [EMAIL PROTECTED] wrote: On 1/18/05 11:55 AM, Alejandro Tejada [EMAIL PROTECTED] wrote: I have read this useful Programming tip in your website, and TRY to use it in an standalone player to OPEN ONLY the custom documents of that application. But when i drag and drop a Rev or MC stack to a standalone i had created, IT OPENS... :-( Yes, and this may be a bug (I tested Windows) - you get the path to the stack you dropped in $1, but you don't get any messages to trap to prevent that stack from opening... I tried trapping preOpenStack and openStack, and it only triggers for the application, not the document stack that is opening. I think you should log this as a bug, unless someone has an answer for this... Could it be that the engine regards this as a separate mainStack and that's why the regular mainStack doesn't receieve any messages ; have you tried trapping (pre)OpenStack messages from a backscript ? Jan Schenkel. = Quartam - Tools for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RunRev vs RealBasic (Richard Gaskin)
Chipp Walters wrote: Richard Gaskin wrote: I've been pondering this new speed enhancement to same-size chunk replacements, specifically in regard to image processing. Since much of what image processing involves is replacing a specific number of bytes, I wonder if any of the folks here have made any recent experiments with writing image filters in native Transcript. With the sort of speed Dar reports we may find that some types of filters can run acceptably well in Transcript alone. I did write some compositing and blur/sharpen filters in transcript some time ago, but I don't know the details of the 'same-size chunk' replacements. Where can I find more info? All I know is what Dar posted here, but it sounded really tasty. Apparently he made a suggestion to Scott Raney about ways to optimize operations in which a string of a given length is used to replace a substring of the same length within a larger chunk. In previous versions a very generalized approach was used for all replacement operations, requiring that the data be copied during the replacement, which can be computationally expensive with large chunks. Since the data being inserted is the same length as the data being removed the handle size doesn't change, allowing the operation to work in-place, without copying. IIRC, Raney reported that the new method should improve speed by roughly 4000 times for those cases. Dar - got the details for us? -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RunRev vs RealBasic (Richard Gaskin)
Richard Gaskin wrote: Chipp Walters wrote: Richard Gaskin wrote: I've been pondering this new speed enhancement to same-size chunk replacements, specifically in regard to image processing. Since much of what image processing involves is replacing a specific number of bytes, I wonder if any of the folks here have made any recent experiments with writing image filters in native Transcript. With the sort of speed Dar reports we may find that some types of filters can run acceptably well in Transcript alone. I did write some compositing and blur/sharpen filters in transcript some time ago, but I don't know the details of the 'same-size chunk' replacements. Where can I find more info? All I know is what Dar posted here, but it sounded really tasty. Apparently he made a suggestion to Scott Raney about ways to optimize operations in which a string of a given length is used to replace a substring of the same length within a larger chunk. In previous versions a very generalized approach was used for all replacement operations, requiring that the data be copied during the replacement, which can be computationally expensive with large chunks. Since the data being inserted is the same length as the data being removed the handle size doesn't change, allowing the operation to work in-place, without copying. IIRC, Raney reported that the new method should improve speed by roughly 4000 times for those cases. Dar - got the details for us? Found the Bugzilla notes: http://support.runrev.com/bugdatabase/show_bug.cgi?id=586 -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution