revFontLoad Crashes

2008-07-08 Thread Bridger Maxwell
Hey,

I am finding revFontLoad to be quite troublesome. I would like the ability
to load fonts dynamically in my app from a given directory. However, I have
run into a few problems, particularly on OS X. One font I tried to load
using revFontLoad on OS X made the entire interface, including everything in
the Revolution IDE, to turn a different language. I don't know what language
it was, but it had a lot of curvy lines and dots, for what it is worth. Now
any font I try to load on OS X just crashes my application immediately and
without any errors.

On Windows things seem to be working better, but I haven't done too much
testing there yet. One thing I have noticed is that if a text field is set
to use a particular font before the font is loaded, the font will not be
loaded correctly for all sizes and the field will not show the font. For
example, if I have a field with Lucida Grande 18 point text, when I load the
Lucida Grande font, size 18 does not work. This is not mentioned in the
docs.

Also, is ttf the only font format that revFontLoad supports? If it is, I
can't find any mention of that limitation in the docs.

TTFN
Bridger Maxwell
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux Revolution Executable

2007-12-13 Thread Bridger Maxwell
Well, never mind.  For some reason, it just wasn't turning up on the
Ubuntu system.  Unzipping it from a Windows machine and carrying it
over on a flash drive worked.  How odd.  I wonder if it could be a
safety "feature" because the file was downloaded.

On Dec 13, 10:51 pm, Peter Alcibiades <[EMAIL PROTECTED]>
wrote:
> Downloaded it a week or so back, and there is the usual Revolution 2.5mb in
> the 2.9 dp2 folder, click on it and it runs.  So it definitely was there and
> working not long ago.
>
> Peter
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux Revolution Executable

2007-12-13 Thread Bridger Maxwell
Hmm, very odd.  I wonder why the executable was removed.  Hopefully it
was an accident, and will be fixed soon.  I just checked the previous
beta, and it is how I expected it to be.  I sure hop I am not
overlooking something obvious.

  TTFN
Bridger Maxwell

On Dec 13, 10:51 pm, Peter Alcibiades <[EMAIL PROTECTED]>
wrote:
> Downloaded it a week or so back, and there is the usual Revolution 2.5mb in
> the 2.9 dp2 folder, click on it and it runs.  So it definitely was there and
> working not long ago.
>
> Peter
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Linux Revolution Executable

2007-12-13 Thread Bridger Maxwell
Hey,
  I am feeling really slow right now, but I can't find the executable for
the Revolution 2.9 db2.  I downloaded the zip file and unpacked it, and it
looks just like my OS X install, except the lack of anything named
"Revolution" that I can launch.  Am I missing something obvious?  I feel
silly even asking this question.  Her is the list of files and folders in
the folder:
Documentation  IDE Change Log.txt  Resources Toolset
Engine Change Log.txt  Plugins Runtime
Whats_New.txt
Externals  Read_Me_First.txt   Supporting Materials


  TTFN
Bridger Maxwell
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Images Miscolored

2007-12-13 Thread Bridger Maxwell
A friend of mine cooked up a fix.  He created an automator action that
will change all the files from png to jpg by making a new jpg image
and pasting the png into it.  Apparently, when simply saving the png
to a jpg (from Preview) it does not solve the problem.  This is
definitely a Revolution problem, because the images display just fine
in every other program, but I don't even know how to submit a bug like
this when I am not sure what causes it or exactly why the fix works.
Can anyone give me a hint on this?

  TTFN
Bridger

On Dec 13, 12:07 pm, "J. Landman Gay" <[EMAIL PROTECTED]>
wrote:
> BridgerMaxwell wrote:
> > Hey,
> >   I am experiencing an odd problem with the way some images in my stack
> > created on Leopard show up on Tiger.  Their colors get off.  Some grey
> > images end up with a very distinctive blue tint.  I can't quite pinpoint the
> > cause though.  The problem does not happen to all images, but I can't figure
> > out a pattern.  It can be an image referenced by filename, or imported into
> > the stack.  I thought maybe it is only the images I created in Photoshop
> > CS3, but others display just fine.
>
> I wonder if this is due to the png file format, which stores gamma
> information and displays differently on various machines. Does it only
> happen with pngs? Does it happen if you save the images as jpg instead?
>
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   |http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Images Miscolored

2007-12-12 Thread Bridger Maxwell
Hey,
  I am experiencing an odd problem with the way some images in my stack
created on Leopard show up on Tiger.  Their colors get off.  Some grey
images end up with a very distinctive blue tint.  I can't quite pinpoint the
cause though.  The problem does not happen to all images, but I can't figure
out a pattern.  It can be an image referenced by filename, or imported into
the stack.  I thought maybe it is only the images I created in Photoshop
CS3, but others display just fine.  I don't have Tiger machine to test on,
so I am a little limited in what I can try.  The images in question look
fine in Preview on Tiger, but start looking odd when displayed in a stack.
I have uploaded one of the troubled images as a png and its original
Photoshop file, if anyone could give me a hand.
www.fieryferret.com/oddimages/PreviewBack.png
www.fieryferret.com/oddimages/PreviewControls.psd


  TTFN
Bridger Maxwell
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


MySQL Driver for Linux CGI

2007-11-29 Thread Bridger Maxwell
Hey,
  After a small change in the way my website's files are arranged, some of
them have stopped working.  I have traced it to a problem connecting to the
database, which previously worked.  I get this error when running my cgi:

Failed to load dbmysql.so error dbmysql.so: cannot open shared object file:
No such file or directoryfound /serverPath/cgi-bin/dbmysql.so
symbols -1208625966,-1208626080,-1208625994

The file that is is referencing is there, and the case in the filename is
correct.  When I move the dbmysql.so file, or change its case it gives me
this error:

Failed to load dbmysql.so error dbmysql.so: cannot open shared object file:
No such file or directoryError opening database: revdberr,invalid database
type

I can't make heads or tails of this.  It seems like it gives me the error
about there being no driver file when the driver is there, and the more
general error when the driver is not.
Both the engine and the driver were taken from the 2.6.1 distribution of
Revolution.  When I check "the version" it returns 2.6.6.  Both the engine
and the driver have their permissions set to 755.

  Thank You,
 Bridger Maxwell
 www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Scriptlimits Barrier

2007-11-14 Thread Bridger Maxwell
Hello,
  I am writing an app in which I would like to save objects to a file, and
restore them later.  I am able to store all of their properties as XML and
restore the object fine in the IDE, but the scriptlimits poses a problem.
Because many of these objects need script to be restored, it is impossible
to recreate them in a standalone without hitting the scriptlimits barrier.
Is there an alternative way around this?  Does the scriptlimits apply when
you use the copy command?  Perhaps I should use a frontscript that acts as
the script for different types of objects.  Neither of these workarounds
sounds particularly clean to me though.  If anyone has any experience with
this kind of problem I would love to hear your thoughts.


  Thank You,
 Bridger Maxwell
 www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Relayering Grouped Controls

2007-11-09 Thread Bridger Maxwell
Hey,
  Either I am missing something very obvious, or I have discovered a
bug.  I am unable to relayer a control that is within a group.  I have
set the releyerGroupedControls to true, but I still receive the error
"can't set layer (card not open, or control in group)."  Here is my
script, if that helps.  Both the group ("Symbol" & vNum) and img
"SceneFrame" are within the same group, "SceneWrapper."

on layerSymbol vNum
  lock screen
  set the relayerGroupedControls to true
  if vNum is not empty and there is a grp ("Symbol" & vNum) then
set the layer of grp ("Symbol" & vNum) to (the layer of img
"SceneFrame")  --Throws an error
  end if
end layerSymbol

I have found a workaround using the start editing group command, but
it is too slow for my purposes.  Here is the workaround script that
does work.

on layerSymbol vNum
  lock screen
  set the relayerGroupedControls to false
  if vNum is not empty and there is a grp ("Symbol" & vNum) then
start editing grp "SceneWrapper"
set the layer of grp ("Symbol" & vNum) to (the layer of img
"SceneFrame")
stop editing
  end if
  unlock screen
end layerSymbol

Also, I am running Revolution 2.9 dp-1 on OS X "Leopard," perhaps this
is a new bug?  Can someone verify that is running the Beta or Leopard?


  Thank You,
Bridger Maxwell
www.FieryFerret.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Preference Files on Linux

2007-10-13 Thread Bridger Maxwell
Where is the standard place for preference files to be stored on a Linux
machine?  Also, where is the right place to store externals when installing?


 Thank You,
   Bridger Maxwell
   www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Communicating Between Rev CGI and PHP

2007-10-07 Thread Bridger Maxwell
Hey,  I read on this list how to execute a Rev CGI from a PHP script using
exec().  I also saw in that discussion that they were able to pass in
parameters from PHP to the CGI and back.  How is this done?  Is it possible
to access an array created in the PHP script from the Rev CGI?  Can I make a
global variable that either can access?

  Thank You,
Bridger Maxwell
www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


MySQL Timeout

2007-08-15 Thread Bridger Maxwell
Hey,  Is there a way to set a maximum time for a MySQL query to execute
before it times out?  As it is right now, if the MySQL server is having
problems or something then my application will hang indefinitely waiting for
a response.  Is there a way to set a timeout?


  Thank You,
Bridger Maxwell
www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Best place for putting preferences on a PC?

2007-08-08 Thread Bridger Maxwell
Hey,

> Lastly, I noticed recently that when I go to build the standalone
> version (a demo) of my app, I get some kind of weird errors in a giant
> box when I build. It only happened recently, but I get it
> consistently, every time I try to build that app. It looks like
> there's a problem with revCopyExternals.



I have had that same problem.  It gives a lot of numbers in the dialog
right?  If you look at those numbers, they are actually line and column
numbers at the exact script where the error is taking place.  For me, there
was an error in my "savingStandalone" handler, which would interrupt the
saving process.  Maybe if you trap the savingStandalone message you could
double check it?


  TTFN
Bridger Maxwell
www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Smoothest Way To Play Video

2007-08-08 Thread Bridger Maxwell
Hey,  I have a short video (3 seconds?) that plays very choppy, that I need
to run smoothly on an old computer (500 MHz).  Right now, it is playing from
a player object with the movie file referenced.  It is layered, so its
alwaysBuffer must be set to true.  It also has a few callbacks that must be
included.  All of this added up makes the movie play extremely choppy, and
it really looks quite terrible.  I am looking for any tips to make a video
play smoothly.  Is there a magic setting I can use, a way to pre-load the
video in memory, or a certain compression format to use that works well with
Revolution?  I think the setting that really makes it run slow is the
alwaysBuffer, but without it, I can't have the player underneath other
objects.  Is there an alternative to this?

  Thank You,
 Bridger Maxwell
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SQL Access with Rev CGI

2007-08-06 Thread Bridger Maxwell
Hey,  Again, somehow asking the question allows me to see the answer.  Funny
how that happens.  I thought I would share what works, in case someone else
runs into the same problem.  First of all, my Linux CGI engine is version
2.6.6, which I got off of the runrev ftp site.  The mysql driver I am using
is from the 2.6.1 distribution of Revolution found in the installation
folder /components/global environment/database_drivers/Linux/dbmysql.so.
 This driver is about 32 kb, in case you would like to check it against the
driver you have.
  Although I played around with different engine and driver versions, this
was not my main problem.  The problem was due to a simple, yet undocumented
(as far as I could find) quirk.  When using the revOpenDatabase() function,
if the database type is spelled "mySQL" then the database driver name must
be "dbmySQL.so", including the correct case.  That is where I was caught.

  TTFN
Bridger Maxwell

On 8/6/07, Bridger Maxwell <[EMAIL PROTECTED]> wrote:
>
> Hey,
>   I have just got a Rev CGI set up on my Dreamhost server, and I would
> like it to access my SQL database.  I have been searching around the list
> archive, and it seems like it is possible, but I  can't figure it out.  Is
> there a driver I need to download?  Where can I get that driver?  Whenever I
> execute revdb_connect, it returns "revdberr,invalid database type."  I am
> running the linux engine version 2.6.6.
>
>   TTFN
> Bridger Maxwell
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Windows Exe Crashes

2007-08-06 Thread Bridger Maxwell
Actually, even the stack that gets compiled into a .exe still has its source
available.  If you drag the executable to a text editor and scroll through
all of the garbage, you can find all of your scripts in plain text.
 Compiling a stack is essentially attaching the Revolution engine to a
stack.  You can encrypt your stacks to protect your data though.  In the
standalone application settings, under the "Stacks" tab and at the
bottom-right, you can put a password on your stacks.


   TTFN
     Bridger Maxwell
 www.FieryFerret.com

On 8/6/07, Tracy Riegle <[EMAIL PROTECTED]> wrote:
>
>
> Actually, I tried that and it worked.  But here are my questions to that
> approach.  Does the "main" stack NOT get compiled?  Will my "main"
> stack now be available in its source format (I don't want the source to
> be available to the public)?
>
> Thanks for the help.
>
> -Tracy
>
>
> On Aug 6, 2007, at Monday, 2007/06/0816:24, Derek Bump wrote:
>
> > Hello Tracy,
> >
> > You should consider using a Loading stack.
> >
> > This would mean that you would have 2 stacks.  The first one loads the
> > second one.  And the first one could be built into any format,
> > ensuring
> > that the second one stays the same.
> >
> >
> > So in other words.
> >
> >   |---|  |--|
> >   | Loading Stack |  -(opens)->  |  Main Stack  |
> >   |---|  |--|
> > (Standalone)
> >
> >
> > Derek Bump
> > Dreamscape Software
> > http://www.dreamscapesoftware.com
> >
> >
> > Tracy Riegle wrote:
> >>
> >> Hi All,
> >>
> >> I'm new to this list, so please forgive me if I ask a question that
> >> has already been answered (although I searched the archive
> >> and couldn't find an answer).
> >>
> >> I'm using Rev 2.8.1 build 472.  I have a stack with about two dozen
> >> cards, with each card having a large image on it, and several other
> >> controls (some of which are shared among all card).
> >>
> >> The project runs find within the IDE.  If I build a Standalone for a
> >> Mac, it also runs just fine.  If I build a Standalone for Windows
> >> it crashed with:
> >>
> >> NAME 1.0.0.0 for Windows has encountered a problem and needs to
> >> close.
> >>
> >> I get NO other windows at all, just this small error pop-up, like
> >> it isn't even trying to start.
> >>
> >> I tried building for Windows from a Mac and Win XP machine.
> >> I tried commenting ALL the startup scripts so NO code script gets
> >> executed at startup.  It still crashes.
> >>
> >> I tried deleting cards to see if I had a bad image on an offending
> >> card.
> >> The only way I finally got it to run was if I delete over 1/2 the
> >> cards
> >> and get the stack size down from about 6 Meg to less than 3 Meg
> >> (it makes NO difference which cards I delete to decrease the size).
> >>
> >> Once I got the stack down to less than 3 Megs, then the Standalone
> >> runs on Windows???
> >>
> >> Does anyone have any ideas as to what might be going wrong?
> >>
> >> Thanks in advance.
> >>
> >> -Tracy
> >>
> >> ___
> >> use-revolution mailing list
> >> use-revolution@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-revolution
> >>
> >>
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


SQL Access with Rev CGI

2007-08-06 Thread Bridger Maxwell
Hey,
  I have just got a Rev CGI set up on my Dreamhost server, and I would like
it to access my SQL database.  I have been searching around the list
archive, and it seems like it is possible, but I  can't figure it out.  Is
there a driver I need to download?  Where can I get that driver?  Whenever I
execute revdb_connect, it returns "revdberr,invalid database type."  I am
running the linux engine version 2.6.6.

  TTFN
Bridger Maxwell
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev CGI Post

2007-08-06 Thread Bridger Maxwell
Hey,  The way you are reading info is for an HTTP GET, I am not sure if that
is how PDT sends the data, but with IPN, the data is sent in an HTTP POST.
 You can check to see how the data is being sent by looking at the
$REQUEST_METHOD global.  Here is my script to read from the POST data:

put empty into gBuffer
  REPEAT until length(gBuffer) >= $CONTENT_LENGTH
read from stdin until empty
put it after gBuffer
  END REPEAT
  put "cmd=_notify-validate&" & gBuffer into vReturn


Hope that helps!

  TTFN
Bridger Maxwell
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev CGI Post

2007-08-05 Thread Bridger Maxwell
Hey, Never mind, problem solved!  By looking at the PHP script, I was able
to throw together a script to write the POST and receive a response from
PayPal by reading and writing to sockets.  I am still curious to know if I
can use in libURL functions in a Rev CGI though.


   TTFN
 Bridger Maxwell
 www.FieryFerret.com

On 8/5/07, Bridger Maxwell <[EMAIL PROTECTED]> wrote:
>
> Hey,  I am trying to make a Rev CGI play nicely with PayPal, and I am
> stuck.  I am trying to implement PayPal's IPN (Instant Payment Notification)
> which sends data to a CGI on my site when a purchase is made.  It does
> this by sending a POST.  My CGI is supposed to POST back to PayPal the
> data PayPal sent me, and a little extra for verification.  As part of the
> second the POST, the PayPal site is supposed to send back either
> "VERIFIED" or "INVALID."  I hope made sense.  :)
>   My CGI is receiving the data, and I try to send a POST back, but no data
> is in the "it" variable or the result.  How do I get the data?  Is the
> POST command available in a CGI?  Should I just do this with my own custom
> sockets?
>
>
> TTFN
>Bridger Maxwell
>www.FieryFerret.com
>
>
>
>
> If it helps, I have sample PHP code I am working from, and some of my code
> from the CGI.
>
>
> PHP Code (From PayPal):
> // post back to PayPal system to validate
> $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n";
> $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
> $header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
> $fp = fsockopen ('www.paypal.com ', 80, $errno, $errstr, 30);
>
>
> if (!$fp) {
> // HTTP ERROR
> } else {
> fputs ($fp, $header . $req);
> while (!feof($fp)) {
> $res = fgets ($fp, 1024);
> if (strcmp ($res, "VERIFIED") == 0) {
> // process payment
> }
> else if (strcmp ($res, "INVALID") == 0) {
> // log for manual investigation
> }
> }
> fclose ($fp);
> }
>
> My CGI Code:
> put empty into gBuffer
>   REPEAT until length(gBuffer) >= $CONTENT_LENGTH
> read from stdin until empty
> put it after gBuffer
>   END REPEAT
>   put "cmd=_notify-validate&" & gBuffer into vReturn
>
>   post vReturn to "http://www.sandbox.paypal.com/cgi-bin/webscr "
>  --After this post, the "it" variable is empty, and so is the result
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev CGI Post

2007-08-05 Thread Bridger Maxwell
Hey,  I am trying to make a Rev CGI play nicely with PayPal, and I am stuck.
 I am trying to implement PayPal's IPN (Instant Payment Notification) which
sends data to a CGI on my site when a purchase is made.  It does this by
sending a POST.  My CGI is supposed to POST back to PayPal the data PayPal
sent me, and a little extra for verification.  As part of the second the
POST, the PayPal site is supposed to send back either "VERIFIED" or
"INVALID."  I hope made sense.  :)
  My CGI is receiving the data, and I try to send a POST back, but no data
is in the "it" variable or the result.  How do I get the data?  Is the POST
command available in a CGI?  Should I just do this with my own custom
sockets?

TTFN
   Bridger Maxwell
   www.FieryFerret.com


If it helps, I have sample PHP code I am working from, and some of my code
from the CGI.

PHP Code (From PayPal):
// post back to PayPal system to validate
$header .= "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
$fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30);


if (!$fp) {
// HTTP ERROR
} else {
fputs ($fp, $header . $req);
while (!feof($fp)) {
$res = fgets ($fp, 1024);
if (strcmp ($res, "VERIFIED") == 0) {
// process payment
}
else if (strcmp ($res, "INVALID") == 0) {
// log for manual investigation
}
}
fclose ($fp);
}

My CGI Code:
put empty into gBuffer
  REPEAT until length(gBuffer) >= $CONTENT_LENGTH
read from stdin until empty
put it after gBuffer
  END REPEAT
  put "cmd=_notify-validate&" & gBuffer into vReturn

  post vReturn to "http://www.sandbox.paypal.com/cgi-bin/webscr";
 --After this post, the "it" variable is empty, and so is the result
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Borders and Icons

2007-07-30 Thread Bridger Maxwell
Hey,
  This is a small problem, but I can't figure it out and I thought I would
toss it out to all of you geniuses.  I have button that I have made custom
look for by setting its icon to an image.  I would like to also have a
border around it, but when the showBorder is true, the border wraps
everywhere except where the icon touches the side of the button.  For
example, I have button that has an extremely wide image set as its icon so
when the button grows more wide, the icon is big enough to accommodate.
When the border is being shown it shows on the upper and lower edges, but
the portions on the right and left of the button where the icon extends past
the button's rect do not have a border showing.  Coincidentally, those are
the only places I want the border to show up.  Is there any way to force the
border to show up around the entire button?  Sorry to bug you guys with such
a minuscule problem.


  Thank You,
     Bridger Maxwell
 www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Replacing the Menu-bar

2007-07-19 Thread Bridger Maxwell

Hey,  I am making a stack which I would like to have the
sunken menu-bar look, like in iTunes.  I have made the graphic, but of
course when I set the shape of the stack the menu-bar disappears.  With the
menu-bar, the exit, minimize, and maximize button disappear.  I know I could
fashion my own, but I am afraid that if I do it will not match the rest of
the interface.  Is there any way to put these back on, in any place I want?
I only need this for the OS X version of my app.


 Thank You,
   Bridger Maxwell
   www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What I did with Rev last night

2007-07-13 Thread Bridger Maxwell

Hello,
   One interesting stack I did was for a teacher of mine.  He was switching
everything over from an older test-making program he had to a new testing
website.  However, there was no way to export the tests from the old program
into a format the website could read, so I made a stack that could take a
test and answer key, then spit out a properly formatted test file.  It was
really a simple program, but my teacher sure gave a lot of extra credit for
it.  :P

 TTFN
   Bridger Maxwell
   www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What version of Rev is running

2007-06-18 Thread Bridger Maxwell

Hey,

 As far as I could find, there are two handlers to find the plugins
folder: revEnvironmentUserPluginsPath() and
revEnvironmentPluginsPath().  I found these by looking at the
revUpdatePlugins handler in the script of the revMenuBar's first card
(edit the script of the cd 1 of stack "revMenuBar").  They were not in
the documentation, so I guess they are officially "unsupported," but
they seem to work for me!
 Also, to find the license, the same script used the following code:
get the line 4 of the revLicenseInfo

 TTFN
   Bridger Maxwell
   Check out Lumen at: www.FieryFerret.com/lumen/lumen.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Revolution Freezing

2007-06-18 Thread Bridger Maxwell

Hey,  Lately, I have been able to freeze Revolution a lot more than I would
like too.  It dies almost every 5 minutes.  I haven't been able to track
down the problem, because it always happens when I have my whole development
environment open.  I haven't submitted a bug report yet, because I don't
know what causes it, although I have noticed it is mostly likely to freeze
when I look away, or switch to another application.  Just barely I
discovered something odd about these freezes.  If I go into Activity
Monitor, then double click on the Revolution process (which shows up as "not
responding") to pull up its info, Revolution magically starts working!  What
does this mean?  If no error dialogs show up, can I assume is a problem with
the Revolution Engine, and not with my stack?  Anybody's experience or
advice would be greatly appreciated.

 Thank You,
Bridger Maxwell
www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac Icon problem

2007-06-10 Thread Bridger Maxwell

Hey,
 For some reason, a new app created with Revolution doesn't show its icon
immediately.  You can try moving it to a folder where it has never existed
before, or even restarting your computer for Finder to display the
application's proper icon, but I found the quickest way is to zip up the
application bundle then unzip it.
 Another problem I have found is that my build settings do not apply right
if the mainstack is not the top window at the time of the build.

 Thank You,
   Bridger Maxwell
   www.FieryFerret.com

On 6/10/07, Thomas McCarthy <[EMAIL PROTECTED]> wrote:



building a standalone with Rev 2.8.1 on my Mac 10.3.9
My apps are not displaying the icon I've assigned to themit worked
before.

Anyone else have this problem?

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


External Writing Help

2007-05-28 Thread Bridger Maxwell

Hey,
 I am trying to get my feet wet with writing externals for Revolution, and
I must admit I am a little stuck.  I read the newsletter articles on writing
externals, and found them extremely helpful.  However, I only have a very
basic understanding of C++ and I need some help.  There is a framework I
would like to use that would enable me to communicate with a Bluetooth
device, but it is written in Objective-C.  From the newsletter, I only have
the C++ "glue" code that allows the external to bind with Revolution.  Is
there an Objective-C build environment I can use, or is it possible to
invoke the functions in the Objective-C framework from my C++ code?  This is
for OS X, and I am using XCode.  I am in above my head, and any help would
be greatly appreciated.

  Thank You,
    Bridger Maxwell
www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Color of Drawer

2007-05-24 Thread Bridger Maxwell

Hey,
 Is it possible to set the color of the border around a drawered stack?
Right now it is the default white with pinstripes that is common on OS X.  I
have tried changing the backgroundcolor of the drawer stack and the parent
stack, but it did not change anything.  I am hoping to make it black.  Is
this possible, or would it be breaking the "Apple Human Interface
Guidelines?"  Also, this is my first time trying out drawers, are there any
gotchas that I should worry about?  Looking back at the user list, there was
some issues with dragging windows on different versions of OS X.  Is this
still an issue?

 Thank You,
   Bridger Maxwell
   www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Making OS-Specific Standalones

2007-05-09 Thread Bridger Maxwell

Hey,
 Is there any way to have the Windows standalone saved differently from the
OS X standalone?  I would like the Windows standalone to have custom
properties containing the externals to be unpacked, but because OS X uses
bundles this is not an issue and I don't want these custom properties to be
saved as part of the OS X standalone (no need to use extra memory).  I know
I could just build for Windows, clear the externals, and build it again for
OS X, but is there an easier way so I don't get mixed up?

 Thank You,
   Bridger Maxwell
   www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


2.7 For Linux?

2007-05-06 Thread Bridger Maxwell

Hey,
 I was wondering when the Revolution with support for Linux is supposed to
be released.  I realize that it is going to be in version 2.9 of Revolution,
but the current beta build is 2.8.1, does that mean that we are going to
have several updates under 2.8, and that the 2.9 release will be released
much later than I thought?  I guess what I am looking for is a general time
estimate until 2.9.  Is it weeks, months, a year?  Until then, is there any
way that I can use Revolution 2.6 to build a Linux version of my app even
though I don't have a 2.6 license?


 Thank You,
   Bridger Maxwell
   www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Sortable Table Field

2007-05-02 Thread Bridger Maxwell

Wow, you guys are amazing.  Thank you Sarah for the quick reply, and I would
also like to point a "thank you" to Altuit for all the great tools on the
site.  The Revolution community has saved me hours of time and frustration!

 Thank You,
    Bridger Maxwell
www.FieryFerret.com

On 5/2/07, Sarah Reichelt <[EMAIL PROTECTED]> wrote:


On 5/3/07, Bridger Maxwell <[EMAIL PROTECTED]> wrote:
> Hello,
>   Has anyone made a sortable table field (like in iTunes, where you can
sort
> it by name, artist, etc.) and knows how to easily make one.  The
> functionality shouldn't be too hard to program, I just want to make sure
it
> looks right.  Any help would be greatly appreciated.
>

Check the Altuit web site. Chipp has a great plugin called
altFldHeader (or something similar) which gives you resizable column
headers which can be clicked to do whatever you want.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Sortable Table Field

2007-05-02 Thread Bridger Maxwell

Hello,
 Has anyone made a sortable table field (like in iTunes, where you can sort
it by name, artist, etc.) and knows how to easily make one.  The
functionality shouldn't be too hard to program, I just want to make sure it
looks right.  Any help would be greatly appreciated.

 TTFN
   Bridger Maxwell
   www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Crashes with 2.8.1 dp4

2007-05-02 Thread Bridger Maxwell

dp4?  2.8.1 dp3 has apparently expired today, did they already release the
next one?  I don't think I have received that email yet.

 TTFN
   Bridger Maxwell

On 5/2/07, Mark Talluto <[EMAIL PROTECTED]> wrote:


Anyone crashing on OS 10.4.9 with Rev 2.8.1 dp4 near the end of
building a standalone?

I posted bug: <http://quality.runrev.com/qacenter/show_bug.cgi?
id=4831> if you have any additional comments.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Window Level Core Image Transition

2007-04-29 Thread Bridger Maxwell

Hey,
 Thanks for the reply, but I am looking for something slightly different.
The Core Image Sampler stack shows how to do transitions on a section inside
a stack.  I thought the changelog entry said that a transition could be done
on the entire stack and carry over to the desktop behind it.  I have got
transitions to work on an entire stack, but it does not extend past the rect
of the stack or make so you can see parts of the desktop ("transitions with
alpha channels on an entire window").  Perhaps I am mistaken and this is not
possible though.

 Thank You,
   Bridger Maxwell
   www.FieryFerret.com

On 4/29/07, Scott Rossi <[EMAIL PROTECTED]> wrote:


Recently, Bridger Maxwell wrote:

> I saw this in the changelog of Revolution 2.7:
> * Window level transitions. Now you can perform transitions with alpha
> channels on an entire window, allowing effects such as rippling
applications
> on the desktop.
> However, I couldn't find any documentation on it.

Take a look at the Core Image Sampler stack that should be included with
your install.  Note that you can only use transition effects; no filters
or
anything else that does not involve transitioning from a source to a
destination.  And of course, the effects are Mac only.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Window Level Core Image Transition

2007-04-29 Thread Bridger Maxwell

Hello,
 I saw this in the changelog of Revolution 2.7:
* Window level transitions. Now you can perform transitions with alpha
channels on an entire window, allowing effects such as rippling applications
on the desktop.
However, I couldn't find any documentation on it.  I am assuming that this
means we can do cool transitions that effect the entire desktop, like how
everything ripples when you drag a new widget onto the Dashboard.  Am I
reading into this right?  I would like to use this for a stack of mine to
have a transition when the window changes size.  It would be especially cool
if I could get the cube transition.  Any attempts I have made so far only
effect my current stack's rect.  Nothing is transparent and nothing effects
the rest of the window.  If anyone has used this new feature, or if I am
just interpreting it wrong, I would love some help.

 Thank You,
    Bridger Maxwell
www.FieryFerret.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Resize a Group Without Moving Objects

2007-04-19 Thread Bridger Maxwell

Hey,
 Is it possible to set the rect of a group, without moving the objects
inside the group around?  Whenever I modify the size of a group, the groups
loc will change a little, and the objects inside it will move also, is there
any way to go around that?

 TTFN
   Bridger Maxwell
   Fiery Ferret
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Lumen - Game Made In Revolution

2007-04-17 Thread Bridger Maxwell

Hello,

Brent Anderson and I have decided to start a small company that offers
consultation services.  To kick of the business and draw people to the site
we have made game called "Lumen."

Lumen is a puzzle game in which the user must "activate" checkpoints placed
on the board by coloring a laser beam and using mirrors to bounce it around
the board.  Although the objective is simple, the puzzles can be quite a
challenge!

Lumen is available for Mac OS X (Universal Binary) and Windows.

You can download Lumen at: www.fieryferret.com/lumen/lumen.html .  Go ahead
and try it out, then spread the word!  Make sure to leave feedback so we can
continue to improve Lumen.

Oh, I almost forgot.  Lumen is absolutely FREE!


 Best Wishes,
   Bridger Maxwell
   Fiery Ferret
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Document Icons on Windows

2007-04-14 Thread Bridger Maxwell

Never mind, I found a guide online on how to change the registry to do
this.  I would put down the site, but I have forgotten it.  Woops.

 TTFN
   Bridger Maxwell

On 4/13/07, Bridger Maxwell <[EMAIL PROTECTED]> wrote:


Hey,
  I am trying to deploy to the Windows platform, and I can't get the icons
on the documents work quite right.  At first they weren't associated with my
stack at all.  Then, after telling them to open with my application, the
icon is a little paper with my application's icon slapped in the middle of
it really small instead of the icon that I specified for the documents.  How
do I make my application's documents be associated with my application from
the beginning, and how do I get the document icons to work?


  Thank You,
   Bridger Maxwell


___
use-revolution mailing list
[EMAIL PROTECTED]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Document Icons on Windows

2007-04-13 Thread Bridger Maxwell

Hey,
 I am trying to deploy to the Windows platform, and I can't get the icons
on the documents work quite right.  At first they weren't associated with my
stack at all.  Then, after telling them to open with my application, the
icon is a little paper with my application's icon slapped in the middle of
it really small instead of the icon that I specified for the documents.  How
do I make my application's documents be associated with my application from
the beginning, and how do I get the document icons to work?


 Thank You,
  Bridger Maxwell
___
use-revolution mailing list
[EMAIL PROTECTED]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Drag Files To Application Icon

2007-04-10 Thread Bridger Maxwell

Hey,
 How can I handle the dragging of a file onto my standalone application's
icon (in the dock or on startup)?  Is this easily done in Transcript?

 TTFN
   Bridger Maxwell
   Fiery Ferret
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Anyone see this same ?bug?

2007-03-16 Thread Bridger Maxwell

I get the same error every once in a while, but I just rearrange it, or add
parentheses and then it works again.  It has only happened two or three
times, and has always been fairly easy to solve, but I never am able to see
why it is throwing an error.  Good to know I am not the only one.

 TTFN
   Bridger
   Christa McAuliffe Space Education Center

On 3/16/07, Jim Ault <[EMAIL PROTECTED]> wrote:


Seems to be a bug, or just an inconsistency.  Am I missing something about
Rev?

Error =   if: missing 'then'

  if "Version Alpha" is among the lines of the cardnames then
answer "This has already been linked to a card"
exit to top
end if

This version works by adding parens

  if "Version Alpha" is among the lines of (the cardnames) then
answer "This has already been linked to a card"
exit to top
end if

Mac OSX 10.4.7, Rev 2.7.2  IDEnvironment

Jim Ault
Las Vegas


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Core Image Transition Parameters

2007-02-03 Thread Bridger Maxwell

Hey,
 I was playing around with Core Image transitions, and while I found the
Core Image Sampler stack very helpful, I am still a little confused about
the parameters involved in a Core Image transition.  The transition I am
using is CIRippleTransition and the line I use looks like this:
show grp "Shields" with visual effect CIRippleTransition slow with center
(175,275) and extent (0,0,0,0) and scale -10 and width 30 and shadingImage
id 2455
The "center" I found to be where the center of the transition, relative to
what is being revealed or hidden.
The "extent" I am really confused about, it looks like it might be a rect,
but I can't figure out how to work it.
The "scale" and "width" I have been able to play with until I got the
desired effect, but I honestly couldn't explain why those numbers work.
The "shadingImage" seems to be in the wrong format any time I pass it
anything except an empty image.  What should a proper shadingImage look like
and what format should it be in?
Really, I am trying to get the effect that OSX uses when adding a widget to
the dashboard.  If anyone knows more about this, could you please help me
out?

 Thank You,
 Bridger Maxwell
 Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: LIST and RUNREV security

2007-02-02 Thread Bridger Maxwell

It wouldn't take an infected PC to harvest emails.  Our email is out on the
web:
http://mail.runrev.com/pipermail/use-revolution/2006-November/089491.html
You can tell that steps have been taken to protect it, ("at" instead of
"@"), but I am sure there are spiders sophisticated enough to figure that
out.


 TTFN
 Bridger Maxwell
 Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Question

2007-01-29 Thread Bridger Maxwell

Never mind guys.  I made a horrible mistake.  In my format handler, I
accidentally replaced something with a lowercase letter that should have
been uppercase, which matters in XML.  I fixed it, not major harm done, just
wasted time.  Sigh...  Good thing the rest of Revolution isn't
case-sensitive.


 Thank You,
 Bridger Maxwell
 Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


XML Question

2007-01-29 Thread Bridger Maxwell

Hey,
 I was just debugging the project I have been working on (with all of your
help) and it kept getting erratic results.  I ran my XML through a parser,
and it came up with several errors.  I think I had a giant misconception
when making this project.  Is the following legal:

   
   
   
   


In other words, can nodes with the same name be nested within each other?
The parser keeps claiming that it expected the end of the Object node every
time it encounters another Object node within the first.  Does this mean
that I did it all wrong?

 Thank You,
 Bridger Maxwell
 Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [fun] Valid rev syntax. The silly scripts thread.

2007-01-26 Thread Bridger Maxwell

This silly script actually has a story to go along with it.  It was a very
frustrating day for programming.  Bugs were absolutely everywhere.  There
was one handler that was particularly troublesome that I kept modifying, but
it would inevitably crash the program and cause me to lose all my work since
the last save.  I was growing more frustrated, and decided to put a script
in the handler to make sure that the stack saved each time it ran.  Because
the script was in the stack the handler looked like this:

save me

Wow, talk about a high-level language.  This particular line of Transcript
sounded exactly like my thoughts at the time.

 TTFN
 Bridger Maxwell
 Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


CDATA

2007-01-25 Thread Bridger Maxwell

Hey,
 Here I am on  the usergroup again needing even more help on XML.  I am
trying to use CDATA to store HTML-formatted text inside a node, but I am not
having much luck.  The text starts out looking like this:
Hey! 20857
How are you?

Then I wrap it in the CDATA tag:


Then I store it in the XML.  It looks like this in the XML:
<![CDATA[ <p>Hey!</p
<p>How are you?</p> ]]>

Then upon retrieving it, I only get the first line.  In this case:
Hey!

In an earlier post on this Ken Ray said:


Yes, it is AFAIK - if you have *just* CDATA, you should be able to read

it,

but if you have both text contents of a node AND CDATA, the CDATA is not
read. It's odd that it works on Windows, though, and not Mac since I

thought

it used the same library code under the hood.


I am running OS X and plan to release for OS X, so there is a bug, but
because I am not storing anything else inside the CDATA text, I didn't think
it would affect me.  Thanks again for all the help you guys have given me
throughout my struggle with XML.

 TTFN
   Bridger Maxwell
   Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Woes

2007-01-25 Thread Bridger Maxwell

Ah, well, that goes to show how new I am at XML.  Thanks a ton for the help.

 TTFN
  Bridger Maxwell
  Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


XML Woes

2007-01-25 Thread Bridger Maxwell

Hey,
 I am new to XML and I am having troubles again.  I have a handler that
makes XML, and in some cases it recursively calls itself and uses the
revAppendXML command to combine the recursively called tree into the tree it
is working on.  For some reason though, after I insert the second XML tree
into the first, some of the XML nodes in the second tree get messed up.  Any
node in the second tree that doesn't contain any data gets messed up.

becomes:


What does that mean?  When the second tree is returned it looks fine, it
only gets messed up after the revAppendXML command is called.  Is it even
legal to have an XML tag with the forward slash character at the end of the
name?  And where did the closing tag go?  Any help would be greatly
appreciated.  In case I wasn't very clear here is some sample XML to show
what is happening:


20


  20
   <--- Problem area




 Thank You,
  Bridger Maxwell
  Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Formatting XML Data

2007-01-23 Thread Bridger Maxwell

Hey,
 I am a first time XML user, just testing it out.  I noticed that the text
returned by the revXMLText() function has no formatting (returns, tabs) and
isn't very easy to read.  Is there a way to format this so it is easier to
read, or would it be best to keep the XML how it is now?  I am not sure what
the standard is, but I thought XML should be formatted to be easy to read,
like HTML.


 TTFN
 Bridger Maxwell
 Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Emergency - (sort of) "a stack name with the same name..."

2007-01-22 Thread Bridger Maxwell

Hey,
 I have had a few experiences with an answer box popping up, but then
making itself inaccessible, either by hiding itself or by simply lacking an
"OK" button.  Revolution will not let you do anything until you have
responded, and you are unable to respond.  I have been able to fix this by
opening another stack with networking enabled (I found I am still able to
open stacks, even with Rev stuck) and then remote-administering from a
different computer.  This usually includes:
close stack "Answer dialog"
and:
lock messages; wait 5 seconds with messages
I don't know if you happen to have two computers and a good networking stack
lying around, but it is one possibility.  Sorry if this wasn't much help, I
was just sharing how I usually get myself out of that situation.  Best of
luck!

  TTFN
  Bridger
  Christa McAuliffe Space Education Center

On 1/22/07, David Bovill <[EMAIL PROTECTED]> wrote:


I have done this so many times - but wandering if someone can tell me how
to
get out of it... Rev is stuck in an infinite loop... it keeps infinitely
saving two files and has the error dialogue stuck in the back. Command
period and nothing I can think of exits the loop.

I have almost never got out of this without a force quite - and I have
just
finished some complex coding. Is there any way to get out of it??? I am
sure
you all know what I mean - it happens pretty well all the time if you
change
stacks name and then"Save as..."

I can never quite believe that it will do this so occasionally I try a
"Save as..." - deadly! I'll go and have a beer and hope some guru has a
hack
to get out of this?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Altplug-ins demo stacks...

2007-01-19 Thread Bridger Maxwell

It is a problem in the "initme" handler.  Change line 2 (the non commented
one) to to read:

put "http://downloads.runrev.com/alt_externals/altFont.zip " into
lMacExternalUrl

They accidentally spelled Mac with an x when updating the code to reflect
the new download site.  Once that is fixed you will have to run openstack
again, then click on the Update External button and it should work.
 I am not sure about the crashing stack, maybe someone else can help.  I do
know that the external is PPC, so if you are running an Intel Mac, you might
have problems (see my post).

  TTFN
  Bridger Maxwell
  Christa McAuliffe Space Education Center

On 1/19/07, Andrew Meit <[EMAIL PROTECTED]> wrote:


I have found bugs using the altfont demo

1. installing the plug-in:
Unzip problem:
ditto: Couldn't read PKZip signature

3. running the demo
after I installed manually the altfont bundle in externals, I ran
demo. It crashed.

Any help would be valued now.. :-)

Shalom, Andrew
{Choose Life, Create Hope, Nurture Love...}



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AltFont External On Intel Mac

2007-01-19 Thread Bridger Maxwell

Hey,
 I was trying to work with the AltFont external, but I couldn't get it to
load as an external, while I was successful with the other externals.  I
looked at the AltFont bundle, and discovered it was PPC.  I have been able
to get it to work by forcing Revolution to run under Rosetta, but that is
definitely not a solution I would like use permanently .  Is there any other
solution to this, or is there a Universal Binary external somewhere?

 TTFN
 Bridger
 Christa McAuliffe Space Education Center
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


SFTP

2007-01-17 Thread Bridger Maxwell

Hey,
 I am trying to get a server set up on a School District's network, but
they won't let me open an FTP port to the internet unless it is an SFTP
connection.  As far as I can tell, Revolution is not able to open Secure FTP
connections out of the box, but are there any workarounds that anyone knows
about?  Any tips would be greatly appreciated.

 TTFN
   Bridger Maxwell
   CMSEC
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Broadcasts On OS X

2007-01-10 Thread Bridger Maxwell

Hey,
 Today I was trying to get broadcasts working for a simple (very simple)
chat program for use on a LAN that sends using broadcasts.  I was able to
get the Windows version working fine, it sent to the IP 192.168.0.255 and
all the other clients received it (PC and Mac), but I can't seem to send a
broadcast on my OS X machine.  I am sending it to the same address, but no
one receives it.  I ran the shell command ifconfig to divine the broadcast
address (which was the same as the one the PC was using), but it didn't
work.  Is there a different address I should be sending it to?

TTFN
  Bridger
  CMSEC
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: GIF Playrate

2006-12-22 Thread Bridger Maxwell

Thanks everybody, that suits my purpose perfectly.

 Bridger Maxwell
 CMSEC
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


GIF Playrate

2006-12-21 Thread Bridger Maxwell

Hey,
 I am using an animated GIF in my stack, and I can't figure out how to slow
it down.  What is the property (if any) that specifies how fast the frames
are played?



   Bridger Maxwell
   CMSEC
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Lock Moves Bug?

2006-12-08 Thread Bridger Maxwell

Hey,
 From the way the documentation reads, I would think that setting the lock
moves to true, issuing a few move commands, and setting the lockmoves to
false would start the move commands on all the objects at the same time.
But I can't get it to work that way.  Here is my script:

 lock moves
 set the lockMoves to true
 repeat with z = 1 to 10
   put "Contact" & z into vObj
   ---Here is where I had a lot of script to calculate newLoc
   move btn vObj to newLoc
 end repeat
 unlock moves
 set the lockMoves to false

When I run that they each move one after the other.  They do not start at
the same time.  Not only that, but it takes up time as if it is moving, but
I don't actually see the animation.  I made a simpler test script with only
two buttons and without a repeat loop and got the same result:

on test
 if the loc of btn "Move1" is the line 1 of the tooltip of btn "Move1" then
   put the line 2 of the tooltip of btn "Move1" into loc1
 else
   put the line 1 of the tooltip of btn "Move1" into loc1
 end if
 if the loc of btn "Move2" is the line 1 of the tooltip of btn "Move2" then
   put the line 2 of the tooltip of btn "Move2" into loc2
 else
   put the line 1 of the tooltip of btn "Move2" into loc2
 end if

 lock moves
 move btn "Move1" to loc1
 move btn "Move2" to loc2
 unlock moves
end test


Because I can't use the lockmoves, I am just making it move without
waiting.  Does this mean there is a bug, or am I just doing it wrong?

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Make an Object "Wander"

2006-12-07 Thread Bridger Maxwell

Hey,
 I am designing a program is the Tactical station for a Star Trek-type
simulator. It has 10 of buttons in a grid.  These buttons represent other
ships outside of our ship.  The kid working the station targets the contact
by tracing the mouse over it for a while (not very difficult, it has to be
operated by a 5th grader of any intelligence).  Right now the target picks a
random loc, moves there, then picks another loc.  It is supposed to look
like they are just drifting in space a little, but it looks really lame
right now because they move in such perfectly straight lines.  Does anybody
have any ideas to make them randomly wander inside of the grid?  I would
like to have it run as a background task so the move command doesn't tie
things up.   It would also be cool if the speed they moved at varied a
little.  Much appreciated.


 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Right-Clicking A Table Field

2006-11-22 Thread Bridger Maxwell

Hello,
 I made an application that uses a table field as a list field.  Never does
each cell "pop out" to be edited, it just hilites the line and keeps
everything lined up.  However, a right-click will "pop out" the cell, but
the pop out will be empty, whether or not there is data in the cell.  After
three right-clicks the table gets mad and clears itself.  Is there any way
to make sure that you can't right-click the field?
 Right now I am thinking that I can make a button set to noop, so it is
invisible.  If it gets clicked by the left button, it will turn itself
invisible and then click at the loc.  A right click would be ignored.
However, I am against this solution because it is messy, and other mouse
events will be blocked.  Does anybody have a better idea?

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


HostNameToAddress Replacement

2006-11-21 Thread Bridger Maxwell

Hello,
 I have a friend who's iMac G5 seems to dislike the hostNameToAddress()
function.  She is trying to help me develop a program, but without that
function she can't run my networking system and that makes it extremely
difficult for her to help.  I am looking for a replacement to the
hostNameToAddress() function.  All it has to do is retrieve the IP address
of the machine it is running on.  It doesn't have to be particularly clean
either, it only has to run on her computer, not the computers we are
distributing to.  Does anybody have any ideas?

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Checking For An FTP File

2006-11-17 Thread Bridger Maxwell

Hey,
 How would I check to see if a file exists on an ftp server?  "There is a
file " does not work with ftp addresses.

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Clicking A Button With An Icon

2006-11-16 Thread Bridger Maxwell

Thank you everybody.  I realize that for normal purposes a button that is
selective about where it is clicked would be bad.  I was planning on using
an image instead, but before I went through the work of changing everything
in my stack I wanted to see if there was an easier way.

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Clicking A Button With An Icon

2006-11-15 Thread Bridger Maxwell

Hey,
 I noticed that the mouseUp message is not sent to an image when the user
clicks on a part of the image that is transparent.  However, when the user
clicks on a transparent-type button with its icon set to the same image, the
mousUp message is sent regardless of the transparency of the pixel.  Is
there any way to apply that behavior of the image to the button?  Right now
I have a set of icons that are all 32 x 32, but if the actual colored
portion of the icon is smaller (which it often is), I don't want the button
the receive the mouseUp message.  Is there a way to do this?  Another
possible solution would be to resize the buttons according to the size of
the painted portion of the icon, but I don't know if that is possible
either.

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: HostNameToAddress Function

2006-11-05 Thread Bridger Maxwell

I found out some more information.  Apparently the nslookup Unix command
returns the following:
nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 192.168.0.1
Address:192.168.0.1#53

Non-authoritative answer:
158.36.131.209.in-addr.arpa name = f1.www.vip.sp1.yahoo.com.

Authoritative answers can be found from:
36.131.209.in-addr.arpa nameserver = ns5.yahoo.com.
36.131.209.in-addr.arpa nameserver = ns7.yahoo.com.
36.131.209.in-addr.arpa nameserver = ns1.yahoo.com.
36.131.209.in-addr.arpa nameserver = ns2.yahoo.com.
36.131.209.in-addr.arpa nameserver = ns3.yahoo.com.
ns1.yahoo.com   internet address = 66.218.71.63
ns2.yahoo.com   internet address = 68.142.255.16
ns3.yahoo.com   internet address = 217.12.4.104
ns5.yahoo.com   internet address = 216.109.116.17
ns7.yahoo.com   internet address = 68.142.226.82

I guess that means that nslookup has been removed from her machine?  Is that
what Revolution uses for hostNameToAddress()?

 TTFN
   Bridger

On 11/5/06, Bridger Maxwell <[EMAIL PROTECTED]> wrote:


Hey,
  I made a networking stack that retrieves information about the
computer.  The first check it does is hostName().  This returns the name of
the machine.  Then I take the result of that and run it through
hostNameToAddress() to find the IP address.  This works fine on my computer,
but one one of my friends, the hostNameToAddress() doesn't return anything.
The hostName() function still works though.  We are both running Mac OSX.
Has anyone had experience with this?  Is there a different way to find the
IP address?

  TTFN
Bridger


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


HostNameToAddress Function

2006-11-05 Thread Bridger Maxwell

Hey,
 I made a networking stack that retrieves information about the computer.
The first check it does is hostName().  This returns the name of the
machine.  Then I take the result of that and run it through
hostNameToAddress() to find the IP address.  This works fine on my computer,
but one one of my friends, the hostNameToAddress() doesn't return anything.
The hostName() function still works though.  We are both running Mac OSX.
Has anyone had experience with this?  Is there a different way to find the
IP address?

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making an Image

2006-11-01 Thread Bridger Maxwell

woops, I wrote that last email before I read carefully.  Please disregard
that.

On 11/1/06, Bridger Maxwell <[EMAIL PROTECTED]> wrote:


Is there a more effective way, besides the imageData?

On 11/1/06, Dar Scott <[EMAIL PROTECTED]> wrote:
>
>
> On Nov 1, 2006, at 9:26 PM, Bridger Maxwell wrote:
>
> >  How can I make one image look like another image?  I set the
> > imageData of
> > img 2 to the imageData of img 1, but that got really weird.
>
> set the text of img 2 to the text of img 1
>
> > What other data
> > makes up an image?
>
> the rectangle
> the imageData
> the alphaData
>
> Y' gotta get the size (and shape) right if you need to use imageData.
>
> Dar
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making an Image

2006-11-01 Thread Bridger Maxwell

Is there a more effective way, besides the imageData?

On 11/1/06, Dar Scott <[EMAIL PROTECTED]> wrote:



On Nov 1, 2006, at 9:26 PM, Bridger Maxwell wrote:

>  How can I make one image look like another image?  I set the
> imageData of
> img 2 to the imageData of img 1, but that got really weird.

set the text of img 2 to the text of img 1

> What other data
> makes up an image?

the rectangle
the imageData
the alphaData

Y' gotta get the size (and shape) right if you need to use imageData.

Dar


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Making an Image

2006-11-01 Thread Bridger Maxwell

Hey,
 How can I make one image look like another image?  I set the imageData of
img 2 to the imageData of img 1, but that got really weird.  What other data
makes up an image?

 TTFN
Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Fonts in a Stack

2006-10-31 Thread Bridger Maxwell

Wow, that looks like the exact thing I was looking for.  Just a question,
does it actually install the font?  I don't mind it if does I guess, but
somehow it would be cooler if nothing was left on the users computer.

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Fonts in a Stack

2006-10-31 Thread Bridger Maxwell

Hey,
 For a stack I am making, I have a very specific font that I am wanting to
use, but it is not a font that would be one most people's computers.  Is
there a way to install a font from within Revolution, or if possible, use a
font that is not installed.  This would be intended for Mac OSX and
Windows.  I know that this probably won't work, but you never know...

 TTFN
Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Activating a Function in a Different Stack

2006-10-30 Thread Bridger Maxwell

Wow, thanks for the great response everyone.  I tried a few and I found that
the value function works the best.  I had actually been using virtual
properties in a few places instead of functions, but the problem then was
that I couldn't pass parameters to them.  Here is the final script:

   put "Stack" && where & quote into vStack
   put requestData && "of" && vStack into vRequest
   try
 put value(vRequest,vStack) into vReturn
   end try

One thing is still a little confusing though.  Calling a function like "the
short name of the current stack" return the name of the right stack, but a
request like "the mouseLoc" returns a value that is relative to the stack
that is retrieving the data, even if that stack isn't the top stack.  If the
mouseloc function is not relative to the top stack, and it is not relative
to the stack that the value is being requested from, how does it decide
which stack it is relative to and how can I know which functions are funny
like that?
Also one odd quirk I discovered was that when nesting value functions things
get weird.  i.e
value( (value(vRequest,vStack) ), vStack)
"the short name of me" would return "Odyssey" when the stack name was
"Odyssey Sensors", and  that was the only function that would come close to
working.  Not important, but very mystifying.

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Activating a Function in a Different Stack

2006-10-29 Thread Bridger Maxwell

Hey,
 Is it possible to activate a function that resides in one stack, and get
the result from a different stack?  Right now I have it set up so that Stack
A gets a request for info from stack B over the Internet.  Lets pretend that
the request is "the background color of this stack".  It puts that into a
variable called vWhat.  Then it executes do ("get" && vWhat && "of Stack
B").  Then Stack A returns the data over the Internet.  This works well for
requesting properties, but I can't get it to activate a function and put the
result in the it variable.  Is it even possible?  Is there a "send"
equivalent for functions?

  TTFN
Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Specific Color Ink

2006-10-08 Thread Bridger Maxwell

Hey,
 You were right in assuming I wanted hilites.  I just wasn't sure how to
say it.  I already have the program made and the interface done, I was just
looking for a way to improve it.  Right now the interface is pretty simple.
It is designed to look a little like LCARS (
http://homepage.mac.com/randmiranda/.Pictures/Desktop%20City%20II/lcars.jpg)
from Star Trek (we do space simulations).  So we have various buttons and
controls, and everything else is black.  I wanted to add hilites to all the
black that is already there, without redoing all the images and opening them
in Photoshop to make the black transparent.  What I would like to do is add
an image over the top of everything that is the hilites, but only shows up
when the pixel is completely black.  That way I could add a cool effect,
without redoing the whole interface.

TTFN
  Bridger

On 10/8/06, Dar Scott <[EMAIL PROTECTED]> wrote:



On Oct 8, 2006, at 9:20 PM, Bridger Maxwell wrote:

>  I have a need for an ink that makes an image visible ONLY if the
> color
> beneath it is a specific color.  I was shooting for black, but I
> can work
> with whatever color is possible.  I have a program where all empty
> space is
> black.  This has advantages because it is very easy to move object
> around
> without having to worry about how it fits into the background.  My
> thought
> would be to have an image and an ink that shows up only where it is
> black.
> Then I could give the black space a cool shiny black look (like
> frontrow),
> or whatever else.


I'm a little confused about what you want.  You mention a "specific
color" and then you want to have a "cool shiny black look" which I
assume means that you put highlights on it.

This might do what you want:

This needs 2.7.

Choose any color or texture for your empty space color.  Make it
transparent where you don't want color.  You can make an image that
is transparent in those place and you can also build up a shape with
multiple graphics grouped to together.  Call that the "empty space"
object.

Group that with the image you want to move around with the image to
the front.  Set the ink of the "empty space" and the group to
blendSrcOver.  Set the ink of the image you want to move around to to
blendSrcAtop.

The opaqueness of the objects in the group under the image will allow
the image to show.  Outside of the image (or where it is transparent)
the color or texture of the underlying "empty space" will show through.

If I missed what you want, I apologize.

You might not need any special ink.  An alternate approach would be
to set the color of the card to black.  Make everything else not
black.  Then put the moving image between everything else and the
card.  That is, move it to the far back.

Dar


--
**
Dar Scott
Dar Scott Consulting  and  Dar's Lab
8637 Horacio Place NE
Albuquerque, NM 87111

Lab, office, home:  +1 505 299 9497
Fax:call above first
Skype:  ask

http://www.swcp.com/dsc
[EMAIL PROTECTED]

Computer programming
**


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Specific Color Ink

2006-10-08 Thread Bridger Maxwell

Hey,
 I have a need for an ink that makes an image visible ONLY if the color
beneath it is a specific color.  I was shooting for black, but I can work
with whatever color is possible.  I have a program where all empty space is
black.  This has advantages because it is very easy to move object around
without having to worry about how it fits into the background.  My thought
would be to have an image and an ink that shows up only where it is black.
Then I could give the black space a cool shiny black look (like frontrow),
or whatever else.  Any help would be greatly appreciated.  Also, is there
any way to access Core Image besides transitions?  Can we use the blend
modes or filters?

 TTFN
  Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simulating Keystrokes

2006-09-29 Thread Bridger Maxwell

Hey,
 Thanks for all the suggestions.  I think that should work for what I am
doing, but I was wondering if there was any way to send keystrokes so it
seems to the system to be coming from the keyboard.  I realize this would
probably be a security hole, but I have seen programs, at least on windows,
that can simulate any keystroke as if it was coming from the keyboard.  Is
AS GUI commands as versatile?

 TTFN
 Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Simulating Keystrokes

2006-09-29 Thread Bridger Maxwell

Hey,
 I know I can simulate keystrokes from Revolution to my stack by sending
the keyDown message, but is there any way to send keystrokes to the system
or to other programs?  I would like to send keystrokes like "F9" to activate
expose, but it would be very nice to be able to send any keystroke.

 TTFN
Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Kill a Standalone

2006-09-21 Thread Bridger Maxwell

Hey,
 I am sure this is a common question, but I can't find any posts that
address it.  I compiled a standalone application, but I created my own
titlebar and my own exit button.  The exit button has the script "delete the
current stack".  This works to hide the stack, but the process never
dissapears (I am using Windows).  I even have the destroystack property set
to true.  What is the command to completely close a standalone application?

 TTFN
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Communicate with stepper motors?

2006-08-31 Thread Bridger Maxwell

Hey,
 I have been working with the BASIC stamp from Parallax.  It is a micro
controller and can control a few I/O switches.  The language that you
program in is called PBASIC.  It is a simplified version of the BASIC
language that the stamp understands and has a few commands that are
specifically made for the micro controller.  Maybe this is what your friend
was talking about.  So far I have been using the Parallax BASIC editor to
make and load programs to the stamp, but once it has the program is has been
EXTREMELY easy to talk to the stamp with Revolution via COM ports and give
it parameters that it has been programmed to wait for, such as a position
for a stepper motor.  It may even be possible to write a program that will
compile script and load it to the stamp, I haven't tried though.  Just
another option that you might want to look at.  This process is pretty easy
to do (I am 15 and I have handled it so it can't be that terribly difficult)
and has a lot of potential for controlling custom devices.

 TTFN
  Bridgeyman
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Is there a more English-like Programming language than Transcript?

2006-08-15 Thread Bridger Maxwell

Hey,
 I was just getting the Revolution update and I happened to notice that on
one of the little info screens it displays as it installs it says, "You
don't have to have a degree in programming to develop in Revolution.
Revolution uses an easy to understand English-based language also called
Revolution."  That sounds pretty official that the language is no longer
called "Transcipt" anymore by the people at Runrev.  (Realize that I was
paraphrasing a little except for the sentence "language also called
Revolution" because I don't have a photographic memory).

 TTFN
   Bridger

On 8/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Chipp,
Thanks for the kind words.
I'm always gratified when I hear folks implement the suggestions.
  Dan and I had a short talk after the conference about me giving a full
session to disseminate similar marketing morsels. We both concluded
that those who might benefit most would probably not attend.
Glad to hear you ran with it!
PL

-Original Message-
From: [EMAIL PROTECTED]
To: use-revolution@lists.runrev.com
Sent: Tue, 15 Aug 2006 8:44 AM
  Subject: Re: OT: Is there a more English-like Programming language
than Transcript?

Excellent point Paul. You often say the most interesting things!
Thanks again for the advice about pricing you gave at the conference.
I've implemented it on ButtonGadget and it seems to work :-)

On 8/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> You can be more specific with more knowledgeable people.
> When I travel overseas and people ask where I'm from, I say "The
  > United States". When people ask in the US, I say "California". If
they
  > live on the west coast, I'll probably say "Los Angeles". If they
live
  > in California, I'll just say "LA". If they live in greater LA, I'll
say
> "San Dimas". If they live in San Dimas, I'll say "The corner of
> Commercial St."
> Sometimes "Revolution" is right. Sometimes "Transcript". Transcript
  > definitely has its place and it is seldom difficult to know when to
use
> it.
> Paul Looney
___
use-revolution mailing list
use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



Check out AOL.com today. Breaking news, video search, pictures, email
and IM. All on demand. Always Free.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Write To Process

2006-08-11 Thread Bridger Maxwell

Hey,
 I want to develop an external using C++ to use with Revolution.  My plan
is to communicate with it using the "write to process" and "read from
process" commands.  Does anybody know how to intercept the data sent to an
external using the write to process, or to send data so it can be read using
the "read from process" command?

 Thank You,
  Bridger Maxwell
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Sending Messages To API's

2006-08-05 Thread Bridger Maxwell

Hey,
 I am seeing if it is possible to control the Skype API using Revolution.
The Skype Developer site (
https://developer.skype.com/Docs/ApiDoc/Using_the_Skype_API_on_Windows) says
to use the WM_COPYDATA command to communicate with Skype, but I have no idea
how to do this.  I have used the "open process C:/.../Skype.exe for text
update" command to open Skype, but the write to process yields no results.
I am also not able to receive anything from Skype using the read from
process, or close Skype using close process.  Skype shows up in the
openProcesses and the result never shows any errors.  Can someone help me
make heads or tails of all this?

 TTFN
Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Repeat Unexpectedly Aborted

2006-07-29 Thread Bridger Maxwell

Hey,
 For some reason every time I open the script editor using the keyboard
shortcut (CTRL + Shift + C (or S)) it will quit a repeat loop that is
running, but if I open the script editor from the menubar on the RevMenuBar
stack it is fine.  This doesn't make any sense, no errors are popping up,
and try/catch setups are catching any errors.
Here is the script I was having trouble with.  The image "Pinger" is just an
animated GIF that is of a wave of white that spreads outward in a circle and
fades away during the last 30 frames.  It is in the card script, if that
makes any difference.

on ping
 lock screen
 set the repeatCount of img "Pinger" of me to 0
 set the currentFrame of img "Pinger" of me to 1
 set the blendLevel of img "Pinger" of me to 0
 unlock screen
   repeat with x = 1 to (the frameCount of img "Pinger" of me - 10)
 set the currentFrame of img "Pinger" of me to x
 wait 2 tick with messages
 if  the abs of (x - the frameCount of img "Pinger" of me) < 30 then
   put 30 - (the frameCount of img "Pinger" of me - x) into y
   set the blendLevel of img "Pinger" of me to (y * 5)
 end if
   end repeat
end ping


 Thank You,
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Without Waiting

2006-07-24 Thread Bridger Maxwell

Hey,
 Is it possible to have two handlers, and to call the second handler from
within the first handler, and have the first handler keep executing without
waiting for the second handler to finish?

Example:
---
on Handler1
  Handler2  ---Call this handler, but don't wait for it to finish before
beeping
  beep
end Handler1


on Handler2
  doSomeStuffThatTakesALongTime
end Handler2




Thank You
  Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Microphone

2006-07-22 Thread Bridger Maxwell

Hey,
 I am in desperate need for some way to record sound, besides the
record command.  The record command takes half a second to start and
end, and it saves the data to a file.  This is just not what I am
looking for.  If there is any way to directly read from the microphone
port (on a mac and pc) I desperately need to know how.  Thanks for
your help.

 Thank You,
Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Visual Effects

2006-07-12 Thread Bridger Maxwell

Hey,
 I have a handler that shows something with a visual effect scroll down,
then on the next line it moves an object.  For the effect I am going for I
would like both actions to occur simultaneously.  Is there a way to make so
that a visual effect does not pause the current handler?

 Thank You,
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Multiple Monitor Backdrop

2006-07-07 Thread Bridger Maxwell

Hey,
 Does anyone know how to make the backdrop display on anything but the
primary monitor?  Revolution 2.7 says that they have support for multiple
monitors but all I could find was that the screenrects can return more than
one line.  Can anyone point me to some other functions?

 TTFN
 Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Clipboard Data

2006-06-19 Thread Bridger Maxwell

Hey,
 I was wondering if there was any way to represent objects (or an entire
card) as text so it can be sent over a network and be unpacked somewhere
else.  I messed around with the clipboard and made a stack that copies the
objects to a new stack, saves the stack, sends the stackData to the other
computer, and copies the objects to the other stack.  This works, but it is
overly complicated and a little too unstable.  The clipboard() function
returns "objects" when I have copied buttons or cards, but the
clipboardData["objects"] doesn't return anything.  Does anyone know why?

 Thank you,
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Non-Contiguous hilites

2006-06-07 Thread Bridger Maxwell

Try setting the hilitedLines of the field.  Just list the line numbers, each
seperated by a comma.

set the hilitedLines of fld "list field" to 1,2,6

TTFN
Bridger

On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


I have a list field in which I want to select multiple lines by script. It
works fine by holding control while clicking the lines, but how do you do
the same in a script?

select line 1 to 5 and line 7,8,12 of field "ListData" -- I know this
syntax is way wrong.

Roger Eller <[EMAIL PROTECTED]>

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Layering QT Players

2006-06-07 Thread Bridger Maxwell

Hey,
 For one of my programs I needed to create a card with a movie that has two
different motions that can move independently of each other.  To create this
effect I used two QT players and layered them, but they aren't acting how I
expected them to.  When the one on the top layer is not playing, then it
disappears beneath the other player.  If they are both playing then the
player on the top layer get very buggy and unstable, so it reverts back and
forth from being visible to not being visible.  I think I might be able to
solve this problem or think of an alternate solution if I just knew a little
more about the player object.  I especially need to know about layering
between two players, and a player with a regular object (such as a
field).  If someone could explain this to me I would greatly appreciate it.

 Thank You,
 Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Play a Player Backwards

2006-06-03 Thread Bridger Maxwell

Hey,
 Does anyone know a way that I can play a player backwards?  It is a player
with an external reference.  Importing the videos would make my stack way to
big so it has to stay as a player.  I thought there was a simple property,
but I can't find it.

 Thank You,
   Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Corrupted Images

2006-05-31 Thread Bridger Maxwell

Hey,
 I have been having troubles with a few of my stacks.  At random times
images that I have imported will just show up as a big rectangle of uniform
black and white pixels.  The only resemblance the image keeps is its
original size.  I think they have all been PNG images.  I would use a
different image type, but PNG is the best for transparency.  Has anyone had
this problem before?  It has happenend in both Revolution Dreamcard
2.5.1and Revolution Studio
2.7.

 TTFN
Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Changing Script In Standalone

2006-05-01 Thread Bridger Maxwell

Hey,
 In one of my programs I use the "Set the script of object to string" alot,
but when I recently switched over to 2.7.1 Studio and started to make
standalone programs, I noticed that this no longer works.  For my test I
made a field and two buttons, one button set the script of the other button
to the field.  I typed a simple on mouseUp handler that answers a message.
It worked when I did it in the development environment, but not as a
standalone.  Does this mean that I can't change script from the
user-interface after it has been saved as a standalone?  Can someone give me
the basic rundown of how Revolution compiles stacks into a standalone?

 TTFN (ta-ta-for-now)
  Bridger
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Acessing button scripts in a HC stack ?

2006-03-21 Thread Bridger Maxwell
Try using AppleEvents.  I don't have a mac nearby to test it on, but I have
seen it work.  I don't think the Hypercard program needs to have a handler
to receive this.

request "the script of btn " & (cd fld "ButtonName) from program "Hypercard"

On 3/21/06, Francis Nugent Dixon <[EMAIL PROTECTED]> wrote:
>
> Hi from Paris,
>
> I thought that I had been explicit, but apparently not !
>
> From a Rev 2.6.1 stack, I want to open a HC stack (at the
> same time), examine it visually, type a name into a field in
> the Rev stack which corresponds to a button that I see in
> the HC stack. Then I want to hit a button in the Rev stack
> which picks up the script from that button in the HC stack,
> and returns it to the Rev stack where I can play with it, using
> a Rev script.
>
> I also want to do the same with scripts from fields.
>
> "Reasonable request - no other interest"
>   (Only the very best - Tycoon - 1992 - Peter Kingsbery)
>
> Please don't ask me why I don't use "Cut" and "Paste" .
>
> All of this is with the object of automating (as far as I can)
> my HC to Rev conversions. Building the stacks is a piece
> of cake with Rev, but modifying the scripts is a pain, so I do
> it .. using a script . of course ! My problem is bringing
> the script over to Rev .
>
> -Francis
>
> "Nothing should ever be done for the first time !"
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Locking Messages

2006-03-05 Thread Bridger Maxwell
Thanks, I think that might work.  I need to try it out.  The reason I can't
know what is triggering the problem is because my stack is made to work with
any card, and every time I use it I am sending a different card with
different handlers in it accross the network.  Most of the errors are from
the openCard, preOpenCard and such, but because I am working with a lot of
different cards from any stack a mouseover handler might be in there, or
maybe an idle.  My stack has to be able to deal with anything.

On 3/5/06, Rob Cozens <[EMAIL PROTECTED]> wrote:
>
>
> Bridger,
>
> > The thing is a
> > card may have a handler in it that is triggered, that refers to an
> > object on
> > another card.  Because it has been seperated from the rest of the
> > stack, it
> > can't find that object and it causes errors.  Once it is inserted into
> > the
> > new stack it should stop causing errors, but until then I need to lock
> > the
> > messages to the stack holding the card so it doesn't trigger anything.
> >  I
> > can't really predict what handlers will be triggered, or what the
> > errors are
> > going to be so I can't just intercept them beforehand.  Any ideas
>
> 1. Isn't it possible to isolate the line in Stack 1's handler where
> this occurs and lock/unlock messages before/after that line?
>
> Eg:
>
> on createStackForNetwork stack3CardId
> 
> 
> lock messages
> copy card id stack3CardId of stack "Stack 3" to stack "Stack 2"
> unlock messages
> ...
> ...
> end createStackForNetwork
>
> 2.  I'm still having trouble understanding why you can't predict when
> and what will happen if Stacks 1, 2, & 3 are your creations.   Only a
> limited number of messages might trigger Stack 3 card handlers when the
> card is copied to Stack 2: newCard, preOpenCard, openCard, and
> closeCard.   If you step through the handler in the debugger with the
> Message Watcher open, you should be able to determine the line(s) that
> trigger the problem.
>
> Rob Cozens
> CCW, Serendipity Software Company
>
> "And I, which was two fooles, do so grow three;
> Who are a little wise, the best fooles bee."
>
> from "The Triple Foole" by John Donne (1572-1631)
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Locking Messages

2006-03-04 Thread Bridger Maxwell
Hey,
  Sorry I wasn't very clear on my question.  I have made a stack (Stack 1)
that copies a card from any stack running in the background (Stack 3),
pastes it on another stack that was just made (Stack 2), and sends stack 2
over the network where the card that was added to any stack that intercepts
it.  It is made to be able to add any card to any stack.  The thing is a
card may have a handler in it that is triggered, that refers to an object on
another card.  Because it has been seperated from the rest of the stack, it
can't find that object and it causes errors.  Once it is inserted into the
new stack it should stop causing errors, but until then I need to lock the
messages to the stack holding the card so it doesn't trigger anything.  I
can't really predict what handlers will be triggered, or what the errors are
going to be so I can't just intercept them beforehand.  Any ideas?

On 3/4/06, Rob Cozens <[EMAIL PROTECTED]> wrote:
>
>
> Hi Bridger,
>
> > I have a stack (Which I will call Stack 1) that
> > makes another stack (I will call it Stack 2), copies a card from some
> > other stack running in the background (which I call Stack 3) and sends
> > the new stack with the copied card all over the network where it is
> > added to whatever stack sees it.  The problem is that sometimes the
> > card on Stack 2 has unexpected handler in it that cause random errors
> > when I am working with it.  I realize I can lock the messages, but
> > that locks the messages for the Stack 1 also, which I cannot do.  Is
> > there any way of keeping messages from being passed to Stack 2,
> > without locking the messages from Stack 1?
> >
>
> I am not sure exactly what you are describing.
>
> If Stack 2 is created on-the-fly, where does the "unexpected" handler
> come from?  The card copied from Stack 3?
>
> Do you have handlers with identical names in Stack 1 and 2?
>
> If Stacks 1, 2, & 3 are all your creations, you should be able to avoid
> any duplication.
>
> If the error is caused by broadcasting a message (eg: doWhatever),
> perhaps the problem can be avoided by directing the message to the
> correct object (eg: send "doWhatever" to card 1 of stack "Stack 1").
>
> Rob Cozens
> CCW, Serendipity Software Company
>
> "And I, which was two fooles, do so grow three;
> Who are a little wise, the best fooles bee."
>
> from "The Triple Foole" by John Donne (1572-1631)
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Locking Messages

2006-03-03 Thread Bridger Maxwell
Hey,
  It is me again.  I have a stack (Which I will call Stack 1) that
makes another stack (I will call it Stack 2), copies a card from some
other stack running in the background (which I call Stack 3) and sends
the new stack with the copied card all over the network where it is
added to whatever stack sees it.  The problem is that sometimes the
card on Stack 2 has unexpected handler in it that cause random errors
when I am working with it.  I realize I can lock the messages, but
that locks the messages for the Stack 1 also, which I cannot do.  Is
there any way of keeping messages from being passed to Stack 2,
without locking the messages from Stack 1?

  TTFN
Bridgeyman
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: It Variable

2006-03-03 Thread Bridger Maxwell
Hey,
  Thanks for your responses, but they don't quite work for my particular
case.  Putting get the result below the line where I call for the netrequest
will work, but it would be extremely difficult to do because it is located
in odd places all over in more than 40 stacks.  Right now I am thinking of
making a stack that will do it for me, but I was hoping there was an easier
way.

On 3/3/06, Sarah Reichelt <[EMAIL PROTECTED]> wrote:
>
> On 3/4/06, Bridger Maxwell <[EMAIL PROTECTED]> wrote:
> > I just made a giant switch from Hypercard to Revolution.  In Hypercard
> > networking we used "request thedata from program theComputer" to request
> > data from across an appletalk network.  In Revolution this didn't work
> > anymore so we made a new command, "Netrequest" that serves the same
> > function.  "netrequest thedata,theComputer"  The problem is that in
> > Hypercard put the data into the it variable when it is done.  Without
> > changing the script in the card where it initiates the netrequest
> command
> > (such as in the card or a button), can I add something the to stack
> script
> > where the command is contained so it puts the result into the it
> variable?
>
>
> netrequest thedata,theComputer
> get the result
> -- "it" will now contain whatever was returned from the netrequest
> handler.
>
> HTH,
> Sarah
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


It Variable

2006-03-03 Thread Bridger Maxwell
I just made a giant switch from Hypercard to Revolution.  In Hypercard
networking we used "request thedata from program theComputer" to request
data from across an appletalk network.  In Revolution this didn't work
anymore so we made a new command, "Netrequest" that serves the same
function.  "netrequest thedata,theComputer"  The problem is that in
Hypercard put the data into the it variable when it is done.  Without
changing the script in the card where it initiates the netrequest command
(such as in the card or a button), can I add something the to stack script
where the command is contained so it puts the result into the it variable?

   TTFN
 Bridgeyman
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Workgroup Computers

2006-02-21 Thread Bridger Maxwell
Hey,
  Does anyone out there know how to access a list of workgroup computers or
anything similar?  I am making a networking stack, but it has to be able to
detect all the computers that it is hooked up to.  I would like something
that works on any system, but I am mainly looking for it to work on a Mac.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


  1   2   >