Re: the IDE does not appear on double click of project

2003-08-25 Thread Pierre Sahores
Le dim 24/08/2003 à 09:39, Stephen Quinn Barncard a écrit :
 When I double click a project file to launch Rev, the IDE does not 
 appear. No menus, etc.
 
 1. what is the call to start up the IDE from a script?
 2. is there a setting to 'start IDE on application open' ?
 
 This was not the way Rev functioned earlier. Something changed...or 
 something *I* changed!!
 
 thanks
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

Witch platform ? If Linux, be sure about checking the exec in the
properties tab of the Rev engine.
-- 
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de rentabilité

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


One more question about licensing.

2003-08-25 Thread Andre Garzia
Sorry folks because I know this been covered before, it's just that I 
cannot search the list because I am out my machine, I am using my 
neighbours machine just to send and receive email.

Can someone explaing to me this:  if I buy a studio license now, will 
2.1 count as an upgrade?

Cheers

Andre Garzia  2003
imac2 ibook p100 e uma torradeira
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Users of 2.1rc and OS X 10.1.x

2003-08-25 Thread Ron
Hi

If you are using the latest release of 2.1 on OS X 10.1, would you contact
me offlist please. A couple of us have run into problems, we can't even get
RR to open up, and we need to determine if it is some setting in our OS or a
problem with 2.1 and 10.1.

Thank you very much,
Ron


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


The mouseControl function

2003-08-25 Thread Jim Hurley
_--

Message: 14
Date: Sat, 23 Aug 2003 14:31:15 +0200
Subject: Re: Hiliting a listfield line as I type?
From: Klaus Major [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Hi yoy,

 Rob,

 That's EXACTLY the behavior (Scroll To) I want!
 But... how do I read the scripts?
One smart solution ;-) is to use the messagebox:

Type:

edit script of the mousecontrol

DON'T hit RETURN yet!!!

Instead positon the cursor on top of that menubutton
and THEN hit RETURN...


I am puzzled by the way in which the mousecontorl function is 
implemented. For example, the following handler in the message box

repeat until the mouseclick
put the mouseLoc comma  the mousecontrol
end repeat
returns the mouseLoc continuously as I move the cursor over the 
screen, but the mousecontrol depends on where the mouse was located 
at the time the return key is hit. And  the mousecontrol value 
remains fixed at that initial control as the mouse moves. I would 
have expected the mousecontrol value to be continuously updated as 
the mouseloc is.

And the documentation is puzzling:

if the mouseControl is button 2 then set the cursor to hand

It appears that mouseControl returns something like: control 2 or 
control 5, but never button 2 or button 5. I guess Clinton was right; 
it depends on what the meaning of is is.  It seems that RR is 
flexable on this matter. For example,

   control 3 is button 2

would return true if button 2 is in layer 3.

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


Way to insert text where cursor is in field?

2003-08-25 Thread Rob Gould




I'm sure I must be
overlooking something simple - - - - What I'm trying to do is have a
text field that detects when the user presses the character "*", and
when they do, it replaces that "*" with a bitmap graphic. (Using the
imageSource call). 

I've got the below code which _almost_ does this, except that it
replaces all the astericks except the one that the user just pressed.
The trick here is that the user can click and put the cursor anywhere
in the text field, so it's not like I can just add an "*" to the last
char of the field and swap it out. I somehow need to find out the
position in the text field where the cursor is, and add the asterick,
and THEN run the "refreshnotes" handler.

on keydown theKey
 if theKey = "*" then
 refreshnotes
 end if
 
 pass keydown
 
end keydown


on refreshnotes
 put the number of lines in field "notes" into temp
 repeat with x = 1 to temp
 if line x of field "notes" contains "*" then
 put the length of line x of field "notes" into linelength
 repeat with y = 1 to linelength
 if char y of line x of field notes = "*" then
 set the imageSource of char y of line x of field "notes" to
"checkbox"
 end if
 end repeat
 end if
 end repeat
end refreshnotes




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


Re: Way to insert text where cursor is in field?

2003-08-25 Thread Dar Scott
On Sunday, August 24, 2003, at 09:53 PM, Rob Gould wrote:

on keydown theKey
  if theKey = * then
    refreshnotes
  end if
 
  pass keydown
 
end keydown
I wonder if this would do what you want:

-- Negative one day in ticks
-- To run a message before others
constant highPriority = -1512000
on keydown
  send refreshnotes to me in highPriority
  pass keydown
end keydown
Just a wild guess.

Dar Scott

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


Re: Way to insert text where cursor is in field?

2003-08-25 Thread Rob Gould
That did the trick!  Thanks for the simple solution!


Jeanne A. E. DeVoto wrote:

  Try using keyUp instead of keyDown. (keyDown runs before the
  character is entered in the field.)

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


Re: Way to insert text where cursor is in field?

2003-08-25 Thread J. Landman Gay
On 8/24/03 10:53 PM, Rob Gould wrote:

I'm sure I must be overlooking something simple - - - - What I'm trying to do is 
have a text field that detects when the user presses the character *, and when 
they do, it replaces that * with a bitmap graphic.  (Using the imageSource 
call). 

I've got the below code which _almost_ does this, except that it replaces all 
the astericks except the one that the user just pressed.  The trick here is that 
the user can click and put the cursor anywhere in the text field, so it's not 
like I can just add an * to the last char of the field and swap it out.  I 
somehow need to find out the position in the text field where the cursor is, and 
add the asterick, and THEN run the refreshnotes handler.
The selectedChunk function is your friend here. Try this:

on keydown theKey
  if theKey = * then
get the selectedchunk
do put theKey into  it
set the imagesource of char (word 2 of it) of me to checkbox
  else
pass keydown
  end if
end keydown
You don't need a refreshnotes handler, just this one in the script of 
the field.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution and fonts

2003-08-25 Thread Alex Rice
On Tuesday, August 19, 2003, at 04:30  PM, Richard Gaskin wrote:
Fortunately it's also the easiest solution:  you only need to set two
properties in your mainstack, and you know the fonts are available. ;)
And on most systems, merely setting the textfont to any invalif font 
name (I
tend to ue 0) will force it to use the default system font, so 
really the
only platform-specific setting is the textSize.
I was experimenting with this and one must actually put 0 for the 
font name, not empty, otherwise the font name will revert and fill 
itself in with the default font name Lucida Grande on my Mac. This 
only happens if one changes the font size as well. Is this a bug?

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Way to drag-drop from Rev to desktop?

2003-08-25 Thread Geoff Canyon
Navigator does this. It's in the plugins, and the scripts are available 
to examine. If you drag entries to the desktop, it creates a text 
clipping with their information.

For the FTP solution, though, you'd probably just want to figure out 
where the user dropped, and then use the standard FTP commands to do 
the work.

On Sunday, August 24, 2003, at 09:13  PM, Rob Gould wrote:

Can anyone tell me if it's technically possible to have a scrolling 
text field where a user could select multiple lines, and then 
drag-and-drop those lines onto their desktop?  And then, I'd be able 
to track what those text items are, and react accordingly?  (I'd have 
Rev ftp some files from an FTP server and put those files on the 
user's desktop).
regards,

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


Re: Drawer in 2.1c

2003-08-25 Thread Yves COPPE
Le lundi, 25 aoû 2003, à 08:26 Europe/Brussels, Benny Frödin a écrit :

Hi!
When I open the New drawer thing its size decrease for
each time I open the drawer
Why??
BF
Set the height of the width of the stack before opening the stack and 
it will be allright.

Greetings.

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


Re: AW: Linux double click

2003-08-25 Thread Wolfgang M. Bereuter
On Freitag, Aug 22, 2003, at 17:00 Europe/Vienna, Alex Rice wrote:

On Friday, August 22, 2003, at 04:33  AM, [EMAIL PROTECTED] wrote:
do a chmod 755 XXX in the console, with XXX is your filename.
This will make it readable and executable for anybody.
That would be my guess too. But for learning Unix file permissions, I 
would not start off not using the octal codes, instead use the 
shorthand like this
---

Claus, Alex,
thanks for the tips...
regards
Wolfgang M. Bereuter
Learn easy with trainingsmaps©
INTERNETTRAINER Wolfgang M. Bereuter
Edelhofg. 17/11, A-1180 Wien, Austria
...
http://www.internettrainer.com, [EMAIL PROTECTED]
...
Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: HC to R question

2003-08-25 Thread wouter
Hi,
If the amount of cards is considerable then you can gain some time by 
changeing the script to:

on mouseUp
  put empty into field IndexField
  -- DON'T visit each card
mark cards where fld Card Name  empty
  repeat with x = 1 to the number of marked cds
  put (field Card Name)  of marked cd i  ;  the ID of  
marked cd i \
   return after index1
  end repeat	
  unmark all cds
  go to card 2 -- go to card 2 Index Card  -- If you were on cd 2 
originally you can omit this line
  sort index1   -- sort data within variable (option : sort lines of 
index1 by item 1 of each )
  put index1 into field IndexField -- put data into Index Field
  put number of chars in field IndexField into field Characters
  put number of lines in field indexfield into field Line Count
 unlock screen
end mouseUp

Have a nice day,
WA
On zaterdag, aug 23, 2003, at 18:01 Europe/Brussels, 
[EMAIL PROTECTED] wrote
Message: 12
Date: Sat, 23 Aug 2003 10:26:06 -0600
From: Dale Pond [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: HC to R question
Reply-To: [EMAIL PROTECTED]
Jim Hurley wrote:

Message: 17
Date: Sat, 23 Aug 2003 08:18:48 -0600
From: Dale Pond [EMAIL PROTECTED]
To: Revolution [EMAIL PROTECTED]
Subject: HC to R question
Reply-To: [EMAIL PROTECTED]
Hi,

I finally bit the bullet and purchased a copy of Revolution to 
convert
my HC stacks. I'm having trouble with a simple repeat loop:

  -- visit each card
  repeat with x = 3 to the number of cards
go to card x
if field Card Name  empty
then put (field Card Name)  ;  the ID of this card  
return
after index1
  end repeat

This returns an error Handler: end doesn't match handler name. 
Makes
no sense to me and I can't find anything wrong with the script. Can
someone help me out with this?

My specialty is the simple-minded solution. Forgive me, but did you
check the spelling of the handler in which the above repeat loop is
included--or perhaps other handlers in the same script? There
certainly doesn't appear to be anything wrong with the repeat loop 
itself.

Jim
Jim and Roger,

Thanks for your pointers! I found an error further on in the script
(actually two errors). One was an unassociated repeat and the other
appeared to be an abbreviated fld instead of field or maybe it was 
the
'go to card Index' which when changed to 'go to card 2' worked.
Seems Rev doesn't like abbreviations nor does it point well to the
actual bug. The script works great now! Here is the complete and
working  script:

on mouseUp
  put empty into field IndexField
  lock screen
  -- visit each card
  repeat with x = 3 to the number of cards
go to card x
if field Card Name  empty then
  put (field Card Name)  ;  the ID of this card \
   return after index1
end if
  end repeat
  go to card 2 -- go to card 2 Index Card
  sort index1   -- sort data within variable
  put index1 into field IndexField -- put data into Index Field
  put number of chars in field IndexField into field Characters
  put number of lines in field indexfield into field Line Count
 unlock screen
end mouseUp
--
Life, Light, Love and Laughter,
Dale Pond
Sympathetic Vibratory Physics
Sacred Science - Sacred Life
http://www.svpvril.com
SVP Discussion Forum:
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.1 beta doesn't open

2003-08-25 Thread wouter
Hi,

As you are working in Mac OS X  you can get an idea what is wrong by 
using the Console (you find this one in the utilities folder), open the 
crash log for Revolution and see where it is crashing or what is 
missing.
Have a nice day,

WA

On zaterdag, aug 23, 2003, at 23:08 Europe/Brussels, 
[EMAIL PROTECTED] wrote:

Message: 7
Date: Sat, 23 Aug 2003 14:02:28 -0500
To: [EMAIL PROTECTED]
From: curry [EMAIL PROTECTED]
Subject: Re: 2.1 beta doesn't open
Reply-To: [EMAIL PROTECTED]
I've checked the settings and didn't find anything different than
2.0.2 settings. Still doesn't open!
Curry


Message: 1
Date: Sat, 23 Aug 2003 00:51:38 -0500
To: [EMAIL PROTECTED]
From: curry [EMAIL PROTECTED]
Subject: 2.1 beta doesn't open
Reply-To: [EMAIL PROTECTED]
I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing
happens; I see a zoom animation, but the app never starts.
Is 2.1 compatible with 10.1.3?

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


Paint Tools

2003-08-25 Thread Dale Pond
Hi,

Is there a manual on using the Paint Tools? Can't find it referenced in 
the Documentation. Actually is there a Rev manual or how-to book that 
covers drawing graphics?

I have a HC script that draws geometric patterns according to math 
calculations. Works great in HC but the pencil tool does not draw in Rev 
(or if it does I can't see the result). The pencil will draw in a new 
stack but not on this imported HC stack. I don't think I understand how 
Rev draws, hence the need for a simple manual or how-to instructions. 
Here's the script:

on mouseUp

 send mouseUp to cd button Erase Graphic --clear any pre-existing image
 put cd fld b into b
 put cd fld e into e --value of e
 put b+e into d--value of d
 put d into cd fld d
 put e+d into a--value of a
 put a into cd fld a
 put 100 into H --StartHorz
 put 100 into V --StartVert
 if a  200 then
   answer Put smaller number into field b or e
   exit mouseUp
 end if
 choose rect tool
 set filled to true
 set pattern to 12
 drag from H,V to H+b,V+d -- draw J
 set pattern to 22
 drag from H+b,V to H+a+b,V+d -- draw K
 choose pencil tool
 drag from H+d,V to H+d,V+d
 set filled to false
 set pattern to 1
 choose browse tool
 put J = bd  =  b*d into cd fld x
 put K = ad  =  a*d into cd fld y
 put b*d  +  a*d  =  (b*d)+(a*d)  =  2D into cd fld 
result1

end mouseUp

--
Life, Light, Love and Laughter,
Dale Pond
Sympathetic Vibratory Physics
Sacred Science - Sacred Life
http://www.svpvril.com
SVP Discussion Forum:
http://groups.yahoo.com/group/svpvril/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: repeat for each....

2003-08-25 Thread Ludovic Thébault
On Mon, 25 Aug 2003 13:45:28 +0100, Mark Smith wrote:

 I haven't yet been able to make the 'repeat for each...' structure 
 work at all, not even once, in any circumstance, in a year of trying 
 it from time to time. I can find nothing in the electronic docs to 
 help me. I am mystified.


repeat with n=1 to the number of items of myvar 
-- return a number (the position of the current item in the loop)

repeat for each item n in myvar
-- return the value of  the current item in the loop
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: repeat for each....

2003-08-25 Thread Klaus Major
Hi Mark

This is driving me barmy...
Again i learned a useful english word ;-)

can any kind soul here explain why this works:

on tryLoopWith
  put a,b,c,d,e,f into charList
  repeat with n = 1 to the number of items in charList
put item n of charList into line n of newCharList
  end repeat
  put newCharList  with
end tryLoopWith
but this throws up a 'bad chunk expression :

on tryLoopFor
  put a,b,c,d,e,f into charList
  repeat for each item n in charList
put item n of charList into line n of newCharList
  end repeat
  put newCharList  for
end tryLoopFor
repeat for each... is a read-only thingie... ;-)
Means that n in this case will not hold the number of the current 
line as in repeat with...,
but the CONTENT of the current line of charlist...

So there is no line n of newCharList.
(The engines sees: line a of newCharList...)
...and there is no such thing as item n of charlist.
(And here: item a of charlist...)
That's why you get an error...

Try to create an extra counter for this purpose.
Even with a counter the repeat for each... loop is still insanely 
fast :-)

on tryLoopFor
  put a,b,c,d,e,f into charList
  put 1 into mycounter
  repeat for each item n in charList
put n into line mycounter of newCharList
### just pure n :-)
add 1 to mycounter
  end repeat
  put newCharList  for
end tryLoopFor
I haven't yet been able to make the 'repeat for each...' structure 
work at all, not even once,
in any circumstance, in a year of trying it from time to time.
It is a bit tricky, indeed...

I can find nothing in the electronic docs to help me. I am mystified.
I am sure we will be able to guide you into the right direction ;-)

TIA,  Mark Smith
Hope that helps...

Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: repeat for each....

2003-08-25 Thread Dave Cragg
At 1:45 pm +0100 25/8/03, Mark Smith wrote:
This is driving me barmy...can any kind soul here explain why this works:

on tryLoopWith
  put a,b,c,d,e,f into charList
  repeat with n = 1 to the number of items in charList
put item n of charList into line n of newCharList
  end repeat
  put newCharList  with
end tryLoopWith
but this throws up a 'bad chunk expression :

on tryLoopFor
  put a,b,c,d,e,f into charList
  repeat for each item n in charList
put item n of charList into line n of newCharList
  end repeat
  put newCharList  for
end tryLoopFor
In your second example, the variable n doesn't contain a number but 
the actual value of the current item in the list.

Try this:

on tryLoopFor
  put a,b,c,d,e,f into charList
  repeat for each item n in charList
put n  return after newCharList
  end repeat
  delete char -1 of newCharList ## delete final return
  put newCharList  for
end tryLoopFor
Dave
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: HC to R question

2003-08-25 Thread Dale Pond
WA,

You offer an interesting suggestion. Thanks. Every card fld Card Name 
has data so I don't know what might be gained by examining each card 
then marking it. There aren't that many cards in each stack. With HC 
anyway the restriction is 32k characters in the IndexField which lists 
all the cards by name and ID. Rev has a higher fld limit so this 
restriction is lifted. On these newer computers speed of execution 
doesn't pose an issue. Even with adding in a sort cards of stack line 
it takes about 1/2 (or less) of a second to complete this script. I will 
try your (option : sort lines of index1 by item 1 of each), that might 
improve general UI performance.
Dale

wouter wrote:

Hi,
If the amount of cards is considerable then you can gain some time by 
changeing the script to:

on mouseUp
  put empty into field IndexField
  -- DON'T visit each card
mark cards where fld Card Name  empty
  repeat with x = 1 to the number of marked cds
  put (field Card Name)  of marked cd i  ;  the ID of  
marked cd i \
   return after index1
  end repeat   
  unmark all cds
  go to card 2 -- go to card 2 Index Card  -- If you were on cd 2 
originally you can omit this line
  sort index1   -- sort data within variable (option : sort lines of 
index1 by item 1 of each )
  put index1 into field IndexField -- put data into Index Field
  put number of chars in field IndexField into field Characters
  put number of lines in field indexfield into field Line Count
 unlock screen
end mouseUp

Have a nice day,
WA
On zaterdag, aug 23, 2003, at 18:01 Europe/Brussels, 
[EMAIL PROTECTED] wrote

Message: 12
Date: Sat, 23 Aug 2003 10:26:06 -0600
From: Dale Pond [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: HC to R question
Reply-To: [EMAIL PROTECTED]
Jim Hurley wrote:

Message: 17
Date: Sat, 23 Aug 2003 08:18:48 -0600
From: Dale Pond [EMAIL PROTECTED]
To: Revolution [EMAIL PROTECTED]
Subject: HC to R question
Reply-To: [EMAIL PROTECTED]
Hi,

I finally bit the bullet and purchased a copy of Revolution to convert
my HC stacks. I'm having trouble with a simple repeat loop:
  -- visit each card
  repeat with x = 3 to the number of cards
go to card x
if field Card Name  empty
then put (field Card Name)  ;  the ID of this card  return
after index1
  end repeat
This returns an error Handler: end doesn't match handler name. Makes
no sense to me and I can't find anything wrong with the script. Can
someone help me out with this?
My specialty is the simple-minded solution. Forgive me, but did you
check the spelling of the handler in which the above repeat loop is
included--or perhaps other handlers in the same script? There
certainly doesn't appear to be anything wrong with the repeat loop 
itself.

Jim


Jim and Roger,

Thanks for your pointers! I found an error further on in the script
(actually two errors). One was an unassociated repeat and the other
appeared to be an abbreviated fld instead of field or maybe it was the
'go to card Index' which when changed to 'go to card 2' worked.
Seems Rev doesn't like abbreviations nor does it point well to the
actual bug. The script works great now! Here is the complete and
working  script:
on mouseUp
  put empty into field IndexField
  lock screen
  -- visit each card
  repeat with x = 3 to the number of cards
go to card x
if field Card Name  empty then
  put (field Card Name)  ;  the ID of this card \
   return after index1
end if
  end repeat
  go to card 2 -- go to card 2 Index Card
  sort index1   -- sort data within variable
  put index1 into field IndexField -- put data into Index Field
  put number of chars in field IndexField into field Characters
  put number of lines in field indexfield into field Line Count
 unlock screen
end mouseUp
--
Life, Light, Love and Laughter,
Dale Pond
Sympathetic Vibratory Physics
Sacred Science - Sacred Life
http://www.svpvril.com
SVP Discussion Forum:


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



--
Life, Light, Love and Laughter,
Dale Pond
Sympathetic Vibratory Physics
Sacred Science - Sacred Life
http://www.svpvril.com
SVP Discussion Forum:
http://groups.yahoo.com/group/svpvril/


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


Re: animated GIF

2003-08-25 Thread Dar Scott
On Sunday, August 24, 2003, at 04:24 AM, Klaus Major wrote:

or should I do something to start and stop it?
Not necessarily necessary :-)
Thanks!  Supporting evidence:  When I hide it and then Show Invisible 
Objects, the animation is frozen.  (This can be handy in itself.)

Dar


Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services

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


Re: repeat for each....

2003-08-25 Thread FlexibleLearning
on tryLoopFor
 put "a,b,c,d,e,f" into charList
 repeat for each item n in charList
 put item n of charList into line n of newCharList ** put n of charList into...
 end repeat
 put newCharList "for"
end tryLoopFor

The variable n contains the item value, not the number of the item... Ech time the routine cycles, n takes on the value of the next item in charList.

But you have a wee problem using 'for each' in your example above given thant n is not a number so you cannot use it to refer to a line of newCharList. Either try including an incrementor, or stick to your original 'repeat with n=1 to ...' system.

hth

/H



Re: Paint Tools

2003-08-25 Thread Dale Pond
Jim Hurley wrote:

Dale,

I chose some numbers for a,b,d,... etc. in your script and it worked 
for me. It drew two rectangle and a line. Is it possible that your 
line was masked by the rectangles?

May I suggestion that you might find Turtle Graphics to be helpful for 
the pencil drawings you are doing? It will be found under 
TurtleGraphics.rev on my web site:

http://home.infostations.net/jhurley/

Jim

Wow! It works!? That's great news. I think the problem lies in how Rev 
draws. Here is a quote from the Documentation:

If you try to paint with the pencil on a card that has no images, an 
image the size of the card is created to hold the painting. If the 
current card already has one or more images, painting outside the image 
has no effect.

So on a new card the pencil will draw on a created image. But on this 
imported card the image is either not being created when initiating the 
draw or something else is (not) happening. The card already has an image 
which holds the fld names, b, e, d and a (imported this way). So do I 
somehow create a second image? Or maybe I can show the fld names and 
delete the existing image? I'll give it a whirl. I'll check out your 
Turtle Graphics. For some time I've suspected Turtle (Logo) graphics 
might be what I'm ultimately looking for but haven't found a way to use 
it yet.

--
Life, Light, Love and Laughter,
Dale Pond
Sympathetic Vibratory Physics
Sacred Science - Sacred Life
http://www.svpvril.com
SVP Discussion Forum:
http://groups.yahoo.com/group/svpvril/


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


A Rev-Database used from different OSes

2003-08-25 Thread R. Hillen
Hello list,

I´m working with my co-workers in a mixed environment: Windows, OS9, OSX

In former times (before Rev 2.0) I built some little databases using a 
splash screen as mainstack and a database in a substack.

Building the standalones for Mac OS, Windows and OSX I crossed in the 
distribution-builder Move substacks into individual files and Create 
folder for substacks data.

So I got for each OS a folder with a Program (=standalone of the 
(splash) main stack), say Main_Win, Main_OS9 and Main_OSX and 
identical folders Data with the substack inside.

I then copied the three Main-Programms together with a Data-Folder in a 
common folder to our shared NT-server, so all could use the database 
from their OSes.

Now with  Rev 2.0 there is a problem with OSX. If you build a 
standalone, the Distribution-builder builds a package with the 
database-substack inside. So I can´t use my method as written above.

I think, the possibility to build a package is ok, but I would like to 
have also the old arrangement with data-folder outside the package.

Do you know a solution for this problem?

Thanx in advance

Richard Hillen.

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


Launch command alternatives?

2003-08-25 Thread yoy
launch myDoc with myApp

It fails if myApp is already open. Well that's kinda/sorta what my launch
app needs to do often.

Any ideas?

Thanks,

Andy

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


application browser: order of substacks?

2003-08-25 Thread Alex Rice
Is it possible to change the order that the Application Browser 
displays substacks? The order created is not always the best sequence 
to display them in. I've got a lot of substacks and makes using the app 
browser more difficult.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Font size changes for no good reason

2003-08-25 Thread Barry Levine
I'm developing a Windows app. I have a field on each card for which 
I've specified Arial 24 point in the Property Inspector. I've done this 
on each card.

When I build a distribution -for Windows- the font ends up Arial 18. 
I've tried building the distribution with the checkboxes for fonts  
colors both checked and unchecked; there's no difference. In both case, 
the stand-alone is 18 point.

I haven't even tried a distribution on OSX but I think I'll tweak it 
and build the distribution on my Mac for that platform.

Any idea what's wrong?

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


Re: Scrollbar oddity

2003-08-25 Thread Ray G. Miller
Listers,
Have a possible bug in the scrollbars.
I have a window which displays thumbnail-sized pix-- 2 columns by 3 
rows-- that is, six pictures are displayed at one time.

The user can mark any pix by a checkBox under each picture. He can 
then switch between the main database and the marked list by flipping a 
toggle.

The problem is than if the user selects less than 7 pix, then flips to 
the marked list and then back to the main list, the lineIncrement and 
the pageIncrement go wonkie. The scrollBar sez it's set to 5 and 76, 
repectively!

Selecting 7 or more pix will normalize the scrollBar.

Any ideas?


on setTheScrollBar
  global gLineInc,gPageInc -- gLineInc is set elsewhere at 152
  put the number of lines in fld ed.thePixDB into theNum
  put 6 into numOfPix ## in the display
  put ((theNum) + (theNum mod 2) - numOfPix) * gLineInc into theEnd
  if theEnd  gLineInc then put gLineInc into theEnd ### less than 6 
pix to show

  set the startValue of part thePixScroll to gLineInc
  set the endValue of part thePixScroll to theEnd
  put 2 * gLineInc into theLineInc ### to scroll properly 'cause it's 2 
pix wide

  set the lineIncrement of part thePixScroll to theLineInc
  set the pageIncrement of part thePixScroll to gPageInc
  ## put  theLineInc , gPageInc
  ## should be 912,304 but becomes 76,5 if number of pix  7 !!
  set the thumbPos of part thePixScroll to gLineInc

  ##  set the thumb size
  put (gPageInc/numOfPix) + (theLineInc/4) - gLineInc into theThumSiz
  set the thumbSize of part thePixScroll to theThumSiz
  ##  show how many marked record
  put 1 of   theNum   records into fld theCount
  scrollThisList gLineInc ### reset to top of scroll
end setTheScrollBar
Ray G. Miller
__
Turtlelips Productions
4009 Everett Ave.
Oakland, CA 94602
MailTo:[EMAIL PROTECTED]
(V) 510.530.1971
(F) 510.482.3491
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


problem positioning a sub stack using globalLoc

2003-08-25 Thread Chris Sheffield
I have a sub stack that I want to open when a user clicks on a list of
words.  I'm trying to position the sub stack right over the top of this list
of words, which are in a group called Key Words.  Obviously I can't use
the location of that group, since it's relative to the main stack and not to
the screen.  So I thought I'd try the globalLoc function, which seems to
return the correct value when used in the Message Box, but not when I use it
in a script.  I copied and pasted this line of code

put the globalLoc of (the loc of grp Key Words of cd Prediction of stack
RNStories)

directly from my script into the message box, and the returned values are
not consistent.

Is there a better way to do this?  How can I set the loc of a sub stack so
that it covers an object in my main stack?

Thanks,

Chris Sheffield
Software Development
Read Naturally
[EMAIL PROTECTED]




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


Re: Launch command alternatives?

2003-08-25 Thread Rob Cozens
launch myDoc with myApp

It fails if myApp is already open.
Hi Andy,

What are the symptoms of failure?

According to Transcript Dictionary,

If the application is already running, the launch command does 
nothing, and 'Process is already open.' is placed in the result 
function.; so you should be doing something like:

	launch myDoc with myApp
	get the result
	if it is not empty and it is not Process is already open. 
then answer Launch failed. 
--
Rob Cozens, CCW
Serendipity Software Company
http://www.oenolog.net/who.htm

And I, which was two fooles do so grow three.
 Who are a little wise, the best fooles bee.
From The Triple Foole
by John Donne 1573-1631
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


custom property with empty key name.

2003-08-25 Thread Alex Rice
I have a stack that has an empty line as it's first custom property 
name. The properties inspector won't let me rename or delete it.

msg box: put the customKeys of stack Administration Facility

importedCards
isFacCalc
revstack
namespace
clipsDriver
(There is an empty line before importedCards) How can a work around 
this annoyance?

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Reminder: SoCal Mini-RevDevCon Tuesday night

2003-08-25 Thread Richard Gaskin
Just a reminder that the next Southern California RevDevCon will be on
Tuesday, August 26, at 7pm here at the Fourth World Embassy in downtown Los
Angeles.

These RevDevCons are small informal gatherings of Revolution and MetaCard
developers in which we talk code, solve problems, and enjoy the rare treat
of seeing listees in person.

The agenda for the meeting has changed to include a presentation by Scott
Rossi who's coming down from the SF Bay area to attend:

7:00 - 7:30:  Introductions, gab about code.

7:30 - 8:30:  We'll walk 50 yards to the restaurant in this
  complex, Barabara's (which has an excellent
  wine list) for dinner and more gabbing.

8:30 - 9:00:  We return to the Embassy where Geoff Canyon will
  give a presentation about some cool new stuff
  he's been working on.

9:00 - 9:30:  Scott Rossi will share some nifty tools he's crafted.

9:30 -?:  Gab some more and eventually call it a night.

If you'd like to attend just show up.  If you need directions drop me an
email and I'll send 'em to you.

See ya' then

-- 
 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


Re: Reminder: SoCal Mini-RevDevCon Tuesday night

2003-08-25 Thread Judy Perry
Richard,

If you ever do one in the San Diego area...

Judy

On Mon, 25 Aug 2003, Richard Gaskin wrote:

 Just a reminder that the next Southern California RevDevCon will be on
 Tuesday, August 26, at 7pm here at the Fourth World Embassy in downtown Los
 Angeles.

 These RevDevCons are small informal gatherings of Revolution and MetaCard
 developers in which we talk code, solve problems, and enjoy the rare treat
 of seeing listees in person.

 The agenda for the meeting has changed to include a presentation by Scott
 Rossi who's coming down from the SF Bay area to attend:

 7:00 - 7:30:  Introductions, gab about code.

 7:30 - 8:30:  We'll walk 50 yards to the restaurant in this
   complex, Barabara's (which has an excellent
   wine list) for dinner and more gabbing.

 8:30 - 9:00:  We return to the Embassy where Geoff Canyon will
   give a presentation about some cool new stuff
   he's been working on.

 9:00 - 9:30:  Scott Rossi will share some nifty tools he's crafted.

 9:30 -?:  Gab some more and eventually call it a night.

 If you'd like to attend just show up.  If you need directions drop me an
 email and I'll send 'em to you.

 See ya' then

 --
  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


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