HI All,
I wanna write an applescript to change the Text Encoding under "View" menu,every time I open safari.
since it will automatically be reverted to "Default" every time I quit Safari (very retarded!!)
But I'm no guru of programming. I don't know how to click a sub-menu..
This is all what I know:
activate application "Safari"
tell application "System Events"
tell process "Safari"
click menu item "Text Encoding" of menu 1 of menu bar item "View" of menu bar 1
delay 1
{The next step will be clicking the encoding I want, e.g. : Western(IOS Latin 1)....but this is where I need you guys help!!}
end tell
end tell
Thanks a lot everyone!!!
I wanna write an applescript to change the Text Encoding under "View" menu,every time I open safari.
since it will automatically be reverted to "Default" every time I quit Safari (very retarded!!)
But I'm no guru of programming. I don't know how to click a sub-menu..
This is all what I know:
activate application "Safari"
tell application "System Events"
tell process "Safari"
click menu item "Text Encoding" of menu 1 of menu bar item "View" of menu bar 1
delay 1
{The next step will be clicking the encoding I want, e.g. : Western(IOS Latin 1)....but this is where I need you guys help!!}
end tell
end tell
Thanks a lot everyone!!!