Re: So you CAN build an OS X app from another system...

2010-06-12 Thread Richmond

On 06/12/2010 05:32 AM, Richard Gaskin wrote:

...if that system is Linux.

Earlier here we discussed the difficulty of making Mac builds from 
other OSes, and at the time we were focused on Windows.


I just ran this simple test on Ubuntu 10.04:

1. Make a Mac standalone
2. Zipped it
3. Copied the Zip file via USB drive (FAT16, FWIW) to my Mac
4. Unzipped it
5. Double-clicked it

RESULT: Ran just fine.

Apparently since both OS X and Linux have the same Unix executable 
bit, it carries over across platforms.



I've been lusting after the Lemur UltraThin from System76:
http://www.system76.com/product_info.php?cPath=28products_id=97

Knowing that I can build for all three platforms from that system 
pushes a bit closer to getting one




Font detection ?  How are you going to be sure that your stack, made 
on Linux, is going

to behave itself on Mac when:

1. There is no real parity with fonts.

2. On Linux RunRev cannot even detect user-installed fonts.

Time and time again; whether moving standalones from Mac-Win, Win-Lin, 
Mac-Lin, and so on for all the possible

combinations; the thing that has gone wonky has been the font display.

I always take a stack over to the target platform and then go through, 
text field by text field
checking the font display; and , often as not, muttering dark thoughts 
and resetting the

font settings.
___
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: Opaque stack resizer

2010-06-12 Thread Scott Rossi

Hi Simon:

I'm not sure if Shao Sean's Mac external offers something here, but  
there is no built-in property you can change.  Your scripted solution  
will likely never be as snappy as the built-in behavior, but one thing  
you might try is enabling liveResizing on the stack.  I've found this  
usually makes for faster updating when stack is resized.


Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



On Jun 11, 2010, at 6:52 PM, Simon Lord sl...@karbonized.com wrote:


The resize widget on the bottom right of my stack has a colour to it.
It doesn't match the background of my stack.  Is there any way to
change this value?  I've cobbled together a script to resize the stack
by dragging an icon around but the result is less then snappy—it's
downright sluggish.
___
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: Shell Command with Sudo

2010-06-12 Thread Justin Sloan
Thanks to all who replied. With you help and some additional research
I came up with a solution.

Mac OS X bash shell only allows results from commands to be piped in
to another command, including sudo, not plain text. The solution is to
set a bash variable (pw=password) and echo the variable to pipe it
into sudo (echo $pw | sudo -S command). In Rev you must set the
variable and pipe it in on the same shell() call. Like this:

shell(pw=  tPassword  ; echo $pw | sudo -S command)

Works like a charm, and it's an elegant solution without a lot of
hashed code. I have not tested this on other Unix based systems but
the command should work on any system with bash as the default shell.


Happy coding!
 - Justin


On Fri, Jun 11, 2010 at 6:51 PM, David Bovill da...@vaudevillecourt.tv wrote:
 Don't think expect is the right way to do this - best would be to use an ssh
 key (seem to remember that is how I used to do this back when i was on Linux
 with Metacard), or else to write a bash script as a text file and then get
 rev to execute that.

 On 11 June 2010 16:33, Andre Garzia an...@andregarzia.com wrote:

 Justin,

 I always though you could not pipe passwords into sudo. One way to do this
 kind of stuff is to use the expect tool.

 http://expect.sourceforge.net/

 With expect you can automate many command line things.

 ___
 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: Shell Command with Sudo

2010-06-12 Thread Peter Alcibiades

Is there a reason you cannot use the NOPASSWD option in sudo?  Maybe this is
not how it works in OSX, but what you'd normally do is to edit /etc/sudoers
to allow this particular user to perform this particular command with the no
password option, and its done.  If you do this, the command can be limited
to one with specific options.  For instance, you can allow shutdown with the
-h option, but not the -r option.  No-one has to know the root password then
and it is not written anyplace.  Yes, you do have to know it to edit
/etc/sudoers.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Shell-Command-with-Sudo-tp2251593p2252593.html
Sent from the Revolution - User mailing list archive at Nabble.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: Shell Command with Sudo

2010-06-12 Thread Richmond

On 06/12/2010 12:08 PM, Peter Alcibiades wrote:

Is there a reason you cannot use the NOPASSWD option in sudo?  Maybe this is
not how it works in OSX, but what you'd normally do is to edit /etc/sudoers
to allow this particular user to perform this particular command with the no
password option, and its done.  If you do this, the command can be limited
to one with specific options.  For instance, you can allow shutdown with the
-h option, but not the -r option.  No-one has to know the root password then
and it is not written anyplace.  Yes, you do have to know it to edit
/etc/sudoers.
   


This is all very charming, but I wonder how one would
effect this from a standalone on an end-user's machine . . .  :)
___
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: So you CAN build an OS X app from another system...

2010-06-12 Thread Mark Schonewille

Richard,

I've seen your posts on this subject several times now and I never  
thought it was a real problem. I have now actually done a test on Win  
XP, building a standalone on a PC, zipping it and copying it over to a  
Mac OS X Leopard machine. The standalone runs fine. Under which  
circumstances doesn't the standalone run exactly?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new projects. Contact me for a  
quote http://economy-x-talk.com/contact.html
Download Clipboard Link http://clipboardlink.economy-x-talk.com and  
share the clipboard of your computer over the local network.


On 12 jun 2010, at 04:32, Richard Gaskin wrote:


...if that system is Linux.

Earlier here we discussed the difficulty of making Mac builds from  
other OSes, and at the time we were focused on Windows.


I just ran this simple test on Ubuntu 10.04:

1. Make a Mac standalone
2. Zipped it
3. Copied the Zip file via USB drive (FAT16, FWIW) to my Mac
4. Unzipped it
5. Double-clicked it

RESULT: Ran just fine.

Apparently since both OS X and Linux have the same Unix executable  
bit, it carries over across platforms.



I've been lusting after the Lemur UltraThin from System76:
http://www.system76.com/product_info.php?cPath=28products_id=97

Knowing that I can build for all three platforms from that system  
pushes a bit closer to getting one


--
Richard Gaskin
Fourth World Media Corporation



___
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: runrev community : how many licenses? How many users? How many developpers?

2010-06-12 Thread Francis Nugent Dixon

Hi from Beautiful Brittany,

I must have been lucky. If I zoom in a max,
my flag puts me just in front of my computer,
in the living room !

However, the flag doesn't tell me which way
I am facing .  :)

-Francis


___
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: So you CAN build an OS X app from another system...

2010-06-12 Thread Richmond

On 06/12/2010 12:28 PM, Mark Schonewille wrote:

Richard,

I've seen your posts on this subject several times now and I never 
thought it was a real problem. I have now actually done a test on Win 
XP, building a standalone on a PC, zipping it and copying it over to a 
Mac OS X Leopard machine. The standalone runs fine. Under which 
circumstances doesn't the standalone run exactly?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new projects. Contact me for a 
quote http://economy-x-talk.com/contact.html
Download Clipboard Link http://clipboardlink.economy-x-talk.com and 
share the clipboard of your computer over the local network.


On 12 jun 2010, at 04:32, Richard Gaskin wrote:


...if that system is Linux.

Earlier here we discussed the difficulty of making Mac builds from 
other OSes, and at the time we were focused on Windows.


I just ran this simple test on Ubuntu 10.04:

1. Make a Mac standalone
2. Zipped it
3. Copied the Zip file via USB drive (FAT16, FWIW) to my Mac
4. Unzipped it
5. Double-clicked it

RESULT: Ran just fine.

Apparently since both OS X and Linux have the same Unix executable 
bit, it carries over across platforms.



I've been lusting after the Lemur UltraThin from System76:
http://www.system76.com/product_info.php?cPath=28products_id=97


I'm not surprised: it looks fantastic.

My only worry would be if something went wrong and I had to open the case.



Knowing that I can build for all three platforms from that system 
pushes a bit closer to getting one


--
Richard Gaskin
Fourth World Media Corporation



___
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: runrev community : how many licenses? How many users? How many developpers?

2010-06-12 Thread Richmond

On 06/12/2010 12:30 PM, Francis Nugent Dixon wrote:

Hi from Beautiful Brittany,

I must have been lucky. If I zoom in a max,
my flag puts me just in front of my computer,
in the living room !

However, the flag doesn't tell me which way
I am facing .  :)



Considering Google seem to have been tapping into
people's wireless internet, if you know where to look
you will probably find a description of the type of
toilet paper you prefer . . .  :)
___
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: OT: Periodic Table of Typefaces

2010-06-12 Thread Francis Nugent Dixon

Hi from Beautiful Brittany,

It's on my wall - love it !

I'm sure even Mendeleev would have loved it too !

But according to the rules, this means we can define
certain characteristics of character fonts that have
not yet been discovered .

:)

-Francis


___
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: Shell Command with Sudo

2010-06-12 Thread Justin Sloan
Peter,

That is a good suggestion if the application was not meant for mass
deployment. Otherwise each machine's sudoers file would have to be
edited accordingly, which would be a bummer for users that do not know
how to do so. And that is likely the majority of Mac users. I would
venture to say that the majority of Mac users never even opened the
Terminal.

The solution is elegant, I believe, in that it will work on any Mac OS
X machine and takes advantage of Bash' s flexibility with Rev's shell
structure.

Happy coding!
 - Justin


On Sat, Jun 12, 2010 at 12:11 PM, Richmond richmondmathew...@gmail.com wrote:
 On 06/12/2010 12:08 PM, Peter Alcibiades wrote:

 Is there a reason you cannot use the NOPASSWD option in sudo?  Maybe this
 is
 not how it works in OSX, but what you'd normally do is to edit
 /etc/sudoers
 to allow this particular user to perform this particular command with the
 no
 password option, and its done.  If you do this, the command can be limited
 to one with specific options.  For instance, you can allow shutdown with
 the
 -h option, but not the -r option.  No-one has to know the root password
 then
 and it is not written anyplace.  Yes, you do have to know it to edit
 /etc/sudoers.


 This is all very charming, but I wonder how one would
 effect this from a standalone on an end-user's machine . . .  :)
 ___
 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: Opaque stack resizer

2010-06-12 Thread Klaus on-rev
Hi Simon,

 The resize widget on the bottom right of my stack has a colour to it.
 It doesn't match the background of my stack.  Is there any way to
 change this value?  I've cobbled together a script to resize the stack
 by dragging an icon around but the result is less then snappy—it's
 downright sluggish.

the resize widget is a button (if we mean the same thingie)!
So you can just set its icon to empty and its ink to noop and that's it 
:-)

If you want its icon to have the right color, then you will have to edit the 
image 
shown in the button or use your own image for this resizer.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Opaque stack resizer

2010-06-12 Thread Simon Lord
Klaus, how would I target this resize widget?  The closest thing I can
find in the dictionary is resizeControl which doesn't appear to be
what I thought it was.



On Sat, Jun 12, 2010 at 7:35 AM, Klaus on-rev kl...@major.on-rev.com wrote:
 Hi Simon,

 The resize widget on the bottom right of my stack has a colour to it.
 It doesn't match the background of my stack.  Is there any way to
 change this value?  I've cobbled together a script to resize the stack
 by dragging an icon around but the result is less then snappy—it's
 downright sluggish.

 the resize widget is a button (if we mean the same thingie)!
 So you can just set its icon to empty and its ink to noop and that's it 
 :-)

 If you want its icon to have the right color, then you will have to edit the 
 image
 shown in the button or use your own image for this resizer.


 Best

 Klaus

 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.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: So you CAN build an OS X app from another system...

2010-06-12 Thread Mike Bonner
On the subject of creating *nix builds from windows I had a thought.

How difficult would it be to setup a virtualbox linux setup with a
simple script.. or even a rev app, that you feed a folder to, it will
copy it in to the linux virtual, set the execution bit zip it up, and
copy it back out into the windows file system?

Or if one prefers, if hfsplus is installed, a script like the one
here. 
http://confluence.concord.org/display/CCTR/Creating+MacOS+dmg+files+in+Linux
could be used to create dmg files. If nothing else, its easy enough to
set the execution bit by hand as well as zip everything up, so the
only real requirement is to setup the linux virtualbox. DSL is tiny,
resource efficient, and runs great.

On Sat, Jun 12, 2010 at 3:31 AM, Richmond richmondmathew...@gmail.com wrote:
 On 06/12/2010 12:28 PM, Mark Schonewille wrote:

 Richard,

 I've seen your posts on this subject several times now and I never thought
 it was a real problem. I have now actually done a test on Win XP, building a
 standalone on a PC, zipping it and copying it over to a Mac OS X Leopard
 machine. The standalone runs fine. Under which circumstances doesn't the
 standalone run exactly?

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer

 Economy-x-Talk is always looking for new projects. Contact me for a quote
 http://economy-x-talk.com/contact.html
 Download Clipboard Link http://clipboardlink.economy-x-talk.com and share
 the clipboard of your computer over the local network.

 On 12 jun 2010, at 04:32, Richard Gaskin wrote:

 ...if that system is Linux.

 Earlier here we discussed the difficulty of making Mac builds from other
 OSes, and at the time we were focused on Windows.

 I just ran this simple test on Ubuntu 10.04:

 1. Make a Mac standalone
 2. Zipped it
 3. Copied the Zip file via USB drive (FAT16, FWIW) to my Mac
 4. Unzipped it
 5. Double-clicked it

 RESULT: Ran just fine.

 Apparently since both OS X and Linux have the same Unix executable bit,
 it carries over across platforms.


 I've been lusting after the Lemur UltraThin from System76:
 http://www.system76.com/product_info.php?cPath=28products_id=97

 I'm not surprised: it looks fantastic.

 My only worry would be if something went wrong and I had to open the case.


 Knowing that I can build for all three platforms from that system pushes
 a bit closer to getting one

 --
 Richard Gaskin
 Fourth World Media Corporation


 ___
 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: Opaque stack resizer

2010-06-12 Thread Klaus on-rev
Hi Simon,

 Klaus, how would I target this resize widget?  The closest thing I can
 find in the dictionary is resizeControl which doesn't appear to be
 what I thought it was.

??? Sorry, don't know what you mean?

I placed that fully functional(!) widget from the Object library in my stack
removed its icon and set the ink of that namely button to noop in the
Inspector.

After that the (now invisible) button still worked. What am I missing?


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Opaque stack resizer

2010-06-12 Thread Simon Lord
No it does, but I have to say that Shao's external is one of the most
useful I've found so far.  I wish there were more I could look at but
I'm having a hard time finding them all.

For instance, I'm DYING to have rounded corners on the bottom of my
stack but the only way to do this is with the Metal texture which
adds fat borders.  Shao's external removes the borders but also the
rounded corners.

There's always *something* missing.  :P

On Sat, Jun 12, 2010 at 2:23 AM, Scott Rossi sc...@tactilemedia.com wrote:
 Hi Simon:

 I'm not sure if Shao Sean's Mac external offers something here, but there is
 no built-in property you can change.  Your scripted solution will likely
 never be as snappy as the built-in behavior, but one thing you might try is
 enabling liveResizing on the stack.  I've found this usually makes for
 faster updating when stack is resized.

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX Design



 On Jun 11, 2010, at 6:52 PM, Simon Lord sl...@karbonized.com wrote:

 The resize widget on the bottom right of my stack has a colour to it.
 It doesn't match the background of my stack.  Is there any way to
 change this value?  I've cobbled together a script to resize the stack
 by dragging an icon around but the result is less then snappy—it's
 downright sluggish.
 ___
 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: Opaque stack resizer

2010-06-12 Thread Simon Lord
Ok, I figured out what you're talking about.  The Object Library is
something new to me since I last used MetaCard (never used RunRev
until a few weeks ago).

It works, but it's as sluggish as my two-liner code...the refresh rate
(even with lockscreen) is very noticeable.

drag grc drag-handle
set the rect of this stack to the left of this stack, the top of this
stack, the right of img drag-handle + the left of this stack, the
bottom of img drag-handle + the top of this stack

Thanks Klaus, at least I learned something.  :)

On Sat, Jun 12, 2010 at 8:33 AM, Klaus on-rev kl...@major.on-rev.com wrote:
 Hi Simon,

 Klaus, how would I target this resize widget?  The closest thing I can
 find in the dictionary is resizeControl which doesn't appear to be
 what I thought it was.

 ??? Sorry, don't know what you mean?

 I placed that fully functional(!) widget from the Object library in my 
 stack
 removed its icon and set the ink of that namely button to noop in the
 Inspector.

 After that the (now invisible) button still worked. What am I missing?


 Best

 Klaus

 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.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: [OT] G4 goes West

2010-06-12 Thread Richmond

Back from the dead (or very nearly):

Well:

I removed one of the hard disks in the G4 MDD from the cage that sits
over the heat sink; allowing me space to install an 80 mm 12 v fan
directly on top of the heat sink with those funny rubber doodahs to
keep it in place: power drawn from the HD cage supply.

Took out my antiquated SCSI PCI card (saved it for the day when I need
what is saved on my ZIP disks) and inserted a USB2 card.

Put 2 PCI slot cooler fans back to back in 2 of the 3 PCI slots between
the Video card and the USB2 card; jacked them into the power supply
for the other 2 hard disks.

Unscrewed the internal speaker from the 'hole' at the top front of the MDD
and taped it with electrical tape to the top of the DVD drive housing; 
left the

plastic grid on the hole: now acts as an air intake.



However; spent yesterday trawling round all the computer shops in Plovdiv,
Bulgaria in search of PCI slot fans: in 8 shops I was told:

1. They don't exist (one chap actually told me I was fantasizing).

2. Why would you need them anyway.

I then printed out a picture of a PCI slot fan and went round all the 
shops again;

the 'fantasy' man told me I was mad and had faked up the picture !

Eventually saw a hole in the wall repair shop; went in and the chap 
there was on
the phone to a warehouse in Sofia lickety-split; and I collected the 2 
fans this morning.


Went round to see the 'fantasy' man and waved the PCI slot cards under 
his nose . . . :)




And the moral of my story is: don't try to be clever with computers in 
Plovdiv, Bulgaria.




I took a few photos and will post them on my website in the next few days.

AFTER I have restored all my software . . . :(

-

Average temperature from the sensors is now 20 degs Centigrade 
lower


___
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: Opaque stack resizer

2010-06-12 Thread Klaus on-rev
Hi Simon,

 Ok, I figured out what you're talking about.  The Object Library is
 something new to me since I last used MetaCard (never used RunRev
 until a few weeks ago).
 
 It works, but it's as sluggish as my two-liner code...the refresh rate
 (even with lockscreen) is very noticeable.
 
 drag grc drag-handle
 set the rect of this stack to the left of this stack, the top of this
 stack, the right of img drag-handle + the left of this stack, the
 bottom of img drag-handle + the top of this stack
 
 Thanks Klaus, at least I learned something.  :)

at least something... :-D


Best from rainy germany

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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


WDEF identifiers

2010-06-12 Thread Simon Lord
Has anyone ever successfully used a WDEF identifier?  Is there a list
of available identifiers somewhere or do we still have to manually
look at the app resource and then set it in RunRev?
___
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


Secure file delete

2010-06-12 Thread Bill Vlahos
I remember reading a suggestion on the list about creating a file with dummy 
information to overwrite an existing file. This way the original file will be 
zeroed out so there is nothing to undelete.

Unfortunately I can't find the email and was hoping that someone could clarify 
how to do this.

The reason for this is the next version of InfoWallet will support encrypted 
and password protected attachments but for someone to view an attachment it 
will have to be saved to disk unprotected and then launched. I want to securely 
delete the temporarily saved unprotected file.

Thanks,
Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

___
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: Secure file delete

2010-06-12 Thread Jim Sims

On Jun 12, 2010, at 4:29 PM, Bill Vlahos wrote:

 I remember reading a suggestion on the list about creating a file with dummy 
 information to overwrite an existing file. This way the original file will be 
 zeroed out so there is nothing to undelete.
 
 Unfortunately I can't find the email and was hoping that someone could 
 clarify how to do this.
 
 The reason for this is the next version of InfoWallet will support encrypted 
 and password protected attachments but for someone to view an attachment it 
 will have to be saved to disk unprotected and then launched. I want to 
 securely delete the temporarily saved unprotected file.


Might have been me.

My client wanted me to take steps to keep people from saving small video files 
that were used by the app, make it very difficult for users to play them 
outside the app.

I placed all the videos into user properties - then to view the video, a temp 
file was made and that file used the data from the user property to make the 
video - after playing the video I would delete the file. 

I noticed that on rare occasions the file would appear in the trash on a 
reboot, inside a folder (perhaps the folder was named saved or rescued 
items?).

So, I changed my script so that before I deleted the file I would write over 
the file with a simple single phrase, thus destroying the video and changing it 
to a simple text file. 


sims





___
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: Opaque stack resizer

2010-06-12 Thread J. Landman Gay

Simon Lord wrote:

Ok, I figured out what you're talking about.  The Object Library is
something new to me since I last used MetaCard (never used RunRev
until a few weeks ago).

It works, but it's as sluggish as my two-liner code...the refresh rate
(even with lockscreen) is very noticeable.

drag grc drag-handle
set the rect of this stack to the left of this stack, the top of this
stack, the right of img drag-handle + the left of this stack, the
bottom of img drag-handle + the top of this stack


Try a more efficient and responsive technique, using send command in 
time. There is an explanation here:

http://www.hyperactivesw.com/resources_polling.html

Look at the final script on that page for an example you can adapt for 
the resize button.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opaque stack resizer

2010-06-12 Thread Simon Lord
Ok, huge difference.  Thanks Jacque, that's another problem solved. :)



On Sat, Jun 12, 2010 at 11:28 AM, J. Landman Gay
jac...@hyperactivesw.com wrote:
 Simon Lord wrote:

 Ok, I figured out what you're talking about.  The Object Library is
 something new to me since I last used MetaCard (never used RunRev
 until a few weeks ago).

 It works, but it's as sluggish as my two-liner code...the refresh rate
 (even with lockscreen) is very noticeable.

 drag grc drag-handle
 set the rect of this stack to the left of this stack, the top of this
 stack, the right of img drag-handle + the left of this stack, the
 bottom of img drag-handle + the top of this stack

 Try a more efficient and responsive technique, using send command in
 time. There is an explanation here:
 http://www.hyperactivesw.com/resources_polling.html

 Look at the final script on that page for an example you can adapt for the
 resize button.

 --
 Jacqueline Landman Gay         |     jac...@hyperactivesw.com
 HyperActive Software           |     http://www.hyperactivesw.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
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: WDEF identifiers

2010-06-12 Thread Mark Wieder
Simon-

Saturday, June 12, 2010, 6:42:31 AM, you wrote:

 Has anyone ever successfully used a WDEF identifier?  Is there a list
 of available identifiers somewhere or do we still have to manually
 look at the app resource and then set it in RunRev?

Boy, that takes me back a ways... what are you trying to do?

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: WDEF identifiers

2010-06-12 Thread stephen barncard
I haven't heard the term WDEF in a while...I don't think runrev windows are
based on that.

MacOS X  doesn't use Resource Forks anymore...

Runrev can read and write resources though, as long as Apple doesn't
disallow them entirely in the file system - it's a legacy thing.

As long as the forked files stays in the Mac world, resources might be
useful, like adding extra data to a JPG or sound file. But I would question
if Apple will support it in the future, and the modified files might not be
happy on other systems.

Personally, I loved the resource concept - like custom properties, images
and sounds we imbed today in Rev - but it made a mess of incompatibility
which impression lingers today:  aww it's a mac file, no wonder it's messed
up.

Search a well-used PC drive for .DS_store files, which always showed up in
a directory of mac files on a PC. There must be billions of files today with
that name. File conversion systems, not knowing what else to do with the
resource forks would split them with the data forks, leaving the data in the
file and moving whatever data was in the resource forks of all the files
into the single .DS_store garbage heap. I don't know if any of the data in
there is recoverable.

I just had to shut down spotlight. I did a search for .DS_Store and
stopped it because there were so many on my machine and adding them to the
list so quickly that I was worried it might actually top it out.

If you search for them, use File Visibility as a criteria (which will have
to be added by using other from the kind popup.

I'm guessing that MacOS is tolerating the 'dual system' approach but that
resource fork laden files might appear to have the resources exist in the
file but also 'virtualized' to appear in the MacOSX system properly.

Here's the best poop on .DS_Store

http://en.wikipedia.org/wiki/.DS_Store



On 12 June 2010 06:42, Simon Lord sl...@karbonized.com wrote:

 Has anyone ever successfully used a WDEF identifier?  Is there a list
 of available identifiers somewhere or do we still have to manually
 look at the app resource and then set it in RunRev?

-- 
-
Stephen Barncard
San Francisco
___
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


Force PNG gamma update

2010-06-12 Thread Simon Lord
So I found a post suggesting that after setting the screenGamma to
force the PNGs to update by performing the following:

set text of img 1 to the text of img 1

Well, to quote a famous actor—The goggles do nothing!.

What's the best way to successfully force the PNGs to render properly
after a screenGamma setting?
___
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: WDEF identifiers

2010-06-12 Thread Simon Lord
I was trying to get my stack to use the same resource as itunes.  When
I tried doing this in the past my stack would just disappear.

It's not critical, but I'm a little bummed about how few options there
are for stack decorations.

Ideally I want:

- Metal decorations
- *without* the thick border (Shao's external takes core of that)
- *keep* the bottom rounded corners (which Metal has, but which Shao's
external removes).

There also doesn't appear to be any options for controlling the
thickness or styling of the title bar.

Setting the decorations to none makes all the corners square and
resizing extremely choppy (even with the tips from J).  Also, from
what I've read, with decorations set to none it also removes the
ability to slide a stack from under the main stack.

I just thought there'd be more support for basic windowing, so I'm
looking at everything. Judging from the replies to this post I gather
WDEF is not an option.

Sigh.



On Sat, Jun 12, 2010 at 12:19 PM, Mark Wieder mwie...@ahsoftware.net wrote:
 Simon-

 Saturday, June 12, 2010, 6:42:31 AM, you wrote:

 Has anyone ever successfully used a WDEF identifier?  Is there a list
 of available identifiers somewhere or do we still have to manually
 look at the app resource and then set it in RunRev?

 Boy, that takes me back a ways... what are you trying to do?

 --
 -Mark Wieder
  mwie...@ahsoftware.net

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

___
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: [OT] G4 goes West

2010-06-12 Thread stephen barncard
Richmond -  you might consider copying your old ZIP disks to someplace safer
 as soon as possible - they seem to have some kind of 'disk rot' and can die
quickly in a few years. Remember zips are still 'floppy disks' with higher
density and the failed 'Bernoulli' technology. All of your old zips will fit
in a tiny corner of your current hard drive. There's not much between your
archive and the 'ping of death' (zip drive users know what I mean).

iOmega has made a lot of junk using this bernoulli technology and it was so
unreliable across their product line over that I refuse to buy anything with
iOmega in the name, even today. I bought into the format big time, so
desperate I was for storage. Fortunately for me it all went to Hard Drive in
1999 and I haven't looked at it since!

I remember when Solid State Logic (maker of over-rated professional audio
consoles) finally offered a  'hard drive' for their console series in 1994.

SSL for years had relied on a very ancient mini computer (PDP-8 type) with
some questionable hacks ( the graphics card was a BBC hobby computer grafted
onto a blank card ) and legacy hardware, including the disc interface called
SASI ( the predecessor to SCSI) which are / were pretty much unobtainable.
These interfaces were hooked up to 8 SASI floppy drives.

So what was the new 'hard drive' ?? A SASI 8 Bernoulli in a huge plastic
case. They also offered a pair of SASI 400k plastic-type 'floppy' drives in
 a rack mounted chassic for only $2700.

[more OT rambling below]

It was so ironic that non-technical people were so enamored with the SSL,
not knowing how really ancient the control systems was.  We techs were
constantly putting it down for its design shortcuts and mistakes, but we had
to work on it because it was responsible for more 'hits' than any other
single console and the brand brought in the business. The engineers just
learned the string of keystrokes and the ones that could figure it out
became stars ( read: Bob Clearmountain ) and the others had assistants run
it.

The biggest irony was that as I brought modern computers into the studio
(ok, Macs) in the late 80s and the audio engineers started using them for
email and amusement, the semi-command line interface of the SSL really
showed how far we'd come. We spent hours trying to figure a way to simplify
the interface using our new macs, but the SSL just had no hooks for outside
control and the core code itself was a labyrinthine noodleworks of
'spagetti' code with no source - it was in some guy's head - and he had left
the company.  There are still hundreds of these things out there today.



On 12 June 2010 06:22, Richmond richmondmathew...@gmail.com wrote:

 Back from the dead (or very nearly):

 Well:

 I removed one of the hard disks in the G4 MDD from the cage that sits
 over the heat sink; allowing me space to install an 80 mm 12 v fan

-
Stephen Barncard
San Francisco
___
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: So you CAN build an OS X app from another system...

2010-06-12 Thread Mark Wieder
Mark-

Saturday, June 12, 2010, 2:28:35 AM, you wrote:

 Richard,

 I've seen your posts on this subject several times now and I never  
 thought it was a real problem. I have now actually done a test on Win
 XP, building a standalone on a PC, zipping it and copying it over to a
 Mac OS X Leopard machine. The standalone runs fine. Under which  
 circumstances doesn't the standalone run exactly?

I've gotten so used to taking Richard's word here as authoritative
that I didn't bother to test it. I just followed up and did the same
as you: works fine over here. Unzip it on the mac, double-click, and
there it goes.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: [OT] G4 goes West

2010-06-12 Thread Richmond

On 06/12/2010 08:07 PM, stephen barncard wrote:

Richmond -  you might consider copying your old ZIP disks to someplace safer
  as soon as possible - they seem to have some kind of 'disk rot' and can die
quickly in a few years.
   


Sounds like my brain . . .   :)

I have a Performa 5xxx with a SCSI port and a LAN one; so can export all the
ancient, past it, probably reduplicated gubbins any time I want: 
probably put the content of

20 Zips on a DVD or a spare Hard drive.

I copied ALL of the Zip disk stuff, cleverly, onto a hard disk in an old 
Grey--white
ex-G3 (popped a G4 processor into it about 9 years ago); the only snag 
being that that
machine is now in the attic of my house in Scotland, and I won't be 
there until at

least July-August 2011.
___
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: So you CAN build an OS X app from another system...

2010-06-12 Thread Richmond

On 06/12/2010 09:21 PM, Mark Wieder wrote:

Mark-

Saturday, June 12, 2010, 2:28:35 AM, you wrote:

   

Richard,
 
   

I've seen your posts on this subject several times now and I never
thought it was a real problem. I have now actually done a test on Win
XP, building a standalone on a PC, zipping it and copying it over to a
Mac OS X Leopard machine. The standalone runs fine. Under which
circumstances doesn't the standalone run exactly?
 

I've gotten so used to taking Richard's word here as authoritative
that I didn't bother to test it. I just followed up and did the same
as you: works fine over here. Unzip it on the mac, double-click, and
there it goes.

   


Try it with a stack using non-English fonts; say, Bulgarian, or
Sanskrit for instance; then everything goes squiffy.

Outwith the font issue I have merrily made standalones for Windows
from Mac for about 9 years.
___
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: So you CAN build an OS X app from another system...

2010-06-12 Thread Mark Wieder
Mark-

...and I just did the same without zipping and it still runs.
Maybe Richard's having problems with a virtual Windows image?

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: So you CAN build an OS X app from another system...

2010-06-12 Thread Mark Wieder
Richmond-

Saturday, June 12, 2010, 11:24:31 AM, you wrote:

 Outwith the font issue I have merrily made standalones for Windows
 from Mac for about 9 years.

The problem Richard was (is?) having is with the other direction:
creating an OSX standalone from a Windows machine. In particular, the
executable bit wasn't getting set.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


How do you get the name of an open saved file in memory using message box?

2010-06-12 Thread charles61

I have going through various scripts to get the name of a text file (not
stack) that is open in my app using the message box. Does anyone know how to
do this?
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252969.html
Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?

2010-06-12 Thread stephen barncard
answer file select file:;put it into temp;get URL(file:  temp);put temp
 return  return  it

On 12 June 2010 12:16, charles61 csz...@mac.com wrote:


 I have going through various scripts to get the name of a text file (not
 stack) that is open in my app using the message box. Does anyone know how
 to
 do this?
 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252969.html
 Sent from the Revolution - User mailing list archive at Nabble.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




-- 
-
Stephen Barncard
San Francisco
___
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 do you get the name of an open saved file in memory using message box?

2010-06-12 Thread stephen barncard
Otherwise I misread what you were asking. If you have an app and you load a
file, it's up to the programmer (you) to keep track of it in a variable or a
custom property. There is no last file loaded property.

On 12 June 2010 12:48, stephen barncard stephenrevoluti...@barncard.comwrote:

 answer file select file:;put it into temp;get URL(file:  temp);put
 temp  return  return  it

 On 12 June 2010 12:16, charles61 csz...@mac.com wrote:


 I have going through various scripts to get the name of a text file (not
 stack) that is open in my app using the message box. Does anyone know how
 to
 do this?
 --

 --
-
Stephen Barncard
San Francisco
___
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 do you get the name of an open saved file in memory using message box?

2010-06-12 Thread charles61

Stephen,

I typed your suggestion in the message box and I only got the select file 
dialog box but not the name of the file that is already opened. Any other 
suggestions? I went through the RevList archives and could not find an example 
of getting the name of an open file!

Charles Szasz
csz...@mac.com




On Jun 12, 2010, at 3:49 PM, Stephen Barncard-4 [via Runtime Revolution] wrote:

 answer file select file:;put it into temp;get URL(file:  temp);put temp 
  return  return  it 
 
 On 12 June 2010 12:16, charles61 [hidden email] wrote: 
 
  
  I have going through various scripts to get the name of a text file (not 
  stack) that is open in my app using the message box. Does anyone know how 
  to 
  do this? 
  -- 
  View this message in context: 
  http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252969.html
  Sent from the Revolution - User mailing list archive at Nabble.com. 
  ___ 
  use-revolution mailing list 
  [hidden email] 
  Please visit this url to subscribe, unsubscribe and manage your 
  subscription preferences: 
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
 -- 
 - 
 Stephen Barncard 
 San Francisco 
 ___ 
 use-revolution mailing list 
 [hidden email] 
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences: 
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252984.html
  
 To unsubscribe from How do you get the name of an open saved file in memory 
 using message box?, click here.
 


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252998.html
Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?

2010-06-12 Thread charles61

Stephen,

I just saw your second e-mail reply. My plan is to put the name of the open
file in a variable but getting the name of the open file has been difficult.
How do you get the name of the open file?
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252999.html
Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?

2010-06-12 Thread stephen barncard
You are not communicating very well. It is still not clear what you want.

Do you want to place a suggested file name in an ask dialog entry field
instead, or have a the filename show up instead of the prompt of the ask
dialog?

Again, how would the dialog 'know' what the last filename was unless you
save it yourself?

Or are you just having trouble getting the result of your choice in the
dialog?
Look at the  IT variable

Anyway again it is up to the programmer to know which files are open and
those that are not.  Usually 'OPEN' is just for microseconds, the data is
put in a variable, and work with it inside rev.  There is no open and close
needed for  'put URL()' and the file is closed after the call.  There really
is no need for multiple open and close statements unless one is processing
data from one file into another file by script. Most of the time that is
never needed.

On 12 June 2010 13:00, charles61 csz...@mac.com wrote:


 Stephen,

 I typed your suggestion in the message box and I only got the select file
 dialog box but not the name of the file that is already opened. Any other
 suggestions? I went through the RevList archives and could not find an
 example of getting the name of an open file!

 Charles Szasz
 csz...@mac.com




 On Jun 12, 2010, at 3:49 PM, Stephen Barncard-4 [via Runtime Revolution]
 wrote:

  answer file select file:;put it into temp;get URL(file:  temp);put
 temp
   return  return  it
 
  On 12 June 2010 12:16, charles61 [hidden email] wrote:
 
  
   I have going through various scripts to get the name of a text file
 (not
   stack) that is open in my app using the message box. Does anyone know
 how
   to
   do this?
   --
   View this message in context:
  
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252969.html
   Sent from the Revolution - User mailing list archive at Nabble.com.
   ___
   use-revolution mailing list
   [hidden email]
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
  
 
 
 
  --
  -
  Stephen Barncard
  San Francisco
  ___
  use-revolution mailing list
  [hidden email]
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
  View message @
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252984.html
  To unsubscribe from How do you get the name of an open saved file in
 memory using message box?, click here.
 


 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252998.html
 Sent from the Revolution - User mailing list archive at Nabble.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




-- 
-
Stephen Barncard
San Francisco
___
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: Force PNG gamma update

2010-06-12 Thread Scott Rossi
I'm not in front of a computer at the moment but I believe forcing the gamma to 
update requires refreshing the card.  I seem to recall the docs saying to lock 
the screen, navigate to another card, and go back to the source card, but I 
believe any action that causes the card to refresh will work.

 
--Original Message--
From: Simon Lord
Sender: use-revolution-boun...@lists.runrev.com
To: Revolution Mail List
ReplyTo: Revolution Mail List
Subject: Force PNG gamma update
Sent: Jun 12, 2010 9:35 AM

So I found a post suggesting that after setting the screenGamma to
force the PNGs to update by performing the following:

set text of img 1 to the text of img 1

Well, to quote a famous actor—The goggles do nothing!.

What's the best way to successfully force the PNGs to render properly
after a screenGamma setting?
___
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




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: Opaque stack resizer

2010-06-12 Thread Scott Rossi
What was the solution, a library object or the external?



Scott Rossi
Creative Director
Tactile Media, Multimedia  Design

-Original Message-
From: Simon Lord sl...@karbonized.com
Date: Sat, 12 Jun 2010 11:46:44 
To: How to use Revolutionuse-revolution@lists.runrev.com
Subject: Re: Opaque stack resizer

Ok, huge difference.  Thanks Jacque, that's another problem solved. :)



On Sat, Jun 12, 2010 at 11:28 AM, J. Landman Gay
jac...@hyperactivesw.com wrote:
 Simon Lord wrote:

 Ok, I figured out what you're talking about.  The Object Library is
 something new to me since I last used MetaCard (never used RunRev
 until a few weeks ago).

 It works, but it's as sluggish as my two-liner code...the refresh rate
 (even with lockscreen) is very noticeable.

 drag grc drag-handle
 set the rect of this stack to the left of this stack, the top of this
 stack, the right of img drag-handle + the left of this stack, the
 bottom of img drag-handle + the top of this stack

 Try a more efficient and responsive technique, using send command in
 time. There is an explanation here:
 http://www.hyperactivesw.com/resources_polling.html

 Look at the final script on that page for an example you can adapt for the
 resize button.

 --
 Jacqueline Landman Gay         |     jac...@hyperactivesw.com
 HyperActive Software           |     http://www.hyperactivesw.com
___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
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: So you CAN build an OS X app from another system...

2010-06-12 Thread Richard Gaskin

Mark Schonewille wrote:


I've seen your posts on this subject several times now and I never
thought it was a real problem. I have now actually done a test on Win
XP, building a standalone on a PC, zipping it and copying it over to a
Mac OS X Leopard machine. The standalone runs fine. Under which
circumstances doesn't the standalone run exactly?


You're right; my recipe was incorrect in noting the Zip step.

The original problem I had to solve was for an installer that needs to 
be able to build standalones for all platform onto a USB drive.


Zipping does work from Windows, which is what I'm doing now (with a note 
to the user that they have to unzip it; a drag, but I can't find a way 
around that.


The cool thing I found last night was that I can build Mac standalones 
on Linux that can be copied directly without needing to be zipped. 
(That is, until Steve Jobs finds out and then adds something to the OS 
or its license agreement to prevent that.)


This opens up new options for me to consider a Linux laptop as my main 
portable, whereas before the anomalies of OS X had previously required 
me to stay locked in to Apple products.


I'd still keep a Mac along with my Windows machines for testing, but 
being able to consider this shift in my workflow feels quite liberating.



@Richmond:  looking over the variety of bug reports around the 'net 
related to fonts on Linux, I'm not certain the issue you're experiencing 
can be solved by Rev alone.  It may be, but it's worth noting that 
different apps show greatly differing sets of fonts on Linux, and I 
don't know of any IDE that also takes care of bundling fonts for you.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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


Datagrid with option menu filled from database

2010-06-12 Thread JosepM

Hi List,

I have a question with the datagrid and the option menu.

How can I assign values to the option menu from a database when the stack is
open?
It's posible or affect the datagrid performance? where is the best place to
put the loading code?


Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-with-option-menu-filled-from-database-tp2253060p2253060.html
Sent from the Revolution - User mailing list archive at Nabble.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: [OT] Installing Linux fonts

2010-06-12 Thread G. Wolfgang Gaich

Hello Richmond,

I tested to use all installed fonts on Ubuntu 10.04 with rev. No problem.

With

set the textfont of fld /field/ to /fontname/

I can use all available fonts.

Only the function fontnames() does not return all the fonts.

But you can get a list of fontnames with

put shell(fc-list) into tTempFontsList
set the itemdel to :
repeat for each line tL in tTempFontsList
   set the itemdel to :
   put item 1 of tL into tL2
   set the itemdel to ,
   put item 1 of tL2  cr after tFontsList
end repeat
delete char -1 of tFontsList


If you want to install a user font then copy it into 
/home/user/.fonts/truetype/

and in console type:

  sudo fc-cache

Now you can use that font with rev.

hth

Wolfgang




Am 17.05.2010 18:09, schrieb Richmond Mathewson:

 [I hope that the thread I am attempting to initiate will, eventually
lead to an understanding of why RunRev does not play 'nicely' with
Linux fonts]

[Ubuntu 10.04  -- Debian deriv.]

1.  open a .ttf font with FontViewer

2. click on 'Install Font' button ;  'Install Failed'

Q1. Is that because I am not root user?

3. attempt to open FontViewer as root:

got distracted by Font Manager  /usr/bin

click on 'Manage Fonts' blob at the bottom

navigate to where target font is installed

on selecting font Font Manager opens and blow me down
it seems the font has been installed as a system font:

4. Open RunRev: and the target font DOESN'T show up . . . um, mumble, 
mumble, excrement, and so on.


5.  AbiWord (what my sons call Shabby Word - never mind, it will 
suffice for now):


 font (Unicode TTF) shows up.

Q2. Could this be because my target font does not have an accompanying 
.conf file 

___
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: So you CAN build an OS X app from another system...

2010-06-12 Thread Mark Wieder
Richard-

Saturday, June 12, 2010, 2:37:05 PM, you wrote:

 Zipping does work from Windows, which is what I'm doing now (with a note
 to the user that they have to unzip it; a drag, but I can't find a way
 around that.

I tried it without zipping and it worked that way, too.

1. Build mac standalone on xp
2. copy folder to flash drive
3. copy from flash drive to mac
4. open folder and launch app

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: So you CAN build an OS X app from another system...

2010-06-12 Thread Richard Gaskin

Mark Wieder wrote:


Saturday, June 12, 2010, 2:37:05 PM, you wrote:


Zipping does work from Windows, which is what I'm doing now (with a note
to the user that they have to unzip it; a drag, but I can't find a way
around that.


I tried it without zipping and it worked that way, too.

1. Build mac standalone on xp
2. copy folder to flash drive
3. copy from flash drive to mac
4. open folder and launch app


H...  doesn't work here, and others on this list have tried and 
failed as well.


What file system is on your USB?

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: So you CAN build an OS X app from another system...

2010-06-12 Thread Mark Wieder
Richard-

Saturday, June 12, 2010, 3:22:27 PM, you wrote:

 H...  doesn't work here, and others on this list have tried and
 failed as well.

 What file system is on your USB?

...had to go check... I used the rev4.0 distibution drive I got at the
launch event... my Leopard machine says it's MSDOS FAT16.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: So you CAN build an OS X app from another system...

2010-06-12 Thread Mark Schonewille

Richard,

I just copied the standalone over the network. Zipped and unzipped,  
both work. The hard drives of the PC I used are formatted as FAT32.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new projects. Contact me for a  
quote http://economy-x-talk.com/contact.html
Download Clipboard Link http://clipboardlink.economy-x-talk.com and  
share the clipboard of your computer over the local network.


On 13 jun 2010, at 00:22, Richard Gaskin wrote:


Mark Wieder wrote:


Saturday, June 12, 2010, 2:37:05 PM, you wrote:

Zipping does work from Windows, which is what I'm doing now (with  
a note
to the user that they have to unzip it; a drag, but I can't find a  
way

around that.


I tried it without zipping and it worked that way, too.

1. Build mac standalone on xp
2. copy folder to flash drive
3. copy from flash drive to mac
4. open folder and launch app


H...  doesn't work here, and others on this list have tried and  
failed as well.


What file system is on your USB?

--
Richard Gaskin
Fourth World
Rev training and consulting: http://www.fourthworld.com
Webzine for Rev developers: http://www.revjournal.com
revJournal blog: http://revjournal.com/blog.irv


___
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: Opaque stack resizer

2010-06-12 Thread Simon Lord
Shao doesn't have a resize alternative in his external (btw, I really
like his external.  It does a lot of things I need).  If there is an
external out there I'd love to try it.

I ended up using my own button as a resizer but the trick, as pointed
out by Jacque, was to NOT continually poll for a mouseDown in
mouseMove x,y

Would love to see it run faster but for now it's better than was previously.



On Sat, Jun 12, 2010 at 5:37 PM, Scott Rossi sc...@tactilemedia.com wrote:
 What was the solution, a library object or the external?



 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design

 -Original Message-
 From: Simon Lord sl...@karbonized.com
 Date: Sat, 12 Jun 2010 11:46:44
 To: How to use Revolutionuse-revolution@lists.runrev.com
 Subject: Re: Opaque stack resizer

 Ok, huge difference.  Thanks Jacque, that's another problem solved. :)



 On Sat, Jun 12, 2010 at 11:28 AM, J. Landman Gay
 jac...@hyperactivesw.com wrote:
 Simon Lord wrote:

 Ok, I figured out what you're talking about.  The Object Library is
 something new to me since I last used MetaCard (never used RunRev
 until a few weeks ago).

 It works, but it's as sluggish as my two-liner code...the refresh rate
 (even with lockscreen) is very noticeable.

 drag grc drag-handle
 set the rect of this stack to the left of this stack, the top of this
 stack, the right of img drag-handle + the left of this stack, the
 bottom of img drag-handle + the top of this stack

 Try a more efficient and responsive technique, using send command in
 time. There is an explanation here:
 http://www.hyperactivesw.com/resources_polling.html

 Look at the final script on that page for an example you can adapt for the
 resize button.

 --
 Jacqueline Landman Gay         |     jac...@hyperactivesw.com
 HyperActive Software           |     http://www.hyperactivesw.com
___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

 ___
 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: Opaque stack resizer

2010-06-12 Thread Scott Rossi
OK.  FYI Shao = her.



Scott Rossi
Creative Director
Tactile Media, Multimedia  Design

-Original Message-
From: Simon Lord sl...@karbonized.com
Date: Sat, 12 Jun 2010 19:19:11 
To: How to use Revolutionuse-revolution@lists.runrev.com
Subject: Re: Opaque stack resizer

Shao doesn't have a resize alternative in his external (btw, I really
like his external.  It does a lot of things I need).  If there is an
external out there I'd love to try it.

I ended up using my own button as a resizer but the trick, as pointed
out by Jacque, was to NOT continually poll for a mouseDown in
mouseMove x,y

Would love to see it run faster but for now it's better than was previously.



On Sat, Jun 12, 2010 at 5:37 PM, Scott Rossi sc...@tactilemedia.com wrote:
 What was the solution, a library object or the external?



 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design

 -Original Message-
 From: Simon Lord sl...@karbonized.com
 Date: Sat, 12 Jun 2010 11:46:44
 To: How to use Revolutionuse-revolution@lists.runrev.com
 Subject: Re: Opaque stack resizer

 Ok, huge difference.  Thanks Jacque, that's another problem solved. :)



 On Sat, Jun 12, 2010 at 11:28 AM, J. Landman Gay
 jac...@hyperactivesw.com wrote:
 Simon Lord wrote:

 Ok, I figured out what you're talking about.  The Object Library is
 something new to me since I last used MetaCard (never used RunRev
 until a few weeks ago).

 It works, but it's as sluggish as my two-liner code...the refresh rate
 (even with lockscreen) is very noticeable.

 drag grc drag-handle
 set the rect of this stack to the left of this stack, the top of this
 stack, the right of img drag-handle + the left of this stack, the
 bottom of img drag-handle + the top of this stack

 Try a more efficient and responsive technique, using send command in
 time. There is an explanation here:
 http://www.hyperactivesw.com/resources_polling.html

 Look at the final script on that page for an example you can adapt for the
 resize button.

 --
 Jacqueline Landman Gay         |     jac...@hyperactivesw.com
 HyperActive Software           |     http://www.hyperactivesw.com
___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
 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

___
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: Opaque stack resizer

2010-06-12 Thread BNig

Simon,

you might want to try revChangeWindowSize instead of setting the rect. I
have the impression that it is a bit smoother and maybe a tad faster then
setting the rect.
I have put this into a button, could be a graphic or image also
--
local sResize, sXDiff, sYDiff

on mousedown
   put true into sResize
   put the clickloc into tClick
   put the width of this card - item 1 of tClick into sXDiff
   put the height of this card - item 2 of tClick into sYDiff
end mousedown

on mouseMove x,y
   if sResize then
  put x + sXDiff into tNewX
  put y + sYDiff into tNewY
  
  revChangeWindowSize tNewX, tNewY
  
  lock screen
  set the right of me to the width of this card
  set the bottom of me to the height of this card
  unlock screen
   end if
end mouseMove

on mouseUp
   put false into sResize
end mouseUp

on mouseRelease
   put false into sResize
end mouseRelease
---
unfortunately still slow.

regards
Bernd
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Opaque-stack-resizer-tp2252468p2253105.html
Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?

2010-06-12 Thread Sarah Reichelt
On Sun, Jun 13, 2010 at 5:16 AM, charles61 csz...@mac.com wrote:

 I have going through various scripts to get the name of a text file (not
 stack) that is open in my app using the message box. Does anyone know how to
 do this?

Charles, at some stage in your scripts, the file was opened. At that
point, your script had to know the file name.
You will have to store that file name in the custom property, hidden
field, script local or global variable at that time.
Then you can use that file name at any time to re-save to the original file.


Cheers,
Sarah

Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves
___
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: Opaque stack resizer

2010-06-12 Thread BNig

Simon,
I did this on a stack where i had set the blending of the button to noop,
making it invisble. 
So I did not notice the lag when setting the button. That looks awful.
I did some fooling around with revChangeWindowSize, but not in a moving
button.

You might as well forget about the post.
Sorry, it just occured to me after I posted.
regards
Bernd
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Opaque-stack-resizer-tp2252468p2253111.html
Sent from the Revolution - User mailing list archive at Nabble.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


Error in date convert

2010-06-12 Thread Alex Tweedly


The following script fragment works OK on Mac (and I believe on Win, but 
cannot verify that right now)


put 2010,1,0,0,0,0,0 into t
convert t to system date
put t

but if I put this into an On-Rev script (i.e. an .irev scrip) it fails 
(silently - even the on-rev client debugger doesn't see any error, it 
just stops silently).  (Works OK if I use convert t to english date).


I will, naturally, send an error report to on-rev, but I was curious 
whether this is an on-rev problem or a Linux problem (or limitation), so 
if any Linux users can try it out and let me know I'd be grateful.


Thanks,
-- 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


Re: WWDC Keynote: HTML5 wide open for On-Rev revServer

2010-06-12 Thread Alex Tweedly

I guess I'm missing something here .

It seems that if I write a Rodeo app and it uses HTML5 local storage, 
then there is a secuity issue because other Rodeo apps on the same 
server might be able to access the user's data when stored locally on 
his machine.


But today I generally write desktop apps. The user's data is stored on 
(usually) his local disk. And any other desktop app he chooses to 
install can access that data. What's so different ?


-- Alex.

On 08/06/2010 18:10, Mike Bonner wrote:

Actually, I believe the following (from the provided link) is what is
being referred to:

7.2 Cross-directory attacks

Different authors sharing one host name, for example users hosting
content on geocities.com, all share one local storage object. There is
no feature to restrict the access by pathname. Authors on shared hosts
are therefore recommended to avoid using these features, as it would
be trivial for other authors to read the data and overwrite it.

Even if a path-restriction feature was made available, the usual DOM
scripting security model would make it trivial to bypass this
protection and access the data from any path.

On Tue, Jun 8, 2010 at 10:36 AM, Jerry Danielsjerry.dani...@me.com  wrote:
   

Not so. No.

Each developer has own space. If developer INVITES someone in...as a
teammate, then they share.

Vampire rules. Need an invite to join another developer.

Best,

Jerry Daniels

Follow the Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves



On Jun 8, 2010, at 11:19 AM, Robert Mann wrote:

 

For Rodéo apps, if each user shares a space on a common shared server,
than
all the local datas of user X are accessible to all different rodeo apps,
So
far I understood. Not reassuring!
   

___
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: Error in date convert

2010-06-12 Thread stephen barncard
Hi Alex,

I got a crash with your script.

This shows the correct date from the system:

?rev
set the errormode to inline
put 2010,1,0,0,0,0,0 into t
--set the useSystemDate to true
convert t to long date
put t
?

I think there is no 'system date' intentionally.

According to the docs:
*
*

* *
If the *useSystemDate* property is set to true or if you specify the system
date, the times returned by the *date* function are formatted according to
the user's system preferences.


There is no such object on a web server.
**

this is why  useSystemDate  property will crash as well.



On 12 June 2010 17:01, Alex Tweedly a...@tweedly.net wrote:


 The following script fragment works OK on Mac (and I believe on Win, but
 cannot verify that right now)

 put 2010,1,0,0,0,0,0 into t
 convert t to system date
 put t

 but if I put this into an On-Rev script (i.e. an .irev scrip) it fails
 (silently - even the on-rev client debugger doesn't see any error, it just
 stops silently).  (Works OK if I use convert t to english date).

 I will, naturally, send an error report to on-rev, but I was curious
 whether this is an on-rev problem or a Linux problem (or limitation), so if
 any Linux users can try it out and let me know I'd be grateful.

 Thanks,
 -- 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




-- 
-
Stephen Barncard
San Francisco
___
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: WDEF identifiers

2010-06-12 Thread Shao Sean

 I was trying to get my stack to use the same resource as itunes.

If I am not mistaken, iTunes uses a custom window..



 - Metal decorations
 - *without* the thick border (Shao's external takes core of that)
 - *keep* the bottom rounded corners (which Metal has, but which  
Shao's external removes).


That is all there is in the system..


 There also doesn't appear to be any options for controlling the  
thickness or styling of the title bar.

What do you mean?
___
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: Opaque stack resizer

2010-06-12 Thread Shao Sean
 The resize widget on the bottom right of my stack has a colour to  
it. It doesn't match the background of my stack.
There is a system flag to have a transparent resizer but the redrawing  
of the window content seems to mess up a little.. Would be nice for  
Rev to handle this for us (just another window property ;)

___
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: Opaque stack resizer

2010-06-12 Thread Simon Lord
LOL.  Guess who feels like an ass now!

Thanks for clearing that up.  :)


On Sat, Jun 12, 2010 at 7:31 PM, Scott Rossi sc...@tactilemedia.com wrote:
 OK.  FYI Shao = her.



 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design

 -Original Message-
 From: Simon Lord sl...@karbonized.com
 Date: Sat, 12 Jun 2010 19:19:11
 To: How to use Revolutionuse-revolution@lists.runrev.com
 Subject: Re: Opaque stack resizer

 Shao doesn't have a resize alternative in his external (btw, I really
 like his external.  It does a lot of things I need).  If there is an
 external out there I'd love to try it.

 I ended up using my own button as a resizer but the trick, as pointed
 out by Jacque, was to NOT continually poll for a mouseDown in
 mouseMove x,y

 Would love to see it run faster but for now it's better than was previously.



 On Sat, Jun 12, 2010 at 5:37 PM, Scott Rossi sc...@tactilemedia.com wrote:
 What was the solution, a library object or the external?



 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design

 -Original Message-
 From: Simon Lord sl...@karbonized.com
 Date: Sat, 12 Jun 2010 11:46:44
 To: How to use Revolutionuse-revolution@lists.runrev.com
 Subject: Re: Opaque stack resizer

 Ok, huge difference.  Thanks Jacque, that's another problem solved. :)



 On Sat, Jun 12, 2010 at 11:28 AM, J. Landman Gay
 jac...@hyperactivesw.com wrote:
 Simon Lord wrote:

 Ok, I figured out what you're talking about.  The Object Library is
 something new to me since I last used MetaCard (never used RunRev
 until a few weeks ago).

 It works, but it's as sluggish as my two-liner code...the refresh rate
 (even with lockscreen) is very noticeable.

 drag grc drag-handle
 set the rect of this stack to the left of this stack, the top of this
 stack, the right of img drag-handle + the left of this stack, the
 bottom of img drag-handle + the top of this stack

 Try a more efficient and responsive technique, using send command in
 time. There is an explanation here:
 http://www.hyperactivesw.com/resources_polling.html

 Look at the final script on that page for an example you can adapt for the
 resize button.

 --
 Jacqueline Landman Gay         |     jac...@hyperactivesw.com
 HyperActive Software           |     http://www.hyperactivesw.com
___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
 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


 ___
 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: So you CAN build an OS X app from another system...

2010-06-12 Thread Richard Gaskin

Mark Schonewille wrote:


I just copied the standalone over the network. Zipped and unzipped,
both work. The hard drives of the PC I used are formatted as FAT32.


Interesting.  Since so many others, including Rev tech support, couldn't 
do this before, I wonder what accounts for the difference.


Interestingly, in the scenario of an installer the reason it won't work 
is that the Mac engine loses its executable bit when copied from a 
custom prop to a file, which isn't all that different from what Rev does 
with its own installer.


How does Rev do this, and why did Mark Waddingham once suggest to me 
that the only way to write out an executable from a custom prop on OS X 
was to set its executable bit.


How does that get set in the Win Rev installer?

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: WDEF identifiers

2010-06-12 Thread Simon Lord
I read that API several times—now that you point it out I see it
there.  Guess my brain just didn't want to believe it.  This is
fantastic!


 There also doesn't appear to be any options for controlling the thickness
 or styling of the title bar.
 What do you mean?

http://www.marelina.com/miscellaneous/fatbar.jpg

It would have been nice to be able to create a titlebar like most
iWork/iLife apps and place buttons on them etc.  Right now I'm
*faking* it.

If your external does this too then 'm getting drunk tonight.
___
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: WDEF identifiers

2010-06-12 Thread Simon Lord
Ok, tried it and it definitely doesn't work—maybe we are not talking
about the same thing here.

If I run this:

ssSetWindowTexturedSquareCorners updateWindow, true

I get the metal skin without rounded corners.  This is good.  But the
rounded corners on the bottom are square.  The reason I cannot pass
false to ssSetWindowTexturedSquareCorners is because the 4px border
around the stack comes back.  So yes, the rounded corners appear on
the bottom but so does the 4px border which I don't want.

If there is a way to have rounded corners on the bottom with only a
single pixel border then I'd like to know how.

And the default decorations doesn't count because it places a 1px
black line under the titlebar which I also don't want.

I'm not asking for anything special, I just want my stack to look like
other OS X apps and so far this is not possible.  Only been at this a
week so maybe someone out there has the answer but so far I don't
think I'll get what I need.
___
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: WDEF identifiers

2010-06-12 Thread Shao Sean

Sorry the external does not do it :-(

but you are looking for this  http://shaosean.tk/images/ssToolbar.png
___
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: WDEF identifiers

2010-06-12 Thread Shao Sean
 If there is a way to have rounded corners on the bottom with only a  
single pixel border then I'd like to know how.


Custom window.. that is how iTunes does it.. If you look at Safari, it  
is square corners as well..

___
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: WDEF identifiers

2010-06-12 Thread Simon Lord
Yes.  I can be a beta tester!  ;)

Definitely will buy that from you when you are ready.


On Sat, Jun 12, 2010 at 8:58 PM, Shao Sean shaos...@wehostmacs.com wrote:
 Sorry the external does not do it :-(

 but you are looking for this  http://shaosean.tk/images/ssToolbar.png
 ___
 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: WDEF identifiers

2010-06-12 Thread Simon Lord
Well I guess I'll just wait to buy your next external which supports this... ;)


On Sat, Jun 12, 2010 at 9:00 PM, Shao Sean shaos...@wehostmacs.com wrote:
 If there is a way to have rounded corners on the bottom with only a single
 pixel border then I'd like to know how.

 Custom window.. that is how iTunes does it.. If you look at Safari, it is
 square corners as well..
 ___
 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 do you get the name of an open saved file in memory using message box?

2010-06-12 Thread charles61

Stephen,

I am sorry for the confusion. All I want to do to provide a save dialog when
the user makes a change to a saved file asking the user to save the file
after a change was made to the file. In my current script, I have a dialog
appear that asks if the user wants to save the file with untitled.text. This
would be okay if the file did not already have a name. So far I have been
unable to get the name of the file to appear in the dialog so the user can
choose to save the file with its current name, a new name or disregard the
changes. 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253195.html
Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?

2010-06-12 Thread stephen barncard
so what we've all told you is all you need. Have you put it all together
yet?

On 12 June 2010 20:29, charles61 csz...@mac.com wrote:


 Stephen,

 I am sorry for the confusion. All I want to do to provide a save dialog
 when
 the user makes a change to a saved file asking the user to save the file
 after a change was made to the file. In my current script, I have a dialog
 appear that asks if the user wants to save the file with untitled.text.
 This
 would be okay if the file did not already have a name. So far I have been
 unable to get the name of the file to appear in the dialog so the user can
 choose to save the file with its current name, a new name or disregard the
 changes.
 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253195.html
 Sent from the Revolution - User mailing list archive at Nabble.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




-- 
-
Stephen Barncard
San Francisco
___
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 do you get the name of an open saved file in memory using message box?

2010-06-12 Thread charles61

Stephen,

I understand how to put the name in the variable and store it but I have not 
been able to get the name of the current file to put in a variable. But I will 
keep working on it. Thanks for all of your comments and suggestions!

Charles Szasz
csz...@mac.com




On Jun 12, 2010, at 11:30 PM, Stephen Barncard-4 [via Runtime Revolution] wrote:

 so what we've all told you is all you need. Have you put it all together 
 yet? 
 
 On 12 June 2010 20:29, charles61 [hidden email] wrote: 
 
  
  Stephen, 
  
  I am sorry for the confusion. All I want to do to provide a save dialog 
  when 
  the user makes a change to a saved file asking the user to save the file 
  after a change was made to the file. In my current script, I have a dialog 
  appear that asks if the user wants to save the file with untitled.text. 
  This 
  would be okay if the file did not already have a name. So far I have been 
  unable to get the name of the file to appear in the dialog so the user can 
  choose to save the file with its current name, a new name or disregard the 
  changes. 
  -- 
  View this message in context: 
  http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253195.html
  Sent from the Revolution - User mailing list archive at Nabble.com. 
  ___ 
  use-revolution mailing list 
  [hidden email] 
  Please visit this url to subscribe, unsubscribe and manage your 
  subscription preferences: 
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
 -- 
 - 
 Stephen Barncard 
 San Francisco 
 ___ 
 use-revolution mailing list 
 [hidden email] 
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences: 
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 View message @ 
 http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253197.html
  
 To unsubscribe from Re: How do you get the name of an open saved file in 
 memory using message box?, click here.
 


-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253200.html
Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?

2010-06-12 Thread charles61

Sarah,

The question is how do you get the name of the file that is opened from a
script to save in a variable. This is what I been unable to do. 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253196.html
Sent from the Revolution - User mailing list archive at Nabble.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


DiagramCreator in beta.

2010-06-12 Thread Chipp Walters
Hey all.

Been busy creating a fun tool for creating diagrams using plain english
sentences. The free beta version is available for both Mac and PC.

http://blog.chipp.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