Re: Scripting Console
Re: Scripting Console
- Subject: Re: Scripting Console
- From: Gnarlodious <email@hidden>
- Date: Wed, 22 Sep 2004 07:02:29 -0600
I don't get it. When you say:
do shell script "open /var/log/mail.log"
does it not open with the previous size and position?
-- Gnarlie
Entity Bernardo Hoehl / Gessos Rutenium spoke thus:
> 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:
> nk.net
>
> This email sent to email@hidden
_______________________________________________
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
References: | |
| >Scripting Console (From: Bernardo Hoehl / Gessos Rutenium <email@hidden>) |