complex text manipulation

2002-11-10 Thread yves COPPE
Hi, I have a text fld named "src". the locktext is false in a script I'd like to do 1) find a line with a text put lineOffset("myString",fld "src") into tLine if tLine <> "0" then set the textStyle of line tLine of fld "src" to "link" end if 2) now I'd like to click on this line to show a pi

Re: How do I make standalone database save it's data?

2002-11-10 Thread Jimw1956
In a message dated 11/10/02 11:02:13 AM, [EMAIL PROTECTED] writes: << n a similar situation I had (also new to Revolution) Tech support suggested to me that I simply make my main stack the splash screen. Perhaps that will work for you, as well. >> A...that is exactly what I did and it did

Edit "on-the-fly"

2002-11-10 Thread Kurt Kaufman
Sarah wrote: "...I have been in the circumstance of needing to change control algorithms in the middle of an experiment and being able to edit the relevant stack and have the new algorithm running within minutes, without even shutting down the program..." That's pretty amazing, when you think abo

Re: Hiding A File From A Script

2002-11-10 Thread Bill Lynn
> You can hide a file on disk in OS X by putting a "." in front of the file > name: Thanks, Ken. Cheers... Bill Lynn ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Global /local variables

2002-11-10 Thread Ken Ray
Andre, For global commands, you have two choices: Inside handlers or outside. If you declare a global inside of a handler, each handler that wants to access that global needs to declare that same variable to get "access" to it. For example: on DoStuff1 global gVar put 10 into gVar end DoStuff

Re: Global /local variables

2002-11-10 Thread Sarah
Imagine you have a button, and in it's script you have several handlers: mouseUp, processData, doMoreStuff etc. If you put a local variable in the button's script but OUTSIDE any of the handlers - say on the first line - then all of these handlers can access the data stored in that variable. Ho

Re: Building "serious" scientific applications with RunRev...

2002-11-10 Thread Sarah
I have developed applications to communicate with various scientific instruments and chart the results. As someone mentioned, the speed of execution may be slightly reduced, but the speed of development and ease of modification makes a very powerful argument for Revolution. I have been in the c

URL lib

2002-11-10 Thread Andre Rombauts
Title: URL lib When using a command such as: delete URL "ftp://me:[EMAIL PROTECTED]/trash/" Can a user ‘read’ the username and password inside the standalone file?... André

Global /local variables

2002-11-10 Thread Andre Rombauts
I do not understand the real meaning of global and local variables in Revolution... The info about declaring variables outside a handler seems to be equal in both cases... :-( >From the Œlocal¹ entry in Revolution Help system: >You can also use the local command in a script, outside any handlers i

Re: Sockets

2002-11-10 Thread Ken Ray
Actually, Freaky, but there are a number of ways you can get it - I have some examples that get the MAC address at my site for OS 9, X and Win32, but you can adjust them slightly to get the IP address of the current machine. You can see it at: http://www.sonsothunder.com/devres/revolution/revolu

RE: Sockets

2002-11-10 Thread Gary Rathbone
Perhaps a slightly different slant but I beleive the IP address of any computer is 127.0.0.1 as well as the given IP number (either statically or dynamically assigned). This is what I use in development (for Rev, Dreamweaver, IIS etc) and it works fine. I guess it depends on what your trying to do

Re: Hide A File From A Script

2002-11-10 Thread Ken Ray
You can hide a file on disk in OS X by putting a "." in front of the file name: on HideAFile pFilePath put pFilePath into tDestPath set the itemDel to "/" put last item of pFilePath into tFileName put "." & tFileName into last item of tDestPath rename pFilePath to tDestPath end HideAFile

Re: Sockets

2002-11-10 Thread FreakyPhoenix >
I don't believe that is possible. Your computer just won't find your own IP.   FreakyPhoenix >From: Manolo Garrido <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: Sockets >Date: Thu, 07 Nov 2002 17:01:00 +0100 > > >Does anyone knows if it's possible to dev

Re: Player Object problem

2002-11-10 Thread Ken Ray
The Player object is a little finicky because it is Quicktime that is managing it (for the most part), not Rev. I have found that if you use "send" to allow the current handler to finish, you get better results. You've done this yourself with a button and a mouseUp handler, but you could do the sam

Re: Constraining the pointer within a group

2002-11-10 Thread Ken Ray
The other possibility is that you'll get a mouseRelease when the mouse comes up outside the hit area of the button. You could check the location of the mouse at that time, and if it's within a few pixels of the original target, you could run your "hit" code anyway.. Just my $0.03*, Ken Ray Sons o

Re: Menu problem

2002-11-10 Thread Robert Presender
On Sunday, November 10, 2002, at 08:39 AM, Richard Gaskin wrote: Robert Presender wrote: I have a menubar with several btn menus as pulldown: one of the menus has several items: New Trans - Sort - I would like to have the Sort item to be cascading(?) Put this in your menu button contents:

Re: Hide A File From A Script

2002-11-10 Thread Bill Lynn
>> I'm looking for a way to hide a text file on disk from a script. Can this be >> done using Transcript? If not, is it possible to do with AppleScript? > Are we talking OS X, OS 9 or both? Good point, Ken. Both. Cheers... Bill Lynn ___ use-revoluti

Re: How do I make standalone database save it's data?

2002-11-10 Thread Mark Swindell
on 11/10/02 6:35 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > Thanks..and yes I did read that section and that small (but troublesome) > disclaimer line. > Basically my whole app is written as a main stack. I tried writing another > small app to just "call" the main stack, which I moved in

Player Object problem

2002-11-10 Thread Barry Levine
I have a few Player Objects in my stack that contain QT movies. I have no problem triggering the playing of the movies at the appropriate times. However, I do have a problem getting the movies to maintain the display of their last frames or even to set them to the last frames via Transcript. Th

RE: RTF Reader in Rev

2002-11-10 Thread David Wilkinson
Roger Just a suggestion: There is an excellent open source Word compatible WP - Abiword (http:\\www.abisource.com) - reads, writes and prints Word Docs runs on GNU/Linux, BSD, Solaris (2.6, 7,8,9), AIX, HP/UX (10.20, 11.0), OSF/1, Tru64, Mac OS X,QNX,BeOS oh and I nearly forgot Windows. P

Player Object problem

2002-11-10 Thread Barry Levine
I have a few Player Objects in my stack that contain QT movies. I have no problem triggering the playing of the movies at the appropriate times. However, I do have a problem getting the movies to maintain the display of their last frames or even to set them to the last frames via Transcript. Th

Re: How do I make standalone database save it's data?

2002-11-10 Thread Jimw1956
In a message dated 11/10/02 3:58:03 AM, [EMAIL PROTECTED] writes: << What this means is that when building your stand-alone application, you will have to put the substacks in a separate folder. So basically, you can't write 'self-modifying' executables ; your data stacks will have to remain sepa

RE: Constraining the pointer within a group

2002-11-10 Thread Gary Rathbone
I've had a similar problem with 'Adult returners', who, in the act of clicking, moved the mouse outside the boundary of the button. Depending on the layout of the screen constraining the mouse might not solve the problem as the 'mousedown' may be in one button area and the 'mouseup' (after moving)

Constraining the pointer within a group

2002-11-10 Thread DVGlasgow
I have been working on assessment tools for people with learning disabilities. Sometimes they also have motor skills problems. I ask them to rate something using a scale made up of adjacent buttons which behave like radio buttons, but offers a bigger target. Sometimes the act of clicking by

Re: XML-RPC Support?

2002-11-10 Thread Jan Schenkel
--- Dan Shafer <[EMAIL PROTECTED]> wrote: > Has anyone developed any libraries or tools for > doing XML-RPC from RR? > Hi Dan, RunRev 2.0 sports a great SOAP-toolbox, if that's what you're looking for. [Thanks for that gem, Dave] If it's a different protocol, I'm sure it's not too hard to build,

Re: How do I make standalone database save it's data?

2002-11-10 Thread Jan Schenkel
--- [EMAIL PROTECTED] wrote: > I am new to Revolution. I managed to create a > simple database application to > keep a database of videotapes at a local tv station > where I work. Everything > works just like I want except for one small > detail...I can't figure out how > to save the updated d