Truly weird, easy to replicate behaviour...
Truly weird, easy to replicate behaviour...
- Subject: Truly weird, easy to replicate behaviour...
- From: Andrew <email@hidden>
- Date: Fri, 28 Mar 2003 15:42:27 -0500
I have found something I cannot explain. The following line of code returns
an error type 1 on my system
(just type this into script editor and run macOS 10.2.4)
->>
display dialog (do shell script "ps -aux | grep ScreenSaver")
<<-
Can anyone explain to me why? It runs fine in the terminal even under the sh
shell.. It even runs fine if you change ScreenSaver to moo. I don't get it.
I just don't get it.. I got around it by changing the line to
display dialog (do shell script "ps -ax | grep ScreenSaver")
but I don't see why that works where the other fails...
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.