Window menu

2002-02-20 Thread Pierre Delain
I have copied from the revmenubar card the text and the script of most of the Revolution menus (Edit, Text and View), and they work fine on my stacks. But the Window menu do not work. The content of the menu (list of the current stacks) remains as it was when I copied the text of the window

Re: controlkeydown

2002-02-20 Thread David Vaughan
Pierre Get rid of the quotes, thus: on controlKeyDown T DoSomething end controlKeyDown I know the Transcript Dictionary for controlKeyDown shows keyname but I got the clue from commandKeyDown where it just says keyname, without the quotes. Probably one for Jeanne's list, for consistency.

Re: Opening Acrobat Files

2002-02-20 Thread Ben Rubinstein
on 19/2/02 4:01 PM, Ian Summerfield at [EMAIL PROTECTED] wrote: Firstly check you have AppleScript available: [... snip ...] tell application Finder return name of every process end tell [... snip ...] A tip on launching, KILL the process FIRST, it won't do any harm even if it's

answer/ask

2002-02-20 Thread Robert Presender
Hi, Will appreciated help with the following problems Problem 1: The answer dialog box appears to be off screen (v1.1 and 1.1.1B1). Screen res 640x480 Mac OS 9.2.2,PB G3. Don't know how to reference 'answer dialog box' so that it can be used in the msg box to set the location say to 200,200.

Polling the mouse state

2002-02-20 Thread Jim Hurley
Message: 7 Date: Tue, 19 Feb 2002 11:46:23 +0100 Subject: Re: Boxes, Grids, Snap to Objects From: Klaus Major [EMAIL PROTECTED] To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Hi Ian, I don't like the grab command, it seems to me program flow doesn't stop, i.e. Grab me Beep

Delete a selectedLine

2002-02-20 Thread Bill Vlahos
I have a field which contains a list of items I want to delete by double clicking. The following field script works fine except it leaves a blank line where the text was instead of completely eliminating the line. on mouseDoubleUp delete the selectedLine end mouseDoubleUp The results look

Re: Deselecting Line tool

2002-02-20 Thread Scott Raney
On Wed, 20 Feb 2002 cowhead [EMAIL PROTECTED] wrote: I had to do this in a metacard project in order for users to change colors mid-draw as it were. And I didn't want to have a separate control pallette. 1. First establish the rect (the zone) where you want all the drawing to take place.

Re: Delete a selectedLine

2002-02-20 Thread Bill Vlahos
Ken, Perfect. That works great. Thank you. Bill On Wednesday, February 20, 2002, at 08:31 AM, Ken Ray wrote: Bill, This probably is a bug. You can work around it with: on mouseDoubleUp do delete the selectedLine end mouseDoubleUp Ken Ray Sons of Thunder Software Email: [EMAIL

Re: controlkeydown

2002-02-20 Thread Rob Cozens
I try to use the following handler to create a shortcut with the T : on controlkeydown T DoSomeThing end controlkeydown There is no reaction. What is wrong in my handler? Salut Pierre! Try this: on controlKeyDown zaKey if zaKey is T then doSomething else pass

Re: Boxes, Grids, Snap to Objects

2002-02-20 Thread Scott Raney
On Tue, 19 Feb 2002 Klaus Major [EMAIL PROTECTED] wrote: I regularly use repeat until the mouseClick without the same problems I experience with the mouse function. My question is: Does the advice to stay away from polling the mouse extend to the mouseClick function as well? Scott has

Re: controlkeydown

2002-02-20 Thread Rob Cozens
I try to use the following handler to create a shortcut with the T : on controlkeydown T DoSomeThing end controlkeydown There is no reaction. What is wrong in my handler? Moi: Salut Pierre! Try this: on controlKeyDown zaKey if zaKey is T then doSomething else pass

Re: answer/ask

2002-02-20 Thread Sarah Reichelt
Problem 1: The answer dialog box appears to be off screen (v1.1 and 1.1.1B1). Screen res 640x480 Mac OS 9.2.2,PB G3. Don't know how to reference 'answer dialog box' so that it can be used in the msg box to set the location say to 200,200. Ex: set the loc of '?' to 200,200. Is this a bug?

Problem with Launch Command

2002-02-20 Thread Peter Reid
I'm trying to open Acrobat files from my stack developed using Rev 1.1.1B1 on a Mac. If I open Acrobat Reader outside of my stack and then get my stack to open a series of Acrobat files using the launch xxx.pdf with gAcroReader command, then everything works fine; each file opens as a new

controlkeydown

2002-02-20 Thread Pierre Delain
Sorry but when I use controlkeydown T (without the quotes, as you say), I get a result, but the result is the same whatever the key. I if press ctrl F or ctrl G, for example, the result is exactly the same as ctrl T!! So the question remains : how to use controlkeydown to get a different result

Re: controlkeydown

2002-02-20 Thread Scott Rossi
On Wednesday, February 20, 2002, at 04:30 PM, Pierre Delain wrote: Sorry but when I use controlkeydown T (without the quotes, as you say), I get a result, but the result is the same whatever the key. I if press ctrl F or ctrl G, for example, the result is exactly the same as ctrl T!!

Re: Rev Externals

2002-02-20 Thread Rob Cozens
I don't want to have to maintain two separate copies of the stack - one for Mac OS Classic and one for Mac OS X, but it seems I have to?! I can't see any way of building for both at the same time. Hi Peter, Are you up for a solution that requires three stacks? If so: 1. Leave you main stack

Re: controlkeydown

2002-02-20 Thread Rob Cozens
The following works for me: on controlKeyDown K if K = T then doMyTstuff if K = F then doMyFstuff end controlKeyDown One note, Scott: Unless your handler passes controlKeyDown for those values of K for which it has no instructions, it effectively disables any controlKeyDown handlers in

Re: Problem with Launch Command

2002-02-20 Thread William T. Simmons
Peter, I haven't had time to test this, but just to give you a possible idea to use, try adding appropriate scripts to a substack and a main stack to do the following: 1) open Acrobat Reader from the substack (perhaps a splash screen stack), 2) open your main stack, 3) close the substack, and

Re: Polling the mouse state

2002-02-20 Thread Ian Summerfield
On 20/2/02 2:50 pm, Jim Hurley [EMAIL PROTECTED] scribed: Hi Ian, I don't like the grab command, it seems to me program flow doesn't stop, i.e. maybe you missed some of the previous posts, where experts (!) are advising to not poll the mouse-state. It is far more efficient to

Re: Polling the mouse state

2002-02-20 Thread Ken Norris (dialup)
on 2/20/02 6:50 AM, Jim Hurley at [EMAIL PROTECTED] wrote: This issue of polling the mouse state continues to crop up. I have had to avoid the use of the old HyperCard standby: repeat while the mouse is down -- I love repeat while the mouse is down because it allows me to do a