Re: Strip

2002-07-10 Thread Yves Coppé
>Bonsoir Yves, > >try this > >... >put fld "myData" into tData > repeat for each line l in tData > if char -3 to -1 of l is not "(*)" then > put l & CR after cleanedup > end if > end repeat >put cleanedup into fld "tData" >... > >Is billion times faster than parsing the field and

Re: Strip

2002-07-10 Thread Dave Cragg
At 4:36 pm -0500 10/7/02, Ken Ray wrote: >Dave, > >How about a little shorter version: > > replace "(*)" & cr with cr in field x > if char -1 of field x is cr then delete char -1 of field x > >-- of course, this is only if one wants to remove a trailing cr... If the last line ends with "(*)",

Re: Strip

2002-07-10 Thread Ken Ray
Dave, How about a little shorter version: replace "(*)" & cr with cr in field x if char -1 of field x is cr then delete char -1 of field x -- of course, this is only if one wants to remove a trailing cr... Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonso

Re: Strip

2002-07-10 Thread Dave Cragg
At 3:57 pm +0200 10/7/02, Yves Coppé wrote: >Hi, > >I get a problem with filter command > >I have a fld with lines. >some lines end with "(*)" > >something like : >xxx xx xxx >xxx xxx (*) >xxx xx xxx >xxx xx (*) >xxx xx xxxX > > >I'd like to strip the "(*)" at the end of the lines

Re: sockets

2002-07-10 Thread Dar Scott
On Wednesday, July 10, 2002, at 01:41 PM, Larry Forsgren wrote: > Correct, server contains "mailsever:110". > I logged the results to a field but it came up empty. > The sysError is 0 which I don´t know what it means. > The actual code as it looks currently is below. > It does not matter if I ch

Put into URL

2002-07-10 Thread Kurt Kaufman
Mark, This is probably not the answer you were looking for, but you could check for the existence of an old rtf file first: if there is a file "my_mothers_nose.rtf" then delete file "my_mothers_nose.rtf" end if -before creating a new "my_mothers_nose.rtf". -Kurt _

Re: sockets

2002-07-10 Thread Shao Sean
> write "USER" && user to socket server try: write "USER" && user & CRLF to socket server remember you need to send the CRLF at the end of every command (just like SMTP).. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mai

Always on Top? And Disabling Stuff

2002-07-10 Thread Josh Dye
Hello, I made a stack, that opens up games, etc. It works, so I put it into a Standalone. I ran it, worked good (Except that the boxes are all White, anyone know why?) Then, when I exited the game, it went back to the normal windows desktop. Is there a "Always on Top" option at all? Also, is t

Re: sockets

2002-07-10 Thread Dar Scott
On Wednesday, July 10, 2002, at 01:28 PM, Larry Forsgren wrote:  > Unfortunately not. The mail server is on Unix (and I have tried a few > which give the same result) and the client is on Windows XP. I can open > the socket and read the welcome from the mail server but not access > the socket wit

sockets

2002-07-10 Thread Larry Forsgren
Correct, server contains "mailsever:110". I logged the results to a field but it came up empty. The sysError is 0 which I don´t know what it means. The actual code as it looks currently is below. It does not matter if I change to a different mail server.   on revPOP_connect  # Description.

Re: Send to finder

2002-07-10 Thread Rick Harrison
on 7/10/2002 12:59 PM, paolo mazza at [EMAIL PROTECTED] wrote: > How can I send a command "control+shift+3" to the finder? > > A kind of: > on MouseUp > send "control+shift+3" to program finder > end MouseUp > or > on MouseUp > send "control+shift+3" to program applescript > end MouseUp >

sockets

2002-07-10 Thread Larry Forsgren
Dar scott   Unfortunately not. The mail server is on Unix (and I have tried a few which give the same result) and the client is on Windows XP. I can open the socket and read the welcome from the mail server but not access the socket with any command after that. It times out and nothing else

Re: Export snapshots

2002-07-10 Thread Klaus Major
Hi Chipp, > on MouseUP >import snapshot from rect (rect of this stack) >export last image to URL "binfile:immagine1.jpg" as JPEG >delete image NUMIMM >choose browse tool > end MouseUP > > This is two lines shorter...and I believe will work. It will if you replace "delete image

RE: Export snapshots

2002-07-10 Thread Chipp Walters
on MouseUP import snapshot from rect (rect of this stack) export last image to URL "binfile:immagine1.jpg" as JPEG delete image NUMIMM choose browse tool end MouseUP This is two lines shorter...and I believe will work. ___ use-revoluti

Re: Strip

2002-07-10 Thread Klaus Major
Bonsoir Yves, > Hi, > > I get a problem with filter command > > I have a fld with lines. > some lines end with "(*)" > > something like : > xxx xx xxx > xxx xxx (*) > xxx xx xxx > xxx xx (*) > xxx xx xxxX > > > I'd like to strip the "(*)" at the end of the lines > > so I write > >

Re: The learning curve is the burning curve

2002-07-10 Thread Ken Ray
Ro, Here's a simple "send" script that puts the current time into a field: (I made this the script of a button, but you can change it to anything you like): on mouseUp send updateClock to me in 10 milliseconds end mouseUp on updateClock put the long time into field 1 send updateClock to

Strip

2002-07-10 Thread Yves Coppé
Hi, I get a problem with filter command I have a fld with lines. some lines end with "(*)" something like : xxx xx xxx xxx xxx (*) xxx xx xxx xxx xx (*) xxx xx xxxX I'd like to strip the "(*)" at the end of the lines so I write put fld "myData" into tData filter tData with ?

The learning curve is the burning curve

2002-07-10 Thread Ro Nagey
As if being unable to play a sound isn't embarrassing enough... I tried the "send" vs. "idle" example...called "updateClock"...watched the time get placed in the field...sat around...and nothing. Getting the feeling that I can't do anything right... Ro

RE: The sound of silence

2002-07-10 Thread Ro Nagey
Not running a QT moviejust trying to play a sound. Thanks. Ro > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Klaus Major > Sent: Wednesday, July 10, 2002 12:01 AM > To: [EMAIL PROTECTED] > Subject: Re: The sound of silence > > > Hi Ro and Ch

RE: The sound of silence

2002-07-10 Thread Ro Nagey
You can imagine how embarrassing it is to say "I can't play a sound"... Using Windows 98, I played the sound from the desktop, using WinAmp...works fine. I import the sound. Tried playing the sound. Nothing. Exited RunRev, restarted, and clicked the button...nothing. When I 'put the result' it gi

Re: The sound of silence

2002-07-10 Thread Scott Rossi
Recently, "Ro Nagey" wrote: > I imported a sound into my stack "curly.wav" > > There's a button that says: -- > on mouseup > play audioclip "curly.wav" > answer the result > end mouseup > > the result is random and increasing You might want to check the sampling/bit rate of the file as wel

Put into URL

2002-07-10 Thread Mark Mitchell
OK, I'm going to ask this question on the list one more time before I bug the poor folks at rev. On OSX, the command put "my mothers nose" into URL "file:xx" where the 'file' is an RTF file, creates a NEW RTF file with the content "my mothers nose" and retains the old RTF file with the pre

Re: Coerce number into numberFormatted integer--How?

2002-07-10 Thread Rob Cozens
>>So, we can see it *is* working.. But how to coerce the simple integer that >>is not a result of math into the dollar format... I *can* just "fake" a >>calculation put (1*tShipping) into tShipping. And that works, but, hoping >>not to have to be doing that in the long term, as one day someone els

Re: Coerce number into numberFormatted integer--How?

2002-07-10 Thread J. Landman Gay
On 7/10/02 1:58 AM, Sivakatirswami <[EMAIL PROTECTED]> wrote: > > But how to coerce the simple integer that > is not a result of math into the dollar format... I *can* just "fake" a > calculation put (1*tShipping) into tShipping. And that works, but, hoping > not to have to be doing that in the l

Send to finder

2002-07-10 Thread paolo mazza
How can I send a command "control+shift+3" to the finder? A kind of: on MouseUp send "control+shift+3" to program finder end MouseUp or on MouseUp send "control+shift+3" to program applescript end MouseUp I need this peace of script to open the program "Snapz Pro" from Rev and let this

Export snapshots

2002-07-10 Thread paolo mazza
I want to get from Rev a jpg file of the card on top of my application. After some attempts, I came up with this script (which it works): on MouseUP put the rect of this stack into FINESTRA import snapshot from rect FINESTRA put the number of images of this stack into NUMIMM export ima

Re: sockets

2002-07-10 Thread Dar Scott
On Tuesday, July 9, 2002, at 03:40 PM, Larry Forsgren wrote: > When trying to run the script again it fails until > I restart revolution. Any chance your mailserver is the same computer? And on Windows? If so, I may have run into something similar. Dar Scott

Re: numberFormat prop

2002-07-10 Thread Dar Scott
On Tuesday, July 9, 2002, at 02:58 PM, [EMAIL PROTECTED] wrote: > thats easy, fields do not have a numberFormat property. Ah, but maybe you can make one! And a number property, too, of course, to set and get the number. Add a few more handlers for events to handle input and (tah-dah) a nume

Re: Coerce number into numberFormatted integer--How?

2002-07-10 Thread Dar Scott
On Tuesday, July 9, 2002, at 11:47 PM, Sivakatirswami wrote: > So, we can see it *is* working.. But how to coerce the simple > integer that > is not a result of math into the dollar format... I *can* just "fake" a > calculation put (1*tShipping) into tShipping. And that works, but, > hoping >

Re: accept on multihomed computers

2002-07-10 Thread Dar Scott
On Tuesday, July 9, 2002, at 11:57 PM, Geoff Canyon wrote: > At 6:15 PM -0600 7/9/02, Dar Scott wrote: >> Let's see. RunRev HQ is NE of my house. And my house is about >> NW of RunRev HQ. How can that be? > > It's possible for RunRev HQ to be exactly NE of you, _and_ for you > to be exactly

Re: Drag and drop file from Finder in a field?

2002-07-10 Thread John Roos
> John Roos wrote: >> I was wondering if it is possible in Revolution to drag and drop a file from >> the Finder onto a field in a stack after which the contents of the field are >> set to the full path of the file dropped onto it. I'm working with OS X. >> Thanks - John >> > > Download the exte

Re: Drag and drop file from Finder in a field?

2002-07-10 Thread Ludovic Thebault
John Roos wrote: > I was wondering if it is possible in Revolution to drag and drop a file from > the Finder onto a field in a stack after which the contents of the field are > set to the full path of the file dropped onto it. I'm working with OS X. > Thanks - John > Download the external collec

Drag and drop file from Finder in a field?

2002-07-10 Thread John Roos
I was wondering if it is possible in Revolution to drag and drop a file from the Finder onto a field in a stack after which the contents of the field are set to the full path of the file dropped onto it. I'm working with OS X. Thanks - John ___ use-revo

Re: Functionkey

2002-07-10 Thread Karl Petersen
At 4:11 PM -0700 7/9/02, Larry Litton wrote: >I have a simple script that doesn't seem to work in OSX! I'm using >the "Functionkey" function to intercept the function keys. I use a >group of 60 cards to allow outputting up to 32000+ characters >depending on the function key pushed. If the F1

Re: Using XCMDs/XCFNs in Revolution

2002-07-10 Thread David Vaughan
On Wednesday, July 10, 2002, at 08:20 , John Roos wrote: > I've used HyperCard a lot in the past, and have recently started working > with Revolution. In my HyperCard stacks, I've used a lot of > XCMDs/XCFNs, and > I would like to keep using them. John This does not directly answer your quest

script editor @\[ ] on non-english keyboard

2002-07-10 Thread peter . fink
- I cant type the following characters in the script editor. In a text field however (and elsewhere) it works. @ \ | [ ] { } these characters have to be typed locally with the Alt Gr modifier, or with ctrl+alt. - Additionally, pressing Alt Gr opens the script editor (seemingly half the time

Re: Icon Editor in Rev

2002-07-10 Thread Bruce Lewis
Jeanne, Can I turn off the throbbing in the box that appears in the stack window. It is torture. Bruce > >Is the magnify window adequate for this? (Set the image's magnify to true.) > >-- >Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] >Runtime Revolution Limited - The Solution for Software Developmen

Using XCMDs/XCFNs in Revolution

2002-07-10 Thread John Roos
I've used HyperCard a lot in the past, and have recently started working with Revolution. In my HyperCard stacks, I've used a lot of XCMDs/XCFNs, and I would like to keep using them. However, I haven't been able yet to get them to work. What I've done so far is create a main stack in Revolution an

Re: The sound of silence

2002-07-10 Thread Klaus Major
Hi Ro and Chipp, this is an excerpt from a conversation i had with Mr. Scott Raney, concerning "play ac..." an players... It may help... > > 2. (windows only) > One cannot use quicktime(-players) and "play ac xxx" together. > Of course not together at the same time but you can't mix them. > Mu

RE: The sound of silence

2002-07-10 Thread Chipp Walters
play audioclip "curly.wav" works for me. Are you sure the name of the clip is "curly.wav" Use the Application Overview to check. Speakers plugged in ;-) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Ro Nagey > Sent: Tuesday, July 09, 2002 8:26

The sound of silence

2002-07-10 Thread Ro Nagey
OK, being the moron I am, I am having trouble deciphering how to play a sound. I imported a sound into my stack "curly.wav" There's a button that says: -- on mouseup play audioclip "curly.wav" answer the result end mouseup the result is random and increasing I can create a playercontrol

RE: numberFormat prop

2002-07-10 Thread peter . fink
> >Rob, > >>> Anybody know how to set the decimal precision of a numeric value? I have >>> looked through the docs but I can't seem to find the reference. >> >> Hi Steve, >> >> Did you check the numberFormat property? > thats easy, fields do not have a numberFormat property. It works as follow