Re: different windows in the same stack

2002-11-02 Thread Jan Schenkel
--- yves COPPE [EMAIL PROTECTED] wrote:
 Hello,
 
 I've tried to go to different cds in the same stack
 but don't reach my goal :
 
 I'd like to go to some cds of the stack as modal
 and some other cds of the same stack as toplevel
 
 go to cd one of stack myStack as modal
 
 
 when I'm on this cd, I have a btn with this script
 go to cd two of stack myStack as toplevel
 
 
 It makes problems.
 
 
 Is it possible to do such a thing ?
 -- 
 Greetings.
 
 Yves COPPE
 

Hi Yves,

My first response would be that you should move the
'modal' cards into one or more substacks.
You could try to 'clone this stack' but maintaining
any data sets and knowing which stack you're in could
very well become a problem at that point.
Maybe we can provide an alternative approach if you
tell us why you would want to keep these 'modal' cards
in your stack at all cost?

Bestregards,

Jan Schenkel.

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: different windows in the same stack

2002-11-02 Thread yves COPPE


Hi Yves,

My first response would be that you should move the
'modal' cards into one or more substacks.
You could try to 'clone this stack' but maintaining
any data sets and knowing which stack you're in could
very well become a problem at that point.
Maybe we can provide an alternative approach if you
tell us why you would want to keep these 'modal' cards
in your stack at all cost?



To avoid access to menus in the menubar (mac OS X)
--
Greetings.

Yves COPPE

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



Re: different windows in the same stack

2002-11-02 Thread Jan Schenkel
--- yves COPPE [EMAIL PROTECTED] wrote:
 
 
 Hi Yves,
 
 My first response would be that you should move the
 'modal' cards into one or more substacks.
 You could try to 'clone this stack' but maintaining
 any data sets and knowing which stack you're in
 could
 very well become a problem at that point.
 Maybe we can provide an alternative approach if you
 tell us why you would want to keep these 'modal'
 cards
 in your stack at all cost?
 
 
 To avoid access to menus in the menubar (mac OS X)
 -- 
 Greetings.
 
 Yves COPPE
 

Hi Yves,

You could always act as-if the stack is modal by
disabling the menus yourself. As menus are essentially
buttons, use the 'disable' command:
  disable btn File

Hope this helped,

Jan Schenkel.

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: different windows in the same stack

2002-11-02 Thread yves COPPE

You could always act as-if the stack is modal by
disabling the menus yourself. As menus are essentially
buttons, use the 'disable' command:
  disable btn File

Hope this helped,




I thought to do it so but with some lock messages here and there I 
had problems;

I will trace the lock messages and make as you say diasble btn.

Thank you.
--
Greetings.

Yves COPPE

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


Correct shell command

2002-11-02 Thread curry
I'm trying to figure out a reliable way to set the user's 
shellcommand properly for his or her system. Is cmd.exe always the 
right shell for Windows 2K and XP?

I've been thinking along these lines:

on setshell
  set the hideconsolewindows to true
  get shell(vol)
end setshell

on errordialog x
  if setshell is in x then
set the shellcommand to cmd.exe
  end if
end errordialog

Would something like this be dependable? Is there a better way?

Thanks,

Curry Kenworthy

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


Screenmouseloc

2002-11-02 Thread Richard D. Miller
Can't get the screenmouseloc() command to work under OS 9.2, even enclosing
the coordinates in quotes. Does this work for others?


-- 
Best regards,
Richard Miller, CEO
Advanced Training Systems, Inc.

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



Re: iCalendar/vCalendar (OT: joke)

2002-11-02 Thread erik hansen
 
  (although V isn't the symbol for voltage
  anymore, it now is U)
 
 Now I feel really old.

V is for volt
U is for ?

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: iCalendar/vCalendar (OT: joke)

2002-11-02 Thread miscdas
So what standards body issued the U for voltage?  And, is U still expressed 
in volts? 

miscdas 

Sjoerd Op 't Land writes: 

erik hansen wrote/ schreef: 

V is for volt
U is for ?

voltage 

as: 

A is for ampere
I is for current 

R is for resistance
‡ is for ohms 

Regards, / Groeten,
Sjoerd

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



Re: Screenmouseloc

2002-11-02 Thread Sjoerd Op 't Land
Richard D. Miller wrote/ schreef:

 Can't get the screenmouseloc() command
A bit more precise, the screenmouseloc is a global property (a bit like a
function, but it is settable.

 to work under OS 9.2, even enclosing the coordinates in quotes. Does this work
 for others?
I guess you mean setting it here. On MacOS 9.0.4 (here) it doesn't work. I
heard something like that it only worked on Windows.

Regards, / Groeten,
Sjoerd

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



Re: iCalendar/vCalendar (OT: joke)

2002-11-02 Thread Sjoerd Op 't Land
[EMAIL PROTECTED] wrote/ schreef:

 So what standards body issued the U for voltage?
SI (system internationale)

 And, is U still expressed in volts?
Yes.

I propose to stop this OT-thread. If you have any questions about
electronics, mail me or search the web, but let's stop posting it here.

Regards, / Groeten,
Sjoerd

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



Re: Relational database capabilities?

2002-11-02 Thread Bruce Robertson
 There's loads of stuff about FileMaker and Rev in the searchable archives at
 
 http://www.google.com/advanced_search?q=site:lists.runrev.com
 
 I prefer the web companion method, which briefly...
 
 Quote
  You can use FileMaker Pro web companion to  exchange  data between FMP
 and Rev either on the local network or on the internet.
 
 Normally, all you have to do  (after  setting up web companion) is to send
 
 put http://folderInPath/folderWithResponseFile/FMPro; into theURL
 post
 -db=MyDbNameHere-lay=DBLayoutNameHere-format=FormatFileName.html-findAll
 
 put urlDecode(it) 


This reply is rather discontinuous. None of the statements seem to relate to
each other. First a variable is declared, then never used. Then a post
statemenet is issued. Then you put something, referring to a variable that
hasn't been defined, and not actually putting it anywhere.

I have searched the referenced site and can't find the orginal which this
quote is supposed to have come from.

Is there a real and complete example of this technique somewhere?

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



Repeats repeated

2002-11-02 Thread Terry Vogelaar
Hi all,

Last week I asked a question about filtering the double lines in a var 
with many lines. The list helped very well by pointing out that I 
shouldn't use repeat with, but repeat for each, which brought the 
processing time back from 60 hours to 4 seconds (!)

So I tried the same technique with another script that has a triple 
repeat loop. The var t contains about 150 short lines and the script 
is intended to put every possible combination of 3 lines of t into a 
field:

  repeat with f1 = 1 to the number of lines of t - 2
put line f1 of t into g1
repeat with f2 = f1+1 to the number of lines of t - 1
  put line f2 of t into g2
  repeat with f3 = f2+1 to the number of lines of t
   put line f3 of t into g3
   put g1,g2,g3 return after fld uitvoer
  end repeat
end repeat
  end repeat

That took 101 seconds. So I tried to speed it up with what I learned 
about repeat for each:

  put line 1 to -3 of t into t1
  put 0 into f1
  repeat for each line g1 in t1
add 1 to f1
put line f1+1 to -2 of t into t2
put 0 into f2
repeat for each line g2 in t2
  add 1 to f2
  put line f2+1 to -1 of t into t3
  repeat for each line g3 in t3
put g1,g2,g3 return after fld uitvoer
  end repeat
end repeat
  end repeat

364 seconds! And I thought it would be faster!  It involved some extra 
vars, but since it is not much data processed, I don't think memory 
issues could explain this.

Any thoughts why this is much slower than the original script and how I 
can speed this up?

Terry


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


Re: Repeats repeated

2002-11-02 Thread Richard Gaskin
Terry Vogelaar wrote:

 Last week I asked a question about filtering the double lines in a var
 with many lines. The list helped very well by pointing out that I
 shouldn't use repeat with, but repeat for each, which brought the
 processing time back from 60 hours to 4 seconds (!)
 
 So I tried the same technique with another script that has a triple
 repeat loop. The var t contains about 150 short lines and the script
 is intended to put every possible combination of 3 lines of t into a
 field:
 
 repeat with f1 = 1 to the number of lines of t - 2
 put line f1 of t into g1
 repeat with f2 = f1+1 to the number of lines of t - 1
 put line f2 of t into g2
 repeat with f3 = f2+1 to the number of lines of t
 put line f3 of t into g3
 put g1,g2,g3 return after fld uitvoer
 end repeat
 end repeat
 end repeat
 
 That took 101 seconds. So I tried to speed it up with what I learned
 about repeat for each:
 
 put line 1 to -3 of t into t1
 put 0 into f1
 repeat for each line g1 in t1
 add 1 to f1
 put line f1+1 to -2 of t into t2
 put 0 into f2
 repeat for each line g2 in t2
 add 1 to f2
 put line f2+1 to -1 of t into t3
 repeat for each line g3 in t3
 put g1,g2,g3 return after fld uitvoer
 end repeat
 end repeat
 end repeat
 
 364 seconds! And I thought it would be faster!  It involved some extra
 vars, but since it is not much data processed, I don't think memory
 issues could explain this.
 
 Any thoughts why this is much slower than the original script and how I
 can speed this up?

Every time you count a line number it eats time.  Arrays are faster for this
-- check out the split and combine commands to see how to convert chunks to
arrays andback again.

Also, take anything that touches a field out of the loop for an even greater
speed increase.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 2.0: Publish any database on any 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: Repeats repeated

2002-11-02 Thread David Vaughan

On Sunday, Nov 3, 2002, at 17:13 Australia/Sydney, Terry Vogelaar wrote:


Hi all,


snip


So I tried the same technique with another script that has a triple 
repeat loop. The var t contains about 150 short lines and the script 
is intended to put every possible combination of 3 lines of t into a 
field:

  repeat with f1 = 1 to the number of lines of t - 2
put line f1 of t into g1
repeat with f2 = f1+1 to the number of lines of t - 1
  put line f2 of t into g2
  repeat with f3 = f2+1 to the number of lines of t
   put line f3 of t into g3
   put g1,g2,g3 return after fld uitvoer
  end repeat
end repeat
  end repeat

That took 101 seconds. So I tried to speed it up with what I learned 
about repeat for each:

  put line 1 to -3 of t into t1
  put 0 into f1
  repeat for each line g1 in t1
add 1 to f1
put line f1+1 to -2 of t into t2
put 0 into f2
repeat for each line g2 in t2
  add 1 to f2
  put line f2+1 to -1 of t into t3
  repeat for each line g3 in t3
put g1,g2,g3 return after fld uitvoer
  end repeat
end repeat
  end repeat

364 seconds! And I thought it would be faster!  It involved some extra 
vars, but since it is not much data processed, I don't think memory 
issues could explain this.

Any thoughts why this is much slower than the original script and how 
I can speed this up?

Terry

I can see why repeat for each failed here - you need to extract subsets 
of the main list for each of the inner RFE loops for each time through 
its outer loop. Thus, you are extracting by line numbers and doing more 
work than in the first instance. RFE is fast through each sub-list but 
the work of continually creating new lists is an overwhelming burden. 
Not sure how to solve it using arrays as you seem to wind up with the 
same problem only this time fiddling with keys. Since Richard suggested 
that approach, perhaps he has something in mind.

regards
David

Terry


___
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



Re: Relational database capabilities?

2002-11-02 Thread Jan Schenkel
--- Bruce Robertson [EMAIL PROTECTED] wrote:
 [snip]
 
 This reply is rather discontinuous. None of the
 statements seem to relate to
 each other. First a variable is declared, then never
 used. Then a post
 statemenet is issued. Then you put something,
 referring to a variable that
 hasn't been defined, and not actually putting it
 anywhere.
 
 I have searched the referenced site and can't find
 the orginal which this
 quote is supposed to have come from.
 
 Is there a real and complete example of this
 technique somewhere?
 

Hi Bruce,

Actually, all that was missing was a target URL at the
end of the 'post' command. So it should have read:

put http://folderInPath/folderWithResponseFile/FMPro;
  into theURL
post
-db=MyDbNameHere-lay=DBLayoutNameHere-format=FormatFileName.html-findAll
to theUrl
put urlDecode(it)

At any rate, I went sniffing around my own archives,
and retrieved the following post from the
use-revolution archives:
http://lists.runrev.com/pipermail/use-revolution/2002-March/002769.html

Hope this helped,

Jan Schenkel.

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution