2011-05-15 3 views

답변

11

당신은 변수에 active tab index을 저장하고 당신이 당신의 탭을 생성 한 후에 다시 설정할 수 있습니다

tell application "Google Chrome" 
    set activeIndex to get active tab index of window 1 
    tell window 1 
     set newTab to make new tab with properties {URL:"http://www.google.com/"} 
    end tell 
    set active tab index of window 1 to activeIndex 
end tell 
관련 문제