S
stefan741
Mitglied
Thread Starter
- Dabei seit
- 19.06.2004
- Beiträge
- 86
- Reaktionspunkte
- 5
Hi,
ich habe nach einer Möglichkeit gesucht, wie man Zattoo mit der Apple Remote Fernbedienung nutzen kann.
Dabei habe ich ein Script von Manis (im Macforum.ch) gefunden.
Ich habe das Script auf die aktuelle (3.3.4) deutsche Version angepasst.
Einfach als 'Eigene Aktion' in Remote Buddy für Zattoo hinterlegen.
Kommentare sind willkommen.
Gruß,
Stefan
==================================
Änderungen:
--------------
2009.10.30, v0.3, Update für 10.6
- Anpassung wg. Clipboard
Script
-------
Channel Up
Channel Down
ich habe nach einer Möglichkeit gesucht, wie man Zattoo mit der Apple Remote Fernbedienung nutzen kann.
Dabei habe ich ein Script von Manis (im Macforum.ch) gefunden.
Ich habe das Script auf die aktuelle (3.3.4) deutsche Version angepasst.
Einfach als 'Eigene Aktion' in Remote Buddy für Zattoo hinterlegen.
Kommentare sind willkommen.
Gruß,
Stefan
==================================
Änderungen:
--------------
2009.10.30, v0.3, Update für 10.6
- Anpassung wg. Clipboard
Script
-------
Channel Up
Code:
tell application "System Events"
tell process "Zattoo"
set myChannel to (get the clipboard)
set myClipboard to myChannel
set myClipboard to myClipboard + 1 as text
set the clipboard to myClipboard
tell window "Sender" -- Change to your Window-Name
tell group 1
tell group 1
tell scroll area 1
tell scroll bar 1
if myChannel > 3 then
set mypos to (myChannel - 3) * 0.0075
set value to mypos
end if
end tell
tell outline 1
set myChannel to myChannel + 1
tell row myChannel to select
end tell
end tell
end tell
end tell
end tell
end tell
end tell
Channel Down
Code:
tell application "System Events"
tell process "Zattoo"
set myChannel to (get the clipboard)
set myClipboard to myChannel
if myClipboard ≤ 1 then
return
end if
set myClipboard to myClipboard - 1 as text
set the clipboard to myClipboard
tell window "Sender" -- Change to your Window-Name
tell group 1
tell group 1
tell scroll area 1
tell scroll bar 1
set mypos to (myChannel - 5) * 0.0075
-- display dialog mypos
set value to mypos
end tell
tell outline 1
set myChannel to myChannel - 1
tell row myChannel to select
end tell
end tell
end tell
end tell
end tell
end tell
end tell
Zuletzt bearbeitet: