AW: Mysteroius rev ghost buttons

2007-05-25 Thread Tiemo Hollmann TB
Thanks Dave
Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Dave
 Gesendet: Freitag, 25. Mai 2007 00:44
 An: How to use Revolution
 Betreff: Re: Mysteroius rev ghost buttons
 
 Hi,
 
 I've seen the IDE go beswick and store objects from the IDE in User
 Stacks.
 
 Open the stack in the IDE and check the Application Browser to see if
 there are any objects present that you can't see.
 
 You may have to check library stacks too.
 
 Hope this Helps
 All the Best
 Dave
 
 
 On 24 May 2007, at 07:56, Tiemo Hollmann TB wrote:
 
  Hello,
 
  I have a very strange phenomenon. After some time (10-30 clicks),
  using my
  standalone on Mac (created on Win) 3 rev buttons appear somewhere
  in the
  upper third of my application. The labels of the 3 buttons are:
  revGeometryBack revCommon and revLibURL Using the standalone
  on Win,
  they don't appear. I realy don't know what strange phenomenon this
  is and
  what I can do to prevent it. Has anyone ever seen these three buttons?
 
  Any hint appreciated!
 
  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
 
 ___
 use-revolution mailing list
 use-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


Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Tiemo Hollmann TB
Hello,

I want to use with 2.8.1 the now integrated sqlite db and stumbled over two
different sets of db functions. The first one start with revdb_, like
revdb_connect and the other ones have names like revOpenDatabases. I have
found examples for both, but probably one is old fashioned and one is new
and for the future? Can someone explain the difference ( concerning the use
of sqlite) and which set of functions is the state of the art using rev
today?

Thanks for any explanation

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


Re: Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Sarah Reichelt

I want to use with 2.8.1 the now integrated sqlite db and stumbled over two
different sets of db functions. The first one start with revdb_, like
revdb_connect and the other ones have names like revOpenDatabases. I have
found examples for both, but probably one is old fashioned and one is new
and for the future? Can someone explain the difference ( concerning the use
of sqlite) and which set of functions is the state of the art using rev
today?


As you thought, the revdb set are older and the rev ones are the
more modern equivalents. You can use either but you need to be careful
because in some cases one will be a function and the equivalent will
be a command. This means that they are not always completely
interchangeable.

I prefer using the rev ones but that is just my preference - there
is nothing wrong with using the revdb options.

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: Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Jan Schenkel
--- Tiemo Hollmann TB [EMAIL PROTECTED] wrote:
 Hello,
 
 I want to use with 2.8.1 the now integrated sqlite
 db and stumbled over two
 different sets of db functions. The first one start
 with revdb_, like
 revdb_connect and the other ones have names like
 revOpenDatabases. I have
 found examples for both, but probably one is old
 fashioned and one is new
 and for the future? Can someone explain the
 difference ( concerning the use
 of sqlite) and which set of functions is the state
 of the art using rev
 today?
 
 Thanks for any explanation
 
 Tiemo
 

Hi Tiemo,

Originally, there were only the 'revdb_' commands and
functions. In Revolution 2.0, a number of synonyms
were added to make them easier to recognize and
understand.
The good news is that they're interchangeable: for
instance, if you have a database connection opened
with 'revdb_connect', you can use this connection ID
with the 'revDataFromQuery' function. The same goes
for all functions and commands that have to do with
cursors.
The not-so-good news is that this can cause some
confusion, as users aren't quite sure if one set is
deprecated and will go away in the future. And there
are some subtle differences where the 'revdb_' syntax
is a function, but the 'revXYZ' syntax is a command.

Personally, I still use the 'revdb_' set as I find it
easier to recognize that I'm doing something with the
database library external.
Maybe someday we'll get a proper namespacing feature
in the language and then there will be less confusion
- or just different confusion, as the case may be ;-)

Hope this helped,

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)


 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
___
use-revolution mailing list
use-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: Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Tiemo Hollmann TB
Thanks Jan for your explanations
Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Jan Schenkel
 Gesendet: Freitag, 25. Mai 2007 12:13
 An: How to use Revolution
 Betreff: Re: Difference between revdb_connect and revOpenDatabases ?
 
 --- Tiemo Hollmann TB [EMAIL PROTECTED] wrote:
  Hello,
 
  I want to use with 2.8.1 the now integrated sqlite
  db and stumbled over two
  different sets of db functions. The first one start
  with revdb_, like
  revdb_connect and the other ones have names like
  revOpenDatabases. I have
  found examples for both, but probably one is old
  fashioned and one is new
  and for the future? Can someone explain the
  difference ( concerning the use
  of sqlite) and which set of functions is the state
  of the art using rev
  today?
 
  Thanks for any explanation
 
  Tiemo
 
 
 Hi Tiemo,
 
 Originally, there were only the 'revdb_' commands and
 functions. In Revolution 2.0, a number of synonyms
 were added to make them easier to recognize and
 understand.
 The good news is that they're interchangeable: for
 instance, if you have a database connection opened
 with 'revdb_connect', you can use this connection ID
 with the 'revDataFromQuery' function. The same goes
 for all functions and commands that have to do with
 cursors.
 The not-so-good news is that this can cause some
 confusion, as users aren't quite sure if one set is
 deprecated and will go away in the future. And there
 are some subtle differences where the 'revdb_' syntax
 is a function, but the 'revXYZ' syntax is a command.
 
 Personally, I still use the 'revdb_' set as I find it
 easier to recognize that I'm doing something with the
 database library external.
 Maybe someday we'll get a proper namespacing feature
 in the language and then there will be less confusion
 - or just different confusion, as the case may be ;-)
 
 Hope this helped,
 
 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)
 
 
 
 __
 __
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
 http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
 ___
 use-revolution mailing list
 use-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: Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Tiemo Hollmann TB
Thanks for clarifying that for me Sarah!
Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Sarah Reichelt
 Gesendet: Freitag, 25. Mai 2007 12:03
 An: How to use Revolution
 Betreff: Re: Difference between revdb_connect and revOpenDatabases ?
 
  I want to use with 2.8.1 the now integrated sqlite db and stumbled over
 two
  different sets of db functions. The first one start with revdb_, like
  revdb_connect and the other ones have names like revOpenDatabases. I
 have
  found examples for both, but probably one is old fashioned and one is
 new
  and for the future? Can someone explain the difference ( concerning the
 use
  of sqlite) and which set of functions is the state of the art using
 rev
  today?
 
 As you thought, the revdb set are older and the rev ones are the
 more modern equivalents. You can use either but you need to be careful
 because in some cases one will be a function and the equivalent will
 be a command. This means that they are not always completely
 interchangeable.
 
 I prefer using the rev ones but that is just my preference - there
 is nothing wrong with using the revdb options.
 
 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


Re: Suspend script execution.

2007-05-25 Thread Eric Chatonet

Hi Joe,

Just modal your stack and use the dialogData property. For instance:

set the dialogData to data
-- preparing the dialog
modal stack MyAnsdwerDialog
-- use the dialogData in MyAnsdwerDialog preopenStack to set the  
dialog as you wish: prompt, labels, etc.
-- execution will stop here until MyAnsdwerDialog is closed (a Rev  
feature)
-- change the contents of the the dialogdata from MyAnsdwerDialog  
stack when the user clicks on a button or another and closes the stack

-- then execution starts again:
if the dialogdata contains, is, etc. then act accordingly

See modal command and dialogdata property in the docs :-)

Le 25 mai 07 à 13:12, [EMAIL PROTECTED] a écrit :

I’m trying to create my own ask and answer dialog boxes. In order  
to do that
I must be able to suspend a script awaiting my custom dialog box  
input. Then I
want to continue the same script. I tried using the wait command,  
but that won

’t allow any input while waiting. All suggestions are appreciated.

Joe


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: Suspend script execution.

2007-05-25 Thread Mark Smith

Joe, the  'modal' command is what you want, I think.

on mouseUp
  modal stack someDialog
  doSomething with the dialogData
  put someMessage
end mouseUp

Assuming you have a substack someDialog, executing the above in a  
btn script should open the dialog, wait for it to be closed, and then  
continue.


Best,

Mark

On 25 May 2007, at 12:12, [EMAIL PROTECTED] wrote:


Hi Everyone,

I’m trying to create my own ask and answer dialog boxes. In order  
to do that
I must be able to suspend a script awaiting my custom dialog box  
input. Then I
want to continue the same script. I tried using the wait command,  
but that won

’t allow any input while waiting. All suggestions are appreciated.

Joe


**
 See what's free at
http://www.aol.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


Suspend script execution.

2007-05-25 Thread LunchnMeets
Hi Everyone,

I’m trying to create my own ask and answer dialog boxes. In order to do that 
I must be able to suspend a script awaiting my custom dialog box input. Then I 
want to continue the same script. I tried using the wait command, but that won
’t allow any input while waiting. All suggestions are appreciated.

Joe


**
 See what's free at 
http://www.aol.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


best way to define clickable areas with irregular shapes ?

2007-05-25 Thread jbv
Hi list,

What is the best way to define clickable maps / areas with irregular
shapes
on a large background image ?
I've tried transparent graphics, and also a mousemove handler in the
card
script, but nothing seems to work really well...

thanks,
JB

___
use-revolution mailing list
use-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: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Eric Chatonet

Hi JB,

As png images with transparency (alpha channel) receive mouse  
messages only in non transparent areas, here is a way to do the trick:
Open your original image in PhotoShop or any image editor you use and  
erase all non hotspots places then save this modified image as a png.

Hotspots are now very precise :-)
Put both images onto a card, the modified one on top:
Now mousedowns, mouseUps, etc. will only bee sent when done in hot  
spots.
If you have many hot spots, you can ensure the process by adding  
rough invisible graphics including each hotspot and test in addition  
in which graphic the mouse is within.
Note that you can set the blendlevel of the modified image to 100, it  
will be invisible but all will go on to work :-)


Le 25 mai 07 à 15:21, jbv a écrit :



What is the best way to define clickable maps / areas with irregular
shapes
on a large background image ?
I've tried transparent graphics, and also a mousemove handler in the
card
script, but nothing seems to work really well...

thanks,
JB


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: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Eric Chatonet

Additional tip:

In the modified image (see below), you can replace all hotspots with  
a solid color: the resulting png will be very light.
In such a case, the blend level of the image will be set to 100 but  
can be changed to another well chosen value to show hotspots if needed.


Le 25 mai 07 à 15:45, Eric Chatonet a écrit :


Hi JB,

As png images with transparency (alpha channel) receive mouse  
messages only in non transparent areas, here is a way to do the trick:
Open your original image in PhotoShop or any image editor you use  
and erase all non hotspots places then save this modified image as  
a png.

Hotspots are now very precise :-)
Put both images onto a card, the modified one on top:
Now mousedowns, mouseUps, etc. will only bee sent when done in hot  
spots.
If you have many hot spots, you can ensure the process by adding  
rough invisible graphics including each hotspot and test in  
addition in which graphic the mouse is within.
Note that you can set the blendlevel of the modified image to 100,  
it will be invisible but all will go on to work :-)


Le 25 mai 07 à 15:21, jbv a écrit :



What is the best way to define clickable maps / areas with irregular
shapes
on a large background image ?
I've tried transparent graphics, and also a mousemove handler in  
the

card
script, but nothing seems to work really well...

thanks,
JB


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: Filling in PDF forms

2007-05-25 Thread Rob Cozens

Hi David,


I've had a quick search regarding the ability to auto fill in PDF forms -
that is not creating PDF's from databases - but lets say you have an
existing PDF that you need to fill out many many times from your data -
software that does this for you.


FWIW, the US IRS distributes fill-in tax forms in PDF 
format.  Acrobat Reader allows the reader to fill in the boxes but 
not change any form text.  The completed form(s) can then be saved as 
a separate document.


Rob  


___
use-revolution mailing list
use-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: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Tiemo Hollmann TB
Hi Eric, because it's also interesting for me I add a question. Assuming you
have 50 hotspots on the bg image, where 50 different actions have to take
place (e.g. showing another image for each hotspot), how can you address the
different non transparent hotspots on the png? With 50 irregular shapes,
each with another name its no problem, but this way?

JB, what was the problem with the irregular shapes for you?

Thanks Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Eric Chatonet
 Gesendet: Freitag, 25. Mai 2007 15:45
 An: How to use Revolution
 Betreff: Re: best way to define clickable areas with irregular shapes ?
 
 Hi JB,
 
 As png images with transparency (alpha channel) receive mouse
 messages only in non transparent areas, here is a way to do the trick:
 Open your original image in PhotoShop or any image editor you use and
 erase all non hotspots places then save this modified image as a png.
 Hotspots are now very precise :-)
 Put both images onto a card, the modified one on top:
 Now mousedowns, mouseUps, etc. will only bee sent when done in hot
 spots.
 If you have many hot spots, you can ensure the process by adding
 rough invisible graphics including each hotspot and test in addition
 in which graphic the mouse is within.
 Note that you can set the blendlevel of the modified image to 100, it
 will be invisible but all will go on to work :-)
 
 Le 25 mai 07 à 15:21, jbv a écrit :
 
 
  What is the best way to define clickable maps / areas with irregular
  shapes
  on a large background image ?
  I've tried transparent graphics, and also a mousemove handler in the
  card
  script, but nothing seems to work really well...
 
  thanks,
  JB
 
 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


Re: AW: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread jbv


Tiemo,

my problem with irregular shapes was to define the boundaries of each
shape... I guess that in most cases, Eric's method allows to virtually
enclose each shape in a rectangular bounding box, and thus define a
different action when cursor enters each shape...
the only limitation I can see is overlapping bounding boxes...

JB

 Hi Eric, because it's also interesting for me I add a question. Assuming you
 have 50 hotspots on the bg image, where 50 different actions have to take
 place (e.g. showing another image for each hotspot), how can you address the
 different non transparent hotspots on the png? With 50 irregular shapes,
 each with another name its no problem, but this way?

 JB, what was the problem with the irregular shapes for you?

 Thanks Tiemo

  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED] [mailto:use-revolution-
  [EMAIL PROTECTED] Im Auftrag von Eric Chatonet
  Gesendet: Freitag, 25. Mai 2007 15:45
  An: How to use Revolution
  Betreff: Re: best way to define clickable areas with irregular shapes ?
 
  Hi JB,
 
  As png images with transparency (alpha channel) receive mouse
  messages only in non transparent areas, here is a way to do the trick:
  Open your original image in PhotoShop or any image editor you use and
  erase all non hotspots places then save this modified image as a png.
  Hotspots are now very precise :-)
  Put both images onto a card, the modified one on top:
  Now mousedowns, mouseUps, etc. will only bee sent when done in hot
  spots.
  If you have many hot spots, you can ensure the process by adding
  rough invisible graphics including each hotspot and test in addition
  in which graphic the mouse is within.
  Note that you can set the blendlevel of the modified image to 100, it
  will be invisible but all will go on to work :-)
 
  Le 25 mai 07 à 15:21, jbv a écrit :
 
  
   What is the best way to define clickable maps / areas with irregular
   shapes
   on a large background image ?
   I've tried transparent graphics, and also a mousemove handler in the
   card
   script, but nothing seems to work really well...
  
   thanks,
   JB
 
  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:

___
use-revolution mailing list
use-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: Can I make Runrev (any version) able to use Pop-port USB or Bluetooth for exchange data?

2007-05-25 Thread Björnke von Gierke
No need to add urgent to your subject line, as you see, that just makes 
most people ignore it...


As for your question:
USB: external
Bluetooth: Maybe the serial interface that bluetooth has, otherwise 
external


Wikipedia says pop-port is just a proprietary plug by nokia for usb.

have fun


On 25 May 2007, at 07:18, supote songthammawat wrote:


Dear Everybody,

  I 'd like to know Can I make Runrev (any version) able to use
Pop-port USB or Bluetooth for exchange data? If possible how to do. Pls
guide or suggest me.

  Thks.

Best Regard,
Supote
___
use-revolution mailing list
use-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


Windows DLLs and path

2007-05-25 Thread Bill Vlahos
I use SSL libraries in my application. For Windows Rev creates a couple of dlls 
that I need to include with my standalone. My application is portable in that 
all the files (executables and data) are in a folder. If the dlls are at the 
same level as the executables then it works fine but clutters the file system 
window with files a user doesn't need to deal with.

I'd like to make a folder at the same level as the executables and put the dlls 
there. However, when I do this they are no longer in the path and don't work.

Is there a way to tell the standalone they are in a subfolder?

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


Re: AW: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Eric Chatonet

Hi Tiemo,

You have many ways: it depends on the fact you have many hotspots  
close from each other or not.
For instance if your hotspots are able to be conformed in a virtual  
grid you can test the mouseLoc within this grid.

If it does not appear possible, adding invisible graphics should work.
You get the mouse events only on real hotspots using the png and a  
loop allows you to know how to act:

For instance:
In the script of the png image:

on mouseUp
  repeat with i = 1 to the number of graphics
if the mouseloc is within the rect of graphic i then
  Action the short name of graphic i -- see below
  exit repeat
end if
  end repeat
end mouseUp
--
on Action pObjName
  switch pObjName
  case bottle of wine
etc.

;-)

Le 25 mai 07 à 16:40, Tiemo Hollmann TB a écrit :

Hi Eric, because it's also interesting for me I add a question.  
Assuming you
have 50 hotspots on the bg image, where 50 different actions have  
to take
place (e.g. showing another image for each hotspot), how can you  
address the
different non transparent hotspots on the png? With 50 irregular  
shapes,

each with another name its no problem, but this way?

JB, what was the problem with the irregular shapes for you?

Thanks Tiemo


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:use-revolution-
[EMAIL PROTECTED] Im Auftrag von Eric Chatonet
Gesendet: Freitag, 25. Mai 2007 15:45
An: How to use Revolution
Betreff: Re: best way to define clickable areas with irregular  
shapes ?


Hi JB,

As png images with transparency (alpha channel) receive mouse
messages only in non transparent areas, here is a way to do the  
trick:

Open your original image in PhotoShop or any image editor you use and
erase all non hotspots places then save this modified image as a png.
Hotspots are now very precise :-)
Put both images onto a card, the modified one on top:
Now mousedowns, mouseUps, etc. will only bee sent when done in hot
spots.
If you have many hot spots, you can ensure the process by adding
rough invisible graphics including each hotspot and test in addition
in which graphic the mouse is within.
Note that you can set the blendlevel of the modified image to 100, it
will be invisible but all will go on to work :-)

Le 25 mai 07 à 15:21, jbv a écrit :



What is the best way to define clickable maps / areas with irregular
shapes
on a large background image ?
I've tried transparent graphics, and also a mousemove handler  
in the

card
script, but nothing seems to work really well...

thanks,
JB


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: How to release a library to the list/world

2007-05-25 Thread Andre Garzia

Hello Thomas,

easiest way, put it on RevOnline, write a little email about the lib  
and let it flow...


:D

andre

On May 18, 2007, at 12:40 PM, Thomas McGrath III wrote:


Dear fellow revolutionaries,

It has been a while since I have been able to post on the list. I  
have been very busy getting some software completed and also  
personally I have been dealing with a lot of issues, some good and  
some not so good. As a result I have been re-evaluating my goals  
and the projects I have been working on. One in particular is a  
project I had been working on with some passion and then all of a  
sudden I had to drop.


I have been working on a library of commands and functions for a  
project of mine that has grown out of control - not the project but  
rather the library has grown out of control. Anyway, I would like  
to release the library to this wonderful group of people who have  
helped me so much over these past 4 years.


Is there a preferred method of doing this?

The library is incomplete but I would say it is around 90%  
accomplished. I would like to benefit from the help of others to  
see this go to 100%. But I do not have the time available to  
participate heavily in this process. If I had the time I would have  
finished it myself. At the same time I don't want to have to overly  
explain some of the problems or solutions etc. in this library.


Any suggestions are greatly appreciated,


Regards

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


How to release a library to the list/world

2007-05-25 Thread Thomas McGrath III

Dear fellow revolutionaries,

It has been a while since I have been able to post on the list. I  
have been very busy getting some software completed and also  
personally I have been dealing with a lot of issues, some good and  
some not so good. As a result I have been re-evaluating my goals and  
the projects I have been working on. One in particular is a project I  
had been working on with some passion and then all of a sudden I had  
to drop.


I have been working on a library of commands and functions for a  
project of mine that has grown out of control - not the project but  
rather the library has grown out of control. Anyway, I would like to  
release the library to this wonderful group of people who have helped  
me so much over these past 4 years.


Is there a preferred method of doing this?

The library is incomplete but I would say it is around 90%  
accomplished. I would like to benefit from the help of others to see  
this go to 100%. But I do not have the time available to participate  
heavily in this process. If I had the time I would have finished it  
myself. At the same time I don't want to have to overly explain some  
of the problems or solutions etc. in this library.


Any suggestions are greatly appreciated,


Regards

Tom McGrath
___
use-revolution mailing list
use-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: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Scott Rossi
 What is the best way to define clickable maps / areas with irregular
 shapes on a large background image ?

 As png images with transparency (alpha channel) receive mouse
 messages only in non transparent areas, here is a way to do the trick:
 Open your original image in PhotoShop or any image editor you use and
 erase all non hotspots places then save this modified image as a png.
 Hotspots are now very precise :-)

It's worth noting that with the introduction of version 2.7 (I believe)
graphic objects will detect the mouse only within filled area they occupy,
instead of their rects, which makes them quite suitable for irregular click
regions.  It's no longer necessary to use images for this purpose.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
use-revolution mailing list
use-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: Filling in PDF forms

2007-05-25 Thread Roger . E . Eller
David wrote:
I've had a quick search regarding the ability to auto fill in PDF forms -
that is not creating PDF's from databases - but lets say you have an
existing PDF that you need to fill out many many times from your data -
software that does this for you.

Rob Cozens wrote:
 FWIW, the US IRS distributes fill-in tax forms in PDF
 format.  Acrobat Reader allows the reader to fill in the boxes but
 not change any form text.  The completed form(s) can then be saved as
 a separate document.

 Rob

The XML below was saved out of a PDF form that I created in Acrobat 7 Pro.
You can also write XML using Rev as long as the field tags corespond to the
field names designated in the PDF form. This XML can be imported into the
fields of the PDF form.

  ?xml version=1.0 encoding=UTF-8 ?
- form1
  - Test_PDF_file
  JOB82321/JOB
  TYPE1/TYPE
  QTY_X10/QTY_X
  QTY_Y3/QTY_Y
  TOTAL13/TOTAL
  /Test_PDF_file
    /form1

Roger Eller [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: Error in docs about file creation date

2007-05-25 Thread Alex Tweedly

Wilhelm Sanke wrote:

On Wed, 23 May 2007,Richard Gaskin [EMAIL PROTECTED] wrote:


Right now Rev uses the OS APIs to get the file info, so it's about as
efficient as it can be.

I can see the benefit of using EXIF, but since this requires additional
work and processing time, and only applies to a subset of a very small
number of file tyes, this sounds like an excellent candidate for an
external.

Anyone here interested in writing it?

-- Richard Gaskin Fourth World Media Corporation




I do not know if he is interested and would have the time, but I think 
Alex Tweedly, author of the wonderful libEXIF stack, would be the 
ideal candidate.



I'd certainly be interested. I *should* have time.
I have tried to tweak his stack a little to retrieve the original 
dates from all image files of a folder. Execution time per image file 
is from 13 to 40 milliseconds depending on what amount of date I get 
from the original date line of Alex's variable alltags (i.e. only 
the original date or with filename and/or seconds etc.).


I left the stack script intact and edited only the test button to 
get only the original-date lines. This means that the stack - as 
before - first retrieves *all* EXIF data in the stack script before 
only the date line is accessed from the changed button script.


Would Alex rewrite his stack script to concentrate on the original 
date, I believe the execution speed per image file would be only 
about 5 milliseconds or even less. An external based on his algorithms 
would surely be astonishingly fast.


I'll have a look at it, probably over the weekend. I haven't actually 
looked at the EXIF stack for quite a while, so it will be interesting to 
see just how poor my code documentation was :-)


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


Popping up stacks

2007-05-25 Thread Richard Gaskin
There are two ways to use stacks as popup menus, and these can be useful 
as grids and galleries.  But sadly each method has its weaknesses, and 
neither seems to allow users to interact with scrolling groups 
gracefully if at all.


I've put together a sample stack at:

  go url http://www.fourthworldlabs.com/PopupTest.mc;

If you have time and interest, I'd appreciate any tips on how one might 
get scrolling groups to work within popup stacks.  If there isn't a way 
to do it now I'll post a BZ request.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Eric Chatonet

Hi Scott,

Yes you are right about graphics but I find a lot easier to create  
very precise hotspot outlines using Photoshop.

Rev graphic tools are HC legacy, not more :-)

Le 25 mai 07 à 19:02, Scott Rossi a écrit :


What is the best way to define clickable maps / areas with irregular
shapes on a large background image ?



As png images with transparency (alpha channel) receive mouse
messages only in non transparent areas, here is a way to do the  
trick:

Open your original image in PhotoShop or any image editor you use and
erase all non hotspots places then save this modified image as a png.
Hotspots are now very precise :-)


It's worth noting that with the introduction of version 2.7 (I  
believe)
graphic objects will detect the mouse only within filled area they  
occupy,
instead of their rects, which makes them quite suitable for  
irregular click

regions.  It's no longer necessary to use images for this purpose.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design



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: Popping up stacks

2007-05-25 Thread Scott Rossi
Recently, Richard Gaskin wrote:

 There are two ways to use stacks as popup menus, and these can be useful
 as grids and galleries.  But sadly each method has its weaknesses, and
 neither seems to allow users to interact with scrolling groups
 gracefully if at all.

Each of these solutions is using a stack as a menu -- is there a reason you
can't display a palette or system window at the desired location?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Richard Gaskin

Scott Rossi wrote:

Recently, Richard Gaskin wrote:
 There are two ways to use stacks as popup menus, and these can
 be useful as grids and galleries.  But sadly each method has
 its weaknesses, and neither seems to allow users to interact
 with scrolling groups gracefully if at all.

 Each of these solutions is using a stack as a menu -- is there
 a reason you can't display a palette or system window at the
 desired location?

My first approach on this was to try the built-in methods for popping up 
a stack.


If there's no magic combination of property settings to make either of 
those work, using a palette would be the next step.


But this is not without its own challenges, as I'd need to carefully 
trap messages to dismiss the palette whenever anything else is clicked 
on, when the Escape key is pressed, etc.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: Popping up stacks

2007-05-25 Thread Scott Rossi
Recently, Richard Gaskin wrote:

 Each of these solutions is using a stack as a menu -- is there
 a reason you can't display a palette or system window at the
 desired location?

 If there's no magic combination of property settings to make either of
 those work, using a palette would be the next step.
 
 But this is not without its own challenges, as I'd need to carefully
 trap messages to dismiss the palette whenever anything else is clicked
 on, when the Escape key is pressed, etc.

Well at first glance, you may not have many other options available to you.
Since I assume the panel is supposed to open above another stack, you could
temporarily a transparent graphic in the under-stack to catch all non-popup
mouseclicks.

Are you replicating some behavior/feature in an existing application?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Richard Gaskin

Scott Rossi wrote:
 Recently, Richard Gaskin wrote:

 Each of these solutions is using a stack as a menu -- is there
 a reason you can't display a palette or system window at the
 desired location?

 If there's no magic combination of property settings to make
 either of those work, using a palette would be the next step.

 But this is not without its own challenges, as I'd need to carefully
 trap messages to dismiss the palette whenever anything else is
 clicked on, when the Escape key is pressed, etc.

 Well at first glance, you may not have many other options available
 to you.

So it seems.


 Since I assume the panel is supposed to open above another stack,
 you could temporarily a transparent graphic in the under-stack to
 catch all non-popup mouseclicks.

That would help for those, but then there's suspend and other messages 
that need to be trapped.



 Are you replicating some behavior/feature in an existing application?

I'm not sure I understand the question, but I won't let that stop me 
from answering it. :)


If you mean, Where did you see that before?, we have a few flavors.

Going way back, HyperCard had nifty tear-off menus with selection grids 
(though all controls were visible and didn't require a scrollbar).


More recently, as part of Microsoft's Ribbons UI in Office 12 they 
have Galleries, popup panes to select from a range of presets, sometimes 
with collections large enough to require scrolling:


http://blogs.msdn.com/jensenh/archive/2005/09/19/471123.aspx

Of course with the Mac menu bar we can't popup from there, but we can 
from a toolbar, which for this design is really what we're looking for.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: Windows DLLs and path

2007-05-25 Thread Phil Davis

Bill Vlahos wrote:

I use SSL libraries in my application. For Windows Rev creates a couple of dlls 
that I need to include with my standalone. My application is portable in that 
all the files (executables and data) are in a folder. If the dlls are at the 
same level as the executables then it works fine but clutters the file system 
window with files a user doesn't need to deal with.

I'd like to make a folder at the same level as the executables and put the dlls 
there. However, when I do this they are no longer in the path and don't work.

Is there a way to tell the standalone they are in a subfolder?

Thanks,
Bill Vlahos


Hi Bill,

Have you tried setting the defaultFolder to the DLL folder (or maybe 
doing a shell(cd path)) just before issuing a command handled by 
them? It's a shot in the dark but might work.


Phil Davis
___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Chipp Walters

Hi Richard,

Why don't you use a modal dialog for this? You can script it so your code
accesses it 'in process' for a handler, which makes your job pretty easy.

Check out:
Creating a reusable dialog box at
http://www.altuit.com/webs/revCentral/Number7/default.htm

for a quicky type solution which shows an 'in process' use of a modal
dialog.

best,

Chipp
___
use-revolution mailing list
use-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: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Scott Rossi
Recently, Wilhelm Sanke wrote:

 To my knowledge graphic objects were able to detect the mouse inside
 their filled area - instead of their rects - long before 2.7.

Detecting the mouse, yes, always.  But within an irregular polygon shape,
the mouse would be detected using the entire rect of the graphic, regardless
of any concave or convex regions.  I (and Eric Chatonet I assume) spent many
years working around this limitation by using images with transparent
regions.  But this is now irrelevant as graphics detect the mouse using only
the area they occupy as expected.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Richard Gaskin

Chipp Walters wrote:

Why don't you use a modal dialog for this? You can script it so your code
accesses it 'in process' for a handler, which makes your job pretty easy.

Check out:
Creating a reusable dialog box at
http://www.altuit.com/webs/revCentral/Number7/default.htm

for a quicky type solution which shows an 'in process' use of a modal
dialog.


Thanks, Chipp.  Yes, I've made a few dialogs over the years, and about 
half of them were generalized into reusable libraries.  Modals are 
useful, but they're, well, modal.


This is a subtle distinction, but in practice it affects the feel of a 
program's flow.


To use an extreme example, imagine if HyperCard's toolbox was a modal 
dialog.  Sure, it'd only be an extra click to use it, but it would feel 
more like a separate thing, less integrated with the flow.


In Office 12, the new Galleries could probably have been modals as well, 
as similar features were in earlier versions.


But there's something very immediate-feeling about having a gallery pop 
up from the toolbar.  And while a modal requires an explicit gesture to 
dismiss it, menus are dismissed by doing anything outside of it, 
allowing the busy user to move on to do something else if the mood 
strikes them, and the menu politely gets out of their way and lets them 
do it.


There are a lot of niceties like that in Office 12.  I've been reading 
Jensen Harris' blog on its design ever since Dan Shafer first turned me 
on to it:

http://blogs.msdn.com/jensenh/

This analysis from Nielsen helps lend some perspective:
http://www.useit.com/alertbox/wysiwyg.html

I share Neilsen's opinion that Ribbons represent one of the few truly 
new things in UIs since the standardization on the WIMP model (Windows, 
Icons, Menus, Pointer).  While we're not moving our UIs to a full 
Ribbons model, on a couple apps we're leaning in that direction with 
smarter and more complete toolbars.  Galleries as popup panes work well 
within that model, and they feel more flowy, so over time I suspect 
many things which had been dialogs in our apps will migrate over time to 
popup panes.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: Popping up stacks

2007-05-25 Thread Scott Rossi
Recently, Richard Gaskin wrote:

 I've made a few dialogs over the years, and about
 half of them were generalized into reusable libraries.  Modals are
 useful, but they're, well, modal.
 
 This is a subtle distinction, but in practice it affects the feel of a
 program's flow.
 
 To use an extreme example, imagine if HyperCard's toolbox was a modal
 dialog.  Sure, it'd only be an extra click to use it, but it would feel
 more like a separate thing, less integrated with the flow.

Perhaps you could build a fake sheet implementation (fake so that it works
crossplatform).  If you want something more integrated with the flow, this
is pretty good IMO, and offers a little bit of eye candy with in/out
animation.  Not sure if having controls reside within the stack is drawback
for you (as opposed to stored in an external stack).

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
use-revolution mailing list
use-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: Filling in PDF forms

2007-05-25 Thread David Bovill

Same in the UK Rob - which is actually the application I am thinking of. So
the question is what is the best way to take the IRS documents and get Rev
to fill in the forms from the accounts database? Read the XML? Or is there
another way

On 25/05/07, Rob Cozens [EMAIL PROTECTED] wrote:


Hi David,

I've had a quick search regarding the ability to auto fill in PDF forms -
that is not creating PDF's from databases - but lets say you have an
existing PDF that you need to fill out many many times from your data -
software that does this for you.

FWIW, the US IRS distributes fill-in tax forms in PDF
format.  Acrobat Reader allows the reader to fill in the boxes but
not change any form text.  The completed form(s) can then be saved as
a separate document.

Rob

___
use-revolution mailing list
use-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: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread jbv


 Recently, Wilhelm Sanke wrote:

  To my knowledge graphic objects were able to detect the mouse inside
  their filled area - instead of their rects - long before 2.7.


yep, and thus the trick is actually straightforward : irregular polygonal shapes
are made with opaque graphics, and those are positioned under the background
image.
Then this very simple script can ve used in the card or background image :

on mousemove
  repeat with i=1 to number of grcs of this card
if within(grc i,the mouseloc) then
  -- do something
  exit repeat
end if
  end repeat
end mousemove

Best,
JB

___
use-revolution mailing list
use-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: Severe crash with Rev 2.8.1 under MacOSX 10.4.9

2007-05-25 Thread Sivakatirswami

Joel Guillod wrote:
May be the crash Joe reported is NOT due to the RR Search engine!!! Read 
more...


This afternoon I have experienced two unexpectedly exits from Revolution 
and I restarted my machine. And then I had a very severe crash during a 
normal development session. I had no problem under Rev 2.7.4 for the 
same business. Before the crash the only unusual thing I made is 
printing a few cards and the print actually occured. But then when I 
exited Revolution the session has unexpectedly closed and I spent much 
time to be able to restart MacOSX (10.4.9 PPC). The Preview application 
was the only one opened apart from Revolution (and Finder of course) and 
I have not worked with any other applications during this user session.


If some other one experienced such a behavior, think about filling a bug 
before some catastrophic event happens... with 2.8.1.



I've had a couple of these also...(same platform)
 but the requirement to identify
a reproducible recipe has made it difficult to consider posting a
bug. interestingly, when this happens, my

on closestack
   save this stack
end closestack

seem, to fire and I haven't really lost any work.
And I've never had to restart my machine.

i had a couple of such crashes on close stacks
that were open over the network (the stack is actually
on the server in another room)...

But, true: 2.7.4 was more stable.

but to keep things in perspective:

2.8.1  is still more stable than Adobe Acrobat Professional 8.0
which unexpectedly quits on me quit regularly (from the new
CS3 Suite)

Go figure (smile)





Joel


I just tried the Search Engine you mentioned. There appears to be a 
very serious flaw to the Search engine - causing Revolution to 
unexpectedly quit and probably doing other damage as well, since my 
only recourse was to reboot. Even the dock was unresponsive. If I 
tried to reopen Rev, it appeared to reopen with the startup Rev Splash 
screen, but then was nowhere to be found. I realize I'm not being very 
specific, but this all was caused (twice) by clicking in the small 
black (color selection) box that appears in the upper right portion of 
the Search results window, the one that says it lets you select a 
color for keywords. As soon as the color selection dialog appeared and 
I attempted to change the color, Rev quit and the other things I 
mention occurred requiring that I reboot.


Just thought you'd like to know, since you say you wrote that part of 
the docs.


I'm running Rev 2.8.1 on OS 10.4.9 with an Intel Mac Dual Core. The 
first time it happened I had Isolator 1.0 turned on. The second time, 
I did not. Neither time did I have any other applications open; 
running  Safari as the web browser.


Joe Wilkins


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

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



--
Om shanti
(In  Peace)

Sivakatirswami
www.himalayanacademy.com

Get Hinduism Today Digital Edition. It's Free!
http://www.hinduismtoday.com/digital/
___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Peter T. Evensen
I don't believe you can specify a position for a modal dialog (without 
using tricks like specifying a larger window size and a windowshape).


Chipp Walters wrote:

Hi Richard,

Why don't you use a modal dialog for this? You can script it so your code
accesses it 'in process' for a handler, which makes your job pretty easy.

Check out:
Creating a reusable dialog box at
http://www.altuit.com/webs/revCentral/Number7/default.htm

for a quicky type solution which shows an 'in process' use of a modal
dialog.

best,

Chipp
___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Eric Chatonet

Hi Peter,

Just set the loc of such a stack in its preOpenStack :-)

Le 25 mai 07 à 23:05, Peter T. Evensen a écrit :

I don't believe you can specify a position for a modal dialog  
(without using tricks like specifying a larger window size and a  
windowshape).


Chipp Walters wrote:

Hi Richard,

Why don't you use a modal dialog for this? You can script it so  
your code
accesses it 'in process' for a handler, which makes your job  
pretty easy.


Check out:
Creating a reusable dialog box at
http://www.altuit.com/webs/revCentral/Number7/default.htm

for a quicky type solution which shows an 'in process' use of a modal
dialog.

best,

Chipp



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: Popping up stacks

2007-05-25 Thread Stephen Barncard
Richard, If it's a dialog that can stay within the window, have you 
considered using groups instead of a new stack? I've found that 
'dialogs' created out of a group is quite effective, very fast, and 
is easy to create a very attractive interface. I mean really fast. 
hiding and showing.


sqb


There are two ways to use stacks as popup menus, and these can be 
useful as grids and galleries.  But sadly each method has its 
weaknesses, and neither seems to allow users to interact with 
scrolling groups gracefully if at all.


I've put together a sample stack at:

  go url http://www.fourthworldlabs.com/PopupTest.mc;

If you have time and interest, I'd appreciate any tips on how one 
might get scrolling groups to work within popup stacks.  If there 
isn't a way to do it now I'll post a BZ request.


--
 Richard Gaskin
 Fourth World Media Corporation


--


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



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


Re: Popping up stacks

2007-05-25 Thread Stephen Barncard

Never mind. I think I missed some details in the original post...'toolbar'

Richard, If it's a dialog that can stay within the window, have you 
considered using groups instead of a new stack? I've found that 
'dialogs' created out of a group is quite effective, very fast, and 
is easy to create a very attractive interface. I mean really fast. 
hiding and showing.


sqb

There are two ways to use stacks as popup menus, and these can be 
useful as grids and galleries.  But sadly each method has its 
weaknesses, and neither seems to allow users to interact with 
scrolling groups gracefully if at all.


I've put together a sample stack at:

  go url http://www.fourthworldlabs.com/PopupTest.mc;

If you have time and interest, I'd appreciate any tips on how one 
might get scrolling groups to work within popup stacks.  If there 
isn't a way to do it now I'll post a BZ request.


--
 Richard Gaskin
 Fourth World Media Corporation





--


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



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


Re: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Wilhelm Sanke

Scott Rossi scott at tactilemedia.com wrote:


Recently, Wilhelm Sanke wrote:

 To my knowledge graphic objects were able to detect the mouse inside
 their filled area - instead of their rects - long before 2.7.

Detecting the mouse, yes, always.  But within an irregular polygon shape,
the mouse would be detected using the entire rect of the graphic, 
regardless
of any concave or convex regions.  I (and Eric Chatonet I assume) 
spent many

years working around this limitation by using images with transparent
regions.  But this is now irrelevant as graphics detect the mouse 
using only

the area they occupy as expected.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


Maybe I cannot grasp exactly what you and Eric were trying to achieve . 
Things seem to be different here.


The educational sample stack I referred to 
(http://www.sanke.org/Software/ImageAndWords.zip) was originally 
created in April 2003.  Within its irregular polygon shapes, the mouse 
would be detected only in the proper graphic area and *not* in the 
entire rect of the graphic.


Have a look at the stack and run it with a Metacard of Revolution 
version prior to 2.5. Look for instance at the exercise Move and Click.


Regards,

Wilhelm Sanke

http://www.sanke.org/MetaMedia


___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Joe Lewis Wilkins
Stephen, I hate to say this, particularly since this list is very  
helpful and no doubt extremely talented and experienced in many  
areas, but sometimes I don't think most are as creative as they could  
be. I know it's a trite expression, but they need to think outside  
the box more often. Your suggestion is exactly what one of mine, made  
several days ago, would have led to. I didn't carry the ball any  
further than just suggesting an approach, but I was sure it would  
work and be easily accomplished. I got no response from that  
suggestion. Of course it had to do with Answer and Ask dialogs using  
images in the background; more or less the same thing.


So, have a pleasant Memorial Day weekend.

Joe Wilkins

On May 25, 2007, at 2:26 PM, Stephen Barncard wrote:

Never mind. I think I missed some details in the original  
post...'toolbar'


Richard, If it's a dialog that can stay within the window, have  
you considered using groups instead of a new stack? I've found  
that 'dialogs' created out of a group is quite effective, very  
fast, and is easy to create a very attractive interface. I mean  
really fast. hiding and showing.


sqb

There are two ways to use stacks as popup menus, and these can be  
useful as grids and galleries.  But sadly each method has its  
weaknesses, and neither seems to allow users to interact with  
scrolling groups gracefully if at all.


I've put together a sample stack at:

  go url http://www.fourthworldlabs.com/PopupTest.mc;

If you have time and interest, I'd appreciate any tips on how one  
might get scrolling groups to work within popup stacks.  If there  
isn't a way to do it now I'll post a BZ request.


--
 Richard Gaskin
 Fourth World Media Corporation





--


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



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

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


___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Richard Gaskin

Stephen Barncard wrote:
Richard, If it's a dialog that can stay within the window, have you 
considered using groups instead of a new stack? I've found that 
'dialogs' created out of a group is quite effective, very fast, and 
is easy to create a very attractive interface. I mean really fast. 
hiding and showing.


Thanks for the suggestion -- good idea.  I use groups in a lot of ways 
throughout the UI, but these galleries they really need to be separate 
windows, as the document window they appear over is resizable and may be 
smaller than the gallery popup.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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


Relative folder paths

2007-05-25 Thread Bill Vlahos
I can't seem to refer to folders via relative paths.

Lets say I have a folder containing a standalone, Data folder, and Preference 
folder all at the same level. The defaultFolder would be the folder at the 
level of the standalone.

If I change the defaultFolder to DataFileFolder I can then just put the 
files into vFilesList to get a listing of the files. However, this resets the 
defaultFolder value so I can't get to things in the Preference folder.

How would I get a listing of files in the defaultFolder/DataFileFolder?

Thanks,
Bill Vlahos
___
use-revolution mailing list
use-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: Relative folder paths

2007-05-25 Thread Bill Vlahos
Richard,

This doesn't seem to do anything useful to me.

How would I get a list of files in the DataFileFolder and then get a list of 
files in the Preferences folder?

Bill
 
On Friday, May 25, 2007, at 05:17PM, Richard Gaskin [EMAIL PROTECTED] wrote:
Bill Vlahos wrote:

  Lets say I have a folder containing a standalone, Data folder,
  and Preference folder all at the same level. The defaultFolder
  would be the folder at the level of the standalone.
 
  If I change the defaultFolder to DataFileFolder I can then
  just put the files into vFilesList to get a listing of the
  files. However, this resets the defaultFolder value so I can't
  get to things in the Preference folder.
 
  How would I get a listing of files in the
  defaultFolder/DataFileFolder?

Just move up one with ../:

   set the directory to ../DataFileFolder/


-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___
  [EMAIL PROTECTED]   http://www.FourthWorld.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: Relative folder paths

2007-05-25 Thread Björnke von Gierke


On 26 May 2007, at 04:09, Bill Vlahos wrote:

How would I get a list of files in the DataFileFolder and then get a 
list of files in the Preferences folder?


Assuming your DataFileFolder contains your Preferences folder, and 
is the current defaultfolder:


Put the defaultfolder into temp
set the defaultfolder to temp  /Preferences
put the files
set the defaultfolder to temp
put the files

--

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;

___
use-revolution mailing list
use-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: Relative folder paths

2007-05-25 Thread Bill Vlahos
Björnke,

That's very helpful.

So you can't really do anything with relative paths. You just have to keep 
redefining what the defaultFolder is.

I can do that.

Thanks,
Bill

On Friday, May 25, 2007, at 07:17PM, Björnke von Gierke [EMAIL PROTECTED] 
wrote:

On 26 May 2007, at 04:09, Bill Vlahos wrote:

 How would I get a list of files in the DataFileFolder and then get a 
 list of files in the Preferences folder?

Assuming your DataFileFolder contains your Preferences folder, and 
is the current defaultfolder:

Put the defaultfolder into temp
set the defaultfolder to temp  /Preferences
put the files
set the defaultfolder to temp
put the files

-- 

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;

___
use-revolution mailing list
use-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: Windows DLLs and path

2007-05-25 Thread Scott Kane

From: Bill Vlahos [EMAIL PROTECTED]


Is there a way to tell the standalone they are in a subfolder?


Possibly in Rev - but I've not tried it.  However...  It's normal practice 
to place them in the standalone (executable) directory.  Placing them in the 
path can cause dll hell in that another application uses a dll of the same 
name or even a newer or older dll that your app can not handle.  So avoid 
the path for this stuff.  In terms of the dll being in the same folder as 
the standalone (executable) why not do something like this (providing you're 
not installing into c:\Program Files which will cause problems in Vista):


Put you dll into your standalone as a binary custom property.  When the app 
executes unpack it to a file (.dll) and when your program exits delete the 
dll.  This is pretty much what happens with some static linking programs 
like C++, Delphi, VB etc.  You'd have to be sure to free the dll before 
deletion.


Scott Kane
CD Too - Voice Overs Artist  Original Game and Royalty Free Multi-Media 
Music
Nothing is as powerful as an idea whose time has come.  Victor Hugo 


___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Chipp Walters

In Office 12, the new Galleries could probably have been modals as well,
as similar features were in earlier versions.


I'm not as all crazy about 'Ribbons' as the rest. The take up a lot of
screen real estate, and in many cases require significant processing
resources (WYSIWYG font settings for instance). While they are
certainly great for some things, I'm not all that stoked about them
for all interface needs. And, they aren't as easy to figure out as one
might think. I believe we've already argued the plus/minus of them in
past threads.


But there's something very immediate-feeling about having a gallery pop
up from the toolbar.  And while a modal requires an explicit gesture to
dismiss it, menus are dismissed by doing anything outside of it,
allowing the busy user to move on to do something else if the mood
strikes them, and the menu politely gets out of their way and lets them
do it.


Of course there's always the issue of how to dismiss them (cancel
them). If you click outside the window, but on a different button or
ribbon, does it instantly popup? Or is the click  captured only as a
dismissal? And what about accidental clicking outside the window, or
switching to another app?
___
use-revolution mailing list
use-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: Popping up stacks

2007-05-25 Thread Richard Gaskin

Chipp Walters wrote:


In Office 12, the new Galleries could probably have been modals as well,
as similar features were in earlier versions.


I'm not as all crazy about 'Ribbons' as the rest. The take up a lot of
screen real estate, and in many cases require significant processing
resources (WYSIWYG font settings for instance). While they are
certainly great for some things, I'm not all that stoked about them
for all interface needs. And, they aren't as easy to figure out as one
might think. I believe we've already argued the plus/minus of them in
past threads.


It'll be interesting to see how things evolve.  GUIs have pretty much 
done without significant revision for more than a decade, so it seems 
we're about due for something to shake things up, if not Ribbons then 
something else.


And both MS and I hear you about real-estate:  the smart toolbar can be 
shown or hidden with a single keystroke.




But there's something very immediate-feeling about having a gallery pop
up from the toolbar.  And while a modal requires an explicit gesture to
dismiss it, menus are dismissed by doing anything outside of it,
allowing the busy user to move on to do something else if the mood
strikes them, and the menu politely gets out of their way and lets them
do it.


Of course there's always the issue of how to dismiss them (cancel
them). If you click outside the window, but on a different button or
ribbon, does it instantly popup? Or is the click  captured only as a
dismissal? And what about accidental clicking outside the window, or
switching to another app?


Ideally all popup menus would work identically, whether they're 
text-only or use graphical elements.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: Windows DLLs and path

2007-05-25 Thread Bill Vlahos
 Scott,

That's very clever to put them in a custom property and unpack when needed. I'm 
not installing into c:\Program Files so that should not be a problem.

How do you free the dll? Other than the dlls would still be there, is there a 
problem if a user uses the Task Manager to kill the program as it won't free 
the dlls?

Thanks,
Bill Vlahos

On Friday, May 25, 2007, at 08:06PM, Scott Kane [EMAIL PROTECTED] wrote:
From: Bill Vlahos [EMAIL PROTECTED]

 Is there a way to tell the standalone they are in a subfolder?

Possibly in Rev - but I've not tried it.  However...  It's normal practice 
to place them in the standalone (executable) directory.  Placing them in the 
path can cause dll hell in that another application uses a dll of the same 
name or even a newer or older dll that your app can not handle.  So avoid 
the path for this stuff.  In terms of the dll being in the same folder as 
the standalone (executable) why not do something like this (providing you're 
not installing into c:\Program Files which will cause problems in Vista):

Put you dll into your standalone as a binary custom property.  When the app 
executes unpack it to a file (.dll) and when your program exits delete the 
dll.  This is pretty much what happens with some static linking programs 
like C++, Delphi, VB etc.  You'd have to be sure to free the dll before 
deletion.

Scott Kane
CD Too - Voice Overs Artist  Original Game and Royalty Free Multi-Media 
Music
Nothing is as powerful as an idea whose time has come.  Victor Hugo 

___
use-revolution mailing list
use-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: Windows DLLs and path

2007-05-25 Thread Scott Kane

From: Bill Vlahos [EMAIL PROTECTED]

That's very clever to put them in a custom property and unpack when 
needed. I'm not installing into c:\Program Files so that should not be a 
problem.


It's an old trick with other IDE's.  :-)

How do you free the dll? Other than the dlls would still be there, is 
there a problem if a user uses the Task Manager to kill the program as it 
won't free the dlls?


AFAICT using a dll's in Rev requires implicity loading (intializing them) 
and then unloading them (from samples of externals I've seen, though I could 
be wrong here).  However generally, all things being equal, Windows will 
unload the dll when it is no longer being used.  So  The best way to 
arrive at the correct solution here is to give it a try and see if you get 
any Windows error messages doing it.


Scott Kane
CD Too - Voice Overs Artist  Original Game and Royalty Free Multi-Media 
Music
Nothing is as powerful as an idea whose time has come.  Victor Hugo 


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