• 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
Scripting Console
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Console


  • Subject: Scripting Console
  • From: Bernardo Hoehl / Gessos Rutenium <email@hidden>
  • Date: Wed, 22 Sep 2004 09:26:59 -0300

Hi List!

I have an AppleScript Studio app that sends out aprox 600 emails using PostFix. I have it for my own personal use till this moment, but would like to offer it to my customers.

I am trying to to make it open Console app to display the progress of the process, a way of showing the GUI user that my application is working. But it seems to me that Console doesn't have an applescript dictionary.

This is my code so far:

tell application "Console"
open "/var/log/mail.log"
end tell


I would like to set the console window to a specific syze and position in the screen, so that it won't open on top of my window, looking like just another window of my own program.

I don't know if it is possible to do this, but I am considering as an alternative editing/replacing the ~/Library/preferences/com.apple.Console.plist file. It seems to me that this block could do the trick:


</dict>
</array>
<key>LogOutlineViewWidth</key>
<real>150</real>
<key>NSWindow Frame /var/log/mail.log</key>
<string>13 195 948 551 0 0 1152 746 </string>


I would appreciate to read your comments,

Thanks!


Bernardo Höhl

Rio de Janeiro - Brazil


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Scripting Console
      • From: Johnny AppleScript <email@hidden>
    • Re: Scripting Console
      • From: Martin Orpen <email@hidden>
    • Re: Scripting Console
      • From: Gnarlodious <email@hidden>
  • Prev by Date: Re: Change type/creator
  • Next by Date: Re: Change type/creator
  • Previous by thread: Re: Change type/creator
  • Next by thread: Re: Scripting Console
  • Index(es):
    • Date
    • Thread