| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Hi list, I am struggling with the following script, trying to Save a TextEdit document as HTML. Can some one point me in the right direction? Thanks much, Michael tell application "TextEdit" to activate tell application "System Events" tell application process "TextEdit" click menu item "Save As..." of menu 1 of menu bar item 3 of menu bar 1 -- menu item 7 click menu item "HTML" of menu 1 of pop up button 1 of group 1 of sheet 1 of window 1 -- menu item 2 click button "Save" of sheet 1 of window 1 -- save file end tell end tell |
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.