Re: Navigation palette questions

2003-12-18 Thread Sarah Reichelt
On 19 Dec 2003, at 3:31 pm, DavidSquance wrote:

The following statements are taken from the docs (RR2.1.1).  They seem
contradictory to me.
---A stack is unlocked if its cantModify property is set to true.
That seems to be backwards.
---If a stack's cantModify property is set to true, the user cannot 
choose
any tool except the Browse ---tool. This prevents the user from moving,
resizing, creating, or deleting objects.

Does it make any difference if this is checked in a palette stack?
No - palettes cannot be modified directly although they are not locked 
so can be edited through the Application Browser or by scripting. 
However both modeless & palette stacks act as if the browse tool is 
chosen, no matter what tool you actually have selected.
As well, somewhere in the docs I thought I saw that controls in a 
palette
act on the current editable stack.  I created a palette for the 
purpose of
allowing navigation between cards (my project has 3 stacks which would 
use
this palette).  It has simple arrow buttons.  Another palette for 
switching
between stacks works fine.  The menu items (in the development 
environment)
of go prev, first, last, etc. work fine.  I tried the tip from the 
docs of
putting the "got message" line in the script, and that worked.  But the
card switching doesn't happen.  It would appear that the messages are 
stuck
in the palette stack, and not going to the current stack.
I would try something like:
	go to next card of the topStack
I don't think the palette can automatically decide which stack to 
operate on.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Navigation palette questions

2003-12-18 Thread DavidSquance
The following statements are taken from the docs (RR2.1.1).  They seem
contradictory to me.

---A stack is unlocked if its cantModify property is set to true.

---If a stack's cantModify property is set to true, the user cannot choose
any tool except the Browse ---tool. This prevents the user from moving,
resizing, creating, or deleting objects.

Does it make any difference if this is checked in a palette stack?

As well, somewhere in the docs I thought I saw that controls in a palette
act on the current editable stack.  I created a palette for the purpose of
allowing navigation between cards (my project has 3 stacks which would use
this palette).  It has simple arrow buttons.  Another palette for switching
between stacks works fine.  The menu items (in the development environment)
of go prev, first, last, etc. work fine.  I tried the tip from the docs of
putting the "got message" line in the script, and that worked.  But the
card switching doesn't happen.  It would appear that the messages are stuck
in the palette stack, and not going to the current stack.

I assume I've missed something basic, but any suggestions would be
appreciated.  TIA.
Dave


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Increasing indent factor in script windows

2003-12-18 Thread Monte Goulding

> Is there any way to increase the indent factor in script windows?
>  (i.e. instead of having the engine indent by two spaces per
> tier, have it indent by four, for example).  I would like to have
> a more pronounced nesting.
>
> Alternately, I extract scripts for purposes of documentation and
> can write a handler to increase it.  But I am a bit stumped by
> the most basic thing.  How do I say in a script the equivalent of
>
> "if line x of script has leading spaces then double the number of
> leading spaces"
>
You could try:

replace "  " with tab in fld "script"

Then you can set the tabStops. I'm not user why the script editor doesn't
use tabs anyway

Cheers

Monte

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Increasing indent factor in script windows

2003-12-18 Thread Mark Powell
Is there any way to increase the indent factor in script windows?  (i.e. instead of 
having the engine indent by two spaces per tier, have it indent by four, for example). 
 I would like to have a more pronounced nesting.

Alternately, I extract scripts for purposes of documentation and can write a handler 
to increase it.  But I am a bit stumped by the most basic thing.  How do I say in a 
script the equivalent of

"if line x of script has leading spaces then double the number of leading spaces"

without resorting to heavy handed repeat loops?

Appreciate your help.

Mark Powell
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


intercept stack opening event in Windows

2003-12-18 Thread Rodney Tamblyn
How do you go about intercepting a document open event in Windows, 
assuming you have a document type associated with a Revolution Windows 
stand-alone application?

On Mac you use an Appleevent handler to achieve this sort of thing.

I'm interested in not just detecting a document that caused the 
application to launch (e.g. user clicks on document which causes stand 
alone application to launch and process file) - I believe you can 
detect this by checking the $1 global parameter although haven't had 
any experience doing this myself.  I'm also interest in detecting 
subsequent document open events, e.g. if user clicks on additional docs 
associated with the stand alone, how can I detect an intercept these 
events?

If there's no high level way of doing this I will just attempt to 
detect documents opening by intercepting preopenstack handlers.

~ Rodney

--
Rodney Tamblyn
5/3 Ellesmere Rd, Prahran, VIC 3181
Melbourne, Australia
email: [EMAIL PROTECTED] (preferred contact)
cell:  61- (0)415635778
home: 61-3-95104353 (note: often busy/online)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: [OT] Windows help needed

2003-12-18 Thread michael
Hi Sarah,

A couple of questions to help clarify:

Which version of Windows?

What software is it (if you can disclose the name). Perhaps the software can be timed 
on it's own or somehow modified?

Is it a program that requires a clean shutdown? Windows 2000/XP have utilities 
available that can "kill a process" much in the same way you can end a program through 
the Task Manager. Some info can be found at 
http://www.sysinternals.com/ntw2k/freeware/pskill.shtml

Those are the questions that have come to mind so far.

I'm not an expert though so perhaps others have better ideas. I can try to help 
off-list as well.

Michael

-Original Message-
From: Sarah Reichelt [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 8:27 AM
To: [EMAIL PROTECTED]
Subject: [OT] Windows help needed

Sorry for the OT post, but I know there are lots of Windows experts on
this list. If you can help, please email me off-list :-)

I have a third-party application that needs to run every night and
shutdown every morning. I can run it fine using Scheduled items, but
that doesn't have any options to stop programs, just to run them (at
least as far as I could work out).

Is there a shell command that I could save in a file and have that file
run every morning to stop the application?

TIA,
Sarah

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[OT] Windows help needed

2003-12-18 Thread Sarah Reichelt
Sorry for the OT post, but I know there are lots of Windows experts on 
this list. If you can help, please email me off-list :-)

I have a third-party application that needs to run every night and 
shutdown every morning. I can run it fine using Scheduled items, but 
that doesn't have any options to stop programs, just to run them (at 
least as far as I could work out).

Is there a shell command that I could save in a file and have that file 
run every morning to stop the application?

TIA,
Sarah
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Apple spelling checker?

2003-12-18 Thread Sarah Reichelt
On 19 Dec 2003, at 5:33 am, Richard Gaskin wrote:

How difficult/desireable would it be to have a means of using OS X's
Spelling Checker application service within Rev?
I don't know about difficult, but certainly desirable. I love the way 
OS X gives you a system wide spell check so you only have to maintain 
one dictionary.

The other OS X feature I want to implement in my apps, is the new 
"Special characters..." item that appears at the bottom of the Edit 
menu and allows you to insert weird characters in whatever you are 
typing. I haven't tested it yet, but hopefully, I can put that item in 
my menus and have it work via AppleScript.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Understanding Externals

2003-12-18 Thread Tereza Snyder
On Dec 15, 2003, at 8:59 AM, David Egbert wrote:

I'm trying to understand how externals function in a standalone app. on
MacOS X. If I use "set the externals" in the main stack, can the 
externals
be used with all the sub-stacks?
Yes.


Or if I associate the external to a
sub-stack, can it only be used on that stack? I couldn't find any
documentation about this. :-(
I'm not sure about substacks, but if you "start using" the stack the 
external is associated with, it will be available to other scripts. I 
myself keep these stacks in separate files rather than substacks.

Also, is there documentation on placing the external inside a 
macOSX.app?  I
thought I could just set a variable that points to the /Contents/MacOS/
folder and use "set externals" to point to the bundle inside that 
folder.
Unfortunately it's not working for me.
I don't use the distribution builder, but I've found that when you open 
the stack that has its externals property defined, the external should 
be in the current (at that instant) directory in order to be loaded. 
What I do is set the directory to the location of the external, then 
"start using" the stack associated with it. After that I can reset the 
directory as I like.

--

. . .. ... . ACT AGAINST ENTROPY! . ... .. . .

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Palette as Main Stack

2003-12-18 Thread Scott Rossi
On 12/18/03 2:17 PM, I wrote:

> It appears the natural message path between substacks and stacks is ignored
> when the mainstack of a substack is a palette.  I have a project with a
> palette set up as mainstack that does not seem to be getting any messages
> from objects residing in topLevel subStacks of the palette (ie mousedown/up,
> etc).

Actually, the above is probably incorrect.  I may have been running up
against an automatic insertion of empty mouseUp handlers in MC.  I now seem
to be getting messages in the palette mainstack.  Should have
isolated/tested before posting to the list...

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Palette as Main Stack

2003-12-18 Thread Scott Rossi
It appears the natural message path between substacks and stacks is ignored
when the mainstack of a substack is a palette.  I have a project with a
palette set up as mainstack that does not seem to be getting any messages
from objects residing in topLevel subStacks of the palette (ie mousedown/up,
etc).

1) Is this expected behavior?

2) Would a better stack arrangement be to use a combination of a hidden
topLevel stack (that contains all stack-wide scripts) which has a visible
palette subStack?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Apple spelling checker?

2003-12-18 Thread Alex Rice
On Dec 18, 2003, at 12:31 PM, Richard Gaskin wrote:

How difficult/desireable would it be to have a means of using OS X's
Spelling Checker application service within Rev?
In OS X a "Service" sometimes refers to the Services menu seen in many 
OS X apps. Is that what you mean? I don't have a spell check service in 
there.

But many OS X apps utilize a spell checker that maintains per-user 
dictionaries and preferences. I think it's part of the Cocoa 
frameworks; the Objective C class NSSpellChecker. I think it should be 
possible to write a simple Rev external to talk to NSSpellChecker. I 
don't know if Carbon has this capability. A quick API search says 
Carbon does not.

Another alternative, which does *not* interface with the user's 
dictionary and preferences, is the GNU ispell program, which is a 
command-line tool that could be called with shell(). It's a fine 
utility, it's just not installed by default, and is disconnected from 
the rest of the OS X system spell checking facilities.

I have a client gearing up for a heavy production cycle and we're 
looking at
options for incorporating QA conveniences into his workflow.
I got partway through a spell checking plugin for Rev, transcript only, 
before I put it on the back burner. You are welcome to the unfinished 
source code if you want it.

For OS X only, I think a NSSpellChecker external would provide the best 
user experience because it would be consistent with other spell 
checking going on in the workflow- maybe.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Apple spelling checker?

2003-12-18 Thread Richard Gaskin
How difficult/desireable would it be to have a means of using OS X's
Spelling Checker application service within Rev?

I have a client gearing up for a heavy production cycle and we're looking at
options for incorporating QA conveniences into his workflow.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev @ Apple.com

2003-12-18 Thread Richard Gaskin
Those of you who've submitted products to Apple's "Made for Mac" pages (see
) may have noticed a welcome new addition to
their submission page:  Part of the form asks you which development tool
your product was made with -- and "Runtime Revolution" is now on that list.
:)

Way to go, RunRev crew!

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution