Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Ian Wood
Aperture Assistant just got picked as the Featured Download on the Apple downloads section! http://www.apple.com/downloads/macosx/ Now, if only there were people buying registration keys... :-( Ian P.S. Does anyone have experience with http://www.ilocalizer.eu? __

AppleScript - "Where is System Events"

2008-05-01 Thread Ian Wood
Sometimes I need to find out what applications are currently running on a Mac, and I've been using the following code to get a list: put "tell application" && quote & "System Events" && quote & "to get name of every process" into tS do ts as applescript This normally returns an AppleScript

Re: AppleScript - "Where is System Events"

2008-05-01 Thread Jim Sims
On May 1, 2008, at 1:18 PM, Ian Wood wrote: Sometimes I need to find out what applications are currently running on a Mac, and I've been using the following code to get a list: put "tell application" && quote & "System Events" && quote & "to get name of every process" into tS do ts as app

Re: AppleScript - "Where is System Events"

2008-05-01 Thread Ian Wood
On 1 May 2008, at 12:29, Jim Sims wrote: It requires 10.3 I think, so maybe those people are using something under 10.3 If they're running 10.3 or below they can't run Aperture, so I doubt that that's the problem. :-( After a bit more digging this may be related to a problem when using

Robust Logging Script

2008-05-01 Thread David Bovill
Anyone have any experience logging events for several days or more (an event happens each second) is it better to write them out as text files broken up into a few hundred lines - or write it to a text file using the append syntax (not done this myself). It must be a common task that people ha

Re: AppleScript - "Where is System Events"

2008-05-01 Thread Mark Smith
I just ran that bit of Applescript, and got the 'where is system events' dialog - I'm on 10.4.11. (intel mac). I guess the 'ps' or 'top' commands would work. Best, Mark On 1 May 2008, at 12:37, Ian Wood wrote: On 1 May 2008, at 12:29, Jim Sims wrote: It requires 10.3 I think, so maybe tho

Re: Robust Logging Script

2008-05-01 Thread Mark Smith
I've had log files that I let run up to about 3 to 4 mb - it didn't seem to cause a problem. Best, Mark On 1 May 2008, at 12:52, David Bovill wrote: Anyone have any experience logging events for several days or more (an event happens each second) is it better to write them out as text

Re: AppleScript - "Where is System Events"

2008-05-01 Thread Ian Wood
Yes, I think I'll have to redo it using shell("top -l 1 -o +command") instead. Ian On 1 May 2008, at 12:53, Mark Smith wrote: I just ran that bit of Applescript, and got the 'where is system events' dialog - I'm on 10.4.11. (intel mac). I guess the 'ps' or 'top' commands would work. ___

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Richard Gaskin
Ian Wood wrote: > Aperture Assistant just got picked as the Featured Download on the > Apple downloads section! > > http://www.apple.com/downloads/macosx/ > > Now, if only there were people buying registration keys... :-( Congratulations on the placement, Ian. Don't worry about the registrations

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Ian Wood
On 1 May 2008, at 14:39, Richard Gaskin wrote: Congratulations on the placement, Ian. Don't worry about the registrations. There's always a lag time between download and registration, and with new products this is a little longer than for those with a public track record. There's time l

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Richard Gaskin
Ian Wood wrote: It's been interesting keeping an eye on the referral statistics - in less than a day, links from the Apple site have already overtaken nearly a month of exposure on MacUpdate (two betas and the final 1.0 release), and is catching up fast with VersionTracker. Stats questio

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Ian Wood
On 1 May 2008, at 16:33, Richard Gaskin wrote: I'm not sure I understand: log files contain the referrer, so you can track downloads of a single file from any site that way. Most log analysis software sucks, but with Rev it's easy to parse the raw logs into any format you find convenient.

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Troy Rollins
On May 1, 2008, at 11:33 AM, Richard Gaskin wrote: I also post to Download.com I can see that for cross platform apps, but I don't think they service Mac apps, do they? -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ use-revolution maili

Launching a web page

2008-05-01 Thread Shari
This is crazy. My code for launching a web page worked happily for many years up until ??? Now it's broken and I can't seem to fix it. "launch url someUrl" does not work. I cannot use any command that starts with "rev..." so all of those are out. Does anyone have a working handler to go to a

Re: Launching a web page

2008-05-01 Thread Ian Wood
On 1 May 2008, at 17:41, Shari wrote: I cannot use any command that starts with "rev..." so all of those are out. They aren't working for you, or you don't want to use them? Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Pleas

Re: Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Richard Gaskin
Troy Rollins wrote: On May 1, 2008, at 11:33 AM, Richard Gaskin wrote: > I also post to Download.com I can see that for cross platform apps, but I don't think they service Mac apps, do they? Yes, the have a Mac section too. Their major categories are: - Mac Software - Windows Software

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Ian Wood
On 1 May 2008, at 16:33, Richard Gaskin wrote: Most log analysis software sucks, but with Rev it's easy to parse the raw logs into any format you find convenient. VERY useful pointer, Richard. In the interests of sharing some market research, here's the different referring domains for al

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Ben Rubinstein
On 1/5/08 16:17, Ian Wood wrote: > I strongly recommend that *everyone* with a publicly-available Mac app > submit it to https://adcweb.apple.com/downloads/ if you haven't already > done so. I was just hoping it would be listed - having it as the > featured app was cream on top. > > It's been inte

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread jim sims
On May 1, 2008, at 5:33 PM, Richard Gaskin wrote: Most log analysis software sucks, but with Rev it's easy to parse the raw logs into any format you find convenient. My log files include result status code ("200" meaning success, "404" not found, etc) and also bytes transferred, and a fe

Re: Launching a web page

2008-05-01 Thread Shari
They aren't working for you, or you don't want to use them? Ian I cannot use them. I work in the Metacard IDE, which means I cannot use handlers beginning with "Rev..." as those are specific to the Rev IDE. I cannot use the Rev IDE itself, as it does not like my existing projects. There

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Richard Gaskin
jim sims wrote: My log files include result status code ("200" meaning success, "404" not found, etc) and also bytes transferred, and a few other items. I've seen some cases where the status says "200" but the bytes do not match the size of the file. Some cases where it appears that a bot st

Re: Launching a web page

2008-05-01 Thread Sarah Reichelt
On Fri, May 2, 2008 at 2:41 AM, Shari <[EMAIL PROTECTED]> wrote: > This is crazy. My code for launching a web page worked happily for many > years up until ??? Now it's broken and I can't seem to fix it. > > "launch url someUrl" does not work. > > I cannot use any command that starts with "rev.

Re: Robust Logging Script

2008-05-01 Thread Sarah Reichelt
On Thu, May 1, 2008 at 9:52 PM, David Bovill <[EMAIL PROTECTED]> wrote: > Anyone have any experience logging events for several days or more (an event > happens each second) is it better to write them out as text files broken > up into a few hundred lines - or write it to a text file using t

Re: AppleScript - "Where is System Events"

2008-05-01 Thread Sarah Reichelt
On Thu, May 1, 2008 at 9:18 PM, Ian Wood <[EMAIL PROTECTED]> wrote: > Sometimes I need to find out what applications are currently running on a > Mac, and I've been using the following code to get a list: > > put "tell application" && quote & "System Events" && quote & "to get name > of every proc

Re: AppleScript - "Where is System Events"

2008-05-01 Thread Ian Wood
On 1 May 2008, at 22:28, Sarah Reichelt wrote: Yes, you have a space after Events and before the quote so you are trying to tell app "System Events ", not "System Events". Change the second double ampersand to a single and it all works fine. THANK you! So it was just a typo... Ian __

Re: Robust Logging Script

2008-05-01 Thread Jim Ault
On 5/1/08 2:20 PM, "Sarah Reichelt" <[EMAIL PROTECTED]> wrote: > On Thu, May 1, 2008 at 9:52 PM, David Bovill <[EMAIL PROTECTED]> > wrote: >> Anyone have any experience logging events for several days or more (an event >> happens each second) is it better to write them out as text files broke

Can't change directory with shell(cd)

2008-05-01 Thread Michael D Mays
I'm doing this answer folder "" put it into aPath put "cd "&aPath into aRequest put aRequest into fld 1 put shell(aRequest) into fld 2 put shell("ls") into fld 3 No matter which folder I chose, Rev's 'Home' folder is the directory listed. When I cut and paste fld 1 into the Terminal, ls

Re: Can't change directory with shell(cd)

2008-05-01 Thread Richard Gaskin
Michael D Mays wrote: I'm doing this answer folder "" put it into aPath put "cd "&aPath into aRequest put aRequest into fld 1 put shell(aRequest) into fld 2 put shell("ls") into fld 3 No matter which folder I chose, Rev's 'Home' folder is the directory listed. When I cut and pas

Re: Can't change directory with shell(cd)

2008-05-01 Thread Sarah Reichelt
On Fri, May 2, 2008 at 8:54 AM, Michael D Mays <[EMAIL PROTECTED]> wrote: > I'm doing this > > answer folder "" > put it into aPath > put "cd "&aPath into aRequest > put aRequest into fld 1 > put shell(aRequest) into fld 2 > put shell("ls") into fld 3 > > No matter which folder I chose

Re: Translating IP address on a local network

2008-05-01 Thread Sarah Reichelt
> We have a small network behind a NAT router, with IP addresses either > set manually or by DHCP in the format 192.168.1.xxx. > All the computer's are Macs so they also have Bonjour names e.g. > sarah-mac.local. > > I have set up a custom web server based on Andre's RevOnRockets. When > the

Re: Translating IP address on a local network

2008-05-01 Thread Neal Campbell
You might try using the full directory path for the ping program. I suspect that you are not getting the full shell path applied to the cron since it doesn't seem to find it. Neal On Thu, May 1, 2008 at 8:56 PM, Sarah Reichelt <[EMAIL PROTECTED]> wrote: > > We have a small network behind a NAT

Re: Translating IP address on a local network

2008-05-01 Thread Sarah Reichelt
Hi Neal, Using "/sbin/ping" instead of just "ping" works perfectly :-) Many thanks, Sarah On Fri, May 2, 2008 at 10:58 AM, Neal Campbell <[EMAIL PROTECTED]> wrote: > You might try using the full directory path for the ping program. I > suspect that you are not getting the full shell path app

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Jim Sims
On May 1, 2008, at 9:29 PM, Richard Gaskin wrote: How frequently does that happen on your servers? I cannot give figures on that, but it seems rather frequent. After a while I switched to looking for the exact size of the file to indicate downloads. In any event, the most important items is

Re: Fame, Fortune, and... well, less of the fortune...

2008-05-01 Thread Andres Martinez
Congratulations Ian, That speaks very well about your application. And given that you did not lobby Apple for that placement, it also speaks well about Apple fairness to select featured downloads. Regards, Andres Martinez www.baKno.com On May 1, 2008, at 6:02 AM, Ian Wood wrote: Aperture A

Re: Can't change directory with shell(cd)

2008-05-01 Thread Michael D Mays
It was the two separate shell calls. I had enclosed file name in quotes. I neglected to type them into my email (my variable names in my script were too silly to cut and paste). The reason I was using shell() instead of a built in Rev command were: 1.) I didn't know about it :) 2.) My first o

Re: Can't change directory with shell(cd)

2008-05-01 Thread Michael D Mays
Yes you do if you have space and other evil MacOS filename characters. Sarah saw what I was doing wrong. I wonder if each shell call is threaded separately. Thanks, Michael On May 1, 2008, at 6:01 PM, Richard Gaskin wrote: Michael D Mays wrote: I'm doing this answer folder "" put it

Re: Can't change directory with shell(cd)

2008-05-01 Thread Sarah Reichelt
> The reason I was using shell() instead of a built in Rev command were: > 1.) I didn't know about it :) > 2.) My first objective was to copy a file into a folder. I had used > revCopyFile and it was taking 15 seconds to copy a small file. I new I > could use ditto and it would be (is) much fas

Re: Can't change directory with shell(cd)

2008-05-01 Thread J. Landman Gay
Michael D Mays wrote: It was the two separate shell calls. I had enclosed file name in quotes. I neglected to type them into my email (my variable names in my script were too silly to cut and paste). That reminds me of an error that was built into the HyperCard engine, which reported "Script

Re: Can't change directory with shell(cd)

2008-05-01 Thread Jim Ault
You can also just set the path to another legal folder. Jim Ault Las Vegas On 5/1/08 8:06 PM, "Sarah Reichelt" <[EMAIL PROTECTED]> wrote: >> The reason I was using shell() instead of a built in Rev command were: >> 1.) I didn't know about it :) >> 2.) My first objective was to copy a file in

Re: Reading commands from Apple's remote control

2008-05-01 Thread Tereza Snyder
On Apr 30, 2008, at 10:53 AM, Andre Garzia wrote: I´ve checked Apples docs for calling objective-C/cocoa from C/Carbon applications, I understand that externals are in a sense carbon applications, I can make cocoa console apps that work with the remote, I can make externals but I can´t mix thos

Re: Reading commands from Apple's remote control

2008-05-01 Thread Sarah Reichelt
> > I´ve checked Apples docs for calling objective-C/cocoa from C/Carbon > > applications, I understand that externals are in a sense carbon > > applications, I can make cocoa console apps that work with the remote, > > I can make externals but I can´t mix those :-/ > > > > > Yes you can! I've don

Re: Can't change directory with shell(cd)

2008-05-01 Thread Ken Ray
On 5/1/08 5:54 PM, "Michael D Mays" <[EMAIL PROTECTED]> wrote: > I'm doing this > > answer folder "" > put it into aPath > put "cd "&aPath into aRequest > put aRequest into fld 1 > put shell(aRequest) into fld 2 > put shell("ls") into fld 3 > > No matter which folder I chose, Rev'