Re: Short Names/Dos Names/8.3

2004-02-13 Thread Scott Rossi
>> How do I get the short names for Windows paths from within Rev?

Is the shortFilePath function usable?

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


Re: Drawers size

2004-02-13 Thread Scott Rossi
On 2/13/04 9:33 AM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:

> Because you made the main stack a palette (I didn't think of that) it
> disappears when another app is open (this is a feature) and is visible
> when this standalone is in front.

I believe the hidePallets property is currently broken which would normally
allow you keep palette windows visible at all times.

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


Re: Sticky palettes

2004-02-13 Thread Scott Rossi
On 2/13/04 5:17 PM, "Ken Norris" <[EMAIL PROTECTED]> wrote:

> In SC there is a cool function called dragWindow wherein you can get one
> window (in this case a palette window) to stick to another window, i.e.,
> when you drag the one, the other sticks to it in the designated position.
> 
> Its very convenient for 'docking' a palette window into another window.
> 
> Is there such a function in Rev, and if so what is it?

Nope.


> If not, can I get a suggestion or two for an emulation of that function?

You can iteravely (is this a word?) cycle through all the windows you want
to "dock" and set their locations relative to the window being dragged.  Not
the best solution visually but possible.

Or...

Establish a mechanism whereby when one window is "docked" to another, you
physically resize/recreate the destination window to accommodate both its
own content and the content of the "dockee" window (and hide the original
"dockee").  Depending on your content, this could be a lot of work.

If you design a "master window" that takes into account all possible windows
that can be docked to it, and build it in advance, you may be able to simply
enable and disable at will groups of content in the master window that
represent the docked windows, if that makes sense.

Other folks may have alternate suggestions.

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


Re: Sticky palettes

2004-02-13 Thread Scott Rossi
On 2/13/04 8:34 PM, "Ken Norris" <[EMAIL PROTECTED]> wrote:

> I think I see what your saying. However there is only one window to dock.
> I.e., it's basically a small navigation palette I want to dock to another
> window.
> 
> Let me change the question: Can I poll a window's location as I drag it by
> its titlebar?

You can if you create you own titlebar.  See the stack referenced earlier
today for an example of two docked windows.  In your message box:

  go url "http://www.tactilemedia.com/download/slider.rev";

If you allow a fair amount of overlap between the windows, say maybe 10
pixels or so, the results will probably be acceptable.

As I mentioned, the hidePalettes property is broken, so a standard palette
window will disappear when the stack is suspended.  But as Thomas McGrath
suggested, if you can live with your window floating above all other
applications, you can set the systemWindow property to prevent the palette
from disappearing.

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


Re: Interrupting a loop

2004-02-17 Thread Scott Rossi
> Folks, maybe this is obvious and I'm too tired to see it, but what would be
> a good approach to the following problem?
> 
> In the app I'm developing have a kind of animated simulation which consists
> of 'repeat forever' loop that causes a series of actions (animations,
> sounds etc) to take place on the screen. The details don't matter, but the
> loop calls a lot of handlers in succession - some of which are quite
> complex - until it detects a particular condition and then it stops. A
> 'run' like this can go on for several minutes.

Actually, the details may matter because these could affect how you
interrupt the animation.


> What I want is to provide the user with a 'pause' button, which stops the
> looping action at the end of the last handler to be run (so the handlers
> called from within the repeat loop are kind of atomic in this context), and
> also provide a 'resume' button that gets things started where they left
> off. During the pause, the user is allowed to click various things on the
> screen etc and cause other handlers to run - so it's not just a case of
> freezing everything.
> 
> I can't immediately see an obvious way to do this, apart from getting the
> mouseUp event in the 'pause' button to set a flag and then test the flag at
> each step of the repeat loop (i.e. between each handler call). Given that
> the RR engine provides a very sophisticated message handling structure,
> this seems very primitive; and even if I do have this approach, I'm not
> sure how to handle the temporary exit from the repeat loop so as to be able
> to come back to it when 'resume' is triggered.


Test a global variable state (ie gPaused) or user property to establish the
pause within either of the following setups:

1) If you're using the built-in move command, make sure you use "without
waiting" so that other scripts/mouse events can be processed simultaneously.
To interrupt this type of animation, you need to use the movingControls
function to determine which objects to stop.

2) If you're using your own move construct, such as repeatedly setting the
location of an object during a repeat loop, consider adding a "wait XX with
messages" at the end of the loop (whatever time delay is appropriate) to
allow for other scripts/mouse events to be processed.

Note that unless you're moving a huge image (640x480, 24 bits), neither of
the above scripts should require multiple variable tests throughout the
script.  The Rev engine is pretty fast here.

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: What is causing my missing taskbar (makes it necessary to ctrl-alt-del to close, can't tab back)

2004-02-18 Thread Scott Rossi
> Neither the modeless nor the palette show up in the Windows taskbar.
> Really since neither of them work I'd choose the palette so it always
> remains "focused" looking.  I'm hoping there's a way to force this to
> show as a running program in the taskbar, but I guess I could just make
> it a regular window under Windows.

Use a hidden topLevel window to display a name/icon in the taskbar, but keep
your palette window as the main region of interaction.

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


Re: What is causing my missing taskbar (makes it necessary to ctrl-alt-del to close, can't tab back)

2004-02-19 Thread Scott Rossi
On 2/18/04 9:07 PM, "Christopher Mitchell" <[EMAIL PROTECTED]> wrote:

>>> Neither the modeless nor the palette show up in the Windows taskbar.
>>> Really since neither of them work I'd choose the palette so it always
>>> remains "focused" looking.  I'm hoping there's a way to force this to
>>> show as a running program in the taskbar, but I guess I could just
>>> make
>>> it a regular window under Windows.
>> 
>> Use a hidden topLevel window to display a name/icon in the taskbar,
>> but keep
>> your palette window as the main region of interaction.
>
> I've got a stack of name "invis" now being called from my mainstack
> preOpenStack handler, but it only shows up on the windows taskbar if
> there is actually a toplevel visible.

Yes, but you can "hide" the topLevel stack by keeping it visible and
positioning it offscreen.

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


Awards?

2004-02-19 Thread Scott Rossi
It's probably a good time for Rev to start offering public awards to
productive developers:

http://maccentral.macworld.com/news/2004/02/19/realbasic/index.php?redirect=
1077200573000

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: Graphic Rotation

2004-02-22 Thread Scott Rossi
Recently, Christopher Mitchell wrote:

> It is true that the polygon needs to be regular, which really leaves a
> lot to be desired... you can't rotate non-regular vector art, and you
> can't rotate groups of art regular or not.  so the things you're
> rotating are pretty limited.

You might want to look at our Tangram demo stack -- you may be able to adapt
something there to your needs (math routines developed by Carl Manaster).
Enter the following in your message box and scroll to the bottom of the
list:

 go url "http://www.tactilemedia.com/tmpanel.rev";

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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


Re: Graphic Rotation

2004-02-22 Thread Scott Rossi
Recently, Christopher Mitchell wrote:

> The tmpanel loaded and is very nicely designed, but the contents come
> up with a lot of html tags and the only live url is for the first demo.
> looks like some great stuff in here hiding among the tags.

Works fine here. What version of Rev are you using?

Alternatively, you can try this:

  go url "http://www.tactilemedia.com/download/tangram.rev";

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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


Re: Graphic Rotation

2004-02-22 Thread Scott Rossi
Recently, Christopher Mitchell wrote:

> I think some of the math routines could be replaced by native functions
> now in rev (like atan) but it's really neat!  Was this imported from
> HC, or are all the little cards that each hold one image (regular hc/mc
> icons) part of the optionally included graphics in the app builder?

As you surmised, this was originally an HC stack originally created by Carl
(I think it was '97), which was modified to work with MC/Rev (importing of
HC stacks is rarely straightforward).  It could probably be adapted to
rotate almost any object using the functions included in the stack script.
Just need the correct math.

> I think some 
> standalone demos of these would better impress upon my java friend that
> RunRev is not a toy gui maker.

In fact, the reverse may be more accurate.

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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


Re: Scrolling a Card?

2004-02-22 Thread Scott Rossi
>> polling mouse events
>> (repeat while the mouse is down...) hogs the processor.
>> 
> 
> Unless you have a background process that needs time in your app, it
> doesn't really matter if the processor gets hogged for a bit (and OSX
> should take care of other processes ok) -- but it might be interesting
> to code it that way.

In the past, another important concern for constructs such as "repeat while
the mouse is down" or "repeat until the mouse is up" was that the mouseup
event would sometimes get overlooked in the repeat handler.  I don't know if
this issue was ever addressed at a lower level but the possibility of
missing a mouse event, as well as the additional processor use, were
significant reasons for avoiding the aforementioned type of script.

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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


Re: save dialogue stuck

2004-02-22 Thread Scott Rossi
>> You mentioned this was a fairly large stack, as Rev goes. 5,500 cards is
>> pretty much the limit in Rev. A stack this size will normally take a
>> while to save. 

> To be honest, this statement struck me like lightening. One of the HC
> stacks I use most often has more than 30 000 cards and stands at 5.9 MB.
> ...
> I am now thinking of moving to Rev and you mention 5500 cards come close
> to the limit. This is indeed very, very bad news for me. I rushed to
> check the Rev  documentation and it says that the maximum number of
> objects in a stack is "unlimited." Admittedly I'm getting confused. The
> stack in question has now 1.2 MB. Is this too much for Rev under OS X?

I just now created a new stack and ran a script to generate 30,000 cards
that all have a shared group.  Took about a minute or so to run.  No problem
here on OSX.

 lock screen;repeat for 3;create cd;end repeat;answer "done"

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


Re: trying to keep up to date with the list, bits and bobs

2004-02-24 Thread Scott Rossi
On 2/24/04 6:14 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> I am *still* having odd problems with Win XP that I can't nail, that
> don't happen on any other Win OS or Mac classic (dunno about X, I am still
> too scared to switch).  The one I heard about today is that a button that is
> 'shown' on opencard or via a tab click doesn't show on XP.  Same install on
> earlier Wins (& Mac) works fine.

It's a long shot, and I haven't experienced the issue on XP myself, but you
might look here:

 http://lists.runrev.com/pipermail/use-revolution/2004-February/031289.html

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


Re: contains operator

2004-02-24 Thread Scott Rossi
Recently, "hershrev"  wrote:

> how do I use the contains operator in a negative way meaning  "does
> not contain" or " contains not" ?

I don't know if there is a way to write a negative contain, but you can use:

 "c" is not in "ab"

Or

 "c" is not among the chars of "ab"

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: contains operator

2004-02-24 Thread Scott Rossi
Recently, "hershrev"  wrote:

> you 
>> can use:
>> 
>>  "c" is not in "ab"
>> 
>> Or
>> 
>>  "c" is not among the chars of "ab"

> From the doc. of Rev.
> "Hello" is among the words of "Hello World" -- evaluates to true
> "Hell" is among the words of "Hello World" -- evaluates to false
> which means even if "c" is among "abc" it'll return false.

Note the use of "among the chars", not just "among".  You need to specify a
chunk type.

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: custom buttons

2004-02-25 Thread Scott Rossi
Recently, "J. Landman Gay"  wrote:

> I need to combine two images in one button
>> and then have it act like one button as a 'real' button.
>> 
>> I have a special button look and feel and want to include that. Then I
>> want to put a special icon into that special button look and feel. Then
>> I want it to act like a default button or like a regular button.
> 
> The usual way to do this is to create the entire button as an image in a
> graphics program. Include the actual button shape itself, as well as its
> "icon," as a single image. Make two of these, one for the "up" state and
> another for the "down" state. Then create a transparent button and set
> its icon to the "up" state image, and its hilitedicon to the "down"
> state image.

To add to the above:

If you want a scalable image button, you would need to combine the separate
sections of the button image into a group and use the group as a button.  If
you want a button that only scales horizontally, you need a minimum of 3
items: left, center and right (scale the center element).  If you want a
button that scales in both directions, it gets more complex as you need a
3x3 grid of elements and you scale only the center cell.  It's work, but it
can be done.

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


[ANN] Tutti 3D

2004-02-26 Thread Scott Rossi
Posted is a stack that demonstrates an interesting aspect of polygon
graphics, and a way these graphics can be used to create 3D shapes and
animations.  Be sure to read the explanation included in the stack.

Tutti 3D is available on RevNet and via our Media Panel.  Enter the
following in your message box:

 go url "http://www.tactilemedia.com/tmpanel.rev";

(OK, the stack name is clearly a misnomer.  The stack does not cover
everything [tutti] 3D.  Instead, use a lazy American accent to pronounce
'tutti' and you wind up with 'too-dee', as in 2D.  2D - 3D. Get it?...)

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


Re: Determining exact location within a field

2004-02-26 Thread Scott Rossi
> Does anyone know of a way to find the location of a specific spot
> within a text field? I am interested in developing a module that will
> allow me to construct a fill-in-the-blank activity. My thought is to
> construct a text in a field and mark the words that I want to replace
> in some way (precede them with a special character). Then I want to
> construct a button with a script that finds the words with this
> character in the text and replaces them with a space. Over this space
> I want to create a field into which users can enter the missing word.
> It would be nice to automate this process and to be able to know
> exactly where to place the new field, how large to make it, etc. But I
> cannot figure out the placement issue.

I believe the foundLoc function is one way to do it.  Use the textHeight of
the target field to calculate the height of the "text box", and apply the
foundLoc to the last char of the target word to determine the width of the
"text box".

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: [ANN] Tutti 3D

2004-02-26 Thread Scott Rossi
> math transformations such as angle changes can cause the animation to slow
down

In an effort to speed up the angled rotation of an object, the angle handler
has been rewritten as a function that is applied to the object's point list
*before* it is drawn.  Unfortunately, the results are the same (bummer) but
folks may find it easier to use the function in their own scripts.

(Between the above and Jim Hurley, the animation script has been streamlined
a bit -- the Tutti3D stack has been updated with the changes on our server.)

If folks have other ideas for quickly manipulating lots of numbers, feel
free to chime in.  Of course "an external" is the obvious answer, but
perhaps there is a native method, or I'm just missing something in the
technique being applied here...

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: Tutti 3D

2004-02-26 Thread Scott Rossi
On 2/26/04 7:38 AM, "Jim Hurley" <[EMAIL PROTECTED]> wrote:

> I don't know if this helps much, but you might be able to speed up
> the point rotation with the following modification. You  don't have
> to cycle through the point list twice, i.e. "repeat for each" twice.

I tried this -- the change didn't seem to make a difference but to be fair,
several of the ring frames contain around 1500 points.  That may be too much
to transform on the fly.

Anyway, the script is more concise, which is great.  I'll update the demo
with it.  Thank you.

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


Win98 Issue - Launch App on Remote Volume

2004-02-27 Thread Scott Rossi
Howdy List:

I have yet another issue with Win98 [sigh] that I'm hoping someone may be
able to solve...

Our app is designed to launch a second app using the standard

  open process path_to_xyz.exe for neither

Admittedly, this app was built using the 2.4 version of MetaCard (is this
the same as Rev 1.1?), however it works fine and reliably when run locally.
When the app is run under Win98 from a remote volume, it runs fine but will
not launch the second app.  The error returned in the result is "Not opened"
(now this is helpful).  Checking the path to the EXE verifies the existence
of the EXE files (true).  And the second app also launches as expected on
Win2K and WinXP.  The problem apparently occurs only under Win98.

Any ideas on how to make launching from a remote volume work correctly?

Thanks & Regards,

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

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


Re: Printing problem

2004-02-27 Thread Scott Rossi
Recently, "David Squance"  wrote:

> Sometimes computers drive me crazy.

Let me be the first to welcome you to the Asylum -- I've been a resident for
some time now.

Enjoy your stay.

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: Win98 Issue - Launch App on Remote Volume

2004-02-27 Thread Scott Rossi
Recently, I asked:

> Any ideas on how to make launching from a remote volume work correctly?

A follow up to the above issue:

1) Using get shell("start" && "path_to_the_app.exe") returns empty as if
successful, but nothing happens;

2) Physically double-clicking the app runs it correctly, so there is no
problem with the app itself, per se.

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: Losing a Group's memory

2004-02-28 Thread Scott Rossi
On 2/28/04 10:46 AM, "Graham Samuel" <[EMAIL PROTECTED]> wrote:

> I have a group consisting of a couple  of images which I distort from
> within a handler in order to give a simple animation effect of a shutter
> shutting. This works fine, but when I edit the group and change the size of
> one or more of the individual images (for example if I change the height of
> one of them) and stop editing and go back to my 'distorting' behaviour, the
> image(s) reverts to its/their original size. Likewise, if I alter the
> height of the whole group, it also reverts to the original height during
> the shutter animation process, although there is nothing in the code of the
> handler to make it do this.
> 
> This must mean that the group retains a memory of the size of its
> components. I don't want this - if I want the height changed, I want it to
> stay that way - so I need my group to 'forget' this original-size
> information. Does anyone know if there is any way of doing this? If not, I
> will have to re-craft my images in some kind of image editor and replace
> the ones I have in the group now, which to say the least is a tedious process.

You probably need to set the lockLoc of the images to true.  Groups
automatically resize to display their entire contents.  If you lock the
group, you'll cut off the display of anything within the group, so leave the
group as is and try locking the images.

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


Re: empty multiple fields

2004-02-29 Thread Scott Rossi
On 2/29/04 11:53 AM, "hershrev" <[EMAIL PROTECTED]> wrote:

>> repeat with x = 1 to the number of flds
>>   put empty into fld x
>> end repeat
>> 
>> or, if they're all named similarly, like "DataHolder_1" through
>> "DataHolder_5", you can do:
>> 
>> repeat with x = 1 to the number of flds
>>   put empyt into fld ("DataHolder_" & x)
>> end repeat

> If needed to exclude a certain field e.g. named "xlable" how is it done?

Add either of the following above the "put empty..." line:

 if (x & "label") = "xlable" then next repeat

Or

 if short name of fld x = "xlable" then next repeat

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


"Read" a URL?

2004-02-29 Thread Scott Rossi
Is it possible to *read* a Web based file, as opposed to *put*-ting the url
into a container?

I'm wondering if it's possible to read the last line of a text file stored
on the Web, instead of downloading the whole 2MB file into a variable.  So
far:

  open file net_address_of_file for read

...returns "can't open that file".

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


Re: "Read" a URL?

2004-02-29 Thread Scott Rossi
On 2/29/04 10:08 PM, "Jeanne A. E. DeVoto" <[EMAIL PROTECTED]> wrote:

>> Is it possible to *read* a Web based file, as opposed to *put*-ting the url
>> into a container?
>> 
>> I'm wondering if it's possible to read the last line of a text file stored
>> on the Web, instead of downloading the whole 2MB file into a variable.  So
> 
> It's not possible to use the read command on a URL, as far as I know.
> (If you're talking to a server via HTTP, I believe the protocol
> requires you to download the entire file to get access to any of it.)

Actually I'm using the FTP protocol (I'm passing login info on the URL
string) -- does the same limitation apply?

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


Re: Opening a zipped file in RunRev?

2004-03-01 Thread Scott Rossi
On 3/1/04 7:41 AM, "Jim Hurley" <[EMAIL PROTECTED]> wrote:

> One can open a stack stored on the Web with
> 
> Go stack url  "http://myWebSite/myStack.rev";
> 
> provided myStack.rev is a RunRev stack file.
> 
> I don't suppose there is any way for RunRev to deal with a zipped
> file, i.e.,  myStack.rev.zip?

Sure - decompress it locally and then run it.  See the decompress function.

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


Remove RevNet Entries?

2004-03-01 Thread Scott Rossi
>>> Another great example of your work is "TM Under construction..."
>>> available via RevNet...
>> 
>> Could someone explain to us neophytes how to access this?
> 
> sorry, this was a joke :-)
> 
> Some time ago, this entry in RevNet took you to a
> "Under construction" (sic!) page of Scott's Website 8-D
> 
> Today, this link will take you to the index-page...

Klaus reminded me of a RevNet question: how to delete an entry from the list
that I originally created?  Richard?

(Klaus - shh, you agreed not to let anyone know about the 8-D Website
until ... OOOPS!)

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


Re: Opening a zipped file in RunRev?

2004-03-01 Thread Scott Rossi
On 3/1/04 5:49 PM, "Dar Scott" <[EMAIL PROTECTED]> wrote:

>>> I don't suppose there is any way for RunRev to deal with a zipped
>>> file, i.e.,  myStack.rev.zip?
>> 
>> Sure - decompress it locally and then run it.  See the decompress
>> function.
> 
> But that's gzip.  Or has something new come along?

The original example posted lists a stack as the zipped file.  Thus it would
possible to compress the original stack and then decompress the stack
wherever needed.

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


Re: Limitations of RR for drawing apps?

2004-03-03 Thread Scott Rossi
Recently, "Richard Gaskin"  wrote:

> With the exception of user-manipulatable points for lines and
> polygons, it's all there in the engine now

Is the Reshape Polygon button in Rev not what you have in mind here?

I went and wrote a small routine to handle relocating the points of polygon
only to find that Revolution now has this feature available in the tools
palette.

If Rev's implementation is not accessible, you're welcome to mine; if this
isn't what you're looking for, please clarify.

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


[OT] Alternate User Input Methods

2004-03-06 Thread Scott Rossi
This is not directly related to Rev, but perhaps in some small way it could
be.  If you own an iSight camera, you might want to check out ToySight, a
set of iSight controlled games from FreeVerse Software (www.freeverse.com).
The games in and of themselves are not earth shattering, but the means of
interaction is pretty compelling: move your hands and gesture in front of
the camera to control and interact with the games.  Makes me wonder if this
type of thing could be done with Rev on a smaller scale (though I'd guess
that Rev might not be fast enough to keep up with the input of the camera).

Anyway, it's interesting to see how FreeVerse designed/laid out the UI to
account for interaction where input is essentially very inaccurate.  After
an hour or so playing, it's easy to see why this type of gestural input is
impractical for all but the strongest of computer users, but it's still a
thought provoking experience in terms of how folks interact with their
machines.  Between ToySight and the iBiz Virtual Keyboard
(http://store.yahoo.com/ibizpda/vike.html), maybe a Minority Report type
future for computing isn't so far away...

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


[OT] To Chipp Walters

2004-03-07 Thread Scott Rossi
Chipp, just so you know, I get the following returned to me after sending
you a message directly:


The original message was received at Sun, 7 Mar 2004 19:47:17 -0500 (EST)
from adsl-67-119-12-214.dsl.snfc21.pacbell.net [67.119.12.214]

   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>

   - Transcript of session follows -
... while talking to mserv.chipp.com.:
>>> RCPT To:<[EMAIL PROTECTED]>
<<< 550-rejected because 207.155.248.14 is in a black list at
dnsbl.sorbs.net
<<< 550 Spam Received See:
http://www.dnsbl.sorbs.net/cgi-bin/lookup?IP=207.155.248.14
550 <[EMAIL PROTECTED]>... User unknown


Not sure where the error is coming from...

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


Re: Windows standalone builder - set version number?

2004-03-07 Thread Scott Rossi
On 3/7/04 5:39 PM, "Rodney Tamblyn" <[EMAIL PROTECTED]> wrote:

> Must be missing something obvious here but no matter which fields I
> fill in the standalone builder for Windows, it always generates
> executables with version number 2.4.2.1 (i.e. the Revolution version
> number).  How do you specify your own version number?

I believe you need to go in with a resource editor to physically change this
string since, as you noted, it reflects the version of the engine.
Otherwise, you can enter version info in the other available fields.

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


Re: AVI/WMV Playback Control?

2004-03-08 Thread Scott Rossi
Recently, "Peter Reid"  wrote:

> I'm trying to allow the user of a stack playing both AVI and WMV
> video clips to move a scrollbar to adjust the playback position of a
> clip.  I do this by adjusting the currentTime property of the player
> object that is pointing at an AVI/WMV file.  However, whenever I do
> "start player thePlayer", it ALWAYS restarts the playback at the
> BEGINNING of the clip irrespective of the setting of the currentTime
> property?!
> 
> Any ideas for why this happens and how I can work around this so the
> user can really control the playback position of AVI/WMV files (i.e.
> without QuickTime)?

As far as I know, control over video is pretty minimal if you don't use QT
so I don't believe you can do what you want without QT.  I may be wrong but
I've run into the same issue you describe.

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


Spacey players

2004-03-08 Thread Scott Rossi
It appears that even with traversalOn set to false, QT players respond to
the press of the spacebar (at least on OSX).  Might there be some way to
disable this?

I've tried employing a keyDown handler in the stack, card, and front scripts
to intercept the spacebar press, none of which prevents the player from
responding to the spacebar.  Is this control too deep within QT to
intercept?

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


[ANN] Don't Put Another Dime In The Jukebox

2004-03-09 Thread Scott Rossi
As alluded to in a previous email, a Tactile project featuring bubbles is
just about completed: a streaming jukebox which provides access to 14 winter
holiday tunes (from a project I worked on several years ago).  Yes, the
content is out of synch with the season, but if you're feeling overheated by
the recent sunny weather (US West Coast), then this collection of music will
take you to a cooler place.

This stack requires:
- Rev 2.1.2
- QuickTime 6 or later
- Mango Multimedia's EnhancedQuickTime external (www.mangomultimedia.com)

Notable in the jukebox:
- streamed music playback with download progress display
- custom animated UI
- two UI themes (holiday and retro)
- Play-O-Matic (autoplay) feature
- playback timer
- keyboard controllable (though this somewhat defeats the purpose of the UI)
- bubbles, of course

To access the stack (460k), enter the following in your message box:

  go url "http://www.tactilemedia.com/test/demo/jukebox.rev";

Please note that this can be a demanding stack in terms of processor use so
don't leave any unsaved documents open in Rev, just in case.

Reports of any bugs/issues encountered are appreciated.

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


Re: AVI/WMV Playback Control?

2004-03-09 Thread Scott Rossi
On 3/9/04 1:48 AM, "Peter Reid" <[EMAIL PROTECTED]> wrote:

> I want my clips to appear within a Rev window with other components
> on display, not as part of a separate floating window/app.
> 
> Also, I would need to get agreement to install the Flash Player as a
> separate app anyway.  But the main point is that I want the video
> clips as part of my app not separate to it.

I don't understand -- Flash displays video, so why would your clips have to
be separate from your app?

http://www.macromedia.com/software/flash/productinfo/features/static_tour/me
dia/index.html#03  

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


Re: AVI/WMV Playback Control?

2004-03-09 Thread Scott Rossi
>> I don't understand -- Flash displays video, so why would your clips have to
>> be separate from your app?
>> 
>> http://www.macromedia.com/software/flash/productinfo/features/static_tour/me
>> dia/index.html#03

> As I understand it, I'd have to launch the Flash standalone player in
> order to play Flash clips from Rev.  Rev itself ONLY supports Flash
> IF you have QuickTime, which is my problem - corporate world's total
> aversion to installing QuickTime!!  If I launch a separate player
> then is can appear anywhere on screen obscuring my Rev window and I
> can't control it or determine its progress.

OK but what I'm saying is, if you're at the mercy of your corporate client,
why not create the entire set of media and deliver in Flash, using one
(Flash) player.

Sure it might be easier to use Rev, but from what you're describing it
sounds like that's not an option for you.

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


Re: AVI/WMV Playback Control?

2004-03-09 Thread Scott Rossi
On 3/9/04 4:51 PM, "Ken Ray" <[EMAIL PROTECTED]> wrote:

> Peter, I used MCI with MetaCard a long time ago and it worked; it allows
> you to play from a position to another position, so it may be a good
> approach for you. Scott Rossi has a reference at his site:
> 
>  http://www.tactilemedia.com/info/MCI_Control_Info.html
> 
> Although this doesn't help on the Mac...

But yet, one doesn't need to worry about lack of QuickTime on a Mac...

:-)

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


Re: [ANN] Don't Put Another Dime In The Jukebox

2004-03-10 Thread Scott Rossi
On 3/10/04 10:09 AM, "Sannyasin Sivakatirswami" <[EMAIL PROTECTED]> wrote:

> Sadly, but understandably, its protected so we can't
> learn anything from the wizard.

Sannyasin, in all honesty, there's not that much there in terms of hard core
code.  If you want to get some  real magic in your media-related apps, get
Trevor's QT external.  Some really great stuff in there.

Thanks to all for the feedback, and don't fret -- there will undoubtedly be
more demo stacks to play with.

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


CD Playback

2004-03-10 Thread Scott Rossi
Looking back through some old MetaCard projects, I realized that the way to
control audio playback from a CD on MacOS was using externals originally
written for Hypercard.  Now that OSX is here, are we out of luck when it
comes to CD control from within Rev?  (Using AppleScript to control iTunes
doesn't count.)

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


Text Wrap w/Images

2004-03-11 Thread Scott Rossi
Has anybody figured out a way to wrap text around an image embedded in a
field via the imageSource property without manually wrapping the source
text?  I found a couple of references in the mail archives but otherwise
little information seems to be available here.

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


Disappearing Images in Fields

2004-03-12 Thread Scott Rossi
OK, seems I've been on a roll lately of unanswerable questions.  Let's try
another one:

I have a field with several images displayed via imageSource.  When the
field's fixedLineHeight is true, images scrolled into view from the bottom
of the scrolling are invisible until their rects fall completely within the
field.  As the field is scrolled further and the images are scrolled out of
view at the top of the field, they remain visible.  It's almost as if the
images are shifted out of view at the bottom of the field unless the
bottom-most portion of the images falls within the field.  If the
fixedLineHeight is set to to false, the images display properly but it's
impossible to wrap the text as desired.

I've posted a demo stack to better explain the issue (sorry, this was done
on OSX and probably should be viewed using this system).

 go url "http://www.tactilemedia.com/download/imagedemo.rev";

Thanks in advance for any recommendations.

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


Re: Disappearing Images in Fields

2004-03-12 Thread Scott Rossi
>> I have a field with several images displayed via imageSource.  When the
>> field's fixedLineHeight is true, images scrolled into view from the
>> bottom of the scrolling are invisible until their rects fall completely
>> within the field.

On 3/12/04 6:30 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> It's a feature! The 'surprise-check out this image' is the latest crave
> in creating a feeling of anticipation for your users!

Funny how many surprise "features" I've come across lately...

Thanks to all for the suggestions.  Ultimately I'd prefer to keep the
content as HTMLtext since the field will display content from several pages.
Hardwiring everything will, as pointed out, be a lot of work and pretty much
defeats the purpose of HTMLtext to begin with (kind of like building Web
pages as 100% images, or separating all images of a Web page out into DHTML
layers).  Arg.

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


Re: Disappearing Images in Fields

2004-03-12 Thread Scott Rossi
>> If the fixedLineHeight is set to to false, the images display properly but
>> it's impossible to wrap the text as desired.

> Interesting problem. I don't have a cure, but it looks like it doesn't "see"
> the image until the line it's on is completely inside the field. Could it
> have something to do with mixing lines of text?

And what I don't understand is why the image clips fine at the top of the
field but not at the bottom...

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


Re: Disappearing Images in Fields

2004-03-12 Thread Scott Rossi
On 3/12/04 11:41 PM, "Brian Yennie" <[EMAIL PROTECTED]> wrote:

> Played with it a little here, and the only thing that seemed to work
> was really dirty.

A creative solution...  Dirty is good -- I can get dirty.  This, as you
indicated, might be a chore when accessing multiple pages.  But who knows...

I thought I was onto something there for a minute with the textShift
property and fixedLineHeight off, but no cigar.  Oh well.

Thanks again to you list folks for the suggested workarounds.

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


Re: Disappearing Images in Fields

2004-03-13 Thread Scott Rossi
On 3/13/04 12:06 AM, "Ken Norris" <[EMAIL PROTECTED]> wrote:

> Anyway, that's the best I can come up with. If I'm right, making the whole
> thing a group with a vertical scrollbar, like Ken Ray says, should fix the
> problem.

Good suggestion but I tried it -- the images still disappear when the field
is scrolled within the group.

Brian Yennie wins the prize for a dirty but possibly workable solution.

Thanks again.

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


Re: Disappearing Images in Fields

2004-03-13 Thread Scott Rossi
Recently, "Ken Ray"  wrote:

> did you make a non-scrolling field within the scrolling group?
> That is, if the non-scrolling field was 1000 pixels tall and the group
> was only 200 pixels tall with a vertical scrollbar, would that work?

Yes, the field was set to its full height and cropped by the group.
Embedded images still appear invisible before being scrolled into view.
Goofy, I know, but it happens.

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: animated gifs

2004-03-15 Thread Scott Rossi
On 3/15/04 10:51 PM, "Andrew" <[EMAIL PROTECTED]> wrote:

> 1. How do I stop a gif on a given frame? (such as when a button is
> pressed)

 if the currentFrame of img myGif = 5 then \
   set the repeatCount of img myGif to 0

Of course, if the GIF is on frame 13 and you press the button, nothing will
happen.  To make sure the animation stops regardless of when the button is
pressed, you'd have to set up a repeat loop that repeatedly tests the GIF's
currentFrame.


> 2. How do I flip a gif horizontally without losing the frame sequence?

I don't believe you can flip an animated GIF and keep the frames intact (but
perhaps someone else knows different).  You may need to create a separate
flipped version in an image editor.


> 3. How do I hide a currently playing gif and show a different gif,
> starting on a particular frame of the new gif?

Store the GIFs off screen and display them as icons of a button:

 set the icon of btn myBtn to id of img myGif1

 [use the above test in a repeat loop]
 if the currentFrame of img myGif1 = 5 then
   set the repeatCount of img myGif2 to 0
   set the currentFrame of img myGif2 to 5
   set the icon of btn myBtn to id of img myGif2
   set the repeatCount of img myGif2 to -1
 end if


> (Are gifs still running even if they are hidden?

A quick test seems to indicate they don't continue running (I didn't know
that).


> Does this consume memory?)

Unless your GIFs are huge, it's not really memory that is impacted by the
presence of an animated GIF in and of itself (memory is affected by
everything present in the stack, since the entire stack is loaded into RAM
at startup).  Rather, the use of processing power can be affected by
animated GIFs.  If you take some running animated GIFs and hide them, you
should see processor use drop.  On the other hand, if your GIFs are large, a
stack with hidden GIFs may indeed require less RAM since hidden images are
not decompressed until they are shown on a card (see the bufferHiddenImages
property).

The RunRev guys may have a more complete answer...

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


Re: RUG sounds like doormat

2004-03-16 Thread Scott Rossi
Recently, "Erik Hansen"  wrote:

> RUG sounds like doormat.

Or a toupee...

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: Memory usage

2004-03-17 Thread Scott Rossi
>> Is there a way to watch memory usage as a revoltuion program operates?
>>  I had this feature in another program and would like to have it in
>> Revolution.  For now I would be grateful if another system program or
>> applet would get this information for me.
>> 
>> I am developing on Windows XP.  I have looked at the task manager cum
>> CPU usage graphs and they are not what I am looking for.

If you look under the Processes tab, is Mem Usage not what you're looking
for?


> Try Konfabulator which has a module(Widget) that shows system usage as
> well as other neat ones.

I'm pretty sure Konfabulator is OSX only.


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: OT two+ buck a gallon gas AAARRRGGGGHHH

2004-03-17 Thread Scott Rossi
Recently, "Klaus Major"  wrote:

>> Dang.  And I thought $1.75 a gallon was a rip off.  Glad I don't live
>> in CA!
>> On Mar 17, 2004, at 1:58 PM, Judy Perry wrote:
>> 
>>> (and gas not priced at $2.25+ per gallon).
> 
> i invite you to come to germany and get some gas...
> 
> 1.10 Euro per LITER!!!
> 
> 1 gallon = 3.7853 liter (if my dictionary isn't lying to me :-)
> 1 euro = ca. 1.2xx US $

But Klaus -- your BMWs and teeny tiny Audis are much more fuel efficient
than our huge, gas guzzeling, inefficient, wasteful cars.  :-)

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: asynchronous messages and answer dialog

2004-03-17 Thread Scott Rossi
On 3/17/04 9:16 PM, "rodney tamblyn" <[EMAIL PROTECTED]> wrote:

> Interestingly (I think I've noted this before on the list)
> 'there is a window "answer dialog"' will return true even if there
> isn't an answer dialog visible, whereas  'the windows' will always
> correctly return a list of the open windows.  I don't know if this is a
> bug - certainly looks like one to me.

Technically it's not a bug because you're querying the existence of a window
called "answer dialog". This will always be true if the answer dialog stack
is present.  As you noted, what you *really* need to test is the openStacks.

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


Re: asynchronous messages and answer dialog

2004-03-17 Thread Scott Rossi
Recently, "rodney tamblyn" <[EMAIL PROTECTED]> wrote:

> Just to be very clear here.  In my opinion:
> 
> x is among the lines of the windows
> 
> ... and...
> 
> there is a window x
> 
>  should be synonymous for purposes of checking for existence of
> window x.  This is not the case at the moment.

So it sounds like you're thinking "the windows" should return a list of all
stacks, regardless of whether or not they are open.  Maybe this would in
fact be clearer from a semantic standpoint, but if you need something to
test against now, it might be worth noting there is a specific function for
this: revLoadedStacks[all].  So you should be able to test if a window is
"present" (revLoadedStacks) versus "present and open" (openStacks or
windows).  Perhaps the RunRev folks added the function to maintain backwards
compatibility?...

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


Re: asynchronous messages and answer dialog

2004-03-18 Thread Scott Rossi
On 3/18/04 5:30 AM, "rodney tamblyn" <[EMAIL PROTECTED]> wrote:

> Launch Revolution, open message box, type: 'there is a window "answer
> dialog"' -> returns true.   Why?

Because it exists in the environment, just as testing any hidden button,
field, scrollbar will return true.  It is not visible, but it is present.

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


Re: about collision routines.

2004-03-18 Thread Scott Rossi
>> My only doubt is about collision. Did anyone
>> here got a nice collision routine for two objects? My routine is slow,
>> when applied to a array of objects it lags the answer.

> When used in a carefully built repeat loop, it runs
> at acceptable speed, even on slow cpu.
> By "carefully built repeat loop" I mean : if for example
> you have 15 objects on the screen, you don't need to
> test if each one intersects with each other one : once you
> have tested if obj 1 intersects with obj 2, then you don't
> need to test if obj 2 intersects with obj 1.

You also might want to consider the use of within() versus intersect().
Within() can sometimes provide more accurate collision detection.  For
example, intersect will return true when the *rects* of a rectangle and oval
overlap, even though their visible shapes do not.  Using within() tests a
point location within a rectangle.  Also, within() can sometimes do better
with images in that it only sees the opaque area of the image as "live".

Unfortunately, it seems that two oval graphics placed near eachother but not
overlapping can also return true using within() so neither function is
prefect.  But in an animated game where things are moving, the questionable
distance between objects may not be an issue.

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


Re: about collision routines.

2004-03-18 Thread Scott Rossi
Recently, "Judy Perry"  wrote:

> I'm trying to recall now, who put together the Asteroids stack?

The venerable Geoff Canyon.

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: Multiple Language Support?

2004-03-19 Thread Scott Rossi
On 3/19/04 7:05 AM, "David Burgun" <[EMAIL PROTECTED]> wrote:

> The App I am building needs to support multiple languages (e.g.
> English, German, French etc., so all text in each of the many windows
> and controls needs to be able to be display in each of these
> languages (and there are about 8 or so).
> 
> Has anyone else done this? Any suggestions as to the best way to
> achieve this would be most welcome.

One place you can start is here, although this does not specifically involve
the use of Unicode:

  http://www.sonsothunder.com/devres/metacard/tips/lang001.htm

Basically, the process I've used is to keep all translated material outside
of the stack in separate files, and tag each text string in the documents
with an ID tag so you can swap out language text in the stack at will via
the ID numbers.

There is also pretranslated database offered by Rob Cozens that might help:

  http://www.oenolog.com/ftp/serendipity_downloader.htm

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


Re: Multiple Language Support?

2004-03-19 Thread Scott Rossi
> There is also pretranslated database offered by Rob Cozens that might help:

Actually, I believe this is the correct address:

  http://www.oenolog.net/ftp/serendipity_downloader.htm

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


Re: OptionKey madness

2004-03-20 Thread Scott Rossi
On 3/20/04 3:24 AM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

> This card script:
> 
> on rawKeyDown k
>  if optionKey() is "down" then put k
>  else  pass rawKeyDown
> end rawKeyDown
> 
> ... displays the value of k when typing Option-2, Option-5, or Option-8
> into a field, but not when typing any other numeric Option keys in a field.

Same here in MC and Rev 2.1.2 on OSX.  Seems to be optionkey related since
capturing unmodified keystrokes works fine.  I wonder if this has to do with
how you enter special characters like é (accented e) since you typically
have to enter two keystrokes.

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


Re: OptionKey madness

2004-03-20 Thread Scott Rossi
Recently, "Richard Gaskin"  wrote:

> Is there a recipe/workaround/external/appeal to the gods which will
> reliably prevent keystrokes from triggering a response in a player?

I don't believe there's any workaround currently available (I've been hit by
this issue as well).  I'm pretty sure Trevor has looked into this and found
an API or or some other hook that led him to believe it is in fact possible
to prevent unwanted key triggers.  But who knows when this can be addressed.

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: counter++ versus "add 1 to counter"

2004-03-21 Thread Scott Rossi
On 3/21/04 7:45 AM, "A.C.T." <[EMAIL PROTECTED]> wrote:

> I understand "Transcript" is trying to be a chimere of
> "human language" (which uses redundancy to gain clearness) and
> "progamming language" (which avoids redundancy to gain clearness). The
> drawback is that you (the developer) have to EXACTLY now what the
> language (Transcript) will do if you tell it something, whereas a
> "classic" high level language like C will ONLY do what you tell it,
> returning an error if you did not use the right variable type.

This is an interesting point of view Marc, but I wonder if you are basing
your point of view on your knowledge of C.  Look at your example:

  counter++

 "..what "counter++" does: Increment a value (by one). That's clear and
  there's no doubt about what is meant."

Stepping back from your knowledge of C, I would argue the above is not
clear.  How do you know the counter is incremented by 1?  No value is
indicated so how does someone know a value of 1 is used?  Maybe the use of
"++" means add counter to itself?  Maybe the value to be added was left out
of the code by mistake?

I know the previous statements are all wrong, but I'm suggesting that if you
look objectively at that example, it is no clearer or more confusing than
"add 1 to counter".  And, if I understand what are saying, Transcript does
in fact return an error if you use incorrect variable types:

  put "xyz" into A
  add 7 to A

Will return an error as 'A' is not a number.

It's true, you "have to EXACTLY [k]now what the language (Transcript) will
do if you tell it something", but I expect the same goes for any programming
language, as demonstrated by your example.  I would offer that Transcript
(and all xtalk for that matter) does not use redundancy to gain clearness,
but instead uses redundancy to gain flexibility.

Your turn...  :-)

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


Re: OptionKey madness

2004-03-22 Thread Scott Rossi
On 3/22/04 6:58 AM, "Frank Leahy" <[EMAIL PROTECTED]> wrote:

> This works as expected on my machine (Mac OSX, 10.2.8) -- all keycodes
> come through and the optionKey is correct when up and down.
> 
> on rawKeyDown whichKey
>  put "raw key " & whichKey && the optionKey
>  pass rawKeyDown -- same with or without this
> end rawKeyDown


Did you try typing the keystrokes into a field?

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


Re: [OT] Spelling

2004-03-22 Thread Scott Rossi
On 3/22/04 8:42 PM, "Ken Ray" <[EMAIL PROTECTED]> wrote:

> Sorry, everyone, but after seeing multiple posts by people (not only on this
> list, but elsewhere as well) where certain words are consistently
> misspelled, I felt that it was time to make a quick post about those words
> in the hope that it would help us all communicate better in the future.

Your got a lotta nerve saying that we's don¹t now anything about speling.

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


Re: Large Rev Logo, Anyone?

2004-03-24 Thread Scott Rossi
On 3/24/04 2:42 PM, "Erik Hansen" <[EMAIL PROTECTED]> wrote:

> what makes an "icon" different from any other
> graphic or image?

The format, which is specifically suited for adorning items in a file system
or controls in a development environment. Otherwise it is pretty much just
another bitmap image format.

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


Re: Large Rev Logo, Anyone?

2004-03-25 Thread Scott Rossi
On 3/25/04 12:54 AM, "Erik Hansen" <[EMAIL PROTECTED]> wrote:

> does putting the bitmap image into a button
> have any advantage over using an unadorned
> image or graphic as a clickable control?

Are you asking if the icon format itself has any advantage over a "standard"
bitmap or graphic, the answer is no -- again, it's just another graphic
format.  Besides, Rev doesn't support any icon format internally.

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


Re: (long) Transparent IDE elements and other problems

2004-03-26 Thread Scott Rossi
On 3/26/04 5:16 AM, "Frank Leahy" <[EMAIL PROTECTED]> wrote:

> Sure.  I have a photo album app that can display up to 1000 photos in
> an album (though there are other limits that prevent that many being
> shown at once, but that's a problem for another post...).  Each photo
> thumbnail is displayed inside a group that can have up to 3 checkboxes,
> 3 buttons and 10 editable fields for a total of 16 controls per photo.
> Easily 16,000 controls or more on the page at once.  And I'd rather not
> have the 1,000 limit which is arbitrary.

I assume you have this many controls displayed because you can scroll the
page (card).  I think with a bit of work you might be able to build this
more efficiently by grouping the controls needed for a single photo into a
master group, and then populating the card with enough master groups to be
able scroll one ore two groups out of view. As one group is scrolled out of
view at the top or bottom of the screen, the off-screen group is then
repositioned at the other end of the screen and populated with data from the
next thumbnail before it comes on-screen, and so on.

I've built something similar to this where a horizontal line images can be
"infinitely" scrolled left and right.  It uses the minimum number controls
needed to display content on screen at once, plus two, allowing for
scrolling in either direction.  As one image is scrolled out of view on the
left, it eventually reappears into view on the right.

It's bit difficult to describe but this arrangement may be more efficient
than a situation where the majority of data is sitting off-screen.

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


Re: Graphic overlapping -- translucency effect

2004-03-26 Thread Scott Rossi
On 3/26/04 8:10 AM, "Glen Bojsza" <[EMAIL PROTECTED]> wrote:

> I have a simulator project that connects nodes with lines for traffic
> flows.
> 
> For every flow a line will be created between the two nodes and so
> there will be cases where there will be multiple lines  that overlap
> (ie if they overlap then they are identical ).
> 
> What I am trying to figure out is,  as the number of overlapping lines
> increase then change the overlapping line's translucency to illustrate
> a higher intensity of flows between the nodes.
> 
> Can this "intensity" effect be created in Revolution?

One way would be to use images for the lines instead of draw graphics and
set the blendLevel of the "lines" to a medium-high value.  As the lines are
overlapped, the "stack" will appear darker.

Alternately, you might use draw graphics with simple color changes: if your
stack has a light background use a light color when a low number of lines is
present and then darken the color for higher number.

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


Re: Graphic overlapping -- translucency effect

2004-03-26 Thread Scott Rossi
On 3/26/04 8:37 AM, "Glen Bojsza" <[EMAIL PROTECTED]> wrote:

> How do I connect the nodes originally? Using draw graphics and then
> change each line to an image?

Depends: if you use only vertical and horizontal lines, I would try using a
square image and stretching it H or V to connect the nodes.  If you have
diagonal lines, it may be more work.  I might try creating the images on the
fly via script and painting the lines from node to node.  You'll wind up
with images that occupy the full rect of the "angled" lines, but they can
then be made translucent (via the blendLevel property).

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


Re: Graphic overlapping -- translucency effect

2004-03-26 Thread Scott Rossi
On 3/26/04 8:47 AM, "Springer, Paul" <[EMAIL PROTECTED]> wrote:

> If your objects are of different colors then another thing you can try is
> experimenting with the ink properties. For my demo application (probably
> much simpler than yours) I was able to get the kind of effect I think you
> are describing that way.

The last time I looked, there wasn't a good "additive" ink available on
Windows.  Have things changed?

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


Re: (long) Transparent IDE elements and other problems

2004-03-27 Thread Scott Rossi
On 3/27/04 12:56 AM, "Frank Leahy" <[EMAIL PROTECTED]> wrote:

> the reason I don't use the hack you suggest -- it's
> possible to have dozens if not hundreds of images on the screen at the
> same time, and if I want to support drag and drop to reorder images,
> and drag and drop of images into the album (both of which I do support)
> I need to show all images otherwise those features don't work.

Perhaps the built-in drag and drop method may not, but I think you might be
able to script your own.  There's no reason why you couldn't implement a
draggable object that "hovers" at the mouseLoc as the thumbnails are
scrolled in and out of view.


> Anyway, the biggest problem I've come across so far is that a group can
> be at most 32000 pixels high, which effectively limits my "slides plus
> EXIF" template to 137 templates stacked vertically.  Really there's no
> reason RunRev shouldn't be able to support multi-thousands of images on
> screen simultaneously so that one need not resort to hokey hacks to
> display large amounts of data.

Well, what you call a "hokey hack" was a suggestion offered to possibly add
a bit of efficiency to your app.  If your app is working well for you, then
by all means, you should obviously continue what you are doing.

And I agree with your other comments that Rev "should" be able to handle
thousands of images.  This would be a testament to Rev's capabilities.  But
perhaps a comparison to iPhoto is a bit optimistic.  You have more of a
connection to Apple than I, so I expect you know more in this area, but I
would *expect* that Rev, which was designed to be development platform for
all manner of application, would have a tough time achieving the same
performance of an app like iPhoto which is designed exclusively for photo
management and display.

In any event, here are a few other "hokey hacks" you might consider to get
around the current group size limitation (what can I say, I'm a masochist).
Divide up your thumbnails across multiple groups and show/hide/position
these as needed when scrolling through the current group.  Alternatively,
since you can effectively display the contents of one stack within another,
you could divide up your thumbnails across multiple stacks and populate a
"display" stack with the group content of "album" stacks.  Perhaps one of
these "hacks" might work until Rev is able to support larger groups.

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


Re: 3 socket Q's

2004-03-27 Thread Scott Rossi
On 3/26/04 11:22 PM, "Jim" <[EMAIL PROTECTED]> wrote:

>> And what is the reliable way to obtain the local IP address?
> 
> On OS X (or probably any other *nix), try...
> 
> get shell ("ipconfig getifaddr en0")

This is odd.  On OS X here, when using the message box:

  put shell("ipconfig getifaddr en0")

I get "1" in the message box.  When I enter the following:

  answer shell("ipconfig getifaddr en0")

I get "get if addr en0 failed, (os/kern) failure"

???

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


Re: If exists question

2004-03-29 Thread Scott Rossi
On 3/29/04 5:49 PM, "Ken Norris" <[EMAIL PROTECTED]> wrote:

>> wait 30 milliseconds -- put in to allow Rev to catch up with functions
> --
> Just FYI...a 'wait' command basically just stalls the script and hogs the
> processor. It won't help Rev catch up to anything.
> 
> What you want to do is: send  to me (a handler) in 30
> milliseconds.
> 
> That keeps the script running and just puts a timer on when the next
> execution takes place, which _does_ allow the interpreter to catch up.

Actually, you can use wait:

  wait 30 milliseconds with messages

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


Re: shell(find)

2004-03-30 Thread Scott Rossi
On 3/30/04 11:14 AM, "Zac Elston" <[EMAIL PROTECTED]> wrote:

> why does
> 
> shell("find . something") work
> 
> but
> 
> put "find . something" into myfindcmd
> shell(myfindcmd) not work?
> 
> i need to find a few different things so I'm trying to loop through a
> list and I get nothing back.  but hardcoding the find line works.

What happens if you use:

 put "find . something" into myfindcmd
 shell(quote & myfindcmd & quote)
  
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


Re: If exists question

2004-03-30 Thread Scott Rossi
On 3/29/04 11:23 PM, "Ken Norris" <[EMAIL PROTECTED]> wrote:

>> wait 30 milliseconds with messages---

> Ahh...with messages---
> 
> OK, but then what was all the hoopla about not using 'wait'?

"Wait" by itself will halt script execution until the designated time or
condition.  Usually not desirable unless you need a simple pause or delay.

"Wait with messages" allows other scripts and processes to execute.

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


AutoTrace?

2004-03-31 Thread Scott Rossi
Has anybody found a way to accomplish similar results to SuperCard's
autotrace feature?

I'm wondering if there are any 3rd party apps out there that can "trace" a
bitmap image and output vector lines that can be read into Rev.  I'm
familiar with Freehand's autotrace tool, but in my experience this usually
rounds out edges making for slightly distorted looking linework.

Thanks for any suggestions.

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: fh and tracing

2004-04-01 Thread Scott Rossi
On 3/31/04 10:19 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

>> I'm
>> familiar with Freehand's autotrace tool, but in my experience this usually
>> rounds out edges making for slightly distorted looking linework.
>> -- contact me off list. I might be able to help. Tracing was my baby when I
>> was testing fh 3./fog 4. at Altsys.

That's pretty cool.  I'm very much a Freehand guy.  In any event, I have
never been able to accomplish pixel level accuracy when tracing a bitmap.
In other words, if I use a 72DPI image where you can see the jagged edges of
a curve or whatever, Freehand always seems to want to "help" by smoothing
out the jagged edges, regardless of the "tight" etc settings.  On the other
hand, the autotrace tool in SuperCard used to trace a bitmap exactly, down
to the jagged curves.  If you have any suggestions for getting Freehand to
trace bitmaps this way, I would dig on knowing how to do it.

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


Re: OT Mac hack to span multiple monitors on iBook...

2004-04-01 Thread Scott Rossi
On 4/1/04 10:17 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> Now if I could just find a hack to remap alt-V to ctrl-V for
> paste

Maybe this would work?

  http://www.macupdate.com/info.php/id/8005

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


Re: saving within a standalone?

2004-04-04 Thread Scott Rossi
On 4/4/04 2:52 PM, "Eric Engle" <[EMAIL PROTECTED]> wrote:

> The metacard engine on windows would not allow a standalone to be modified and
> saved (for reasons I've never really understood). Anyway, I expect this is the
> case for revolution as well. In MC I would export the data as RTF. But again,
> the issue is popping up. I'm hoping that someday Rev will allow a standalone's
> contents to be changed by the user. I hope I'm wrong, correct me if I am. I've
> got a workaround strategy but would rather the end user had more dynamic
> control of the standalone. Ideas?

If you haven't visited this issue in the archives already, here's a short
answer:

  http://lists.runrev.com/pipermail/use-revolution/2002-July/006135.html

And here's a much more detailed answer, courtesy of the ever helpful Richard
Gaskin:

 http://lists.runrev.com/pipermail/use-revolution/2002-July/006149.html

PS  Props to fourthworld on their 10 year anniversary.

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


Re: Detecting if menubar is hidden

2004-04-07 Thread Scott Rossi
On 4/7/04 7:51 PM, "Sarah Reichelt" <[EMAIL PROTECTED]> wrote:

> I am running a kiosk application but I switch it to power-user mode at
> certain times. The menubar is normally hidden but a power-user can
> toggle it back and forth. I would like to be able to detect when the
> menubar is visible and when hidden so I could use this as a test of
> what to do when some other things happen. Does anyone know how I can do
> this?

One way is to use a custom property or variable to store the vis of the
menubar.  Update the property/variable as needed each time the vis of the
menubar is changed.

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


Re:

2004-04-08 Thread Scott Rossi
On 4/8/04 10:39 AM, "Chris Sheffield" <[EMAIL PROTECTED]> wrote:

> This was working fine with 2.1.2, but not with 2.2, so something has
> changed.  The trick is to hide the player.  If it's visible, it works just
> fine.  I can work around this for now by just moving my player off screen,
> but I'd like to not have to do that.  Can someone confirm and let me know,
> and then I'll post it as a bug.

As far as I've seen, hidden players have *always* been a problem, not just
in 2.2.  FWIW, any time I've wanted to use a hidden player I've needed to
position it off screen.  You should bug report this if it hasn't been
already.

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


Re: Windows defaut font gets messed up

2004-04-08 Thread Scott Rossi
Recently, "Dave Beck"  wrote:

> I have a potential customer who just reported to me that in my standalone
> rev app some of the text runs off the screen. He sent me a screen shot and
> basically what is happening is that all the text is being displayed in the
> wrong font. I have it set to the default font for Windows (MS Sans Serif I
> believe?), and on all computers I have tested it on the text shows up fine
> as it does on mine. But on his computer it shows up in a different font that
> is considerably bigger and the result is that many of the fields have text
> that runs beyond their bounds, all of the buttons look funny, and basically
> the whole app looks aweful.

Two things:

1) Your customer might have "Large Fonts" enabled in their Display control
panel.  You could have them verify and change if needed.

2) You might try using "Arial" or "Verdana" as your default font.

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: Temporary folder on OSX

2003-06-24 Thread Scott Rossi
Recently, "Thierry Arbellot"  wrote:

> Based on the answers I received - everybody has a "Temporary Items"
> folder - , I think there is something wrong on my iMac.

What happens if you "answer the tempName"?

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: Temporary folder on OSX

2003-06-24 Thread Scott Rossi
>> What happens if you "answer the tempName"?

> I get "/private/tmp/501/Temporary Items/tmp0"
> Running Rev 2.0r2 on PowerMac G4 tower (533 MHz) with MacOSX 10.2.5.

There's your temp directory.

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


[OT] Re: Apple's New Product Announcements

2003-06-25 Thread Scott Rossi
For those of you using Macs out there who want to stay connected with other
Mac users, you might want take a look at Apple's new iChatAV (free beta
download on Apple's site).  A friend and I tried this out recently on a
couple of laptops and while the audio quality varies, it *can* be phenomenal
with very little delay between send and receive.

Both of us were connected wirelessly, with my friend sitting in his backyard
and me at my studio, all without cables, external microphones or additional
hardware: we simply talked "at" our laptops and our voices were sent over
the network (a mic is hidden somewhere in the laptop case).  I could
actually hear the birds in my friend's backyard.

(BTW, a hint for iChatAV -- pressing the mute button on the status panel
every so often restores the voice quality of your broadcast nicely.)

Looking forward to a connected future...

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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


Re: [OT] Re: Apple's New Product Announcements

2003-06-25 Thread Scott Rossi
>> For those of you using Macs out there who want to stay connected with
>> other
>> Mac users, you might want take a look at Apple's new iChatAV (free beta
>> download on Apple's site).  A friend and I tried this out recently on a
>> couple of laptops and while the audio quality varies, it *can* be
>> phenomenal
>> with very little delay between send and receive.

> Another alternative would be:  Squid Cam from www.squidsoft.com
> For $20.00 you can run multiple connections (something iChat AV can not
> do).  Even connects with Win versions of the software.   I think Apple
> needs to get those system reqs down a bit.

Thanks for sharing this alternate option.  How did this app perform in your
experience?  Is the latency/audio as good or better than Apple's?

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: Import Snapshot from MoviePlayer doesnt work?

2003-06-29 Thread Scott Rossi
Recently, R. Hillen wrote:

> I want to get the first image of a movie.
> 
> As  Chipp Walters suggested, I tried to do a "Import snapshot from the
> rect of player ..".
> 
> But I got an image of the movieplayer with a white plane; no Movie ;-(.
> 
> May you help again?


Two things:

1) Make sure you convert the points of your rect to the global coordinate
system, similar to the following:

import snapshot from rect \
globalLoc(topLeft of player 1) & "," & globalLoc(botRight of player 1)

2)  If you're using QuickTime to display your movie, and your movie source
is a DVD, you may not be able to get any screen capture, due to Apple's
built-in copy protection.  Not sure if this is still present in the latest
version of QT (I believe Apple first implemented this in version 5) but you
can double check this by doing a standard screen capture of your monitor
when playing a DVD and viewing the result.  Of course, if you're not dealing
with DVD content then this is not an issue...

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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


Re: : More send in time

2003-06-30 Thread Scott Rossi
Recently, Ken Norris wrote:

> OK, all the other scripts I've seen, including mine (except for the screwup
> of putting 'the mouse' instead of 'the mouseLoc' which is what I meant to
> say) all use 'the mouseLoc'.
> 
> So what is so bad about using it then, except for using it in a loop?

There's nothing wrong with checking the mouseLoc.  The "wrong" aspect of
your script was the way you went about it.

BAD: "repeat until the mouse is up" (constant polling of the mouse state)

GOOD: checking a variable whose value is changed once the mouse is released

EXAMPLE:

on mouseDown
  set the uAllowCheck of me to true
  myLoop
end mouseDown

on myLoop
  if not the uAllowCheck of me then exit myLoop
  put "the mouse is down"
  send "myLoop" to me in 50 milliseconds
end myLoop

on mouseUp
  set the uAllowCheck of me to false
  put "the mouse is up"
end mouseUp

on mouseRelease
  mouseUp
end mouseRelease


Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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


Re: More send in time

2003-07-01 Thread Scott Rossi
Recently, Ken Norris wrote:

> I took the basic premise I started from, then sliced off bits and pieces of
> the posted scripts, reassembled them, refactored and hopefully reduced it.
> 
> What I came up with is this base to work from. It works great and seems very
> stable. It's a scrolling field with upper and lower sections covered by
> translucent graphics and an open box across the center (where the eventual
> selection will take place). It has a few repeated lines at the head and tail
> such that it smooth-scrolls endlessly in either direction.

> on mouseDown
> endlessScroller
> end mouseDown
> 
> on endlessScroller
> constant scrollSpeedInterval = 10 -- will be a global later
> if the mouse is up then exit endlessScroller
> if within(graphic "upScrollArea", mouseLoc()) then
> -- wrapover:
> if the vScroll of fld 1 = 0 then set the vScroll of fld 1 to 1345
> set the vScroll of fld 1 to (the vScroll of fld 1) - 1
> else if within(graphic "downScrollArea", mouseLoc()) then
> -- wrapover:
> if the vScroll of fld 1 „ 1345 then set the vScroll of fld 1 to 0
> set the vScroll of fld 1 to (the vScroll of fld 1) + 1
> end if
> send "endlessScroller" to me in scrollSpeedInterval milliseconds
> end endlessScroller

You would do well to modify the above script to be more in keeping with the
examples provided because eventually you may find your script fails, ie
sticks in one direction or another (you are continually polling the mouse
state).

on mouseDown
   set the uAllowScroll of me to true
   endlessScroller
end mouseDown

on endlessScroller
   constant scrollSpeedInterval = 10 -- will be a global later
   if not the uAllowScroll of me then exit endlessScroller
   if within(graphic "upScrollArea", mouseLoc()) then
 -- wrapover:
 if the vScroll of fld 1 = 0 then set the vScroll of fld 1 to 1345
 set the vScroll of fld 1 to (the vScroll of fld 1) - 1
   else if within(graphic "downScrollArea", mouseLoc()) then
 -- wrapover:
 if the vScroll of fld 1 „ 1345 then set the vScroll of fld 1 to 0
 set the vScroll of fld 1 to (the vScroll of fld 1) + 1
   end if
   send "endlessScroller" to me in scrollSpeedInterval milliseconds
end endlessScroller

on mouseUp
   set the uAllowScroll of me to false
end mouseUp

on mouseRelease
   mouseUp
end mouseRelease



Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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


Re: More send in time

2003-07-01 Thread Scott Rossi
Recently, "Ken Norris"  wrote:

> If this:
> 
>>> if the mouse is up then exit endlessScroller
> 
> ...polls the mouse state, then why doesn't this:
> 
>> set the uAllowScroll of me to true
> 
> ...poll the state of "uAllowScroll of me" in the same way?

The first example polls the physical hardware state of the mouse.  In
essence, the engine is repeatedly looking at the mouse to determine its
state.  The second example evaluates the value of a variable, which is much
more efficient (and reliable) than looking at the hardware.  There is little
to no overhead required to repeatedly check the value of a variable.


> These are the mechanics I don't understand. What, exactly, is the
> difference? I ask because without that understanding I'm liable to do the
> same type of thing again in a different setting.

The engine is extremely fast and reliable when it comes to checking the
value of a variable.  Given the fact that the developers of the tools have
repeatedly stated this is the correct way to handle checking the mouse
state, it would be worth your time to get in the habit of using this
technique. 

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: Huge stack bloat...

2003-07-01 Thread Scott Rossi
Recently, "Edwin Gore"  wrote:

> Okay...so, does cloning a card work VERY differently than creating a new card?

Yes -- cloning includes all card elements on the current card.  Creating a
new card creates an empty card.


> I ask because I have a stack where in a previous version I was using create
> card, but then I put in some card scripts, which I wanted to have included in
> new cards based on a template card. I was lazy, and didn't want to go through
> the work of moving the scripts into a background, or moving them up to the
> stack level.
> 
> Now it used to be that with around 500 cards this stack would be 6-700K.
> 
> Now that I switched to making new cards by cloaing, the same number of cards
> is about 35mb.
> 
> Whejn you clone a card is it acually making new copies of all the objects on
> that card - INCLUDING BACKGROUNDS?!?!

Yes.


> That just seems...I dunno...crazy.

Not really.  It's quite a timesaver when, as you say, one is feeling lazy
(you could substitute the word "productive" here) and doesn't want to go
through the hassle of copying all elements from one card to another.

You have both options for copying a card: create and clone.  Pick the option
that suits your need.

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


Another Script Editing Tip

2003-07-01 Thread Scott Rossi
When looking for ways to make script editing more convenient, I found the
following to be a simple and easy method which (best of all) allows me to
keep the browse tool active -- no need to switch to the pointer tool.

Place the following in the stack script:

on editScript?
  if the optionKey is "down" then
edit script of the target
exit to top
  end if
end editScript?

Then in any object whose script you want to edit often, place the line
"editScript?" at the top of its mouseUp handler:

on mouseUp
  editScript?
  ...
  ...
end mouseUp

Now you can quickly edit the script of any object whenever you alt+click
(option+click) the object with the browse tool.

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: Another Script Editing Tip

2003-07-01 Thread Scott Rossi
Recently, "Howard Bornstein"  wrote:

> I had this script in my home stack:
> 
> on mousewithin
> global currentTarget
> put the target into currenttarget
> if currenttarget contains "field"  then
>   if the commandkey is down and the shiftkey is down then
> set locktext of currenttarget to not locktext of currenttarget
> wait 20 -- just so you don't toggle it on and off if someone
> -- leaves the option key down
>   end if
> end if
> end mousewithin
> 
> This script doesn't work in Revolution (unless it's in the actual field
> you're trying to affect. It won't work in the stack script.)
> 
> Apparently the mousewithin message doesn't travel up the hierarchy like
> it does in HC. Can you tell me why?

Can't tell you why, but according to the MC docs, mouseWithin is yet another
inefficient handler to be avoided.

The following works similarly to the HC script above and uses two key sets
(command+shift = unlock,command = lock):

[can be placed in the card or stack script]

on mouseMove
  if word 1 of name of the target = "field" then
if the commandKey is "down" then
  if the shiftKey is "down" then
set the lockText of the target to false
  else set the lockText of the target to true
end if
# SHOW FIELD STATUS
put name of the target && "locked = " && the lockText of the target
  end if
end mouseMove

Passing the mouse over the field with the above mentioned key combinations
pressed allows you to lock/unlock a field at will.

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: Goings on behind the scene

2003-07-01 Thread Scott Rossi
Recently, "Jim Hurley"  wrote:

> Scott:  Check out Run Rev preferences. Under "general" there is
> the shortcut: "Command-Option edits scripts" This work when the
> browse tool is over any control--but not for the card.

Thanks for the tip! (I don't believe this exists in MC but could be
wrong...)

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: clipboardData & PNG & JPG

2003-07-02 Thread Scott Rossi
Recently, "Klaus Major"  wrote:

>> I am using the following to place a JPG onto the clipboard:
>> 
>> set the clipboardData["image"] to url ("binfile:"&tPhotoChoice)
>> 
>> When I paste the clipboard into another app it appears to paste
>> a PNG file which is much larger in k than the original JPG.
>> 
>> Is there any way to place the original JPG (and not a larger PNG)
>> onto the clipboard?
> 
> i am not a techie so my explanation my be a bit naive :-)
> 
> I think that JPG is a compressed fileformat (sic!) which means that the
> original image data (24 bit per pixel, no alpha channel in JPGs) will
> get decompressed when put into the clipboard or opened in memory
> by image editors.

It's true that JPEGs are compressed, but it's also true that the file format
is "lossy" (not lossless).  In other words, each time a JPEG is compressed,
information is lost.  With low compression, you may not notice any
artifacts, but with high compression you will see a high degree of odd color
patches and other artifacts.  So in reality, the 24 bit data is not stored
in the JPEG image.

24 bit PNG is a compressed and lossless format, and GIF can also be lossless
if the source image contains no more than 256 colors.

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


[ANN] Game Available for Test

2003-07-02 Thread Scott Rossi
Greetings List:

I've recently been working on a small game called KodeKraker, a variation of
the classic logic game Mastermind.  I'd like to invite folks with a few
spare moments (!) to take it for a test run.

What started out as a programming exercise turned into a fairly involved
little project.  The game features audio feedback, a custom UI (typical
Tactile Media eye candy), and a fun little custom dialog system (note: no
Flash was used in the making of this game).

To grab the game, type the following in your message box:

   go stack url "http://www.tactilemedia.com/test/stacks/kodekraker.rev";

The stack runs 285K (folks with slower connections please be patient).

Thanks for reporting any problems or otherwise.

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: [ANN] Game Available for Test

2003-07-03 Thread Scott Rossi
> To grab the game, type the following in your message box:
> 
>  go stack url "http://www.tactilemedia.com/test/stacks/kodekraker.rev";

Thanks for the suggestions and feedback guys.  Really great to hear from
you.

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


Hacker Contest

2003-07-03 Thread Scott Rossi
This may be a hoax or Internet propaganda, but just in case, you might want
to take the precaution of backing up any Web-stored material (sites, files,
etc).

http://www.cnn.com/2003/TECH/internet/07/03/hacker.warnings.ap/index.html

Once of my ISPs recently sent out an advisory recommending the backing up of
all Web site files and data.

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


<    4   5   6   7   8   9   10   11   12   13   >