Re: Counting Chars By ASCII Part 2

2006-03-01 Thread Todd Geist
Sorry for not getting back to answer questions. I am moving my office and I cut the tip of my index finger off. Just a little bit of the tip. But it makes typing very difficult :>) Here are the answers to a couple of questions... My script can do 25 mb in a minute or two, but I had not bee

Re: strange menu behavior

2006-03-01 Thread Sarah Reichelt
> I've got an application that uses a splash screen method. The main > stack opens and the user has to enter his password to continue. This > main stack has its own menu, which includes File -> Quit with Ctrl-Q > set as the shortcut. After entering a password and logging in > successfully, anoth

Re: strange menu behavior

2006-03-01 Thread J. Landman Gay
Chris Sheffield wrote: I've found what I think is a bug of some kind, but I wanted to ask here to see if someone else has run into anything like this, and to see if maybe it's something I'm doing. I've got an application that uses a splash screen method. The main stack opens and the user

Re: repeat repeat

2006-03-01 Thread Dick Kriesel
If speed matters, you could avoid nesting the loops. on mouseUp repeat with i = 1 to number of buttons put i into tArray[the label of button i] end repeat repeat for each item tSeatNo in field "seatNo" set the backgroundColor of button tArray[tSeatNo] to "red" end repeat end mouseU

Re: repeat repeat

2006-03-01 Thread Mark Swindell
on mouseUp put fld "seatNo" into tseatNo repeat for each line y in tSeatNo repeat with x = 1 to the number of buttons if y = the label of button x then set the backgroundcolor of button x to y end if end repeat end repeat end mouseUp Something like the above mi

repeat repeat

2006-03-01 Thread liamlambert
Thank You Mark that works fine Liam Lambert [EMAIL PROTECTED] IRELAND ___ 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/mai

Re: repeat repeat

2006-03-01 Thread Mark Schonewille
Hi Liam, Assuming that your original code does not cause any errors, the following should work, although I didn't test it: on mouseUp repeat for each item myLabel in fld "seatNo" repeat with x = 1 to the number of buttons if myLabel is the label of btn x then set the backgr

Re: Paypal Solution?

2006-03-01 Thread john
Hi Ben, I had the impression that once you have a paypal vendor account you would just need to provide a button to open a URL straight to your payment page. Then you maintain a list of the product (that are in your rev stack) at your paypal vendor page. Maybe there is more to it thaan I think...

repeat repeat

2006-03-01 Thread liamlambert
My fld "seatNo" has more than one line or item I want to repeat the code below for each line or item on mouseUp put fld "seatNo" into tseatNo repeat with x = 1 to the number of buttons if tseatNo = the label of button x then set the backgroundcolor of button x to red end if end re

Re: test

2006-03-01 Thread Robert J. Lawrence
Was it a successful test? ;-) Robert On Mar 1, 2006, at 12:50 PM, Chris Sheffield wrote: This is a test. Thanks for your time. :-) -- Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com -

Re: Paypal Solution?

2006-03-01 Thread David Lewis
no intersted do not sell anthing From: Mark Schonewille <[EMAIL PROTECTED]> Reply-To: How to use Revolution To: How to use Revolution Subject: Re: Paypal Solution? Date: Thu, 02 Mar 2006 00:31:13 +0100 Hi Ben, If your main goal is to sell something, you might want to have a look at the Sal

Re: Paypal Solution?

2006-03-01 Thread Mark Schonewille
Hi Ben, If your main goal is to sell something, you might want to have a look at the Salery web store software at http://www.salery.biz/salery.html. It creates web pages for all products in the store with on every page a PayPal button for that particular product. Best, Mark benjamin pastr

Re: Paypal Solution?

2006-03-01 Thread Chipp Walters
Hi Ben, It's not Altuit which has this particular solution. I believe it's Tom McCarthy who you may be referring to. In anycase, he has some info about using PayPal with Rev at: http://www.discamus.com/nunc/how/PayPal_setup2.html benjamin pastrana wrote: I read about the Altuit software that

Re: RGB to HEX

2006-03-01 Thread Sarah Reichelt
> Is there a built-in function in Rev that will convert RGB color > string to a HEX color string? If no, does anyone know how to do > this? I knew how to do this in another language, but am at a loss as > to how to work it out in Rev. No built-in command, but it can be scripted. You might like

Re: Pie Chart Algorithms?

2006-03-01 Thread Alex Tweedly
Sivakatirswami wrote: Now my next challenge is to get a list of points on the circumference of any circle. I checked the mailing lists and can't find the algorithm or sample script that would do this. If anyone has the "professional" algorithm to do this please do post it... /H's chart s

Re: Counting Chars by ASCI Values

2006-03-01 Thread Jim Ault
correct. On 3/1/06 12:35 PM, "Mark Smith" <[EMAIL PROTECTED]> wrote: > In this case, we're counting delimiters - not items, so it I'm sure > it should be the number of items -1, unless we have a trailing > delimiter, when the item count and delimiter count are the same, > hence the need for "& n

Paypal Solution?

2006-03-01 Thread benjamin pastrana
I read about the Altuit software that incorporates Paypal with revolution but I wonder if there is any other as a component and not as part of a whole system. I would like to create a stack with some articles to sell and have a paypal button to process the payment. thanks! Ben __

Re: Controlling Quicktime frames

2006-03-01 Thread Peter T. Evensen
You could use the currentTime setting to step through a QT movie. If there is no interaction, and you're just displaying a static frame, all you would need is something like this: on NextFrame put the currentTime of player "Power Point" into tCurrentTime add tTheAppropriateTime

Controlling Quicktime frames

2006-03-01 Thread benjamin pastrana
hello! I exported a PowerPoint presentation of an educational slideshow which I imported to Revolution but I can't find the proper scripts to Play the Quicktime frame by frame. I want to create 3 buttons: BTN1: Play next frame and stop BTN2:Play previous frame and Stop BTN3:Rewind quicktime to fr

Re: Do you want to save changes to this stack ..... ?

2006-03-01 Thread J. Landman Gay
Francis Nugent Dixon wrote: Questions : 1 - Under what conditions does Revolution ask me the question "Do you want to save the changes ", or more simply, what constitutes "a change" ? The answer once seemed clear to me, but maybe there are things I don't know ! As an example, if I change the

Re: ask dialog removes selectedChunk in field

2006-03-01 Thread J. Landman Gay
Garrett Hylltun wrote: When I use the ask dialog to get some user input on changing some hilighted text in a field, the ask dialog removes the focus from the field, thus losing the ability to use the selectedChunk after the dialog has been dismissed. I did not know if there was any way wi

Re: Recovering a corrupt file

2006-03-01 Thread J. Landman Gay
Marty Billingsley wrote: Hi -- Any hints on recovering a corrupted Rev file? We're using 2.6 on Mac OS 10.4.3 and saving files to a Sun workstation that emulates a Mac server by using a program called xinet. Anyway, when a student's quota is exceeded on the server, there is no error message wh

Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities.

2006-03-01 Thread Chipp Walters
Duly noted. We may even have something in the works for altBrowser3 ;-) Bob Warren wrote: Chipp: VERY professional! VERY impressive! Of course, you know what I am going to remind you of next, don't you? LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX

Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities.

2006-03-01 Thread Bob Warren
Chipp: VERY professional! VERY impressive! Of course, you know what I am going to remind you of next, don't you? LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! LINUX! Congratulations, Bob _

Re: XML Library and Windows

2006-03-01 Thread Jan Schenkel
--- Karen <[EMAIL PROTECTED]> wrote: > Hi Jan, > > Thanks very much for that, but as I'm building on > the Mac only, I had > to use something that Trevor DeVore had previously > suggested - > > > The problem I'

Re: Counting Chars by ASCI Values

2006-03-01 Thread Mark Smith
In this case, we're counting delimiters - not items, so it I'm sure it should be the number of items -1, unless we have a trailing delimiter, when the item count and delimiter count are the same, hence the need for "& null" or testing the last char. This is how it seems to work on my setup

Re: Counting Chars by ASCI Values

2006-03-01 Thread Jim Ault
On 3/1/06 9:34 AM, "Mark Smith" <[EMAIL PROTECTED]> wrote: > Jim's solution seems the best, but if the data is big, then the > 'number of items in (textStr & null)' seems to slow things down - I > guess that textStr is being copied with the null char appended, and > if it's big, that's a lot of wo

Re: Pie Chart Algorithms?

2006-03-01 Thread Sivakatirswami
Doing that only increased the size the arc line that was drawn. The two radius lines from the center out to the end of the arc, forming the pie did not always appear, sometimes yes, sometimes no... but by setting the opaque on create oval to true then the background color appears whether o

Re: A Constellation problem-of my own making?

2006-03-01 Thread Jerry Daniels
Michael, Chipp's answer is the one I'd recommend...set the loc of stack "revConstellation" to the screenLoc. Like all windows, Constellation can be moved and resized via scripts or commands from the message box. Best, Jerry Daniels Artists, Consultants & Developers http://www.daniel

test

2006-03-01 Thread Chris Sheffield
This is a test. Thanks for your time. :-) -- Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com -- ___ use-revolution mailing list use-revolu

ask dialog removes selectedChunk in field

2006-03-01 Thread Garrett Hylltun
Rev 2.6.1 Greetings, When I use the ask dialog to get some user input on changing some hilighted text in a field, the ask dialog removes the focus from the field, thus losing the ability to use the selectedChunk after the dialog has been dismissed. I did not know if there was any way wit

Re: RGB to HEX

2006-03-01 Thread Klaus Major
Hello again, Garrett .-) Rev 2.6.1 Greetings, Is there a built-in function in Rev that will convert RGB color string to a HEX color string? If no, does anyone know how to do this? I knew how to do this in another language, but am at a loss as to how to work it out in Rev. Check the "

Re: Built-in Font Dialog?

2006-03-01 Thread Klaus Major
HiGarrett, Rev 2.6.1 Greetings, Is there a built-in font dialog in Rev? No, but you can examine the Rev "Font" menu :-) Or do I use fontnames to get a list and create my own font selection routine? That's possible, too. Thanks in advance, -Garrett Regards Klaus Major [EMAIL PROTECT

RGB to HEX

2006-03-01 Thread Garrett Hylltun
Rev 2.6.1 Greetings, Is there a built-in function in Rev that will convert RGB color string to a HEX color string? If no, does anyone know how to do this? I knew how to do this in another language, but am at a loss as to how to work it out in Rev. Thanks in advance, -Garrett __

Built-in Font Dialog?

2006-03-01 Thread Garrett Hylltun
Rev 2.6.1 Greetings, Is there a built-in font dialog in Rev? Or do I use fontnames to get a list and create my own font selection routine? Thanks in advance, -Garrett ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit thi

Re: Counting Chars by ASCI Values

2006-03-01 Thread Mark Smith
Jim's solution seems the best, but if the data is big, then the 'number of items in (textStr & null)' seems to slow things down - I guess that textStr is being copied with the null char appended, and if it's big, that's a lot of work. I think it's therefore more efficient to test for char -

Re: Pie Chart Algorithms?

2006-03-01 Thread Devin Asay
On Feb 28, 2006, at 3:35 PM, Sivakatirswami wrote: The only caveat I discovered that there was some unknown "condition" wherein the arc is drawn sans the radius lines... i.e you get just a curved line..a simple arc... but, if I draw an oval manually and set it's arc angle one gets a c

strange menu behavior

2006-03-01 Thread Chris Sheffield
I've found what I think is a bug of some kind, but I wanted to ask here to see if someone else has run into anything like this, and to see if maybe it's something I'm doing. I've got an application that uses a splash screen method. The main stack opens and the user has to enter his passwor

Re: Counting Chars By ASCII Part 2

2006-03-01 Thread Mark Smith
Exactly why I wondered... from the Docs: returns a double-byte character. If the useUnicode is false and you specify an ASCIIValue greater than 255, the numToChar function returns the character corresponding to the ASCIIValue mod 256.> So if we're dealing with unicode text, and really need

Re: implementing a search function

2006-03-01 Thread FlexibleLearning
I use this to progressively auto-fill from a defined list... Script for Field or Combo-button... on keyup k put word 2 of the selectedChunk into temp put the num of words of char 1 to temp of me into w put lineoffset(CR& word w of me, CR& fld "wordList") into n get line n of fld "wordList" if

Re: Counting Chars By ASCII Part 2

2006-03-01 Thread Jim Ault
On 3/1/06 7:20 AM, "Todd Geist" <[EMAIL PROTECTED]> wrote: Question 1: > IF (tASCII < 31 OR tASCII > 255) THEN Why would you test for > 255 since no ASCII would be higher than this? Question 2: Are you trying to strip the characters, or just count them and report the result, like a hist

Re: On the Democratic Operation of Bugzilla

2006-03-01 Thread Jerry Muelver
Jim Ault wrote: It would be nice if there was a wiki that would categorize bugs (text-in-fields, icons, standalones, Win32 vs Mac) that would read more like a book or simple outline. You mean, like http://revdocwiki.wikispaces.com/ ? Jerry Muelver _

Re: Counting Chars by ASCI Values

2006-03-01 Thread Jim Ault
On 3/1/06 5:08 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > In a message dated 2/28/06 6:20:02 PM, Todd Geist > <[EMAIL PROTECTED]> writes: >> I need to count the number of times a Character occurs in text >> string. The character will be high or Low ASCII. SO I need to input >> the va

Re: Do you want to save changes to this stack ..... ?

2006-03-01 Thread Jonathan Lynch
I might be misunderstanding... but, if you want your stack to not remain in memory after you close it, can't you just set it's destroystack property to true? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscri

Re: Counting Chars By ASCII Part 2

2006-03-01 Thread Jonathan Lynch
I would assume that if he is checking for characters >255 that he must be using unicode. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://list

Recovering a corrupt file

2006-03-01 Thread Marty Billingsley
Hi -- Any hints on recovering a corrupted Rev file? We're using 2.6 on Mac OS 10.4.3 and saving files to a Sun workstation that emulates a Mac server by using a program called xinet. Anyway, when a student's quota is exceeded on the server, there is no error message when his RR stack is saved; h

Re: Counting Chars By ASCII Part 2

2006-03-01 Thread Mark Smith
I've come up with this: on anotherOne put fld 1 into tString repeat with n = 1 to 30 if (n >= 10 AND n <=12) OR n = 29 then next repeat put n & tab & charCount(n,tString) & cr after tList end repeat put tList into fld "chars" end anotherOne function charCount n,tString put l

Do you want to save changes to this stack ..... ?

2006-03-01 Thread Francis Nugent Dixon
Hi from Paris, I have a relatively big stack (4000 cards, 6 Mb). When I run it, most times I just do calculations on card 1 whose results are stored on this card. In this case, from my point of view, there are no mods (although I agree that SOME fields on card 1 have changed, but I don't want

Re: Counting Chars By ASCII Part 2

2006-03-01 Thread Jonathan Lynch
How is the speed on the script you are using? Like, if you use this script on a string of several megabytes, how long does it take to get a result? Since you are testing for a number of possible different characters, you are going to have to use a repeat for each char loop - I think. ___

Counting Chars By ASCII Part 2

2006-03-01 Thread Todd Geist
Hello Again, After trying several of the excellent suggestions from all you revolutionaries, I realized I hadn't quite explained myself... go figure. So here is another attempt to explain what I am after. I am actually after "low" ASCII and "High" ASCII characters that my have snuck into

PayPal and Rev update

2006-03-01 Thread Thomas McCarthy
In my haste to bed the other night, I accidently put up some old [and nasty] cgi scripts. I've updated them. --and in the reg_stack.rev Scott Rossi's PayPal button worked well in development mode, but not under my standalone. I changed it to a revGoURL call and now it works. Also prettied up t

Re: Type a text from a palette stack to an external window

2006-03-01 Thread Paul Claude
Hi Lynn, unfortunately this does not work for me. Perhaps the problem is that my stack has a systemWindow style. I've created this property, running it as Applescript: tell application "System Events" to set frontApp to name of (item 1 of (processes whose frontmost is true)) tell window 1 of app

Re: Type a text from a palette stack to an external window

2006-03-01 Thread Lynn Marie Peterson
Paul Consolo asked: << There is a way to let Revolution (also via Applescript) may type a text on an external app window (i.e. a text editor)? I've tried using various AS tips to bring the ext. window to the frontmost, but every time the focus remains on the stack (a systemWindow style palette),

Re: Counting Chars by ASCI Values

2006-03-01 Thread Jonathan Lynch
aha! Using replace twice - awesome Idea! I would write it like this: function CharCount pAsciiChar,pString put numtochar(pAsciiChar) into tCharToCheck put pString into pString2 replace tCharToCheck with empty in pString2 return (the length of pString)-(the length of pString2) end CharCou

Re: ... how could one create a customized object ... ? (was something else)

2006-03-01 Thread Jonathan Lynch
Thanks, Dick This is something I have thought about... and, as RR currently stands, I think you would need an image with a bit of scripting, that holds the 3D object data in a custom property and sends that data to an external for processing when the view of the object is changed, then puts the ne

Re: Counting Chars by ASCI Values

2006-03-01 Thread Cubist
In a message dated 2/28/06 6:20:02 PM, Todd Geist <[EMAIL PROTECTED]> writes: >I need to count the number of times a Character occurs in text >string. The character will be high or Low ASCII. SO I need to input >the value as an ASCII value. > >Anybody have any scripts that can get me started

Type a text from a palette stack to an external window

2006-03-01 Thread Paul Claude
There is a way to let Revolution (also via Applescript) may type a text on an external app window (i.e. a text editor)? I've tried using various AS tips to bring the ext. window to the frontmost, but every time the focus remains on the stack (a systemWindow style palette), and typing give back onl

Re: implementing a search function

2006-03-01 Thread Charles Hartman
If you want to go beyond the first character (press 'm' to get all the 'm…' lines, 'a' to get all the 'ma…' lines rather than all the 'a…' lines) it gets trickier, but several people have worked out versions of it. I can't remember quite when, but look in the archives for roughly August of

Re: Counting Chars by ASCI Values

2006-03-01 Thread Alex Tweedly
Ken Ray wrote: On 2/28/06 3:57 PM, "Jonathan Lynch" <[EMAIL PROTECTED]> wrote: I like the idea of using itemdel as a means of counting - very clever... I was thinking there must be some other immediate means of counting? How about this one? function CountChars pString,pChar replac

Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities.

2006-03-01 Thread Klaus Major
Hi Scott, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Major Sent: Wednesday, 1 March 2006 7:04 PM To: How to use Revolution Subject: Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. It's magic, ladies and gentlemen! :-) You're a t

Re: search scripts for string

2006-03-01 Thread Geoff Canyon
On Feb 28, 2006, at 8:20 AM, Preston Shea wrote: I seem to remember a something (third party? sample script?) somewhere to search all the scripts in a stack for a text string. Does anyone know where this gem might be? Navigator will do this as well: http://www.inspiredlogic.com/navigator

RE: [ANN] Brand NEW altBrowser2!!! Neat new capabilities.

2006-03-01 Thread Scott Kane
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Klaus Major > Sent: Wednesday, 1 March 2006 7:04 PM > To: How to use Revolution > Subject: Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities. > It's magic, ladies and gentlemen! :-) You're a

Re: [ANN] Brand NEW altBrowser2!!! Neat new capabilities.

2006-03-01 Thread Klaus Major
Hi Judy, Chipp, I'm not seeing the pricing info... Where is it? click "Buy" in the naviagation bar on the left side of the page, et voila!: the prices! It's magic, ladies and gentlemen! :-) http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm Thanks! Judy Regards Klaus M