Re: Dismissing Excel 2004 Project Gallery
Re: Dismissing Excel 2004 Project Gallery
- Subject: Re: Dismissing Excel 2004 Project Gallery
- From: David Weiss <email@hidden>
- Date: Tue, 25 May 2004 21:58:26 -0700
tell application "Microsoft Excel"
activate
delay 10 -- let the app boot, even on slow machine
tell application "System Events" to keystroke (ASCII character 3) --
press the escape key
-- do cool stuff
end tell
It's too bad this preference isn't stored in a .plist somewhere.
David Weiss
On May 25, 2004, at 2:38 PM, Patrick D. Fox wrote:
Using Mac OS 10.3.3 and Microsoft Excel 2004 (11.0)
Is there any way, via AppleScript, to detect when Excel is displaying
the
"Project Gallery - New" window/dialog and then be able to dismiss it?
(I realize you can bypass the Project Gallery by setting Excel
preferences
or by telling Excel to "launch" if it is not running. What I'm trying
to do
is accommodate times when the user may have manually launched Excel
and has
left the Project Gallery displayed and then runs an AppleScript that
manipulates Excel. If the Project Gallery is left open, a script that
opens
a workbook, for example, will fail with 'Excel...doesn't understand
the open
message' error message.)
Thanks in advance for any suggestions.
Patrick
_______________________________________________
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.
_______________________________________________
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.