RE: Silly Array Question
Yeah, that's what I thought as well. I'm only trying to delete an element in an array. In text fields it is a snap to delete a line. N -Original Message- From: Alex Rice [mailto:[EMAIL PROTECTED] Sent: 7-Mar-03 1:33 PM To: [EMAIL PROTECTED] Subject: Re: Silly Array Question On Friday, March 7, 2003, at 10:56 AM, Feasey, Nicholas wrote: > My..my. It just as simple as that? > All the other elements in the array will adjust their position in the > array? I probably shouldn't answer this since I'm somewhat of a newbie, but I think arrays in Rev are really hashes or shelves. So when you do delete variable something[x] you are telling the array to drop the key named x and it's value. Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] ___ 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: Import snapshot snafu
At 11:53 am -0500 7/3/03, Ken Norris wrote: on mouseUp import snapshot from rect "28,90,118,128" of window id 475519808 end mouseUp Why doesn't it work? Try without "id" import snapshot from rect "28,90,118,128" of window 475519808 Cheers Dave ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: mystery exception
On Friday, March 7, 2003, at 01:15 PM, Alex Rice wrote: The "Error Reporting" checkbox on the resources tab of the Distro builder? Yes, I included it. And this handler was failing silently until I wrapped it in a try/catch statement. How can I tell what other handlers area failing silently? I'm a unclear on the concept of how the Error Reporting dialogs are supposed to work (or why they wouldn't work) I have had the same problem. And I suspect the same reason--I don't know how to use the error reporting dialogs. The error string that a catch gets is not very helpful. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: mystery exception
On Friday, March 7, 2003, at 12:53 PM, Richard Gaskin wrote: Alex Rice wrote: I am getting an exception that only happens in my standalone, not in the IDE. Does anyone recognize this exception & have a clue for me? The exception message is 91,425,31 77,425,31 443,425,5,false 529,425,1,false Hve you included the Execution Error dialog in your standalone? The "Error Reporting" checkbox on the resources tab of the Distro builder? Yes, I included it. And this handler was failing silently until I wrapped it in a try/catch statement. How can I tell what other handlers area failing silently? I'm a unclear on the concept of how the Error Reporting dialogs are supposed to work (or why they wouldn't work) Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: mystery exception
Alex Rice wrote: > I am getting an exception that only happens in my standalone, not in > the IDE. Does anyone recognize this exception & have a clue for me? The > exception message is > > 91,425,31 > 77,425,31 > 443,425,5,false > 529,425,1,false Hve you included the Execution Error dialog in your standalone? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on any site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Import snapshot snafu
*** > Date: Thu, 06 Mar 2003 23:50:07 -0800 > Subject: Re: Import snapshot snafu > From: Richard Gaskin <[EMAIL PROTECTED]> >> on mouseUp >> import snapshot from rect "28,90,118,128" of window id 475519808 >> end mouseUp >> >> Why doesn't it work? > > What happens when you run it? If there's no visible error, what is the > value of "the result" after you execute the "import" statement? -- Well, when I make the script it errors like this: There was a Script Compile Error at 11:26:47 AM Error description: Handler: bad command Object: button id 1006 of card id 1002 of stack "/Macintosh HD/Desktop Folder/MyRev Stacks/TTS Speech Test.rev" import snapshot from rect "28,90,118,128" of window id 475509520 Value: 475509520 ...but the value IS the value of the current window ID for the stack I specified, because I checked it. No other value for the result at all. I closed out the stacks, even closed Rev, then went back and reopened everything. Of course, that means the window id changes so I rewrote the script as shown in the error report (still doesn't work) below. Note the new window id, which is correct as I checked it separately in the Message Box (put the windowID of stack "Practice 1"). There was an Execution Error at 11:35:47 AM Error description: Object: does not have this property Object: button id 1006 of card id 1002 of stack "/Macintosh HD/Desktop Folder/MyRev Stacks/TTS Speech Test.rev" import snapshot from rect "28,90,118,128" of window id (windowID of stack "Practice 1") Value: 447832976 ...but of course, the object (stack window) actually DOES have the property and reports it accurately according to the error dialog. The command WILL reproduce a SCREEN image given the proper screen rect, but errors if I try to reproduce an image using coordinates inside the specified window. It must be the command that is failing, even though it is apparently written correctly according to the Transcript Dictionary. Is it a bug? Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
mystery exception
I am getting an exception that only happens in my standalone, not in the IDE. Does anyone recognize this exception & have a clue for me? The exception message is 91,425,31 77,425,31 443,425,5,false 529,425,1,false Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sentences as items
gochya. thanks a lot! T. On Friday, March 7, 2003, at 06:39 PM, Chris Sheffield wrote: You can do it one of two ways. I am using .rtf files and reading them in at run-time so that I have styled text. What I first did was use the command "set the clipboardData["text"] to NumToChar(160)" in the Rev Message Box. Then I opened my text editor and pasted where necessary. It worked well. But then I moved my file to the Mac. Because it's a higher ASCII character, it didn't display right on the Mac. So what I ended up doing was putting some other lower ASCII character like "~" (or anything that's not very likely) in my files instead of the actual delimiter character. Then in my code I replaced that character with NumToChar(160) on Windows and NumToChar(202) on Mac after reading in the file. I hope that all makes sense. Chris Sheffield --- Toma Tasovac <[EMAIL PROTECTED]> wrote: Chris, let me abuse your kindness one last time. Your solution is exactly what I need, but what's still not clear to me is the very first step. Once I know how to insert the special character, it will be pretty trivial to to a search and replace in BBEdit and make sure that all sentences end with a punctuation sign + special character. But how do I insert that special character in a text editor in the first place? I know that this is something terribly obvious and banal, but please indulge my ignorance! Many thanks for your help. Toma __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ___ 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: Silly Array Question
On Friday, March 7, 2003, at 10:56 AM, Feasey, Nicholas wrote: My..my. It just as simple as that? All the other elements in the array will adjust their position in the array? I probably shouldn't answer this since I'm somewhat of a newbie, but I think arrays in Rev are really hashes or shelves. So when you do delete variable something[x] you are telling the array to drop the key named x and it's value. Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Not using QT for Video playback on OsX
Klaus wrote: >i think you have bad luck... >As far as i know, QuickTime is the only multimedia-layer on OS X. >It is a part of the "deeper" core of OS X. Well there is something called VLC (Video Lan Client) http://developers.videolan.org/vlc/ >Means: QuickTime or die ;-) Don´t say so, I´m just getting happy again living... :-) >This is from the doxs: >VideoClipPlayer: >This property can be used on UNIX systems to specify an alternate >name for the xanim player used to play movies with the "play" command. Well, I read this before, but thought maybe this is outdated... :-( There seems to be happening so much on the OsX front. >Since there is no Xanim player of OS X i think you cannot cahnge that... Are you sure? I guess someone has ported it allready. >Anyway, have a nice weekend :-) Just keeping on coding. :-) >Regards >Klaus Major Regards, Malte ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Silly Array Question
My..my. It just as simple as that? All the other elements in the array will adjust their position in the array? N -Original Message- From: Monte Goulding [mailto:[EMAIL PROTECTED] Sent: 6-Mar-03 6:33 PM To: [EMAIL PROTECTED] Subject: RE: Silly Array Question delete variable myArray["whatever"] Cheers Monte > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Feasey, > Nicholas > Sent: Friday, 7 March 2003 9:31 AM > To: '[EMAIL PROTECTED]' > Subject: Silly Array Question > > > Ok, I admit it, I'm not getting it. > > I have no problem deleting an item (line) from a list but now I'm > trying to > delete an item from an array. > > I have looked through the online documentation and, for some > reason, I'm not > grasping which the command used to delete an array element? > > Any assistance, as per usual, is greatly appreciated. > > N > > ___ > 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 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sentences as items
You can do it one of two ways. I am using .rtf files and reading them in at run-time so that I have styled text. What I first did was use the command "set the clipboardData["text"] to NumToChar(160)" in the Rev Message Box. Then I opened my text editor and pasted where necessary. It worked well. But then I moved my file to the Mac. Because it's a higher ASCII character, it didn't display right on the Mac. So what I ended up doing was putting some other lower ASCII character like "~" (or anything that's not very likely) in my files instead of the actual delimiter character. Then in my code I replaced that character with NumToChar(160) on Windows and NumToChar(202) on Mac after reading in the file. I hope that all makes sense. Chris Sheffield --- Toma Tasovac <[EMAIL PROTECTED]> wrote: > Chris, let me abuse your kindness one last time. > Your solution is > exactly what I need, but what's still not clear to > me is the very first > step. Once I know how to insert the special > character, it will be > pretty trivial to to a search and replace in BBEdit > and make sure that > all sentences end with a punctuation sign + special > character. But how > do I insert that special character in a text editor > in the first place? > I know that this is something terribly obvious and > banal, but please > indulge my ignorance! > > Many thanks for your help. > > Toma > > > __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Trap/script for arrow keys?
Monte's script: on arrowKey tKey put the loc of btn "Fish" into tLoc switch tKey case "left" subtract 10 from item 1 of tLoc break case "right" add 10 to item 1 of tLoc break case "up" subtract 10 from item 2 of tLoc case "down" add 10 to item 2 of tLoc break end switch set the loc of btn "Fish" to tLoc end arrowKey .. works beautifully here, except that there's a "break" missing in the "up" case statement. Peace, Derek. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Not using QT for Video playback on OsX
Hi Malte, Hi, this one is for the Mac OsX users on the list (which I am not yet). Is it possible to choose another playback system on OsX for digital Video, like it should be on *nix Systems with set the videoClipPlayer to playerpath? Has anyone tested it? Any help will be greatly appreciated. Regards, Malte i think you have bad luck... As far as i know, QuickTime is the only multimedia-layer on OS X. It is a part of the "deeper" core of OS X. Means: QuickTime or die ;-) This is from the doxs: VideoClipPlayer: This property can be used on UNIX systems to specify an alternate name for the xanim player used to play movies with the "play" command. Since there is no Xanim player of OS X i think you cannot cahnge that... Anyway, have a nice weekend :-) Regards Klaus Major [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sentences as items
Chris, let me abuse your kindness one last time. Your solution is exactly what I need, but what's still not clear to me is the very first step. Once I know how to insert the special character, it will be pretty trivial to to a search and replace in BBEdit and make sure that all sentences end with a punctuation sign + special character. But how do I insert that special character in a text editor in the first place? I know that this is something terribly obvious and banal, but please indulge my ignorance! Many thanks for your help. Toma On Thursday, March 6, 2003, at 08:15 PM, Chris Sheffield wrote: Well, first let me say that I am very new to Revolution. It just so happens that I was working on a similar problem yesterday, and this is how I solved it. So I thought I'd share it. :-) It is entirely possible that there is a better solution. As far as inserting these characters, you can do it the long way like I did and copy the character to the clipboard and then paste it into your text. Are you using external text files or static text in a field? You could probably make the process a lot easier by writing a small script that would search through a block of text, locate any sentence-ending punctuation (".", "!", "?", etc.) and then insert the special character after the punctuation. I haven't done this yet because I was just trying to throw something together to show my boss, but I'm sure it would work. Keep in mind that it will look like a space when on the screen, so you may also have to remove existing spaces at the end of sentences. As for the unicode thing, that's a little beyond my skills at this point. Sorry. Maybe someone else on the list can address that one. Chris Sheffield Read Naturally ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Not using QT for Video playback on OsX
Hi, this one is for the Mac OsX users on the list (which I am not yet). Is it possible to choose another playback system on OsX for digital Video, like it should be on *nix Systems with set the videoClipPlayer to playerpath? Has anyone tested it? Any help will be greatly appreciated. Regards, Malte ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution