Re: Zooming to Center

2008-05-17 Thread Mark Swindell
I can't say whether this is a particularly elegant solution, but this  
works in a scrollbar for my application.


on scrollbardrag newPosition
put the loc of image "Artwork" into vArtLoc
set the numberformat to "00.00"
put (newposition) into vHowBig
if vHowBig < 10 then put "0" before vHowBig
put "."before char -2 of vHowBig
put trunc(vHowBig * (the formattedheight of image "artwork"))  
into vNewHeight
put trunc(vHowBig * (the formattedwidth of image "artwork")) into  
vNewWidth

set the height of image "artWork" to vNewHeight
set the width of image "artWork" to vNewWidth
set the loc of image "ArtWork" to vArtLoc
set the cSizeThumbPos of this cd to newPosition -- cSizeThumbPos  
is a custom property so on reopening card the previous size is  
maintained

end scrollbardrag

Mark

On May 17, 2008, at 7:30 PM, Mark Greenberg wrote:

I have an image that is much larger than the stack.  I have two  
buttons, ZoomIn and ZoomOut.  They do their jobs as far as zooming  
in and out by resizing the image, but I would like the part of the  
image that is in the center of the screen to stay there during the  
zoom (when possible).  Right now it moves around and I can't figure  
out the math to make it seem to zoom to (or from) the part of the  
picture that is in the center of the card.


Thanks in Advance,

Mark Greenberg

___
use-revolution mailing list
use-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: Zooming to Center

2008-05-17 Thread Paul Gabel

Hi Mark:

Just include "set the loc of image "The Image" to the screenLoc"  
inside every iteration of the loop that is zooming your image.


Paul Gabel
---
On May 17, 2008, at 7:30 PM, Mark Greenberg wrote:

I have an image that is much larger than the stack.  I have two  
buttons, ZoomIn and ZoomOut.  They do their jobs as far as zooming  
in and out by resizing the image, but I would like the part of the  
image that is in the center of the screen to stay there during the  
zoom (when possible).  Right now it moves around and I can't figure  
out the math to make it seem to zoom to (or from) the part of the  
picture that is in the center of the card.


Thanks in Advance,

Mark Greenberg
___
use-revolution mailing list
use-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


Zooming to Center

2008-05-17 Thread Mark Greenberg
I have an image that is much larger than the stack.  I have two  
buttons, ZoomIn and ZoomOut.  They do their jobs as far as zooming in  
and out by resizing the image, but I would like the part of the image  
that is in the center of the screen to stay there during the zoom  
(when possible).  Right now it moves around and I can't figure out  
the math to make it seem to zoom to (or from) the part of the picture  
that is in the center of the card.


Thanks in Advance,

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


Combo box background color

2008-05-17 Thread Neal Campbell
When I change the background color of the combo box, it correctly
colors the drop-down list's background but not the "selected" display
(non-expanded). Is it possible to set this to the desired background
color?

Thanks
Neal

-- 
Neal Campbell
Abroham Neal Software
Programming Services for Windows, OS X and Linux
(540) 242 0911
-
Try Spot for OS X, the intelligent DXCluster Client at
www.abrohamnealsoftware.com - introduction priced at $10.99

For a great dog book, visit www.abrohamneal.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: exclude

2008-05-17 Thread J. Landman Gay

Paul Foraker wrote:
Coming from the HyperTalk world, 'filter' is great. But how about the 
opposite? Is there a command that replaces the container contents with 
every line that does not include the indicated string?


Brace yourself. :) "Filter without ". I.e.:

 filter without "*.doc" -- no Word files

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

2008-05-17 Thread Andre Garzia
Paul,

You can use "filter ... without ..." ;-) it will keep only things that
don't match the criteria.

Cheers
andre

On Sat, May 17, 2008 at 12:34 PM, Paul Foraker <[EMAIL PROTECTED]> wrote:
> Coming from the HyperTalk world, 'filter' is great. But how about the
> opposite? Is there a command that replaces the container contents with every
> line that does not include the indicated string?
>
> -- Paul
> ___
> use-revolution mailing list
> use-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.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


exclude

2008-05-17 Thread Paul Foraker
Coming from the HyperTalk world, 'filter' is great. But how about the  
opposite? Is there a command that replaces the container contents  
with every line that does not include the indicated string?


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


ANN: StackRunner 1.8 Is Now Available

2008-05-17 Thread Ken Ray
Hey all...

Just wanted to let you know that a new release of StackRunner, version 1.8,
has been uploaded to my site. This version has the 2.9.0 engine in it,
includes full support for Linux, and has actually pre-bundled the database
drivers in to make it easier to deploy. I also modified the web page a bit
for clarity (this is in keeping with my talk at RevLive2008 :-).

You can get it here:

http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm

Enjoy!

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: Defining locals or constants

2008-05-17 Thread Ken Ray



On 5/15/08 12:02 PM, "Stephen Barncard" <[EMAIL PROTECTED]>
wrote:

> By the way, Ken, is a new 2.9 stackrunner on the way?

Thanks for reminding me, Stephen... watch for the announcement...

:-)

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


MetaCard stack: nifty link #1

2008-05-17 Thread Richmond Mathewson
This is worth a good look:

http://www.lacscentre.com/liburl/liburldoc.html

now whether you can get this to work with MetaCard ? ?
?

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.



  __
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.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


MetaCard stack

2008-05-17 Thread Richmond Mathewson
Jim Sims wrote:

"an example of using post"

wonder if you know the name of the stack?

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.



  __
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.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: some images from RevLive

2008-05-17 Thread Jeff Reynolds

Sandy,

thanks for posting, it really makes me wish schedules had been  
different even more to try and attend this year. the last three years,  
every year i have had a big project install right on the revcon date,  
mr murphy getting back at me for getting away with something elsewhere!


I really want to attend even if its just to meet all the folks on the  
list that i have interacted with and followed over the years. I got to  
meet Richard G. years back when a few metacarders met up at Mac World  
SF one year and that was a treat.


This year got derailed by the opening of the African American museum  
in Oakland Ca on Sat. But, rev is the main player in the whole museum  
as it runs the star exhibit of the museum. We interviewed 58 people  
and collected over 50 hours of interesting stories, history,  
perspectives, and opinions from folks. we distilled this down to 16  
hours of video in 1000 clips that are presented (via highdef mpeg  
players controlled by mac minis) in 4 different pavilions (Family,  
Oakland Stories, My Stories, and Reflections) in various categories  
and subcategories via a rev interface. I was shocked how fast the  
project came together in rev as the two bids i got (actually short on  
time on this project and looked at farming it out) were atrocious! Rev  
saved the day. interface works smoothly with no lockups so far. data  
for the whole system is stored in a set of simple csv files that are  
created from one master excel spreadsheet. This allows the data to be  
used as both the production document and also the final data doc.  
Updating things is very fast and simple and the app needs not be  
touched for most fixes and tweaks.


Hopefully I will make it to Revcon 09! really want to put real people  
to names and chew the rev fat by the pool late into the night! Love to  
see what others are doing and how they go about doing it.


off to now using rev to create a guide training system for the  
Monterey Bay Aquarium. have to combine all my auditorium exhibits, all  
the floor videos, and all the guide training media into one system to  
train the guides on all the media presentations! its only 10 hrs of  
video in about 600 clips, so simple after the last project!


cheers,

jeff reynolds


On May 17, 2008, at 1:00 PM, [EMAIL PROTECTED]  
wrote:


I agree, a great conference, and wonderful to see everyone during my  
brief

stay--including a lucky meeting with Richard.

Here are some pictures from the event, and a slideshow.

http://www.troutfoot.com/rev/index.html

The music is from Gilberto Gil.  Ask Andre.  ;^)

Thank you RunRev staff!  What a great team.

I look forward to seeing the latest projects people are making, and  
hope

to see you all again soon!


___
use-revolution mailing list
use-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: some images from RevLive

2008-05-17 Thread Mark Wieder
Joe-

Saturday, May 17, 2008, 9:04:32 AM, you wrote:

> For those of us who have never met any of these fine people, it would
> help if you gave them in order. I suspect that the "old  
> codger" (smile) is Mark?

. That would be me. Although I have no recollection of this
particular event, I'm reasonably sure this is where we get a chance to
bond by singing developer songs around the roundtable. Kathy's the
only one who gets to tell the blonde jokes, though.

-- 
-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: some images from RevLive

2008-05-17 Thread Phil Davis

Lynn Fredricks wrote:
For those of us who have never met any of these fine people, 
it would help if you gave them in order. I suspect that the 
"old codger" (smile) is Mark?



I think we need to let each person identify themselves if they like. 


My picture is on my web site. So is the "goodies" page from my "Working 
With USB" talk.


Extra points if you can find the one conference photo I'm in.  :o)
--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.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: some images from RevLive

2008-05-17 Thread Lynn Fredricks
> For those of us who have never met any of these fine people, 
> it would help if you gave them in order. I suspect that the 
> "old codger" (smile) is Mark?

I think we need to let each person identify themselves if they like. Sadly,
the only picture of me shows that I am not winning in the war against hair
loss

Best regards,

Lynn Fredricks
Mirye Software Publishing
http://www.mirye.com

Mirye Community NING
http://miryesoftware.ning.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


How do I calculate the needed value for recursionLimit?

2008-05-17 Thread Mark Schonewille

Hi,

I'm having a bit of a problem setting the recursionLimit. I want to  
reduce it, to make sure that a script doesn't run forever, but this  
makes Revolution freeze. Does anyone know how to calculate a minimum  
value for the recursion limit?


Best regards,

Mark Schonewille

--

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

Color Converter does what it says. Download it at 
http://economy-x-talk.com/cc.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: some images from RevLive

2008-05-17 Thread Joe Lewis Wilkins

Lynn,

For those of us who have never met any of these fine people, it would  
help if you gave them in order. I suspect that the "old  
codger" (smile) is Mark?


Thanks, and all of the pictures were great.

Joe Wilkins

On May 17, 2008, at 8:20 AM, Lynn Fredricks wrote:


http://www.troutfoot.com/rev/index.html


http://www.troutfoot.com/rev/revlive08img/pages/page_64.html

I really like this rather socratic one of Mark, Cathy and Scott :-)

Best regards,

Lynn Fredricks
Mirye Software Publishing
http://www.mirye.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: some images from RevLive

2008-05-17 Thread Lynn Fredricks
> > http://www.troutfoot.com/rev/index.html

http://www.troutfoot.com/rev/revlive08img/pages/page_64.html

I really like this rather socratic one of Mark, Cathy and Scott :-)

Best regards,

Lynn Fredricks
Mirye Software Publishing
http://www.mirye.com

Mirye Community NING
http://miryesoftware.ning.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: some images from RevLive

2008-05-17 Thread Wilhelm Sanke

Sandy (tech1 at troutfoot.com tech1 at troutfoot.com) wrote:




Hi everyone,

I agree, a great conference, and wonderful to see everyone during my brief
stay--including a lucky meeting with Richard.

Here are some pictures from the event, and a slideshow.

http://www.troutfoot.com/rev/index.html




Thanks for the pictures and the slideshow - although none of the three 
swimming pools and no Indian paintings were to be seen.


Phil Davis has remarked


 I especially enjoyed getting
personally acquainted with several who I've only known by their
contributions on this list, and with others who I've never seen on the
list. For me, the conference was a very rewarding experience on several
levels.




Unfortunately, those who could not make it to the conference lack such 
experiences.


What about adding some text to your pictures, so we are able to at least 
match some heads and names?


Best 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


Parallels shared drive - case sensitivity gotcha

2008-05-17 Thread Dave Cragg

Sorry if this has been posted already.

If you're running Windows under Parallels, it seems that file names on  
a shared hard drive (usually designated the Z drive) are case sensitive.


on testFileName
  answer file "" ## select a file with upper case characters
  if it <> empty then
put it into tFile
put toLower(tFile) into tFile
put (there is a file tFile) ## will be false
  end if
end testFileName


Watch out!!

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: integrating rsync with Rev

2008-05-17 Thread David Bovill
Generating the SSH keys is actually quite easy, and once done you can
connect no problem without passwords - that's the method I've used before.
However I'd be interested in a solution that used the new features in 2.9 to
allow Rev to interact with the shell process.

2008/5/16 Josh Mellicker <[EMAIL PROTECTED]>:

> Thanks for the detailed example, but apparently rsync won't accept a
> password this way or I just don't get it (or both :-)
>
> So here's where I'm stuck:
>
> In Terminal, you:
>
> 1. issue the rsync command
> 2. then, at the next prompt, you are asked for the server password. Typing
> this and pressing enter starts the rsyncing.
>
> I cannot figure out how to respond to this second prompt with either
> "shell" or "open process-write to process".
>
>
> I have tried to implement this solution:
>
> http://www.sakana.fr/blog/2008/05/07/securing-automated-rsync-over-ssh/
>
> for being able to automate rsync by setting up a secure an SSH key pair, so
> I don't need a password, but this too is beyond my capabilities.
>
>
> Again, I would gladly finance the effort of creating a test stack and share
> it, I think many developers would enjoy Rev working with rsync.
>
>
>
>
> On May 16, 2008, at 4:54 AM, Sarah Reichelt wrote:
>
>  As an example, if I want to get a detailed directory listing in
 Terminal, I use:   ls -la
 In Rev, I would use:  put shell("ls -la") into fld "Listing"

>>>
>>>
>>> But what if I need to look into a locked directory, one that in terminal
>>> I'd
>>> use sudo ls -la ? How do I pass the command and the password. In Terminal
>>> I
>>> always do the sudo + command, it then asks for my password which I enter.
>>> How do I do these 2 steps in Rev?
>>>
>>
>> Here is the way I do it:
>>
>>   -- specify the shell command to use
>>   put "ls -la" into tCmd
>>   -- build the series of shell commands to sudo this
>>   put "#!/bin/sh" & cr into tScript
>>   put "pw=" & quote & tPass & quote & cr after tScript
>>   put "echo $pw | sudo -S " & tCmd & cr after tScript
>>   -- do the complete shell command
>>   put shell(tScript) into tCheck  -- do the command & get the result
>>
>> You can either ask for the password each time, or store it in a custom
>> property or global for future reference.
>>
>> Cheers,
>> Sarah
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-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: Wow - punching holes in stacks!

2008-05-17 Thread David Bovill
Hee... heee - the best bit is when you have text in a field or button. It
kind of floats above the hole - click on the text and you get a normal
mouseclick - miss the text by 1 pixel and you click right through the stack
bringing the application behind it to the front - makes word processing kind
of fun :)
___
use-revolution mailing list
use-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: Polygon geometry - any suggestions?

2008-05-17 Thread David Bovill
Thanks I'll test it - whatever it does :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution