Re: No backgroundcolor

2005-11-28 Thread MisterX
Dan, Jacque

The border color changes the fields lines color and the border color
except when you set the 3D border (as Jacque noticed)... Then border
colors dont change as expected in WinXP at least...

It's actually lots worse than it seems because 2 pixel borders do look
colored in W2K, but the same borders on XP do NOT look good.

Over a bg color you dont see the border or the border bleeds through a 1
pixel frame which is inside teh field's border (xp design). So lots is not
porting smoothly from W2K to XP. OSX ports are just as chaotic...

cheers
Xavier

J. Landman Gay said:
> Dan Shafer wrote:
>  > Jacque...
>  >
>  > Um, actually, foregroundcolor controls both text and border color.
>  > bordercolor only works on buttons and scrollbars according to the docs.
>
> Before I responded I did a quick test and foregroundcolor didn't change
> the edges. Bordercolor did. But I had to turn off the threeD property to
> see it -- with threeD turned on, the border was always gray no matter
> what. In any case, the forecolor didn't change the border color of the
> field.
>
> This is all on OS X. Maybe there is a difference on other operating
> systems?
>
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com

-- 
http://monsieurx.com/taoo

___
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: AW: Following this List

2005-11-28 Thread Dom
Thomas Fischer <[EMAIL PROTECTED]> wrote:

> I must say I am also somewhat overwhelmed with the flood of messages (114
> today, over 2000 in the last two months)

sure, it is a very active list :-)

I'm using a good tool to read this list (IMHO ;-))
its name is MacSOUP (Mac only, sorry)

it is NOT a mail agent, it is a news reader!
with mail capabilities, though...

it is very easy to read threads with it (except when someone starts a
new discussion witout changing the title ;-))

above the message text, one can see a graphical scheme of the running
thread, with all its branches (sort of Christmas tree ;-))

brief, too long to explain all the features of MacSOUP, try it!

as of today, I have a base of  17000+ messages, the oldest from 10
months :-)
not yet read all these!!! (12000 not read...)

PS: the author is German :-)

-- 
Revolutionario

___
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: DLL usage in RunRev

2005-11-28 Thread Alessandro Manotti
I didn't see the RunRev sdk, but I think you agree. I think SDK was
created to be used with C or C++. Neither Delphi nor Visual Basic,
etc...





On 11/28/05, Mark Wieder <[EMAIL PROTECTED]> wrote:
> Alessandro-
>
> Monday, November 28, 2005, 1:15:45 PM, you wrote:
>
> > Sorry Mark, but in my company I already use Delphi to create DLLs
> > (using "cdecl" option for parameters passing)   ;-)
>
> Yes, sorry, I didn't mean to imply that you couldn't create DLLs, just
> that you probably can't create *runrev-compatible* DLLs.
>
> --
> -Mark Wieder
>  [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


Re: There was an error connecting to the database

2005-11-28 Thread Jan Schenkel
--- Bill <[EMAIL PROTECTED]> wrote:
> Does anyone know how to trouble shoot "there was an
> error connecting to the
> database"? I must have an automatic database
> connection somewhere that I
> don't use which is set-up wrong. Is there some kind
> of debugger message that
> I can set to turn on before everything else that
> would then put in the
> message box where this database connection is that
> it is trying?
> 

Hi Bill,

If you're on MacOSX, you can open the Console
application and see if that turns up any information ;
other than that, go to the Database Query Builder, go
through your queries one at a time, clicking the
connect button to check if that's the one failing.

Jan Schenkel.

Quartam - Tools for Revolution


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



__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/
___
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: Field Corruption?

2005-11-28 Thread Sivakatirswami
mmm the offending paragraph is a line that is onlyl 9842 characters  
long


and no, there are no two field with the same name... I checked that  
one...


On Nov 28, 2005, at 7:30 PM, Sarah Reichelt wrote:


On 11/29/05, Sivakatirswami <[EMAIL PROTECTED]> wrote:


I have suddenly received from a user of one of my stack that has been
working fine for several years, are report that "my changes are not
being saved to the disk file!"

I had them email me the stack and have discovered this rather
incredible, obscure problem:

What you see in the field is not what you get if:

a) you put that field into a variable and write the variable to disk
b) copy the text and paste into BBEdit
c) simply put the fld into a url (to save to disk)

Now, I have isolated the problem to one long paragraph... tha simply
does not change... not matter what edits you make on screen and in
the field... even if you save the stack.. quit revolution, open
again.. .your edits will appea there on screen, but not in any kind
of output.



Is it possible that one or more lines in the field has exceeded 64K  
characters?

Weird things happen when this occurs.

Apart from that, my only suggestion would be to confirm that you don't
have two fields witht he smae name, so your user might be editing one,
but exporting another.

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


Re: Field Corruption?

2005-11-28 Thread Sarah Reichelt
On 11/29/05, Sivakatirswami <[EMAIL PROTECTED]> wrote:
> I have suddenly received from a user of one of my stack that has been
> working fine for several years, are report that "my changes are not
> being saved to the disk file!"
>
> I had them email me the stack and have discovered this rather
> incredible, obscure problem:
>
> What you see in the field is not what you get if:
>
> a) you put that field into a variable and write the variable to disk
> b) copy the text and paste into BBEdit
> c) simply put the fld into a url (to save to disk)
>
> Now, I have isolated the problem to one long paragraph... tha simply
> does not change... not matter what edits you make on screen and in
> the field... even if you save the stack.. quit revolution, open
> again.. .your edits will appea there on screen, but not in any kind
> of output.

Is it possible that one or more lines in the field has exceeded 64K characters?
Weird things happen when this occurs.

Apart from that, my only suggestion would be to confirm that you don't
have two fields witht he smae name, so your user might be editing one,
but exporting another.

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


Re: [OT] Handling Returned Virus Mail

2005-11-28 Thread Kay C Lan
Jeffery Reynolds wrote:

one thing that has stemmed the tide for me is to start putting your
> email address on all your web posts as a java encoded text (there are
> several schemes out there to do this) instead of straight html. while
> this wont get rid of things immediately, it has slowed the tide a lot
> for me and many clients over the last couple of years since i started
> doing it
> im sure there are some spammers out there that are now using
> bots to run the java scripts to see if they get any email addresses
> back, but thats not as easy.
>

You may wish to go one step further by reformatting every reference to you,
either on your webpage or in emails, into a graphic. At the most basic level
just take a screen shot of your own email text signature and crop it into a
small gif or jpg. On a website you will probably want the hyperlinks to your
email address and website to work so this will involve cropping each text
hyperlink into a graphic and then using code rather than plain html to make
the link as suggested above.

I think it will be a while before bots will be running OCR on gifs and jpgs
to see if they can extract an email address:-)

Of course, in some situations it means that you can't leave your signature,
which is why you won't see mine here.
___
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


Load URL returns error 10049

2005-11-28 Thread Dave Beck
 

Here are the results of this next round of testing. Sorry about the delay -
again it took a long time for the customer to get back to me with the
results of the tests. I'm afraid they are quite puzzling to me and seem to
point towards a bug in the Rev internet lib or the engine itself, but maybe
somebody with more experience could chime in on that.

 

Again, to reiterate, the problem is that the load URL command fails for this
user when trying to load a web page and the URLStatus function returns
"error". Then the libURLErrorData function returns "Error 10049". This
problem is isolated to this user and the stand alone has been distributed
and works as expected for over 50 others, all accessing the same hard coded
URL.

 

I had the customer check to see if the same URL loaded in her browser
without problems, and the answer was yes. I then built a special stand along
for this customer that accesses the website directly through the IP instead
of using the DNS lookup, but the same error was still generated. I then
built another standalone that attempts to access google through the load
command as a sanity check, and what happened was that the load failed again
and this different error was returned by libURLErrorData:

 

Error loading on socket

 

Again, the customer does not have any problems accessing the internet or
google through her web browser.

 

Dave, to answer your question, the initial error returned by libURLErrorData
is the exact string "Error 10049".

 

Erin, I had her give me all her configuration info. There are no proxy
server settings, and in the Internet Protocol (TCP/IP) settings she has
"Obtain an IP address automatically" and "Obtain DNS server address
automatically" turned on.

 

Any more ideas?? Is there a way to find more detailed information about what
could be going wrong and when? 

 

Thanks so much for all of your help,

 

David Beck

___
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


Field Corruption?

2005-11-28 Thread Sivakatirswami
I have suddenly received from a user of one of my stack that has been  
working fine for several years, are report that "my changes are not  
being saved to the disk file!"


I had them email me the stack and have discovered this rather  
incredible, obscure problem:


What you see in the field is not what you get if:

a) you put that field into a variable and write the variable to disk

b) copy the text and paste into BBEdit

c) simply put the fld into a url (to save to disk)

Now, I have isolated the problem to one long paragraph... tha simply  
does not change... not matter what edits you make on screen and in  
the field... even if you save the stack.. quit revolution, open  
again.. .your edits will appea there on screen, but not in any kind  
of output.


Further more... this is also apparent in the "contents" property of  
the field where this one paragraph is "Stuck" in there and no edits  
to the field will change it...


Anyone experience this before?  Could some one look at the stack for me?

I will do some more tests, like create a new stack and past the text  
the is "stuck" into a new field, but if someone had ideas, that would  
help... it has my user *very* worried (for good reason)


Sivakatirswami



___
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] LEGO - for those who missed the point

2005-11-28 Thread Kay C Lan
Thanks so much for the link.
___
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


More on Windows Registry

2005-11-28 Thread Sivakatirswami

I just realized that:

get setRegistry("HKEY_CLASSES_ROOT\.rev\", "Revolution")

is probably not going to work for my app. But I don't see any place  
to set "type" in the Standalone config for Windows. Is it simply the  
filename of the application without the .exe on the end?


TIA
Sivakatirswami



___
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


Zippy the Pinhead invented "Are we having fun yet?".

2005-11-28 Thread Erik Hansen
Zippy the Pinhead invented "Are we having fun
yet?".
Garfield got the rights.

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



__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/
___
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


[UPD] bitwiseRotateLeft

2005-11-28 Thread Sean Shao

function bitwiseRotateLeft p1, p2
 local tSL, tSR
 put bitwiseShiftLeft(p1, p2) into tSL
 put bitwiseShiftRight(p1, 32-p2, TRUE) into tSR -- updated line
 return bitwiseOr(tSL, tSR)
end bitwiseRotateLeft

Now I'm not too certain if the rotateRight is correct..
-Sean

_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


___
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: AW: Following this List

2005-11-28 Thread Dan Shafer
Troy.

So true. That's one of the things threaded email apps need to get a
lotbetter at, IMNSHO.

On 11/28/05, Troy Rollins <[EMAIL PROTECTED]> wrote:
>
>
> Of course, this very thread was hijacked from one called "No background
> color", and therefore it get categorized as such in threaded readers -
> so once again, it is up to the initiator of the thread to understand
> how to properly start a fresh one.
>
>


--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.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


Mac app binding -- Setting Windows Registry

2005-11-28 Thread Sivakatirswami
I don't use installers.. People just download stacks, standalone or  
otherwise, and run them.


1) I'm wondering, to set the windows double-clickable.rev app-doc  
binding, if one were to put this into  the preopen stack handler...


if platform()="Win32"
get setRegistry("HKEY_CLASSES_ROOT\.rev\", "Revolution")
end if

which obviously will run every time the stack is opened, even though  
it was set initially and only really needed to be set  once...


If this "set the registry again, (and again, and again...) everytime  
you open" could be problematic in anyway?


Of course there will be many other strategies, but I always start  
with KISS.


2) Is there a way to hack the rev IDE to globally set the  
stackFileType to that this is *always* set to the Mac Creator Code I  
have from Apple, for my main player?  And, does this property tay  
alive through the entire session if you haven't quit (thus is applied  
to any and all stacks being saved.
b) once this set for a stack... does it stick? or, is the  
stackFileType "momentary"
c) how can you query the "stackFileType" property of a stack (if  
I could I could answer b) above


3) if a  users does a Save As under my player, will the new stack  
have the stackFileType applied?



Sivakatirswami



___
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


Updated version of Daily Comics in RunRev... A Garfield a day keeps thestress away!

2005-11-28 Thread Ton Kuypers

Just updated the version online...
For the Gadget Bar users: Just drop it into your Gadget folder and  
click on it when you need a break ;-)


Enjoy,


Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.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: AW: Following this List

2005-11-28 Thread Troy Rollins


On Nov 28, 2005, at 7:05 PM, Dan Shafer wrote:

Using an email app that lets you view emails by threads can go a long 
way toward relieving the glut, BTW. Combining that tactic with 
filtering can significantly reduce the number of emails that you 
actually have to read.


Of course, this very thread was hijacked from one called "No background 
color", and therefore it get categorized as such in threaded readers - 
so once again, it is up to the initiator of the thread to understand 
how to properly start a fresh one.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

___
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: Daily Comics in RunRev... A Garfield a day keeps thestress away!

2005-11-28 Thread Jerry Muelver

From: "Martin Baxter" <
Subject: Re: Daily Comics in RunRev... A Garfield a day keeps thestress 
away!




Jerry,

All is not lost though. List member Eric Chatonet recently made available 
a stack for accessing the stacks at revOnline, which should work with your 
version. It is called online picker and can be downloaded at Eric's 
website:

http://www.sosmartsoftware.com/

Martin Baxter


Got it, Martin, thanks much!

 Jerry Muelver 


___
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: AW: Following this List

2005-11-28 Thread Dan Shafer
I have always resisted the idea of sub-dividing this list for a  
number of reasons. But as Rev gets more popular, as this list grows  
in population and as people like me continue to see this list as a  
place to discuss topics that are arguably semi-tangential, perhaps  
some reorganization would help.


I generally try to put a [OT] in front of the subject line when I  
post something that's even possibly marginally off-topic. You can use  
your email app's filter functions to bury those kinds of  
conversations before they hit your In Box. I've been involved in some  
lists where the user community simply adopted a convention like that  
so that categorizing messages was up to the individual who initiates  
a thread. Such systems work OK but not perfectly because newbies  
don't always get the clue right away and because some posts are hard  
to categorize.


Using an email app that lets you view emails by threads can go a long  
way toward relieving the glut, BTW. Combining that tactic with  
filtering can significantly reduce the number of emails that you  
actually have to read.



On Nov 28, 2005, at 2:52 PM, Thomas Fischer wrote:


Hello,

I must say I am also somewhat overwhelmed with the flood of  
messages (114 today, over 2000 in the last two months). I know  
there is a parallel list regarding externals, which seams to be  
dormant (or dead?), but is there probably a sensible way to  
separate the list into different topics, like

- technical questions
- Revolution company related
- (assumed) bugs
- xTalk philosophy
(there must be better categories)?
But in any case, being fairly new to Revolution (Dreamcard) and  
interested in external functions and commands, I would find more  
structure and a separation really helpful.


All the best
Thomas

--
Thomas Fischer
Salzburg


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Andre
Garzia
Gesendet: Montag, 28. November 2005 23:18
An: How to use Revolution
Betreff: Re: Following this List


Frank,

move your subscription to digest mode, it's smaller! :-)

cheers
andre
On Nov 28, 2005, at 7:29 PM, Frank R wrote:


I want to keep following this list.  But, my inbox is getting
blasted pretty good.
  Are there any other options for following this list, other than e-
mail?  Is this
  shadowed to a forum anywhere? Thanks.

  _

Dan Shafer <[EMAIL PROTECTED]> wrote:
  Jacque...

Um, actually, foregroundcolor controls both text and border color.
bordercolor only works on buttons and scrollbars according to the
docs.


On Nov 28, 2005, at 1:01 PM, J. Landman Gay wrote:


R. Hillen wrote:

Hello list,
I wanted to make a green rect with a red edge, so I wrote
create invisible graphic
set the style of it to rectangle
set the rect of it to 20,20,50,50
set the foregroundcolor of it to 255,0,0 --RGB_Color
set the backgroundcolor of it to 0,255,0 --RGB_Color
set the linesize of it to 2
show it
I got a white rect with a red edge. Why?


I'm not sure, because the "foregroundcolor" controls the text
color, not the border. If this wasn't a typo, then set the
"bordercolor" instead.

Also, do the opaque thing like others have suggested.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | http://www.hyperactivesw.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




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.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


___
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




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get 

[UPD] bitwise math functions (v1.2) -- long post

2005-11-28 Thread Sean Shao
Well after a few more days of working on the bitwise math stuff I finally 
have it working.. It's probably not 100% when working outside of 32-bit 
numbers, but it tries.. All shifts are between 0-31 (32 is the same as 0).. 
I tested against the JavaScript answers and they are identical. Thanks to 
everyone on the Chatrev server for helping, testing and putting up with me 
;-)


Here are the functions:

function bitwiseAnd p1, p2 -- other languages (&)
 local tP1Neg, tP2Neg
 if (p1 < 0) then
   put bitNot abs(p1) +1 into p1
   put TRUE into tP1Neg
 end if
 if (p2 < 0) then
   put bitNot abs(p2) +1 into p2
   put TRUE into tP2Neg
 end if
 if (tP1Neg) AND (tP2Neg) then
   return 0 - bitNot ((p1 bitAnd p2) -1)
 else return p1 bitAnd p2
end bitwiseAnd


function bitwiseOr p1, p2 -- other languages (|)
 local tP1Neg, tP2Neg
 if (p1 < 0) then
   put bitNot abs(p1) +1 into p1
   put TRUE into tP1Neg
 end if
 if (p2 < 0) then
   put bitNot abs(p2) +1 into p2
   put TRUE into tP2Neg
 end if
 if (tP1Neg) OR (tP2Neg) then
   return 0 - bitNot ((p1 bitOr p2) -1)
 else return p1 bitOr p2
end bitwiseOr


function bitwiseXor p1, p2 -- other languages (^)
 local tP1Neg, tP2Neg
 if (p1 < 0) then
   put bitNot abs(p1) +1 into p1
   put TRUE into tP1Neg
 end if
 if (p2 < 0) then
   put bitNot abs(p2) +1 into p2
   put TRUE into tP2Neg
 end if
 if (tP1Neg) AND (tP2Neg) then
   return p1 bitXor p2
 else if (tP1Neg) OR (tP2Neg) then
   return 0 - bitNot ((p1 bitXor p2) -1)
 else return p1 bitXor p2
end bitwiseXor


function bitwiseNot p1 -- other languages (~)
 return 0 - (p1 + 1)
end bitwiseNot


function bitwiseShiftLeft p1, p2 -- other languages (<<)
 local tP1Neg
 put (abs(p2) MOD 32) into p2
 if (p2 = 0) then return p1 -- no shifting
 if (p1 < 0) then put TRUE into tP1Neg
 put baseConvert(abs(p1), 10, 2) into p1
 repeat p2
   put 0 after p1
 end repeat
 if (tP1Neg) then
   if (baseConvert(p1, 2, 10) > 2147483648) then return 2147483648 - 
(baseConvert(p1, 2, 10) MOD 2147483648)

   else return 0 - baseConvert(p1, 2, 10)
 else
   if (baseConvert(p1, 2, 10) >= 2147483648) then return 0 - (2147483648 - 
baseConvert(char -31 to -1 of p1, 2, 10))

   else return baseConvert(p1, 2, 10)
 end if
end bitwiseShiftLeft


function bitwiseShiftRight p1, p2 -- other languages (>>) and (>>>)
 # There is a third optional parameter which will force left-pad the binary 
number with 0's

 # This in effect switches negative numbers into positive
 # bitwiseShiftRight(13, 4) -- other languages (>>)
 # bitwiseShiftRight(13, 4, TRUE) -- other languages (>>>)

 local tP1Neg, tPad, tZeroFill
 put (abs(p2) MOD 32) into p2
 if (paramCount() = 3) then put TRUE into tZeroFill
 if (p1 = 0) then return p1
 if (p1 > 0) then
   if (p2 = 0) then return p1 -- no shifting
   put baseConvert(abs(p1), 10, 2) into p1
   repeat p2
 delete char -1 of p1
 if (tZeroFill) then put 0 before p1
   end repeat
   return baseConvert(p1, 2, 10)
 end if
 if (p1 < 0) then
   if (tZeroFill) then
 put baseConvert(bitNot abs(p1) +1, 10, 2) into p1
 repeat p2
   delete char -1 of p1
   put 0 before p1
 end repeat
 put abs(baseConvert(p1, 2, 10)) into p1
 if (p1 = 0) then return 0
 else return p1
   else
 if (p2 = 0) then return p1 -- no shifting
 put abs(p1) / (2 ^ p2) into p1
 if (p1 is an integer) then return 0 - p1
 return 0 - trunc(p1) - 1
   end if
 end if
end bitwiseShiftRight


function bitwiseRotateLeft p1, p2
 local tSL, tSR
 put bitwiseShiftLeft(p1, p2) into tSL
 put bitwiseShiftRight(p1, abs(p2)) into tSR
 return bitwiseOr(tSL, tSR)
end bitwiseRotateLeft

function bitwiseRotateRight p1, p2
 local tSR, tSL
 put bitwiseShiftRight(p1, p2) into tSR
 put bitwiseShiftLeft(p1, 32-p2) into tSL
 return bitwiseOR(tSR, tSL)
end bitwiseRotateRight


--
-Sean 
1f u c4n r34d th15 u n33d 2 g3t l41d

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


___
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: No backgroundcolor

2005-11-28 Thread J. Landman Gay

Dan Shafer wrote:
The issue may be found in your use of the word "field." The original  
poster was talking about a graphic, not a field. I'm testing on OS X  
and it works as I described.


Argh. A graphic! So I'm completely off track.

You can disregard the post I sent later too. Sorry to have contributed 
to list bloat.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Rev and User Accounts

2005-11-28 Thread Timothy Miller



J. Landman Gay wrote:
Both DC and Rev Player use the same creator code, so it may be 
that OS X thinks they are duplicate apps.


Is there a benefit to having those apps use duplicate creator 
codes, or should we Bugzilla that?


--
 Richard Gaskin
 Managing Editor, revJournal
 ___





Timothy Miller replied:



Well, come to think of it, I guess I could try trashing DC Player. I 
never use it anyway, and I guess I can download another copy if 
needed.


I'll try it, and report back, in case anyone is interested. Good 
clue, Jacque! (as usual)


Tim



Yup. That worked. If I put DC Player in the trash, then I can allow 
or disallow Revolution Dreamcard on the "parental controls" list.


FWIW, it seems kinda silly to call it "parental controls." Seems like 
there are other reasons the administrator might want to disallow a 
subordinate user's access to certain applications.


In any case, I hope this might be slightly useful to someone.

Cheers,

Tim
___
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: No backgroundcolor

2005-11-28 Thread J. Landman Gay

Dan Shafer wrote:
> Jacque...
>
> Um, actually, foregroundcolor controls both text and border color.
> bordercolor only works on buttons and scrollbars according to the docs.

Well, now you've got me curious. I think the summary line of this entry 
in the docs is wrong, at least on OS X. The text explanation below it is 
correct; the discussion doesn't talk about border colors, only text 
colors. For a standard rectangle button, only the bordercolor worked to 
change the border (provided threeD is false.) Fields were the same, only 
bordercolor changes the edges. Scrollbars are drawn by the system, so 
can't be colored at all in OS X, even though there are a few color boxes 
enabled in the Inspector (none of them do anything.) I know scrollbars 
allow more colors in MacOS and Windows though.


I didn't test on Windows. Obviously since the original poster got a red 
border on the field using foregroundcolor, there must be a difference on 
that OS. I'd like to know.


Can anyone on a Windows box summarize what you get? Or do I have to drag 
mine out of the closet again? ;)


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: How to check what card a stack is currently viewing

2005-11-28 Thread Jim Ault
On 11/28/05 12:31 PM, "Dan Shafer" <[EMAIL PROTECTED]> wrote:

> Those who have already answered have told you how to check for the
> current card in the stack in which the handler is executing. But I
> had a feeling you were trying to check the current card showing in a
> stack *other* than the current stack.
in my response I used the following statement that worked for me:::
get the id of this card of stack "Showcase Functions"
-- does not have to be the active stack
could also be::
get line 1 of field "choiceList" of this card of stack "Showcase Functions"

Advanced note for closed stacks::
Now close the stack, and the following still works::
get the name of this card of stack "Showcase Functions"
also::
get line 1 of field "choiceList" of this card of stack "Showcase Functions"
and also these three lines::
put "Ethel" into  line 1 of field "choiceList" of this card of stack
"Showcase Functions"
save stack "Showcase Functions"
go to stack "Showcase Functions"  --once again visible

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


Re: This is what REALLY SUCKS about whingeing

2005-11-28 Thread Robert Brenstein
Well I wish I knew what you were doing differently from me! I have 
been using Rev for about 18 months have had at least 8 corruptions! 
However, I started under MacOS 9 and to be honest I haven't seen 
many since I switched to Mac OS X, In fact just 2 I think.


Hmm, Dave, I wonder what you do to get so many corruptions under OS9 
:) I have been running there for some 5 years and had not a single 
corruption. And I have stacks in constant running as cgi's. I recall 
only a single instance of failing save but switching to the backup 
file was simple enough to recover. Earlier version would ocassionally 
(some releases regularly) quit on me but all I ever lost was what was 
not saved.


Robert
___
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: No backgroundcolor

2005-11-28 Thread Dan Shafer
The issue may be found in your use of the word "field." The original  
poster was talking about a graphic, not a field. I'm testing on OS X  
and it works as I described.


On Nov 28, 2005, at 2:55 PM, J. Landman Gay wrote:

Before I responded I did a quick test and foregroundcolor didn't  
change the edges. Bordercolor did. But I had to turn off the threeD  
property to see it -- with threeD turned on, the border was always  
gray no matter what. In any case, the forecolor didn't change the  
border color of the field.


This is all on OS X. Maybe there is a difference on other operating  
systems?




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.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


Re: Daily Comics in RunRev... A Garfield a day keeps thestress away!

2005-11-28 Thread Ton Kuypers

hahaha
How a fun stack like this can fill up a list with a completely  
different subject ;-)


If you can't get it solved Jerry, I can send it to you off-list, no  
problem...


Ton


On 28-nov-05, at 23:35, Martin Baxter wrote:


Jerry Muelver wrote:

From: "Andre Garzia"

Jerry,

RevOnline is only accesible thru Rev IDE or Dreamcard Player.  
Launch  Rev IDE, there's a menu "development", the first item of  
this menu is RevOnline... ;-)


Cheers
andre
Whoops Nope. I've got Rev 2.2.1, Linux "get acquainted"  
version, with no Rev Online in the Development menu. I guess I'll  
have to wait until my CFO (wife) comes through with the upgrade  
cost. I need a "persuader". I'll put together a Revolution Linux  
replacement for MS Office and OpenOffice, so she can see that I'm  
serious about this.

 Jerry Muelver


Jerry,

All is not lost though. List member Eric Chatonet recently made  
available a stack for accessing the stacks at revOnline, which  
should work with your version. It is called online picker and can  
be downloaded at Eric's website:

http://www.sosmartsoftware.com/

Martin Baxter
___
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: Daily Comics in RunRev... A Garfield a day keeps thestress away!

2005-11-28 Thread Martin Baxter

Jerry Muelver wrote:

From: "Andre Garzia"


Jerry,

RevOnline is only accesible thru Rev IDE or Dreamcard Player. Launch  
Rev IDE, there's a menu "development", the first item of this menu is 
RevOnline... ;-)


Cheers
andre



Whoops Nope. I've got Rev 2.2.1, Linux "get acquainted" version, 
with no Rev Online in the Development menu. I guess I'll have to wait 
until my CFO (wife) comes through with the upgrade cost. I need a 
"persuader". I'll put together a Revolution Linux replacement for MS 
Office and OpenOffice, so she can see that I'm serious about this.


 Jerry Muelver


Jerry,

All is not lost though. List member Eric Chatonet recently made 
available a stack for accessing the stacks at revOnline, which should 
work with your version. It is called online picker and can be downloaded 
at Eric's website:

http://www.sosmartsoftware.com/

Martin Baxter
___
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: Following this List

2005-11-28 Thread Lynch, Jonathan
We need a proper forum...

Preferably on a sister site to the as-yet-non-existent revdoc wiki...


Forums can be set up with subscription options, so you get the messages
by e-mail, but don't have to. You could also get just certain categories
by e-mail.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
Fischer
Sent: Monday, November 28, 2005 5:53 PM
To: How to use Revolution
Subject: AW: Following this List

Hello,

I must say I am also somewhat overwhelmed with the flood of messages
(114 today, over 2000 in the last two months). I know there is a
parallel list regarding externals, which seams to be dormant (or dead?),
but is there probably a sensible way to separate the list into different
topics, like
- technical questions
- Revolution company related
- (assumed) bugs
- xTalk philosophy
(there must be better categories)?
But in any case, being fairly new to Revolution (Dreamcard) and
interested in external functions and commands, I would find more
structure and a separation really helpful.

All the best
Thomas

--
Thomas Fischer
Salzburg
 
> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag von Andre
> Garzia
> Gesendet: Montag, 28. November 2005 23:18
> An: How to use Revolution
> Betreff: Re: Following this List
> 
> 
> Frank,
> 
> move your subscription to digest mode, it's smaller! :-)
> 
> cheers
> andre
> On Nov 28, 2005, at 7:29 PM, Frank R wrote:
> 
> > I want to keep following this list.  But, my inbox is getting  
> > blasted pretty good.
> >   Are there any other options for following this list, other than e-

> > mail?  Is this
> >   shadowed to a forum anywhere? Thanks.
> >
> >   _
> >
> > Dan Shafer <[EMAIL PROTECTED]> wrote:
> >   Jacque...
> >
> > Um, actually, foregroundcolor controls both text and border color.
> > bordercolor only works on buttons and scrollbars according to the  
> > docs.
> >
> >
> > On Nov 28, 2005, at 1:01 PM, J. Landman Gay wrote:
> >
> >> R. Hillen wrote:
> >>> Hello list,
> >>> I wanted to make a green rect with a red edge, so I wrote
> >>> create invisible graphic
> >>> set the style of it to rectangle
> >>> set the rect of it to 20,20,50,50
> >>> set the foregroundcolor of it to 255,0,0 --RGB_Color
> >>> set the backgroundcolor of it to 0,255,0 --RGB_Color
> >>> set the linesize of it to 2
> >>> show it
> >>> I got a white rect with a red edge. Why?
> >>
> >> I'm not sure, because the "foregroundcolor" controls the text
> >> color, not the border. If this wasn't a typo, then set the
> >> "bordercolor" instead.
> >>
> >> Also, do the opaque thing like others have suggested.
> >>
> >> -- 
> >> Jacqueline Landman Gay | [EMAIL PROTECTED]
> >> HyperActive Software | http://www.hyperactivesw.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
> >
> >
> >
> > ~~
> > Dan Shafer, Information Product Consultant and Author
> > http://www.shafermedia.com
> > Get my book, "Revolution: Software at the Speed of Thought"
> >> From http://www.shafermediastore.com/tech_main.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
> >
> >
> > ___
> > 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


Re: No backgroundcolor

2005-11-28 Thread J. Landman Gay

Dan Shafer wrote:
> Jacque...
>
> Um, actually, foregroundcolor controls both text and border color.
> bordercolor only works on buttons and scrollbars according to the docs.

Before I responded I did a quick test and foregroundcolor didn't change 
the edges. Bordercolor did. But I had to turn off the threeD property to 
see it -- with threeD turned on, the border was always gray no matter 
what. In any case, the forecolor didn't change the border color of the 
field.


This is all on OS X. Maybe there is a difference on other operating systems?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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


AW: Following this List

2005-11-28 Thread Thomas Fischer
Hello,

I must say I am also somewhat overwhelmed with the flood of messages (114 
today, over 2000 in the last two months). I know there is a parallel list 
regarding externals, which seams to be dormant (or dead?), but is there 
probably a sensible way to separate the list into different topics, like
- technical questions
- Revolution company related
- (assumed) bugs
- xTalk philosophy
(there must be better categories)?
But in any case, being fairly new to Revolution (Dreamcard) and interested in 
external functions and commands, I would find more structure and a separation 
really helpful.

All the best
Thomas

--
Thomas Fischer
Salzburg
 
> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag von Andre
> Garzia
> Gesendet: Montag, 28. November 2005 23:18
> An: How to use Revolution
> Betreff: Re: Following this List
> 
> 
> Frank,
> 
> move your subscription to digest mode, it's smaller! :-)
> 
> cheers
> andre
> On Nov 28, 2005, at 7:29 PM, Frank R wrote:
> 
> > I want to keep following this list.  But, my inbox is getting  
> > blasted pretty good.
> >   Are there any other options for following this list, other than e- 
> > mail?  Is this
> >   shadowed to a forum anywhere? Thanks.
> >
> >   _
> >
> > Dan Shafer <[EMAIL PROTECTED]> wrote:
> >   Jacque...
> >
> > Um, actually, foregroundcolor controls both text and border color.
> > bordercolor only works on buttons and scrollbars according to the  
> > docs.
> >
> >
> > On Nov 28, 2005, at 1:01 PM, J. Landman Gay wrote:
> >
> >> R. Hillen wrote:
> >>> Hello list,
> >>> I wanted to make a green rect with a red edge, so I wrote
> >>> create invisible graphic
> >>> set the style of it to rectangle
> >>> set the rect of it to 20,20,50,50
> >>> set the foregroundcolor of it to 255,0,0 --RGB_Color
> >>> set the backgroundcolor of it to 0,255,0 --RGB_Color
> >>> set the linesize of it to 2
> >>> show it
> >>> I got a white rect with a red edge. Why?
> >>
> >> I'm not sure, because the "foregroundcolor" controls the text
> >> color, not the border. If this wasn't a typo, then set the
> >> "bordercolor" instead.
> >>
> >> Also, do the opaque thing like others have suggested.
> >>
> >> -- 
> >> Jacqueline Landman Gay | [EMAIL PROTECTED]
> >> HyperActive Software | http://www.hyperactivesw.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
> >
> >
> >
> > ~~
> > Dan Shafer, Information Product Consultant and Author
> > http://www.shafermedia.com
> > Get my book, "Revolution: Software at the Speed of Thought"
> >> From http://www.shafermediastore.com/tech_main.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
> >
> >
> > ___
> > 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


Re: Purge Loop--Destroy Stack no working?

2005-11-28 Thread Sivakatirswami

Aloha, Jerry:

more feed back.. this problem arose today again, open stack A call  
"transcriber.rev" close... (destroy stack set to true)  try to open a  
different stack with the same name... still in memory, purge loop  
started happening again..


I had actually previously completed deleted Object Gadget... it is  
not even in the gadgets folder now  as of two weeks ago..


I had to disable Constellation completely to continue work.. :- 
(  (because it is so useful...)


Sivakatirswami


On Nov 14, 2005, at 2:13 AM, Jerry Daniels wrote:


Sivakatirswami,

I thought about your problem so more and have the following  
observations, questions and recommendations.


I don't think the problem is with the release version of  
Constellation you are using but, it is possible that there is a  
problem with one of Constellation's pre-release "buddies", Object  
Gadget.


Do you have Object Gadget open when this is happening? There is a  
known issue with Object Gadget where it verifies its list and  
inadvertently keeps the stacks in memory because it likes to test  
every object's parent stack by its long stack name to see if it  
exists. Please test without Object Gadget and see if it makes any  
difference.


Object Gadget it not released software, and it has known issues.  
For this reason, I only use Object Gadget when I need it for  
something and keep it close if I don't need it--and I have no  
difficulties with it. That's also why it is discounted so that it  
costs about two dollars right now. Once we get Object Gadget  
released, this will no longer be an issue (and the discounted price  
will go away, too).


Please let me know how your test without Object Gadget goes--or how  
you do with discretionary use of it as indicated above.


It would seem unlikely to me that your stacks are corrupted. My  
experience with corrupted stacks usually means the stack will not  
open and if it does it appears to have extremely sluggish behavior  
and slows down the IDE noticeably.


Also, all of the products we sell are pretty stingy with doling out  
custom properties and there are preferences to prevent them from  
being used at all. I don't believe custom props would cause your  
problem, in any case.


There are many people (I am becoming one) who prefer to store all  
data outside the stack--in a text file using XML or the like. Like  
others, when saving on close in the IDE, if something "unexpected"  
happens with the IDE, it can affect the process of saving and THEN  
corruption can take place. I haven't had problems with explicit  
saving in the IDE, whereas I have had problems with the implicit  
save you noted in your closeStack handler.


Best,

Jerry

http://www.daniels-mara.com/products/constellation.htm
Scripts and properties in a tabbed editor!

On Nov 13, 2005, at 10:36 PM, Sivakatirswami wrote:


The past few days REv is repeatedly asking me if I want to purge a  
stack in memory with the same name... Most of my stacks have


on closestack
   save this stack
end close stack

And for some reason, if Constellation is running, this puts me  
into an infinite loop where Rev is unable to save (because there  
is a stack in memory with the same name) ... I click save or purge  
or cancel, it doesn't matter... the msg comes right back..


if I don't boot constellation, I don't get into a loop but still  
though all my stacks are set to Destroy on close, rev keeps asking  
to purge a previously closed stack if I open another which has the  
same name.


I'm thinking something has been corrupted or a custom prop is  
"stuck" somewhere that thinks these stacks are in memory when they  
or not, or they are not being destroyed when they should be... any  
ideas?  Rebooting Rev does not change the behavior.


Sivakatirswami



___
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


Re: Constant 'Nonsense' about RR documentation

2005-11-28 Thread Jan Schenkel
--- jbv <[EMAIL PROTECTED]> wrote:
> 
> Dennis,
> 
> Ok that's fine... but still I'm wondering : what (if
> anything) makes
> Transcript different from other languages (beside
> its "almost" plain
> english syntax ?
> Doesn't it feature variables, loops, if-then-else
> structures, arrays,
> functions, etc. just like so many other languages ?
> 
> so what makes it so attractive and loveable ?
> 

While I've used a dozen programming languages, I
really like xTalk because of its sheer productivity:
it gives you many of the advantages of object-oriented
programming (the message path, as Chipp suggested, and
the handlers and properties, packaged in its
English-like object-based syntax), but without the
hassles of having to setting up a class hierarchy,
writing numerous subclasses and trying to make them
all work together even if you start moving parts
around.

With Rev you can do your project in whatever sequence
you want: design the UI, add the scripts, build script
libraries. And constantly test it without having to go
through a compile-link-start-debug cycle. Few
developer tools offer you cross-platform deployment
for MacOS, Windows and Linux without platform-checks
sprinkled throughout your code.

And the tools that offer something 'close' to what Rev
offers, either don't have all the features we take for
granted, or are far more cumbersome to use and build
the little tool that takes you just an hour or two in
Rev. Whenever I get a chance, I'll quickly toss
something together at my day job, where we use
Progress, and my colleagues are quite impressed
(except for the Delphi-lover who regards it as a toy
and always claims he can do better in just about the
same time -- sre)

Granted, there are a few things that Rev could add to
give us an even greater edge over our competitors, but
I think the RunRev crew are aware of those items and
working hard to code them. And I can't wait to get my
grubby little paws on those new killer versions...

Jan Schenkel.

Quartam - Tools for Revolution


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



__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/
___
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: DLL usage in RunRev

2005-11-28 Thread Mark Wieder
Alessandro-

Monday, November 28, 2005, 1:15:45 PM, you wrote:

> Sorry Mark, but in my company I already use Delphi to create DLLs
> (using "cdecl" option for parameters passing)   ;-)

Yes, sorry, I didn't mean to imply that you couldn't create DLLs, just
that you probably can't create *runrev-compatible* DLLs.

-- 
-Mark Wieder
 [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


Re: Rev and User Accounts

2005-11-28 Thread Timothy Miller

J. Landman Gay wrote:
Both DC and Rev Player use the same creator code, so it may be that 
OS X thinks they are duplicate apps.


Is there a benefit to having those apps use duplicate creator codes, 
or should we Bugzilla that?


--
 Richard Gaskin
 Managing Editor, revJournal
 ___



My original message didn't show up, nor did Jacque's kind reply. 
Unless I missed   other items on this thread, Jacque's theory seems 
reasonable. There's probably no easy workaround...


Well, come to think of it, I guess I could try trashing DC Player. I 
never use it anyway, and I guess I can download another copy if 
needed.


I'll try it, and report back, in case anyone is interested. Good 
clue, Jacque! (as usual)


Tim

___
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: visualize fields?

2005-11-28 Thread Timothy Miller

On 11/27/05 7:51 PM, "Timothy Miller" <[EMAIL PROTECTED]>
wrote:


 In hyperCard, choosing the field tool caused all fields to be faintly
 outlined.

 As I recall, though I'm not certain, some key combination outlined
 even the invisible fields, and fields under other fields, when the
 field tool was chosen.

 Anyway, just outlining fields was very helpful for working with
 fields that have no border and sometimes have no contents.

 Is there a way to make Revolution do this, or something like it? If
 not, should there be?


There isn't AFAIK, but it wouldn't be hard to make a little utility that did
this whenever a key combination was pressed. Whether there *should* be is a
matter of opinion... personally I don't think so (seems like a neat utility
to me), but that's just me.

Ken Ray
Sons of Thunder Software



Hi Ken,

Excuse me while I drool on myself. Derrr

After I sent this message, I had a BFO (blinding flash of the 
obvious). I hoped no one would notice the dumb question. Just 
dragging the edit tool over the area of the card in question will 
satisfy the need to see the locations of fields, most of the time. 
I'm not sure I'm allowed to be a newbie at my age, but I've got no 
other excuse ;-)


I guess a utility could record the properties of each field, then 
give each field a 1 pixel border, show the invisible ones and set 
opaque to false, then change them back again.  Really, just a button 
and a global would be enough. The original field properties could be 
stored as a custom property in the button.


It could be handy, in theory. In practice, it might not satisfy a huge need.

Thanks for your reply.


Tim
___
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: Following this List

2005-11-28 Thread Andre Garzia

Frank,

move your subscription to digest mode, it's smaller! :-)

cheers
andre
On Nov 28, 2005, at 7:29 PM, Frank R wrote:

I want to keep following this list.  But, my inbox is getting  
blasted pretty good.
  Are there any other options for following this list, other than e- 
mail?  Is this

  shadowed to a forum anywhere? Thanks.

  _

Dan Shafer <[EMAIL PROTECTED]> wrote:
  Jacque...

Um, actually, foregroundcolor controls both text and border color.
bordercolor only works on buttons and scrollbars according to the  
docs.



On Nov 28, 2005, at 1:01 PM, J. Landman Gay wrote:


R. Hillen wrote:

Hello list,
I wanted to make a green rect with a red edge, so I wrote
create invisible graphic
set the style of it to rectangle
set the rect of it to 20,20,50,50
set the foregroundcolor of it to 255,0,0 --RGB_Color
set the backgroundcolor of it to 0,255,0 --RGB_Color
set the linesize of it to 2
show it
I got a white rect with a red edge. Why?


I'm not sure, because the "foregroundcolor" controls the text
color, not the border. If this wasn't a typo, then set the
"bordercolor" instead.

Also, do the opaque thing like others have suggested.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | http://www.hyperactivesw.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




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.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


___
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: Need help opening a Macintosh Hypercard addess stack on a Windows PC with revolution

2005-11-28 Thread Jan Schenkel
--- [EMAIL PROTECTED] wrote:
> [snip]
> 
>If, on the other hand, you're getting "hey, I
> can't even READ this 
> file!"-type errors, there may be something odd about
> the HC stack. I would suggest 
> that you open it up in HC, compact it three times,
> and *then* try opening it in 
> Rev. The reason for triple-compaction: I am given to
> understand that there are 
> some things HC doesn't do to a stack the first time,
> which it does on the 
> second & third times.
> 

If my memory isn't playing tricks on me, I think
you'll have to binhex the stack after compacting it,
before you transfer it to a Windows machine --
otherwise some bytes might not come through correctly.
You can then open this binhexed file directly from
Rev, it will recognize it and convert it -- and it
will even convert some of the resources.
Hee, I may have the memory of a goldfish, but
sometimes it digs up information that could be useful:


Hope this helped,

Jan Schenkel.

Quartam - Tools for Revolution


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



__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
___
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 and User Accounts

2005-11-28 Thread Charles Hartman


On Nov 28, 2005, at 12:54 AM, Jeanne A. E. DeVoto wrote:
Both DC and Rev Player use the same creator code, so it may be  
that OS X thinks they are duplicate apps.


Been zilla'd: .


But it's still marked "Unconfirmed"?

Charles Hartman

___
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: Need help opening a Macintosh Hypercard addess stack on a Windows PC with revolution

2005-11-28 Thread Cubist
sez Debbie Segal <[EMAIL PROTECTED]>:
>I downloaded Revolution because i was told it would be able to open my
>Macintosh formatted hypercard address stack on  my Windows PC. I tried
>to open the stack using the File open stack command, but it did not see
>the stack in that window, so i changed the view to all files. Then it 
>saw the stack, but when it tried to open it, i got a bunch of errors. I
>think I need to change the extension on the Hypercard stack file to a 
>Revolution extension, but I don't know what that is. If this is not the
>answer, can anyone tell me how to get Revolution to read my Hypercard 
>stack. It is saved on my PC's hard drive.
   As has been pointed out by others, Rev can *read* HC stacks just fine. 
HyperTalk and Transcript (the respective languages of HC and Rev) are similar 
enough that many bits of HyperTalk code will just work -- but *other* bits of 
HyperTalk code won't work, and will need to be fixed by a human being. So if 
the 
errors you're getting are "hey, this code doesn't work!"-type errors, this is 
only to be expected. Hopefully, any "this code doesn't work"-type errors 
contain enough clues that you can figure out *why* Rev doesn't like that 
particular 
bit of code, and fix the problem.
   If, on the other hand, you're getting "hey, I can't even READ this 
file!"-type errors, there may be something odd about the HC stack. I would 
suggest 
that you open it up in HC, compact it three times, and *then* try opening it in 
Rev. The reason for triple-compaction: I am given to understand that there are 
some things HC doesn't do to a stack the first time, which it does on the 
second & third times.

   Hope this helps...
___
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


Stuffing ROM

2005-11-28 Thread Frank R
> Jean-Louis Gassee 
   
  You mention a name I haven't thought of in a while.
   
  The group/company I worked with in the early 90's did some interfacing with 
him
  and the Newton group when the first wave of PDA hoopla was happening.  
  Also interfaced with MS at the time, on their First Generation PDA OS.
   
  Unfortunately, Nobody made any money, and lots of plans never saw the light 
of day.

  There were many discussions those days about things that have finally 
happened:
  - Stuffing TCP stacks into ROM
  - Stuffing good voice reco into ROM
   
  Those were really interesting times for me.
   
  Frank
  
  
Dan Shafer <[EMAIL PROTECTED]> wrote:
  There was at one point inside Apple a very serious discussion about 
adding a TCP stack to HyperCard and stuffing it into the ROM. This 
was a year or more before the Internet exploded. The guy who promoted 
the idea got show down by Jean-Louis Gassee and left the company. 
Just imagine


On Nov 28, 2005, at 12:13 AM, Dom wrote:

> wonder why Apple didn't make Hypertalk system-wide
> (apart reinventing the wheel...)



~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.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
  

___
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: Following this List

2005-11-28 Thread Eric Chatonet

Hi Frank,

Many ways:

Google:
http://www.google.com/advanced_search?q=site:lists.runrev.com

Gmane:
http://search.gmane.org/search.php?group=gmane.comp.ide.revolution.user
http://news.gmane.org/gmane.comp.ide.revolution.user/ organised by  
threads


Mail Archive:
http://www.mail-archive.com/use-revolution@lists.runrev.com/ 
maillist.html organised by date
http://www.mail-archive.com/use-revolution@lists.runrev.com/ 
index.html organised by threads


And "Resources Picker", a plugin you will fin on my website that  
allows you to choose any method and much more :-)


Le 28 nov. 05 à 22:29, Frank R a écrit :

I want to keep following this list.  But, my inbox is getting  
blasted pretty good.
  Are there any other options for following this list, other than e- 
mail?  Is this

  shadowed to a forum anywhere? Thanks.


Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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: Following this List

2005-11-28 Thread Sarah Reichelt
On 11/29/05, Frank R <[EMAIL PROTECTED]> wrote:
> I want to keep following this list.  But, my inbox is getting blasted pretty 
> good.
>   Are there any other options for following this list, other than e-mail?  Is 
> this
>   shadowed to a forum anywhere? Thanks.

You can always read it on the archives:


However my current preference is to read is using gmail. The threading
of the different topics works really well and I can get to it wherever
I am. If you or anyone else wants an invitation to gmail, just let me
know.

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


Following this List

2005-11-28 Thread Frank R
I want to keep following this list.  But, my inbox is getting blasted pretty 
good.
  Are there any other options for following this list, other than e-mail?  Is 
this
  shadowed to a forum anywhere? Thanks.
   
  _

Dan Shafer <[EMAIL PROTECTED]> wrote:
  Jacque...

Um, actually, foregroundcolor controls both text and border color. 
bordercolor only works on buttons and scrollbars according to the docs.


On Nov 28, 2005, at 1:01 PM, J. Landman Gay wrote:

> R. Hillen wrote:
>> Hello list,
>> I wanted to make a green rect with a red edge, so I wrote
>> create invisible graphic
>> set the style of it to rectangle
>> set the rect of it to 20,20,50,50
>> set the foregroundcolor of it to 255,0,0 --RGB_Color
>> set the backgroundcolor of it to 0,255,0 --RGB_Color
>> set the linesize of it to 2
>> show it
>> I got a white rect with a red edge. Why?
>
> I'm not sure, because the "foregroundcolor" controls the text 
> color, not the border. If this wasn't a typo, then set the 
> "bordercolor" instead.
>
> Also, do the opaque thing like others have suggested.
>
> -- 
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software | http://www.hyperactivesw.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



~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.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
  

___
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: How to check what card a stack is currently viewing

2005-11-28 Thread Eric Chatonet

Hi Dan,

Le 28 nov. 05 à 21:55, Dan Shafer a écrit :


Good one, Eric!

I didn't even try that because the docs seem clearly to limit  
"this" to the current card/stack.


Thanks.
Additional thought:
I agree completely with your "I always like to pair those  
commands" (about lock and unlock screen in the same handler):
Many times I noticed (on Mac OS but not on Windows) that forcing  
unlock screen seemed to refresh the screen faster and then provide a  
better "reactivity" from the user point of view. I always use it even  
if the docs say it's not necessary.


Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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: No backgroundcolor

2005-11-28 Thread Dan Shafer

Jacque...

Um, actually, foregroundcolor controls both text and border color.  
bordercolor only works on buttons and scrollbars according to the docs.



On Nov 28, 2005, at 1:01 PM, J. Landman Gay wrote:


R. Hillen wrote:

Hello list,
I wanted to make a green rect with a red edge, so I wrote
  create invisible graphic
  set the style of it to rectangle
  set the rect of it to 20,20,50,50
  set the foregroundcolor of it to 255,0,0 --RGB_Color
  set the backgroundcolor of it to 0,255,0 --RGB_Color
  set the linesize of it to 2
  show it
I got a white rect with a red edge. Why?


I'm not sure, because the "foregroundcolor" controls the text  
color, not the border. If this wasn't a typo, then set the  
"bordercolor" instead.


Also, do the opaque thing like others have suggested.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.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


Re: Stack resizing on Mac 800x600

2005-11-28 Thread Sarah Reichelt
On 11/29/05, Peter T. Evensen <[EMAIL PROTECTED]> wrote:
> I hope someone knows the quick answer to this.  I have a stack without a
> title bar that is 800x600.  If I switch the Mac to 800x600 screen
> resolution, the stack is resized to less than 800x600.  It is more than for
> the size of the menu bar, and the stack is also resized horizontally.
>
> Is there some way to prevent this resizing?

Your stack is being resized to fit into the windowBoundingRect, so I
would use something like this:

set the windowBoundingRect to the screenRect
set the width of this stack to 800
set the height of this stack to 600
set the loc of this stack to the screenLoc

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


Re: DLL usage in RunRev

2005-11-28 Thread Alessandro Manotti
Sorry Mark, but in my company I already use Delphi to create DLLs
(using "cdecl" option for parameters passing)   ;-)

I don't know if I can use Delphi to create dll specific for RunRev,
but Delphi can create dll for windows (and, of course, I can read/use
every dll).
Some problems occurred in older Delphi versions (more about ocx).

But now the situation seems ok.




On 11/28/05, Mark Wieder <[EMAIL PROTECTED]> wrote:
> Alessandro-
>
> Monday, November 28, 2005, 8:01:14 AM, you wrote:
>
> > It worked, but only RunRev dlls (sure compiled with RunRev toolkit).
> > I currently work in Delphi (but I know other "low-level" programming
> > languages) and I not yet understand why RunRev makes the difference
> > between RunRev-DLL and Non-RunRev DLLs.
>
> I doubt you'll be able to create compatible DLLs using Delphi. I know
> you can't do it using Borland's C++ compilers. I wish it were
> otherwise, but it's a limitation in Borland's linker. You can't get
> the right combination of options to create a DLL that is recognized by
> the engine..
>
> > Basically, the dll has a unique structure; the only difference is
> > parameters passing using stack (from left to right: pascal-style;
> > right-to-left: C-style).
>
> There are other differences as well. You need to be able to export
> items in Mixed Case and without a leading underscore. You need to be
> able to specify that the calling routine (not the called one) has the
> responsibility for cleaning up the stack after the call.
>
> --
> -Mark Wieder
>  [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


Re: How to check what card a stack is currently viewing

2005-11-28 Thread Chipp Walters

Easier to read might be,


  put the name of the current card of stack "fred" into tName


Dan Shafer wrote:
Those who have already answered have told you how to check for the  
current card in the stack in which the handler is executing. But I  had 
a feeling you were trying to check the current card showing in a  stack 
*other* than the current stack.


If that's the case, the secret is to temporarily make the other stack  
the current stack. There are several ways to do this. The simplest  one 
I could come up with off the top of my head looks something like  this:


on mouseUp
  lock screen
  push this card
  go stack "otherStack"
  put the name of this card into foo
  unlock screen
  pop card
  answer foo
end mouseUp

The "unlock screen" isn't strictly speaking necessary but I always  like 
to pair those commands in the same handler just to make my code  more 
readable later.



On Nov 28, 2005, at 9:43 AM, Jason - Polydiam Industries Limited wrote:


How do I currently check what card a stack is displaying?






~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
 From http://www.shafermediastore.com/tech_main.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




--
--
Chipp Walters
www.altuit.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: How to check what card a stack is currently viewing

2005-11-28 Thread Eric Chatonet

Hi Dan,

Le 28 nov. 05 à 21:55, Dan Shafer a écrit :


Good one, Eric!

I didn't even try that because the docs seem clearly to limit  
"this" to the current card/stack.


Thanks.
Additional thought:
I agree completely with your "I always like to pair those  
commands" (about lock and unlock screen in the same handler):
Many times I noticed (on Mac OS but not on Windows) that forcing  
unlock screen seemed to refresh the screen faster and then provide a  
better "reactivity" from the user point of view. I always use it even  
if the docs say it's not necessary.


Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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 and User Accounts

2005-11-28 Thread Jeanne A. E. DeVoto

At 8:19 PM -0800 11/27/2005, Richard Gaskin wrote:

J. Landman Gay wrote:
Both DC and Rev Player use the same creator code, so it may be that 
OS X thinks they are duplicate apps.


Is there a benefit to having those apps use duplicate creator codes, 
or should we Bugzilla that?


Been zilla'd: .
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.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: No backgroundcolor

2005-11-28 Thread J. Landman Gay

R. Hillen wrote:

Hello list,

I wanted to make a green rect with a red edge, so I wrote

  create invisible graphic
  set the style of it to rectangle
  set the rect of it to 20,20,50,50
  set the foregroundcolor of it to 255,0,0 --RGB_Color
  set the backgroundcolor of it to 0,255,0 --RGB_Color
  set the linesize of it to 2
  show it

I got a white rect with a red edge. Why?


I'm not sure, because the "foregroundcolor" controls the text color, not 
the border. If this wasn't a typo, then set the "bordercolor" instead.


Also, do the opaque thing like others have suggested.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: How to check what card a stack is currently viewing

2005-11-28 Thread Dan Shafer

Good one, Eric!

I didn't even try that because the docs seem clearly to limit "this"  
to the current card/stack.



On Nov 28, 2005, at 12:41 PM, Eric Chatonet wrote:

if the short name of this cd of stack "blahblah" is   
then do blah




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.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


Re: No backgroundcolor

2005-11-28 Thread Dan Shafer
You need to set the opaque of the graphic to true before the  
background color displays.


It appears that newly created graphics are by default transparent.

set the opaque of it to true

before you show it and it should work.

On Nov 28, 2005, at 11:50 AM, R. Hillen wrote:


Hello list,

I wanted to make a green rect with a red edge, so I wrote

  create invisible graphic
  set the style of it to rectangle
  set the rect of it to 20,20,50,50
  set the foregroundcolor of it to 255,0,0 --RGB_Color
  set the backgroundcolor of it to 0,255,0 --RGB_Color
  set the linesize of it to 2
  show it

I got a white rect with a red edge. Why?

May  you help?

Richard.
___
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




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.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


Re: Need help opening a Macintosh Hypercard addess stack on a Windows PC with revolution

2005-11-28 Thread J. Landman Gay

kee nethery wrote:
Wonder if it would make sense for the runrev team to translate that  
specific HC stack (assuming they are using the one that was provided  by 
Apple) and to build a hypercard based exporter/importer (in case  they 
added some fields or buttons to the Apple stack). She could run  the 
exporter and have it dump the data to a text file, and then the  runrev 
equivalent could import that text file and add additional  buttons or 
fields as needed. Just a thought.


Good thought, but probably not workable, unfortunately. The problem 
isn't really the objects or the data, both of which convert very well 
automatically. The native importer that already exists does a fantastic 
job, it is really quite impressive.


What generally needs tweaking is almost always script-related. The most 
common things that need human attention include:


1. Menus. HyperCard menus are scripted. Rev menus are objects. Menu 
handlers must be rewritten manually and a menubar has to be created and 
assigned. I suppose some kind of conversion could be done automatically 
but it would be very difficult, as scripters tend to write their HC menu 
scripts in all sorts of different ways (and HC allows several alternate 
kinds of syntax.)


2. Calls to XCMDs/XFCNs. These don't generally convert over, so 
externals are omitted from the import. In most cases HC externals can be 
scripted using native Rev commands and no externals are needed at all. 
Because there are thousands of HC externals in use, automatic scripts 
are impossible. Calls to externals always throw errors. The most common 
trouble-making external is AddColor. All addColor calls have to be 
replaced by Rev color scripting, and/or all stack objects have to be 
recolored using native Rev color properties.


3. Unquoted literals. HC allows them, Rev usually doesn't. The only 
solution is to go through the scripts, find the literals, and add quote 
marks around them. Again, not easily done via an auto-converter because 
it is impossible to tell which words are intended as literals and which 
are intended to be variable names. (Unquoted literals are very poor 
programming technique, but unfortunately they are common in HC stacks. 
HC was pretty lax about it.)


4. Rev keywords used as variable names. Again, probably impossible to 
automate. Rev has three or four times as many keywords as HC, and in 
addition, HC allows its own keywords to be used as variable names. It is 
common to see syntax like:


  put the name of this cd into name
  put the short date into date

This causes Rev to complain, but HC allows it. Only a human can figure 
out which words in a script should be variables and which are language 
keywords. Those that should be variables need to be changed in every 
instance throughout the stack.


There are a few other things the seize up too, but in general I think 
all the automatic stuff has already been addressed very well and what is 
left needs to be looked at by a human.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: How to check what card a stack is currently viewing

2005-11-28 Thread Eric Chatonet

Hi Jason,

You don't need to go to any card in another stack in order to know that:

if the short name of this cd of stack "blahblah" is  then  
do blah


Hope this helps.

Le 28 nov. 05 à 18:43, Jason - Polydiam Industries Limited a écrit :


I want to perform an if statement
Something like:

If stack "blahblah" is on card 1
Then do blah

How do I currently check what card a stack is displaying?


Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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: How to check what card a stack is currently viewing

2005-11-28 Thread Dan Shafer
Those who have already answered have told you how to check for the  
current card in the stack in which the handler is executing. But I  
had a feeling you were trying to check the current card showing in a  
stack *other* than the current stack.


If that's the case, the secret is to temporarily make the other stack  
the current stack. There are several ways to do this. The simplest  
one I could come up with off the top of my head looks something like  
this:


on mouseUp
  lock screen
  push this card
  go stack "otherStack"
  put the name of this card into foo
  unlock screen
  pop card
  answer foo
end mouseUp

The "unlock screen" isn't strictly speaking necessary but I always  
like to pair those commands in the same handler just to make my code  
more readable later.



On Nov 28, 2005, at 9:43 AM, Jason - Polydiam Industries Limited wrote:


How do I currently check what card a stack is displaying?





~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.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


Re: No backgroundcolor

2005-11-28 Thread Ken Ray
On 11/28/05 1:50 PM, "R. Hillen" <[EMAIL PROTECTED]> wrote:

> Hello list,
> 
> I wanted to make a green rect with a red edge, so I wrote
> 
>create invisible graphic
>set the style of it to rectangle
>set the rect of it to 20,20,50,50
>set the foregroundcolor of it to 255,0,0 --RGB_Color
>set the backgroundcolor of it to 0,255,0 --RGB_Color
>set the linesize of it to 2
>show it
> 
> I got a white rect with a red edge. Why?

Because the graphic's "opaque" property was false. Set it to true and you'll
see the green fill.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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


Re: This is what REALLY SUCKS about whingeing

2005-11-28 Thread Dan Shafer
That could be said about every development tool and language I've  
ever used!


On Nov 28, 2005, at 5:39 AM, David Burgun wrote:


When it's good it's very good,
But When it's bad it's - WICKED!!!




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.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


Re: Constant 'Nonsense' about RR documentation

2005-11-28 Thread Dan Shafer
There was at one point inside Apple a very serious discussion about  
adding a TCP stack to HyperCard and stuffing it into the ROM. This  
was a year or more before the Internet exploded. The guy who promoted  
the idea got show down by Jean-Louis Gassee and left the company.  
Just imagine



On Nov 28, 2005, at 12:13 AM, Dom wrote:


wonder why Apple didn't make Hypertalk system-wide
(apart reinventing the wheel...)




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.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


No backgroundcolor

2005-11-28 Thread R. Hillen

Hello list,

I wanted to make a green rect with a red edge, so I wrote

  create invisible graphic
  set the style of it to rectangle
  set the rect of it to 20,20,50,50
  set the foregroundcolor of it to 255,0,0 --RGB_Color
  set the backgroundcolor of it to 0,255,0 --RGB_Color
  set the linesize of it to 2
  show it

I got a white rect with a red edge. Why?

May  you help?

Richard.
___
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: Need help opening a Macintosh Hypercard addess stack on a Windows PC with revolution

2005-11-28 Thread kee nethery
Wonder if it would make sense for the runrev team to translate that  
specific HC stack (assuming they are using the one that was provided  
by Apple) and to build a hypercard based exporter/importer (in case  
they added some fields or buttons to the Apple stack). She could run  
the exporter and have it dump the data to a text file, and then the  
runrev equivalent could import that text file and add additional  
buttons or fields as needed. Just a thought.

Kee Nethery

On Nov 28, 2005, at 10:52 AM, J. Landman Gay wrote:
I've answered Debbie in tech support, but basically I think her  
problem is quite normal. HC stacks usually generate a number of  
errors unless their scripts have been tweaked to accomodate the  
differences in the two languages. I sent her a link to my  
conversion tutorial, which discusses almost all the usual  
conversion issues.


___
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: Problem with correct cursor showing up

2005-11-28 Thread J. Landman Gay

[EMAIL PROTECTED] wrote:
Hope someone can help with the following problem.   I want to program a 
button so that the cursor changes to "hand" on MouseEnter and changes back to 
"Arrow" on mouseLeave.   I inserted the following script (using Macintosh OS X 
Panther):


on MouseEnter
  set the cursor to hand
  set the lockcursor to true
end MouseEnter

on mouseLeave
  set the cursor to arrow
end mouseLeave

While this works in the unbuilt program, once it is built the cursor show up 
as "Watch" rather than "Hand"   on both Macintosh and   Windows.   Anyone have 
a suggestion?   Thanks.


RR has changed the cursor IDs a couple of times and I've lost track of 
what's what. In the most current version, the cursor ID for "hand" is 
28. What happens if instead of using the constant "hand" you use the 
actual ID of 28? That is, "set the cursor to 28".


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: How to check what card a stack is currently viewing

2005-11-28 Thread Jim Ault
On 11/28/05 9:43 AM, "Jason - Polydiam Industries Limited"
<[EMAIL PROTECTED]> wrote:
> How do I currently check what card a stack is displaying?

if the number of the card of this stack is 1 then
--or
if the number of the card of stack "Not-In-Front" is 1 then

These are some of the various levels of access/get

--access current card, current stack
get the number of this card --assumes "this stack"
get the number of this card of this stack

get the id of this card --assumes "this stack"
get the id of this card of this stack
get the id of this card of stack "Showcase Functions"
-- does not have to be the active stack

get the Name of this stack
-- what you see in the stack inspector
--stack "Showcase Functions" (which could be a main or sub stack)

get the Filename of this stack
-- what you see on the hard drive
--which can *contain* a main stack and several sub stacks

--TO OPEN stacks that are on the hard drive but not open yet
go stack URL "/Users/myLogin/Documents/testStk.rev"
--which means 'go stack located at '
--I think 'located at' should be part of Transcipt

--access card or fields in stacks that are NOT OPEN
get the name of card 1 of stack "Main Stack" of stack URL
"/Users/myLogin/Documents/testStk.rev"

--unopened stack   get the values or properties
get line 2 of fld "shoppingList" of card "Tuesday" of stack "To Do list" of
stack URL "/Users/myLogin/Documents/MyDigitalWorld.rev"

--unopened stack  change the field contents WITHOUT opening
PUT "fred" into fld 1 of card 1 of stack "Friends" of stack URL
"/Users/myLogin/Documents/Contacts.rev"


Jim Ault
Las Vegas

On 11/28/05 9:43 AM, "Jason - Polydiam Industries Limited"
<[EMAIL PROTECTED]> wrote:

> I want to perform an if statement
> 
>  
> 
> Something like:
> 
>  
> 
> If stack "blahblah" is on card 1
> 
> Then do blah
> 
>  
> 
> How do I currently check what card a stack is displaying?
> 
> Regards
> 
> Jason
> 
> ___
> 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: This is what REALLY SUCKS about RunRev! - was Menubar Help

2005-11-28 Thread J. Landman Gay

David Burgun wrote:
  Someone else wrote:
This simply isn't true. It is possible for a group to exist in a stack 
_without_ being on any card in that stack. The above method will 
create such a stack/group. As Jacque pointed out, if there are more 
than one card in a stack and you delete the last card containing a 
group, that will also leave you with a stack containing backgrounds 
that are not on any card.



Where in the documentation does it tell you this?


In the documentation, click the "Topics" button. Click the main heading 
for "Groups and backgrounds". Read it. Here is an excerpt:


== begin excerpt: ==

Removing a group from every card in the stack does not remove it from 
the stack:  it is still part of the stack and can still be placed on 
cards. You can also use the start editing command to edit the group. 
(Since the group is not on any card, you must refer to it using the term 
"background" instead of the term "group".)


To delete a group completely from the stack, use the delete command, or 
select the group and choose Edit menu Clear. Deleting the group removes 
it from all the cards it appears on, and from the stack itself.


== end excerpt ==

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Small Print Problem

2005-11-28 Thread Robert Presender

Jacque, thank you for your reply.  Will try your suggestion.
Regards ... Bob

On Nov 27, 2005, at 6:56 PM, Jacque wrote:


Robert Presender wrote:


The first page prints fine. Using .88 as printScale, the textsize of
ListField is
 between 9 and 10.  Subsequent pages,  containing  only the text of
ListField,
use revPrintText but the printed text size is the initial size of 10.

Since I don't know how to emulate a printScale in revPrintText,  I
change the
 textSize of ListField to 9.  This works fine but the text appearance 
is

a little smaller
 than the first page. I would like subsequent pages  to be scaled like
the first page.


I think the only way to make sure you really get a good size match is 
to

use the same scale for all pages in the printout. Leave the field font
size alone, and instead, scroll the field via script and print each 
page

sequentially using the same settings. See the "pageHeights" property,
which reports the scroll settings required to print each page of the
field. That's what revPrintText uses, actually.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Daily Comics in RunRev... A Garfield a day keeps thestress away!

2005-11-28 Thread Jerry Muelver

From: "Andre Garzia"


Jerry,

RevOnline is only accesible thru Rev IDE or Dreamcard Player. Launch  Rev 
IDE, there's a menu "development", the first item of this menu is 
RevOnline... ;-)


Cheers
andre


Whoops Nope. I've got Rev 2.2.1, Linux "get acquainted" version, with no 
Rev Online in the Development menu. I guess I'll have to wait until my CFO 
(wife) comes through with the upgrade cost. I need a "persuader". I'll put 
together a Revolution Linux replacement for MS Office and OpenOffice, so she 
can see that I'm serious about this.


 Jerry Muelver 


___
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: Where can I find the error message from an external

2005-11-28 Thread Mark Wieder
Marco-

Saturday, November 26, 2005, 5:32:22 AM, you wrote:

> The C-source inside the external looks like this:

> *pass = False;
> *error = True;

You don't want to do this.
Setting error to true will cause the script to stop executing and
display an error message. That's what you're seeing there.

Instead, set error=True, and return your error message in retstring
the way you're currently doing it. Then on return from your external
call check the value of "the result".

> on mouseUp
>lock error dialogs
>ErrorReturnValueTestCommand 1
 if the result is not empty then
   errorDialog the result
 end if
> end mouseUp

> on errorDialog myError
>put myError into field "errorResultTextField"
> end errorDialog

-- 
-Mark Wieder
 [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


Re: Small Print Problem

2005-11-28 Thread Robert Presender

Thank you for your reply Jacque. Will try your suggestion.
Regards .. Bob

On Nov 27, 2005, at 6:56 PM, Jacque wrote:


Robert Presender wrote:


The first page prints fine. Using .88 as printScale, the textsize of
ListField is
 between 9 and 10.  Subsequent pages,  containing  only the text of
ListField,
use revPrintText but the printed text size is the initial size of 10.

Since I don't know how to emulate a printScale in revPrintText,  I
change the
 textSize of ListField to 9.  This works fine but the text appearance 
is

a little smaller
 than the first page. I would like subsequent pages  to be scaled like
the first page.


I think the only way to make sure you really get a good size match is 
to

use the same scale for all pages in the printout. Leave the field font
size alone, and instead, scroll the field via script and print each 
page

sequentially using the same settings. See the "pageHeights" property,
which reports the scroll settings required to print each page of the
field. That's what revPrintText uses, actually.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: use-revolution Digest, Vol 26, Issue 115

2005-11-28 Thread Jeffrey Reynolds
When i did some full screen stacks w/o a menu bar and title bar at 
800x600 with an 800x600 screen, I had to set the width to 800 and the 
height to 600 (not just do the window size) to correct the window size 
once the title bar and menubar were removed. then set the window 
location to the screenloc to center it. I have just kept doing this in 
rev and never checked if things were changed so that the screenrect 
property is more menubar/titlebar independent. this might be forced 
because of the mac menubar and how it works.


cheers,

jeff


On Nov 28, 2005, at 1:00 PM, [EMAIL PROTECTED] 
wrote:


I hope someone knows the quick answer to this.  I have a stack without 
a

title bar that is 800x600.  If I switch the Mac to 800x600 screen
resolution, the stack is resized to less than 800x600.  It is more 
than for

the size of the menu bar, and the stack is also resized horizontally.

Is there some way to prevent this resizing?


___
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: DLL usage in RunRev

2005-11-28 Thread Mark Wieder
Alessandro-

Monday, November 28, 2005, 8:01:14 AM, you wrote:

> It worked, but only RunRev dlls (sure compiled with RunRev toolkit).
> I currently work in Delphi (but I know other "low-level" programming
> languages) and I not yet understand why RunRev makes the difference
> between RunRev-DLL and Non-RunRev DLLs.

I doubt you'll be able to create compatible DLLs using Delphi. I know
you can't do it using Borland's C++ compilers. I wish it were
otherwise, but it's a limitation in Borland's linker. You can't get
the right combination of options to create a DLL that is recognized by
the engine..

> Basically, the dll has a unique structure; the only difference is
> parameters passing using stack (from left to right: pascal-style;
> right-to-left: C-style).

There are other differences as well. You need to be able to export
items in Mixed Case and without a leading underscore. You need to be
able to specify that the calling routine (not the called one) has the
responsibility for cleaning up the stack after the call.

-- 
-Mark Wieder
 [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


Re: This is what REALLY SUCKS about RunRev! - was Menubar Help

2005-11-28 Thread J. Landman Gay

David Burgun wrote:

I guess what I meant was, the bug was that 
the garbage group got created in the first place, but this situation is 
compounded by not being able to see it easily!


The problem is, randomly-created groups with nonsense names appearing 
out of nowhere have never been reported (to my knowledge) ever in the 
past, all the way back to the original MC engine. If it happened to you, 
then it was a rare enough occurance that either:


1. It can't be reproduced by any common recipe,
2. It wasn't really a bug, but rather something happened you aren't 
aware of.


If you can figure out a recipe then please do submit to Bugzilla. That 
is the only way to track it and find what is happening. But since I 
don't believe this problem has ever been reported before in all the 
engines dating back to the original MetaCard, it will be very difficult 
to diagnose, and it is probably normal to assign the problem to "user 
error" since no one else has ever seen it.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Scope Problem on Standalones

2005-11-28 Thread J. Landman Gay

David Burgun wrote:


set itemDelimiter to :/"
delete item -1 of myStackFIlePath


ItemDelimiters are limited to a single character. I haven't a clue why 
this should work in the IDE, but it shouldn't. Also, you have omitted 
"the" which in this case isn't strictly necessary but will improve 
engine performance, and  which may fail to work in future versions if it 
is omitted.


What you want is:

   set the itemDelimiter to "/"

or alternately, since it is a built-in constant, you can use:

   set the itemDelimiter to slash



So, it looks like simple delete and put statements are not working

> in a standalone!


The "put" and "delete" commands work fine in standalones, unless you are 
putting stuff into the message box, which doesn't exist there.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Need help opening a Macintosh Hypercard addess stack on a Windows PC with revolution

2005-11-28 Thread J. Landman Gay

Bill wrote:

Debbie:

I'm sure everyone on the list thought someone else would answer your email.
I am on a Mac platform and only use windows in an emulator but I think I can
answer your question. I believe you need to send that hypercard stack to
someone who has runrev on a mac platform and have them convert it to runrev
first before you can access it with your windows version of runrev. I don't
think the windows version can open a hypercard stack directly.

But maybe someone who uses windows can correct me?


Okay. :) Yes, if the stack is copied to the PC as a binary file (not a 
text file) then Rev can open it directly.


I've answered Debbie in tech support, but basically I think her problem 
is quite normal. HC stacks usually generate a number of errors unless 
their scripts have been tweaked to accomodate the differences in the two 
languages. I sent her a link to my conversion tutorial, which discusses 
almost all the usual conversion issues.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Daily Comics in RunRev... A Garfield a day keeps the stress away!

2005-11-28 Thread Jerry Muelver
Thanks, Andre, Jim, Ken. Things have changed a bit since my 1998 
MetaCard days, and this old dog is working hard at learning all the new 
tricks.


 Jerry Muelver 


___
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: How to check what card a stack is currently viewing

2005-11-28 Thread Yves COPPE


Le 28 nov. 05 à 18:43, Jason - Polydiam Industries Limited a écrit :


I want to perform an if statement



Something like:



If stack "blahblah" is on card 1

Then do blah



How do I currently check what card a stack is displaying?



if this cd is  then


Greetings.

Yves COPPE
[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


Re: Need help opening a Macintosh Hypercard addess stack on a Windows PC with revolution

2005-11-28 Thread Ken Ray
On 11/28/05 9:36 AM, "Bill" <[EMAIL PROTECTED]> wrote:

> Debbie:
>> I downloaded Revolution because i was told it would be able to open my
>> Macintosh formatted hypercard address stack on  my Windows PC. I tried
>> to open the stack using the File open stack command, but it did not see
>> the stack in that window, so i changed the view to all files. Then it
>> saw the stack, but when it tried to open it, i got a bunch of errors.
> 
> I'm sure everyone on the list thought someone else would answer your email.
> I am on a Mac platform and only use windows in an emulator but I think I can
> answer your question. I believe you need to send that hypercard stack to
> someone who has runrev on a mac platform and have them convert it to runrev
> first before you can access it with your windows version of runrev. I don't
> think the windows version can open a hypercard stack directly.
>
Actually, it can (as Debbie mentioned in her post), but I think the errors
you're getting are script errors related to unsupported HyperTalk that is
trying to be executed. Keep in mind that although the *file format* of a
HyperCard stack and be translated to a Revolution *file format*, the scripts
need to be hand-tweaked to work in Rev. For example, if you do "addColor" in
HyperCard, Rev has no idea what that means and will throw an error.

I would suggest locking messages (click the Messages icon with the lock in
the toolbar) and *then* open your HC stack. It should open without running
any of the code. You can then adjust the scripts of your converted stack so
that you stop getting script errors.

The Revolution extension is .rev, but that will only keep you from having to
choose "all files" to see the HC stack; it doesn't affect how Rev actually
converts and runs the HC stack.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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


How to check what card a stack is currently viewing

2005-11-28 Thread Jason - Polydiam Industries Limited
I want to perform an if statement

 

Something like:

 

If stack "blahblah" is on card 1 

Then do blah

 

How do I currently check what card a stack is displaying?

Regards

Jason

___
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: Daily Comics in RunRev... A Garfield a day keeps the stress away!

2005-11-28 Thread Ken Ray
On 11/28/05 11:30 AM, "Jerry Muelver" <[EMAIL PROTECTED]> wrote:

> From: "Ton Kuypers"
> Subject: Daily Comics in RunRev... A Garfield a day keeps the stress away!
> 
> 
> 
>> That's why I've just uploaded a small stack to RevOnline under
>> "General" or at the user "DMP".
>> 
> 
> Where IS "RevOnline"? Google is no help.

It's inside Revolution - Click the RevOnline button in the toolbar...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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


Re: Daily Comics in RunRev... A Garfield a day keeps the stress away!

2005-11-28 Thread Jim Ault
It is a stack in your Rev folder
Applications/Revolution 2.6.1/components/global environment/revonline.rev
In Rev preferences, you can change a check box to have Rev open this every
time you launch Rev.

Jim Ault
Las Vegas

On 11/28/05 9:30 AM, "Jerry Muelver" <[EMAIL PROTECTED]> wrote:

> From: "Ton Kuypers"
> Subject: Daily Comics in RunRev... A Garfield a day keeps the stress away!
> 
> 
> 
>> That's why I've just uploaded a small stack to RevOnline under
>> "General" or at the user "DMP".
>> 
> 
> Where IS "RevOnline"? Google is no help.
> 
>  Jerry Muelver
> ___
> 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: Daily Comics in RunRev... A Garfield a day keeps the stress away!

2005-11-28 Thread Andre Garzia


On Nov 28, 2005, at 3:30 PM, Jerry Muelver wrote:

From: "Ton Kuypers" Subject: Daily Comics in RunRev... A Garfield a  
day keeps the stress away!




That's why I've just uploaded a small stack to RevOnline under   
"General" or at the user "DMP".


Where IS "RevOnline"? Google is no help.


Jerry,

RevOnline is only accesible thru Rev IDE or Dreamcard Player. Launch  
Rev IDE, there's a menu "development", the first item of this menu is  
RevOnline... ;-)


Cheers
andre





 Jerry Muelver
___
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: Daily Comics in RunRev... A Garfield a day keeps the stress away!

2005-11-28 Thread Jerry Muelver
From: "Ton Kuypers" 
Subject: Daily Comics in RunRev... A Garfield a day keeps the stress away!




That's why I've just uploaded a small stack to RevOnline under  
"General" or at the user "DMP".




Where IS "RevOnline"? Google is no help.

 Jerry Muelver
___
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


Stack resizing on Mac 800x600

2005-11-28 Thread Peter T. Evensen
I hope someone knows the quick answer to this.  I have a stack without a 
title bar that is 800x600.  If I switch the Mac to 800x600 screen 
resolution, the stack is resized to less than 800x600.  It is more than for 
the size of the menu bar, and the stack is also resized horizontally.


Is there some way to prevent this resizing?

Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 


___
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: Need help opening a Macintosh Hypercard addess stack on a Windows PC with revolution

2005-11-28 Thread Bill
I just re-read your email and thought of something else. What did you mean
by "a bunch of errors"?  Maybe your runrev on windows is reading the
hypercard stack. When you convert a hypercard stack to runrev there will be
a number of things you have to change. For example the way hypercard does
menus is completely different then the way runrev does menus. Perhaps you
could tell me what the errors were?


On 11/28/05 11:36 AM, "Bill" <[EMAIL PROTECTED]> wrote:

> Debbie:
> 
> I'm sure everyone on the list thought someone else would answer your email.
> I am on a Mac platform and only use windows in an emulator but I think I can
> answer your question. I believe you need to send that hypercard stack to
> someone who has runrev on a mac platform and have them convert it to runrev
> first before you can access it with your windows version of runrev. I don't
> think the windows version can open a hypercard stack directly.
> 
> But maybe someone who uses windows can correct me?
> 
> Bill
> 
> 
> On 11/26/05 4:04 PM, "Debbie Segal" <[EMAIL PROTECTED]> wrote:
> 
>> I downloaded Revolution because i was told it would be able to open my
>> Macintosh formatted hypercard address stack on  my Windows PC. I tried
>> to open the stack using the File open stack command, but it did not see
>> the stack in that window, so i changed the view to all files. Then it
>> saw the stack, but when it tried to open it, i got a bunch of errors. I
>> think I need to change the extension on the Hypercard stack file to a
>> Revolution extension, but I don't know what that is. If this is not the
>> answer, can anyone tell me how to get Revolution to read my Hypercard
>> stack. It is saved on my PC's hard drive. Thanks,
>> 
>> Debbie
>> ___
>> 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
> 
> |||
>)_)  )_)  )_)
>   )___))___))___)\
>  )))_)\\
>_|||\\\__
> ---\   /- http://www.bluewatermaritime.com
>  ^ ^
>      ^^^^^
>  ^^^
> 
> 24 hour cell: (787) 378-6190
> fax: (787) 809-8426
> 
> Blue Water Maritime
> P.O. Box 91
> Puerto Real, PR 00740
> 
> 
> 
> ___
> 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

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



___
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: DLL usage in RunRev

2005-11-28 Thread Ken Ray
On 11/28/05 10:01 AM, "Alessandro Manotti" <[EMAIL PROTECTED]> wrote:

> It worked, but only RunRev dlls (sure compiled with RunRev toolkit).
> I currently work in Delphi (but I know other "low-level" programming
> languages) and I not yet understand why RunRev makes the difference
> between RunRev-DLL and Non-RunRev DLLs.
> 
> Basically, the dll has a unique structure; the only difference is
> parameters passing using stack (from left to right: pascal-style;
> right-to-left: C-style).

Well, Rev DLLs have a special header that must be compiled into the
external, which I assume is expected by the Revolution engine when it goes
to load it. Personally, I'd *love* to see Rev use normal DLLs so the
workaround wouldn't be necessary, but until that happens at least there's a
way to do it.

> However... I will use this proxy-like system, using VBS (great example!).

Thanks!


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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


Re: Scope Problem on Standalones

2005-11-28 Thread Rob Cozens

Hi David,

If the line below:


set itemDelimiter to :/"


is in your code as written, as opposed to

set the itemDelimiter to "/"

that is where your problem lies.

Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy

"We love our freedom to move about the oceans surface
where no streets, signs, or fences impede us,
yet our sense that no one owns this vast realm
has allowed us to tolerate no one caring for it."

-- Pew Oceans Commission, "America's Living Oceans", 2003 


___
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: Daily Comics in RunRev... A Garfield a day keeps the stress away!

2005-11-28 Thread Ken Ray
On 11/28/05 8:23 AM, "Ton Kuypers" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Live is not all about business, sometimes you should do something
> crazy with Revolution as well :-)
> 
> That's why I've just uploaded a small stack to RevOnline under
> "General" or at the user "DMP".

That's great, Ton! Cool stuff...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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


Re: DLL usage in RunRev

2005-11-28 Thread Alessandro Manotti
Thank you Ken for your support.

I discovered I forgot to insert a "the" in front of "externals"   :-(

It worked, but only RunRev dlls (sure compiled with RunRev toolkit).
I currently work in Delphi (but I know other "low-level" programming
languages) and I not yet understand why RunRev makes the difference
between RunRev-DLL and Non-RunRev DLLs.

Basically, the dll has a unique structure; the only difference is
parameters passing using stack (from left to right: pascal-style;
right-to-left: C-style).

However... I will use this proxy-like system, using VBS (great example!).

Thank you!




On 11/28/05, Ken Ray <[EMAIL PROTECTED]> wrote:
> On 11/28/05 4:27 AM, "Rishi Viner" <[EMAIL PROTECTED]> wrote:
>
> > Hi Ken,
> >
> > Thanks for the great tip (below). Do you have any links / info / experience 
> > in
> > doing this with Linux .so (shared object) files? I would be interested in
> > doing this with database drivers to isolate myself from version changes. Any
> > help / links appreciated...
>
> Sorry, Rishi... no experience here on Linux .so files; I've only used Linux
> to test and run stacks/apps that didn't need them so I'm not much help here.
>
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: [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


Re: Scope Problem on Standalones

2005-11-28 Thread Dave Cragg


On 28 Nov 2005, at 12:51, David Burgun wrote:


Bu according to the documentation, the path returned should be the  
path to the real application, e.g.


MacOSX/myApp.app/Contents/MacOS/Runtime/Stacks/StackA.rev

Or perhaps:

MacOSX/myApp.app/Contents/MacOS/MyApp (real applicaiton)

Have I got this wrong? I would be really grateful if someone could  
just let me know if:


I don't think you've got it wrong.

As a quick test, I made two stacks "path_tester" and "stackA"

In the card script of "path_tester" I put this script:

on preopenstack
  put empty into field "pathlist"
  put the filename of this stack into tPath
  put tPath into field "pathlist"
  set the itemDel to "/"
  put item 1 to -2 of tPath into tDir
  if there is a stack (tDir & "/" & "stackA.rev") then

toplevel (tDir & "/" & "stackA.rev")
  end if
end preopenstack

I built this into a standalone.

In the card script of stackA, I put this script:

on preopenstack
  if there is a stack "path_tester" then
  put cr & the filename of this stack after field "pathlist" of  
stack "path_tester"

  end if
end preopenstack

I then placed stackA.rev in the Contents/MacOS folder inside the  
standalone.


On running the standalone, I get the following in field "pathlist".

/Users/dave/Documents/RunRevStuff/problem testers/pathtest/ 
path_tester/path_tester.app/Contents/MacOS/path_tester
/Users/dave/Documents/RunRevStuff/problem testers/pathtest/ 
path_tester/path_tester.app/Contents/MacOS/stackA.rev


This is with Rev 2.6.1 on OS X 10.4.3 (but I'm pretty sure it also  
worked this way in earlier versions).


Can you show us the script that is producing the strange result?

Cheers
Dave

___
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: Need help opening a Macintosh Hypercard addess stack on a Windows PC with revolution

2005-11-28 Thread Bill
Debbie:

I'm sure everyone on the list thought someone else would answer your email.
I am on a Mac platform and only use windows in an emulator but I think I can
answer your question. I believe you need to send that hypercard stack to
someone who has runrev on a mac platform and have them convert it to runrev
first before you can access it with your windows version of runrev. I don't
think the windows version can open a hypercard stack directly.

But maybe someone who uses windows can correct me?

Bill


On 11/26/05 4:04 PM, "Debbie Segal" <[EMAIL PROTECTED]> wrote:

> I downloaded Revolution because i was told it would be able to open my
> Macintosh formatted hypercard address stack on  my Windows PC. I tried
> to open the stack using the File open stack command, but it did not see
> the stack in that window, so i changed the view to all files. Then it
> saw the stack, but when it tried to open it, i got a bunch of errors. I
> think I need to change the extension on the Hypercard stack file to a
> Revolution extension, but I don't know what that is. If this is not the
> answer, can anyone tell me how to get Revolution to read my Hypercard
> stack. It is saved on my PC's hard drive. Thanks,
> 
> Debbie
> ___
> 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

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



___
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: This is what REALLY SUCKS about whingeing

2005-11-28 Thread Richard Gaskin

David Burgun wrote:
Second that... I've been using Metacard and RunRev now for what...ten 
years? can't remember when I switched from Supercard... in that whole 
time  think I had 4 corrupt stacks. All the work of which (script 
wise) was easily recovered by simply opening the broken stack in 
BBEdit and copying out my scripts.


Well I wish I knew what you were doing differently from me! I have been 
using Rev for about 18 months have had at least 8 corruptions! However, 
I started under MacOS 9 and to be honest I haven't seen many since I 
switched to Mac OS X, In fact just 2 I think.


That's quite some run of unusually bad luck:  that number of corruptions 
exceeds the total number of verified corruptions throughout all other 
users over the last eight years.


Does the engine report them as corrupted or are they merely behaving in 
unexpected ways?


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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


Need help opening a Macintosh Hypercard addess stack on a Windows PC with revolution

2005-11-28 Thread Debbie Segal
I downloaded Revolution because i was told it would be able to open my 
Macintosh formatted hypercard address stack on  my Windows PC. I tried 
to open the stack using the File open stack command, but it did not see 
the stack in that window, so i changed the view to all files. Then it 
saw the stack, but when it tried to open it, i got a bunch of errors. I 
think I need to change the extension on the Hypercard stack file to a 
Revolution extension, but I don't know what that is. If this is not the 
answer, can anyone tell me how to get Revolution to read my Hypercard 
stack. It is saved on my PC's hard drive. Thanks,


Debbie
___
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: Web Plugin for metacard player ( like flash plugin for browsers)

2005-11-28 Thread Steven Fernandez
Many users feel like they know what something is when it is in the
framework of a web page. Its a silly distinction but when you are
trying to roll something out to a group of users being able to say
this is a web page vs. this is a program can really help in making it
easier to get something accepted.

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


Where can I find the error message from an external

2005-11-28 Thread Marco Bönig
I am writing an external and it works fine. But I can not get the error 
message.


The C-source inside the external looks like this:

*pass = False;
*error = True;
*retstring = istrdup ("This is my error message");
return;

In Revolution I programed this:

on mouseUp
  lock error dialogs
  ErrorReturnValueTestCommand 1
end mouseUp

on errorDialog myError
  put myError into field "errorResultTextField"
end errorDialog

But the contents of myError is this, instead of the error text I 
generated inside the external:


573,3,1,ErrorReturnValueTestCommand
241,3,1,mouseUp
353,0,0,button id 1023 of card id 1002 of stack 
"/Users/marco/Desktop/Revolution External/Revolution 
2.6.1/SUSBTest.rev"


How can I get a message from an external when *error=True ?

I am not very familiar with Revolution. I am only writing an external 
for OSX. But after examining the complete mailing archive and the 
revolution Documentaion, I can't find out what's going wrong. It seems 
that I am the only external programmer with this problem.


best regards
Marco

___
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: This is what REALLY SUCKS about RunRev! - was Menubar Help

2005-11-28 Thread David Burgun

On 11/28/05 7:33 AM, "David Burgun" <[EMAIL PROTECTED]> wrote:



 If that isn't a bug *and* a limitation then I'd like to know what you
 would consider a bug!!!


Well, a "bug" is a behavior that is contrary to what the code is supposed to
do in that situation.

So the fact that Rev keeps "internal" groups that have no representation is
not a bug if that was the way it was designed, regardless of whether you
like it or not, or whether the community likes it or not.

The App Browser, since it is written in Rev, displays things for a stack
that are on cards, but doesn't (currently) show any unplaced groups that the
stack possesses. This is why Geoff called it a "limitation" - the App
Browser should probably show this, but just because it doesn't show it
doesn't mean it's a bug either. Remember the definition of a "bug" above -
if the App Browser was *supposed* to show unplaced groups and *didn't*, then
that would be a bug.

However, regardless of whether this is a bug or limitation, I feel something
should be done to address it so that this situation doesn't happen again.

Just my 2 cents,


Ok, I can understand that. I guess what I meant was, the bug was that 
the garbage group got created in the first place, but this situation 
is compounded by not being able to see it easily!


All the Best
Dave
___
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: Scope Problem on Standalones

2005-11-28 Thread David Burgun

Hi David,


Bu according to the documentation, the path returned should be the
path to the real application, e.g.



MacOSX/myApp.app/Contents/MacOS/Runtime/Stacks/StackA.rev
Have I got this wrong?


I think so. My understanding is that the app. is the bundle folder, 
as this is what the user sees as the app.


The thing is that, I could test for that, but what is stranger is that:



Upon further inspection, I found that after :

 function LoadGlobalStacks
 local myStackFIlePathName
  local myStackFIlePath
  local myGlobalStackFilePathName

put the filename of this stack into myStackFIlePathName
put myStackFIlePathName into myStackFIlePath
set itemDelimiter to :/"
delete item -1 of myStackFIlePath
set itemDelimiter to ","

Has been run, myStackFIlePathName is equal to myStackFIlePathName, 
in other words the last item has NOT been deleted! I changed it to:


put empty into item -1 of myStackFIlePath

But this doesn't work either!

I am testing this using answer dialogs since I can't run the 
debugger in the standalone and it works fine in the IDE.


This an additional problem to the filename of the stack being 
inconsistent with the current stack. Why should a simple delete 
statement work under the IDE but not in Standalone mode?


So, it looks like simple delete and put statements are not working in 
a standalone!


Have you tried effective filename to locate the stack?


Yes, tried effective filename too

From the RunRev Online Documentation for file name of stack property:

 Cross-platform note:  On OS X systems, standalone applications are 
stored as application bundles. A bundle behaves like a file but is 
actually a folder, and the main stack of a standalone application is 
inside this folder. The filename of stack property reports the 
location of the application inside the bundle, not the bundle's 
location. For example, if the bundle's file path is 
"/Volumes/Disk/MyApp.app/", the filename of the application's main 
stack might be "/Volumes/Disk/MyApp.app/Contents/MacOS/MyApp".


So, either there is a bug in RunRev or a Bug in the doumentation!

Anyway with *any* ideas of how to track this down however crazy it 
may seem, please do let me know. I have managed to get an extension 
on my deadline til Wednesday, but this just seems completely 
unsoveable at the moment. If you can't tell the folder that the 
current .rev file is running in when in a standalone, then I really 
don't know what to do.


All the Best
Dave
___
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: Re: Scope Problem on Standalones

2005-11-28 Thread Malte Brill

just checked again...


I get the filename of the stack in the bundle for both filename and 
effective filename. So I was wrong with my assumption. :-D


/Users/myUser/Desktop/test/MacOSX/test.app/Contents/MacOS/test

this is on Os X.2.8

All the best,

Malte
___
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: Scope Problem on Standalones

2005-11-28 Thread Malte Brill

Hi David,

>Bu according to the documentation, the path returned should be the
>path to the real application, e.g.

>MacOSX/myApp.app/Contents/MacOS/Runtime/Stacks/StackA.rev
>Have I got this wrong?

I think so. My understanding is that the app. is the bundle folder, as 
this is what the user sees as the app.


Have you tried effective filename to locate the stack?

Cheers,

Malte
--
ArcadeEngine - prepare to WOW your audience within minutes
http://www.runrev.com/section/revselect/arcadeengine
http://www.derbrill.com/arcadeengine/forum 


___
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


Daily Comics in RunRev... A Garfield a day keeps the stress away!

2005-11-28 Thread Ton Kuypers

Hi,

Live is not all about business, sometimes you should do something  
crazy with Revolution as well :-)


That's why I've just uploaded a small stack to RevOnline under  
"General" or at the user "DMP".


It's called "DailyComics" and shows you the daily comic of Garfield,  
Baldo, Broom-Hilda, etc.
I've made it possible to keep your favorites, but you can browse both  
lists.


The only thing missing for me is a way to find out how to get the  
comics of www.comics.com, so I can include the Daily Gilbert as well  
to my favorites.
If anyone can tell me what the logic of the filenames on that website  
could be, I'll update it this stack to include these as well


Enjoy!


Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.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: Where can I find the error message from an external

2005-11-28 Thread Marco Bönig


Am 28.11.2005 um 14:42 schrieb David Burgun:


ExternalCommand x,y,z
put result into myResult


the above results in compiling error:
Function missing '('

The following can compile:
put the result in myResult

But after execution, the error message log window from Revolution opens 
and shows: Execution error Type: Handler: can't find handler


If I set inside my external *error=False I can get a result. But I need 
the result (the error message) if *error=True.


Marco

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