applescript, launching function but returning window focus
applescript, launching function but returning window focus
- Subject: applescript, launching function but returning window focus
- From: Tony Meadows <email@hidden>
- Date: 09 Aug 2004 18:12:22 -0500
- Organization: University Computer Services
(Relatively new to the list...)
I'm trying to make an AppleScript application which monitors status of a
backgrounded task. It works completely, except that the window never
gets focus. I think the problem is that I'm using the "on opened" call.
I have tried "became main" and "became key" (became key did NOT work...)
but all of them seem to wait until the function is finished running
before they give focus to the window.
Basically, I'm trying to figure out how to give that window focus. It
still updates but even if it's the only window it is greyed as if it's
backgrounded. Is there a command, or a different function, I can use to
achieve this?
Thanks,
--
Tony Meadows
University Computer Services
Sam Houston State University
1803 Avenue I
Huntsville, TX 77340
email@hidden
936-294-4835
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.