Need a Programmers Help

Joined
Jun 10, 2005
Messages
181
Reaction score
5
Points
18
Your Mac's Specs
Imac G5 17 inch w/ 1 gig of ram, 6 gb ipod mini, and 12" Powerbook G4
Ok so i have an applescript that will convert my movies to mpeg4, but i was wanting to know if there was a way to check (in applescript) if quicktime was recording a movie or not.
Let me explain: I have an automator workflow that will start a new video capture, i want to be able to have one clickable item and it start the video capture, and when its done run my convert script. Is there a way to do this?
 
Joined
Aug 27, 2005
Messages
2,406
Reaction score
210
Points
63
Location
Fayetteville, AR
Your Mac's Specs
15" Powerbook G4 • 24" iMac • iPhone 3Gs
tell application "QuickTime Player"
set isrecordings to (state of recordings as string) contains "recording"
set isplaying to (playing of movies contains true)

if isrecordings then
-- QT is currently recording a movie or a audio
end if
if isplaying then
-- QT is currently playing a movie or a audio
end if
end tell

display dialog isplaying
display dialog isrecordings
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top