Re: protecting images in standalone?

2007-05-11 Thread Eric Chatonet

Hi Robert,

Le 11 mai 07 à 04:22, Robert Mann a écrit :


 Sounds Like I should try and put the pictures into customproperties I
created a customproperty for the stack
ctgfork1
now how to I put the picture into it, if I open the property  
inspector I
only can add text to it? I have looked at the manual for  
customproperties it
shows some code to add the picture to the property but can not get  
it to

work
tried this

set the itemdelimiter to slash
put the effective filename of this stack into dbPath
delete the last item of dbPath
put "/ctgfork01.PNG" after dbPath #
set the ctgfork1 of stack "specs" to URL "binfile:dbPath"


set the ctgfork1 of stack "specs" to URL("binfile:" & dbPath)
'binfile' is a text string and 'dbPath' is a variable: they must be  
concatenated :-)


Best regards from Paris,
Eric Chatonet.

http://www.sosmartsoftware.com/
[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


looking for win icon editor with icns output

2007-05-11 Thread Tiemo Hollmann TB
Hello all,

My platform is Win XP and I am using Icofx to create Win Icons for Rev, what
works perfect. I have been searching for a freeware tool to create or
convert win icons (ico) to Mac Icons (icns) but didn't find anything yet. I
have only found tools to create for both platforms, working on Mac. Does
anybody has a tip for a tool on Win?

Thanks

Tiemo

 

 

 

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


Script Editor

2007-05-11 Thread Cal Horner
Has anybody out there ever tried to put text into the script editor using
script.

If so, would you like to share the "How To" with me.

Cal
___
use-revolution mailing list
use-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: Script Editor

2007-05-11 Thread Mark Schonewille

Cal,

Do you want to put text into an open, visible script editor by  
script, or do you want to set the script of an object?


If the former, you will have to find a way to to determined which  
script editor is currently the front-most. You might use the long id  
of the selectedField for that. This will provide you with sufficient  
information to enter text into the script editor.


If the latter, you can simply use the set command. Example: set the  
script of button 1 to field 1.


Best,

Mark

--

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

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


Op 11-mei-2007, om 10:33 heeft Cal Horner het volgende geschreven:

Has anybody out there ever tried to put text into the script editor  
using

script.

If so, would you like to share the "How To" with me.

Cal




___
use-revolution mailing list
use-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: protecting images in standalone?

2007-05-11 Thread Robert Mann


Thanks
Eric

This gets info into the customproperty 'ctgfork1' not sure if it is correct
info but there is something in it know

set the itemdelimiter to slash  
put the effective filename of this stack into dbPath
delete the last item of dbPath
put "/ctgfork01.PNG" after dbPath   
set the ctgfork1 of stack "specs" to URL ("binfile:" & dbPath)
 
-- to display the image I tried this but does not work?

 put the ctgfork1 of this stack into image "ctgfork01"




set the ctgfork1 of stack "specs" to URL("binfile:" & dbPath)
'binfile' is a text string and 'dbPath' is a variable: they must be  
concatenated :-)

Best regards from Paris,
Eric Chatonet.

http://www.sosmartsoftware.com/
[EMAIL PROTECTED]/



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

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


AW: protecting images in standalone?

2007-05-11 Thread Tiemo Hollmann TB

Should work this way Robert, can it be you address the wrong stack (this
stack)? Did you checked, if your custom property contains the data or is it
perhaps empty?

What I am curious about is, which property of the image is filled with
"put"? I tried also to "set the imagedata to", but that doesn't work.
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Robert Mann
> Gesendet: Freitag, 11. Mai 2007 13:06
> An: 'How to use Revolution'
> Betreff: RE: protecting images in standalone?
> 
> 
> 
> Thanks
> Eric
> 
> This gets info into the customproperty 'ctgfork1' not sure if it is
> correct
> info but there is something in it know
> 
> set the itemdelimiter to slash
> put the effective filename of this stack into dbPath
> delete the last item of dbPath
> put "/ctgfork01.PNG" after dbPath
> set the ctgfork1 of stack "specs" to URL ("binfile:" & dbPath)
> 
> -- to display the image I tried this but does not work?
> 
>  put the ctgfork1 of this stack into image "ctgfork01"
> 
> 
> 
> 
> set the ctgfork1 of stack "specs" to URL("binfile:" & dbPath)
> 'binfile' is a text string and 'dbPath' is a variable: they must be
> concatenated :-)
> 
> Best regards from Paris,
> Eric Chatonet.
> 
> http://www.sosmartsoftware.com/
> [EMAIL PROTECTED]/
> 
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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

2007-05-11 Thread Ian Wood

I asked on the list a couple of years ago and got no answer at all. :-(

If anyone knows of a way to do it I'll grateful - at the moment there  
doesn't appear to be any way to display  'standard' shortcuts such as  
Command-Shift-S for Save As...


Ian

On 11 May 2007, at 11:44, Sarah Reichelt wrote:


Hi All,

Does anyone know if it is possible to display any menu shortcuts other
than those using the Command key (this is on Mac OS X only). You see
other apps that show shortcuts requireing Shift-Command-something or
Option-Command-whatever. Is this possible in Rev?

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

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


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


Menu shorrtcuts

2007-05-11 Thread Sarah Reichelt

Hi All,

Does anyone know if it is possible to display any menu shortcuts other
than those using the Command key (this is on Mac OS X only). You see
other apps that show shortcuts requireing Shift-Command-something or
Option-Command-whatever. Is this possible in Rev?

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


Re: protecting images in standalone?

2007-05-11 Thread Eric Chatonet

Hi Robert,

Try 'set the text of image ctgfork01" to the ctgfork1 of this stack'.
Note that if the image is not locked, the image object will  
automatically fit the actual dimensions of the original image but its  
loc will not change.
If the image is locked, the original image will be adapted to fit the  
dimensions of the image object.


Le 11 mai 07 à 13:05, Robert Mann a écrit :


Thanks
Eric

This gets info into the customproperty 'ctgfork1' not sure if it is  
correct

info but there is something in it know

set the itemdelimiter to slash  
put the effective filename of this stack into dbPath
delete the last item of dbPath
put "/ctgfork01.PNG" after dbPath 
set the ctgfork1 of stack "specs" to URL ("binfile:" & dbPath)

-- to display the image I tried this but does not work?

 put the ctgfork1 of this stack into image "ctgfork01"

set the ctgfork1 of stack "specs" to URL("binfile:" & dbPath)
'binfile' is a text string and 'dbPath' is a variable: they must be
concatenated :-)

Best regards from Paris,
Eric Chatonet.


Best regards from Paris,
Eric Chatonet.

http://www.sosmartsoftware.com/
[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: performance of RevXML

2007-05-11 Thread Martin Blackman

A 20MB file will certainly be slow to make into an XML tree, say 60 to
90 seconds on typical machine and around 300MB RAM useage.
I'm working with files up to around 30MB for some software of mine
thats in progress. I haven't tried to implement any better solution at
present - I'll be warning that they may need 1GB of RAM or
more..should generally be achievable for my target market. I'm
thinking of using the  'hasmemory' function to generate a memory
warning if necessary before creating the tree, although the
documentation says it may not return useful values. It seems to be too
conservative on windows at least

regards
Martin

On 11/05/07, Bill Marriott <[EMAIL PROTECTED]> wrote:

Klaus,

> does anyone have some experience/hints with/for the performance of  RevXML
> with big XML files? [...] we want to avoid using a "real" database engine.

Your biggest issue with "big" anything is memory usage, because the source
table and any transformations you do with it are stored in RAM. As your data
gets larger and larger, you run the risk of slowing down considerably or
even running out of it. Not everyone has a gigabyte or more to play with.

The advantage of using a "real" database engine, like SQLite integrated with
Rev 2.8.1, is that you'll be able to manipulate large tables with
high-performance SQL commands, keeping your memory footprint down to just
what is needed for on-screen display.

- Bill



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


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


Re: protecting images in standalone?

2007-05-11 Thread Eric Chatonet

Sorry, I forgot a quote:
set the text of image "ctgfork01" to the ctgfork1 of this stack

Le 11 mai 07 à 13:54, Eric Chatonet a écrit :


Hi Robert,

Try 'set the text of image ctgfork01" to the ctgfork1 of this stack'.
Note that if the image is not locked, the image object will  
automatically fit the actual dimensions of the original image but  
its loc will not change.
If the image is locked, the original image will be adapted to fit  
the dimensions of the image object.


Le 11 mai 07 à 13:05, Robert Mann a écrit :


Thanks
Eric

This gets info into the customproperty 'ctgfork1' not sure if it  
is correct

info but there is something in it know

set the itemdelimiter to slash  
put the effective filename of this stack into dbPath
delete the last item of dbPath
put "/ctgfork01.PNG" after dbPath 
set the ctgfork1 of stack "specs" to URL ("binfile:" & dbPath)

-- to display the image I tried this but does not work?

 put the ctgfork1 of this stack into image "ctgfork01"

set the ctgfork1 of stack "specs" to URL("binfile:" & dbPath)
'binfile' is a text string and 'dbPath' is a variable: they must be
concatenated :-)


Best regards from Paris,
Eric Chatonet.

http://www.sosmartsoftware.com/
[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: protecting images in standalone?

2007-05-11 Thread robmann
Eric thanks so much it works I have spent all week tying to find a way  
to make the images
hidden with the stack, first tried putting them in a database but  
could not find a way to

get them out, then customproperties

Thanks
Again
Rob



Quoting Eric Chatonet <[EMAIL PROTECTED]>:


Sorry, I forgot a quote:
set the text of image "ctgfork01" to the ctgfork1 of this stack





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

2007-05-11 Thread Ken Ray
On Fri, 11 May 2007 12:27:36 +0100, Ian Wood wrote:

> I asked on the list a couple of years ago and got no answer at all. :-(
> 
> If anyone knows of a way to do it I'll grateful - at the moment there 
> doesn't appear to be any way to display  'standard' shortcuts such as 
> Command-Shift-S for Save As...

That would be bug #3147, which was filed 8/2005 and is in Bugzilla as 
an enhancement request, in case you want to add your votes to it.

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


AW: looking for win icon editor with icns output

2007-05-11 Thread Tiemo Hollmann TB
Thanks Ken, it's a solution anyway
Have a nice weekend
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Ken Ray
> Gesendet: Freitag, 11. Mai 2007 17:55
> An: How to use Revolution
> Betreff: Re: looking for win icon editor with icns output
> 
> On Fri, 11 May 2007 10:01:40 +0200, Tiemo Hollmann TB wrote:
> 
> > Hello all,
> >
> > My platform is Win XP and I am using Icofx to create Win Icons for Rev,
> what
> > works perfect. I have been searching for a freeware tool to create or
> > convert win icons (ico) to Mac Icons (icns) but didn't find anything
> yet. I
> > have only found tools to create for both platforms, working on Mac. Does
> > anybody has a tip for a tool on Win?
> 
> Sorry, the only tool I'm aware of is not free, and that's Axialis'
> IconWorkshop at $39.95.
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: [EMAIL PROTECTED]
> Web Site: http://www.sonsothunder.com/
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: looking for win icon editor with icns output

2007-05-11 Thread Ken Ray
On Fri, 11 May 2007 10:01:40 +0200, Tiemo Hollmann TB wrote:

> Hello all,
> 
> My platform is Win XP and I am using Icofx to create Win Icons for Rev, what
> works perfect. I have been searching for a freeware tool to create or
> convert win icons (ico) to Mac Icons (icns) but didn't find anything yet. I
> have only found tools to create for both platforms, working on Mac. Does
> anybody has a tip for a tool on Win?

Sorry, the only tool I'm aware of is not free, and that's Axialis' 
IconWorkshop at $39.95.

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


Re: Menu shorrtcuts

2007-05-11 Thread Ian Wood

Thanks, and I have!

Ian

On 11 May 2007, at 16:49, Ken Ray wrote:


That would be bug #3147, which was filed 8/2005 and is in Bugzilla as
an enhancement request, in case you want to add your votes to it.


___
use-revolution mailing list
use-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: performance of RevXML

2007-05-11 Thread Klaus Major

HI Bill,


Klaus,

does anyone have some experience/hints with/for the performance  
of  RevXML
with big XML files? [...] we want to avoid using a "real" database  
engine.


Your biggest issue with "big" anything is memory usage, because the  
source
table and any transformations you do with it are stored in RAM. As  
your data
gets larger and larger, you run the risk of slowing down  
considerably or
even running out of it. Not everyone has a gigabyte or more to play  
with.


Ah, I see, thanks for the info.

The advantage of using a "real" database engine, like SQLite  
integrated with

Rev 2.8.1, is that you'll be able to manipulate large tables with
high-performance SQL commands, keeping your memory footprint down  
to just

what is needed for on-screen display.


Yes, sure, that will be the way to fgo in  a lter release of our  
project.

(Have to bite more through SQL in general first ;-)


- Bill




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

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


Python Samples with Tkinter from within Rev

2007-05-11 Thread Joel Guillod
I have shared my stack "Python Samples with Tkinter" in the  
Programming category.


This stack demonstrates some use of the Python tool called from  
Revolution with two examples of the Tkinter GUI toolkit.
Set the folder for Python tool to the correct one (e.g. under  
MacOSX: /usr/bin or /usr/local/bin)...
Notice that this version display the Python window in modal mod, so  
you cannot edit stacks before you quit the Python thread.
It works fine under MacOSX which has a standard Python tool, others  
not tested.


If you are curious, open the stacks and execute in the msg box:

  put the uPythonSource of button "Test I with python Tkinter GUI"
or
  put the uPythonSource of button "Test II with python Tkinter GUI"

to read the Python source code (just 36 lines, respectively 25 lines).
___
use-revolution mailing list
use-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: looking for win icon editor with icns output

2007-05-11 Thread Scott Kane

From: "Ken Ray" <[EMAIL PROTECTED]>

Sorry, the only tool I'm aware of is not free, and that's Axialis' 
IconWorkshop at $39.95.


I'd like to second Axialis.  It's very powerful and very easy to use and the 
price is pretty close to free as you'd get for such an all round nice tool.


Scott Kane
"Any sufficiently advanced technology is indistinguishable from magic." 
Arthur C Clarke 


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


Accessing gRev values

2007-05-11 Thread Cal Horner
Is there any way of getting the value from an RR gRev global variable? Such as 
gRevMenuTarget.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution