New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Need a Programmers Help


Post Reply New Thread Subscribe

 
Thread Tools
Conehead778

 
Conehead778's Avatar
 
Member Since: Jun 10, 2005
Posts: 181
Conehead778 will become famous soon enough
Mac Specs: Imac G5 17 inch w/ 1 gig of ram, 6 gb ipod mini, and 12" Powerbook G4

Conehead778 is offline
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?
QUOTE Thanks
surfwax95

 
surfwax95's Avatar
 
Member Since: Aug 27, 2005
Location: Fayetteville, AR
Posts: 2,410
surfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud of
Mac Specs: 15" Powerbook G4 24" iMac iPhone 3Gs

surfwax95 is offline
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

I try to Command+Shift+/ when I can.
They're - Their - There | Two - Too - To | You're - Your | MAC - Mac
I was on the M-F honor roll for October, 2006.
QUOTE Thanks

Post Reply New Thread Subscribe


« applescript help | Xcode 1.5 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Im So Mad: mac haters. Chris3801 Switcher Hangout 131 07-20-2009 11:22 PM
PYTHON PROGRAMMERS!!! how do i compile/run linux-based python code on OS X pkny OS X - Development and Darwin 4 03-20-2005 05:17 PM
firewire ports thrive_808 Apple Desktops 6 10-14-2004 07:56 AM

All times are GMT -4. The time now is 11:22 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?