Re: Building Classic app problems

2005-08-29 Thread Jeffrey Reynolds
well, i have been trying to make my classic app by building it in rev251 mac osx authoring with the mac classic 251 engine and still no luck. im working on trying to figure out what exactly is not working in the classic app. it appears like my images are not loading from files, but first

convert [*] to the n with tab

2005-08-29 Thread rev
Hi All. I have a field with text items separated with charachters bounded by multiples of [*]. eg [0][0][9]item1[0][0][0][6]item2[0]item3 I would like the separator items [*] or [*][*] or [*][*][*] etc to be replaced with a single tab. I thought of this script on mouseUp put preparsed into p

Re: Emergency Mouse Polling Help

2005-08-29 Thread xbury . cs
Hi Jonathan the only way i can see this work is via a macro-recorder program that sends an event to rev... I dont see how else... -=- Xavier [EMAIL PROTECTED] wrote on 27/08/2005 06:47:33: I need to know if I can use Rev to develop a background app

Re: convert [*] to the n with tab

2005-08-29 Thread rev
Quoting [EMAIL PROTECTED]: Hi All. I have a field with text items separated with charachters bounded by multiples of [*]. eg [0][0][9]item1[0][0][0][6]item2[0]item3 I would like the separator items [*] or [*][*] or [*][*][*] etc to be replaced with a single tab. I thought of this script

Makeover for the revolution-education wiki

2005-08-29 Thread Marielle Lange
Dear all, At least, I found the time to do what I was craving for months: create a personalized look-and-feel for the revolution-education wiki: http://revolution.lexicall.org/wiki/ The goal was to make it less crowded and easier to read. Let me know what you think. Please also let me

Re: convert [*] to the n with tab

2005-08-29 Thread Mark Smith
I suspect you're going to need the replaceText function. It uses regex, which I'm afraid I can't help with. But someone here can and will, I'm sure... Mark On 29 Aug 2005, at 09:45, [EMAIL PROTECTED] wrote: Quoting [EMAIL PROTECTED]: Hi All. I have a field with text items separated with

Re: convert [*] to the n with tab

2005-08-29 Thread rev
Quoting Mark Smith [EMAIL PROTECTED]: I suspect you're going to need the replaceText function. It uses regex, which I'm afraid I can't help with. But someone here can and will, I'm sure... Yep I eventiually tried that too. I even made it simple and tried it on the original field. I used

Re: convert [*] to the n with tab

2005-08-29 Thread Eric Chatonet
Hi Bob, 1. You have to enclose a text string with quotes 2. Square brackets have a special meaning in RegEx: you have to specify them preceded by a anti-slash to get them handled literally. So, you could try: put replaceText(field preparsed,\[0\],comma) into... Le 29 août 05 à 11:48,

Re: libdatabase : connection problem

2005-08-29 Thread Alex Tweedly
Dan Shafer wrote: Off-hand I spotted a couple of potential problem spots (haven't spent a lot of time analyzing whether these are the only problems): On Aug 28, 2005, at 2:46 AM, Revolution wrote: Sunday, August 28, 2005 12:45:34 PM (GMT +02:00) event from button : local tDbA =

Bring To Front

2005-08-29 Thread Todd Geist
Hello Everyone, Is there a way to bring a Rev Application to the front? I am sending some commands to my app over TCPIP and I would like to have it come to the front when it process those commands. Any ideas TIA Todd -- Todd Geist __ G e i s t i n t e

Re: convert [*] to the n with tab

2005-08-29 Thread Marielle Lange
Dear Bob, This is a job for regular expressions: put [0][0][9]item1[0][0][0][6]item2[0]item3 into tstr put replacetext(tstr, (\[[0-9]\])+, tab) get you: item1item2item3 [0-9] Means any number between 0-9 \[ and \[ Because [ and ] are characters used to define options

Re: Convert ColorNames to RGB

2005-08-29 Thread david bovill
There is no way that i know of. You can script this on the fly if you want by seeting the color of some invisible or offscreen object and then putting the color of the object back into a variable. The other way around is harder - you have to script / use a lookup table.

Re: convert [*] to the n with tab

2005-08-29 Thread rev
Quoting Eric Chatonet [EMAIL PROTECTED]: Hi Bob, Hi Eric One again you have saved the day. I ended up with on mouseUp put replaceText(field preparsed,\[3\],[0])into field withtabs put replaceText(field withtabs,\[1\],[0])into field withtabs put replaceText(field withtabs,\[2\],[0])into

CamelCase

2005-08-29 Thread david bovill
What's the quickest way to find all the CamelCase words in some text - anyone have a regular expression or script for this? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: convert [*] to the n with tab

2005-08-29 Thread Eric Chatonet
Hi Bob, Thanks. But I'm not a regex specialist: did you see Marielle's answer who is far better than mine? put [0][0][9]item1[0][0][0][6]item2[0]item3 into tstr put replacetext(tstr, (\[[0-9]\])+, tab) get you: item1item2item3 [0-9] Means any number between 0-9 \[ and

Re: convert [*] to the n with tab

2005-08-29 Thread rev
Quoting Eric Chatonet [EMAIL PROTECTED]: Hi Bob, Hi Eric and Marielle Well this just highlights the beauty of runrev. Get a load of this.. on mouseup put [0][0][9]item1[0][0][0][6]item2[0]item3 into tstr put replacetext(tstr, (\[[0-9]+\])+, tab) end mouseup WOW WOW WOW :-) Works

Semi OT (french members only) : experienced web + Rev developer needed

2005-08-29 Thread jbv
Hi list, I'm posting this message in english so that none feels ejected from the discussion, but I'm targetting french list members ONLY. I'm located 200 km East of Paris, so anyone (with the required skills - see below) not too far away is welcomed. The project I'm working on is a commercial

Re: CamelCase

2005-08-29 Thread Eric Chatonet
Hi David, I use the following function. It does not differentiate lower camelCase from upper ones (CamelCase). As I use it to parse scripts, the text to parse is not too long and it's enough for my internal needs. But I imagine there are faster solutions :-) It's certainly not the quickest...

Re: CamelCase

2005-08-29 Thread Alex Tweedly
david bovill wrote: What's the quickest way to find all the CamelCase words in some text - anyone have a regular expression or script for this? Depends on your definition of CamelCase !! There are lots of variations possible - must have leading Uppercase (aka UpperCamelCase) - may not

OT--Apples Pages outputs CSS

2005-08-29 Thread Thomas McCarthy
Completely off-topic but... I've been investigating cascading style sheets and noticed that on the surface, a lot of css sites resembled Pages templates. I exported a Pages file to html and looked at it. Sure enough it used css. It might be a good way to start using css. I haven't checked

Re: Semi OT (french members only) : experienced web + Rev developer needed

2005-08-29 Thread Dom
jbv [EMAIL PROTECTED] wrote: I'm posting this message in english so that none feels ejected from the discussion, but I'm targetting french list members ONLY. Salut ! j'ai fait suivre sur la liste francophone, où se trouvent sans doute des clients potentiels ;- -- Revolutionario

RE: Spell Checker

2005-08-29 Thread Lynch, Jonathan
It is incorporated into something which I cannot share. However - the scrip is relatively simple. I can put something together that I can share. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sivakatirswami Sent: Saturday, August 27, 2005 5:48 PM To:

Using message box

2005-08-29 Thread Bill
I have been using the message box all along like this: Put variable Or put whatever And the result comes out in the message box. The problem with this is how do you search for that event in a whole lot of code. You can't search for put So I want to say put whatever into messagebox only that

OSX Style Toolbat Widget

2005-08-29 Thread Scott Kane
Hi all, Just wondering if anybody knows of a stack or procedure for creating OSX toolbars. You can do this in RealBaisic (Yuck!) as they have sublassed the control from the OS. Note it needs to be clear (not opaque) and as easy as possible for me as a Rev newbie. Ten years in Delphi has spoilt

Re: OSX Style Toolbat Widget

2005-08-29 Thread Mark Smith
If you mean a row of tools (icons) at the top of a window, you can just put a bunch of buttons there. If you mean some sort of floating palette, then you need to make a sub stack of your main stack, set the decorations as desired, and populate it with a row of buttons... Is this what you

Re: Using message box

2005-08-29 Thread Eric Chatonet
Hi Bill, put whatever into message From the docs: The message box is a container as well as a window. You can show and hide the message box, put information into it, and get information from it. The two-word synonyms message window and msg window can be used only to show and hide the

RE: OSX Style Toolbat Widget

2005-08-29 Thread Scott Kane
If you mean a row of tools (icons) at the top of a window, you can just put a bunch of buttons there. If you mean some sort of floating palette, then you need to make a sub stack of your main stack, set the decorations as desired, and populate it with a row of buttons... Is this what

Re: OSX Style Toolbat Widget

2005-08-29 Thread Mark Smith
I may have misunderstood. Do you mean a toolbar like the one at the top of the window in mail.app? It's just a row of buttons, and you have a lot of control over the behaviour and look of buttons... What are the problems with the hilite behaviour? Cheers, Mark On 29 Aug 2005, at 15:24,

Re: Using message box

2005-08-29 Thread Bill
Thanks. I looked in the docs too but sometimes the docs don't work (or maybe they get caught up in something that takes so long it seems like they're not working). Anyway -- from now on I use put whatever into message and then I can search on message to find it. I am using explicit variables also

Re: CamelCase

2005-08-29 Thread Jim Hurley
Message: 5 Date: Mon, 29 Aug 2005 13:09:20 +0200 From: david bovill [EMAIL PROTECTED] Subject: CamelCase To: How to use Revolution use-revolution@lists.runrev.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed What's the quickest way to find

external Windows program running?

2005-08-29 Thread Revolution
In general: I am using revolution to launch a nonrevolution program. I need to know when the user shuts down the nonrev program so that I can shut down rev. Is there a method of doing this? Details: The nonrev program does not properly hide the Windows taskbar. I need rev to be running to keep

Scripting conference - How to work with files and folders

2005-08-29 Thread J. Landman Gay
The preview stack for Ken Ray's scripting conference is now online for you to download prior to the conference this Saturday. Ken's topic is How to work with files and folders and there is a wealth of information in there. Ken has done a wonderful job with this stack and I am sure that most of

RE: external Windows program running?

2005-08-29 Thread Lynch, Jonathan
Are you using Rev to launch a program, which is only being opened to launch another program? Surely Rev could launch the other program directly? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Revolution Sent: Monday, August 29, 2005 11:36 AM To:

Re: Using message box

2005-08-29 Thread Dennis Brown
When I put in debug code, I add a comment to it so I can find it later: put myVar --debug Dennis On Aug 29, 2005, at 11:22 AM, Bill wrote: Thanks. I looked in the docs too but sometimes the docs don't work (or maybe they get caught up in something that takes so long it seems like they're

Re: CamelCase

2005-08-29 Thread Marielle Lange
What's the quickest way to find all the CamelCase words in some text - anyone have a regular expression or script for this? Hi David: [^A-Za-z][A-Z][a-z]+[A-Z][A-Za-z]* In words: Any character except an alphabetic one, an uppercase character, one or more lowercase characters, an uppercase

commas in custom properties

2005-08-29 Thread Lars Brehmer
Hi all! I'm sure I've seen this question on the list befrore, but darned if I can find it again! I use text stored in custom properties for word searching purposes, among other things, and I need to know how to ignore commas. For example a custom property that contains; to read,

Re: Building Classic app problems

2005-08-29 Thread J. Landman Gay
Jeffrey Reynolds wrote: well, i have been trying to make my classic app by building it in rev251 mac osx authoring with the mac classic 251 engine and still no luck. im working on trying to figure out what exactly is not working in the classic app. it appears like my images are not loading

Re: external Windows program running?

2005-08-29 Thread Revolution
Launching isn't the problem. I need to know when the nonrev program terminates. - Original Message - From: Lynch, Jonathan [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Monday, August 29, 2005 12:17 PM Subject: RE: external Windows program running?

Re: commas in custom properties

2005-08-29 Thread Mark Wieder
Lars- If there's no space after the comma (to read,recite) then mark cds where it is among the items of the storedText of me should do it. If there are spaces (to read, recite) then the match will probably fail and you'll have to resort to something more verbose: put the storedText of me

Re: commas in custom properties

2005-08-29 Thread Malte Brill
Hi Lars, try tokens instead of words. mark cds where it is among the tokens of the storedText of me Hope that helps, Malte ArcadeEngine - prepare to WOW your audience within minutes

RE: external Windows program running?

2005-08-29 Thread MisterX
Doug, if you launch your pc application via shell, then when the user closes that application, rev just has to continue working... meanwhile while your app runs, rev is blocked... I find the behavior hideous but at least it does have ONE use... The other way is to check every now and then if

Re: Convert ColorNames to RGB

2005-08-29 Thread Joel Guillod
The other way around is harder - you have to script / use a lookup table. Not so hard to build a map between ColorNames and RGB: create a field and name it fColors, then put the following script in the card script and type build in the message box: now the field display for each color a

RE: external Windows program running?

2005-08-29 Thread Lynch, Jonathan
You can also just check every now and then to see if the application is among the openprocesses. And Xavier, you can launch an app via shell command without it locking up - at least, Chipp's method so far has not locked up the Rev app for me. I would be happy to send it to you, if you wish.

RE: OSX Style Toolbat Widget

2005-08-29 Thread Scott Kane
Hi Mark, Do you mean a toolbar like the one at the top of the window in mail.app? It's just a row of buttons, and you have a lot of control over the behaviour and look of buttons... What are the problems with the hilite behaviour? First off - sorry for being a pain for this, but my test

Re: libdatabase : connection problem

2005-08-29 Thread Dan Shafer
Just goes to show you. I learn something every day about this language. It would never have occurred to me to use an equal sign that way in Rev. I'm almost sorry I know that! :-D Dan On Aug 28, 2005, at 8:46 PM, Trevor DeVore wrote: On Aug 28, 2005, at 6:12 PM, Dan Shafer wrote:

Re: OSX Style Toolbat Widget

2005-08-29 Thread Richard Gaskin
Scott Kane wrote: First off - sorry for being a pain for this, but my test team won't even look at the app' unless it works and looks just right. Yes - mail.app is exactly the look and is the OS's toolbar in use. The user can add or hide buttons and if there are to many added then a

Re: CamelCase

2005-08-29 Thread Cubist
sez [EMAIL PROTECTED]: From: david bovill [EMAIL PROTECTED]:lCase words in some text - anyone have a regular expression or script for this? Depending on the complexity of your text, you might find the following function useful: function thereIsAnInteriorCapitalLetter tText --Self referential

[FR] [EN] Re: RevoBlog lives again! Leap year dete rmination/Années bissextiles

2005-08-29 Thread Dom
Dom [EMAIL PROTECTED] wrote: It is here: http://revoblog.free.fr/2005/08/27/index.html I forgot to note that the web site is bilingual... J'ai oublié de préciser que le site était bilingue ! Today: a better determination of leap years, by a member of the french-speaking list revolutionfr

Re: commas in custom properties

2005-08-29 Thread Mark Swindell
Don't know if this will help, but I just used the replace x with y feature in a project I'm working on where there were multiple lines with returns at the end and not commas: put the cpImageItems into cleanMeUp replace return with comma in cleanMeUp if x is among the items of cleanMeUp then

Re: Using message box

2005-08-29 Thread Chipp Walters
Bill, To search for naked puts, you can use my 'find put' plugin at: http://www.altuit.com/webs/altuit2/altPluginCover/about.htm Check under Download Plugins -Chipp Bill wrote: I have been using the message box all along like this: Put variable Or put whatever And the result comes out in

Re: OSX Style Toolbat Widget

2005-08-29 Thread Chipp Walters
Scott, I believe Ken Ray has implemented the exact same look and feel, including the ability to drag/drop buttons 'up there.' I suggest you contact him offlist? -Chipp ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

RE: OSX Style Toolbat Widget

2005-08-29 Thread Scott Kane
Hi Chipp, I believe Ken Ray has implemented the exact same look and feel, including the ability to drag/drop buttons 'up there.' I suggest you contact him offlist? Do you happen to have his email address? I'm kind of new and don't know Ken Ray. :-) Scott

Re: Spell Checker

2005-08-29 Thread Scott Morrow
Greetings Yves, Jean-Baptiste LE STANG has written an AppleScript extension http://www.lestang.org/ that allows a link to Apple's OSX spell checking engine. It can be used with Revolution to create a spell checker. Obviously it requires OSX and so will not provide the general solution

OT good list or product for removing ad/spyware?

2005-08-29 Thread Erik Hansen
--- Malte Brill [EMAIL PROTECTED] wrote: Hi Lars, try tokens instead of words. mark cds where it is among the tokens of the storedText of me Hope that helps, Malte ArcadeEngine - prepare

emacsKeyBindings

2005-08-29 Thread Richard Gaskin
I'm curious: How many of you use the emacsKeyBindings property, and for what sorts of apps/audiences? -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com

problem waiting - spellchecker

2005-08-29 Thread MisterX
Hi everyone im working on this spellchecker (too) in a palette form. It should be able to work in any stack... Dictionary is ready, so is the SpellChecker's GUI. While everything is nearly ready, the stack makes a loop to parse all words and check each word and waits for a user input to decide

Re: problem waiting - spellchecker

2005-08-29 Thread Chipp Walters
did you try: wait with messages until checkdone? MisterX wrote: Hi everyone im working on this spellchecker (too) in a palette form. It should be able to work in any stack... Dictionary is ready, so is the SpellChecker's GUI. While everything is nearly ready, the stack makes a loop to parse

Re: Saluting the Menu Maven

2005-08-29 Thread Jeanne A. E. DeVoto
At 1:09 AM -0700 8/26/2005, Dick Kriesel wrote: On 8/26/05 12:42 AM, Jeanne A. E. DeVoto [EMAIL PROTECTED] wrote: there are a lot of tips and tricks that I didn't include in order to make sure the basic information got through without overloading people Tantalizing! Please, Jeanne, would

Re: problem waiting - spellchecker

2005-08-29 Thread Brian Yennie
Xavier, I would suggest either: a) use wait ... with messages or b) modularize the code such that your buttons can pick up where your code left off. IOW, there is no code running while waiting for a button to be pressed. Just save off your progress, and wait for the next click. Hope that