• 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
Re: Can't get name of Window 1 in Excel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get name of Window 1 in Excel


  • Subject: Re: Can't get name of Window 1 in Excel
  • From: Craig Sutherland <email@hidden>
  • Date: Sun, 2 Oct 2005 14:19:49 -0500

On Oct 1, 2005, at 10:50 , Robert Poland wrote:
Is there a simple workaround?
-- Application Excel has been opened and window 1 is active. Script run from Smile.


tell application "Microsoft Excel"
	Activate
	delay 1
	set fileName to Name of Window 1
	display dialog "fileName = " & fileName
end tell

tell application "Microsoft Excel" activate set _props to properties of window 1 set wdw_name to name of _props end tell

Craig


_______________________________________________ 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: 
 >Can't get name of Window 1 in Excel (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Get current working directory
  • Next by Date: Re: TIDs, speed, (Unicode) text
  • Previous by thread: Re: Can't get name of Window 1 in Excel
  • Next by thread: Re: Can't get name of Window 1 in Excel
  • Index(es):
    • Date
    • Thread