• 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
newbie question in Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

newbie question in Safari


  • Subject: newbie question in Safari
  • From: Chet Goetz <email@hidden>
  • Date: Tue, 7 Oct 2003 14:21:54 -0500

Can someone please let me know what I'm doing wrong?

I'm a newbie, making a script that opens my bookmarks in tabs.

Here's my script (each new line begins with "<")


<tell application "Safari"
< activate
<end tell
<
<tell application "System Events"
< tell process "Safari"
< click menu item "Open in Tabs" of menu "chet's links" of menu "Bookmarks Bar" of menu "Bookmarks" of menu bar 1
< end tell
<end tell


The Event Log has the following as the result


tell application "Safari"
activate
end tell
tell application "System Events"
click menu item "Open in Tabs" of menu "chet's links" of menu "Bookmarks Bar" of menu "Bookmarks" of menu bar 1 of process "Safari"
end tell


However, the script only activates Safari, it doesn't open my bookmarks in tabs. Is there something wrong with my script?

Thanks!
 chet 
_______________________________________________
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.

  • Follow-Ups:
    • Re: newbie question in Safari
      • From: Glenn <email@hidden>
  • Prev by Date: connnected?!
  • Next by Date: Re: connnected?!
  • Previous by thread: Re: connnected?!
  • Next by thread: Re: newbie question in Safari
  • Index(es):
    • Date
    • Thread