Movie question

2004-01-30 Thread Yves COPPE
Hi list,

On Mac OS X 10.3.2 with rev 2.1.2

I have Qt file

this Qt file can be acessed by a filepath which is in a variable : 
filepathTomovie

I'd like to take off from this QT file the first picture to display in 
an image control

Is it possible ??

thank you.

Greetings.

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


Question about the revVideoGrabIdle loop

2004-01-30 Thread Doug Lerner
If you have the following in a handler:

  repeat while recordvideo is true
revVideoGrabIdle
wait for 1 millisecond with messages
  end repeat

then the handler never finishes, right? I have this in my openStack handler.
It seems to work ok, but is it ok to never actually finish the openStack
handler?

doug

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


avoiding weird effects when moving the video grabber window

2004-01-30 Thread Doug Lerner
When the video grabber window first appears it is in the upper left corner
and then jumps into my step because I have set its rectangle in the
openStack handler.

Similarly, when I move the stack "containing" the video grabber, first the
stack moves and then the video grabber comes after it.

Any way of avoiding these two odd effects?

Thanks,

doug

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


Re: Suppressing a message?

2004-01-30 Thread J. Landman Gay
On 1/30/04 7:59 AM, Doug Lerner wrote:



4. the "unlock messages" took place essentially instantly after the graphic
was deleted, but before the deleteGraphic message was sent (since it is a
separate message that is sent when the graphic is actually removed from the
stack).
This may be where you go off base. All the "deleteSomething" messages 
are sent immediately *before* the object is deleted. It notifies you 
that a deletion is about to occur.

The lock messages locks all the messages *associated with* the deletion of
the graphic, even if there are dozens of rev messages sent out after the
graphic is deleted?
That is what I wanted to clarify.
Locking messages stops all of them until messages are unlocked again, or 
until the handler ends. Messages always resume on idle.

The rev-related messages aren't sent during your handlers anyway (well, 
not most of the time, there could be rare exceptions.) When you lock 
messages in a handler, the lock is only effective within that one handler.

If your handler calls other handlers, then the lock on messages will 
remain effective until the original calling handler ends, or until 
either of the handlers unlocks it.

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


a good PC analog to iMovie for RunRev?

2004-01-30 Thread erik hansen

is there a good PC analog to iMovie for RunRev?.

thanks,

Erik

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


iconic crash boom bam

2004-01-30 Thread Thomas McGrath III
I created a new stack with decorations set to empty and the rect of the 
window set to the screen size. I put a button on my no decorations 
stack to iconic it.
It seems (no docs to support it) that the iconic will not work with out 
the decorations set. BUT when I temporarily set the decorations and 
try, IT CRASHES badda bing.

--in button
on mouseUp
lock screen
set the decorations of this stack to "Title,minimize"
set the iconic of this stack to true
unlock screen
end mouseUp
--in stack
on unIconifyStack
set the decorations of this stack to empty
end unIconifyStack
That's it... This crashes revolution every time I try it.

What is causing the crash?

Tom
Below is part of the crash report because the whole report is too big 
for Userev.



Date/Time:  2004-01-30 21:46:52 -0500
OS Version: 10.3.2 (Build 7D24)
Report Version: 2
Command: Revolution
Path:/Applications/Revolution 
2.1.2/Revolution.app/Contents/MacOS/Revolution
Version: 2.1.2 (2.1.2)
PID: 1359
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:  KERN_INVALID_ADDRESS (0x0001) at 0x642031a0
Thread 0 Crashed:
0   com.apple.HIToolbox   	0x92830f24 
HIObject::IsAccessibilityIgnored() + 0
1   com.apple.HIToolbox   	0x927da850 
WindowData::BaseHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, 
void*) + 0x5b4
2   com.apple.HIToolbox   	0x927d2384 DispatchEventToHandlers + 
0x150
3   com.apple.HIToolbox   	0x927d25f8 
SendEventToEventTargetInternal + 0x174
4   com.apple.HIToolbox   	0x9282909c CallNextEventHandler + 0x3c
5   ???   	0x000e1dd0 
WinEvtHndlr__FP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 0x194
6   com.apple.HIToolbox   	0x927d2384 DispatchEventToHandlers + 
0x150
7   com.apple.HIToolbox   	0x927d25f8 
SendEventToEventTargetInternal + 0x174
8   com.apple.HIToolbox   	0x927d6a60 
SendEventToEventTargetWithOptions + 0x28
9   com.apple.HIToolbox   	0x9282bce0 SendSimpleWindowEvent + 0x60
10  com.apple.HIToolbox   	0x929aa470 
CollapseWindowInternal(OpaqueWindowPtr*, unsigned char, unsigned char) 
+ 0x244
11  com.apple.HIToolbox   	0x9285d120 
SelectWindowInGroup(WindowData*, WindowContext*, OpaqueWindowGroupRef*) 
+ 0x98
12  com.apple.HIToolbox   	0x92883320 SelectWindow + 0x28
13  com.apple.HIToolbox   	0x92965970 RestoreWindowFromDock + 0x5c
14  com.apple.HIToolbox   	0x92800dbc HandleWindowEvent + 0xd64
15  com.apple.HIToolbox   	0x9281bccc BasicWindowHandler + 0x340
16  com.apple.HIToolbox   	0x927d2384 DispatchEventToHandlers + 
0x150
17  com.apple.HIToolbox   	0x927d25f8 
SendEventToEventTargetInternal + 0x174
18  com.apple.HIToolbox   	0x927d6a60 
SendEventToEventTargetWithOptions + 0x28
19  com.apple.HIToolbox   	0x929a6bb4 
SelectWindowFromDock(WindowData*) + 0x80
20  com.apple.HIToolbox   	0x92847f24 DockCallback(unsigned long, 
void*, void*, void*) + 0x158
21  com.apple.HIServices  	0x92d489d8 _DCXSelectWindow + 0x38
22  com.apple.HIServices  	0x92d48988 _XSelectWindow + 0x50
23  com.apple.HIServices  	0x92d43938 DockClientDefs_server + 0xa8
24  com.apple.HIServices  	0x92d43828 dockClientMachCallback + 0x18
25  com.apple.CoreFoundation  	0x901ad4d0 __CFMachPortPerform + 0xe0
26  com.apple.CoreFoundation  	0x901a9c54 __CFRunLoopDoSource1 + 0xc8
27  com.apple.CoreFoundation  	0x90191b20 __CFRunLoopRun + 0x540
28  com.apple.CoreFoundation  	0x901960bc CFRunLoopRunSpecific + 0x148
29  com.apple.HIToolbox   	0x927d632c RunCurrentEventLoopInMode + 
0xac
30  com.apple.HIToolbox   	0x927d9408 GetNextEventMatchingMask + 
0x1a0
31  com.apple.HIToolbox   	0x927ecebc WNEInternal + 0xa0
32  com.apple.HIToolbox   	0x927fdb90 WaitNextEvent + 0x4c
33  ???   	0x000d8d90 
handle__10MCScreenDCdUcUcRUcn1 + 0x2ac
34  ???   	0x000d6a28 wait__10MCScreenDCdUcUc + 
0x104
35  ???   	0x00097628 X_main_loop + 0x118
36  ???   	0x000f0ea0 main + 0x2c
37  ???   	0x3fbc _start + 0x17c
38  ???   	0x3e3c start + 0x30

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


iconic

2004-01-30 Thread Thomas McGrath III
I am having a real problem with the iconic property.

The docs say that you can set the iconic of a stack to true to minimize 
it BUT with my stack which has the decorations off it not only does not 
do anything but it also stops all of my buttons from executing. The 
buttons highlight normally but clicking them does not do anything.
I set the iconic to false but nothing is changed.

The docs do not mention anything about the decorations for use with 
iconic.

Does anyone have any ideas on the true behavior of iconic?

Thanks

Tom

Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 
2.1.2

Advanced Media Group
Thomas J McGrath III• 2003 •  [EMAIL PROTECTED]
220 Drake Road, Bethel Park, PA 15102
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


List field behavior

2004-01-30 Thread Robert Presender
I must be doing something wrong.  Help will be appreciated.

Using OS 10.2.8 and 2.1RC1
I have a list field with three lines in a test stack.  When line 2 is 
deleted (via msg box),
line 2 is deleted but line 3 does not move into line 2's place. The 
number of lines still shows 3.  In SuperCard,  Line 3 moves to line 2's 
position and the number of lines is 2.
If I add a line(via the msg box), the added line goes into the deleted 
line 2 position.

Is this normal behavior?  TIA
Regards ... Bob
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Windowscript

2004-01-30 Thread Ken Ray
If you want to know more about Tom and what he's been up to, you can go
to:

http://www.sbuniv.edu/~tpittman/IttyBitty/Pittman.html

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Ray G. Miller
> Sent: Thursday, January 29, 2004 3:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Windowscript
> 
> 
> From: Rob Cozens <[EMAIL PROTECTED]>
> 
> >>Tom is out the loop. He's realy bitter about Apple and HC. He even
> >>offered CompileIt! to the hyperCard team but they snubbed him.The 
> >>last time I talked with him, he said that he was finished with all 
> >>xTalks.
> >  
> >
>  >  My recollection from AHUG gossip was when Tom went to write a PPC 
> version of CompileIt!, he asked
>  > Apple for specific information he need and/or guarantees that the 
> internal PPC architecture would not
>  > change, and whatever he needed was not given to him.
> 
> 
> Yep, your memory recall is better than mine.  That was the 
> trigger. Too bad.
> 
> 
> 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
> 


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


iconic

2004-01-30 Thread Thomas McGrath III
Can anyone explain to me why set the iconic of this stack to true does 
not send it to the dock like the docs say it will? I have all 
decorations off for the stack. I need them off for space reasons. But I 
still want to minimize my window.

The docs don't mention a relationship for iconic with decorations

Thank you
Tom
Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 
2.1.2

Advanced Media Group
Thomas J McGrath III• 2003 •  [EMAIL PROTECTED]
220 Drake Road, Bethel Park, PA 15102
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: web cam capture

2004-01-30 Thread Doug Lerner
Hi, Tom.

I'll look at the sample stack.

Thanks,

doug

On 1/31/04 9:59 AM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:

> Doug,
> 
> Apple said the iSight would not work with iPhoto or iMovie and was not
> meant to do such. Also iChat will not let you access the built-in
> controls found in iSight. REV let me control everything. I mean
> everything. The focus on the iSight is way cool. Other features are
> great as well.
> 
> But pay close attention to opening the videograb session and 'closing'
> the session. I forgot and caused a bit of weird stuff.
> 
> I tried it on my own first and then went and checked out the sample
> stack provided and it all came into place.
> 
> TOm
> 
> On Jan 30, 2004, at 5:59 PM, Doug Lerner wrote:
> 
>> Thanks, Tom. I'll try some more. My initial tests failed, but I'll
>> keep at
>> it.
>> 
>> By the by, Apple does say that iSight is meant to be accessed by other
>> apps.
>> That is their excuse for not bundling iChat with it, which so many
>> Jaguar
>> users complain about.
>> 
>> doug
>> 
>> On 1/31/04 12:37 AM, "Thomas McGrath III" <[EMAIL PROTECTED]>
>> wrote:
>> 
>>> doug,
>>> 
>>> The video capabilities were camera independent so "IF" the camera can
>>> be accessed by 'other' programs it probably can be accessed by REV. In
>>> the case of iSight which apple says is not meant to be accessed by
>>> other apps, REV can see it just fine AND control all kinds of features
>>> in it that can't even be controlled by apples own apps.
>>> 
>>> So if the driver for the camera is 'standard' enough to work in say
>>> "oculus" or some other web app then REV can definitely handle it.
>>> 
>>> I had great results after playing around with it a little bit.
>>> 
>>> tom
>>> 
>>> On Jan 30, 2004, at 6:12 AM, Doug Lerner wrote:
>>> 
 Just some general questions to the group - I notice that Revolution
 has
 video camera capturing features. It seems that this would be hard to
 implement across platforms, different camera models and different
 interfaces
 (USB and Firewire - like iSight).
 
 How do people find the robustness and cross-platform/cross-product
 usability
 of the video capture features?
 
 Does this work as well with webcams as with video cameras?
 
 Thanks,
 
 
 doug
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
>>> 
>>> Thomas J. McGrath III
>>> SCS
>>> 1000 Killarney Dr.
>>> Pittsburgh, PA 15234
>>> 412-885-8541
>>> 
>>> ___
>>> 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
>> 
>> 
> 
> Thomas J. McGrath III
> SCS
> 1000 Killarney Dr.
> Pittsburgh, PA 15234
> 412-885-8541
> 
> ___
> 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: web cam capture

2004-01-30 Thread Thomas McGrath III
Doug,

Apple said the iSight would not work with iPhoto or iMovie and was not 
meant to do such. Also iChat will not let you access the built-in 
controls found in iSight. REV let me control everything. I mean 
everything. The focus on the iSight is way cool. Other features are 
great as well.

But pay close attention to opening the videograb session and 'closing' 
the session. I forgot and caused a bit of weird stuff.

I tried it on my own first and then went and checked out the sample 
stack provided and it all came into place.

TOm

On Jan 30, 2004, at 5:59 PM, Doug Lerner wrote:

Thanks, Tom. I'll try some more. My initial tests failed, but I'll 
keep at
it.

By the by, Apple does say that iSight is meant to be accessed by other 
apps.
That is their excuse for not bundling iChat with it, which so many 
Jaguar
users complain about.

doug

On 1/31/04 12:37 AM, "Thomas McGrath III" <[EMAIL PROTECTED]> 
wrote:

doug,

The video capabilities were camera independent so "IF" the camera can
be accessed by 'other' programs it probably can be accessed by REV. In
the case of iSight which apple says is not meant to be accessed by
other apps, REV can see it just fine AND control all kinds of features
in it that can't even be controlled by apples own apps.
So if the driver for the camera is 'standard' enough to work in say
"oculus" or some other web app then REV can definitely handle it.
I had great results after playing around with it a little bit.

tom

On Jan 30, 2004, at 6:12 AM, Doug Lerner wrote:

Just some general questions to the group - I notice that Revolution 
has
video camera capturing features. It seems that this would be hard to
implement across platforms, different camera models and different
interfaces
(USB and Firewire - like iSight).

How do people find the robustness and cross-platform/cross-product
usability
of the video capture features?
Does this work as well with webcams as with video cameras?

Thanks,

doug

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

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
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

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


age calculator

2004-01-30 Thread Douglas Mackay
Hello all , i am struggling to understand the scipts in this program . the prorame was 
downloaded from
http://www.runrev.com/revolution/developers/developerdownloads/usercontributions.html
 the things I dont understand are :
It wont calculate my age from thease two inputs : date of birth  8/2/1961 , assesment 
date 30/1/2004

and how do parameters work , where does param(1) and param(2) come from 

if centurycutoff  is set to 35 why does it work for dates from 1970 onwards only 

I am using version RR 1.1.1. (it was a freebie on a magazine) full version aparently 

oh and one more question please why have a correction and add it to item 3 of enddate?

many thanks from a novice 

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


Re: Threads? [was] Re: displaying messages returned from "shell" and Re: Socket Time Out Interval

2004-01-30 Thread Dar Scott
On Friday, January 30, 2004, at 02:32 PM, Alex Rice wrote:

On Jan 30, 2004, at 2:22 PM, Scott Rossi wrote:
But overall, using "send in" and "wait with messages" constructs
allow the equivalent of threaded events.
It's good for things that are coded in transcript, but it does not 
work if you are dealing with blocking IO, shell scripts, system calls, 
etc. - things that need to wait, but are not coded in transcript.
Yes.  For example, opening the internal modem on OX X locks for 3 
seconds.  I believe this even occurs on a non-blocking open for some 
reason.  I might be doing something wrong.  If so, I seem to be in good 
company.

However, I think it reasonable to keep Revolution to an event model.  
(Though I might be convinced otherwise.)

Threads might be pushed beyond these two barriers:

Enhanced 'open process' to command-line Revolution might be a way to do 
this.  This is begging the question in Barry's case, because that is 
where the weakness lies.  But, with this, many doors will be opened.  
(By "enhanced" I mean empty buffer vs closed pipe issues are resolved 
and 'open process' separates input and output pipes for Transcript 
handling.)

The other place is in threads created by and managed by externals (and 
typically written in C).  I have put that off in my projects, and want 
to resolve some things first, but this might end up being a way to go.

Dar Scott

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


Re: web cam capture

2004-01-30 Thread Doug Lerner
Thanks, Tom. I'll try some more. My initial tests failed, but I'll keep at
it.

By the by, Apple does say that iSight is meant to be accessed by other apps.
That is their excuse for not bundling iChat with it, which so many Jaguar
users complain about.

doug

On 1/31/04 12:37 AM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:

> doug,
> 
> The video capabilities were camera independent so "IF" the camera can
> be accessed by 'other' programs it probably can be accessed by REV. In
> the case of iSight which apple says is not meant to be accessed by
> other apps, REV can see it just fine AND control all kinds of features
> in it that can't even be controlled by apples own apps.
> 
> So if the driver for the camera is 'standard' enough to work in say
> "oculus" or some other web app then REV can definitely handle it.
> 
> I had great results after playing around with it a little bit.
> 
> tom
> 
> On Jan 30, 2004, at 6:12 AM, Doug Lerner wrote:
> 
>> Just some general questions to the group - I notice that Revolution has
>> video camera capturing features. It seems that this would be hard to
>> implement across platforms, different camera models and different
>> interfaces
>> (USB and Firewire - like iSight).
>> 
>> How do people find the robustness and cross-platform/cross-product
>> usability
>> of the video capture features?
>> 
>> Does this work as well with webcams as with video cameras?
>> 
>> Thanks,
>> 
>> 
>> doug
>> 
>> ___
>> use-revolution mailing list
>> [EMAIL PROTECTED]
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> 
> 
> Thomas J. McGrath III
> SCS
> 1000 Killarney Dr.
> Pittsburgh, PA 15234
> 412-885-8541
> 
> ___
> 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: Threads? [was] Re: displaying messages returned from "shell" and Re: Socket Time Out Interval

2004-01-30 Thread Alex Rice
On Jan 30, 2004, at 2:22 PM, Scott Rossi wrote:
But overall, using "send in" and "wait with messages" constructs
allow the equivalent of threaded events.
It's good for things that are coded in transcript, but it does not work 
if you are dealing with blocking IO, shell scripts, system calls, etc. 
- things that need to wait, but are not coded in transcript.

--
Alex Rice | Mindlube Software | http://mindlube.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Threads? [was] Re: displaying messages returned from "shell" and Re: Socket Time Out Interval

2004-01-30 Thread Scott Rossi
On 1/30/04 1:04 PM, "Frank Leahy" <[EMAIL PROTECTED]> wrote:

> Between these two email threads lie a common question/issue -- threads.
> Why are there no lightweight threads available in RunRev?  It seems as
> though there's a threading model somewhere underneath. I wonder why it
> hasn't been made explicit, or whether there are any plans to do so.

There are already at least two lightweight threading system present in Rev:
the "send in..." and "wait xx with messages" commands.

These commands allow you have multiple scripts running simultaneously, all
under their own control.  On one project I ran around 40 simultaneous
animation scripts on Mac systems without issue (the Windows version was bit
problematic) but lots of folks on the list are doing this type of thing.

Of course, you'll get some slowdown if you do heavy media actions like
moving image objects, changing blendLevels, loading and unloading media into
players.  But overall, using "send in" and "wait with messages" constructs
allow the equivalent of threaded events.

Regards,

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

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


Kudos to RunRev

2004-01-30 Thread Frank Leahy
I have been working on a photo album product idea for the last month or 
so.  The UI is now finished (album list with mini cover photos, photo 
albums with drag and drop to move images, full-size image window with 
scrolling or scale-to-window, multiple thumbnail and image re-sizing 
options, ftp to server, etc., etc.).  I'm working on the preferences 
now, and it's the easiest preferences I've ever done (it would be an 
absolute nightmare doing the same thing using the Mac Toolbox Dialog 
Manager).  Bottomline, I can't remember the last time I was this 
productive programming-wise.

So, in amongst all the questions and problems that arise on this list, 
I thought the RunRev team might want to know what a great product 
they've got.  Keep up the good work.

Thanks,
-- Frank Leahy
Weblog http://cornwall.backtalk.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


displaying messages returned from "shell"

2004-01-30 Thread Barry Levine
I'm using the "shell" function to call some routines; creating a disk 
image is a good example. There is some verbose data returned which, if 
you use "answer shell(etc., etc.)" provides a dialog with -all- of the 
responses from the shell at one time.

Is there a way to provide this feedback to the user as the individual 
responses occur? It's not a critical item but it would smooth out the 
user interface a bit. I'm thinking of, perhaps, a progress bar with 
some text so the user knows what's going on.

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


Re: [OT] PC-ing A Mac

2004-01-30 Thread Ken Norris
on 1/29/04 4:37 PM, [EMAIL PROTECTED] at
[EMAIL PROTECTED] wrote:

> Date: Thu, 29 Jan 2004 15:10:47 -0800
> From: Scott Rossi <[EMAIL PROTECTED]>
> Subject: [OT] PC-ing A Mac
> 
> A painfully amusing read:
> 
> http://www.overclockers.com/tips1133/index.asp
> 
> At least the leftover parts might be used for something.
---
I bet the kid is dealling with 1000 emails/day asking him to send them the
motherboard!!

Ken N.

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


Re: Socket Time Out Interval

2004-01-30 Thread Pierre Sahores
Le ven 30/01/2004 à 17:01, Ray Horsley a écrit :
> Hi Pierre,
> 
> 
> That did the trick!
> 
> Thanks again,
> 
> 
> Ray Horsley
> Developer, LinkIt! Software

Good Evening Ray,

Have fun and, please, believe me : even if the MC/Rev engine is mostly
undocumentend in about its ability to be used to develop
profesional-grade n-tier applications or server-side applications
servers, it's really one of the two or three best tools availables,
today (and since years - MC 2.32 and up), to share datas over TCP/IP.

Since i use it in such kind of networked workflow apps, i never had to
go back to others platforms such as Weblogic, WebSphere or WebObjects.

The best from the java world (Eclipse, JBoss, Tomcat, the J2EE EJB's
design patterns, Andromda or Hibernate,...) are great tools too but, the
java engines, by them self, ar'nt...

If you are searching about what ACID RDBMS to bind to your MC/Rev apps,
try PostgreSQL (best suited under *NIXes, including MacOSX, than under
Windows. It rooks in all the tasks we can have to manage.

Last but no last, the MC/Rev engine is NOT SUITABLE in about critical
cgi tasks. Choose PHP, Perl or Python instead, even to bind all kind of
MC/Rev applications servers to Apache trough a simple sockets
listener/ports translator.

Hope this helps,
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

[EMAIL PROTECTED]

GSM:   +33 6 03 95 77 70
Pro:   +33 1 41 60 52 68
Dom:   +33 1 64 45 05 33
Fax:   +33 1 64 45 05 33

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire "delta de productivité"
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] browser plugin patents - warning!

2004-01-30 Thread Alex Rice
Just in:


SEATTLE (Reuters) - Microsoft Corp. MSFT.O said on Thursday that the  
U.S. Patent and Trademark Office may come to its rescue and cancel a  
patent that could force the world's biggest software company to rejig  
its most popular product.

Microsoft, of Redmond, Washington, said it was suspending plans to make  
changes to its Windows operating system and Internet Explorer Web  
browser, sparing users headaches caused by tweaking how  
mini-applications run on its software. ...



--
Alex Rice | Mindlube Software | http://mindlube.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: multiple instances of standalone under Windows

2004-01-30 Thread Dar Scott
On Friday, January 30, 2004, at 10:25 AM, Dar Scott wrote:

constant lockPort = "46144"
I think one of the weaknesses of the 'accept' method for checking for 
multiple apps is the potential of collisions here.  The other problem 
is that this will not work if tcp/ip networking is not set up for some 
reason.  You might also want to make sure this does not force a dialup.

Another alternative is to use an external that makes appropriate 
Windows API calls that are designed for checking for multiple instances 
or otherwise handling them.  If you are not up to attacking the 
creation of an external, you can have one made.

Dar Scott

--


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: multiple instances of standalone under Windows

2004-01-30 Thread Dar Scott
On Friday, January 30, 2004, at 09:13 AM, Chris Sheffield wrote:

Thanks for the suggestions, Dar, but I think maybe not understand the
'accept' thing.  It sounds like it should work, but I'm not quite 
getting
it.  You don't by chance have a code sample do you?  How will I know 
if the
accept command fails?
Off the top of my head:


constant lockPort = "46144"
function lockApp  -- returns true iff OK to continue running
  accept datagram connections on port lockPort with message 
closeRightAway
  return the result is empty
end lockApp

function unlockApp
  close socket lockPort
end unlockApp
on closeRightAway socketID, data
  close socket socketId
end closeRightAway
*

The system should close the listening port when the app quits, but you 
might want to put the unlockApp in all the right places, anyway.

The specific message on OS X when the port is busy is "can't bind 
endpoint", but I have noticed that messages do not always line up 
between systems.  You can also check the syserr() to get the OS error 
code if you want to make sure the exact reason of failure is because 
there is another app using the port and not because the networking is 
broken or something.

Dar Scott
--

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: multiple instances of standalone under Windows

2004-01-30 Thread Trevor DeVore
On Jan 29, 2004, at 7:18 PM, Chipp Walters wrote:

Funny it works fine from here. Try again?
Weird, in Safari I get the custom page not found error.  If I use 
Explorer then it works fine.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: multiple instances of standalone under Windows

2004-01-30 Thread Chris Sheffield
Thanks for the suggestions, Dar, but I think maybe not understand the
'accept' thing.  It sounds like it should work, but I'm not quite getting
it.  You don't by chance have a code sample do you?  How will I know if the
accept command fails?

Chris Sheffield
Software Development
Read Naturally 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dar Scott
Sent: Thursday, January 29, 2004 2:19 PM
To: How to use Revolution
Subject: Re: multiple instances of standalone under Windows



On Thursday, January 29, 2004, at 01:45 PM, Chris Sheffield wrote:

> Does anyone have a way to check if another instance of a standalone is 
> already running, and if so close the one that was just opened?

Try 'accept' on some obscure port.  If it fails, assume that another 
app is running.  (Immediately close any connections in the call back, 
should any be made.)  I'd try UDP first.  If you need to listen to a 
port anyway, you are set.

You could try creating and deleting a folder.  This will work faster 
than a file, I think.  If you need some temp files, anyway, put this 
where you put your temp files and put your temp files in there.  You 
may need to work out the rare case of two programs trying to run at the 
same time.

There is probably some shell command you can use.  That may work well, 
since you only need one platform.  This also needs to address the 
problems of two starting at the same time.

If you feel comfortable with two not starting at the same time, then 
you don't have to worry about that.

The openProcesses() function applies to processes opened with 'open 
process'.

Dar Scott


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


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
 

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


Re: server load with Rev "net" apps

2004-01-30 Thread Alex Rice
On Jan 29, 2004, at 5:48 PM, Pierre Sahores wrote:
Sorry Alex, you are mistaking in about solution 2 : the MC/Rev engine 
is able to do lots more than the documentation describe, in about 
TCP/IP n-tier apps.
Sure- if we are talking about TCP/IP n-tier apps :-)

The original question sounded as if they were using an ISP with heavy 
restrictions on CGI usage, which leads me to think your kind of 
solution is not really feasible for them.

--
Alex Rice | Mindlube Software | http://mindlube.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: multiple instances of standalone under Windows

2004-01-30 Thread Chris Sheffield
Chipp,

This sounds great, unfortunately I need something that'll work on Win98 as
well.  :-(


Chris Sheffield
Software Development
Read Naturally
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chipp Walters
Sent: Thursday, January 29, 2004 4:01 PM
To: How to use Revolution
Subject: RE: multiple instances of standalone under Windows


What about just looking for your app in the openProcesses list called from
the freeware command line utility:

http://www.sysinternals.com/ntw2k/freeware/pslist.shtml

If your app is there, then shut yourself down.

Seems easy enough, unless I'm missing something.

-Chipp



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
 

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


Re: web cam capture

2004-01-30 Thread Thomas McGrath III
doug,

The video capabilities were camera independent so "IF" the camera can 
be accessed by 'other' programs it probably can be accessed by REV. In 
the case of iSight which apple says is not meant to be accessed by 
other apps, REV can see it just fine AND control all kinds of features 
in it that can't even be controlled by apples own apps.

So if the driver for the camera is 'standard' enough to work in say 
"oculus" or some other web app then REV can definitely handle it.

I had great results after playing around with it a little bit.

tom

On Jan 30, 2004, at 6:12 AM, Doug Lerner wrote:

Just some general questions to the group - I notice that Revolution has
video camera capturing features. It seems that this would be hard to
implement across platforms, different camera models and different 
interfaces
(USB and Firewire - like iSight).

How do people find the robustness and cross-platform/cross-product 
usability
of the video capture features?

Does this work as well with webcams as with video cameras?

Thanks,

doug

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

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


re launching a windows stack

2004-01-30 Thread Thomas McGrath III
Hello all,

Same stack as before. Users are complaining that the CD is set to auto 
launch but if they want to re-open it once the CD has already been 
inserted and they have quit the program they can't find the stack file.

Problem is in order to launch in windows the stack file is in a folder 
on the cd since it can not be at the root level to auto launch. But if 
it is launched from in the folder it looses its links.
The autoinf file makes the stack think it is at the root level (which 
it is not) BUT if launched from the folder it is in then the paths to 
the media folder are broken.

Will a short cut make the stack think it is at the root level just like 
the autoinf file does?
If not how can it relaunch with out having to reinsert the CD again and 
again

Thanks
tom
Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 
2.1.2

Advanced Media Group
Thomas J McGrath III• 2003 •  [EMAIL PROTECTED]
220 Drake Road, Bethel Park, PA 15102
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev fails to recognize Chinese

2004-01-30 Thread Friedrich F. Grohmann
Thanks, Ron. I'll try to follow your suggestions.


>
>I do not know specifically what is happening in these cases but there 
>is a known issue with some Japanese characters that lead to a similar 
>result. You can search bugzilla for "japanese" and "unicode" to find 
>out more about this and related bugs. The best thing to do is report it 
>in bugzilla and include a sample file for Tuviah to look at. He is good 
>about fixing when there is a sample included.
>
>Ron
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Minimize

2004-01-30 Thread Thomas McGrath III
Hello,

Does anyone know if I can put a Minimize button in my "special" window 
stack. The stack has decorations set to empty and has no window border 
at all. I do not want to use the standard window decorations.

The problem is that windows people are telling me that the stack does 
not show up in the task bar. "alt" & "tab" do not work on windows with 
this stack. "command" & "tab" work fine on the mac and the stack shows 
up in the dock.

reason: I could not find an exceptable cross-platform window size 
solution on 800x600 screens that handled my image sizes. I could not 
change the image sizes so I needed the window to be exact. But if the 
window size was the right size on macintosh it would be off on windows 
and vice versa. There would be either a cut off section or the window 
would not cover the screen completely. This window size was discussed 
heavily on this list before and I did not see a good enough solution.

So I would like to hide/minimize the window on mac and windows.

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opening a Rev app from a browser?

2004-01-30 Thread Thomas McGrath III
Chipp,

Does this use an external .dll file? Is that why it is only XP?

Tom

On Jan 30, 2004, at 1:11 AM, Chipp Walters wrote:

Doug,

Check out www.buttongadget.com and download the free trial. Then go to 
the
buttonsets web page and click on any picture of a button. By just 
clicking
on the picture, your browser will download a special stack file and 
launch
buttongadget and load the stack file into it.

Is that what you're looking for? If it is, I think I posted previously 
the
code to do this (only XP for now -- don't know how to do this on Mac)

-Chipp

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

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Non-blocking way to open MS Word files?

2004-01-30 Thread xbury . cs
Just in case it might help...

if you use the shell() function to launch a process, you will be blocked.
If you dont want to be blocked, use "start" to have the shell launch the 
process and liberate your shell.

Start /? =
START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
  [/LOW | /NORMAL | /HIGH | /REALTIME] [/WAIT] [/B] [command/program] 
[parameters]
+++

Using MIN it will be minimized. 

On 30/01/2004 10:03:48 use-revolution-bounces wrote:
>--- Dave Beck <[EMAIL PROTECTED]> wrote:
>>
>> Hey,
>>
>> I sent this message to the list a while back but
>> never got a response. I'm
>> hoping this time I'll fair better. I still haven't
>> been able to come up with
>> a solution on my own.
>>
>> I'm writing a Windows app with Rev and need a way to
>> open files with MS Word
>> from a script in my app. I've been using the shell
>> command with the
>> parameter as the long path name of the file to
>> launch Word and open the
>> file. This which works well except that it is
>> blocking, meaning that my Rev
>> stack does not respond to mouse clicks etc. until
>> the user quits the MS Word
>> instance that was launched from my script!
>>
>> Does anybody know a way around this??
>>
>> Any help would be greatly appreciated.
>>
>> Thanks in advance,
>> Dave
>>
>
>Hi Dave,
>
>Do you get the same problem if you open the Word doc
>by means of the 'launch' command ?

Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

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


Re: Suppressing a message?

2004-01-30 Thread Jan Schenkel
--- Doug Lerner <[EMAIL PROTECTED]> wrote:
> Thanks for your reply.
> 
> But... how do you know which are the messages that
> are blocked?
> 
> For example, the following seems logical too:
> 
> 1. lock messages (all messages are blocked)
> 
> 2. delete graphic "a"
> - graphic gets deleted
> 
> 3. unlock messages
> - messages continue again
> 
> 4. the "unlock messages" took place essentially
> instantly after the graphic
> was deleted, but before the deleteGraphic message
> was sent (since it is a
> separate message that is sent when the graphic is
> actually removed from the
> stack).
> 
> That is guaranteed not to happen ever?
> 
> The lock messages locks all the messages *associated
> with* the deletion of
> the graphic, even if there are dozens of rev
> messages sent out after the
> graphic is deleted?
> 
> That is what I wanted to clarify.
> 
> doug
> 

Hi Doug,

The 'revXXX' messages only get fired when the 'XXX'
message gets sent -- it's a long story, but you can
find out how it works in the Rev IDE frontScript and
backScript.
So if you 'lock messages', the engine eats the
'deleteGraphic' message, and it isn't going to send it
to any other object either, which means the 'revXXX'
messages aren't triggered.

Hope this clarified it,

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revdberr: invalid database type

2004-01-30 Thread Jan Schenkel
--- Sjoerd Op 't Land
<[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> At the moment I'm desperatly trying to get a
> database connection to work
> from within a CGI script. I keep getting the
> 'revdberr: invaldid database
> type' as connection ID.
> 
> The database type supplied is correct (tried both
> 'MySQL' and 'mysql'). I
> also tried if Revolution has the permissions to
> acces the specified
> database-drivers directory, and I can read from the
> *.so files.
> 
> What can be the problem here? Is there any way to
> check for the supported
> database types?
> 
> Thanks in advance for any help,
> Sjoerd Op 't Land
> 

Hi Sjoerd,

I had the same problem a while back when I was
experimenting with the cgi-engine ; the quick solution
is to copy the database drivers into the same dir as
the engine and the cgi-scripts.

You'll find these in your Revolution folder in the
directory /components/database_drivers/

The cleaner way is to use the command
'revSetDatabaseDriverPath' to point to the correct
directory on your server before making any calls to
the revdb functions.

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!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Suppressing a message?

2004-01-30 Thread Doug Lerner
Thanks for your reply.

But... how do you know which are the messages that are blocked?

For example, the following seems logical too:

1. lock messages (all messages are blocked)

2. delete graphic "a"
- graphic gets deleted

3. unlock messages
- messages continue again

4. the "unlock messages" took place essentially instantly after the graphic
was deleted, but before the deleteGraphic message was sent (since it is a
separate message that is sent when the graphic is actually removed from the
stack).

That is guaranteed not to happen ever?

The lock messages locks all the messages *associated with* the deletion of
the graphic, even if there are dozens of rev messages sent out after the
graphic is deleted?

That is what I wanted to clarify.

doug

On 1/30/04 10:48 PM, "Jan Schenkel" <[EMAIL PROTECTED]> wrote:

> --- Doug Lerner <[EMAIL PROTECTED]> wrote:
>> But... does the above example block all messages
>> associated with "delete
>> graphic"? Why would it?
>> 
>> doug
>> 
> 
> When you do a 'lock messages' the engine will eat
> _all_ the messages it would have sent, including the
> 'deleteGraphic' message.
> 
> Let's explain this with the following script :
> --
> on mouseUp
> lock messages
> go card 3 of stack "Foo"
> delete graphic "Bar"
> go back
> unlock messages
> end mouseUp
> --
> 
> As soon as you lock the messages, the engine will no
> longer send *any* messages, until you unlock or the
> engine reaches the end of the handler.
> So when you
> go card 3 of stack "Foo"
> the engine won't send 'closeCard' or 'openCard' or
> anything like that.
> And when you
> delete graphic "Bar"
> the graphic will be deleted, but you won't get a
> 'deleteGraphic' message.
> And when you finally
> go back
> again the engine won't send 'closeCard' or 'openCard'
> or anything of the sort.
> 
> In short : it just blocks *all* messages.
> 
> Hope this clarified things a bit,
> 
> Jan Schenkel.
> 
> =
> "As we grow older, we grow both wiser and more foolish at the same time."  (La
> Rochefoucauld)
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> http://webhosting.yahoo.com/ps/sb/
> ___
> 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: Suppressing a message?

2004-01-30 Thread Jan Schenkel
--- Doug Lerner <[EMAIL PROTECTED]> wrote:
> But... does the above example block all messages
> associated with "delete
> graphic"? Why would it?
> 
> doug
> 

When you do a 'lock messages' the engine will eat
_all_ the messages it would have sent, including the
'deleteGraphic' message.

Let's explain this with the following script :
--
on mouseUp
  lock messages
  go card 3 of stack "Foo"
  delete graphic "Bar"
  go back
  unlock messages
end mouseUp
--

As soon as you lock the messages, the engine will no
longer send *any* messages, until you unlock or the
engine reaches the end of the handler.
So when you
  go card 3 of stack "Foo"
the engine won't send 'closeCard' or 'openCard' or
anything like that.
And when you
  delete graphic "Bar"
the graphic will be deleted, but you won't get a
'deleteGraphic' message.
And when you finally
  go back
again the engine won't send 'closeCard' or 'openCard'
or anything of the sort.

In short : it just blocks *all* messages.

Hope this clarified things a bit,

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


revdberr: invalid database type

2004-01-30 Thread Sjoerd Op 't Land
Hello all,

At the moment I'm desperatly trying to get a database connection to work
from within a CGI script. I keep getting the 'revdberr: invaldid database
type' as connection ID.

The database type supplied is correct (tried both 'MySQL' and 'mysql'). I
also tried if Revolution has the permissions to acces the specified
database-drivers directory, and I can read from the *.so files.

What can be the problem here? Is there any way to check for the supported
database types?

Thanks in advance for any help,
Sjoerd Op 't Land

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


Ann: Stealth Browser pre-announcement

2004-01-30 Thread xbury . cs
Im looking for a couple testers/helping hands to pretest the release of
this most excellent X Stealth Browser v1.0... 

Please reply directly... I'll be here until 16h00 GMT-2 (Brussels time)... 
After that,
I just might post it on monsieurx.com... 

It's as plain vanilla browser as it gets, does images or not (for 
stealth). 
Reworks the HTML to make sure it's displayed as decently as RR 
permits. It is not perfect (table tags are just deleted for example) but 
it's definitely better than the original!).

I'll probably integrate some webstyle obfuscation (so links are not so 
blatantly
recognizable...) and other google tricks later if there is interest or 
need...

Comments and beer mugs welcome as usual...
-=-
Xavier Bury


Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

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


Re: Suppressing a message?

2004-01-30 Thread Doug Lerner
On 1/30/04 9:10 PM, "Jan Schenkel" <[EMAIL PROTECTED]> wrote:

> --- Doug Lerner <[EMAIL PROTECTED]> wrote:
>> I notice that, but wonder about the timing of how
>> that works. According to
>> the docs, the deleteGraphic message (for example) is
>> sent when a graphic
>> removed from the stack.
>> 
>> But when, message-timing-wise, is it removed from
>> the stack?
>> 
>> If I say
>> 
>> lock messages
>> delete graphic "a"
>> unlock messages
>> 
>> Have I really blocked the deleteGraphic message from
>> being sent? Or is it
>> being sent after the messages are unlocked?
>> 
>> doug
>> 
> 
> Hi Doug,
> 
> When you 'lock messages', the engine will not send
> messages, but it doesn't save them for later use,
> either. So there's no need to worry that it will be
> sent after you 'unlock messages'

But... does the above example block all messages associated with "delete
graphic"? Why would it?

doug

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


Re: tips on refreshing images in fields?

2004-01-30 Thread Jan Schenkel
--- rodney tamblyn <[EMAIL PROTECTED]> wrote:
> If you've set an image in a field (using
> imagesource) are there any 
> tips on ways to make the images refresh and display
> properly when the 
> field is scrolled up and down (I tend to find after
> scrolling that the 
> images do not display correctly until the screen is
> redrawn by force, 
> eg change tool, lock screen etc)
> 
> R.
> 

Does switching the lockText of the field back and
forth help -- I know that forces a redraw.

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


tips on refreshing images in fields?

2004-01-30 Thread rodney tamblyn
If you've set an image in a field (using imagesource) are there any 
tips on ways to make the images refresh and display properly when the 
field is scrolled up and down (I tend to find after scrolling that the 
images do not display correctly until the screen is redrawn by force, 
eg change tool, lock screen etc)

R.
--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revInitializeVideoGrabber question

2004-01-30 Thread Thierry Arbellot
Hi doug,

The doc is wrong, a parameter is missing.

The correct syntax is :

revInitializeVideoGrabber the short name of this 
stack,"QT","100,100,200,200"

Regards.

Thierry.

Le Friday, 30 Jan 2004, à 12:18 Europe/Paris, Doug Lerner a écrit :

In the IDE, if I try the docs example:

revInitializeVideoGrabber "QT","100,100,200,200"

in the message window, the following error occurs:

Message execution error:
Error description: send: error in message expression
Am I getting ahead of myself?

doug

___
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: Suppressing a message?

2004-01-30 Thread Jan Schenkel
--- Doug Lerner <[EMAIL PROTECTED]> wrote:
> I notice that, but wonder about the timing of how
> that works. According to
> the docs, the deleteGraphic message (for example) is
> sent when a graphic
> removed from the stack.
> 
> But when, message-timing-wise, is it removed from
> the stack?
> 
> If I say
> 
> lock messages
> delete graphic "a"
> unlock messages
> 
> Have I really blocked the deleteGraphic message from
> being sent? Or is it
> being sent after the messages are unlocked?
> 
> doug
> 

Hi Doug,

When you 'lock messages', the engine will not send
messages, but it doesn't save them for later use,
either. So there's no need to worry that it will be
sent after you 'unlock messages'

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!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revInitializeVideoGrabber question

2004-01-30 Thread Jan Schenkel
--- Doug Lerner <[EMAIL PROTECTED]> wrote:
> In the IDE, if I try the docs example:
> 
> revInitializeVideoGrabber "QT","100,100,200,200"
> 
> in the message window, the following error occurs:
> 
> Message execution error:
> Error description: send: error in message expression
> 
> Am I getting ahead of myself?
> 
> doug
> 

Hi Doug,

The best way to learn how the video grabbing commands
and functions work, is by examining the scripts of the
sample stack 'Video_Input.rev' which you'll find in
the 'Sample Stacks' folder inside your Revolution
folder.

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!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: clone and it

2004-01-30 Thread Jan Schenkel
--- Yves COPPE <[EMAIL PROTECTED]> wrote:
> 
> Something strange with "clone" command :
> 
> 
> Mainstack A with 2 subtacks "B" and "C"
> 
> 
> In stack "C" , a card named "Movies"
> and a btn with the script :
> 
> clone player "xxx" of grp "yyy" of cd "movies" of
> stack "C"
> answer the id of it
> 
> 
> the answered id is good, it' s the ID of the new
> created (cloned) player
> 
> now in stack "B"
> the same script :
> 
> clone player "xxx" of grp "yyy" of cd "movies" of
> stack "C"
> answer the id of it
> 
> the answer is "0" don't understand...
> 
> Do you hve an idea ?
> 
> thank you.
> 
> 
> Greetings.
> 
> Yves COPPE
> 

Hi Yves,

I did a quick test but it seemed to work for me --
have you checked the content of 'the result' after the
clone command ?

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Suppressing a message?

2004-01-30 Thread Brian Yennie
Yes, this should block it. Try it out.

A typical use of lock messages is to navigate to a card/stack without 
triggering openCard/openStack/etc.

lock messages
delete graphic "a"
unlock messages
Have I really blocked the deleteGraphic message from being sent? Or is 
it
being sent after the messages are unlocked?
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


revInitializeVideoGrabber question

2004-01-30 Thread Doug Lerner
In the IDE, if I try the docs example:

revInitializeVideoGrabber "QT","100,100,200,200"

in the message window, the following error occurs:

Message execution error:
Error description: send: error in message expression

Am I getting ahead of myself?

doug

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


web cam capture

2004-01-30 Thread Doug Lerner
Just some general questions to the group - I notice that Revolution has
video camera capturing features. It seems that this would be hard to
implement across platforms, different camera models and different interfaces
(USB and Firewire - like iSight).

How do people find the robustness and cross-platform/cross-product usability
of the video capture features?

Does this work as well with webcams as with video cameras?

Thanks,


doug

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


Re: Suppressing a message?

2004-01-30 Thread Doug Lerner
I notice that, but wonder about the timing of how that works. According to
the docs, the deleteGraphic message (for example) is sent when a graphic
removed from the stack.

But when, message-timing-wise, is it removed from the stack?

If I say

lock messages
delete graphic "a"
unlock messages

Have I really blocked the deleteGraphic message from being sent? Or is it
being sent after the messages are unlocked?

doug

 On 1/30/04 7:44 PM, "Brian Yennie" <[EMAIL PROTECTED]> wrote:

> I've never tried it for this sort of message, but generally the trick
> is:
> 
> lock messages
> ... do something
> unlock messages
> 
> HTH,
> Brian
> 
>> Anyway, one question I have it - there are two ways of deleting a
>> message -
>> if I do it manually or if a handler does it. In the case of the
>> handler, I
>> want to suppress the normal deleteGraphic message from being sent. Is
>> there
>> a way to do that?
> 
> ___
> 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: Suppressing a message?

2004-01-30 Thread Brian Yennie
I've never tried it for this sort of message, but generally the trick 
is:

lock messages
... do something
unlock messages
HTH,
Brian
Anyway, one question I have it - there are two ways of deleting a 
message -
if I do it manually or if a handler does it. In the case of the 
handler, I
want to suppress the normal deleteGraphic message from being sent. Is 
there
a way to do that?
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Suppressing a message?

2004-01-30 Thread Doug Lerner
I found the messages that take place when images and graphics are deleted:
deleteGraphic and deleteImage (of course). I wonder why they don't appear in
the Message Watcher window though?

Anyway, one question I have it - there are two ways of deleting a message -
if I do it manually or if a handler does it. In the case of the handler, I
want to suppress the normal deleteGraphic message from being sent. Is there
a way to do that?

Thanks,

doug

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


revChangeWindowSize

2004-01-30 Thread rodney tamblyn
When I call revChangeWindowSize on my PowerBook G4, using syntax such as

 revChangeWindowSize 500,700,"slide",1,1000

... the window resizes so that only the titlebar is visible (ie height 
= 0 ) It will adjust the width, but no matter what value I set  width 
(param 2) it doesn't work.

Any ideas what might be going wrong here?

~ Rodney
--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: multiple instances of standalone under Windows

2004-01-30 Thread Jan Schenkel
--- Chris Sheffield <[EMAIL PROTECTED]> wrote:
> Does anyone have a way to check if another instance
> of a standalone is
> already running, and if so close the one that was
> just opened?  I have an
> application running under Windows and need to keep
> the user from opening
> multiple instances of it.  Is there a way to do
> this?
> 
> I've tried using 'if there is a process
> "ProcessName"', but that doesn't
> seem to be working.  Maybe I'm just using it
> incorrectly?  Any ideas would
> be appreciated.
> 
> Chris Sheffield
> 

Hi Chris,

There should be a way to do this on Windows via
Dynamic Data Exchange API -- here's something I copied
from a FoxPro forum a while back :

=
=ddesetoption("SAFETY",.F.)
ichannel = DDEINITIATE("myapp","ZOOM")
IF ichannel =>0
=DDETERMINATE(ichannel)
QUIT
ENDIF
=DDESETSERVICE("myapp","define")
=DDESETSERVICE("myapp","execute")
=DDESETTOPIC("myapp","","ddezoom")

PROCEDURE ddezoom
PARAMETER  ichannel, saction, sitem, sdata, ;
   sformat,istatus
ZOOM WINDOW SCREEN NORM
RETURN 

has the added advantage that, if the user starts up a
second instance the first instance gets maximized.
=

Check out the DDE-externals that Tuviah wrote ages
ago, at the old Crossworlds website :


If you need a hand converting the above xBase code
into xTalk, let me know.

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Non-blocking way to open MS Word files?

2004-01-30 Thread Jan Schenkel
--- Dave Beck <[EMAIL PROTECTED]> wrote:
> 
> Hey,
> 
> I sent this message to the list a while back but
> never got a response. I'm
> hoping this time I'll fair better. I still haven't
> been able to come up with
> a solution on my own.
> 
> I'm writing a Windows app with Rev and need a way to
> open files with MS Word
> from a script in my app. I've been using the shell
> command with the
> parameter as the long path name of the file to
> launch Word and open the
> file. This which works well except that it is
> blocking, meaning that my Rev
> stack does not respond to mouse clicks etc. until
> the user quits the MS Word
> instance that was launched from my script!
> 
> Does anybody know a way around this??
> 
> Any help would be greatly appreciated.
> 
> Thanks in advance,
> Dave
> 

Hi Dave,

Do you get the same problem if you open the Word doc
by means of the 'launch' command ?
--
  launch tFilePath with tApplicationPath
--

What command are you passing to the shell()-function ?

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: FlashMX and Runtime Revolution

2004-01-30 Thread Ian Wood
AFAIK you can't do anything with MX.  You can interact with Flash 
within a QuickTime player, but you will have to save back to Flash 5 
(for QuickTime 6), or Flash 4 (for QuickTime 5).

Ian Wood
Panoramic photography, from web to billboard, sunrise to moonrise
http://www.azurevision.co.uk
On 30 Jan 2004, at 01:20, Young Paik wrote:

I'm new to the list and new to Runtime Revolution.  Wondering if 
anyone can point me in the right direction regarding FlashMX and 
Runtime Revolution integration (I'm interested in knowing how to "put" 
Flash into a stack and interact with cards).  Thanks.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution