Re: Launch command in OS X 10.2
Re: Launch command in OS X 10.2
- Subject: Re: Launch command in OS X 10.2
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 20 Nov 2002 18:22:01 -0800
On 11/15/02 12:19 PM, "Emmanuel" <email@hidden> wrote:
>
At 8:34 AM +0000 15/11/02, John Delacour wrote:
>
> At 1:28 am -0600 14/11/02, Sam Griffith wrote:
>
>
>
>> I'm trying to start address book, but have it be hidden. By that I mean I
>
>> want it to run, but not show up. Kind of like when you put a application in
>
>> your Login Items and check the "hide on startup" checkbox.
>
>
>
> If you run this, it will only appear for a fraction of a second
>
> behind the current application. Whethehr you see the flicker or not
>
> will depend on what windows you have in the way.
>
>
>
> tell app "Address Book" to launch
>
> tell app "Finder" to set visible of process "Address Book" to false
>
>
At first sight, I would name that a bug of "Address Book". When I run:
>
>
---------------------
>
tell app "iCab" to launch
>
---------------------
>
>
or
>
>
---------------------
>
tell app "Smile" to launch
>
---------------------
>
>
the app does not show up at all.
It's worse than that.
tell app "Address Book" to launch
and it shows up in the front! So doing the only thing possible, John's
suggestion of following that with
tell app "Finder" to set visible of process "Address Book" to false
still flashes AB _in the front_.
There's not much difference between 'launch' and 'run', although it
disappears faster with 'launch'.
Bleahh. They don't know much, do they?
>
Like when, if my memories serve me right, the following used to work:
>
>
---------------------
>
tell app "Finder" to open alias theAppPath with properties {visible:false}
No way in X.
--
Paul Berkowitz
_______________________________________________
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.