Re: From loginhook to a dialog?
Re: From loginhook to a dialog?
- Subject: Re: From loginhook to a dialog?
- From: Joshua See <email@hidden>
- Date: Fri, 16 Apr 2004 17:35:36 -0500
On Apr 13, 2004, at 10:47 AM, Debrah Suggs wrote:
In Mac OS X, is there a way to utilize a loginhook script so that
interaction with the Finder can occur once it's loaded? So far, I've
been using a bash script to structure the user environment in our
computer labs but as far as I can tell "osascript" can't load
AppleScripts that require user interaction (I get the error "no user
inraction allowed. -1713).
You might want to bypass AppleScript and use iHook. Its designed
specifically to let CLI scripts give GUI feedback, even when no one is
logged in. Other options include Pashua, which offers more
interactivity options, and PipeAlert, which is extremely simple to use.
iHook <
http://rsug.itd.umich.edu/software/ihook/>
Pashua <
http://q41.de/downloads/pashua_en/>
PipeAlert <
http://q41.de/downloads/pipealert_en/>
I'd be happy if I could get a loginhook to end with the Finder
displaying a dialog of "hello world" at this point. Is this possible?
Did you remember to foist the dialog off on another app to get around
the interactivity prohibition?
osascript -e 'tell app "Finder" to display dialog "Hello, World!"'
--
Sincerely,
Joshua See
_______________________________________________
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.