I would like to use appscript to realize the following applescript:

tell application "Safari"
        tell window 1
                make new tab at beginning
        end tell
end tell

that is, I want to make a new tab with index 1. The following code
  safari = app("Safari").windows[1].make(new=k.tab)
will create a tab at the end. I know that I should at some "at=" in the 
parameter. However, I cannot figure out how to use "k.location_reference". I 
wonder whether someone can help me out. Thanks.

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to