- Registriert
- 17.12.07
- Beiträge
- 1.902
Hallo, wie bindet man AppleScripte ein? Z.b. eines für den Safari!
Dieses macht das alle geöffneten Tabs in bestimmten Zeitintervallen neu laden.
Scriptanfang ---------------
(*
Written by: Sean Long
On: 06/11/2007
From: http://www.hailstonesoftware.com
Purpose: Auto reload tabs in Safari. Currently will reload every 2 minutes.
License: free to use how you choose.
*)
global seconds_to_delay
set seconds_to_delay to 120
tell application "Safari"
repeat
repeat with i from 1 to the count of windows
set this_win to (window i)
repeat with j from 1 to the count of every «class bTab» in this_win
do JavaScript "window.location.reload()" in («class bTab» j of window i)
end repeat
end repeat
delay seconds_to_delay
end repeat
end tell
Ende ------------------------
Dieses macht das alle geöffneten Tabs in bestimmten Zeitintervallen neu laden.
Scriptanfang ---------------
(*
Written by: Sean Long
On: 06/11/2007
From: http://www.hailstonesoftware.com
Purpose: Auto reload tabs in Safari. Currently will reload every 2 minutes.
License: free to use how you choose.
*)
global seconds_to_delay
set seconds_to_delay to 120
tell application "Safari"
repeat
repeat with i from 1 to the count of windows
set this_win to (window i)
repeat with j from 1 to the count of every «class bTab» in this_win
do JavaScript "window.location.reload()" in («class bTab» j of window i)
end repeat
end repeat
delay seconds_to_delay
end repeat
end tell
Ende ------------------------