• 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
How to direct text output to a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to direct text output to a window


  • Subject: How to direct text output to a window
  • From: "Stranathan, Dan" <email@hidden>
  • Date: Sun, 16 Mar 2008 10:13:17 -0500
  • Acceptlanguage: en-US
  • Thread-topic: How to direct text output to a window

Hi guys

I have started to write a simple little app to display all of my current login items.

I'm stumped as to how to direct the information to a dialog window. I can get the info when running the app in Script Editor, but obviously need to direct the output to a user-readable dialog box or window during runtime. I'm obviously new to AppleScript - my apologizes.


Here is the "meat" of my script:


tell application "System Events"
   -- LOGIN ITEMS
   get the properties of every login item
   -- Example: {{class:login item, path:"/Users/sal/Desktop/View Remote Screen.app", hidden:false, kind:"Application", name:"View Remote Screen"}}
end tell



Also - based on the code above, will this script show me login items "pushed" through MCX policies as well as the local, user-assigned login items?

The point of my app is to be able to reveal all login items, regardless of origin. The app is going to accomplished 2 things:


 1.  Show me my login items. This is the code you see above (well, part of it anyway!)
 2.  Allow me to re-run my login items for the purpose of mounting network volumes that normally mount at startup (i.e.; for laptop users who use a VPN to connect to my LAN and want to mount their MCX-pushed network shares)



Thanks in advance!

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to direct text output to a window
      • From: Michelle Steiner <email@hidden>
    • Re: How to direct text output to a window
      • From: KOENIG Yvan <email@hidden>
  • Prev by Date: Re: 10.4.9 versus 10.4.10
  • Next by Date: Re: How to direct text output to a window
  • Previous by thread: Re: Before I forget
  • Next by thread: Re: How to direct text output to a window
  • Index(es):
    • Date
    • Thread