• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: From loginhook to a dialog?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >From loginhook to a dialog? (From: Debrah Suggs <email@hidden>)

  • Prev by Date: Re: make a style in Quark 4
  • Next by Date: Re: Illustrator 10 - font list, font property on the text item?
  • Previous by thread: From loginhook to a dialog?
  • Next by thread: Starting a process when Mail starts - possible?
  • Index(es):
    • Date
    • Thread