>How can I start the Quicktime Broadcaster with AppleScript? I mean not
>only the application. I mean there is already something configured and
>I want to start the broadcast. Iam away from the machine and need to
>start it remotely. No, there is no ARD in use...
This AppleScript will start up Broadcaster with a settings file. To set
the settings file that the script runs, drag a settings file you saved
with Broadcaster on top of it. You can make multiple copies of the script
for different settings.
Also, you can start up broadcasts from the command-line using
broadcasterctl, or from QTSS Web Admin if Broadcaster is running on the
same box with the streaming server.
Copy and paste the following script into script editor and save as an
Application:
-- this part creates a script object when the user drags a broadcast
settings file on the script
property theBroadcastFile : ""
on open (draggedFile)
set theBroadcastFile to draggedFile
end open
-- this part opens the file and starts the broadcast when the script is
double-clicked
on run
try
tell application "Finder"
open theBroadcastFile
end tell
tell application "QuickTime Broadcaster"
tell first document
start
end tell
end tell
on error
display dialog "Couldn't open the broadcast file. Try dragging another
file on the script to reset." buttons {"OK"}
end try
end run
--
Soundscreen
George Sutherland
_______________________________________________
streaming-server-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
Do not post admin requests to the list. They will be ignored.