Wiki entry: How to escape a space character
--step hard on left toe
--swing elbow back to the side of captor's head
--run behind nearest boulder

I remember seeing this as a young lad, where Captain Evil freed himself from
Buck Rogers, the most famous space character of all.  This only required one
backslash, and probably is the reason we use it to this day.

Jim Ault
Las Vegas

On 1/18/07 1:26 PM, "J. Landman Gay" <[EMAIL PROTECTED]> wrote:

> sims wrote:
> 
>> You'll find more info on this at:
>> http://developer.apple.com/technotes/tn2002/tn2065.html
> 
> Aha! Okay, I got it work. The above web page helped. Apparently
> applescript doesn't want you to escape spaces in shell commands even
> while it is using POSIX paths. And I was using the wrong quote marks.
> 
> This now works, and it is a one-liner:
> 
> do shell script "chmod 777 '/Library/Application Support/myFolder/'"
> with administrator privileges
> 
> I wish AppleScript worked like Revolution. Life would be so much easier.


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to