Move the cursor ?

2008-05-24 Thread Ludovic Thébault

Hello,

Always for made a demo of the use of my stack without do a  
screenrecord, i want to move the cursor from an object to an another.  
But how ?


Thanks.

PS : to record actions, i've modified the revmessagewatcher to wrote  
in a file all messages and ids of objects, so it's already easier to  
make the script (but not very easy !).

___
use-revolution mailing list
use-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: Move the cursor ?

2008-05-24 Thread Jan Schenkel
--- Ludovic Thébault [EMAIL PROTECTED]
wrote:
 Hello,
 
 Always for made a demo of the use of my stack
 without do a  
 screenrecord, i want to move the cursor from an
 object to an another.  
 But how ?
 
 Thanks.
 
 PS : to record actions, i've modified the
 revmessagewatcher to wrote  
 in a file all messages and ids of objects, so it's
 already easier to  
 make the script (but not very easy !).
 

You can change the mouse location:
  set the screenMouseLoc to 100,200
Don't forget to convert between local and global
coordinates, for which you'll want to get acquainted
with the 'localLoc' and 'globalLoc' functions.

Hope this helped,

Jan Schenkel.

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

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


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


End of line Style

2008-05-24 Thread Jean-Pierre

Hello,

is there a way to force Revolution to save a file with Mac End of  
line style (Return without lineFeed) on a window platForm ?


Thanks

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


Re: End of line Style

2008-05-24 Thread GIRARD Damien

Hi Jean-Pierre,

replace return with numtochar(13) in myFile -- Replace revolution 
return with CR (Cariage Return).

or
replace return with numtochar(10) in myFile -- Replace revolution 
return with LF (Linefeed).


CR is the default on MacOS, LF on Unix and CRLF on Windows.
(After, does OSX use LF or CR, I do not know (I am not a mac user).)

Regards,

Damien

Jean-Pierre a écrit :

Hello,

is there a way to force Revolution to save a file with Mac End of line 
style (Return without lineFeed) on a window platForm ?


Thanks

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

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




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


New Beast - help required!

2008-05-24 Thread David Bovill
I've just got delivered a Mac Pro - with Leopard and installed Rev 2.9 -
catching up with the times... and got a couple of question regarding the
placement of folders in 2.9

   1. Has the Plugins folder moved back to the Rev Application folder from
   the Documents Folder in Leopard?
   2. If it has is there a way to know where the Rev Plugins folder is on a
   system - I guess there is a Rev internal way of knowing this?
   3. In the documentation palette - you can search for sample scripts -
   where are they kept? How could `i make my library of scripts available to
   this search?

By the way - I am amazed by this Mac Pro - I've used laptops for so long now
that the shock of how BIG this thing is was substantial - but wow the design
and beauty and speed of this beast is something else :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: integrating rsync with Rev

2008-05-24 Thread David Bovill
Josh - I'd like to do some work on the rsync / expect thing this weekend -
so if you have a stack or any code you could post that would be great. I'll
try to extend it to work with svn as well. 

This is the set-up and issues I've got. I am sure others have had the same
and it would be great to put together a few command line tools that can be
controlled and customized in Rev to help with the job.

   1. Got a new computer and I want to install Rev on it
   2. Got a new NAS that I want to move media files and shared software
   onto.
   3. Got several other computers on the LAN with different operating
   systems that I use to test and develop Rev based software
   4. Got around 30 libraries, assorted plugins and a few hundred archived
   projects and components built in Rev kept in local folders
   5. Got a large media archive on a USB drives (500MB) that I want to move
   onto the NAS
   6. I have most of the Rev files and scripts in SVN - so I can keep them
   in sync between computers, and I have a Rev interface to SVN.

The problem I have had is that moving the files onto the NAS is slow and
some of the files have problems copying due to file names and other issues.
Failed copies leaves me in a situation where I am not sure all the files
have copied and which ones have not. I'd like to have a flexible set up so
that some of the files are backed up (mirrored locally) while other are just
shifted over now and the local copy deleted.

Solutions:

   - install rsync on the NAS and use rsync to copy over the files and sync
   any folders that want mirroring in the longer term
   - zip the archive into one large 500MB file and copy it over? Will this
   work or is it too large?
   - use some other ftp like software to reliably copy over the entire
   directory structure?
   - hand roll Rev based software to copy over the files and folders
   recovering from any errors
___
use-revolution mailing list
use-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: Move the cursor ?

2008-05-24 Thread Judy Perry
You can also hide the cursor, show a png image of the cursor at that
position, have it move along the points of a graphic you create then
hide to the destination (thanks, Scott Rossi!), upon which you hide
the image and show the cursor.

Perhaps more work than Jan's suggestion but less futzing with scripting.

HTH,

Judy

On Fri, May 23, 2008 at 11:09 PM, Ludovic Thébault
[EMAIL PROTECTED] wrote:
 Hello,

 Always for made a demo of the use of my stack without do a screenrecord, i
 want to move the cursor from an object to an another. But how ?

 Thanks.

 PS : to record actions, i've modified the revmessagewatcher to wrote in a
 file all messages and ids of objects, so it's already easier to make the
 script (but not very easy !).
 ___
 use-revolution mailing list
 use-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: New Beast - help required!

2008-05-24 Thread Ken Ray
 I've just got delivered a Mac Pro

Congrats, David!

1. Has the Plugins folder moved back to the Rev Application folder from
the Documents Folder in Leopard?

No. It's still in the Docs folder, and you still need to create the My
Revolution Media, My Revolution Studio or My Revolution Enterprise
folder in there IIRC.

2. If it has is there a way to know where the Rev Plugins folder is on a
system - I guess there is a Rev internal way of knowing this?

Not a one-liner; the best we've got is checking for the folders I mentioned
above.
 
3. In the documentation palette - you can search for sample scripts -
where are they kept? How could `i make my library of scripts available to
this search?

No idea... perhaps someone else will know...

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


Live Resizing checkbox problem

2008-05-24 Thread Paul Gabel

Hello everybody:

Can someone confirm this problem before I file a bug report?

On Mac OS X Leopard, Intel chip, Rev 2.9, I've noticed that every time  
I open a new mainstack or substack, Live Resizing is unchecked in the  
Inspector yet the live resizing triangle is showing in the lower right  
corner of the stack. Checking and unchecking the Live Resizing  
checkbox has no effect. I also tried set the liveResizing of stack  
The Stack to false in the message box. No effect.


I checked for previous bugs at RQCC but found no mention of this  
problem. Please let me know. It's bugging me.


Paul Gabel
___
use-revolution mailing list
use-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: Live Resizing checkbox problem

2008-05-24 Thread Randy Hengst

Hello Paul,

I have no idea why Live Resizing doesn't influence the resize  
triangle -- but, the same thing appears in 2.8.1 and 2.9.0 with OSX  
4.11 on a G4. So, it isn't a bug.


But, I do know that the resize triangle you mention is controlled by  
the resizable check box under the Size  Position options.


take care,
randy hengst
-
On May 24, 2008, at 1:03 PM, Paul Gabel wrote:


Hello everybody:

Can someone confirm this problem before I file a bug report?

On Mac OS X Leopard, Intel chip, Rev 2.9, I've noticed that every  
time I open a new mainstack or substack, Live Resizing is unchecked  
in the Inspector yet the live resizing triangle is showing in the  
lower right corner of the stack. Checking and unchecking the Live  
Resizing checkbox has no effect. I also tried set the liveResizing  
of stack The Stack to false in the message box. No effect.


I checked for previous bugs at RQCC but found no mention of this  
problem. Please let me know. It's bugging me.


Paul Gabel
___
use-revolution mailing list
use-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: Live Resizing checkbox problem

2008-05-24 Thread Martin Baxter
Randy Hengst wrote:
 Hello Paul,
 
 I have no idea why Live Resizing doesn't influence the resize triangle
 -- but, the same thing appears in 2.8.1 and 2.9.0 with OSX 4.11 on a G4.
 So, it isn't a bug.
 
 But, I do know that the resize triangle you mention is controlled by the
 resizable check box under the Size  Position options.
 
 take care,
 randy hengst
 -
 On May 24, 2008, at 1:03 PM, Paul Gabel wrote:
 
 Hello everybody:

 Can someone confirm this problem before I file a bug report?

 On Mac OS X Leopard, Intel chip, Rev 2.9, I've noticed that every time
 I open a new mainstack or substack, Live Resizing is unchecked in the
 Inspector yet the live resizing triangle is showing in the lower right
 corner of the stack. Checking and unchecking the Live Resizing
 checkbox has no effect. I also tried set the liveResizing of stack
 The Stack to false in the message box. No effect.

 I checked for previous bugs at RQCC but found no mention of this
 problem. Please let me know. It's bugging me.

 Paul Gabel

liveresizing Causes a stack window to display its contents changing
during resizing, instead of redrawing the contents after the window is
resized.

resizable Specifies whether the user can resize a stack window.

Martin Baxter

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


Live Resizing problem

2008-05-24 Thread Paul Gabel
On Mac OS X Leopard, Intel chip, Rev 2.9, I've noticed that every  
time

I open a new mainstack or substack, Live Resizing is unchecked in the
Inspector yet the live resizing triangle is showing in the lower  
right

corner of the stack. Checking and unchecking the Live Resizing
checkbox has no effect. I also tried set the liveResizing of stack
The Stack to false in the message box. No effect.


Thanks Randy and Martin. I was temporarily confused by these two terms.

Paul Gabel
___
use-revolution mailing list
use-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: Live Resizing checkbox problem

2008-05-24 Thread Ian Wood


On 24 May 2008, at 19:03, Paul Gabel wrote:

 Live Resizing is unchecked in the Inspector yet the live resizing  
triangle is showing in the lower right corner of the stack.


That's just the resizing triangle - it's got nothing to do with *live*  
resizing being on or off... ;-)


Ian
___
use-revolution mailing list
use-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: End of line Style

2008-05-24 Thread Sarah Reichelt
 is there a way to force Revolution to save a file with Mac End of line style
 (Return without lineFeed) on a window platForm ?

As Damien said, you can force the line-endings to be whatever you want
using replace but then you must remember to save the file using
binfile:. If you use file: then it will revert back to the
system's normal line ending.

replace cr with numToChar(13) in tFileData
put tFileData into URL (binfile:  MacFile.txt)

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: New Beast - help required!

2008-05-24 Thread David Bovill
Thanks Sarah and Ken,

does anyone know what / where the example scripts are kept / how its used?

2008/5/24 Sarah Reichelt [EMAIL PROTECTED]:

 On Sat, May 24, 2008 at 11:02 PM, David Bovill
 [EMAIL PROTECTED] wrote:
  I've just got delivered a Mac Pro

 Very nice!


It took two of us to carry it in :)


  - with Leopard and installed Rev 2.9 -
  catching up with the times... and got a couple of question regarding the
  placement of folders in 2.9
 
2. If it has is there a way to know where the Rev Plugins folder is on
 a
system - I guess there is a Rev internal way of knowing this?

 Yes:
   revEnvironmentUserPluginsPath()
   revEnvironmentPluginsPath()

3. In the documentation palette - you can search for sample scripts -
where are they kept? How could `i make my library of scripts available
 to
this search?

 I recommend Scripter's Scrapbook for this
 http://www.flexiblelearning.com/ssbk.htm


Agreed - but surely it would be nice to integrate this with the Rev IDE
using the search for example scripts feature?
___
use-revolution mailing list
use-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: New Beast - help required!

2008-05-24 Thread Sarah Reichelt
On Sat, May 24, 2008 at 11:02 PM, David Bovill
[EMAIL PROTECTED] wrote:
 I've just got delivered a Mac Pro

Very nice!

 - with Leopard and installed Rev 2.9 -
 catching up with the times... and got a couple of question regarding the
 placement of folders in 2.9

   2. If it has is there a way to know where the Rev Plugins folder is on a
   system - I guess there is a Rev internal way of knowing this?

Yes:
   revEnvironmentUserPluginsPath()
   revEnvironmentPluginsPath()

   3. In the documentation palette - you can search for sample scripts -
   where are they kept? How could `i make my library of scripts available to
   this search?

I recommend Scripter's Scrapbook for this
http://www.flexiblelearning.com/ssbk.htm

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: Undos (vs. text alignment) [was: Script Editor]

2008-05-24 Thread Curry Kenworthy
I wonder how one would implement unlimited undos in
Runtime Revolution?

I would be happy to provide an unlimited undo add-on that works
anywhere--regular fields or script editor.

I've already committed myself to a text alignment add-on which will allow
users to align paragraphs of text freely, left/right/center, just like in
a word processor.

I can do both projects if there is also demand for an undo solution, but I
want to ask the Rev community: which is needed more urgently? Which should
I prioritize? I would love to hear from some of you to judge interest.

Best wishes,

Curry Kenworthy

--
WordLib: Import Microsoft Word and
OpenOffice documents in Revolution
(Currently for Windows, Mac coming soon)
http://curryk.com/wordlib.html


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


Re: Control the World

2008-05-24 Thread Mark Wieder
Makers-

The key to getting stability for the OSX usb driver turned out to be
sending a trailing cr to flush the buffers, even though the cr itself
isn't used by the protocol and isn't needed on Windows.

So everything's working quite nicely, but now revOnline is revOffline.
I'll post the library and controller stack when it comes back up.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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