Re: Goings on behind the scene

2003-07-01 Thread Howard Bornstein
>Actually what I find to be the most use shortcut is > >command-control-shift (on the Mac.) Actually, I believe you only need to control-click to get the same context menu. Howard Bornstein D E S I G N E Q www.designeq.com ___

Re: Another Script Editing Tip

2003-07-01 Thread Howard Bornstein
>there is a similar handler in the Winkler/ >De Voto book using mouseUp. this works for >me in 1.1 I tended not to use mouseup since that handler is used in so many objects and then you'd always have to add a "pass mouseup" statement to your handlers. I found I used mousewithin much less frequen

Re: Another Script Editing Tip

2003-07-01 Thread Howard Bornstein
> >Can't tell you why, but according to the MC docs, mouseWithin is yet another >inefficient handler to be avoided. Perhaps since they are urging a movement away from mousewithin to mousemove, that the mousemove message gets passed up the hierarchy and mousewithin is now not passed. In any case,

Re: newbies

2003-07-01 Thread Igor Couto
Hey, Erik! On Tuesday, July 1, 2003, at 09:29 AM, erik hansen wrote: if it makes you feel any better, i have no idea what a "popup in a field" is! *hehehehehe* I read about 'popups' when I was going through all the different types of user interface elements Revolution has to offer. However, I h

OT: mp3 vs mp4

2003-07-01 Thread Sannyasin Sivakatirswami
Does anyone know about the merits/problems of encoding audio for internet delivery as mp4 (presumably smaller files and better quality) vs sticking with mp3? One issue we know of is that RealOne Player will play mp3 files now (their own .ra codec is really no longer needed) but perhaps .mp4 fil

RE: Speech synthesis on Windows

2003-07-01 Thread Chipp Walters
Hi Barry, I'm pretty sure there isn't a ubiquitous solution for Speech on Windowsv via RunRev. I checked around last night and found out they're shipping the SAPI 5.1 now with new WinXP, and RunRev Speech doesn't work with SAPI 5.1. In fact, it's a bit confusing even trying to find out what versio

Re: Goings on behind the scene

2003-07-01 Thread Jim Hurley
--__--__-- Message: 5 Date: Wed, 2 Jul 2003 08:35:51 +1000 Subject: Re: Goings on behind the scene From: Sarah <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] P.S. Scott: Check out Run Rev preferences. Under "general" there is the shortcut: "Command-Option edits scripts" T

Re: cr and return

2003-07-01 Thread erik hansen
--- Richard Gaskin <[EMAIL PROTECTED]> wrote: > erik hansen wrote: > > > so, there are no cross platform problems > > with using either return or cr? > > Only when a file has been opened for binary > read/write. It's not > necessarily a problem, but if you're writing a > text file to be read by

Re: cr and return

2003-07-01 Thread erik hansen
--- Dar Scott <[EMAIL PROTECTED]> wrote: > > On Tuesday, July 1, 2003, at 06:32 PM, erik > hansen wrote: > > > so, there are no cross platform problems > > with using either return or cr? > > Only cross programmer problems. > > A new programmer might read over some code for > serial or tcp/ip

Re: cr and return

2003-07-01 Thread erik hansen
--- Dar Scott <[EMAIL PROTECTED]> wrote: > > On Tuesday, July 1, 2003, at 06:15 PM, erik > hansen wrote: > > > isn't a return a carriage return and... > > a form feed? crIsReturn() in all cases? > > The Revolution formFeed is the ASCII form feed > and is distinct from the > others. > The Revol

Re: cr and return

2003-07-01 Thread Dar Scott
On Tuesday, July 1, 2003, at 06:32 PM, erik hansen wrote: so, there are no cross platform problems with using either return or cr? Only cross programmer problems. A new programmer might read over some code for serial or tcp/ip I/O several times before realizing the CR in the script should be cha

Re: cr and return

2003-07-01 Thread erik hansen
--- Dar Scott <[EMAIL PROTECTED]> wrote: > > On Tuesday, July 1, 2003, at 06:15 PM, erik > hansen wrote: > > > isn't a return a carriage return and... > > a form feed? crIsReturn() in all cases? > > The Revolution formFeed is the ASCII form feed > and is distinct from the > others. > The Revol

Re: cr and return

2003-07-01 Thread Richard Gaskin
erik hansen wrote: > so, there are no cross platform problems > with using either return or cr? Only when a file has been opened for binary read/write. It's not necessarily a problem, but if you're writing a text file to be read by another program you'll probably want to open the file in the def

Re: cr and return

2003-07-01 Thread Dar Scott
On Tuesday, July 1, 2003, at 06:15 PM, erik hansen wrote: isn't a return a carriage return and... a form feed? crIsReturn() in all cases? The Revolution formFeed is the ASCII form feed and is distinct from the others. The Revolution LF (new) is the ASCII line feed. The Revolution CR is not the A

Re: cr and return

2003-07-01 Thread erik hansen
--- Richard Gaskin [EMAIL PROTECTED]> > > wrote: > > replace "ARBITRARY_DELETE_FLAG"&cr \ > > with empty in tList --- > > isn't a return a carriage return and... > > a form feed? --- > Internally, "cr" and "return" both signify the > Unix line ending (ASCII 10, > or linefeed). Macs use ASCII 13,

Re: cr and return

2003-07-01 Thread Richard Gaskin
erik hansen wrote: > --- Richard Gaskin <[EMAIL PROTECTED]> > wrote: > > replace "ARBITRARY_DELETE_FLAG"&cr \ > with empty in tList > > --- > > isn't a return a carriage return and... > a form feed? Internally, "cr" and "return" both signify the Unix line ending (ASCII 10, or linefeed). Macs

cr and return

2003-07-01 Thread erik hansen
--- Richard Gaskin <[EMAIL PROTECTED]> wrote: replace "ARBITRARY_DELETE_FLAG"&cr \ with empty in tList --- isn't a return a carriage return and... a form feed? crIsReturn() in all cases? function crIsReturn return (cr = return) end crIsReturn = [EMAIL PROTECTED]http://www.erikhans

Re: Another Script Editing Tip

2003-07-01 Thread erik hansen
--- Dar Scott <[EMAIL PROTECTED]> wrote: > > this is the first instance of a handler name > > using chars other than numbers, letters, > > and "_" that i have seen. more wonders. > > There are a handful of characters that will > 'work'. > > For a little while I used ? at the end of the > names o

Speech synthesis on Windows

2003-07-01 Thread Barry Levine
I've used Macintalk within Rev to make my Mac speak phrases I have in fields (not user entered but static). How can I do this on a Windows PC without requiring some special hardware? Is there any "standard minimum configuration" that might be valid to spec? If I have to include real AIFF files

Re: Another Script Editing Tip

2003-07-01 Thread Dar Scott
On Tuesday, July 1, 2003, at 03:23 PM, erik hansen wrote: this is the first instance of a handler name using chars other than numbers, letters, and "_" that i have seen. more wonders. There are a handful of characters that will 'work'. For a little while I used ? at the end of the names of functi

Re: Goings on behind the scene

2003-07-01 Thread Scott Rossi
Recently, "Jim Hurley" wrote: > Scott: Check out Run Rev preferences. Under "general" there is > the shortcut: "Command-Option edits scripts" This work when the > browse tool is over any control--but not for the card. Thanks for the tip! (I don't believe this exists in MC but could be wrong...)

Re: Goings on behind the scene

2003-07-01 Thread Sarah
P.S. Scott: Check out Run Rev preferences. Under "general" there is the shortcut: "Command-Option edits scripts" This work when the browse tool is over any control--but not for the card. Well it almost always works, but not every time :-( For the card, I always use Command-Shift-C and for the st

Goings on behind the scene

2003-07-01 Thread Jim Hurley
I had a button with the following handler.: on mouseEnter beep end mouseEnter Sure enough, it beeped every time the mouse entered. But I left RR to respond to an incoming email. I noticed while in Eudora that I was getting occasional beeps, every time the mouse entered a certain area. I finall

Re: Table Fun

2003-07-01 Thread Sarah
Hi Chris, Good stack, I can see I'm going to find it useful. I made a slight tweak that makes your table field respond to mouse clicks by displaying all the cRevTable properties. In the table field's script, I put this handler: on mouseDown send "showCustomSetValues" to this card in 20 millise

Re: Another Script Editing Tip

2003-07-01 Thread Scott Rossi
Recently, "Howard Bornstein" wrote: > I had this script in my home stack: > > on mousewithin > global currentTarget > put the target into currenttarget > if currenttarget contains "field" then > if the commandkey is down and the shiftkey is down then > set locktext of currenttarget to not

Re: Another Script Editing Tip

2003-07-01 Thread erik hansen
--- Howard Bornstein <[EMAIL PROTECTED]> wrote: > to lock and unlock a text field. > I had this script in my home stack: > > on mousewithin > global currentTarget > put the target into currenttarget > if currenttarget contains "field" then > if the commandkey is down and the shiftkey >

Re: Some basic questions about fld tables

2003-07-01 Thread Sarah
Don't forget that when getting items from a table field, you must first set the itemDelimiter to tab. Cheers, Sarah On Wednesday, July 2, 2003, at 02:45 am, Edwin Gore wrote: Now that you have Richard's explaination of how to set up a field, here are the specific answers to you questions Hell

Re: Another Script Editing Tip

2003-07-01 Thread Howard Bornstein
>When looking for ways to make script editing more convenient, I found the >following to be a simple and easy method which (best of all) allows me to >keep the browse tool active -- no need to switch to the pointer tool. This reminds me of another trick I used to use all the time in HyperCard to

Re: card names (& labels)

2003-07-01 Thread erik hansen
--- Jan Schenkel <[EMAIL PROTECTED]> wrote: > --- Nicholas Thieberger wrote: > > It appears that card names cannot be digits > but must > > include an > > alphabetic character, is that right? I have > to name > > cards according > > to external filenames which can be entirely > numeric, > > and

Re: Another Script Editing Tip

2003-07-01 Thread erik hansen
this is the first instance of a handler name using chars other than numbers, letters, and "_" that i have seen. more wonders. --- Scott Rossi <[EMAIL PROTECTED]> wrote: > When looking for ways to make script editing > more convenient, I found the > following to be a simple and easy method which

Re: newbies

2003-07-01 Thread erik hansen
--- Jan Schenkel <[EMAIL PROTECTED]> wrote: > > Igor, > > if it makes you feel any better, > > i have no idea what a "popup in a field" is! > > > > after seeing the news about conventions, > > reviews, word of mouth, etc. it seems that > > a newbie friendly atmosphere, like this list, > > is a c

Another Script Editing Tip

2003-07-01 Thread Scott Rossi
When looking for ways to make script editing more convenient, I found the following to be a simple and easy method which (best of all) allows me to keep the browse tool active -- no need to switch to the pointer tool. Place the following in the stack script: on editScript? if the optionKey is "

Re: Huge stack bloat...

2003-07-01 Thread Dar Scott
On Tuesday, July 1, 2003, at 04:15 PM, Edwin Gore wrote: Whejn you clone a card is it acually making new copies of all the objects on that card - INCLUDING BACKGROUNDS?!?! Oh. Backgrounds. Rats. Dar ___ use-revolution mailing list [EMAIL PROTECTED]

Re: Some basic questions about fld tables

2003-07-01 Thread François Cuneo
> François Cuneo wrote: > >> I have problems with Fields like Table. >> How is it possible to put text into cell 1/3 (row 1 col 3) >> How is it possible to read something in a cell (the same by example)? >> How is it possible to say "put "taratata" into the first row empty in the >> table"? >> If

Table Fun

2003-07-01 Thread HyperChris
I decided to finally cut the chord with HC and get with Revolution. I started to bang out my little project and saw this nifty little Table option in the Inspector. Oh boy...I have always wanted this! I played with it for 20 minutes, went through the documentation for 30 minutes, dowloaded the 45MB

RE: Re: Huge stack bloat...

2003-07-01 Thread Edwin Gore
>Not really. It's quite a timesaver when, as you >say, one is feeling lazy >(you could substitute the word "productive" here) >and doesn't want to go >through the hassle of copying all elements from one >card to another. Ah well, I have paid for my laziness...it took my about 4 minutes to move ev

Re: Huge stack bloat...

2003-07-01 Thread Scott Rossi
Recently, "Edwin Gore" wrote: > Okay...so, does cloning a card work VERY differently than creating a new card? Yes -- cloning includes all card elements on the current card. Creating a new card creates an empty card. > I ask because I have a stack where in a previous version I was using creat

Huge stack bloat...

2003-07-01 Thread Edwin Gore
Okay...so, does cloning a card work VERY differently than creating a new card? I ask because I have a stack where in a previous version I was using create card, but then I put in some card scripts, which I wanted to have included in new cards based on a template card. I was lazy, and didn't want

Re: revDataFromQuery - list of columns

2003-07-01 Thread Chris Sheffield
revSetSQLOfQuery "pl_tm_id_query", tSQLQuery Can someone tell me where these commands and functions are documented? I can't seem to find them. I've seen other posts with similar actions for modifying data in a Database Query Builder query, but I have no idea exactly how to use them. Can someone

Re: More send in time

2003-07-01 Thread Dar Scott
Some of the strange code with mod in this discussion is to compensate for the, uh, interesting behavior of the Revolution mod function with negative numbers. If one's application elsewhere just happened to use knuthMod(), defined on page 38 of _Fundamental Algorithms_, then the math would be si

Re: More send in time

2003-07-01 Thread Cubist
sez [EMAIL PROTECTED]: >Howdy Cubist, >This is the core changes you made: > >> if within(graphic "upScrollArea", mouseLoc()) then >> set the vScroll of fld 1 to ((the vScroll of fld 1) + 1343) mod 1345 >> else if within(graphic "downScrollArea", mouseLoc()) then >> set the vScroll of fld 1 to ((the

Re: mac OS X package

2003-07-01 Thread Thierry Arbellot
On Tuesday, Jul 1, 2003, at 19:37 Europe/Paris, Yves COPPE wrote: Le mardi, 1 juil 2003, à 19:19 Europe/Brussels, Thierry Arbellot a écrit : Point 1 and 3 were already addressed in the list. 1. open the stack "revdistributionbuilder.rev", it's located in the Revolution folder (components/tools)

Re: More send in time

2003-07-01 Thread Scott Rossi
Recently, "Ken Norris" wrote: > If this: > >>> if the mouse is up then exit endlessScroller > > ...polls the mouse state, then why doesn't this: > >> set the uAllowScroll of me to true > > ...poll the state of "uAllowScroll of me" in the same way? The first example polls the physical hardwar

Re: mac OS X package

2003-07-01 Thread Yves COPPE
Le mardi, 1 juil 2003, à 19:19 Europe/Brussels, Thierry Arbellot a écrit : Point 1 and 3 were already addressed in the list. 1. open the stack "revdistributionbuilder.rev", it's located in the Revolution folder (components/tools). Modify the stack size and save it (may be do a backup copy before

Re: More send in time

2003-07-01 Thread Jan Schenkel
--- Ken Norris <[EMAIL PROTECTED]> wrote: > Hello Scott, > > > Date: Tue, 01 Jul 2003 00:25:48 -0700 > > Subject: Re: More send in time > > From: Scott Rossi <[EMAIL PROTECTED]> > > If this: > > >> if the mouse is up then exit endlessScroller > > ...polls the mouse state, then why doesn't this:

Re: how to write text file to root of HD

2003-07-01 Thread Edwin Gore
You are going to run into lots of cross platform problems witht he code below. On windows, for example, it will try to write to "\A:", which is probably not what you are after. I don't have a Mac handy, but I'm guessing that it's probably going to do something weird there as well. If what you a

Re: More send in time

2003-07-01 Thread Dar Scott
I'm babbling on, but I wanted to add one more thing about using send. From these examples and from most I've seen on this list including mine, one can get the impression that send is useful only for repeated execution, a sort of glorified idle. However, send can be used to build timeouts, dela

Re: Speaking of voices

2003-07-01 Thread Jim Hurley
Message: 8 Date: Sun, 29 Jun 2003 20:41:55 -0400 Subject: Re: Speaking of voices From: Ken Norris <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Hi Jim, Date: Sun, 29 Jun 2003 16:18:04 -0700 From: Jim Hurley Subject: Speaking of voices snip on mouseUP revsetspeechVoi

Re: More send in time

2003-07-01 Thread Dar Scott
On Monday, June 30, 2003, at 09:16 PM, Ken Norris wrote: I took the basic premise I started from, then sliced off bits and pieces of the posted scripts, reassembled them, refactored and hopefully reduced it. I'm glad you are able to get into this. I would like to point out to all that Jan's exa

Re: More send in time

2003-07-01 Thread Ken Norris
Hello Scott, > Date: Tue, 01 Jul 2003 00:25:48 -0700 > Subject: Re: More send in time > From: Scott Rossi <[EMAIL PROTECTED]> If this: >> if the mouse is up then exit endlessScroller ...polls the mouse state, then why doesn't this: > set the uAllowScroll of me to true ...poll the state of "uA

Re: Some basic questions about fld tables

2003-07-01 Thread Richard Gaskin
François Cuneo wrote: > I have problems with Fields like Table. > How is it possible to put text into cell 1/3 (row 1 col 3) > How is it possible to read something in a cell (the same by example)? > How is it possible to say "put "taratata" into the first row empty in the > table"? > If you have o

Re: how to write text file to root of HD

2003-07-01 Thread Richard Gaskin
[EMAIL PROTECTED] wrote: > I'm having a rough time trying to get Revolution to write a text file to the > root of the user's hard-drive. Wouldn't it be something like this? > > put "\" & line 1 of the volumes & "\filetowrite.txt" into filetowrite > > open filetowrite for write > write "test" t

mac OS X package

2003-07-01 Thread Yves COPPE
I've 3 problems with Building apps for Mac OS X with Rev 2.0 1) when i ask the build stack, this is two small, I don't have access to the button at the bottom of the window 2) When I build an app, then ask show contents of the packages, where are the substacks files ? 3) I've chosen an ic

Some basic questions about fld tables

2003-07-01 Thread François Cuneo
Hello! I have problems with Fields like Table. How is it possible to put text into cell 1/3 (row 1 col 3) How is it possible to read something in a cell (the same by example)? How is it possible to say "put "taratata" into the first row empty in the table"? If you have one answer to all these quest

how to write text file to root of HD

2003-07-01 Thread RGould8
I'm having a rough time trying to get Revolution to write a text file to the root of the user's hard-drive.  Wouldn't it be something like this? put "\" & line 1 of the volumes & "\filetowrite.txt" into filetowrite open filetowrite for write write "test" to file filetowrite close file filetowrit

Re: Cool word (sort of OT)

2003-07-01 Thread Mark Brownell
On Monday, June 30, 2003, at 09:25 PM, Ken Norris wrote: Say Monte... I really like your word: diggerence Sounds like an Australian cross between digging and difference, as in a difference with deeper significance. Ken N. That sounds about right, but what about the meaning among different itera

Re: Fastest way to delete non-contiguous lines in list field

2003-07-01 Thread Richard Gaskin
Jan Schenkel wrote: What's the fastest way to delete non-contiguous lines in a list field? These lines would be listed in the "hilitedLines". >> ... > *sniffles* that's the second time in as many days that > 'repeat for each' has betrayed me. *sobs* 'repeat for each' seems to rema

Re: card names

2003-07-01 Thread Jan Schenkel
--- Nicholas Thieberger wrote: > It appears that card names cannot be digits but must > include an > alphabetic character, is that right? I have to name > cards according > to external filenames which can be entirely numeric, > and when I try > go cd NAME or go cd "NAME" it doesn't work, but go

card names

2003-07-01 Thread Nicholas Thieberger
It appears that card names cannot be digits but must include an alphabetic character, is that right? I have to name cards according to external filenames which can be entirely numeric, and when I try go cd NAME or go cd "NAME" it doesn't work, but go cd NAMEa does work (if I rename the card).

Re: revDataFromQuery - list of columns

2003-07-01 Thread Jan Schenkel
--- Jez <[EMAIL PROTECTED]> wrote: > I'm accessing an Access database via ODBC. How come > I can do this: > put revDataFromQuery(,,db_id,"select * from pl where > pl_team_id = > :1","tm_id") into field "Players" > > but I cant replace the * with a list of columns. > When I do this: > > put revDat

Re: Fastest way to delete non-contiguous lines in list field

2003-07-01 Thread Jan Schenkel
--- Richard Gaskin <[EMAIL PROTECTED]> wrote: > Jan Schenkel wrote: > > >> Hi all, > >> > >> What's the fastest way to delete non-contiguous > >> lines in a list field? These > >> lines would be listed in the "hilitedLines". > ... > > Your problem would be that you have to either keep > > track o

Re: More send in time

2003-07-01 Thread Cubist
sez [EMAIL PROTECTED]: >What I came up with is this base to work from. It works great and seems very >stable. It's a scrolling field with upper and lower sections covered by >translucent graphics and an open box across the center (where the eventual >selection will take place). It has a few repeate

Re: Changing properties won't work

2003-07-01 Thread Ken Norris
Hello Jan, > Date: Mon, 30 Jun 2003 21:23:46 -0700 (PDT) > From: Jan Schenkel <[EMAIL PROTECTED]> > Subject: Re: Changing properties won't work > Since you can add new things, I don't think the > cantModify of the stack is true. A few questions : > - can you make the changes via the message box

Re: More send in time

2003-07-01 Thread Ken Norris
Hi Rob, Please let me back up here: > These two lines of your script defeat my purpose for using the 'send in > time' construct, because they still use 'the mouse', which I'm trying to > avoid: > -- >> if the mouse is up then exit checkScroll >> if the mouse is within graphic 1 then -

Re: More send in time

2003-07-01 Thread Scott Rossi
Recently, Ken Norris wrote: > I took the basic premise I started from, then sliced off bits and pieces of > the posted scripts, reassembled them, refactored and hopefully reduced it. > > What I came up with is this base to work from. It works great and seems very > stable. It's a scrolling field

Cool word (sort of OT)

2003-07-01 Thread Ken Norris
Say Monte... I really like your word: > diggerence Sounds like an Australian cross between digging and difference, as in a difference with deeper significance. Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/li

revDataFromQuery - list of columns

2003-07-01 Thread Jez
I'm accessing an Access database via ODBC. How come I can do this: put revDataFromQuery(,,db_id,"select * from pl where pl_team_id = :1","tm_id") into field "Players" but I cant replace the * with a list of columns. When I do this: put revDataFromQuery(,,db_id,"select pl_id,pl_name,pl_desc from p