Re: audio on windows not playing
Hi Troy, Yes I try to play it in a player object. I also tried to play it with the play user/thisFolder/myaudioFile command, which will sort of play the audio though it will produce also the strangest cracking and distortion which is absolutly unusable. It is also strange I have the controls set to showing and on the mac I see them alright but on windows I don't see them at all. The player is just a rectangle with no controls or the like. I wil now try importing the file (75 Mb) and see if play audioclip will work. Still hoping to find a solution best wishes Claudi On Thursday, November 25, 2004, at 01:12 AM, Troy Rollins wrote: On Nov 24, 2004, at 5:48 PM, C List wrote: I have both an aif and a wav file and neither will play with runrev. The aif file won't play in the windows media player either but the wav file will. (could this mean something is wrong with the media player (it's mplayer2 vers 6.42) AIF is native to Mac, but pretty alien on Windows, though fairly often supported by various odds-n-ends of software. Probably best to stick with the WAV on Windows. I have the dontUseQT set to true. You didn't seem to indicate... you are trying to play the WAV in a Rev player object? -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: audio on windows not playing
Dag Claudi Hi Troy, Yes I try to play it in a player object. I also tried to play it with the play user/thisFolder/myaudioFile command, which will sort of play the audio though it will produce also the strangest cracking and distortion which is absolutly unusable. It is also strange I have the controls set to showing and on the mac I see them alright but on windows I don't see them at all. The player is just a rectangle with no controls or the like. The controller bar is a QuickTime only feature, you get nothing on windoze, obviously :-) I wil now try importing the file (75 Mb) and see if play audioclip will work. Please don't! That will result in the same hellish noise as the play ac ... command and indicates that that file is a compressed wav file... Can you open that file in QuickTime Player and check the information about the fileformat? Maybe then we could see a bit clearer... If nothing helps, try to convert that file to e.g. MP3 format, which should be playable inside a player even on windoze without QT... Still hoping to find a solution best wishes Claudi Klaus Major [EMAIL PROTECTED] http://www.major-k.de P.S. player objects versus play ac...: Player objects... that use QT, which although much slower and more memory intensive can play many more formats than the default play command which uses low-level sound routines in Win32 and MacOS which don't support compression. Posted 9/2/2002 by Scott Raney to the MetaCard List ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RevMail OSX
Hello everybody, I've encountered a problem recently using the RevMail function. Indeed RevMail [EMAIL PROTECTED] will open http://www.domain.com; in Internet Explorer instead of a mail program ! Does anyone knows how to manage this ? Have a nice day, Aurélien Durand ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevMail OSX
Bon jour Aurélien, Hello everybody, I've encountered a problem recently using the RevMail function. Indeed RevMail [EMAIL PROTECTED] will open http://www.domain.com; in Internet Explorer instead of a mail program ! Does anyone knows how to manage this ? That was a bug in the first version of Rev 2.5. Go to menu Help and choose Check for updates... That should remove that little inconvenience. Have a nice day, Aurélien Durand Au revoir Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
barcode scanner
How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
On Nov 25, 2004, at 9:06 AM, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza I do think that barcode scanners send their data as simple ascii numbers, like if the user had typed with the numeric keypad. Like you don't really access the scanner hardware, you just put a field, when the user uses the scanner, the scannner will send the numbers and the field will be filed. But please test this before beliving in my words, I don't really know if this is how they work, but I remember researching a little while ago, and seeing something like that. If indeed they work like this, then there's not a single problem when creating stacks... cheers andre PS: I just saw a USB barcode scanner like those credit card scanners... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Aborting a script
I am developing on OS X. When I am in a loop with an answer dialog box, I can't find a way to abort the whole handler. I have tried command-. which I think worked in HyperCard. -- Kaveh Bazargan http://www.focalimage.com/ http://www.holographer.org/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Find command
David, The find command begins searching from the point of the last successful find. Try inserting Find Empty just above the line of code with the find command: Find Empty Find desired text ... Mark Greenberg ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
bar code scanners act just like a keyboard. You select the field that you want the scanner to type into, scan the bar code, and assuming you configured your bar code scanner to end transmission with a return, the return in field command will tell the field that it is time to process what just got typed into it. To summarize, bar code scanner = keyboard Kee Nethery BTW, I have two Mac Apple Desktop Bus bar code scanners that anyone on this list can have for free if they pay shipping. We switched to USB and these work fine but we no longer need them. On Nov 25, 2004, at 5:06 AM, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Reading a (BIG) text file one line at a time
-- Message: 6 Date: Wed, 24 Nov 2004 13:10:21 -0800 From: Richard Gaskin [EMAIL PROTECTED] Subject: Re: Reading a (BIG) text file one line at a time To: How to use Revolution [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Kevin Miller wrote: I know that old-timers are used to writing scripts and this works great, but if you are a new Revolution user and want controls to lay out automatically as a window resizes, the Geometry Manager should be your first port of call. You're not dependent on it, its not your only option, but it does work very well and is simple and straightforward for 90% of the layout work you may need to do. Well said. My tips on writing resizeStack handlers directly are for the other 10%. :) Both are good. Transcript is fun to use. Richard et. al., Transcript is indeed fun to use. Speaking of that fun put me in mind of something another Richard, Richard Feynman, said about computers--see below. These remarks were made about his time working at Los Alamos on the Manhattan Project. At the time there were using very early model IBM, card-reading, computers to solve complex mathematical problems related to creating an explosive, chain, fission reaction--i.e. bomb. Well, Mr. Frankle started this problem and began to suffer from a disease, the computer disease, that anybody who works with computers now knows about. It's a very serious disease and it interferes completely with the work. It was a serious problem that we were trying to do. The disease with computers is you play with them. They are so wonderful. You have these x switches that determine if it's an even number you do this, it it's an odd number you do that, and pretty soon you can do more and more elaborate things if you are clever enough...[Here Feynman speaks of getting sidetrack pursing issues not related to their calculational needs, for example working out the arctangent function when they already had tables for the function.]...But if you ever worked with computers you understand the disease. The delight to be able to see how much you can do. But he [Frankle] got the disease for the first time, the poor fellow who invented the thing got the disease. There are worse diseases., worse narcotic addictions than programming. Jim ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Hi Paolo, On Nov 25, 2004, at 05:06, paolo wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza I wrote a sample RR app for a fellow that drives a barcode scanner. If can wait until I'm back at work on Monday I can email a copy to you. --gordon ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevMail OSX
On 11/25/04 3:46 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everybody, I've encountered a problem recently using the RevMail function. Indeed RevMail [EMAIL PROTECTED] will open http://www.domain.com; in Internet Explorer instead of a mail program ! Does anyone knows how to manage this ? What platform are you doing this on? The reason I ask is that I opened Rev 2.2 on Mac OS X 10.3 and typed into the message box: revMail [EMAIL PROTECTED] and it opened Entourage (which is my default mail program on Mac). Doing the same thing in Windows XP opened Outlook (which is my default mail program on Windows). Just curious... what happens if you do this: revGoURL mailto:[EMAIL PROTECTED] ?? You should get the same results (i.e. opening the default mail client). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Aborting a script
On 11/25/04 6:53 AM, Kaveh Bazargan [EMAIL PROTECTED] wrote: I am developing on OS X. When I am in a loop with an answer dialog box, I can't find a way to abort the whole handler. I have tried command-. which I think worked in HyperCard. Well, having an answer dialog inside of a loop makes cancelling tricky. Command-. *does* work, it just has to be executed while script lines are actually running, which isn't the case when you have an answer dialog being displayed. However after you dismiss the dialog, it will go back to running the rest of the script, at which point *if you're fast enough*, you can command-. and get the Execution Error dialog. However if you have something like this: on mouseUp repeat answer Hey there! end repeat end mouseUp you might as well force-quit. ;-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Aborting a script
At 10:09 am -0600 25/11/04, Ken Ray wrote: [...] However if you have something like this: on mouseUp repeat answer Hey there! end repeat end mouseUp you might as well force-quit. ;-) I think what I have is closer to this, and force quit is the only option. But you know, in HyperCard I think that command-. stopped the program, even if a dialog box was showing. There should be a way out, other than force quit. -- Kaveh Bazargan http://www.focalimage.com/ http://www.holographer.org/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Aborting a script
Kaveh Bazargan wrote: At 10:09 am -0600 25/11/04, Ken Ray wrote: However if you have something like this: on mouseUp repeat answer Hey there! end repeat end mouseUp you might as well force-quit. ;-) I think what I have is closer to this, and force quit is the only option. But you know, in HyperCard I think that command-. stopped the program, even if a dialog box was showing. There should be a way out, other than force quit. Same with SC. While it may not be desirable to have that behavior for all apps you build with Rev (can you imagine a user shutting down program execution by just typing Cmd-. in any other app? E), it might be nice to have a global propery which governs this, perhaps one which is set to true in development mode by default false by default at runtime. If you post it to Bugzilla I'd vote for it. -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: audio on windows not playing
On Nov 25, 2004, at 4:26 AM, Klaus Major wrote: It is also strange I have the controls set to showing and on the mac I see them alright but on windows I don't see them at all. The player is just a rectangle with no controls or the like. The controller bar is a QuickTime only feature, you get nothing on windoze, obviously :-) Right, as long as quicktime has been shut off there is nothing to provide the controller. It would work on Windows if QuickTime could be involved. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: audio on windows not playing
Claudi, as far as i have been able to tell you are out of luck with playing external wav files w/o Quicktime on the PC. I tried 9 ways to tuesday to do this a few months back. Documentation in Metacard and Rev both allude to being able to do this w/o quicktime, but it just doesnt. I was interested to see that Scott suggested trying MP3 format, I didnt try that figuring that if it didnt play an Wav format file (much more older standard format) it wasnt going to do anything. now i'm heartened to try mp3 files on non qt windoz to see if that works. let us know if it does! some warnings about testing with the dontuseqt set to true on the pc. first make sure you call it first thing in your preopenstack handler. if a player is called/delt with before that qt will be loaded. even with qt turned off this way i have had it pop back on while fiddling around in a stack trying things. you get that moment of great elation that you have fixed the problem, then discover that the contrller bar is now active and this indicates that quicktime is back on again... (followed by a long sound of a balloon slowly being deflated...). it is safest to just deinstall quicktime on the pc you are working on to make sure its behaving like a computer w/o qt. lucky the deinstall/reinstall of qt has gone flawlessly several times on my xp development system (kudos to apple for a hardy windows install/deinstall). one other little windows audio gotcha (that Jacqueline solved for me, thanks again!) is that you can get some strange playback behaviors on windows (with qt) if the player being played is hidden. make it visible and set its loc to off screen and these go away. this doesn't happen on the mac, windows only, but the fix works fine on the mac. Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 [EMAIL PROTECTED] On Nov 25, 2004, at 4:44 AM, [EMAIL PROTECTED] wrote: Subject: audio on windows not playing To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; format=flowed Hi list I am in quite a fix. I am trying to get an audio file to play on windows. I am busy with this already for well about 10 hours to no avail. On my mac it's no problem at all but on the windows box (windows 2000 profesional) I can't get the file to play. I have both an aif and a wav file and neither will play with runrev. The aif file won't play in the windows media player snip... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Paolo, Check out Sarah's Barcode Tester stack at http://www.troz.net/Rev/ I think it will provide exactly what you are looking for. Kind Regards, Roger Eller [EMAIL PROTECTED] On 11/25/2004 at 6:06 AM, Paolo Mazza wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Find command
Thanks for the reply. It made no difference. I find it very odd that it works as expected when I add the fld, as in find xxx in fld FieldName but find xxx returns not found. Normally, the latter is just slower. I'm using RR2.1.2 if that makes any difference. It's not a showstopper. In this case, putting the fld reference there is actually better. David, The find command begins searching from the point of the last successful find. Try inserting Find Empty just above the line of code with the find command: Find Empty Find desired text ... Mark Greenberg ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 14, Issue 66
Hi Frank, On Nov 25, 2004, at 1:44 AM, [EMAIL PROTECTED] wrote: Date: Wed, 24 Nov 2004 17:04:03 -0500 From: Frank D. Engel, Jr. [EMAIL PROTECTED] Subject: Re: audio input level do set volume input volume 100 as AppleScript Worksthank you so much. How did you know 100 is the maximum level? Where is that info? TIA, Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: audio on windows not playing
It is getting stranger and weirder now. I made small sample files of the audio file in all formats I can save to like au, mov, avi, wav, aif. and I installed a newer version of the media player and in the media player I can play everything exept the aif file. I made a little test stack so I can pick a file for the runrev player to play. The only file it can play is avi. Next I noticed it can play the file as long as it is shorter than 3 min. If the track is 3.15 min I hear no sound. The disc light shows some activity but I hear nothing. I tried this with the always buffer on and off, it makes no difference. I also tried it with another file. A cd disc track also converted to avi, it plays aslong as it doesn't exceed a bit over 4 min. The file I need to play is 7.20 min The file is 16-bit Little Endian, stereo, 44,1 kHz, 16 bits. The datarate is 172.3 K bytes/sec I also tried to downsample the file to 22,05 kHz but more than 3 mins it won't play. The trouble is the audio is quite critical and compressing it to MP3 gives to many artifacts. (unless I find a much better compressor which I am gonna try next. I seem to be running out of options for the moment) Tomorrow I will try setting the dontUseQt as first thing that happens, as Jeffrey sugested, at the moment a couple of other routines get called first. I hope it makes a different but it's to weird. best wishes Claudi On Thursday, November 25, 2004, at 10:26 AM, Klaus Major wrote: Dag Claudi Hi Troy, Yes I try to play it in a player object. I also tried to play it with the play user/thisFolder/myaudioFile command, which will sort of play the audio though it will produce also the strangest cracking and distortion which is absolutly unusable. It is also strange I have the controls set to showing and on the mac I see them alright but on windows I don't see them at all. The player is just a rectangle with no controls or the like. The controller bar is a QuickTime only feature, you get nothing on windoze, obviously :-) I wil now try importing the file (75 Mb) and see if play audioclip will work. Please don't! That will result in the same hellish noise as the play ac ... command and indicates that that file is a compressed wav file... Can you open that file in QuickTime Player and check the information about the fileformat? Maybe then we could see a bit clearer... If nothing helps, try to convert that file to e.g. MP3 format, which should be playable inside a player even on windoze without QT... Still hoping to find a solution best wishes Claudi Klaus Major [EMAIL PROTECTED] http://www.major-k.de P.S. player objects versus play ac...: Player objects... that use QT, which although much slower and more memory intensive can play many more formats than the default play command which uses low-level sound routines in Win32 and MacOS which don't support compression. Posted 9/2/2002 by Scott Raney to the MetaCard List ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: barcode scanner
Hi Paolo, As Roger pointed out, I have a Barcode Tester stack that will help, as well as a stack that creates Code 128 barcodes if that is any use. As others have said, the barcode scanner is exactly the same as a keyboard, all you have to do is work out what rawKey code your barcode scanner sends to indicate the end of a scan. Mine uses 65293 so here are the scripts I need: -- Any keyDown on the listed cards is taken as being a barcode character. -- on keyDown theKey put Front,Packing,Storing into codeCards if the short name of this card is in codeCards then put theKey after fld Barcode else pass keyDown end if end keyDown -- When the end character is received, process the characters -- that have already arrived. -- Don't forget to clear the Barcode field afterwards. -- on rawKeyDown theKey if theKey = 65293 then put the short name of this card into cardName send mouseUp to btn Process Barcode of cd cardName else pass rawKeyDown end if end rawKeyDown Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/ Check out Sarah's Barcode Tester stack at http://www.troz.net/Rev/ I think it will provide exactly what you are looking for. Kind Regards, Roger Eller [EMAIL PROTECTED] On 11/25/2004 at 6:06 AM, Paolo Mazza wrote: How can I send data from a barcode scanner to a revolution stack on WIN-PC? Any of you experienced a software using a barcode scanner as data-entry in a revolution stack? Ciao Paolo Mazza ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution