Re: Rev's popup buttons lock me out

2002-10-15 Thread Dan Shafer
At 12:09 AM -0400 10/15/02, Sim Forster wrote: Using Revolution, once I've got one of the popup menus showing - typically in the Transcript Dictionary, I'm unable to apply focus to any other element. What I have to do is bring another application to the foreground and then return to Revolution.

get specialFolderpath(26)

2002-10-15 Thread sims
Can anyone tell me if the function: get specialFolderpath(26) -- user's Application Data folder works on all versions of Windows? I can use it here with my Mac running VirtualPC Windows 98 but have no PC to test with otherwise... Does it work with 95 - 98 - etc.? Is there a problem using it

error at left operand?

2002-10-15 Thread Esa Kivelä
I have code: on idle set the itemdel to , put item 1 of field huu + item 1 of field buu + item 1 of field suu into field 28 end idle and I get error message: * There was an Execution Error at 10:58:55 AM Error description: Operators +: error in left operand Object: field id 1066 of

Re: libUrlFtpCommand not working?

2002-10-15 Thread Dave Cragg
At 7:03 pm -1000 14/10/02, Sannyasin Sivakatirswami wrote: Goal: be able to move a file from one directory to another under ftp control with FTP command mv so, we try to take the new libURL syntax for a walk (thank you Dave Cragg!) get libUrlFtpCommand(PWD,myDomain.org,myLogInName,myPassword)

Popup Menu - Show on mouse over

2002-10-15 Thread Simon Forster
I'm struggling to get to grips with RunRev's syntax. The simple example I've set myself is to show the contents of a popup menu on mouse over. I have the menu button and, on clicking it, it shows the menu content. To do the same on mouse over, I'm using the objects on mouse enter function.

Repeatloop in mouseDown handler wont end

2002-10-15 Thread Michael Kristensen
Hi all There is a very annoying bug that show itself in both my own stacks and in Revolutions UI. Its in mouseDown handlers with a repeatloop like this: on mouseDown --script repeat while the mouse is down --script end repeat end mouseDown In appr. 1 out of 5 times the repeatloop

Re: error at left operand?

2002-10-15 Thread Richard Gaskin
Esa Kivelä wrote: I have code: on idle set the itemdel to , put item 1 of field huu + item 1 of field buu + item 1 of field suu into field 28 end idle and I get error message: * There was an Execution Error at 10:58:55 AM Error description: Operators +: error in left operand

VS: error at left operand?

2002-10-15 Thread Esa Kivelä
-Alkuperäinen viesti- Lähettäjä: Richard Gaskin [mailto:[EMAIL PROTECTED]] Lähetetty: 15. lokakuuta 2002 12:05 Vastaanottaja: [EMAIL PROTECTED] Aihe: Re: error at left operand? Esa Kivelä wrote: I have code: on idle set the itemdel to , put item 1 of field huu +

VS: error at left operand?

2002-10-15 Thread Esa Kivelä
-Alkuperäinen viesti- Lähettäjä: Richard Gaskin [mailto:[EMAIL PROTECTED]] Lähetetty: 15. lokakuuta 2002 12:05 Vastaanottaja: [EMAIL PROTECTED] Aihe: Re: error at left operand? Esa Kivelä wrote: I have code: on idle set the itemdel to , put item 1 of field huu +

Re: Repeatloop in mouseDown handler wont end

2002-10-15 Thread Jan Schenkel
--- Michael Kristensen [EMAIL PROTECTED] wrote: Hi all There is a very annoying bug that show itself in both my own stacks and in Revolutions UI. Its in mouseDown handlers with a repeatloop like this: on mouseDown --script repeat while the mouse is down --script end

Re: Popup Menu - Show on mouse over

2002-10-15 Thread Jan Schenkel
--- Simon Forster [EMAIL PROTECTED] wrote: I'm struggling to get to grips with RunRev's syntax. The simple example I've set myself is to show the contents of a popup menu on mouse over. I have the menu button and, on clicking it, it shows the menu content. To do the same on mouse over,

Re: get specialFolderpath(26)

2002-10-15 Thread Jan Schenkel
--- sims [EMAIL PROTECTED] wrote: Can anyone tell me if the function: get specialFolderpath(26) -- user's Application Data folder works on all versions of Windows? I can use it here with my Mac running VirtualPC Windows 98 but have no PC to test with otherwise... Does it work

three problems when manipulating graphics

2002-10-15 Thread Philippe PEZARD
I'm trying to convert a stack from hypercard to revolution and I meet some problems. Is there somebody to help me ? 1°) I'm surprising to see that coordinates of pixels on a card begin at -3, -25 (top left) and end approximatively at 600,400 (bottom,right) in a stack defined with 600 * 400

Re: Rev's popup buttons lock me out

2002-10-15 Thread Bill Vlahos
This is fixed in the next version of Rev. Bill On Monday, October 14, 2002, at 11:48 PM, Dan Shafer wrote: At 12:09 AM -0400 10/15/02, Sim Forster wrote: Using Revolution, once I've got one of the popup menus showing - typically in the Transcript Dictionary, I'm unable to apply focus to

Re: Popup Menu - Show on mouse over

2002-10-15 Thread Simon Forster
On Tuesday, October 15, 2002, at 12:31 PM, Jan Schenkel wrote: on mouseEnter popup me end mouseEnter Jan Many thanks. Next series of questions if I may: - How do I hide the popup on mouseLeave? Which actually takes me to the next point... - If I've managed to hide the whole

Re: get specialFolderpath(26)

2002-10-15 Thread Ken Ray
The support for different versions of Windows OS'es (along with different versions of IEs) are described along with a complete list of these specialFolderPath codes at my site: http://www.sonsothunder.com/devres/revolution/revolution.htm?_win003 And this shows, for example, that Windows NT

Re: error at left operand?

2002-10-15 Thread Ken Ray
Esa, You should be very careful in naming objects with a numeric designation, as in 'field 28'. It is possible that Rev may interpret this as field 28 and look for the 28th field (this can happen if you were to pass the name of the field as a parameter to a function, for example). I know it

Re: Repeatloop in mouseDown handler wont end

2002-10-15 Thread Ken Ray
Michael, There is a known issue with doing things this way in that there are other/better ways of doing it... see the article on HyperActive Software's web site for a run down on this and how to work it: http://www.hyperactivesw.com/polling.html Hope this helps, Ken Ray Sons of Thunder

Re: three problems when manipulating graphics

2002-10-15 Thread Ken Ray
Phillipe, 1°) I'm surprising to see that coordinates of pixels on a card begin at -3, -25 (top left) and end approximatively at 600,400 (bottom,right) in a stack defined with 600 * 400 window. They shouldn't... are you sure you're checking the card and not the stack? If the stack window is

arrays

2002-10-15 Thread Jacques HAUSSER
Hello, Some beginner's questions about arrays - not vital questions, but I'm curious... Transpose: I tried put transpose(Gdonnees) into Gdonnees, and the answer was can't transpose this array (the same if the transpose was put into another variable). It was a 10 x 28 global array (with

Re: get specialFolderpath(26)

2002-10-15 Thread sims
Thank you Ken (for this and the *numerous* answers you supply!), I have a Mac app which writes a file to the Mac preference folder. I am looking for a suitable folder for use with Windows, one which would be on all systems. Any suggestions other than specialFolderpath(26) ? atb sims And

Re: Portable file names

2002-10-15 Thread Rob Cozens
What are the constraints on file names that would allow a stack to have the same correct name on all (or most) Rev platforms? Hi Dar, 1. I recall Ken Ray telling me that a file extension is required on some platforms. 2. I don't know whether these are platform issues or ISP issues, but:

Re: more beginniners questions on arrays

2002-10-15 Thread James Witte
Some beginner's questions about arrays - not vital questions, but I'm curious.. Is there a way to do ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Wouldn't a forum be a far better idea?

2002-10-15 Thread Dar Scott
I blinked and when I looked at all the mail in my use-revolution mailbox, I was overwhelmed. OK, it is simply select all and mark as read, but this makes a forum look better. If this goes to a forum, I would like to be able to get in mail a listing of new forum entries maybe twice a day.

Re: get specialFolderpath(26)

2002-10-15 Thread Rob Cozens
I am looking for a suitable folder for use with Windows, one which would be on all systems. How about the folder containing your Revolution app? get the effective fileName of me set the itemDelimiter to / put yourPreferenceFileName into item -1 of it if there is not a file it then

Re: Portable file names

2002-10-15 Thread Dar Scott
On Tuesday, October 15, 2002, at 10:47 AM, Rob Cozens wrote: 1. I recall Ken Ray telling me that a file extension is required on some platforms. I've looked at some info on ISO-9660 level 2 (CD) and it is not clear to me whether it is required here. I think no more than one can be used,

Re: Portable file names

2002-10-15 Thread Dar Scott
On Monday, October 14, 2002, at 11:14 AM, Ken Ray wrote: On Mac you can't use the colon (:). On Windows you can't use any of these: \ /:*? | Macs (pre OS X) have maximum of 31 characters in the name of a file or folder, Windows is 255 (I think Mac OS X is 255 as well). What? No Regex?

Re: MV via ftp (was libUrlFtpCommand not working?)

2002-10-15 Thread Sannyasin Sivakatirswami
MMM. Thanks Dave... I tried sending A) HELP and B) SITE HELP on two different servers we use, on local OSX on the LAN and one remote at our ISP in Honolulu and in both cases the response in "answer it" was A) Help command not implemented B) 214 Direct comments to [EMAIL PROTECTED] Oh

Re: get specialFolderpath(26)

2002-10-15 Thread Ken Ray
Thank you Ken (for this and the *numerous* answers you supply!), My pleasure! Glad to help. I have a Mac app which writes a file to the Mac preference folder. I am looking for a suitable folder for use with Windows, one which would be on all systems. Any suggestions other than

Re: Portable file names

2002-10-15 Thread Ken Ray
1. I recall Ken Ray telling me that a file extension is required on some platforms. Only if you want to map a Rev stack file to an application as a document (for Windows). Technically it doesn't need to have one for other uses (so for example if you have a Rev stack that is always next to your

Re: array questions..

2002-10-15 Thread Ken Ray
Is tehre a way to do slice or slice-like assignment to arrays (as in Perl)? Can I say 'put [5,3,4,2] into z[4..7]' where z in an array? Or just 'put [1,2,5,4,6,7] into z / put [1,4,5,6] after z'. (Would that last one put them in as new elements? Not with a single command AFAIK. Also

Re: get specialFolderpath(26)

2002-10-15 Thread miscdas
I'm running MetaCard 2.4.3, Win98 put specialFolderPath(26) Correctly returned the path to my Applications Data folder. However, put specialFolderPath(26) returns folder not found miscdas = [snip] sims writes: Can anyone tell me if the function: get

RE: Portable file names

2002-10-15 Thread Chipp Walters
Dar, %20 should do the trick...but it depends on who's doing the encoding...your app or someone else's (like an installer or uploader). [is else's even a word...my spelling checker didn't think so;-)] Chipp Walters wrote: I defer to Ken on these things...I probably 'steer away' from spaces

Re: MV via ftp (moving files around on a remote server)

2002-10-15 Thread Sannyasin Sivakatirswami
Dave, thanks. studied the RFC's, Right, MV doesn't appear to be a standard FTP command, But RNFR and RNTO work great! put RNFR /public_html/transcripts/hold/9-12-02.txt into oldPath put RNTO /public_html/transcripts/Used--discard/9-12-02.txt into newPath get

Re: get specialFolderpath(26)

2002-10-15 Thread miscdas
[EMAIL PROTECTED] writes: I'm running MetaCard 2.4.3, Win98, IE5 put specialFolderPath(26) Correctly returned the path to my Applications Data folder. However, put specialFolderPath(26) Oops! this should be 35, not 26 returns folder not found miscdas

Re: get specialFolderpath(26)

2002-10-15 Thread Dave Cragg
At 10:41 am -0700 15/10/02, Rob Cozens wrote: I am looking for a suitable folder for use with Windows, one which would be on all systems. How about the folder containing your Revolution app? There is a potential problem here if you need to write data to this folder and your app is installed in

Re: get specialFolderpath(26)

2002-10-15 Thread Scott Rossi
There is a potential problem here if you need to write data to this folder and your app is installed in the Program Files folder. Under XP (and Win 2000 ??), a plain user doesn't have sufficient rights to write to the Program Files directory. Of course, such a user can't install the

Re: get specialFolderpath(26)

2002-10-15 Thread Ken Ray
Really? According to my source, specialFolderPath(35) should be supported as a result of IE 5's installation; it was reported by Microsoft to be part of the the 'shlwapi.dll' installed w/IE5. Can you check and see if you have that DLL? Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED]

Re: get specialFolderpath(26)

2002-10-15 Thread sims
. That's why those Application Data folders are provided. There's also the Windows registry to consider... I need to track how many times an action is performed so that when a set limit is arrived at, the application can do something. If the number times an action is performed is recorded

Re: Portable file names

2002-10-15 Thread Dar Scott
CD-ROM file names-- In looking at constraints on file names on the most popular of OS's supported by Revolution and on the most popular of media, I find (I think) the most limiting format is CD-ROM. The best I can tell from information (and bad information) on the Internet. .. ISO-9660

Re: get specialFolderpath(26)

2002-10-15 Thread Richard Gaskin
sims wrote: . That's why those Application Data folders are provided. There's also the Windows registry to consider... I need to track how many times an action is performed so that when a set limit is arrived at, the application can do something. If the number times an action is

Re: Portable file names

2002-10-15 Thread Scott Rossi
Recently, Dar Scott wrote: If I have files aBc. txt and aBc.rev and store them on CDs, I assume they will be stored as ABC. TXT and ABC.REV. If I try to open the first as aBc.txt, ABC.TXT or abc.txt using Revolution open file or URL on Windows, Mac OS, OS X, or linux, which will work? If

Re: get specialFolderpath(26)

2002-10-15 Thread miscdas
Yep, got it: c:\windows\system\shlwapi.dll 16\08\99 I rechecked put specialFolderPath(35) and verified folder not found miscdas [snip] Ken Ray writes: Really? According to my source, specialFolderPath(35) should be supported as a result of IE 5's installation; it was reported by

linguistics of transcript?

2002-10-15 Thread Alex Rice
I studied linguistics in college, as an undergrad, and have always been fascinated with how programming languages are used and how they evolve. The creator of Perl claims that Perl is close to a natural language in a variety of ways and that was one of his design goals. But if you have ever

Re: Portable file names

2002-10-15 Thread Dar Scott
On Tuesday, October 15, 2002, at 03:23 PM, Scott Rossi wrote: If I have files aBc. txt and aBc.rev and store them on CDs, I assume they will be stored as ABC. TXT and ABC.REV. If I try to open the first as aBc.txt, ABC.TXT or abc. txt using Revolution open file or URL on Windows, Mac

Re: Portable file names

2002-10-15 Thread David Vaughan
On Wednesday, Oct 16, 2002, at 05:54 Australia/Sydney, Chipp Walters wrote: Dar, %20 should do the trick...but it depends on who's doing the encoding...your app or someone else's (like an installer or uploader). [is else's even a word...my spelling checker didn't think so;-)] I don't

Search and Replace

2002-10-15 Thread Dan Friedman
Greetings! I need to switch the gender of some text. But, I'm having a hard time figuring out a way to do it. Obviously I can't do a simple replace because Replace HE with SHE in someText Would turn HELP into SHELP I've written this function about a dozen times and it still isn't working

Re: Portable file names

2002-10-15 Thread David Vaughan
On Wednesday, Oct 16, 2002, at 05:54 Australia/Sydney, Chipp Walters wrote: Dar, %20 should do the trick...but it depends on who's doing the encoding...your app or someone else's (like an installer or uploader). [is else's even a word...my spelling checker didn't think so;-)] I don't

Re: Search and Replace

2002-10-15 Thread David Vaughan
On Wednesday, Oct 16, 2002, at 08:41 Australia/Sydney, Dan Friedman wrote: Greetings! I need to switch the gender of some text. But, I'm having a hard time figuring out a way to do it. Obviously I can't do a simple replace because Replace HE with SHE in someText Would turn HELP

RE: Search and Replace

2002-10-15 Thread Gary Rathbone
In this case can you not consider spaces to be part of the 'word' ? In which case a direct replace would work. ie HE - SHE HIS - HER This would avoid HELP - SHELP and THIS - THER Regards Gary Rathbone BSc MBCS Chartered Information Systems Practioner -Original Message- From:

Re: Search and Replace

2002-10-15 Thread Dan Friedman
Gary, Yes, but I can't assume the pronouns will be ONLY in the middle of a sentence. Searching for He will not work in He is a good boy. or Him in We like Him. In this case can you not consider spaces to be part of the 'word' ? In which case a direct replace would work. ie HE - SHE

Re: Portable file names

2002-10-15 Thread Scott Rossi
Recently, Ken Ray wrote: For all intents and purposes, Rev ignores case. On the desktop, reading file paths, file names, registry entries are all unaffected by case. Most Web URLs are not case sensitive (a few are, especially where user names/passwords are included in the address string).

Re: Search and Replace

2002-10-15 Thread Ken Ray
On Wednesday, Oct 16, 2002, at 08:41 Australia/Sydney, Dan Friedman wrote: Greetings! I need to switch the gender of some text. But, I'm having a hard time figuring out a way to do it. Obviously I can't do a simple replace because Replace HE with SHE in someText Would turn

Cloning stacks

2002-10-15 Thread Sarah
I have an application with a stack that gets cloned to allow multiple instances of the same stack to be open, each showing different things as specified when they are opened. This works fine except that when I first clone the stack, it flashes up with it's label showing as Copy of Original.

Re: Cloning stacks

2002-10-15 Thread Ken Ray
Sarah, The only reason you get copy of stack is because you don't have a label set for your stack. If you set the label of the stack, when you clone it, the cloned copy immediately has the label of the stack it was cloned from. So it sounds like your stack is *named* Original, but the label is

Re: Cloning stacks

2002-10-15 Thread Sarah
Thanks for the reply Ken, but it doesn't help. My original stack is actually NAMED Setup and has a label Setup Slot. When I clone, I get a window titled Copy of Setup This is Mac OS X 10.2, Rev 1.1.1 or Rev 1.5A7 Sarah On Wednesday, October 16, 2002, at 12:59 pm, Ken Ray wrote: Sarah,

Re: Search and Replace

2002-10-15 Thread Ken Ray
Dan, Two things to check: 1) Check the script to make sure the local tStart,tEnd is in there; if it isn't, Rev won't actually put anything in tStart or tEnd since they weren't localed. 2) Check to make sure in the matchchunk it says: (boy|h(e|im|is|imself|e's)|guy) between the two

Re: Cloning stacks

2002-10-15 Thread Ken Ray
Wierd, Sarah, because I have the same OS and Rev, and it works for me. Perhaps there are messages being trapped somewhere? Can you try to do this: 1) Open Rev and create a new stack with a name of Tester and a label of Hello. Save it 2) type clone this stack into the message box and hit return

Startkit limitations for stacks already containing long scripts

2002-10-15 Thread Sannyasin Sivakatirswami
IF 1. I create a stack A with some long scripts in it. (more than 10 lines) 2. An associate in a far away country downloads a copy of Revolution Starterkit. 3. I send him or her a copy of stack A THEN: Can she then create objects, cards, buttons, fields and add new scripts with ten lines

Re: Search and Replace

2002-10-15 Thread Ken Ray
Sorry, Dan, it looks like a typo. This line: put char tStart to tEnd of tText into tFoundChunk should read: put char tStart to tEnd of whatText into tFoundChunk Then everything should work OK. Sorry about that... Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web

Re: Portable file names

2002-10-15 Thread Dar Scott
On Tuesday, October 15, 2002, at 07:16 PM, Scott Rossi wrote: Ken, maybe I misunderstood but I believe Dar was asking about Rev's understanding of filenames, not the system's. No doubt UNIX is strict about filenames, but I'm pretty sure Rev doesn't care about case when locating/reading

Search and Replace

2002-10-15 Thread Dan Friedman
Ken, Your the man! Sorry, Dan, it looks like a typo. This line: put char tStart to tEnd of tText into tFoundChunk should read: put char tStart to tEnd of whatText into tFoundChunk Then everything should work OK. Sorry about that... Ken Ray Sons of Thunder

Re: Cloning stacks

2002-10-15 Thread Sarah
I get a copy called Hello so it must be something I am doing, either in the routine that clones the stack, or in the preOpenCard handler on the first card. Thank, Ken. Sarah On Wednesday, October 16, 2002, at 01:46 pm, Ken Ray wrote: Wierd, Sarah, because I have the same OS and Rev, and

Re: Startkit limitations for stacks already containing longscripts

2002-10-15 Thread WordWork
on 16-10-02 05:56, Sannyasin Sivakatirswami at [EMAIL PROTECTED] wrote: IF THEN: Can she then create objects, cards, buttons, fields and add new scripts with ten lines or less and edit scripts of objects that have less than ten lines? i.e. the original working document is 'beyond the I