Re: Re:importing/exporting images with a transparent background
Thanks Jean-Paul . I think you are right. This has to be a bug and it is quite annoying one. I tryed this: I set the paintcompression to PNG I imported an image (png) I made a transparent hole with the eraser tool. I moved to another cardand come back IN MACOSX - the image is opaque and the hole is white IN WINDOWS - the image is opaque and the hole is black If I set the paintcompression to rle it works fine ... and Rev keeps the transparency. However, if I export this image to file as png I get the same problem. Thansparency has gone and the image is opaque with a white (MAC) of black (WINDOWS) hole! Any workaround for this? Thanks Paolo Mazza Le 9 déc. 06, à 19:00, Paolo Mazza a écrit : Dear Friends... I got a problem importing images with a transparent background... can you help me on this? 1-I imported a picture (png file made by another program) into revolution 2-I modifyed the image with the eraser tool and I got an area with a trasparent backgroung (as expected) 3- I exported this image as png 4- I imported this emage again, and in MACOS the trasparent background is white and the in WINDOWS the transparent backgound is black. I have got similar problems with PNG images and transparency. You can try this short experiment, , check if you get the same symptoms 1 (the paintcompression is set to PNG) 2 create any colored object 3 import a snapshot (of anything except the previous colored object ) and place it in front of the colored object 4 make a hole in the image, with the rubber for instance. Through the hole, a part of the previous object can be seen, (up to this point, no problem). 5 go to another card 6 come back to the card which contained the picture and its hole. Here a problem may arise if the image is larger than approximately one square centimeter On my mac computer , the image is completely opaque, the hole is closed, the rubbed out part of the image is now white. Strangely if the image is small enough, the transparency is still there ! this inconsistent behavior leads me to believe it is caused by a bug. If the compression is set to RLE, no problem. This is why I temporarily use only RLE compression, which is sufficient for my needs, as long as I don't use translucency and don't have to print the images. Cordialement, Jean-Paul. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Save field text to file
Thanks Sarah, Adrian On 10 Dec 2006, at 23:25, Sarah Reichelt wrote: After getting a file name from the user, you might then want to check to make sure they didn't delete the .txt file extension if that is important. Cheers, Sarah On 12/11/06, Adrian Williams [EMAIL PROTECTED] wrote: Thanks Mark, That works a treat. I still getting used to Rev doing stuff like it without me asking for it! The --comments REALLY help. Adrian On 10 Dec 2006, at 16:16, Mark Schonewille wrote: case Save ask file empty with Untitled.txt -- now, the variable 'it' contains a file path or -- it is empty if the user pressed Cancel if it is not empty then put it into myFile -- set filetype before creating a file set the filetype to ttxtTEXT put fld edtText into url (file: myFile) end if break __ Club Type http://www.clubtype.co.uk [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ Adrian Williams Design Ltd (trading as Club Type), 44 Mill Lane, Merstham, Redhill, Surrey RH1 3HQ, UK Telephone/Facsimile: 01737 643300 dFax (computer reception): 0870 0515681 International tel/fax (UK)+44 1737 643300 International dFax: (UK)+44 870 0515681 Email: [EMAIL PROTECTED] Website: http://www.clubtype.co.uk ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Custom Property Issue
Hi, Not sure what I've got going wrong here but the code below works fine on the second execution but not the first. A stack is opened (sheet or modal according to OS) and the Stack has a Cancel and Save button. If the Save button in Clicked the Custom Property ModalResult is set to true and the Stack is send a Hide message from that button. The converse (set to False) if Cancel is clicked. The routine that shows the stack below works fine but I can't get it to retrieve the contents (see code below) as the Custom Property does not seem to be set. As I said - it works find on the second attempt (right after) the first attempt showing stack etc. Code is: on mouseUp set the Visible of Stack StackDataEntry to True if the platform is MacOS then Sheet Stack StackDataEntry else Modal Stack StackDataEntry end if if the ModalResult of Stack StackDataEntry = True then Put the fld HistoryList of Stack StackDataEntry into btn Manufacturer end if end mouseUp Cheers for any help Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom Property Issue
On 11 Dec 2006, at 09:01, Scott Kane wrote: Hi, Not sure what I've got going wrong here but the code below works fine on the second execution but not the first. A stack is opened (sheet or modal according to OS) and the Stack has a Cancel and Save button. If the Save button in Clicked the Custom Property ModalResult is set to true and the Stack is send a Hide message from that button. Scott, in addition to hiding the modal stack, do you also close the stack? This is necessary for the script that sent the modal/sheet message to resume. (However, I don't easily see how it would work the second time if you didn't close it. But I notice some weird behavior when you hide a sheet stack without closing it.) Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom Property Issue
Hi Scott, You could try a simpler code since you don't need to open invisible a stack then change its style (that is the same thing that reopening it again): on mouseUp set the dialogData to empty if the platform is MacOS then sheet stack StackDataEntry else modal stack StackDataEntry end if -- handler pauses here until the StackDataEntry stack is closed if the dialogData empty then statements end if end mouseUp In the Save button of your StackDataEntry stack: on mouseUp set the dialogData to What_I_Need_To_Know close this stack end mouseUp And quite simply in the Cancel button of your StackDataEntry stack: on mouseUp close this stack end mouseUp See dialogData in docs. Hope this helps :-) Le 11 déc. 06 à 10:01, Scott Kane a écrit : Hi, Not sure what I've got going wrong here but the code below works fine on the second execution but not the first. A stack is opened (sheet or modal according to OS) and the Stack has a Cancel and Save button. If the Save button in Clicked the Custom Property ModalResult is set to true and the Stack is send a Hide message from that button. The converse (set to False) if Cancel is clicked. The routine that shows the stack below works fine but I can't get it to retrieve the contents (see code below) as the Custom Property does not seem to be set. As I said - it works find on the second attempt (right after) the first attempt showing stack etc. Code is: on mouseUp set the Visible of Stack StackDataEntry to True if the platform is MacOS then Sheet Stack StackDataEntry else Modal Stack StackDataEntry end if if the ModalResult of Stack StackDataEntry = True then Put the fld HistoryList of Stack StackDataEntry into btn Manufacturer end if end mouseUp Cheers for any help Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom Property Issue
Scott, in addition to hiding the modal stack, do you also close the stack? This is necessary for the script that sent the modal/sheet message to resume. (However, I don't easily see how it would work the second time if you didn't close it. But I notice some weird behavior when you hide a sheet stack without closing it.) Ah - between your comment here and Eric's it's dawned on me what is happening here. :-) Thanks!! Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Custom Property Issue
Hi Eric, You could try a simpler code since you don't need to open invisible a stack then change its style (that is the same thing that reopening it again): Thanks for that! A rather obvious mistake when I see it written logically. Thanks! :-) Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Importing Cyrillic Text + UTF8 and the XML-library
Hi Richmond, fine that your import works! Another question concerning UTF8: I use runrev 2.2.1 and got the experience that the runrev XML-library of runrev was not able to handle UTF8 encoded XML files with foreign texts in hebrew and greek. Did anyone check this in newer versions? Regards, Franz Original Message Subject: Importing Cyrillic Text (10-Dez-2006 13:47) From:Richmond Mathewson [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Well, I owe apologies to both Devin Asay and Franz Böhmisch as their methods work very well. ;-) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
I want money.
Ok everyone wants money. I am not excluded. So what is the best way to earn money online? Any ideas? Please share. _ Get an advanced look at the new version of MSN Messenger. http://get.live.com/messenger/overview Try it now. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
Ok everyone wants money. I am not excluded. So what is the best way to earn money online? Any ideas? Please share. Easy solution. Cancel your internet account and you'll save yourself whatever you are paying now. Scott Kane ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
Oh I am having free internet connections. :) From: Scott Kane [EMAIL PROTECTED] Reply-To: How to use Revolution use-revolution@lists.runrev.com To: How to use Revolution use-revolution@lists.runrev.com Subject: Re: I want money. Date: Tue, 12 Dec 2006 00:22:56 +1100 Ok everyone wants money. I am not excluded. So what is the best way to earn money online? Any ideas? Please share. Easy solution. Cancel your internet account and you'll save yourself whatever you are paying now. Scott Kane ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _ Find singles online in your area with MSN Dating and Match.com! http://match.my.msn.com/match/mt.cfm?pg=channeltcid=281206 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Writing to $ALLUSERSPROFILE
Working on a utility for Windows that writes to C:\Documents and Settings\All Users\Application Data but it occurs to me that this would not work for non-English operating systems. Three questions: - Can I use the environmental variable $ALLUSERSPROFILE with absolute confidence that it will resolve on all Windows operating systems? - How do I write into the Application Data subdirectory? (i.e. how do I anticipate the localized name?) - If I can't, then can I create a directory at the root of All Users with absolute confidence that I can do it on all systems? Thanks Mark Powell ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Writing to $ALLUSERSPROFILE
Hi Mark, Here I use Win XP home and Pro localized in French but as these folders are usually hidden, they keep here their English name. Can't tell more... May be Klaus could be tell you what happens in German? Le 11 déc. 06 à 14:54, Mark Powell a écrit : Working on a utility for Windows that writes to C:\Documents and Settings\All Users\Application Data but it occurs to me that this would not work for non-English operating systems. Three questions: - Can I use the environmental variable $ALLUSERSPROFILE with absolute confidence that it will resolve on all Windows operating systems? - How do I write into the Application Data subdirectory? (i.e. how do I anticipate the localized name?) - If I can't, then can I create a directory at the root of All Users with absolute confidence that I can do it on all systems? Thanks Mark Powell Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
Its very simple :-) 1) new idea (and not the silly one, but something at least 20% of population will appreciate) 2) global market 3) you have to be the first with that idea once 1) 2) and 3) works and your site uses up all the allocated bandwidth you can sell pixels on your website for advertising say 10 USD per 1 pixel per month. Viktoras ---Original Message--- From: chris raj Date: 12/11/2006 3:15:16 PM To: use-revolution@lists.runrev.com Subject: I want money. Ok everyone wants money. I am not excluded. So what is the best way to earn money online? Any ideas? Please share. _ Get an advanced look at the new version of MSN Messenger. http://get.live.com/messenger/overview Try it now. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Writing to $ALLUSERSPROFILE
Hi Mark, Working on a utility for Windows that writes to C:\Documents and Settings\All Users\Application Data this (and the correct names for every language!) will be returned by using specialfolderpath(35) but it occurs to me that this would not work for non-English operating systems. Three questions: - Can I use the environmental variable $ALLUSERSPROFILE with absolute confidence that it will resolve on all Windows operating systems? No idea, sorry. - How do I write into the Application Data subdirectory? (i.e. how do I anticipate the localized name?) See above. - If I can't, then can I create a directory at the root of All Users with absolute confidence that I can do it on all systems? See above :-) Hope that helps. Thanks Mark Powell Regads Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Importing Cyrillic Text + UTF8 and the XML-library
UTF8 seems to work perfectly well with DreamCard 2.6.1 and RevMedia 2.7.2 (not that I recommend that you buy it). sincerely, Richmond Mathewson Its time to do Philosophy and stop worrying about what dead men said. Mathewson 2006 ___ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[OT ] I want money.
Well, 'tis the silly season again . . . If all interested in this topic could send me $1, just as soon as I have collected $1 million I will let you know in a telegram from my tax-haven in the Bahamas :) sincerely, Richmond Mathewson Its time to do Philosophy and stop worrying about what dead men said. Mathewson 2006 Send instant messages to your online friends http://uk.messenger.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT ] I want money.
Hi Richmond, Well, 'tis the silly season again . . . If all interested in this topic could send me $1, just as soon as I have collected $1 million I will let you know in a telegram from my tax-haven in the Bahamas :) yeah, something like this might be the ultimate solution :-D sincerely, Richmond Mathewson Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Writing to $ALLUSERSPROFILE
Mark, Maybe, the problem is not that a system is localised but that the user on that particular localised system is logged in as user with limited permissions. You can probably write to that folder only if you are logged in as administrator. Not that I am 100% sure, but this seems a good theory to me. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 11-dec-2006, om 14:54 heeft Mark Powell het volgende geschreven: Working on a utility for Windows that writes to C:\Documents and Settings\All Users\Application Data but it occurs to me that this would not work for non-English operating systems. Three questions: - Can I use the environmental variable $ALLUSERSPROFILE with absolute confidence that it will resolve on all Windows operating systems? - How do I write into the Application Data subdirectory? (i.e. how do I anticipate the localized name?) - If I can't, then can I create a directory at the root of All Users with absolute confidence that I can do it on all systems? Thanks Mark Powell ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: altSQLite variable substitution
Hi Mark, Hmmm- I know this has come up on the list before, but I can't find a resolution for it. I keep getting a syntax error on trying variable substitution with the altSQLite driver. I've got it down to a simple case now, and according to my interpretation of the documentation this should work. Instead I get 'syntax error near )'. Here's the errant line: revExecuteSQL dbID, INSERT INTO CDData(id) VALUES(:1), tSSN and this one works: revExecuteSQL dbID, INSERT INTO CDData(id) VALUES( tSSN ) so I know there's no problem with either the database format or the data. There are some peculiarities you need to be aware of using the current revdb.dll and the altSQLite driver. These apply to using the bound form of substitution, which is :1 etc. and a following variable reference. 1. Never reference a variable that is empty. Rev will crash. 2. Don't reference vars that have chars that can be interpreted as math symbols (dash, asterisk, plus, etc). They will cause Rev to crash. (I assume SSN stands for Social Security Number as in XXX-XX-? For some reason the drivers attempt to perform math with this eventhough it is data :-( Try this: 1. Type the SSN column as lower case blob (Not the standard BLOB) in the database. Chris uses lower case to let his driver know this a binary column. 2. Then use Rev's compress function to compress your data as: put compress(tSSN) into cSSN Then write your SQL statement like this: revExecuteSQL dbID, INSERT INTO CDData(id) VALUES(:1), *bcSSN This will work in 99% of cases. Always with dash anyway. But I have found there are some combinations of data which when compressed and referenced as a bound variable also cause the combination Rev/altSQLite drivers to crash Rev :-( I have not identified yet exactly what this data combo is yet. I have switched to ciphering the data instead of using compress, but this is much more complex as it requires cipher keys, etc. In your case the compress should work. Jim ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
Viktoras Didziulis wrote: snip once 1) 2) and 3) works and your site uses up all the allocated bandwidth you can sell pixels on your website for advertising say 10 USD per 1 pixel per month. That's been done already... Cheers, Luis. Viktoras ---Original Message--- From: chris raj Date: 12/11/2006 3:15:16 PM To: use-revolution@lists.runrev.com Subject: I want money. Ok everyone wants money. I am not excluded. So what is the best way to earn money online? Any ideas? Please share. _ Get an advanced look at the new version of MSN Messenger. http://get.live.com/messenger/overview Try it now. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Branding
Indeed it would. Where's the upside for you? What does this company bring to the table to make it worth your while? Is it unquestionably worth more than your lost sales? -- Richard Gaskin Managing Editor, revJournal Thank you all for your thoughts and opinions, both public and private. I emailed the fellow back and pretty much said something to that effect. That based on my understanding of what he wanted, it could destroy my own software sales, and that I would not even consider such a proposition without a very large price tag attached. I actually did calculate such a price tag for my own benefit, but did not present any numbers to him. I do not expect to hear back from him, but you never know. Presumably he will move on to the next shareware developer and may have better luck. The formula I used was very simple: the amount of money that the software currently owes me for time invested and not yet paid for, plus the yearly income it produces times five. Would I sell rights to the software? At the right price, yes :-) Shari -- Gypsy King Software Mac and Windows shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Multi-user stack question
On Dec 9, 2006, at 9:43 AM, Stephen Barncard wrote: contact Trevor Devore for further details about his lib. Trevor had the lib up online but they changed domain names and the old link doesn't work anymore. The link to the developer section where I keep Revolution related stuff will be working again sometime today. I installed a new version of our website on Friday which changed how we did template includes so the developer section broke. I ran out of gas before I got around to updating those pages. I just made some changes so you can at least view the content now. The url is: www.bluemangolearning.com/developer/revolution -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: A problem with Return in a field
Charles, (I've been following this discussion on the use-rev list, so I'm taking the liberty to post it there too.) I suspect your problem may be related to the fact that you have a keyDown handler in the field that may be blocking the return key. (Although it's not supposed to.) It should work if you force the return key to tab to the next field by including a returnInField handler: on returnInField get the number of me select the text of fld (it + 1) end returnInField Anybody know why the keyDown handler blocks the autoTab? Maybe a candidate for bugzilla? Devin On Dec 9, 2006, at 6:45 PM, Charles Szasz wrote: Devin, I have been working on my project since June. I almost done but I ran into an unexpected problem. When the user enters a raw score of two digits in a field and presses the Tab key, the cursor goes to the next edit field as it is supposed to do. When the user presses the Return key after entry of a two digit number, the number is pushed off to the left and the cursor remains in the field. This happens despite the autotab being set to true and no list behavior is checked. Here is a sample script from my project: ON keyDown whichKey IF whichKey is a number THEN IF the selection is not empty THEN delete the selection IF the length of me 2 THEN pass keyDown ELSE answer information Numbers cannot be longer than two digits. END IF END IF END keyDown ON closefield IF field yrFld 4 AND field yrFld 12 AND fld msFld 62 THEN answer information The total raw score is incorrect for a age of fld yrFld years! put empty into me focus ON me ELSE IF field yrFld 11 AND field yrFld 20 AND fld msFld 63 THEN answer information The total raw score is incorrect for a age of fld yrFld years! put empty into me focus ON me ELSE IF field yrFld 19 AND field yrFld 60 AND fld msFld 57 THEN answer information The total raw score is incorrect for a age of fld yrFld years! put empty into me focus ON me END IF END IF END IF END closefield The first script limits the input of 2 digit numbers only. The second script is flagging the possibility of an incorrect raw score being entered for certain ages. Some of the fields have a raw score limit based on the age of the child. For this example, children aged 5 to 11 years, the total raw score can be only 62. for students in the age range of 12 to 19, the total is 63 and for adults (20 to 59 years) the total is 57. The questions remains is why does the Return key does not act as a Tab key? Charles Szasz [EMAIL PROTECTED] Devin Asay Humanities Technology and Research Support Center Brigham Young University Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Streaming video and Rev
On Dec 10, 2006, at 2:08 PM, Stephen Barncard wrote: Is there any role for Rev in that process... i.e., the actually streaming of the videos? I don't know... could it manage a simple live streamTrevor? I have never done much with streaming content, only progressive download. For the streaming of content I'm pretty sure you would want to use a steaming server. I would think Rev could play some role in managing your streaming content though. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
godhuman wrote: Ok everyone wants money. I am not excluded. So what is the best way to earn money online? Any ideas? Please share. I hear partnering with people who have money tied up in dead relatives' accounts in Nigerian banks can be pretty lucrative. Let us know how it works out. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
you guys don't want to hear my ideas on getting money, right? one tricky is to create a social networking site such as MySpace and have all pages with really crapy annoying MIDI music files and get people with good sense to pay you to shut your site down... On Dec 11, 2006, at 2:32 PM, Richard Gaskin wrote: godhuman wrote: Ok everyone wants money. I am not excluded. So what is the best way to earn money online? Any ideas? Please share. I hear partnering with people who have money tied up in dead relatives' accounts in Nigerian banks can be pretty lucrative. Let us know how it works out. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: altSQLite variable substitution
Dave- Sunday, December 10, 2006, 11:28:55 PM, you wrote: When using the :1 variety, doesn't the variable have to be an array. I.e. the value you need should be in tSSN[1]. Or have I misunderstood? The docs may be wrong about this, but my reading of them says that you can do this either way (a variable list or an array). -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[OT] snowflakes for the season
Check out http://snowflakes.lookandfeel.com/ Click Make your own snowflake. Clever. Might give someone ideas for a Rev game. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: altSQLite variable substitution
Jim- Monday, December 11, 2006, 7:28:46 AM, you wrote: There are some peculiarities you need to be aware of using the current revdb.dll and the altSQLite driver. These apply to using the bound form of substitution, which is :1 etc. and a following variable reference. 1. Never reference a variable that is empty. Rev will crash. Haven't come across this. I've been experimenting with empty variables and nonexistent variables and haven't had it crash yet. Have you Bugzillad this? 2. Don't reference vars that have chars that can be interpreted as math symbols (dash, asterisk, plus, etc). They will cause Rev to crash. (I assume SSN stands for Social Security Number as in XXX-XX-? For some reason the drivers attempt to perform math with this eventhough it is data :-( Right. I found that one, and I throw quotes around anything that might get executed. This really should be in the docs, or better yet, fixed. Try this: 1. Type the SSN column as lower case blob (Not the standard BLOB) in the database. Chris uses lower case to let his driver know this a binary column. I originally had it as a blob type, but switched to varchar when that wasn't working in order to try to extract as simple example as possible. put create table CDData(id integer primary key, Notes varchar) into tSQL revExecuteSQL dbID, tSQL put blahblahblah into tNotes put INSERT INTO CDData(id, Notes) VALUES(null,:1) into tSQL RevExecuteSQL dbID, tSQL, tNotes which results in 'near ): syntax error' Removing the variable substitution works. put INSERT INTO CDData(id, Notes) VALUES(null,tNotes) into tSQL Thanks. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: A problem with Return in a field
Devin Asay wrote: Charles, (I've been following this discussion on the use-rev list, so I'm taking the liberty to post it there too.) I suspect your problem may be related to the fact that you have a keyDown handler in the field that may be blocking the return key. (Although it's not supposed to.) It should work if you force the return key to tab to the next field by including a returnInField handler: on returnInField get the number of me select the text of fld (it + 1) end returnInField Anybody know why the keyDown handler blocks the autoTab? Maybe a candidate for bugzilla? It doesn't. I just tried it with the above script and it works fine. I suspect his field is sized to include too many lines, so it accepts returns until it hits the last line. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT ] I want money.
Richmond- Monday, December 11, 2006, 6:04:05 AM, you wrote: If all interested in this topic could send me $1, just as soon as I have collected $1 million I will let you know in a telegram from my tax-haven in the Bahamas :) I emailed you $1 and have instructed my Nigerian friends to do the same to ensure this gets wide coverage and enable you to reach your goal as soon as possible. You should soon be receiving many more. I'm looking forward to my telegram. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: A problem with Return in a field
On Dec 11, 2006, at 10:17 AM, J. Landman Gay wrote: Devin Asay wrote: Charles, (I've been following this discussion on the use-rev list, so I'm taking the liberty to post it there too.) I suspect your problem may be related to the fact that you have a keyDown handler in the field that may be blocking the return key. (Although it's not supposed to.) It should work if you force the return key to tab to the next field by including a returnInField handler: on returnInField get the number of me select the text of fld (it + 1) end returnInField Anybody know why the keyDown handler blocks the autoTab? Maybe a candidate for bugzilla? It doesn't. I just tried it with the above script and it works fine. I suspect his field is sized to include too many lines, so it accepts returns until it hits the last line. I keep learning new things about Rev after all these years. I didn't realize that autoTab checked the height of the field and inserted Return chars until the text reached the bottom of the field, and only then tabs to the next field. Very elegant. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Branding
Whereas the initial works involved are fairly minor, the potentials he is hoping for could be major. For example, a CD version of the game in his brand, without my piracy protections, distributed for free by casinos, would presumably kill my software sales of my own brand. Indeed it would. Where's the upside for you? What does this company bring to the table to make it worth your while Yes it would. What about giving him a free, limited version that unlocks to a Deluxe version and then there is profit sharing at that point? Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Back to button basics
hoverIcon is promising but has one bug: It reset icons to the normal Icon on mouseLeave, but alas, it does not reset changed buttons upon leaving the card. So, if you click a button that takes you to a different card, and your mouse is moving, whatever icons you are switching will stay stuck showing the hoverIcon. Upon returning to the card with the buttons, it looks strange indeed! With some buttons showing over states. I have sadly given up on hoverIcon and gone back to Chipp's idea of manually switching out icons, which works flawlessly. The only solution I can think of, is that upon going to a different card, Rev has to insert code that checks all icons on the card it's leaving, and resets any showing the hoverIcon to the regular Icon. Is this a Bugzillable issue? On Dec 5, 2006, at 9:30 PM, Tereza Snyder wrote: If I want rollover behavior, I would use the new hoverIcon property instead of the autoArm and armedIcon property ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
Andre- Monday, December 11, 2006, 8:37:56 AM, you wrote: you guys don't want to hear my ideas on getting money, right? one tricky is to create a social networking site such as MySpace and have all pages with really crapy annoying MIDI music files and get people with good sense to pay you to shut your site down... OK - it worked. I'm being proactive and emailing you some money in an effort to preempt your trying this. Let me know if you want more... -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
wait till I remember how to use the maquee and blink html tags... I'll be so rich... ;-) On Dec 11, 2006, at 4:36 PM, Mark Wieder wrote: Andre- Monday, December 11, 2006, 8:37:56 AM, you wrote: you guys don't want to hear my ideas on getting money, right? one tricky is to create a social networking site such as MySpace and have all pages with really crapy annoying MIDI music files and get people with good sense to pay you to shut your site down... OK - it worked. I'm being proactive and emailing you some money in an effort to preempt your trying this. Let me know if you want more... -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Back to button basics
On 12/11/06 12:15 PM, Josh Mellicker [EMAIL PROTECTED] wrote: hoverIcon is promising but has one bug: It reset icons to the normal Icon on mouseLeave, but alas, it does not reset changed buttons upon leaving the card. So, if you click a button that takes you to a different card, and your mouse is moving, whatever icons you are switching will stay stuck showing the hoverIcon. Upon returning to the card with the buttons, it looks strange indeed! With some buttons showing over states. I have sadly given up on hoverIcon and gone back to Chipp's idea of manually switching out icons, which works flawlessly. The only solution I can think of, is that upon going to a different card, Rev has to insert code that checks all icons on the card it's leaving, and resets any showing the hoverIcon to the regular Icon. Is this a Bugzillable issue? Absolutely! And I'd recommend entering it NOW as they are working on fixing bugs for the 2.7.5 release and it would be great to get that fixed right away... Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Lost in Translation (or how I get people to understand File Type Associations)
I'm curious as to how other developers have approached the issue of File Type Associations on both Windows and the Macintosh. I'm working on a program that: 1. Asks the user if they would like to associate the type of file file type with program name. (during Installation) 2. Asks the user if they would like to make program name the default editor. (after program is run) Upon a Yes answer from either questions the file types are associated with the program, and as such, our program is now the default program and the files look like they are associated with our program. The problem, of course, is that a user installed our software on his computer, said Yes to the first question, and flipped out when his files looked different... and used System Restore to fix the problem. Obviously this is not good. Word of Mouth is a Killer in this business. So how do you get novice users to understand Associations, or, how do you work around the issue? Derek Bump Dreamscape Software Compress photos easily with JPEGCompress www.dreamscapesoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Branding
On Dec 9, 2006, at 2:27 PM, Shari wrote: I've been approached by someone who desires a specially branded version of my software, Blackjack Gold. Are any of you doing this, and if so, how are you handling all the ins, outs, and monies? Hi Shari, I do this with one of my products with great success. Each branded version shares the same engine, but has a unique interface while others share a similar interface. My main thought is to be able to control the distribution. You do not have to be the one that moves the product, just the one that allows it to work. You can do this with your registration system. It sounds like it could all be controlled over the net. The end result should be a much larger distribution of your product with a larger amount being deposited into your account every month. I would not sell the rights to the product in your case. If I remember correctly, you have other game related products that could be used to tie into each other. Selling one of those will weaken the overall strategy to get your current user base to purchase your other (related) products. You might consider selling the whole enchilada. This is the strategy I went with concerning my education software. Like your gaming software, my ed software would sell each other over and over to existing customers. Selling off one at a time would only weaken the others. Good luck with this endeavor! Mark Talluto -- CANELA Software http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
Be certain to do them in really large, red type. And don't forget the dancing hamsters on a blinding yellow patterned background. Judy On Mon, 11 Dec 2006, Andre Garzia wrote: wait till I remember how to use the maquee and blink html tags... I'll be so rich... ;-) On Dec 11, 2006, at 4:36 PM, Mark Wieder wrote: Andre- Monday, December 11, 2006, 8:37:56 AM, you wrote: you guys don't want to hear my ideas on getting money, right? one tricky is to create a social networking site such as MySpace and have all pages with really crapy annoying MIDI music files and get people with good sense to pay you to shut your site down... OK - it worked. I'm being proactive and emailing you some money in an effort to preempt your trying this. Let me know if you want more... -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
you should see my macarena dancing pink hippo animated gif with only six frames!!! that will sure be a success! On Dec 11, 2006, at 7:06 PM, Judy Perry wrote: Be certain to do them in really large, red type. And don't forget the dancing hamsters on a blinding yellow patterned background. Judy On Mon, 11 Dec 2006, Andre Garzia wrote: wait till I remember how to use the maquee and blink html tags... I'll be so rich... ;-) On Dec 11, 2006, at 4:36 PM, Mark Wieder wrote: Andre- Monday, December 11, 2006, 8:37:56 AM, you wrote: you guys don't want to hear my ideas on getting money, right? one tricky is to create a social networking site such as MySpace and have all pages with really crapy annoying MIDI music files and get people with good sense to pay you to shut your site down... OK - it worked. I'm being proactive and emailing you some money in an effort to preempt your trying this. Let me know if you want more... -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Streaming video and Rev
On Dec 10, 2006, at 9:07 AM, Richard Miller wrote: I'd appreciate any thoughts on how best to incorporate streaming video into a Rev application. We have about 50 videos (320x240, 30 fps, 200-300 kbps typical data rate, averaging 5 minutes each) we'd like to make available to our customers. In any one session with our Rev application, they might need to watch one or two of these videos. Windows and Mac. We're looking for a straightforward solution something that can be tightly bundled into the Rev app. Options? Hi Richard, OS X Server comes with QT Streaming Server. It is what you are looking for. If you are going to use Rev as the client to play the videos, then you should be aware of bug: http://support.runrev.com/ bugdatabase/show_bug.cgi?id=1239 -Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
binary vs. text?
Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Any thoughts? Thanks, Chris -- Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com -- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
On 12/12/06, Chris Sheffield [EMAIL PROTECTED] wrote: Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Just a guess here but how about reading the file twice: once as file: and once as binfile: If the two are identical, then I assume it's text only. I have no idea if this will work, but it's worth a try :-) Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
On 12/12/06 12:09 AM, Chris Sheffield [EMAIL PROTECTED] wrote: Hi Chris, Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Any thoughts? If file follow unicode rules, it have special signature on start I did not hear about such ability define kind of file.. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
Thanks, Sarah. Very cool idea. Seems to work for me. Can anyone thing of any cases that this might fail? On Dec 11, 2006, at 3:14 PM, Sarah Reichelt wrote: On 12/12/06, Chris Sheffield [EMAIL PROTECTED] wrote: Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Just a guess here but how about reading the file twice: once as file: and once as binfile: If the two are identical, then I assume it's text only. I have no idea if this will work, but it's worth a try :-) Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com -- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
On 12/12/06 12:15 AM, Ruslan Zasukhin [EMAIL PROTECTED] wrote: On 12/12/06 12:09 AM, Chris Sheffield [EMAIL PROTECTED] wrote: Hi Chris, Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Any thoughts? If file follow unicode rules, it have special signature on start I did not hear about such ability define kind of file.. Well, I think you can try next: 1) check unicode signature. if you have find it -- this is unicode textfile 2) ELSE you can scan the whole file or its part, byte for byte to see if you meat a ZERO byte. if YES - its a binary file. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
Hi Chris, Sarah's answer sounds good (I mean fully reliable) but may appear unusable with heavy files you download from the internet. As for us we use another method based on statistics by checking charToNum's chars. On Windows, it appears that checking 60 chars and finding more than 3 chars the charToNum of which is less than 9 or greater than 175 gives an almost fully reliable result ;-) Le 11 déc. 06 à 23:09, Chris Sheffield a écrit : Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Any thoughts? Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
Andre Garzia wrote: you should see my macarena dancing pink hippo animated gif with only six frames!!! that will sure be a success! I'm ahead of you. You'll want a monospaced font for this: Reason #173 to fear technology... o o o o o o o o ^|\ ^|^ v|^ v|v |/v |X| \| | /\ \ / \ / \ / \ o o o o o o o o \ x / | / \ ) |\ / \ / \ / \L Mr. Ascii does the Macarena. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
Chris Sheffield wrote: Does anyone have a sure fire way to determine if a file is binary or text? There is no such thing as a sure fire way to determine if it is text or not, unless the definition of text can be clearly defined. I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Any thoughts? I would just assume it is text, and then handle wrong input gracefully. Trying to parse the contents first to verify it would just add overhead, and is unnecessary if you do the former. Consider my input as general, and not Revolution specific --my exposure to Revolution is modest, at least at this point... -- Geir A. Myrestrand ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
Thanks, Eric. I shouldn't have a problem with Sarah's method since these files will not be downloaded from the internet at all. On Dec 11, 2006, at 3:23 PM, Eric Chatonet wrote: Hi Chris, Sarah's answer sounds good (I mean fully reliable) but may appear unusable with heavy files you download from the internet. As for us we use another method based on statistics by checking charToNum's chars. On Windows, it appears that checking 60 chars and finding more than 3 chars the charToNum of which is less than 9 or greater than 175 gives an almost fully reliable result ;-) Le 11 déc. 06 à 23:09, Chris Sheffield a écrit : Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Any thoughts? Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com -- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
Sarah Reichelt wrote: On 12/12/06, Chris Sheffield [EMAIL PROTECTED] wrote: Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Just a guess here but how about reading the file twice: once as file: and once as binfile: If the two are identical, then I assume it's text only. I have no idea if this will work, but it's worth a try :-) Sarah The solution won't scale, and it also depends whether it would handle multi-byte characters (use for Kanji for example) and certain UNICODE formats that use the NULL character. If this is on a particular platform, then there are various ways to do this. On Linux/UNIX systems you can run `file filename` in order to classify a file for example. -- Geir A. Myrestrand ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: I want money.
I am almost crying Jacque... this with ArcadeEngine will be on RevOnline soon... Reason #174 to fear technology: Bored Brazilians + Coffee induced imagination + monospaced fonts. On Dec 11, 2006, at 8:22 PM, J. Landman Gay wrote: Andre Garzia wrote: you should see my macarena dancing pink hippo animated gif with only six frames!!! that will sure be a success! I'm ahead of you. You'll want a monospaced font for this: Reason #173 to fear technology... o o o o o o o o ^|\ ^|^ v|^ v|v |/v |X| \| | /\ \ / \ / \ / \ o o o o o o o o \ x / | / \ ) |\ / \ / \ / \L Mr. Ascii does the Macarena. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
Hi Sarah, You can't do that. Crlf is translated by Rev into linefeed on DOS cr is also translated into linefeed oin Mac OS 9, which means that a text file is never equal to its binary equivalent. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 11-dec-2006, om 23:14 heeft Sarah Reichelt het volgende geschreven: Just a guess here but how about reading the file twice: once as file: and once as binfile: If the two are identical, then I assume it's text only. I have no idea if this will work, but it's worth a try :-) Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
Ruslan, You can't do that, because there are about a dozen different unicode signatures and some streams have no unicode signature at all. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 11-dec-2006, om 23:15 heeft Ruslan Zasukhin het volgende geschreven: If file follow unicode rules, it have special signature on start I did not hear about such ability define kind of file.. -- Best regards, Ruslan Zasukhin ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
On 12/12/06 12:55 AM, Mark Schonewille [EMAIL PROTECTED] wrote: Ruslan, You can't do that, because there are about a dozen different unicode signatures and some streams have no unicode signature at all. Hi Mark, We do this for Valentina studio. :-) Of course can be file without signature. It is optional ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
On 11 Dec 2006, at 22:21, Chris Sheffield wrote: Thanks, Sarah. Very cool idea. Seems to work for me. Can anyone thing of any cases that this might fail? I think this would only work if you can be sure that the line endings in the text files are unix style (numToChar(10)). If, for example, the file had crlf as line endings, they would be converted when opening as a file, but not as a binfile. The comparison would fail even though it was a text file. (Not tested, so please give it a try.) Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
Chris, When you import a file, you always want to do something with its contents. Just check to see if the text contents fits the destination. If not, it might be a binary file and you may need to handle it differently. There is another way. You could do a guess about the percentage of spaces, returns, and alphanumerical characters in a normal text file (nearly 100%) and in a binary file (significantly less). In those cases that the actual percentage is lower than some treshold value, assume it is a binary file. If the actual percentage is higher, assume it is a text file. If the actual percentage is approximately equal to the treshold value, ask the user. You can store a copy of (a part of) the data in another variable, use replaceText to remove all non-alfanumerical characters and calculate the percentage. If you have a really large file, you don't need to analyse the entire file. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 11-dec-2006, om 23:09 heeft Chris Sheffield het volgende geschreven: Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Any thoughts? Thanks, Chris ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: altSQLite variable substitution
On 11 Dec 2006, at 16:54, Mark Wieder wrote: Dave- Sunday, December 10, 2006, 11:28:55 PM, you wrote: When using the :1 variety, doesn't the variable have to be an array. I.e. the value you need should be in tSSN[1]. Or have I misunderstood? The docs may be wrong about this, but my reading of them says that you can do this either way (a variable list or an array). You're absolutely right. (Although reading the docs may be considered cheating in some circles. :-)) Sorry for any confusion. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
standalone/mysql/database files
Is there a way to build the standalone with mysql and the database files included in the build? What I have is a stack that starts and stops mysql using xampp, then I have a database within that the user will add too using the stack. If there is no way to have these files included in the standalone build what is the best way to include these files so that a user can not just remove the database file and open from phpadmin? this is all on a u3 drive and works fine, just looking to secure database files Thanks Robert Mann ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: binary vs. text?
On Dec 11, 2006, at 3:09 PM, Chris Sheffield wrote: Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. In general, there is no way. However, all is not lost. A text file is a special case of a binary file consisting of a sequence of characters whose representations are binary. For very short files, it is hard to tell. However, if you have some idea of the pattern you are expecting you can increase your confidence that some file is binary or text. Many file formats have magic words and header data that indicate the type. These provide a hint and an additional check can provide some confidence. For example, a magic word plus a required element can identify a .png file, that is, check to see whether it starts with this: format(\211PNG\r\n\032\n\000\000\000\015IHDR). Unicode files often have BOM markers at the start, but they are not required in some cases and the BOM shouldn't be there in others. I have a function I use to differentiate among Unicode files, but that already assumes I know they are unicode and even then it has trouble with some perverse files. (It does get it right more often than Microsoft programs do.) UTF-8 files also have other limitations among the characters, so that can help. Text files should have certain patterns. For example, if the file is ASCII and is comma-delimited or tab-delimited, there are some indicators. You should see only certain control characters. You should see the expected delimiter. You should see either CR or LF or both. All characters have codes less than 128. You might want to require the same number of delimiters per line. So, given some specified pattern of what you expect in binary or text, you should be able to differentiate. However, an alternate approach would be to parse the file and if the file does not pass, then reject it no matter the form of the data. Dar ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Branding
Mark and Lynn, I think my original thoughts to him were something similar to this. This would have been doable. Apparently he has created a bIackjack variation that he wants to peddle to casinos. And he needs a medium to peddle it. A bIackjack game he can use to demonstrate the variation. Mine fits this model perfectly. But he also wants the casinos, if they wish, to be able to let their players downIoad the game to practice the variation. I'm not sure how this would translate into money for him, or me. I know of no casino charging for downIoads. They peddle free versions to mirror their real casino games, to entice folks to bet for real. And the way my game works regarding trial versus full version, is one of the things you get when you buy it is the ability to play the variations. So the ability to play variations and change the casino rules in the game is what entices people to buy it from me. Our goals would be at full odds against each other. I am still in dialog with the fella. If he can do this in such a way that my registration system retains it's integrity and I am in full charge of unlocking it, as both you and Lynn said, I would consider it. Shari I do this with one of my products with great success. Each branded version shares the same engine, but has a unique interface while others share a similar interface. My main thought is to be able to control the distribution. You do not have to be the one that moves the product, just the one that allows it to work. You can do this with your registration system. It sounds like it could all be controlled over the net. Good luck with this endeavor! Mark Talluto -- Gypsy King Software Mac and Windows shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
revQueryDatabase
I am having a problem with revQueryDatabase returning a number when it should not be I think? In the following sql statement if there is no wt_springcalc.year_model=' gyearmodel ' curID should not be a number? put SELECT * FROM wt_springcalc WHERE wt_springcalc.year_model=' gyearmodel ' and wt_springcalc.company_id='1' into theSQL put revQueryDatabase(dbID2, theSQL) into curID put curID into fld curIDnum IF curID is a number THEN put revDatabaseColumnNamed(curID,fr_mx_multiplier) into fld frmxm1 ELSE put curID into fld error exit mouseUp END IF What happens is curID is returned as a number then when the revDatabaseColumnNamed(curID,fr_mx_multiplier) into fld frmxm1 executes it puts revdberr,invalid column number in the fld and then rev shuts down Not sure where I have gone wrong? Thanks Robert Mann ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Back to button basics
Okay, I have not yet bugzilled yet, and this is not as major as other issues... and there is a fine workaround for now, just so everyone knows, I have just been working with this and if to fix the stuck over button problem, just set the hoverIcon to 0 (to disable it), set the armedIcon to the same as the icon and swap out the icon number manually on mouseEnter, this works perfectly. On Dec 11, 2006, at 11:24 AM, Ken Ray wrote: On 12/11/06 12:15 PM, Josh Mellicker [EMAIL PROTECTED] wrote: hoverIcon is promising but has one bug: It reset icons to the normal Icon on mouseLeave, but alas, it does not reset changed buttons upon leaving the card. So, if you click a button that takes you to a different card, and your mouse is moving, whatever icons you are switching will stay stuck showing the hoverIcon. Upon returning to the card with the buttons, it looks strange indeed! With some buttons showing over states. I have sadly given up on hoverIcon and gone back to Chipp's idea of manually switching out icons, which works flawlessly. The only solution I can think of, is that upon going to a different card, Rev has to insert code that checks all icons on the card it's leaving, and resets any showing the hoverIcon to the regular Icon. Is this a Bugzillable issue? Absolutely! And I'd recommend entering it NOW as they are working on fixing bugs for the 2.7.5 release and it would be great to get that fixed right away... Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[ANN] Sample Stacks
I know that there has been discussion in the past about including sample stacks with Rev as the old HyperCard did, so I've started working on sample stacks that are relatively simple to use for newbies to look at and hopefully learn from. They are released into the Public Domain (I wash my hands clean of them ;-) but I am open to suggestions, fixes and other types of comments. The first such sample stack is based on the Address Book, but I've spruced it up a little (as much as I could without going overboard). http://www.shaosean.tk/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution