iChat Status ändern

T

Tobias S

Aktives Mitglied
Thread Starter
Dabei seit
29.07.2003
Beiträge
122
Reaktionspunkte
2
Kann mir jemand sagen was an diesem code so falsch sein soll:

property status : "www.tobiszone.de"



property status : "www.tobiszone.de"

on idle
tell application "iChat"
set status message to status
end tell

if status = "www.tobiszone.de" then
set status to ">http://www.tobiszone.de"
else if status = ">http://www.tobiszone.de" then
set status to "->http://www.tobiszone.de"
else if status = "->http://www.tobiszone.de" then
set status to "-->http://www.tobiszone.de"
else if status = "-->http://www.tobiszone.de" then
set status to "--->http://www.tobiszone.de"
else if status = "--->http://www.tobiszone.de" then
set status to "www.tobiszone.de"
end if

return 1

end idle

PS: ich bin ein Noob in AppleScript! Könnt ihr mir ein gutes online Tut. empfehlen???

MfG
Tobias
 
du nennst die property
property status : "www.tobiszone.de"

in ichat gibts schon ne property die status heisst und die ist reserviert!
das heisst hier - set status message to status - ist das hinter status nicht deine property, sondern die property der anwendung ichat (wahrscheinlich steht in deiner status message immer away, offline oder available)

nenne sie doch mal um auf z.B.
property status1 : "www.tobiszone.de"
 
Zurück
Oben Unten