Re: altBrowser + windowshape

2007-01-19 Thread Chipp Walters

Hey, I may be old but I'm not dead yet! Your glowing words wax a premature
eulogy. I've still got a few good years left ;-)
___
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: A Single SetProp?

2007-01-19 Thread Dick Kriesel
On 1/19/07 5:16 PM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:


> wondering if there is a way to trigger a single SetProp structure (that
> contains a switch statement) when setting *any* custom property, or do you
> have to use a separate SetProp structure for *each property* you want to
> monitor.  Something like:
> 
>  setProp anyOfMyProps pValue
>switch anyOfMyProps
> case "propA"
>   doSomeStuff
> break
> case "propB"
>   doOtherStuff
>end switch
>  end anyOfMyProps


Your suggestion is a lot like what you can do for any number of custom
properties all in the same custom property set:

setprop uMyCustomPropertySet[pCustomProperty] pValue
  switch pCustomProperty
case "propA"
  put 1 into tValue
  break
case "propB"
  put 2 into tValue
default
  put 3 into tValue
  end switch
  ask the params & cr & tValue
  set the uMyCustomPropertySet[pCustomProperty] of the target to tValue
end uMyCustomPropertySet[pCustomProperty]

See "setprop" in the dictionary.

-- Dick


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


Re: Altplug-ins demo stacks...

2007-01-19 Thread Bridger Maxwell

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

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

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

  TTFN
  Bridger Maxwell
  Christa McAuliffe Space Education Center

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


I have found bugs using the altfont demo

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

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

Any help would be valued now.. :-)

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



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


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


AltFont External On Intel Mac

2007-01-19 Thread Bridger Maxwell

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

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


Re: A Single SetProp?

2007-01-19 Thread Tereza Snyder


On Jan 19, 2007, at 7:16 PM, Scott Rossi wrote:


Howdy List:

I'm just now coming to grips to with the SetProp control structure  
and was
wondering if there is a way to trigger a single SetProp structure  
(that
contains a switch statement) when setting *any* custom property, or  
do you
have to use a separate SetProp structure for *each property* you  
want to

monitor.  Something like:

 setProp anyOfMyProps pValue
   switch anyOfMyProps
case "propA"
  doSomeStuff
break
case "propB"
  doOtherStuff
   end switch
 end anyOfMyProps



One way you can get close to it, is use a custompropertyset setprop:

setprop MyCustomPropertySet[ pProp ] pValue
 switch pProp
  case "propA"
 doSomeStuff
  break
case "propB"
 doOtherStuff
  break
 end switch
end MyCustomPropertySet

Incidentally, this is a way you can have two-parameter setprops!


t



--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.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: altBrowser + windowshape

2007-01-19 Thread Scott Rossi
Recently, Chipp Walters wrote:

> How old is Scott anyway?

Younger than you.  But nowhere near as talented in the 3D modeling arena.
Dang (Texas expression) you do some amazing stuff, man.  I don't know how
you find the time to do your Rev projects *and* your jaw dropping 3D
creations.

Best Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: A Single SetProp?

2007-01-19 Thread Ken Ray
On Fri, 19 Jan 2007 17:16:58 -0800, Scott Rossi wrote:

> I'm just now coming to grips to with the SetProp control structure and was
> wondering if there is a way to trigger a single SetProp structure (that
> contains a switch statement) when setting *any* custom property, or do you
> have to use a separate SetProp structure for *each property* you want to
> monitor.  Something like:
> 
>  setProp anyOfMyProps pValue
>switch anyOfMyProps
> case "propA"
>   doSomeStuff
> break
> case "propB"
>   doOtherStuff
>end switch
>  end anyOfMyProps
> 
> I have the feeling this isn't proper usage but I thought I'd ask anyway.

Sorry, Scott - you need to define one setProp for each property being 
set. In a way it's kind of like trying to have an "on " 
handler to trap calls made to any handler... just ain't gonna happen. 
:-)

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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


A Single SetProp?

2007-01-19 Thread Scott Rossi
Howdy List:

I'm just now coming to grips to with the SetProp control structure and was
wondering if there is a way to trigger a single SetProp structure (that
contains a switch statement) when setting *any* custom property, or do you
have to use a separate SetProp structure for *each property* you want to
monitor.  Something like:

 setProp anyOfMyProps pValue
   switch anyOfMyProps
case "propA"
  doSomeStuff
break
case "propB"
  doOtherStuff
   end switch
 end anyOfMyProps

I have the feeling this isn't proper usage but I thought I'd ask anyway.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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


Altplug-ins demo stacks...

2007-01-19 Thread Andrew Meit

I have found bugs using the altfont demo

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

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


Any help would be valued now.. :-)

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



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


Re: altBrowser + windowshape

2007-01-19 Thread Chipp Walters

Yep, I still mostly use Scott's window drag routine. I think it's been
around for...going on 40 years now. How old is Scott anyway?
___
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: calling a remote function..

2007-01-19 Thread Chipp Walters

Richard and Dick,

Good points both of you. In fact I think Jacque has perhaps the most elegant
solution.

Ding ding.
___
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 to manually package zip libraries with standalone?

2007-01-19 Thread Josh Mellicker

Ah, found it!

(Under "Select Inclusions")

Thanks!


On Jan 19, 2007, at 2:11 PM, Klaus Major wrote:


Hi Josh,

Extracting a file from a zip archive works perfectly in the dev  
environment, but the standalone doesn't work.
Do I need to package the zip library with the standalone manually?  
I couldn't find any doc on this.


Yes, this is a long known bug on the Mac, some (or all) externals  
do not get copied by the StandaloneBuilder.



Thanks!


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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: altBrowser + windowshape

2007-01-19 Thread Scott Rossi
Recently, Wilhelm Sanke wrote:

> does anyone has a nice handler to
> keep a substack (with decorations set to none) to follow along with another
> substack? (the one with my windowshape)

You'll probably need to use a custom drag routine.  You can see the
following stack for an example (execute in your message box):

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

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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 to manually package zip libraries with standalone?

2007-01-19 Thread Klaus Major

Hi Josh,

Extracting a file from a zip archive works perfectly in the dev  
environment, but the standalone doesn't work.
Do I need to package the zip library with the standalone manually?  
I couldn't find any doc on this.


Yes, this is a long known bug on the Mac, some (or all) externals do  
not get copied by the StandaloneBuilder.



Thanks!


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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: altBrowser + windowshape

2007-01-19 Thread Wilhelm Sanke


On Fri Jan 19, Bill Marriott wjm at wjm.org wrote:

If it's impossible
to get the windowshape thingy to work, does anyone has a nice handler to
keep a substack (with decorations set to none) to follow along with another
substack? (the one with my windowshape)

What about

"on movestack
 put the topright of me into tpos
 add 4 to item 1 of tpos
 set the topleft of stack "IFollowYou" to tpos
end movestack" ?


Regards,

Wilhelm Sanke


___
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


Open and Closing MySQL

2007-01-19 Thread Jim Schaubeck
Folks,
Is it good practice to close a connection to a database right after you use it 
(MySQL)?  I don't have a problem writing the SQL every time, I just want to 
make sure it doesn't hurt anything if I did it that way.

Also, is there any more documentation somewhere on the rev commands for SQL?

Thanks for the help,
Jim...
___
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: calling a remote function..

2007-01-19 Thread Richard Gaskin

Dick Kriesel wrote:


On 1/19/07 7:50 AM, "Chipp Walters"  wrote:
Ding ding. You win the prize. 
answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar")


But note that if a param contains more than one line, the value function
does not return the expected result.  Ding dong.

Try this script for button "PressMe" to see for yourself:

on mouseUp pMouseBtnNum
  put "1,000" into param1
  put "soldiers" & cr & "coming home" into param2
  answer value("foo(" & quote & param1 & quote & comma & \
  quote & param2 & quote & ")",btn "bar")
end mouseUp

If you'd like to use the value function with multi-line params, please
consider voting for bug 2904:
Allow 'value' to evaluate expressions containing returns like 'send'


Good considerations, Dick.

Stepping back from it, even a very complete solution will yield code 
that's difficult to read/maintain/enhance.


Out of sheer laziness if nothing else, if I was faced with this I'd 
probably either find some way to put what I need in the message path, or 
perhaps even consider a global array to hold any needed values between 
handlers.


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


Re: calling a remote function..

2007-01-19 Thread Dick Kriesel
On 1/19/07 7:50 AM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> Ding ding. You win the prize.
> 
> answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar")

But note that if a param contains more than one line, the value function
does not return the expected result.  Ding dong.

Try this script for button "PressMe" to see for yourself:

on mouseUp pMouseBtnNum
  put "1,000" into param1
  put "soldiers" & cr & "coming home" into param2
  answer value("foo(" & quote & param1 & quote & comma & \
  quote & param2 & quote & ")",btn "bar")
end mouseUp

If you'd like to use the value function with multi-line params, please
consider voting for bug 2904:
Allow 'value' to evaluate expressions containing returns like 'send'

-- Dick


___
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: calling a remote function..

2007-01-19 Thread Chipp Walters

Hugh,

You certainly make a good point. I'm actually trying to keep the functions
in the field where they originally are used. I only need call them
occasionally, but the fact it's so difficult has got me thinking of
re-architecting the group entirely. It's a spreadsheet object which will get
a facelift.

Boy, I can't wait for real OOP like controls in a future version.

-Chipp




Hmmm... I see an opportunity to be contentious here. I  used to really
miss
"via" as well, but with the message passing hierarchy and  the rule of
"write
once use many", placing functions and handlers higher up the  chain is far
more
logical. This is essentially what "insert" is doing, so why  not just move
the function and be done? Not a bug or missing feature but a  nudge to
implementing good writing style.




___
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 to manually package zip libraries with standalone?

2007-01-19 Thread Josh Mellicker
Extracting a file from a zip archive works perfectly in the dev  
environment, but the standalone doesn't work.


Do I need to package the zip library with the standalone manually? I  
couldn't find any doc on this.


Thanks!
___
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: calling a remote function..

2007-01-19 Thread FlexibleLearning
 
Ken Ray wrote:
> On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters  wrote:
>> Ding ding. You win the prize.
>>
>> answer  value("foo(" & q(param1) & comma & q(param2) & ")", btn  "bar")
> 
> Boy, I long for the simplicity that SuperCard uses to do  this kind of 
> thing. They have a "via" keyword that lets you point to  the object who 
> should be processing the function. In SuperCard, this  would be:
> 
>   answer foo(param1,param2) via btn  "bar"

J. Landman Gay wrote:
>The cheap hack is:
>
>   insert script of   into back
>   answer  foo(param1,param2)
>   remove script of  from  back

>I've had to do this a couple of times and it works fine. Easy  too.
 
Hmmm... I see an opportunity to be contentious here. I  used to really miss 
"via" as well, but with the message passing hierarchy and  the rule of "write 
once use many", placing functions and handlers higher up the  chain is far more 
logical. This is essentially what "insert" is doing, so why  not just move 
the function and be done? Not a bug or missing feature but a  nudge to 
implementing good writing style.
 
2c
 
/H

___
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: calling a remote function..

2007-01-19 Thread Mark Smith
This is so simple and obvious that only a true genius would a have  
thought of it! I don't even accept that it's a hack.


Thanks for this, Jacque, I honestly wonder how I get my head so far  
up my , sometimes. :)


Best,

Mark

On 19 Jan 2007, at 17:58, J. Landman Gay wrote:




The cheap hack is:

  insert script of  into back
  answer foo(param1,param2)
  remove script of  from back

I've had to do this a couple of times and it works fine. Easy too.

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


___
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: calling a remote function..

2007-01-19 Thread J. Landman Gay

Ken Ray wrote:

On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote:

Ding ding. You win the prize.

answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar")


Boy, I long for the simplicity that SuperCard uses to do this kind of 
thing. They have a "via" keyword that lets you point to the object who 
should be processing the function. In SuperCard, this would be:


  answer foo(param1,param2) via btn "bar"


The cheap hack is:

  insert script of  into back
  answer foo(param1,param2)
  remove script of  from back

I've had to do this a couple of times and it works fine. Easy too.

--
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: calling a remote function..

2007-01-19 Thread Andre Garzia
show me a bugzilla enhancement request for this and I'll throw all my  
five votes in it, and buy a beer for everyone that does the same.

This would make my life so much easier...

andre

On Jan 19, 2007, at 2:50 PM, Ken Ray wrote:


On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote:

Ding ding. You win the prize.

answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar")


Boy, I long for the simplicity that SuperCard uses to do this kind of
thing. They have a "via" keyword that lets you point to the object who
should be processing the function. In SuperCard, this would be:

  answer foo(param1,param2) via btn "bar"

S much easier...

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


altBrowser + windowshape

2007-01-19 Thread Bill Marriott
Hello everyone,

I was wondering if anyone's had any luck getting an embedded web browser to 
work when the stack containing it has a WindowShape? Seems when I activate 
the window shape, the browser control refuses to appear. If it's impossible 
to get the windowshape thingy to work, does anyone has a nice handler to 
keep a substack (with decorations set to none) to follow along with another 
substack? (the one with my windowshape)

In other news, the latest newsletter from Rev officially announces the 
plugins , and there is now documentation and stacks up!

http://www.runrev.com/newsletter/january/issue18/newsletter1.php 



___
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: Physical Screen Size

2007-01-19 Thread Luis
Hmmm, ok. What you could then do is open a dialogue box asking for 
dimensions (17 inch, 19 inch, etc), resolution, type (CRT, LCD or 
Plasma) and dpi. If the dpi is unknown by the user you could try to 
default to the most common dpi for that 'type' of monitor.


Cheers,

Luis.


Mark Schonewille wrote:

Hi Luis,

Yup, my main monitor is of the brand "unknown".

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. 
Download at http://www.salery.biz


Op 19-jan-2007, om 17:00 heeft Luis het volgende geschreven:


Hiya,

If you can determine the monitor type you could probe a database of 
configurations/resolution/dpi settings etc and then calculate the 
image size (using its coordinates) based on this information.
I haven't looked into this but I reckon OSX and WXP have these in the 
system somewhere (so they can 'plug and play').



Cheers,

Luis.



___
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: calling a remote function..

2007-01-19 Thread Ken Ray
On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote:
> Ding ding. You win the prize.
> 
> answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar")

Boy, I long for the simplicity that SuperCard uses to do this kind of 
thing. They have a "via" keyword that lets you point to the object who 
should be processing the function. In SuperCard, this would be:

  answer foo(param1,param2) via btn "bar"

S much easier...

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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: Physical Screen Size

2007-01-19 Thread Mark Schonewille

Hi Luis,

Yup, my main monitor is of the brand "unknown".

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 19-jan-2007, om 17:00 heeft Luis het volgende geschreven:


Hiya,

If you can determine the monitor type you could probe a database of  
configurations/resolution/dpi settings etc and then calculate the  
image size (using its coordinates) based on this information.
I haven't looked into this but I reckon OSX and WXP have these in  
the system somewhere (so they can 'plug and play').



Cheers,

Luis.



___
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: write to and read from a hardware address directly, possible?

2007-01-19 Thread Stephen Barncard

You are looking for a PEEK or POKE type command in Rev.

ummm... I don't think it's advisable to do that 
directly anymore, certainly on macs. Most 
resources on modern hardware are managed.





Hello,

Is it possible to write to a hardware address directly from runrev?
Did not find any command for this task in the docu.

0xA000 FF

8 bit  to the address A000.

Can I set or get the value with native commands in runrev?

Mit freundlichen Grüßen
Franz Böhmisch



--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
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


many thanks for everyone's help on find

2007-01-19 Thread Peter Alcibiades
Many thanks, very helpful comments, and thanks especially for pointing out 
some of the pitfalls.

Peter
___
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: Physical Screen Size

2007-01-19 Thread Luis

Hiya,

If you can determine the monitor type you could probe a database of 
configurations/resolution/dpi settings etc and then calculate the image 
size (using its coordinates) based on this information.
I haven't looked into this but I reckon OSX and WXP have these in the 
system somewhere (so they can 'plug and play').



Cheers,

Luis.



Mark Schonewille wrote:

Hi TIm,

Of course, you could make a few presets for the most common resolutions, 
but you won't be able to create presets for all current and future 
resolutions. Instead, I'd make a simple interface to adjust the size of 
the working space on screen. I don't think that people will mind that 
the size is not exactly the same as in reality, but they will appreciate 
the possibility to enlarge the view.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. 
Download at http://www.salery.biz


Op 19-jan-2007, om 16:26 heeft Tim Ponn het volgende geschreven:


Mark,



Now...it just occurred to me as I was writing this...a good work 
around may be to tweak it on my monitor until it's the same scale, 
then use my set resolution to recalculate and change size based on the 
resolution of the user.  In fact, I'm certain that will work.


Thanks for your poking, you got me to think!


Best Regards,

Timothy R. Ponn
ALPTEX, Inc.


___
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: calling a remote function..

2007-01-19 Thread Chipp Walters

Ding ding. You win the prize.

answer value("foo(" & q(param1) & comma & q(param2) & ")", btn "bar")

works. I had tried something similar:

answer value("foo(" & q(param1) , q(param2) & ")", btn "bar")
but couldn't get it to compile. I'm just used to the compiler not having to
be explicitly told to concatenate comma delimited items.

IOW, I'm used to:
put tLeft,tTop,tRight,tBot into tRect
and just assumed it would still work. My bad. Thanks Mark!!!

-Chipp

On 1/19/07, Mark Smith <[EMAIL PROTECTED]> wrote:


Ah, I see. How about:

answer value("foo(" & quote & p1 & quote & comma & p2 & ")",btn "bar")

admittedly, this is going to be unwieldy if all your params might
contain quotes, so then perhaps you need to use Ken Rays "q" function:

answer value("foo(" & q(p1) & comma & q(p2) & ")", btn "bar")

Best,

Mark

On 19 Jan 2007, at 14:35, Chipp Walters wrote:

> Mark,
> That's close, but still no cigar. Because Param1 has a comma in it, it
> thinks it's two params. IOW, the answer is "1" & cr & "000". The
> "soldiers"
> is left behind :-(
>
> Any other ideas?
>
> -Chipp
>
> On 1/19/07, Mark Smith <[EMAIL PROTECTED]> wrote:
>>
>> Chipp, this seems to work for me:
>>
>>   answer value("foo(" & param1 & comma & param2 & ")",btn "bar")
>>
>> Though you seem to have "answer" in both button scripts...
>
>
> Yeah, I know, but it doesn't matter.
> ___
> 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: calling a remote function..

2007-01-19 Thread Andre Garzia

Chipp,

I use stuff like that all the time in the RevHTTP server for running  
the functions on cgis. But I don't usually use functions, I use  
handlers that like function return values. I assemble a line with a  
send call in a string and I execute that string using DO. then I  
check for the result variable for my return values. This works very  
fine.


I know you're trying to call functions and not handlers but I've  
entered the same trouble you're in now and solved it by using  
handlers and send. I know this is no solution and just a hack, but it  
is working and it is easy to understand.


cheers
andre

On Jan 19, 2007, at 10:55 AM, Chipp Walters wrote:

Trying to call function 'foo(param1,param2)' in button "bar" from  
somewhere

outside the message path.

So, I do this:

put "1,000" into param1
put "Soldiers" into param2
get value("foo(param1,param2)",btn "bar")

Sadly, the literals "param1" and "param2" are passed to foo instead  
of the

variables.
I've tried escaping, quoting, and waving a half dead chicken over  
foo. No

good. Any ideas?

TRY YOURSELF
Create a new stack:
create button "bar" with script:

function foo param1,param2
 answer param1 &cr& param2
end foo

Create another button "PressMe"

on mouseUp
 put "1,000" into param1
 put "soldiers" into param2
 answer value("foo(param1,param2)",btn "bar")
end mouseUp
___
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: Physical Screen Size

2007-01-19 Thread Mark Schonewille

Hi TIm,

Of course, you could make a few presets for the most common  
resolutions, but you won't be able to create presets for all current  
and future resolutions. Instead, I'd make a simple interface to  
adjust the size of the working space on screen. I don't think that  
people will mind that the size is not exactly the same as in reality,  
but they will appreciate the possibility to enlarge the view.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 19-jan-2007, om 16:26 heeft Tim Ponn het volgende geschreven:


Mark,



Now...it just occurred to me as I was writing this...a good work  
around may be to tweak it on my monitor until it's the same scale,  
then use my set resolution to recalculate and change size based on  
the resolution of the user.  In fact, I'm certain that will work.


Thanks for your poking, you got me to think!


Best Regards,

Timothy R. Ponn
ALPTEX, Inc.


___
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


Beta Testing for JPEGCompress 2.8

2007-01-19 Thread Derek Bump

Hello folks,

I was just wondering if anyone was interested in beta testing 
JPEGCompress 2.8?  Email me offlist if you're interested.


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.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: Physical Screen Size

2007-01-19 Thread Tim Ponn

Mark,

I understand why folks set their screen res the way they do...I know  
someone who always sets it at the highest possible...never mind that  
it's nearly impossible to see the icons on their desktop without  
magnification!  ;=)


Here's my application and why it's important to me...

We designed and built an extremely accurate 3 axis cnc micro-driller  
about 7 years ago which is controlled by a HyperCard stack.  We use  
it in production to drill holes as small as .010" dia. through a  
variety of plastics with a guaranteed accuracy of .00025".  The "work  
area" is small, just 4" square...but it has served our needs  
perfectly.  In my stack, I represent the work area on screen in  
exactly the same size...WYSIWYG-in-extreme, if you will.  When the  
file is loaded, the pattern is displayed.  As each hole is drilled,  
the appropriate circle is "filled in" on the screen.
I've used Rev for about 5 years now, and am converting this stack  
into a rev app.  If we were only using it in house, no biggie, I  
would just tweak the display like I did last time.  But now we're  
thinking of building and selling these machines (with perhaps a 12"  
square work area and higher RPM drill head to allow for smaller  
drills) to others.


Now...it just occurred to me as I was writing this...a good work  
around may be to tweak it on my monitor until it's the same scale,  
then use my set resolution to recalculate and change size based on  
the resolution of the user.  In fact, I'm certain that will work.


Thanks for your poking, you got me to think!


Best Regards,

Timothy R. Ponn
ALPTEX, Inc.


On Jan 19, 2007, at 7:26 AM, Mark Schonewille wrote:


Hi Tim,

Normally, people set the screen resolution to a higher number  
because they want more to fit on their screen. They would be  
surprised to see that your application doesn't show more on screen  
despite a higher resolution, if you manage to do this.


I don't think that the actual screen size is of any importance.  
Sometimes, it could be useful to adjust an application to the  
screen resolution, e.g. if you are making a full-screen interface.  
The physical screen size has nothing to do with this.


So, why would you want to do this?

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store  
software. Download at http://www.salery.biz




___
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: calling a remote function..

2007-01-19 Thread Ian Wood

Something like that.
I've got into the habit of replacing commas with "*comma*" in the  
parameters and then replacing it again with a comma within the function.


Ian

On 19 Jan 2007, at 15:21, Jim Ault wrote:


perhaps
urlEncode.. decode

put urlEncode("1,000") into param1  -- %2C for comma

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: calling a remote function..

2007-01-19 Thread Jim Ault
perhaps 
urlEncode.. decode

put urlEncode("1,000") into param1  -- %2C for comma

Jim Ault
Las Vegas


On 1/19/07 4:55 AM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> Trying to call function 'foo(param1,param2)' in button "bar" from somewhere
> outside the message path.
> 
> So, I do this:
> 
> put "1,000" into param1
> put "Soldiers" into param2
> get value("foo(param1,param2)",btn "bar")
> 
> Sadly, the literals "param1" and "param2" are passed to foo instead of the
> variables.
> I've tried escaping, quoting, and waving a half dead chicken over foo. No
> good. Any ideas?
> 
> TRY YOURSELF
> Create a new stack:
> create button "bar" with script:
> 
> function foo param1,param2
>   answer param1 &cr& param2
> end foo
> 
> Create another button "PressMe"
> 
> on mouseUp
>   put "1,000" into param1
>   put "soldiers" into param2
>   answer value("foo(param1,param2)",btn "bar")
> end mouseUp
> ___
> 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: calling a remote function..

2007-01-19 Thread Scott Rossi
Recently, Chipp Walters wrote:

> TRY YOURSELF
> Create a new stack:
> create button "bar" with script:
> 
> function foo param1,param2
>   answer param1 &cr& param2
> end foo
> 
> Create another button "PressMe"
> 
> on mouseUp
>   put "1,000" into param1
>   put "soldiers" into param2
>   answer value("foo(param1,param2)",btn "bar")
> end mouseUp

Not 100% solution, but when you remove the comma, this works:

 on mouseUp
   put "1000" into param1
   put "soldiers" into param2
   put "foo(" & param1,param2 & ")" into func
   answer value(func,btn "bar")
 end mouseUp

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: Physical Screen Size

2007-01-19 Thread Ian Wood
If you *have* to have the physical dimensions, remember that some of  
the odder screen resolution settings don't have the same vertical and  
horizontal pixels per inch, so the user will need to measure in both  
directions.
Rather than asking the user to measure an object (and enter the  
measurement) it might be easier to vary the size of the object to  
match a ruler, i.e. "please line the ruler up with the left end of  
the bar, and drag the right end of the bar until it reaches the 10cm  
mark on the ruler".


I don't know of ANY other way to find out the physical dimensions,  
even Apple don't manage it on their own hardware.


Ian

On 19 Jan 2007, at 12:02, Tim Ponn wrote:


Hello!

I'm working on a project and I would like to get the "physical"  
screen size of the system.  Is there a way to do this?  I see how  
to get many of the screen attributes...but as to physical  
siza...nadda.


A cheesy way to do this, I suppose, would be to display an object  
when the app is started up and ask the user to measure it and enter  
the measurement.  Based on that I could calculate the size of the  
screen.


Has anyone discovered how to do this?


Best Regards,

Timothy R. Ponn
ALPTEX, Inc.


___
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: calling a remote function..

2007-01-19 Thread Mark Smith

Ah, I see. How about:

answer value("foo(" & quote & p1 & quote & comma & p2 & ")",btn "bar")

admittedly, this is going to be unwieldy if all your params might  
contain quotes, so then perhaps you need to use Ken Rays "q" function:


answer value("foo(" & q(p1) & comma & q(p2) & ")", btn "bar")

Best,

Mark

On 19 Jan 2007, at 14:35, Chipp Walters wrote:


Mark,
That's close, but still no cigar. Because Param1 has a comma in it, it
thinks it's two params. IOW, the answer is "1" & cr & "000". The  
"soldiers"

is left behind :-(

Any other ideas?

-Chipp

On 1/19/07, Mark Smith <[EMAIL PROTECTED]> wrote:


Chipp, this seems to work for me:

  answer value("foo(" & param1 & comma & param2 & ")",btn "bar")

Though you seem to have "answer" in both button scripts...



Yeah, I know, but it doesn't matter.
___
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: calling a remote function..

2007-01-19 Thread Chipp Walters

Hi Jim,

Call is supposed to used with handlers, not functions. Fooey ;-)

On 1/19/07, Jim Ault <[EMAIL PROTECTED]> wrote:


Try using the Call, as this is supposed to keep the current variable
environment even though you are outside the message path.  This is from
the
original HCard navigation so you could travel across hard drives and
computers and yet update the original variable space.

I have never used this, so testing is required.

If call "foo" does not work, then it is time to do a call "fooey".

Jim Ault
Las Vegas


On 1/19/07 4:55 AM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> Trying to call function 'foo(param1,param2)' in button "bar" from
somewhere
> outside the message path.
>
> So, I do this:
>
> put "1,000" into param1
> put "Soldiers" into param2
> get value("foo(param1,param2)",btn "bar")
>
> Sadly, the literals "param1" and "param2" are passed to foo instead of
the
> variables.
> I've tried escaping, quoting, and waving a half dead chicken over foo.
No
> good. Any ideas?
>
> TRY YOURSELF
> Create a new stack:
> create button "bar" with script:
>
> function foo param1,param2
>   answer param1 &cr& param2
> end foo
>
> Create another button "PressMe"
>
> on mouseUp
>   put "1,000" into param1
>   put "soldiers" into param2
>   answer value("foo(param1,param2)",btn "bar")
> end mouseUp
>


___
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: calling a remote function..

2007-01-19 Thread Chipp Walters

Mark,
That's close, but still no cigar. Because Param1 has a comma in it, it
thinks it's two params. IOW, the answer is "1" & cr & "000". The "soldiers"
is left behind :-(

Any other ideas?

-Chipp

On 1/19/07, Mark Smith <[EMAIL PROTECTED]> wrote:


Chipp, this seems to work for me:

  answer value("foo(" & param1 & comma & param2 & ")",btn "bar")

Though you seem to have "answer" in both button scripts...



Yeah, I know, but it doesn't matter.
___
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: calling a remote function..

2007-01-19 Thread Jim Ault
Try using the Call, as this is supposed to keep the current variable
environment even though you are outside the message path.  This is from the
original HCard navigation so you could travel across hard drives and
computers and yet update the original variable space.

I have never used this, so testing is required.

If call "foo" does not work, then it is time to do a call "fooey".

Jim Ault
Las Vegas


On 1/19/07 4:55 AM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> Trying to call function 'foo(param1,param2)' in button "bar" from somewhere
> outside the message path.
> 
> So, I do this:
> 
> put "1,000" into param1
> put "Soldiers" into param2
> get value("foo(param1,param2)",btn "bar")
> 
> Sadly, the literals "param1" and "param2" are passed to foo instead of the
> variables.
> I've tried escaping, quoting, and waving a half dead chicken over foo. No
> good. Any ideas?
> 
> TRY YOURSELF
> Create a new stack:
> create button "bar" with script:
> 
> function foo param1,param2
>   answer param1 &cr& param2
> end foo
> 
> Create another button "PressMe"
> 
> on mouseUp
>   put "1,000" into param1
>   put "soldiers" into param2
>   answer value("foo(param1,param2)",btn "bar")
> end mouseUp
> 


___
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: calling a remote function..

2007-01-19 Thread Mark Smith

Chipp, this seems to work for me:

 answer value("foo(" & param1 & comma & param2 & ")",btn "bar")

Though you seem to have "answer" in both button scripts...

Best,

Mark
On 19 Jan 2007, at 12:55, Chipp Walters wrote:

Trying to call function 'foo(param1,param2)' in button "bar" from  
somewhere

outside the message path.

So, I do this:

put "1,000" into param1
put "Soldiers" into param2
get value("foo(param1,param2)",btn "bar")

Sadly, the literals "param1" and "param2" are passed to foo instead  
of the

variables.
I've tried escaping, quoting, and waving a half dead chicken over  
foo. No

good. Any ideas?

TRY YOURSELF
Create a new stack:
create button "bar" with script:

function foo param1,param2
 answer param1 &cr& param2
end foo

Create another button "PressMe"

on mouseUp
 put "1,000" into param1
 put "soldiers" into param2
 answer value("foo(param1,param2)",btn "bar")
end mouseUp
___
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


calling a remote function..

2007-01-19 Thread Chipp Walters

Trying to call function 'foo(param1,param2)' in button "bar" from somewhere
outside the message path.

So, I do this:

put "1,000" into param1
put "Soldiers" into param2
get value("foo(param1,param2)",btn "bar")

Sadly, the literals "param1" and "param2" are passed to foo instead of the
variables.
I've tried escaping, quoting, and waving a half dead chicken over foo. No
good. Any ideas?

TRY YOURSELF
Create a new stack:
create button "bar" with script:

function foo param1,param2
 answer param1 &cr& param2
end foo

Create another button "PressMe"

on mouseUp
 put "1,000" into param1
 put "soldiers" into param2
 answer value("foo(param1,param2)",btn "bar")
end mouseUp
___
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: Physical Screen Size

2007-01-19 Thread Mark Schonewille

Hi Tim,

Normally, people set the screen resolution to a higher number because  
they want more to fit on their screen. They would be surprised to see  
that your application doesn't show more on screen despite a higher  
resolution, if you manage to do this.


I don't think that the actual screen size is of any importance.  
Sometimes, it could be useful to adjust an application to the screen  
resolution, e.g. if you are making a full-screen interface. The  
physical screen size has nothing to do with this.


So, why would you want to do this?

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 19-jan-2007, om 13:02 heeft Tim Ponn het volgende geschreven:


Hello!

I'm working on a project and I would like to get the "physical"  
screen size of the system.  Is there a way to do this?  I see how  
to get many of the screen attributes...but as to physical  
siza...nadda.


A cheesy way to do this, I suppose, would be to display an object  
when the app is started up and ask the user to measure it and enter  
the measurement.  Based on that I could calculate the size of the  
screen.


Has anyone discovered how to do this?


Best Regards,

Timothy R. Ponn
ALPTEX, Inc.



___
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


Physical Screen Size

2007-01-19 Thread Tim Ponn

Hello!

I'm working on a project and I would like to get the "physical"  
screen size of the system.  Is there a way to do this?  I see how to  
get many of the screen attributes...but as to physical siza...nadda.


A cheesy way to do this, I suppose, would be to display an object  
when the app is started up and ask the user to measure it and enter  
the measurement.  Based on that I could calculate the size of the  
screen.


Has anyone discovered how to do this?


Best Regards,

Timothy R. Ponn
ALPTEX, Inc.


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


Re: Locking flds of group to scroll

2007-01-19 Thread Klaus Major

Hi Sarah and Herschel,

> Hi, Is it possible to lock the scroll of flds of a group to  
scroll e.g. The
> scrolls are not checked but if the lines are more then the fld  
shows then
> the fld scrolls even without the bar, therefore id like to know  
if and "how"
> there is a possibility to lock that and only with the group  
scroll it should

> show the rest of the fld lines
Ok, figured that out by now.
The question if and how it is possible to scroll the group with  
the scroll

wheel?


Yes it is. You need to find out what key codes your scroll wheel sends
to the rawKeyUp or rawKeyDown handlers, then use them to set the
scroll of your group.

I can't remember what the codes are, but if you write a fake
rawKeyDown handler, you can get it to "put" the codes it is receiving
and find out what they are.


These are the rawkey codes for the mousescrollwheel:
65309 (up)
65308 (down)


Cheers,
Sarah


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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 lesson in using database wanted

2007-01-19 Thread Luis

Hiya,

If you want to learn whilst having fun, try GalaxQL: 
http://sol.gfxile.net/galaxql.html


Cheers,

Luis.


Brent Anderson wrote:

Hello.

Although there are many database functions provided with Revolution, I 
prefer opening a connection and making SQL calls using revDataFromQuery. 
A full tutorial on SQL can be found at www.w3schools.com/sql/ that goes 
over everything you need to know to work with any SQL database.


Thanks,
Brent Anderson
CMSEC


On Jan 18, 2007, at 5:32 PM, Reinhold Venzl-Schubert wrote:


Hi,

I need a small lesson in using database:

1. I created a db (using SQLite3) with several fields. One of them is 
a boolean field. It is corresponding to a checkbox button in the card 
of my stack. Only one record of the database is displayed on the card.


2. I built a query that selects some of the records of my db and sorts 
them by some fields.


3. With a forward and backward button >revdb_movenext(recordSetID)< 
and >revdb_moveprev(recordSetID)< I navigate through the records of 
the recordSet.


4. With a script >set the hilite of btn "checkbox" to 
revdb_columnbynumber(recordSetID,5)< I display the database fields of 
the actual record in the fields of my card.


5. Then I wrote a script for the checkbox button 
>revdb_execute(recordSetID,tSQL)< with tSQL like: >UPDATE my_db SET 
checkbox = "true"  < and so on. I tested it with the SQLite 
Database Browser: the changes have been saved.


6. When I use my forward and backward button, to switch to the next 
record and then back to the changed record I do not see the change in 
my field or in my special case, the checkbox is not hilited.


7. When I close the current cursor (recordSet) and make a new query 
the checkbox is hilited.


I learned that the UPDATE-script changes the database but it do not 
change the cursor (recordSet).
But the forward/backward button do not display the content of the 
database but the content of the current cursor (recordSet).


- How can I get the content of the database?
- Do I have to make a new query after every change of fields?
- Or is it better to use the revdb_query funktion only to get a sorted 
list of primary keys of the wanted records and to use the 
revdb_querylist funktion to display the content of the db fields on 
the card?


I am rather confused.

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


write to and read from a hardware address directly, possible?

2007-01-19 Thread [EMAIL PROTECTED]
Hello,

Is it possible to write to a hardware address directly from runrev?
Did not find any command for this task in the docu.

0xA000 FF

8 bit  to the address A000.

Can I set or get the value with native commands in runrev?

Mit freundlichen Grüßen
Franz Böhmisch

[EMAIL PROTECTED]
http://www.animabit.de
GF Animabit Multimedia Software GmbH
Am Sonnenhang 22
D-94136 Thyrnau
Tel +49 (0)8501-8538
Fax +49 (0)8501-8537
___
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: Scroll multiple fields together

2007-01-19 Thread Scott Rossi
Recently, [EMAIL PROTECTED] wrote:

> Is there an easy way to keep multiple scrolling fields in alignment when they
> are scrolled?

You *might* get better performance (ie keeping the fields in sync) by
placing non-scrolling fields in a group and scrolling the group, rather than
using multiple scrolling fields.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: Scroll multiple fields together

2007-01-19 Thread André.Bisseret


Le 19 janv. 07 à 00:18, Sarah Reichelt a écrit :


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

Hi Everyone,

Is there an easy way to keep multiple scrolling fields in  
alignment when they

are scrolled?



In each field, put a scrollBarDrag handler as follows:

on scrollBarDrag pNewValue
 set the vScroll of fld "OtherField" to pNewValue
 set the vScroll of fld "SomeField" to pNewValue
end scrollbarDrag

pNewValue contains the setting for the scroll of the current field, so
just apply that to all the others.

Cheers,
Sarah
___


Hi,
If you want only one of the fld be controlling the others, you could  
use (in the controlling field script) :


set the vScroll of fld "otherField" to the vScroll of me

Best regards from Grenoble
André ___
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