Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scripting safari and menu items



i seem to be lost in a never maze of problems

first i wanted script safari
basically just save the front document

tell application "Safari"
	activate
	open location "http://webcam.aet.ch/traffico/airolo_n.jpg";
save  blabla
end tell


that didnt work

so i tried   menu and menu items

	--tell application "System Events"
	--	tell process "Safari"
	--select menu item 7 of menu 3 of menu bar 1
	--	end tell
	--end tell

but that didnt work  either
( and it was a pain to get the correct  item numbers ! )

i seem to recall from OS 9 that you could get list af menu's pretty easy but how ?


-- Christian Vinaa

email@hidden

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
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

This email sent to email@hidden
References: 
 >Re: numbers and prefix zero (From: Paul Richardson <email@hidden>)



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.