Basic Drawing and Labeling

2007-04-20 Thread Todd Geist
Hello,

I would like to create a stack that will allow the user to Markup an Image.


The image would be displayed on the card and the user should be able to draw 
ovals, arrows, and lines on the image. Think of it as hi-lighting certain parts 
of the image. They also need to be able to label parts of the image. Then 
finally the image would be output to disk as a jpeg.

Before I go tackle this I was wondering if anybody had anything similar already 
done and they were willing to share?

TIA

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


Basic Drawing and Labeling

2007-04-16 Thread Todd Geist
Hello,

I would like to create a stack that will allow the user to Markup an Image.


The image would be displayed on the card and the user should be able to draw 
ovals, arrows, and lines on the image. Think of it as hi-lighting certain parts 
of the image. They also need to be able to label parts of the image. Then 
finally the image would be output to disk as a jpeg.

Before I go tackle this I was wondering if anybody had anything similar already 
done and they were willing to share?

TIA

Todd
___
use-revolution mailing list
use-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: Report Writer Needed

2007-01-05 Thread Todd Geist


On Jan 5, 2007, at 2:23 AM, Bill Marriott wrote:


Todd,

I am looking for help building a report writer for a back end   
database.

I can use either ODBC or XML to get the data, and I need  printed sub
summary reports out of it.  I have not done any sub  summary stuff  
with
rev.  I the basic version of quartum reports but I  haven't even  
messed

with it.


Short of rolling your own or hiring someone to write it, I don't  
know of

any competitor to Quartum Reports.


Thanks for the feedback...

Then perhaps I should ask for somebody with experience using Quartum  
Reports.  Anybody interested?



Todd








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

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


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Report Writer Needed

2007-01-05 Thread Todd Geist

Thanks for your feedback Karen

Todd



On Jan 5, 2007, at 10:36 AM, Karen Hughes wrote:


Hi Todd,

I've used Quartam Reports (Express - I can't comment on the  
Professional

features).


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Report Writer Needed

2007-01-04 Thread Todd Geist

Hello Everyone,

I am looking for help building a report writer for a back end  
database.  I can use either ODBC or XML to get the data, and I need  
printed sub summary reports out of it.  I have not done any sub  
summary stuff with rev.  I the basic version of quartum reports but I  
haven't even messed with it.


Ideally I am looking for some one with experience building sub  
summary reports to build or help me build the first couple reports. I  
have a budget for this so this is not a plea for free help.


I have the database and have mockups of how the report should look.

Please respond to me off list at [EMAIL PROTECTED] if you are  
interested in this project.



Thanks

Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e



Todd Geist
[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: Revolution and the Web, focus on IDE Add-ons

2006-12-07 Thread Todd Geist

Andre,

It sounds good to me.  I would like to help in any way that I can,  
but my Rev skills are fairly weak.  At the very least I can be a  
stupid user tester :)


Todd



On Dec 6, 2006, at 2:35 PM, Andre Garzia wrote:


Hello folks,

I've seen my little topic grew to the point of not being related to  
the thing I had in mind anymore. People here talking about morfik  
and about engine changes, I want again to try to focus on what can  
be done now by a group of volunteers by using nothing but  
revolution ide add-ons... no externals, no engine changes, no third  
party technologies (except maybe xsltproc which is standard on unix  
machines).


Let us try to focus on a tool that picks a given stack, process it  
and exposes user selected methods as a RPC endpoint. The RPC system  
should be simple enough so that we can implement the other side of  
it in javascript. This alone will greatly help what we're doing.  
We're babies on web development, let us take baby steps.


Objective of this first phase:

* Create a Remote Procedure Call system that is able to expose  
revolution handlers or functions as something accesible by a  
networked client. Implement this as a selfcontained library, no  
magic stuff, just plain code. (possibly REST inspired)
* Create a plugin thing to help with the RPC code, maybe allowing  
you to select methods on the topstack to be exposed and thus having  
the tool write the stubs for it.

* Create the javascript library to access that RPC system.
* Create a tool that writes glue code to match revolution exposed  
methods to javascript methods thus hiding the RPC side from the  
developer.


I think those are reasonable objectives for a first experiment,  
what people here think?


Cheers
andre


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Re: Fun Project: xTalk GUID Generator

2006-12-01 Thread Todd Geist


On Dec 1, 2006, at 12:17 PM, Bill Marriott wrote:




Now, several posts later we still don't have an xTalk GUID  
generator! -LOL-
Is anyone up to the task? Or at least able to translate all the  
language in

that RFC?



I know the point is to build one with xTalk, but you can doit with  
Shell on the mac and this VBS on the PC


FUNCTION CreateGUID()
set x = createobject(Scriptlet.TypeLib)
CreateGUID=left(x.GUID,38)
END FUNCTION

Can you run a VBScript from Revolution?

Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Flash open source!!!

2006-11-28 Thread Todd Geist

On Nov 28, 2006, at 12:46 AM, Dave Cragg wrote:


I'm not sure there is anything for Rev developers here.


Well maybe not directly in Rev

But what about using Flex  Builder to rich UIs and Flash Controls and  
running them inside of altBrowser.  Since Flex works really well with  
any type of web server, why not one built directly into your Rev  
Application.


Flex Builder comes with a whole mess of Controls, like table views,  
tree views, charts, schedule views, graphs, splitters.  All with  
dynamic resizing.  It is pretty cool!  ( but no where near cheap)


There are a bunch of products out there trying to make Flex Programs  
run on the desktop. They call them projectors, seems to me Rev Plus  
altBrowser might already be one.


This is all theory for me at this point since I haven't tried it.   
But I have used this concept with FileMaker Pro 8.5, which has a  
WebBrowser Control now. And it works quite well.




Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


'nother noobie ?

2006-06-10 Thread Todd Geist

Hi,

This is probably really simple, but I can't figure it out.

I want to test if a file exists on the disk.  So given the path

 /Users/toddgeist/Documents/My Revolution Studio/myfile.txt

How do I tell if it is there or not? I tried a few permutations of

  exists(/Users/toddgeist/Documents/My Revolution Studio/myfile.txt)

to no avail  :(

any clues?

TIA

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


Apple Events?

2006-06-04 Thread Todd Geist

Hello,

I am looking into using Apple Events with Revolution, but I can't get
my head around it.

I am pretty proficient at Applescript, and just started using Script
Debugger (jeez can't believe how much better it is then the plain old
Script Editor).  But I can't seem to make the leap from that to using
Apple Events.

All the stuff I can find on using them show you how to use them using
Carbon, or Cocoa, or some language I am not into. I would love to see
some examples using Revolution.

Does anybody of any useful resources?  Either on Apple Events or Apple
Events and Revolution together?

TIA

Todd
___
use-revolution mailing list
use-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: Apple Events?

2006-06-04 Thread Todd Geist

On 6/4/06, Mark Schonewille [EMAIL PROTECTED] wrote:



on appleEvent theClass, theID
   put class:  theClass  return  ¬
   ID  theID  return into myVar
   request appleEvent data
   put AppleEvent data:  it after myVar
   answer myVar
end appleEvent

You might want to put this into a stack script and make a standalone
of that stack.



Thanks Mark!

But then what do I do?

Lets suppose I want to send Apple Events from Rev for the moment.  Can
I target this lettle Rev App with an Applescript? Will it then report
the Apple event syntax that I need to usse?

Also I noticed that the docs say to place the appleEvent Message
handler in the current card script, not the stack script. Does  it
matter?  Or will the message just go throught the current card first
then on to the stack?


Thanks Again?

Todd
___
use-revolution mailing list
use-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: Apple Events?

2006-06-04 Thread Todd Geist

More info...


Thanks to Mark, I have a little Rev app that reports on the Apple
Events it receives.

BUT all I ever get for the Apple Event data is file list error or not found

My guess is that since the Data is probably not of type string
then this is the best Rev can do.

Can anyone confirm that Rev can't handle custom data type with Apple Events?

Thanks

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


Frontscripts message path question

2006-05-30 Thread Todd Geist

Hello

I have a question about the the message path and FrontScripts.

Do Frontscripts sit at the front of the message path for all open
stacks or just the one that did the inserting in the first place.

Specifically,  I have a littl front script that keeps an eye on
another app and when it notices a change in that other app it sends a
message down the path.  Does that message touch all open stacks?

Thanks

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


RevConWest Hotel Deal

2006-05-24 Thread Todd Geist

Hello,

I just made my hotel reservations for RevCon and I thought I would
pass on that the Portola Plaza Hotel is offering a pretty good deal.

go here

http://www.portolaplazahotel.com/specials/index.cfm?Refresh=1;

and scroll diow to here!

14-DAY ADVANCE PURCHASE

We invite you to explore Monterey's premier waterfront hotel and the
beautiful Pacific coastline. Take advantage of this special,  14-DAY
ADVANCE PURCHASE offer!   With fewer crowds and a great weather,
Monterey is the place to be for that well-deserved and truly special
vacation experience.

Features:
A luxurious room with a choice of either a king size bed or two full size beds.

14-DAY ADVANCE PURCHASE starting at:
$139 (Sunday - Thursday)
$159 (Friday - Saturday)

Limited rooms available.
Some restrictions may apply.
Offer expires July 10, 2006
Reservation is non-cancellable within 14 days of arrival.
Not applicable to groups.


See ya all there

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


xslt transform

2006-05-22 Thread Todd Geist

Hello,

Is there a way to do XSLT transformations with Rev?  I have looked at
the docs but I don't see anything to do with Transform.  Any ideas?

Thanks

Todd
___
use-revolution mailing list
use-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: xslt transform

2006-05-22 Thread Todd Geist

OK, Thanks for confirming that!  I there is at least one OSAX on OSX
that can do it via Applescript.  So I guess I will go the scripting
route (VB/AS) for the time being.

On 5/22/06, Jan Schenkel [EMAIL PROTECTED] wrote:

--- Todd Geist [EMAIL PROTECTED] wrote:
 Hello,

 Is there a way to do XSLT transformations with Rev?
 I have looked at
 the docs but I don't see anything to do with
 Transform.  Any ideas?

 Thanks

 Todd


Hi Todd,

The underlying library for Rev's XML-functions
(libxml) has a companion library for XSL.
Unfortunately, this hasn't surfaced in Rev yet.
On Windows you could use a roundabout way by employing
VBScript to tap into the MSXML library ; perhaps
someone has made or could make a command-line app
around libxsl and compile that for MacOSX, Windows and
Linux.
In the meantime, everyone looking for XSL out of the
box, should vote for bugzilla #2809
http://support.runrev.com/bugdatabase/show_bug.cgi?id=2809

Best regards,

Jan Schenkel.

Quartam Reports for Revolution
http://www.quartam.com

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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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


spaces between each character?

2006-05-22 Thread Todd Geist

Hello,

I am loading an xml file into a field using put URL  but there are
spaces bewteen each character. I know this has something to do with
the encoding, but I don't know what to do about it


here is my script

 answer File pick
   put  file: it into tURL
   put URL tURL into field field

here is what the text looks like in the field

˛ˇ  ? x m l   v e r s i o n =  1 . 0e n c o d i n g =  U T F - 8  ? 
 p r o j e c t s 
 p r o j e c t 


etc. etc.


Any ideas

TIA

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


Splash Screen Strategy

2006-05-16 Thread Todd Geist

Hello,

I am using the splash screen Architecture for deploying an app. The  
splash screen stack checks for updates and then launches the Main  
stack.  This part is all based on Chip's altSplash engine.


I want the Main stack to manage installing additional stacks and or  
files.  My current strategy is to load those additional stacks and  
files into custom props in the Main stack.  Then when a new version  
of the main stack is downloaded it will spit out all of the stacks  
and files that are loaded into it's custom functions into the  
appropriate places.


I thought that this would be easier then managing multiple downloads  
from the internet for each additional stack and or file.


I am interested in hearing some opinions about this strategy. Does it  
make sense to do it this way?


TIA

Todd
--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


systemWindow question

2006-05-16 Thread Todd Geist

Hello,

I am trying to create window that floats above all other  
applications.  I put the following script in a button, to toggle  
Float on and off.


ON mouseUp
IF the systemWindow of this stack is False THEN
set the systemWindow of this stack to true
  ELSE
set the systemWindow of this stack to false
END IF
END mouseUp


The result is that the decorations change but the window does NOT  
float above everything else.


What am I missing?

TIA
Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Send Keys

2006-05-16 Thread Todd Geist

Todd

Any one know of a way to send keystrokes from Rev.  I know I can use  
GUI scripting on OSX but that has some problems in the instance I  
need it in, plus I need Xplat.



TIA

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Send Keys

2006-05-16 Thread Todd Geist
this is old and somehow got burped back into the list.  Feel free  
to ignore :)



On May 10, 2006, at 6:47 PM, Todd Geist wrote:


Todd

Any one know of a way to send keystrokes from Rev.  I know I can  
use GUI scripting on OSX but that has some problems in the instance  
I need it in, plus I need Xplat.



TIA

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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

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


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: systemWindow question

2006-05-16 Thread Todd Geist

This is also old... the bug has been confirmed as new in 2.7.1


On May 10, 2006, at 10:49 AM, Todd Geist wrote:


Hello,

I am trying to create window that floats above all other  
applications.  I put the following script in a button, to toggle  
Float on and off.


ON mouseUp
IF the systemWindow of this stack is False THEN
set the systemWindow of this stack to true
  ELSE
set the systemWindow of this stack to false
END IF
END mouseUp


The result is that the decorations change but the window does NOT  
float above everything else.


What am I missing?

TIA
Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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

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


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Send Keys

2006-05-12 Thread Todd Geist


On May 12, 2006, at 12:00 PM, Ken Ray wrote:


How I yearn for something like QuickKeys but in Rev.


I don't suppose you can use both, can you? Last time I looked,  
QuickKeys was
scriptable, so you could tell QK to do things from Rev... of course  
that was

several years ago...


Yes you can do this, but I would like to distribute this application  
commercially, so that really won't work for me.  Now if Quick Keys  
just had a player that you could license that would be great!  Maybe  
I should ask them,  hmmm.




Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Send Keys

2006-05-11 Thread Todd Geist

Thanks Rob

But I wasn't very clear.  I need to send key stroke from Rev to  
another app.  Both type and click only work within the current  
Rev stack.


I really need this QuickKeys like functionality.

Unfortunately I have been unable to get GUI scripting on OSX to do  
what I need either.  It is very frustrating  :(


Todd


On May 11, 2006, at 7:13 AM, Rob Cozens wrote:


Hi Todd,


Any one know of a way to send keystrokes from Rev.


Check out the Type command.


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Send Keys

2006-05-11 Thread Todd Geist

Hi

Russ

On May 11, 2006, at 10:14 AM, Russ McBride wrote:

I've been able to send keystrokes into just about any field using a  
combination of the David Lloyd's Extra Suites

http://osaxen.com/files/extrasuites1.1.html


This is basically what I am doing... but it is not fun  :)




and Prefab's UI Browser (to help you figure out what object you are  
trying to control)

http://www.prefab.com/uibrowser/
Apple has a similar tool for UI browsing but as I recall this  
worked a bit better.





I use this to, but I am curious what value does UI Browser have to  
Extra Suites?


I have UI browser and it works great for the GUI scripting, but Extra  
Suite has it's own method for identifying things doesn't it?



Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Send Keys

2006-05-11 Thread Todd Geist


On May 11, 2006, at 11:34 AM, Russ McBride wrote:

You should be able to do whatever you need to do even with a  
recalcitrant target application because you can use the finder to  
start the app, and then brute force your way to domination of the  
application using the virtual keyboard and mouse controls.


What are you doing exactly?


I am trying to create an app that works closely with another  
application.  The other application is only partially UI scriptable  
and does not Respond to System Event gui scripts when any dialogs are  
open. Since a big part of what I am trying to do is automate dialogs  
this is a pain.


The target application is already running and it may have a dialog  
open when I begin my process.  So far I have found the only way to do  
anything is to use mouse clicks.  This sucks!


How I yearn for something like QuickKeys but in Rev.

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


systemWindow question

2006-05-10 Thread Todd Geist

Hello,

I am trying to create window that floats above all other  
applications.  I put the following script in a button, to toggle  
Float on and off.


ON mouseUp
IF the systemWindow of this stack is False THEN
set the systemWindow of this stack to true
  ELSE
set the systemWindow of this stack to false
END IF
END mouseUp


The result is that the decorations change but the window does NOT  
float above everything else.


What am I missing?

TIA
Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: systemWindow question

2006-05-10 Thread Todd Geist
I think your right.  I tried my script in 2.7.0 and it works as  
expected.


I guess I will go log a bugzilla

Todd



On May 10, 2006, at 11:23 AM, Mark Smith wrote:

On my system, mac OS 10.4.6, Rev 2.7.1, systemWindow seems to be  
broken...a window with it's systemWindow set behaves just like a  
regular palette - it won't stay on top when you move to another  
application. Is this a bug?


Best,

Mark

On 10 May 2006, at 18:51, Todd Geist wrote:


Hello,

I am trying to create window that floats above all other  
applications.  I put the following script in a button, to toggle  
Float on and off.


ON mouseUp
IF the systemWindow of this stack is False THEN
set the systemWindow of this stack to true
  ELSE
set the systemWindow of this stack to false
END IF
END mouseUp


The result is that the decorations change but the window does NOT  
float above everything else.


What am I missing?

TIA
Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: systemWindow question

2006-05-10 Thread Todd Geist

It seems to be a bug with 2.7.1 and I logged it as such.

At least it worked up until 2.7.1

Todd



On May 10, 2006, at 3:10 PM, Scott Rossi wrote:



I'm using 2.7.1 here on OSX 10.3.9 and the systemWindow property  
appears to
work fine, so maybe something broke with later versions (10.4+) of  
the OS.


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Send Keys

2006-05-10 Thread Todd Geist

Todd

Any one know of a way to send keystrokes from Rev.  I know I can use  
GUI scripting on OSX but that has some problems in the instance I  
need it in, plus I need Xplat.



TIA

--

Todd Geist
__
g e i s t   i n t e r a c t i v e



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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 stop tabbing

2006-05-09 Thread Todd Geist

Hello,

How do I keep the user from being able to tab beyond a certain tab  
stop in a scrolling list view?


Thanks

Todd



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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 stop tabbing

2006-05-09 Thread Todd Geist


On May 9, 2006, at 10:10 AM, Jerry Daniels wrote:

You're trying to hide data outside the rect of the list field? And  
you want to keep the user from seeing it?


Just asking to clarify.

Jerry


Well I guess both ultimately... but for now my need is simple. I just  
want a simple list view with two columns.  I used Chip's altHeader to  
create the Headers and it inserts two tab stops. But when I tab past  
the second column the curser is inserted in column 3 which shouldn't  
be there.  When the user tabs out of column 2 I would like the cursor  
to move to the next column.



Thanks

Todd



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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 stop tabbing

2006-05-09 Thread Todd Geist


On May 9, 2006, at 12:26 PM, Chipp Walters wrote:


Hi Todd,

You should be able to shift-click on altFldHeader and designate it  
to show only 2 fields.


best,

Chipp


I am not getting an option for the number of fields (Columns).  I did  
the first time, but not after that.  The custom property altNumCol is  
set to 2.


I deleted altFldHeader and then put it back running through the setup  
again.  It recognized that there were two columns and created two  
column headers.


But still when I tab out of the 2nd column the cursor moves to a 3rd  
very narrow column that suddenly appears.


But why would altFldHeader have anything to do with it?  Should the  
field itself control how a Tab behaves.


Rev 2.7.1 by the way.


Thanks

todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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 stop tabbing

2006-05-09 Thread Todd Geist


On May 9, 2006, at 12:26 PM, Chipp Walters wrote:


Hi Todd,

You should be able to shift-click on altFldHeader and designate it  
to show only 2 fields.




Thanks to Eric and Chip for getting me started.

I came up with the following script that does what I need.  I am  
wondering if any of you can see anything wrong with it.  Did I miss  
something?


Thanks

Todd

ON TabKey
-- this is the column setting for altFldHeader
--put the altNumCols of the group altFldHeader of card id 1002  
of stack Untitled 2 into tLastCol

put the altNumCols of the group altFldHeader into tLastCol
put item 2 of GetCell() into tCol
IF tCol  tLastCol THEN pass TabKey
END TabKey

ON returnInField
-- this is the column setting for altFldHeader
put the altNumCols of the group altFldHeader into tLastCol
put item 2 of GetCell() into tRow
IF tRow = tLastCol THEN  pass returnInField
END returnInField

FUNCTION GetCell
put the tabStops of me into tTabs
put the left of me into tMyLeft
put word two of the selectedLine of me into tRow
put item 1 of the selectedLoc of me into tSelectedLoc
put tSelectedLoc - tMyLeft into tLoc

REPEAT with i = 1 to number of items in tTabs

put item i of tTabs into tTab
IF tLoc  tTab  THEN
put i into tCol
Exit REPEAT
END IF

END REPEAT
Return tRow  ,  tCol

END GetCell






--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Optimize This!

2006-05-01 Thread Todd Geist

Hello Everyone,

I had the need to search large binary files for a string. The files  
could be over a gigabyte in size, so I decided not to load the whole  
file into ram but digest in chunks instead.  This is the routine I  
came up with, it seems to work very quickly but I am wondering if  
some of you might be able to speed it up.



FUNCTION GetPositionInBinaryFile pPath, pString, pStart, pOccurrence
open file pPath for binary read
IF pStart =  THEN
PUT 1 into pStart
END IF
IF pOccurrence =  THEN
PUT 1 into pOccurrence
END IF
put 2 into tSize
put 0 into tFoundCount
REPEAT
read from file pPath at pStart for tSize
put Offset(pString, it) into n
IF it is  THEN
Return 0
END IF
IF n  0 THEN
put tFoundCount + 1 into tFoundCount
IF tFoundCount = pOccurrence THEN
put pStart + n into tPos
Return tPos
ELSE
put pStart + n + 1 into pStart
END IF
ELSE
put pStart + tSize into pStart
END IF
END REPEAT
END GetPositionInBinaryFile
close file pPath

what do you think?  Did I miss some obvious easier way?

Thanks

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Optimize This!

2006-05-01 Thread Todd Geist


On May 1, 2006, at 1:20 AM, Jan Schenkel wrote:


Hi Todd,

Have you looked at the 'seek' command? It allows you
to go straight to a certain position in the file, and
then you can use 'read' to grab the chunk you're after
- no repeat needed.
--
open file tFilePath
seek to 3 in file tFilePath
read from file tFilePath for 500 chars
put it into tData
close file tFilePath
--



Hi Jan

I did look at the seek command, but I don't get how it can be  
applied here. I don't know the position of the string in the file so  
how could I seek to it.

I may be misunderstanding what seek does?

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Optimize This!

2006-05-01 Thread Todd Geist

Thanks Alex and Mark!

I have it in place now and it is working great. Here is the final  
version I settled on.  NOTE in my scenario, I open and close the file  
further up the chain because I call this function 4 times in a row.



FUNCTION GetPositionInBinaryFile pPath, pString, pStart, pOccurrence
put the number of chars in pString into tStringLength
put 10 into tSize
IF tStringLength = 0 THEN return 0
IF tStringLength  tSize THEN return 0
IF pStart =  THEN PUT 1 into pStart
IF pOccurrence =  THEN PUT 1 into pOccurrence
put 0 into tFoundCount
put 0 into tPos
-- file is already open so we don't need this
--open file pPath for binary read
REPEAT
read from file pPath at pStart for tSize
put it into tData
IF the number of chars in tData  tStringLength THEN return 0
put 0 into tCharsToSkip
REPEAT
put offset(pString, tData, tCharsToSkip) into n
IF n  0 THEN
add  1 to tFoundCount
IF tFoundCount = pOccurrence THEN
put pStart + tCharsToSkip + n into tPos
-- close file pPath
Return tPos
ELSE
add n + tStringLength to tCharsToSkip   -- what  
about overlapping sub-strings ??!!

END IF
ELSE
-- no more to be found in this block
EXIT REPEAT
END IF
END REPEAT
-- we get here when n = 0, i.e. no more occurrences in this  
block

put pStart + tSize - tStringLength into pStart
END REPEAT

END GetPositionInBinaryFile



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


xored

2006-04-29 Thread Todd Geist

Hello,

I have a string that has been xored with $5A. I know this is an  
encoding, but what does that mean and can I undue it with Rev?


Thanks

Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: xored

2006-04-29 Thread Todd Geist

Thanks!

Todd



On Apr 29, 2006, at 10:43 AM, Mark Smith wrote:

If this is a binary string, it may be possible to simply unencode  
it the same way


so:

repeat for each char c in yourString
  put numToChar((charToNum(c)) bitXor 90) after newStr
end repeat
--(90 is the decimal representation of hexadecimal 5A)
newStr should now contain the unencoded string.

Hope this helps






--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: xored

2006-04-29 Thread Todd Geist


On Apr 29, 2006, at 10:43 AM, Mark Smith wrote:


repeat for each char c in yourString
  put numToChar((charToNum(c)) bitXor 90) after newStr
end repeat



Mark,

Forgive me but, How do I go the other way?

I want to encode it back the other way?

Thanks

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Installing and Using Revolution as a CGI on Tierra.Net (was Dreamhost)

2006-04-20 Thread Todd Geist

Dreamhost has Miva and it is fairly simple to setup rev


www.dreamhost.com


Todd



On Apr 20, 2006, at 11:13 AM, Marty Knapp wrote:

I'm trying to find a new web host where I can install Rev and I  
need the Miva shopping cart. Anybody out there know of anything?  
I'm currently using Websitesource and just discovered that they're  
blocking access from people using Shaw Cable (a big provider in  
Canada). Websitesource's tech support is slow and not very helpful.  
They also won't allow installation of Rev unless I get a virtual  
private server. I currently have 2 sites that use Miva 4 and am not  
too excited about switching/learning something else.


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Director / Folder Browser in Rev

2006-04-20 Thread Todd Geist
In the last couple of days I came across something about a directory/  
Folder Browser in Rev.   It could have been on a web site or in the  
list.  I just can't remember where I saw it and now I would like to  
look at it.


Can anybody help?

Thanks

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Director / Folder Browser in Rev

2006-04-20 Thread Todd Geist

Found it on Ken's site


http://www.sonsothunder.com/devres/revolution/code/stsGetFileListing.htm


Todd


On Apr 20, 2006, at 2:46 PM, Todd Geist wrote:

In the last couple of days I came across something about a  
directory/ Folder Browser in Rev.   It could have been on a web  
site or in the list.  I just can't remember where I saw it and now  
I would like to look at it.


Can anybody help?

Thanks

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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

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


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


FTP Attempts

2006-04-19 Thread Todd Geist

Hello,


I am trying the following script and I am getting an error.


ON mouseUp pMouseBtnNum
libURLSetFTPMode passive

get libURLftpCommand(NLST,ftp4.mysite.com: 
21,user,pasword)

put it into field 1

pass MouseUp
END MouseUp

--   226 Transfer Failed!


Any clues for me?

Also if anybody knows where I can get some in depthe FTP examples or  
libraries that would very helpful


Thanks

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: FTP Attempts

2006-04-19 Thread Todd Geist

Hi Mark.

On Apr 19, 2006, at 1:49 PM, Mark Wieder wrote:


Todd-

Wednesday, April 19, 2006, 1:41:13 PM, you wrote:


ON mouseUp pMouseBtnNum
 libURLSetFTPMode passive


Some reason you're using passive mode instead of active? I don't have
the time to look this up right now, but I don't think you can mix
passive mode and port 21.


I thought everything had to start with Port 21.  Then the passive  
Port ranges come into play later???


But even if I change to Active I get the same result



Other than that, does this work outside of
rev? Are there firewall issues?


Yes it works with any other FTP client.

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: FTP Attempts

2006-04-19 Thread Todd Geist

Thank You!




On Apr 19, 2006, at 2:53 PM, Mark Schonewille wrote:


Hi Todd,

You cannot issue an NLST command with libUrlFtpCommand. Instead,  
you have to use the libURLSetFTPListCommand command.


libURLSetFTPListCommand NLST|LIST


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


DreamHost CGI not working...

2006-04-18 Thread Todd Geist

Posted this on the forum... but kind of in a hurry

I tried to follow the directions posted on the forum for setting up a  
Dreamhost account for Rev CGI, but I am getting an 500 Internal  
Server Error.


I placed both the engine and the very simple hello world script in  
a folder called rev. My FTP client (Transmit) reports that both are  
set to 755. My text editor (TextWrangler) reports that the line  
breaks are Unix.


Here is my script

Code:
#!revolution

on startup
  put Content-Type: text/plain  cr  cr
  put Hello World!
end startup


IN my Dreamhost Control Panel I have the Extra Security box  
checked, and I have fast cgi support checked.


Any ideas why this is not working?

Thanks

Todd



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: DreamHost CGI not working...

2006-04-18 Thread Todd Geist

Thanks Mark

But everything I know how to test tells me that the line endings are  
Line Feeds, ASC13.  and I ams till getting an error.


Todd


On Apr 18, 2006, at 11:09 AM, Mark Wieder wrote:


Todd-

Tuesday, April 18, 2006, 11:02:43 AM, you wrote:


I tried to follow the directions posted on the forum for setting up a
Dreamhost account for Rev CGI, but I am getting an 500 Internal
Server Error.


This is almost probably a script error. I was getting 500 errors until
I changed the line endings in my script file, then it suddenly started
working.


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: DreamHost CGI not working...

2006-04-18 Thread Todd Geist

This turns out to be it.  I guess I missed this part.

On Apr 18, 2006, at 12:58 PM, Alex Tweedly wrote:



Jacque's instructions said to name the engine revolution, so I  
tried that


I changed the name of the engine to revolution and it now works.


Also


Tuesday, April 18, 2006, 12:39:19 PM, you wrote:



But everything I know how to test tells me that the line endings are
Line Feeds, ASC13.  and I ams till getting an error.



There you go. Looks like Alex managed to get things working, but if I
were you I'd

replace NumToChar(13) with NumToChar(10) in YourTextFile



I misspoke earlier...  the line endings were AscII 10 not 13.

Thanks Everyone!

Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: DreamHost CGI not working...

2006-04-18 Thread Todd Geist


On Apr 18, 2006, at 1:54 PM, Richard Gaskin wrote:


Todd Geist wrote:

On Apr 18, 2006, at 12:58 PM, Alex Tweedly wrote:


Jacque's instructions said to name the engine revolution, so I   
tried that

I changed the name of the engine to revolution and it now works.


Why would the engine care what its name is?



the name just needs to match the first line in the script.  That is  
what i had wrong, I think???



Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Counting Chars By ASCII Part 2

2006-03-01 Thread Todd Geist

Hello Again,

After trying several of the excellent suggestions from all you  
revolutionaries, I realized I hadn't quite explained myself... go  
figure.  So here is another attempt to explain what I am after.


I am actually after low ASCII and High ASCII characters that my  
have snuck into a text file. So I need to look at every character,  
but I don't need to count every character.  I just want the ones that  
have ASCII values below 32 and above 255 and that are not in a small  
set of allowed control characters.


Based on the suggestions I got on the other thread, I came up with  
the following that produces the results I am after.  SPEED is  
critical here, since the files I am scanning maybe many mbs. I am  
wondering if any of you can improve on the design.  I  feel the need,  
the need for SPEED.  :)


put field 1 into tString
put 10 11 12 29 into charsToIgnore

REPEAT for each char tChar in tString
put charToNum(tChar) into tASCII
IF (tASCII  31 OR tASCII  255) THEN
IF tASCII is not among the words of charsToIgnore THEN
add 1 to tCounts[tASCII]
END IF
END IF
END REPEAT
put the keys of tCounts into tChars
sort lines of tChars numeric

REPEAT for each line thisLine in tChars
put thisLine  TAB  tCounts[thisLine]  Return after newList
END REPEAT

put newList into field Chars

Thanks in Advance

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Counting Chars By ASCII Part 2

2006-03-01 Thread Todd Geist

Sorry for not getting back to answer questions.

I am moving my office and I cut the tip of my index finger off.  Just  
a little bit of the tip. But it makes typing very difficult  :)


Here are the answers to a couple of questions...

My script can do 25 mb in a minute or two, but I had not been using  
unicode set to true, which I will need to do.


I want to display the list of these bad characters, then I will want  
to remove them.


I am not sure if I need to deal with character higher then 255.  I am  
trying to clean potentially corrupt data from database records.  I  
think chars greater then 255 will be possible, and bad. So If they  
are there I want to zap them.



Thanks for all the help

:)

Todd




--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Counting Chars by ASCI Values

2006-02-28 Thread Todd Geist

Hello

I need to count the number of times a Character occurs in text  
string. The character will be high or Low ASCII.  SO I need to input  
the value as an ASCII value.


Anybody have any scripts that can get me started?


Thanks

Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: Counting Chars by ASCI Values

2006-02-28 Thread Todd Geist

Thanks!

Todd




On Feb 28, 2006, at 1:41 PM, Jonathan Lynch wrote:

You know, you can use the numtochar and chartonum functions to go  
between

ascii/ansi numbers and the equivalent character.

like this

function NumCharsInString pAsciiChar pString
  put numtochar(pString) into tChar
  put 0 into tCount
  repeat for each char tCharToCheck in pString
if tChar = tCharToCheck then add 1 to tCount
  end repeat
  return tCount
end NumCharsInString


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: ANN: Save Plugin plugin

2006-02-14 Thread Todd Geist


On Feb 13, 2006, at 11:40 PM, Mark Wieder wrote:

 Third-party plugins are now stored globally so that they are
persistent across multiple version installs.



I see a Plugins folder inside the 2.7.0-gm-1 folder.  How is this  
different then it was before and how will this effect multiple  
installs?  Won't there be a different folder for each Rev install?


Thanks

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: massive xml docs

2006-02-09 Thread Todd Geist


On Feb 9, 2006, at 1:01 PM, Mark Wieder wrote:


Todd-

Can you just work with the DTD? And then query the xml document for
data elements you're interested in?


I am not sure.  But that might work


Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


revXMLMatchingNode

2006-02-09 Thread Todd Geist

Hello,

I am trying to figure out how to find all the nodes in an xml doc  
that have an attribute with a specific value. I can use



revXMLMatchingNode(treeID,startNode,childName,  
attributeName,attributeValue,depth)



to return the first node,

But how do I get the next one?

Any ideas???

tia

Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Massive XML docs

2006-02-08 Thread Todd Geist

Hello Everyone.

I have some very large XML files ( 100mb or more) that I would to  
parse. And this thing has to be fast.  I mean FAST. Since I have done  
almost no work with rev and XML, I am looking for advice on how to  
proceed


The user experience needs to be some thing like this...

I select the XML and very quickly I see the info about the top level  
nodes


I select one of the top level nodes and I am very quickly presented  
with more detail on it. Which may include all of it's children and  
also information from other parts of the XML document that is related.


I continue to work my way around the document, by simple selecting  
the elements that I need more info on.



At no point will a user ever need to see all the data that is in the  
XML doc.  They are almost always looking for info on just one element  
buried in there.  What I don't know is if the user is just walking  
around the xml document one piece at a time, do I need to load the  
whole thing into RAM in a revXMLTree, and If I do, won't that just be  
insane for 100mb xml file.  Or can I do it one step at a time as the  
user requests more detailed info.


Can Valentina or SQLlite be employed to help the situation?

Or would it be faster to parse it into a whole slew of custom props?

Any ideas and or thoughts would be much appreciated

Thanks

Todd



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: PayPal, Kagi, esellerate. Splitting revenue

2006-02-08 Thread Todd Geist


On Feb 8, 2006, at 8:41 AM, Lynn Fredricks wrote:

I think it's a good idea to decide where you want to go with your  
software

business when making this kind of decision. If you do not see yourself
turning your software business into a full time endeavor AND you arent
selling an infrastructure style product (where buyers are often  
scared to

buy something called shareware),



Perhaps a point of clarification

I was thinking a lot about tools that are targeted at folks who use  
shareware all the time. Developers and power users. I do not think  
this approach would work well for end user, consumer or professional.  
But how many of you out there make some money on shareware or  
developer tools?  I know there area lot of you...Wouldn't it be nice  
to have a way to quickly a collaboration agreement together and get  
some thing out the door ASAP.


Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: massive xml docs

2006-02-08 Thread Todd Geist


On Feb 8, 2006, at 9:44 PM, [EMAIL PROTECTED] wrote:


You can use revcreatexmltree, and just tell it to not build the dom
tree/or keep the document in memory, and handle the messages.

revCreateXMLTree(field XML Data,true,false,true)


But won't that still choke on something as big as 100MB?

Todd




--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: massive xml docs

2006-02-08 Thread Todd Geist


On Feb 8, 2006, at 11:15 PM, Ken Ray wrote:



If I read it correctly, the answer is no - basically, with true  
as the
last param, you're telling the DLL to send you a message when it's  
about to
start parsing the tree, when it encounters each node (so you can  
extract
attributes from the node) and when it encounters data for the node.  
So you

write your own code to work with the XML data as it's being parsed...


hmmm... that may be perfect for what I need to do, since I don't need  
to parse the whole document, just the parts the user is interested  
in.  It is unlikely that user will ever need to get at the vast  
majority of the data in there.


I wonder...

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Emailing win2k Logs

2006-01-30 Thread Todd Geist

Hello

I need to have some logs dumped from a Win2k server and emailed to me  
every night.  I thought Rev would be a great tool to do that with,  
but before I get started I thought I would ask if anyone has done  
anything like this before and would be willing share since I am short  
on time.


Ideally it runs every night at midnight dumps logs for a particular  
application to a .csv and then emails it to me.  And even better if  
it ran as a service.


TIA

Todd

--

Todd Geist
__
g e i s t   i n t e r a c t i v e



--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


esellerate ???

2006-01-11 Thread Todd Geist

Hello

Has anybody out there used esellerate with Revolution?

http://www.esellerate.net/

Any plug-ins?  any opinions

Thanks very much!

Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

___
use-revolution mailing list
use-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: revChandler [was] A supplement suite of office programs?

2005-12-23 Thread Todd Geist


On Dec 23, 2005, at 1:20 AM, Dom wrote:


think to OpenDoc... half of a success or half of a failure ;

and also -- major sofware makers are not willing to release the  
power to

the masses...


Then we shall have to release it for them!

Sounds like a Revolution to me  ;)

Todd


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


revChandler [was] A supplement suite of office programs?

2005-12-22 Thread Todd Geist


On Dec 22, 2005, at 5:24 PM, Alex Tweedly wrote:

I do think Chandler has fallen into the trap of over-architecting  
their solution - but nevertheless they have tackled a hard problem,  
and have built a foundation on which the complete (and secure)  
sharing of all the PIM info should be doable..


btw - it's being built in Python, by a group including some pretty  
smart people.



I have been following Chandler for a long time.  They have some very  
good ideas.


Lately I have been struck by just how broken the current paradigm  
of managing and maintaining information. There is far too much info  
flowing at us and no good way of managing it. I think we are stuck  
with old paradigms and tools that are so ingrained that we are having  
trouble breaking free.  Think about it for a minute. The computer  
desktop and it's folders are no way to store things.  An email  
browser is not a work flow and process management tool.  Calendars  
that I look pretty but are locked up in some proprietary format are  
useless.  Everytime I put my data somewhere, I immediately want it  
somewhere else and I can't get it there with out copy and paste.


I think we have an application centric view of the data on our  
computers and this is a problem.  We relate to our data based on the  
application we use to access it. I think Address Book when I need  
to find someone's phone number.  Or I think iCal when I need to  
schedule something.


Since Applications are where everything lives I am constantly  
shifting focus from Application to Application.  In the early days of  
multi-finder this was great.  No more! It drives me nuts!


BUT

We are beginning to see some new stuff out there that is starting to  
break down this Application Trap.  Apple's core suite are better  
integrated then ever, but they still make it difficult to get  
directly at the data.  But what is even more interesting is thing's  
Like Chandler and Quicksilver (OSX).


QuickSilver is pretty neato!  I am a heavy addict of it already. With  
Quicksliver installed. I just start typing and a list of things I can  
view (NOUN) just pops up. then I Press tab and a List of things I can  
do (VERBS) to the first thing pops up.  It's brilliant. I don't care  
what app has my Contact Info or what my Email App.  If I want to  
email Dan Shafer. I just start typing Dan and a few keystrokes  
later the email is on it's way.



All this rambling is to make a point. I think Chandler has some great  
ideas. Check out there roadmap and design principles. I wonder if it  
could be implemented in Rev?  THAT WOULD ROCK!


--

Todd Geist
__
g e i s t   i n t e r a c t i v e

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


Help Docs - Rev Stacks

2005-11-02 Thread Todd Geist
Hello,


Has anybody done anything with importing the HTML Help files that OSX uses
into Rev stacks?.

I would love to be able to annotate the docs for some applications that I
use all the time. Possible create my own UI's to them with favorite's,
bookmarks etc.

Any thoughts?

Thanks

Todd


-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Toplevel vs Open vs start using

2005-10-20 Thread Todd Geist
Hello,

I have used 3 different methods to Open a stack.

Open
  Just to open a stack and draw a window.

start using
for opening a library file to get at it's functions and scripts.

Toplevel
First I load a stack into a variable and then use toplevel and hide it.
I use this to open stacks that I use to store data in custom properties.

I am not clear on the distinctions here.  They all show up in the
application browser ( or Constellations Object Gadget).  I have lots of
questions but these will have to do.

Is a stack opened by start using just loaded into Memory but not opened?

Should I always call Stop using right after I am done with start using?

Does toplevel do the same thing as Open

Can I open stack invisibly?


Thanks  again

Todd


-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Saving Itself

2005-10-20 Thread Todd Geist
Hi Roger,

On 10/20/05 9:04 AM, Roger Guay [EMAIL PROTECTED] wrote:
 Todd,
 
 Sorry to butt in, but could you tell me what MagicCarpet AAA is and
 how it addresses your save needs?
 
 Thanks, Roger


MagicCarpet AAA stands for

 MagicCarpet  Auto-update Application Architecture

This is a way of building Rev applications that update over the web and rely
upon the MagicCarpet Version Control Software from Altuit

http://www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm

One of the key features is that there is only one very simply stack that is
part of the standalone. The vast majority of the code for the app exists in
regular stacks that are not part of the standalone and there for can be
saved to.

I think another term for this type of architecture is the Splash Screen
App. Since it is often only the splash screen that is bound to the runtime.

HTH 

Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Saving Itself

2005-10-19 Thread Todd Geist
Hello,


When a user clicks the close box I don't want the confirm close dialog
popping up.  I thought this would do it by saving the stack first.

ON closeStack
save this stack
pass closeStack
END closeStack

But it doesn't.  Any ideas?

Thanks

Todd




-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Saving Itself

2005-10-19 Thread Todd Geist

On 10/19/05 10:02 PM, Chipp Walters [EMAIL PROTECTED] wrote:

 check out the closeStackRequest message.

Thanks!  I got confused there.  Thanks for clearing that up.


 
 Also, you cannot save a stack or substack which is part of a standalone.

This much I do know.One of the reasons I am using MagicCarpet AAA

:)



Thanks

Todd


-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


vAlign Images in lines of text

2005-10-18 Thread Todd Geist
Hello,

I used set imageSource to put a little Icon in a line of text.

What I get is both the Icon and the text aligned to the text base line

What I want is for the text to be centered on the Icon.

Is this possible?

Thanks

Todd



-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Make image controls from Rev Graphics?

2005-10-18 Thread Todd Geist
Hello,


I would like to turn some little graphic icons I made with Rev's drawing
tools into Images/Icons that I could attach to buttons for the different
button states.

Is there any easy way to do this?

Thanks for your help
Todd


-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Make image controls from Rev Graphics?

2005-10-18 Thread Todd Geist
Thanks, but unfortunately BudgetGadget is Windows only

:(

Todd

On 10/18/05 9:04 AM, MisterX [EMAIL PROTECTED] wrote:

 although I don't know if it works in rev? Chipp?
 
 And it's Chipps famous buttonGadget...
 Never tried it but it looks easy and painless!
 
 http://www.buttongadget.com/buttongadget/default.htm

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Constellation's Great, But the Rev IDE Doesn't Suck

2005-10-18 Thread Todd Geist
Hello,

On 10/18/05 10:01 AM, Dan Shafer [EMAIL PROTECTED] wrote:

 4.  Windows in the IDE never open where you left them, especially
 when you have 2 monitors.
 Yeah, this one's a real PITA. I can't ell you how many times I've had
 to use the message box to reposition windows that are on my no-longer-
 connected external monitor.

Drives me nuts too.  When at my office I am plugged in two monitors.  When I
am at Starbucks I just have the one.

I finally created a little stack that lets me pick an open stack and then
set the left and top.

If anybody wants it, send me an email off list.

Todd


-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Make image controls from Rev Graphics?

2005-10-18 Thread Todd Geist



On 10/18/05 12:51 PM, Ken Norris [EMAIL PROTECTED] wrote:

 Sure. Checkout the the PI. You can assign a button state to the ID of
 an image. Can't imagine anything much easier than that.

Yes but how do I get a GRAPHIC to turn into an image?

Thanks

Todd



-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Make image controls from Rev Graphics?

2005-10-18 Thread Todd Geist


On 10/18/05 1:13 PM, Chipp Walters [EMAIL PROTECTED] wrote:

 Todd,
 
 I'm not exactly sure what it is you're trying to do. Perhaps you can
 explain a bit more what it is you want to accomplish. Using 'import
 snapshot' should be able to create an image from any rect on the card.

I have created some Arrows and Triangles etc, using Rev's drawing tools.
They are graphic controls. I would like to add them as Icons to buttons.  SO
I need to turn them into images right?

So can I just 'import snapshot' from the rectangle of the graphic?

Thanks

Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Open source collaboration [WAS: Re: Rev vs. AJAX... Ajax vs TAOO]

2005-10-17 Thread Todd Geist


On 10/16/05 11:45 PM, Mark Wieder [EMAIL PROTECTED] wrote:

 Cool. And that makes sense, now that FileMaker 7 finally allows
 separate files instead of the monolithic structure it's always had.
 Now if we could just get FileMaker to adopt xTalk to give it a *real*
 programming language...

Actually FileMaker 7 (and now FileMaker 8) encourages development in less
files then before.

Pre FileMaker 7 every table was in its own file

Since FileMaker all your tables can be in one file.  Note I said can be.
they don't have to be, but most developers want less files. For good
reasons.

What did happen with FileMaker 7 is the possibility of separating data from
interface.

Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


vAlign Images in lines of text

2005-10-17 Thread Todd Geist
Hello,

I used set imageSource to put a little Icon in a line of text.

What I get is both the Icon and the text aligned to the text base line

What I want is for the text to be centered on the Icon.

Is this possible?

Thanks

Todd



-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: vAlign Images in lines of text

2005-10-17 Thread Todd Geist
Thanks!


On 10/17/05 8:37 AM, Scott Rossi [EMAIL PROTECTED] wrote:

 I've done this by adding transparent space to the image (top or bottom
 depending on the image and the textHeight/textSize of the field).  You may
 also need to fiddle with the fixedLineheight to get the alignment to work.

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Open source collaboration [WAS: Re: Rev vs. AJAX... Ajax vs TAOO]

2005-10-16 Thread Todd Geist

On 10/15/05 3:40 PM, Richard Gaskin [EMAIL PROTECTED] wrote:

 You can solve little things like moving around files and integrating
 them into the master build as you go.
 
 That stuff is easy.
 
 The hard part is retaining and utilizing human energy.

I think this is exactly why some type of CVS would be useful.

If someone has a burst of creative energy and wants to apply it to an open
source project they can't wait around to get get organized and find out who
has the latest version of a stack or what ever.

But if the code was available in some sort of CVS then they can get to work
while the burst of creative energy is still fresh.

If the project is always as close to possible to ready to work on then it
will be easier to retain and utilize the creative energy necessary to finish
a project.

Cheers

Todd



Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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 vs. AJAX...Or Web-Aware Apps vs. Web Apps

2005-10-15 Thread Todd Geist
Inspiring!

On 10/15/05 12:22 AM, Judy Perry [EMAIL PROTECTED] wrote:

 The more that we actively discourage 'thinking outside of the box' (or
 even thinking at all), the more we damn ourselves to the present and its
 limitations.
 

And then Scott countered with,

On 10/15/05 1:17 AM, Scott Rossi [EMAIL PROTECTED] wrote:

 IMO, the use of templates/themes is not an attempt to discourage thinking
 outside the box.  It is an attempt to illuminate the fact that there is, in
 fact, a box present, which has certain properties and rules, and one must
 learn the limitations of the box before one can learn to think outside it.
 
 What you may see as dumbing down, others may see as education.

I have studied Japanese Martial  Art of Aikido for over 12 years. My
teachers used various kata and exercises (movement templates) to teach us
the basic concepts and principles of martial movement. They taught us very
precise movements, re-enforcing them through practice and demonstration.

BUT they also always told us that someday we must forget everything we had
learned and create our own Aikido.  That was the goal.  BUT first we had to
fully absorb the principles of Aikido. If we tried to think out side the box
too early or too much, we would not understand what were doing and risked
injuring ourselves or lour training partners.

My teachers always complained that we either to tied to the templates OR
that we were forgetting the principles. Or put another way we either saw the
Templates as the Goal or we didn't know what the [EMAIL PROTECTED]@$ we were 
doing.

I see this very much the same way.  The danger of templates is that people
see them as the goal and don't think outside the box.  And not having
Templates  makes it very hard for people to learn about the box, which makes
it very hard to step out side of it.

So like many important questions that face humans on a daily basis, The
answer to the question are template GOOD or BAD is...

YES!

Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Open source collaboration [WAS: Re: Rev vs. AJAX... Ajax vs TAOO]

2005-10-15 Thread Todd Geist

On 10/14/05 7:03 PM, Alex Tweedly [EMAIL PROTECTED] wrote:

 the lack of a RCS / CVS /
 subversion equivalent makes multi-developer efforts so much harder in
 Rev than in other languages that it just hasn't happened.

I don't know much about CVS, so I am going to ask the dumb question.

Why can't a CVS system be built for Rev?

I am using Magic Carpet from Altuit and I like it a lot.  I know that it's
smallest chunk that you can check out is a stack, but it is still cool.

Couldn't something be built to deal with objects smaller then a stack?
Perhaps you could check out scripts or pieces of scripts.  Or buttons or
cards.

Maybe a good place to start with an open source community project would be
for to build a RevCVS.

Am I crazy or what?

I just know this.  I am new to Rev. and yet I am about to release a product
that my competitors can't touch, because I can build it so much faster in
Rev then they can with other tools.  And I making extensive use of examples
and example stacks and plug-ins. (Thanks everyone  :)  )

BUT THAT SAID.  I can compete well in this little niche because the scope is
fairly small.  Even as fast as Rev is, large complex projects are well...
Large and complex...  The benefits of having  code management system for
those projects would be huge

Cheers
Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Image woes...

2005-10-12 Thread Todd Geist
It's late but I can't seem to figure this out..


I saved a  PNG to disk using

put img image into URL binfile:/pathToPng

Now I want to get it back into an image control


Why can't I use?

Put URL binfile:/pathToPng into img image

I am getting an empty image.

What am I missing?

Thanks

Todd


Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Scale to fit

2005-10-12 Thread Todd Geist
Hello

I have an image on a card and would like to scale it to fit in a button
dynamically.

In other words as the button gets bigger the icon should until it reaches
its actual size.

I can handle the button getting bigger, but I have no idea how to accomplish
making the icon scale.

Anybody have any examples?

Thanks

Todd





-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Image woes...

2005-10-12 Thread Todd Geist
Still having problems

On 10/12/05 4:59 AM, Klaus Major [EMAIL PROTECTED] wrote:
 Hmm, that does work actually, i use this almost everyday.
 
 Did you check the image on disk with an image viewer?
 Maybe it got corrupted somehow...

Here is what I am doing. Mac OSX 10.4.1 Rev 2.6.1

I use button with the following handler to grab an image of the clipboard
and place it in a file on my desktop.

ON mouseUp

put the clipboardData[image] into img image
put specialFolderPath(desktop)  /test.png into tPath
put binfile:  tPath into tURL
put img image into URL tURL
END MouseUP

--  test.png is created on on the desktop and looks good when opened with
Preview.  And img image shows the image contents.

I have a second button with this handler to copy the image back off the disk
into  a second image control.

ON mouseUp
put specialFolderPath(desktop)  /test.png into tPath
put URL tURL into img image2
put the result
END MouseUP

--  FAILS.  The second image control img image2 is still empty.

Any clues?

Thanks very much


Todd
-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Scale to fit

2005-10-11 Thread Todd Geist
Thanks for this tip

On 10/10/05 11:09 PM, Ken Ray [EMAIL PROTECTED] wrote:

 Here you go:
 
 function stsScaleObject pOrigW,pOrigH,pMaxW,pMaxH
   put pMaxW/pOrigW into tPctW
   put pMaxH/pOrigH into tPctH
   if tPctH  tPctW then
 put pOrigH * tPctH into tNewH
 put pOrigW * tPctH into tNewW
   else
 put pOrigH * tPctW into tNewH
 put pOrigW * tPctW into tNewW
   end if
   return round(tNewW),round(tNewH)
 end stsScaleObject


I added the constraint of only scaling when necessary and this is what I
came up with

FUNCTION stsScaleObject pOrigW,pOrigH,pMaxW,pMaxH
   put pMaxW/pOrigW into tPctW
   put pMaxH/pOrigH into tPctH
   IF tPctH  tPctW THEN
  IF  tPctH  1 THEN
 put pOrigH * tPctH into tNewH
 put pOrigW * tPctH into tNewW
  ELSE
 put pOrigH into tNewH
 put pOrigW into tNewW
  END if
   ELSE
  IF tPctW  1 THEN
 put pOrigH * tPctW into tNewH
 put pOrigW * tPctW into tNewW
  ELSE
 put pOrigH into tNewH
 put pOrigW into tNewW
  END if
   END if

   return round(tNewW),round(tNewH)
END stsScaleObject


It could probably be optimized but it works

Thanks again

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Constellation users?

2005-10-11 Thread Todd Geist
Hi Troi,

I am using it every day. I think it is great and it continues to improve
with every release.

I am new Rev user and I never used Rev's IDE much. So I didn't have to adapt
from something else. But I just liked Constellation better so I went with
that.  Occasionally I use Rev's Property inspector along with Constellation,
but for the most part I don't use the Rev script editor at all.

I would be happy you answer any more questions you might have


Todd

On 10/11/05 8:11 AM, Troy Rollins [EMAIL PROTECTED] wrote:

 Anyone here using DM's Constellation and other Gadgets on a daily
 basis that might be willing to answer a few questions, on or off list?
 I'm considering it, but I don't see a trial version so I'd like to get
 a couple of usage details from a regular user.

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Not exactly a System Window???

2005-10-11 Thread Todd Geist
Hello,

I am building a tool that I would Like to appear in a window floating above
everything but only when a certain other apps are in front.

The idea is that it should appear as a Tool Palette for some Apps but not
all applications.

I know how to set the systemWindow prop to true, but I don't know how to
make it only be true when some applications are in front but not others.

Initially this would be targeted at Mac OSX but Windows would follow
immediately after.

Anybody have any ideas?

Thanks

Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Not exactly a System Window???

2005-10-11 Thread Todd Geist
Thanks Again Ken!

On 10/11/05 10:25 AM, Ken Ray [EMAIL PROTECTED] wrote:

 Well, you could constantly poll for the frontmost application process on OS
 X using AppleScript, and then set the style of the window to 'system' only
 when a particular app was in front, and to 'palette' all the other times.

Will constantly poll have an impact on the performance of the stack?

Does anybody have an example of how to set up polling?

Thanks  again!

Todd


-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Scale to fit

2005-10-10 Thread Todd Geist
Hello

I have an image on a card and would like to scale it to fit in a button
dynamically.

In other words as the button gets bigger the icon should until it reaches
its actual size.

I can handle the button getting bigger, but I have no idea how to accomplish
making the icon scale.

Anybody have any examples?

Thanks

Todd





-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Scale to fit

2005-10-10 Thread Todd Geist
Thanks!


On 10/10/05 3:26 PM, David Burgun [EMAIL PROTECTED] wrote:

 
 put 100,100,300,400 into myRect
 set the rect of image X to myRect

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Scale to fit

2005-10-10 Thread Todd Geist
Thanks for this tip

Now I want to go one step further. I want it to scale but to maintain it's
original proportions.  Is there an easy way to do that?


On 10/10/05 3:26 PM, David Burgun [EMAIL PROTECTED] wrote:

 To rescale, just set a new rect as in:
 
 put 100,100,300,400 into myRect
 set the rect of image X to myRect

Thanks

Todd


-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Copy Image

2005-10-08 Thread Todd Geist
Ok well that is probably what is going on here.

I am sorry I pointed a finger at Constellation.  I absolutely love it. It is
a joy to work with.

Sorry Jerry


On 10/8/05 9:03 AM, Jim Ault [EMAIL PROTECTED] wrote:

 I have found that clipboard operations, including the clipboarddata in Rev
 require a hesitation of 0.5 to 1 sec to allow the operating system to deal
 with the 'shared/transportable' nature of clipboard data.  Microsoft has
 extensive clipboard definitions (Excel charts, bit maps, rtf, etc) which
 adds to user flexibility, for example, but they don't easily translate to
 other programs.  The same works for Photoshop, if that is what you are using
 to work with you images.

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Copy Image

2005-10-07 Thread Todd Geist
Thanks Chip and Sarah for your responses.

It seems to be a false alarm. Or at least not a real problem for rev but
rather for Constellation...  :(

I love Constellation.  Jerry has done a terrific job. But it seems to be
throwing a phantom error here.  Or at least switching to using Rev's Object
editors removes the error.  I am going to see if I can recreate the problem
in simple stack pair and send it to Jerry.

Thanks
Again

Todd


On 10/6/05 10:47 PM, Sarah Reichelt [EMAIL PROTECTED] wrote:

 I am trying to copy and image from the current card to a card in a external
 stack, GrommetData.
 
 If the image is already there from a previous copy,  I delete it first and
 then copy it to the card.
 
 If the image is already there all works as expected, BUT if the image is not
 alredy there I get an error after the image is copied.  The handler looks
 like this
 
 
IF exists (img image of cd tCard of stack GrommetData) THEN
   delete img image of cd tCard of stack GrommetData
END if
 
copy img image to cd tCard of stack GrommetData
 
 
 Hi Todd,
 
 I just made a test with a mainStack and a sub-stack called Sub. I
 imported an image from the image library and tested it with the
 following button script:
 
 on mouseUp
   if there is an img alerthand.gif of cd 1 of stack Sub then
 delete img alerthand.gif of cd 1 of stack Sub
 wait 1 second
   end if
   copy img alerthand.gif to cd 1 of stack Sub
   put the result
 end mouseUp
 
 It all worked perfectly whether Sub had the image already or not. (The
 wait is only there so that I can see that the original is really
 deleted).
 
 You say the error occurs after the image has been copied. What is the
 error? What happens next in your script? If you isolate the copying
 script completely, does it work then?
 
 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

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Copy Image

2005-10-07 Thread Todd Geist

On 10/7/05 3:32 PM, Jerry Daniels [EMAIL PROTECTED] wrote:

 Todd,
 
 By all means, send an example along to me. If I can replicate it, I
 can fix it.
 
 I copy images pretty often but have not had any problems with it, but
 that doesn't mean there isn't a bug in there waiting to be fixed.
 Best,

I haven't been able to completely isolate the issue but I did get a work
around.

My app is processing and saving some Clipboard Contents.  A series of
handlers does the work

GetTheClip  -- got the clipboard

ParseTheClip  -- Parsed some stuff and put the clipboard image in a img on
the current card

SaveTheClip  --  Saved some text and the img to a card on a data stack


SaveTheClip worked just fine As did ParseTheClip. But strung together in
a parent handler they did not.

So I put a wait .05 sec in between them and everything worked.
That is as close as I can get.  If I get any more info I will pass it on.


Thanks

Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Create a Card in an other Stack

2005-10-06 Thread Todd Geist
Hello,

I have ui Stack and a data stack.

I want to create a new Card in my Data stack from the UI Stack, so I can
store a new record on a new Card in the Data Stack.

I can't figure out how to make it work. I tried using send to trigger a
handler in the data stack but that doesn't seem to work.

What am i not understanding about this?

Thanks

Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Create a Card in an other Stack

2005-10-06 Thread Todd Geist
Hello,

I have ui Stack and a data stack.

I want to create a new Card in my Data stack from the UI Stack, so I can
store a new record on a new Card in the Data Stack.

I can't figure out how to make it work. I tried using send to trigger a
handler in the data stack but that doesn't seem to work.

What am i not understanding about this?

Thanks

Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


TEST - please ignore

2005-10-06 Thread Todd Geist

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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


Copy Image

2005-10-06 Thread Todd Geist
Hello,

Thanks for all the help last few days... Now I have another question.

I am trying to copy an image from the current  card to a card in another
stack.  The code looks like this

copy img image to cd tCard of stack Data

The image actually moves over to the card just fine. BUT I get an Execution
Error.

Does anybody know why?

Thanks so much

Todd

-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


___
use-revolution mailing list
use-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: Copy Image

2005-10-06 Thread Todd Geist
Let me try to give some more info.  I am so new I can't even ask the
questions correctly  :(

I am trying to copy and image from the current card to a card in a external
stack, GrommetData.

If the image is already there from a previous copy,  I delete it first and
then copy it to the card.

If the image is already there all works as expected, BUT if the image is not
alredy there I get an error after the image is copied.  The handler looks
like this


   IF exists (img image of cd tCard of stack GrommetData) THEN
  delete img image of cd tCard of stack GrommetData
   END if
   
   copy img image to cd tCard of stack GrommetData



Again, this does not work the fiirst time, but once the image has been
copied to the target card once it works.

Does anybody have any clues?

Thanks

Todd










-- 

Todd Geist
__
g e i s t   i n t e r a c t i v e 


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