Re: [ANN] Window External

2003-12-29 Thread Ops
Thank you very much Trevor!!  Unfortunately, my client is archaic and
expects me to get this to work on his Win98 machine which drives his
businessI haven't (obviously) been successful in getting him to upgrade,
as his app+machine are "not broke" (his words)!?!?!  ..hh
- Original Message - 
From: "Trevor DeVore" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Monday, December 29, 2003 1:51 PM
Subject: Re: [ANN] Window External


> On Dec 29, 2003, at 12:48 PM, Scott Rossi wrote:
> > Trevor:
> >
> > Thanks very much for making this available.  Nice stuff.
>
> Your welcome.
>
> > Just tested on OSX 10.2.8 (under Rev and MetaCard).  Both seem to work
> > fine.
>
> Thanks for testing it.
>
> > Any possibility of adding alpha mask support for the window, based on a
> > grayscale bitmap image?  This would be something of a holy grail for
> > us UI
> > folks: translucent windows with antialiased edges...
> >
> > Nice work; thanks again.
>
> I will take a look at the Carbon API and see what I can find.  If I can
> find the info on how to do it then I will add it.
>
>
> -- 
> Trevor DeVore
> Blue Mango Multimedia
> [EMAIL PROTECTED]
>
> ___
> 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: Script help needed

2003-12-29 Thread Ken Ray
>   put empty into fld temp2  -- there *is* a fld with the name 
> drawn from the custom property

How about:

  do "put empty into fld" && quote & temp2 & quote

??

HTH,

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


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


Script help needed

2003-12-29 Thread David Squance
Greetings,
The following is part of a button script which gives an error message
"chunk: no such object"

 put the drawnumber of this card into temp2   -- there is the correct value
in the custom properties
  toplevel stack "draw lists"   -- goes to another substack
  find temp1  -- this is from further up the handler, finds the correct
card and is not a problem
  put empty into fld temp2  -- there *is* a fld with the name drawn from
the custom property

If I use the message box with:

 put the drawnumber of this card into temp2
  toplevel stack "draw lists"
  find temp1
  put temp2

I get the expected result--the name of fld to be emptied.
I tried:

put quote&temp2"e into temp2

since it is a field name, but that made no difference.

Any help would be appreciated.  TIA


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


Re: "selectable"

2003-12-29 Thread erik hansen

--- Richard Gaskin <[EMAIL PROTECTED]>
wrote:
> erik hansen wrote:
> 
> > right next to "visible" is the "selectable"
> > column in the Application Browser.
> > this term is found neither in the Transcript
> > Dictionary nor Search the Documentation...
> > 
> > it means that your control sticks to the
> > screen like hardened epoxy. it is not
> disabled.
> > it just won't budge.
> > 
> > what is the story on "selectable"?
> 
> See the cantSelect property.
> 
> It may be usseful to turn on the "Use
> Transcript names" option in Prefs to
> get a better feel for how the UI controls
> relate to specific language
> tokens.
> 
> -- 
>  Richard Gaskin 
>  Fourth World Media Corporation
>  Developer of WebMerge: Publish any database on
> any Web site

thanks, i thought i did that,
will check again.

Erik

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

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Creating windowShapes in Rev

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 08:12 PM, Ken Norris wrote:

Now, how do I create complex shapes to match outlines of other images 
I want
to overlay?
This might help:
  http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm
I have something, but it is ugly and really needs nested arrays.

You might also consider taking a picture with export snapshot to a 
variable and then looking for white or some other color to make 
transparent parts in the final picture.  Think the weatherman before a 
bluescreen.

I made the same ID mistake, BTW.

Dar Scott

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


Re: Excel

2003-12-29 Thread HyperChris
> Is there any way to get Rev *on a Mac* to open an MS Excel document, 
created in Windows, and extract data?

1 way ...
the way i use is to launch an excel macro that pulls all the data from the 
spreadsheet and writes it out to text ... pretty easy if you can control your 
spreadsheets or there are some landmarks you can export with it

1 idea ...
see if the Office knock-off programs (Open OSXOffice, ThinkFree Office) or 
Excel reader utilities can be scripted to do the same thing or schmooze them 
into sharing the dataformat!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Creating windowShapes in Rev

2003-12-29 Thread Ken Norris
I said:
> I can't get it to work in a one card stack.

Nevermind...I messed up the syntax, which wants *only* the ID #. It works
now.

Now, how do I create complex shapes to match outlines of other images I want
to overlay?

I tried, but I just can't get it accurate enough. I need to zoom so I can
tweak to fit, i.e., single pixel erases and other adjustments. Is there a
way to zoom the image?

Trying to paste doesn't work, because it always leaves a rectangle outside
the shape (except for transparent 1-bit images I assume).

There's no lasso tool to grab pieces and fit them either :-/

Ken N.

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


Re: Creating windowShapes in Rev (was Transparency confusion)

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 06:02 PM, Dar Scott wrote:

I can't get it to work in a one card stack.
Weird.  I'll give that a try.
It works for me.

Tip:  put a mouseUp on the card or stack script to set the windowShape 
to 0 in case something goes wrong.  This also allows the shape to be 
small.

Maybe there is a platform difference and the doc and supported behavior 
is the worse case.

Dar Scott

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


Re: Creating windowShapes in Rev (was Transparency confusion)

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 05:52 PM, Ken Norris wrote:

I can't get it to work in a one card stack.
Weird.  I'll give that a try.

What does this business of switching back and forth between first card 
and
last card have to do with it?
I have my test buttons and other things on the first card.  I have the 
image on the second.  I guess I could have put, should have put, the 
image behind my buttons, but I didn't think of that.  I don't switch 
between the two cards except in setting up the stack.  Maybe fiddling 
with the image is easier when it is on the second card.

Now, I'm seeing all kinds of weird image stuff (Rev 2.1.2 on OS X 
10.2.8), so this might be a consequence of that.

Dar Scott

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


Re: Creating windowShapes in Rev (was Transparency confusion)

2003-12-29 Thread Ken Norris
Hi Dar,

> Date: Mon, 29 Dec 2003 15:54:25 -0700
> From: Dar Scott <[EMAIL PROTECTED]>
> Subject: Creating windowShapes in Rev (was Transparency confusion)

> The image I created works like it is.  On the last card, I made an
> image the size of the card.  I then painted a rounded rectangle on that
> and filled it.
> 
> I went back to my first card and clicked on a button to set the
> windowShape.  It worked right off.  The transparent portion of the
> image was already in the required 1-bit mask format.
---
I can't get it to work in a one card stack.

What does this business of switching back and forth between first card and
last card have to do with it?

Ken N.

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


RE: Excel

2003-12-29 Thread Ken Ray
> As the MS Excel file format is proprietary, I'd try
> launching the file with your MacOS Excel app, and then
> extract the data using AppleScripts -- Excel 5 used to
> be applescriptabe, so I'm hoping Excel v.X still is.

It is... I just looked at the Excel dictionary and it is quite robust.

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


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


Re: How to mimic telnet session

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 04:20 PM, Jan Schenkel wrote:

Tested and it works -- thanks for the reminder,
High Five!  Or whatever the kid say these days.

Dar

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


Re: How to mimic telnet session

2003-12-29 Thread Jan Schenkel
--- Dar Scott <[EMAIL PROTECTED]> wrote:
> 
> On Monday, December 29, 2003, at 04:00 PM, Jan
> Schenkel wrote:
> 
> > on DataSent pSocket
> >   read from socket pSocket until empty \
> >with message "DataRead"
> > end DataSent
> 
> Hi, Jan!
> 
> Won't this need 'until numToChar(13)' or some
> mechanism to collect 
> bytes until all are in such as repeaded reads?
> 
> Dar Scott
> 

Hi Dar,

Quite possibly -- I didn't actually test the above
code and it could be dependent on the speed of the
connection. If you're sure you'll get a linefeed at
the end of the reply, it's better to wait for that to
drop by :-)
So a better version of the handler 'DataSent' is :
--
on DataSent pSocket
  read from socket pSocket until numToChar(13) \
   with message "DataRead"
end DataSent
--

Tested and it works -- thanks for the reminder,

Jan Schenkel.

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

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Read/Write to Process

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 02:01 PM, Roy Mendelssohn wrote:

Can someone give me an example using read to process / write to 
process commands to communicate with an external program?  I'm using 
Revolution as an interface to feed input to a command-line executable 
program (generated from Fortran).  I have successfully used the 
"shell()" command to run the program, but I want to write to and get 
feedback from the program as it runs.  I'm running Revolution 2.1.2 on 
OSX.  Any advice would be much appreciated.
This does not work on OS X.  It is so bug ridden to be hardly useful on 
Windows.  The design seems to use a single pipe instead of a double 
pipe so if you need output after closing input, this won't work even 
when bugs are fixed.  Workaround attempts such as using pipe files and 
other things on OS X have not worked for me, but others might have had 
some success.

If you have control of the Fortran program, I'd look for another way to 
communicate.  If not, I'd look at stdin and stdout redirection to files 
in shell.

Dar Scott

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


RE: [ANN] Window External

2003-12-29 Thread Ken Ray
Awesome, Trevor! Another excellent external from Blue Mango Multimedia!

:-)

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


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


Re: Converting a PicHandle to format for use with imageData

2003-12-29 Thread Trevor DeVore
On Dec 29, 2003, at 1:57 PM, Dar Scott wrote:
On Monday, December 29, 2003, at 12:30 PM, Trevor DeVore wrote:

This is fairly new territory for me so I'm not quite sure how you  
would copy the PixMap of the GWorld to the imageData of the image  
object.
I'm no expert either.

Here is the PixMap data:


http://developer.apple.com/documentation/QuickTime/APIREF/SOURCESIV/ 
pixmap.htm#//apple_ref/c/tag/PixMap

I would guess you would use that info to calculate the rectangle  
property and that & the associated bitmap (and maybe color table) to  
calculate the imageData property of the image.  (I'm guessing that  
maskData and alphaData would not need to be set.)

The imageData is described in the Transcript Dictionary.
However...  I have used 'export snapshot' to put a snapshot into a  
variable as PNG and then stuffed that value into the text property of  
an image.  I don't know if the value put into the variable is exactly  
PNG, but I suspect it might be.  It might be that PNG is the only type  
that the text property can be set to, but I think it worth trying  
others such as JPEG.  So, if you can create a ram image of some file  
format, your external might return that and maybe that will work as  
the text property of an image.  The experimenting might be worth it if  
the above conversion is to be avoided.

(Caveat:  Some of my image code broke in a recent Rev version.  I'm  
not sure if it is export snapshot, buffering properties, lock/unlock  
screen or what, so watch out.)
Hmm, It looks like I am going to have to read up a bit more before I  
tackle this but thanks for the resources.

Hmmm.  Can you move to that frame and then export snapshot?  Or is  
that too ugly?
The intended use is to create a thumbnail view of movies on disk rather  
than loading the movie into a player which is too slow apparently.

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


Re: Way to control modem on Mac?

2003-12-29 Thread Dar Scott
On Sunday, December 28, 2003, at 09:51 PM, [EMAIL PROTECTED] wrote:

Does revolution provide a means of controlling the modem on a Mac?  For
instance, passing account-name/password and "phone number to dial" 
info to
"Internet Connect" and then telling it to dial?
I think what you want is pptp which _uses_ the modem.  The Revolution 
modem (serial) I/O capability would not apply.

You might consider AppleScript or shell depending on whether you mean 
OS X or not.  You might be able to set some file info also.

Dar Scott



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


Read/Write to Process

2003-12-29 Thread Roy Mendelssohn
--
Hi,
Can someone give me an example using read to process / write to 
process commands to communicate with an external program?  I'm using 
Revolution as an interface to feed input to a command-line executable 
program (generated from Fortran).  I have successfully used the 
"shell()" command to run the program, but I want to write to and get 
feedback from the program as it runs.  I'm running Revolution 2.1.2 
on OSX.  Any advice would be much appreciated.

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


Re: Converting a PicHandle to format for use with imageData

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 12:30 PM, Trevor DeVore wrote:

This is fairly new territory for me so I'm not quite sure how you  
would copy the PixMap of the GWorld to the imageData of the image  
object.
I'm no expert either.

Here is the PixMap data:


http://developer.apple.com/documentation/QuickTime/APIREF/SOURCESIV/ 
pixmap.htm#//apple_ref/c/tag/PixMap

I would guess you would use that info to calculate the rectangle  
property and that & the associated bitmap (and maybe color table) to  
calculate the imageData property of the image.  (I'm guessing that  
maskData and alphaData would not need to be set.)

The imageData is described in the Transcript Dictionary.

However...  I have used 'export snapshot' to put a snapshot into a  
variable as PNG and then stuffed that value into the text property of  
an image.  I don't know if the value put into the variable is exactly  
PNG, but I suspect it might be.  It might be that PNG is the only type  
that the text property can be set to, but I think it worth trying  
others such as JPEG.  So, if you can create a ram image of some file  
format, your external might return that and maybe that will work as the  
text property of an image.  The experimenting might be worth it if the  
above conversion is to be avoided.

(Caveat:  Some of my image code broke in a recent Rev version.  I'm not  
sure if it is export snapshot, buffering properties, lock/unlock screen  
or what, so watch out.)

Hmmm.  Can you move to that frame and then export snapshot?  Or is that  
too ugly?

Dar Scott



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


Re: [ANN] Window External

2003-12-29 Thread Scott Rossi
> 

BTW, an amusing test is to set the alpha of the window using scrollbar.  As
the scrollbar is dragged, the window fades out of site.  And if you let go
of the mouse, the window is gone (unselectable) unless you reset the alpha
by script to high value.

Regards,

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

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


Re: How to mimic telnet session

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 12:45 PM, [EMAIL PROTECTED] wrote:

Solved - - I think - - - for some reason, I just had to put a couple 
more
"wait 3 seconds" statements between the opening of the socket, and the 
 writing
and the reading of the socket data.  I seem to be getting data  now.  
I'll
have to keep tweaking the times and see which wait statements  are 
really needed.
Great!

If you need to get a quick report and then close, you might want to 
forget about the 'with message' parts and do it all in a function.  
Your app will freeze during this function, though.  You might want to 
consider setting the timeout and then using 'until numToChar(13)' or 
something similar.

If you need other things to keep running, then you might want to use 
'with message'.  In that case, you will want to have a handler to get 
things started (open).  The open callback would do the write.  The 
write callback would do the read until some char (or start a cycle of 
'read until empty' until some time has past or all data received).  The 
read callback would process the response and then do the close.

A compromise would be to do the first but use 'with messages' in the 
wait.  You may need to avoid repeated nested queries.

Dar Scott

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


Re: How to mimic telnet session

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 11:58 AM, [EMAIL PROTECTED] wrote:

Thanks for your advice on tweaking my  code to do a telnet session.
I feel  like a dunce today, but I'm still not getting any data back.
Did I  mis-type somthing, or misunderstand where the handlers should 
go?
This is looking pretty good, but...
on mouseUp
put EMPTY into  msg
open socket "dins.gte.net:"
write  "cmd=getAccessType"  & CRLF to socket "dins.gte.net:" with 
message
 "callbackmsg"
put "callback (the result) = " & the result & LF  after msg
wait 3 seconds
read from socket  "dins.gte.net:" until empty with message 
"gotData"
put "read (the  result) = " & the result & LF after msg
put "databack (the  data) = " & it & LF after msg
You don't need the above line and the 'with message' at the same time.

You can try taking off the 'with message' and see if the above line 
reports anything.

close socket  "dins.gte.net:"
end mouseUp
on callbackmsg data
put  "callback" & the result & LF after msg
put "callback" & LF after msg

end callbackmsg

on  socketError parm
put "got an error " & parm & LF after  msg
end socketError
on gotData socketID data
put "from  gotData hander (the data) = " & data & LF after msg
Do you get this printed out at all?  If so, try upping the delay.

end  gotData
The entries in the message box from the callbacks will come after the 
ones in the mouseUp handler.

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: [ANN] Window External

2003-12-29 Thread Trevor DeVore
On Dec 29, 2003, at 12:48 PM, Scott Rossi wrote:
Trevor:

Thanks very much for making this available.  Nice stuff.
Your welcome.

Just tested on OSX 10.2.8 (under Rev and MetaCard).  Both seem to work 
fine.
Thanks for testing it.

Any possibility of adding alpha mask support for the window, based on a
grayscale bitmap image?  This would be something of a holy grail for 
us UI
folks: translucent windows with antialiased edges...

Nice work; thanks again.
I will take a look at the Carbon API and see what I can find.  If I can 
find the info on how to do it then I will add it.

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


Re: [ANN] Window External

2003-12-29 Thread Scott Rossi
On 12/29/03 11:21 AM, "Trevor DeVore" <[EMAIL PROTECTED]> wrote:

> I have posted another external which is free for anyone to use and
> abuse.  The external is available for Mac OS X and Windows though I
> believe the transparency stuff only works on Windows 2000 >.  There are
> 3 functions so far -
> 
> SetWindowAlpha - Set the opacity of a stack window
> GetWindowAlpha - Get the current opacity of a stack window
> SetWindowTransparentColor (Windows only) - Set a transparent color for
> a stack window.  For example, you could make all white portions of a
> stack transparent.
> 
> The external is available at my website:
> 

Trevor:

Thanks very much for making this available.  Nice stuff.

Just tested on OSX 10.2.8 (under Rev and MetaCard).  Both seem to work fine.

Any possibility of adding alpha mask support for the window, based on a
grayscale bitmap image?  This would be something of a holy grail for us UI
folks: translucent windows with antialiased edges...

Nice work; thanks again.

Regards,

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

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


Re: How to mimic telnet session

2003-12-29 Thread RGould8
Solved - - I think - - - for some reason, I just had to put a couple more  
"wait 3 seconds" statements between the opening of the socket, and the  writing 
and the reading of the socket data.  I seem to be getting data  now.  I'll 
have to keep tweaking the times and see which wait statements  are really needed.
- Rob
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Where Can I Find Details On PlugIns?

2003-12-29 Thread Rob Cozens
 > Good to know, Richard...and, BTW, the fact that the stack resides in
 the Revolution Plugin folder was an issue in this case, as this
 created an "abnormal" environment for SDB calls.
What was different?
When resolving requests for file access, SDB stacks/standalones look:

   * In the same folder as the stack/standalone.
   * In a PlugIn folder in the stack/standalones' folder
   * In a Data folder in the stack/standalone's folder
   * In the specialFolderPath, "Documents" on Windows
   * In a Data folder in the folder containing the application bundle 
on Mac OS X.
   * In a PlugIn folder in the folder containing the application 
bundle on Mac OS X.
   * In the folder containing the application bundle on Ma OS X.

None of the above locations works elegantly for a stack in 
Revolution's Plugin folder.  In my development environment, for 
example, the folder I'm working in isn't even in the Revolution 
folder.
--

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 (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transparency confusion

2003-12-29 Thread Trevor DeVore
On Dec 27, 2003, at 4:59 PM, Ops wrote:

I would like to banner some text across the bottom of a windows 
desktop.  I
have created a stack that is the length of the screen, and on the very
bottom.  I can certainly get text to scroll across that wide stack, 
but what
I would like to do is have the background of whatever the is behind the
stack to "show through" so that all that can be seen is the actual 
scrolling
text NOT on top of a black or white rectangle (the stack)I'm 
wanting to
*just* see the text, and whatever that stack is on top of (like a 
normal
windows desktop) I would like to "show through".is this possible??
THANKS!
I just released an external which will accomplish this on Windows 2000 
>.  It enables you to set a color of a stack window to transparent.  I 
have tested this on Windows 2000 but it should work on Windows XP as 
well.

You can check it out at 
.  It is free to use.

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


Re: Converting a PicHandle to format for use with imageData

2003-12-29 Thread Trevor DeVore
On Dec 29, 2003, at 11:11 AM, Dar Scott wrote:

On Monday, December 29, 2003, at 09:38 AM, Trevor DeVore wrote:

I've had a request to add support to my QT External for extracting an 
image from a QuickTime movie (poster movie or the frame at a certain 
point in time) and assigning it to an image in Revolution.  Getting 
an image from a QT movie is pretty straightforward but the QT API 
returns a PicHandle.  I have absolutely no idea how to get this into 
a format that Revolution could use for imageData and was wondering if 
anyone on the list had any experience with this.
You might also consider a format you can put directly into the 'text' 
property of the image.  You might experiment and see what formats you 
can stuff in directly.  Or you can set it from a file if that is not 
too slow or otherwise a problem.

The function exportPicHandleToFile() here might give you some ideas on 
working with picHandle:
   http://developer.apple.com/quicktime/icefloe/dispatch014.html
Hmmm, I think I will add the ability to export to a file regardless of 
whether I figure out how to  set the imageData directly.  This could be 
handy as well.  Thanks Dar.

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


Re: Converting a PicHandle to format for use with imageData

2003-12-29 Thread Trevor DeVore
On Dec 29, 2003, at 11:59 AM, Thierry Arbellot wrote:

Hi Trevor,

Apple gives a sample code on how to get a video frame from a QT movie  
and draw it into a GWorld.
Then you can copy the PixMap of this GWorld directly into the  
imageData of an image object.

http://developer.apple.com/samplecode/Sample_Code/QuickTime/Basics/ 
VideoFrameToGWorld.htm
Thanks for the info.  This is fairly new territory for me so I'm not  
quite sure how you would copy the PixMap of the GWorld to the imageData  
of the image object.  Would I assign the bitmap returned from  
GetPortBitMapForCopyBits(gSrcGWorld) to the imageData of the image  
object?

Thanks,

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


[ANN] Window External

2003-12-29 Thread Trevor DeVore
I have posted another external which is free for anyone to use and 
abuse.  The external is available for Mac OS X and Windows though I 
believe the transparency stuff only works on Windows 2000 >.  There are 
3 functions so far -

SetWindowAlpha - Set the opacity of a stack window
GetWindowAlpha - Get the current opacity of a stack window
SetWindowTransparentColor (Windows only) - Set a transparent color for 
a stack window.  For example, you could make all white portions of a 
stack transparent.

The external is available at my website:

I have tested on Mac OS X.3.2 and Windows 2000.  I would be interested 
in hearing about any experiences on other platforms.

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


Re: Converting a PicHandle to format for use with imageData

2003-12-29 Thread Thierry Arbellot
Hi Trevor,

Apple gives a sample code on how to get a video frame from a QT movie  
and draw it into a GWorld.
Then you can copy the PixMap of this GWorld directly into the imageData  
of an image object.

http://developer.apple.com/samplecode/Sample_Code/QuickTime/Basics/ 
VideoFrameToGWorld.htm

Hope it helps.

Thierry.

On Monday, Dec 29, 2003, at 17:38 Europe/Paris, Trevor DeVore wrote:

I've had a request to add support to my QT External for extracting an  
image from a QuickTime movie (poster movie or the frame at a certain  
point in time) and assigning it to an image in Revolution.  Getting an  
image from a QT movie is pretty straightforward but the QT API returns  
a PicHandle.  I have absolutely no idea how to get this into a format  
that Revolution could use for imageData and was wondering if anyone on  
the list had any experience with this.

Thanks,

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
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: How to mimic telnet session

2003-12-29 Thread RGould8
Dar,

Thanks for your advice on tweaking my  code to do a telnet session.  
I feel  like a dunce today, but I'm still not getting any data back.  
Did I  mis-type somthing, or misunderstand where the handlers should go?

on mouseUp
put EMPTY into  msg
open socket "dins.gte.net:" 
write  "cmd=getAccessType"  & CRLF to socket "dins.gte.net:" with message 
 "callbackmsg"
put "callback (the result) = " & the result & LF  after msg
wait 3 seconds
read from socket  "dins.gte.net:" until empty with message "gotData"
put "read (the  result) = " & the result & LF after msg
put "databack (the  data) = " & it & LF after msg
close socket  "dins.gte.net:"
end mouseUp


on callbackmsg data 
put  "callback" & the result & LF after msg
end callbackmsg

on  socketError parm
put "got an error " & parm & LF after  msg
end socketError

on gotData socketID data
put "from  gotData hander (the data) = " & data & LF after msg
end  gotData
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Converting a PicHandle to format for use with imageData

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 09:38 AM, Trevor DeVore wrote:

I've had a request to add support to my QT External for extracting an 
image from a QuickTime movie (poster movie or the frame at a certain 
point in time) and assigning it to an image in Revolution.  Getting an 
image from a QT movie is pretty straightforward but the QT API returns 
a PicHandle.  I have absolutely no idea how to get this into a format 
that Revolution could use for imageData and was wondering if anyone on 
the list had any experience with this.
You might also consider a format you can put directly into the 'text' 
property of the image.  You might experiment and see what formats you 
can stuff in directly.  Or you can set it from a file if that is not 
too slow or otherwise a problem.

The function exportPicHandleToFile() here might give you some ideas on 
working with picHandle:
   http://developer.apple.com/quicktime/icefloe/dispatch014.html

Dar Scott

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


Re: Where Can I Find Details On PlugIns?

2003-12-29 Thread Richard Gaskin
Rob Cozens wrote:

>> I can't think of any beyond what you'd encounter if the stack file lived
>> anywhere other than in a Plugins folder.
> 
> Good to know, Richard...and, BTW, the fact that the stack resides in
> the Revolution Plugin folder was an issue in this case, as this
> created an "abnormal" environment for SDB calls.

What was different?

-- 
 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: How to mimic telnet session

2003-12-29 Thread Dar Scott
On Monday, December 29, 2003, at 09:50 AM, [EMAIL PROTECTED] wrote:

Can anyone tell me what I'm missing in my code?
When I click the button, it seems to send successfully, but I get 
nothing
back...
The main problem is the read callback at the end, but I'll comment on 
other things, too.

Basic structure looks good, though you seem to be mixing callback style 
with non-callback style.  Perhaps you are planning on a callback style 
eventually.

You might want to put your resulting reporting lines after open and 
close, too.




on mouseUp
open socket "dins.gte.net:"
write "cmd=getAccessType"  & CRLF to socket  "dins.gte.net:" with 
message
"callbackmsg"
-- You can get by without 'with message "callbackmsg"' for now.  
-- Put this here in any case:
put "callback (the result) = "  & the result & LF after msg
-- If you leave in the callback, it will not run until after the close 
unless you
-- change the wait below to allow messages.

wait 3  seconds
read from socket "dins.gte.net:" for 80 with message  "gotData"
-- During testing you might want to change this to 'until empty' 
-- (meaning get all in buffers) instead of 'for 80'.
-- Check for an error at this point, too:
put "read (the result) = " & the result & LF after msg

-- You can drop the 'with message "gotData"' for now and do this:
put "databack (the data) = " & it & LF after msg

close socket "dins.gte.et:"
end  mouseUp
on callbackmsg data
put "callback (the result) = "  & the result
-- No.  I don't know of any meaning for result() here.
put "callback" & LF after msg
end callbackmsg

on socketError
answer "got  an error"
--Add the error parameter to your answer.
-- You might want to change this to 'put ... & LF after msg'.
end socketError
-- Good.  You might want to also include socketClosed and the timeout 
callbacks.
-- (On OS X, socketClosed will occur any time it is closed.)
on gotData
 on gotData socketID data
put "databack (the  result) = " & the result
-- No.  This is the main problem.
put "databack (the data) = " & data & LF after msg
end  gotData
I hope this isn't too much at once.  Let us know.

Dar Scott

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


Re: How to mimic telnet session

2003-12-29 Thread Rob Cozens
I need to send text commands to a server on the internet  via port ,
and receive the data that comes back.
If you don't find the answer here, you might try the revolution_ipc 
group: .

You can also download the group's basic socket command libraries used 
by SDB Client/Server for IPC as part of Serendipity Library: 

--

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 (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Where Can I Find Details On PlugIns?

2003-12-29 Thread Rob Cozens
I can't think of any beyond what you'd encounter if the stack file lived
anywhere other than in a Plugins folder.
Good to know, Richard...and, BTW, the fact that the stack resides in 
the Revolution Plugin folder was an issue in this case, as this 
created an "abnormal" environment for SDB calls.

The workaround for this wasn't too difficult: it just required the 
plugIn to store the path to Serendipity Library and start using the 
IPC libraries based on that path before issuing SDB calls that look 
for the libraries in the "normal" paths if they are not already in 
use.  Now done, it can serve as an example for developers whose 
distribution environments cannot support the "standard" SDB 
installation configuration.
--

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 (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


How to mimic telnet session

2003-12-29 Thread RGould8
I've been searching the Revolution archives, and I  think I'm close, 
but I need some assistance figuring out what I'm  missing.  

Basically, I need to mimic a telnet session in  Revolution.  
I need to send text commands to a server on the internet  via port , 
and receive the data that comes back.


If I were  doing this manually, I'd type:

telnet dins.gte.net 

and then  type "cmd=getAccessType"

and then the server responds  with

cmd=getAccessType&errorCode=NOERROR&count=7&1=28.8K&2=33.6K&3=33.6K,  
ISDN&4=33.6K, ISDN, V.90&5=33.6K, V.90&6=ISDN  Only&7=V.90


(you can try this as well, if you're on a live  connection)



Can anyone tell me what I'm missing in my code?   
When I click the button, it seems to send successfully, but I get nothing  
back...


on mouseUp
open socket "dins.gte.net:"  
write "cmd=getAccessType"  & CRLF to socket  "dins.gte.net:" with message 
"callbackmsg"
wait 3  seconds
read from socket "dins.gte.net:" for 80 with message  "gotData"
close socket "dins.gte.et:"
end  mouseUp


on callbackmsg data 
put "callback (the result) = "  & the result
end callbackmsg

on socketError
answer "got  an error"
end socketError

on gotData
put "databack (the  result) = " & the result
end  gotData




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


Converting a PicHandle to format for use with imageData

2003-12-29 Thread Trevor DeVore
I've had a request to add support to my QT External for extracting an 
image from a QuickTime movie (poster movie or the frame at a certain 
point in time) and assigning it to an image in Revolution.  Getting an 
image from a QT movie is pretty straightforward but the QT API returns 
a PicHandle.  I have absolutely no idea how to get this into a format 
that Revolution could use for imageData and was wondering if anyone on 
the list had any experience with this.

Thanks,

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


Re: "selectable"

2003-12-29 Thread Richard Gaskin
erik hansen wrote:

> right next to "visible" is the "selectable"
> column in the Application Browser.
> this term is found neither in the Transcript
> Dictionary nor Search the Documentation...
> 
> it means that your control sticks to the
> screen like hardened epoxy. it is not disabled.
> it just won't budge.
> 
> what is the story on "selectable"?

See the cantSelect property.

It may be usseful to turn on the "Use Transcript names" option in Prefs to
get a better feel for how the UI controls relate to specific language
tokens.

-- 
 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: Where Can I Find Details On PlugIns?

2003-12-29 Thread Richard Gaskin
Rob Cozens wrote:

>> In its simplest form, a "plugin" is simply a stackfile
> 
> Richard, et al:
> 
> Are there any practical ramifications of the fact that a plugIn must
> be modal, modeless, a palette, or invisible?

I can't think of any beyond what you'd encounter if the stack file lived
anywhere other than in a Plugins folder.

-- 
 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: Where Can I Find Details On PlugIns?

2003-12-29 Thread Rob Cozens
In its simplest form, a "plugin" is simply a stackfile
Richard, et al:

Are there any practical ramifications of the fact that a plugIn must 
be modal, modeless, a palette, or invisible?
--

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 (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Where Can I Find Details On PlugIns?

2003-12-29 Thread Rob Cozens
Thanks for your detailed answer, Richard.  I'm saving it for future reference.

Two issues:

It's a nice extra to use the stack's title for display in a Plugins menu,
On my installation, it is the plugIn stack's NAME, not its title, 
that is displayed in the PlugIns menuitem.

 > I also note that if Rev is closed and I start it by double-clicking
 on a stack in my development folder that also exists in the Rev
 PlugIn folder, revPreferences is opened instead of my stack.  Is this
 normal?
The engine's default behavior (and therefore your standalone's) is to open
any stacks double-clicked to launch it.
This has nothing to do with a standalone.  If I have a single copy of 
my plugIn stack residing in my working folder, the Rev Dev 
environment starts up & opens my plugIn stack when I double-click on 
it.  If I have a second copy of my plugIn stack in the Revolutioon 
Plugins folder, the Rev Dev environment starts up & opens 
revPreferenes instead of my plugIn stack when I double-click on the 
copy of my plugin stack in my working folder.
--

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 (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


field- table

2003-12-29 Thread Nicholas Thieberger
Does anyone have experience in using the field-table setting? I have 
a field that conains a table (using RR 2.0.2)

How can I reference the cells in the table established in this way? 
While the field inspector calls them cells, I can't get a reference 
to cells to work...?

thanks

Nick



--

Department of Linguistics and Applied Linguistics
University of Melbourne
http://www.linguistics.unimelb.edu.au/contact/studentsites/thieberger/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Safedisc anyone?

2003-12-29 Thread Rodney Tamblyn
From: rodney tamblyn <[EMAIL PROTECTED]>
Subject:Safedisk
Date:   22 December 2003 10:51:18 AM
To:   [EMAIL PROTECTED]
Has anyone on the list had experiences (both as a consumer of software 
and as a developer) of the Safedisc technology? (note spelling if 
searching on the web on this topic).  Would be interested in your 
experiences positive and negative.

http://www.macrovision.com/products/safedisc/index.shtml

~ 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: Cascading menu

2003-12-29 Thread Alejandro Tejada

on Wed, 24 Dec 2003 12:12:54 EST
John wrote:
Also, when will manuals be available. I'm new to revolution (if you haven't
guessed) and not having a manual makes the learning curve rather drawn out.
Hi John,

In the meantime, you could print the PDF manual of Revolution 1.1
You could find it in the Ken Ray website.
al 

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


RE: Splash Screen closing

2003-12-29 Thread Alejandro Tejada
on Mon, 22 Dec 2003
erik hansen wrote:
>is there a way to close the splash stack
>and delete it from memory (like the file menu
>option) after "My Program.rev"
>is up and running?
Hi Eric,

Chipp Walters of Altuit have in his website
an example of Splash Screen at:
http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm

Notice, he offers a Windows executable and a editable
rev stack.
Alejandro Tejada

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


"selectable"

2003-12-29 Thread erik hansen

right next to "visible" is the "selectable"
column in the Application Browser. 
this term is found neither in the Transcript 
Dictionary nor Search the Documentation...

it means that your control sticks to the 
screen like hardened epoxy. it is not disabled.
it just won't budge.

what is the story on "selectable"?

Thanks,

Erik Hansen

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

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


FOLDER via FTP

2003-12-29 Thread Paolo Mazza
How can I send a folder via FTP to a FTP server?

I know how can I send a file via FTP, but I found no hints on the doc 
about sending  ( or creating)  a folder.

Best regards,

Paolo Mazza

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


Re: Transparency confusion

2003-12-29 Thread Dar Scott
On Sunday, December 28, 2003, at 05:42 PM, Ken Norris wrote:

Hmmm. I guess I did a doubletake here. Can I do that by creating an 
8-bit
black image by hand in picture editor of the space I want opaque, then
setting the maskData of the image I want using it?

If it will work, then how do I do it, i.e., define the maskData of my
finished image to the blackout area I create?
My guess is to get the imageData and then create a maskData based on 
that and set the maskData.

Alternately, you can get the alphaData and make the maskData based on 
that.  For all I know you can set the maskData to the alphaData and do 
it on one statement, but I haven't looked at that.

Dar

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


Re: CPU running hot

2003-12-29 Thread Richard Gaskin
Neville Smythe wrote:

> 
> On 27/12/2003, at 4:00 AM, Alex Rice wrote:
> 
>>> and type anything into the search field so that the Find button
>>> pulsates
>> 
>> And that button is the culprit right there.  It's really OS X's fault,
>> for making pulsating gumdrop eye candy that uses tons of CPU resources.
>> (and it is the OS that's doing the rendering, not Rev). I think it's
>> not just Revolution apps that have this problem.
>>> 
>>> 
> 
> No sorry Alex, the pulsating button is NOT the problem - that doesn't
> take very much CPU time at all (Apple wouldn't make that mistake, which
> would be entirely unacceptable) Check out any dialog box with a
> pulsating button (well, any of the Apple apps, and anything I've
> written :-)) --- hardly any effect on CPU usage. RunRev seems to have a
> tight loop running in the Find & Replace window when something is
> present in the search field (but not otherwise).

No human is perfect, and an organization is merely a collection of humans.

You may have missed this earlier explanation:

>> I'm not so sure. I just tried the Search dialog boxes in Lotus Notes 6,
>> Word X and TextEdit 1.2, ALL of which have pulsating, blue Default
>> buttons, and NONE of them made the CPU monitor hit the maximum the way
>> that Revolution does.
> 
> And none of those are authoring tools which allow you to place pulsing buttons
> against backgrounds other than the OS default striped background.
> 
> In order to provide the flexibility demanded of a multimedia tool, the button
> has to be buffered to render against any background a developer might choose.
> Multimedia developers are a picky lot, and not all of them always want the
> background Steve Jobs says they should want.
> 
> I don't know what Tuviah has planned, but judging from how other programmer
> have dealth with this I suspect he can allow a less CPU-intensive rendering
> only with an option for reduced flexibility.

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