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 pi

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 l

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

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 circumst

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 lis

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. Th

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 hav

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

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 th

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 > down

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 wrote: > Hi Simon, > >> The resize widget on the bottom right of my stack has a colour t

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

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 r

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 "Me

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" se

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 s

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. >

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 Pl

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.

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

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

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 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 >> un

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

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 fi

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 s

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

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 wi

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 Leop

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 S

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

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

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 ex

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-u

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 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 > t

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 wrote: > answer file "select file:";put it int

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...

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-

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 y

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.

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 Date: Sat, 12 Jun 2010 11:46:44 To: How to use Revolution Subject: Re: Opaque stack resizer Ok, huge difference. Thanks Jacqu

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

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:

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

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 standa

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 ma

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

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.c

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 m

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 Date: Sat, 12 Jun 2010 19:19:11 To: How to use Revolution Subject: Re: Opaque stack resizer Shao doesn't have a resize alternative in his external (btw, I really

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

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

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. Sor

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 a

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 des

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: 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 ar

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 r

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 anoth

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 wrote: > OK.  FYI Shao = her. > > > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > -Original Message- > From: Simon Lord > Date: Sat, 12 Jun

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.

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/mis

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

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 pre

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

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 wrote: > Sorry the external does not do it :-( > > but you are looking for this  http://shaosean.tk/images/ssToolbar.png > _

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 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 i

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 untitl

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

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 P

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

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 u