Quicktime Automator Script
Hi,
I would like to know if there is an Automator script that will look for files like m4v etc in a specific folder and convert them into AVI.
E.g. look for m4v files in my iTunes music folder and convert them to AVI so that I can play them on my Xbox 360. It would be even cooler that once this has all finished, that the converted file was moved to another folder.
I think im hoping for too much but you never know.
Thanks
MPeg Stram clip will export files which are compatible with iMovie '09. It (iMovie )can import the following.
DV
AIC
Motion-JPEG
Photo-JPEG
MPEG-4 (Supported profiles)
H.264 (Supported profiles)
Apple Animation (Movie '09 only)
Apple Video (iMovie '09 only)
iMovie '08/'09 will not accept files containing extraneous data tracks such as:
'Tween
Text
Chapter
Closed Caption
Secondary audio such as AC3
etc.
iMovie '08/'09 Will not accept files that rely on proprietary/third-party components such as
DivX
WMV
XviD
etc.
Similar Messages
-
Help with Automator Script for QuickTime Pro Movie Conversion from Vado
All my videos from my Creative Vado do not show up in iMovie 09 initially on import. By trial and error, I have discovered that the old version of QuickTime Pro 7 ($29.95) will convert them to .mov files that can be seen by iMovie 09 once the converted videos are imported back into iPhoto.
I am (very) new to mac things, and it looks like in theory I could use Automator to handle to conversion process, and perhaps even the re-import into iPhoto. Does anyone have any suggestions on how to go about this? Where would be a good site to post this as a project that I could pay some one to help me, provide an automator script/workflow?
Are any other solutions available? Buy Final Cut etc?
PS (Rant): One of the reasons I bought a MacBook Pro and iLife was to take advantage of what I thought was supposed to be Apple's superior multimedia handling. It seems ludicrous to me that with a MacBook Pro running the latest software (10.6.4), and using the latest versions of iLife, I'd have to buy an old version of QuickTime to convert my videos so that I could manipulate them in iMovie. Sigh.MPeg Stram clip will export files which are compatible with iMovie '09. It (iMovie )can import the following.
DV
AIC
Motion-JPEG
Photo-JPEG
MPEG-4 (Supported profiles)
H.264 (Supported profiles)
Apple Animation (Movie '09 only)
Apple Video (iMovie '09 only)
iMovie '08/'09 will not accept files containing extraneous data tracks such as:
'Tween
Text
Chapter
Closed Caption
Secondary audio such as AC3
etc.
iMovie '08/'09 Will not accept files that rely on proprietary/third-party components such as
DivX
WMV
XviD
etc. -
I need an automator script to play a folder of movies
I have a folder of quicktime movies. I have a Mac Mini with Lion. I have a TV. I need an automator script to grab the list of movie files from the folder and play them full-screen, one-by-one and then loop through the process to continue playing them, unattended, all day.
I cannot get the proper steps in automator to accomplish this (seems to me it should be easy) job.
Any ideas?
Doug Jansen
TokyoDave,
Thanks for the tip. I didn't know that Quick Look would display a folder of files one-by-one. Once I set the first file to full screen, the rest also played full screen one after the other. Now I need a way to automatically launch Quick Look, set full screen and loop. This site http://automator.us/leopard/downloads/index.html has an automator action that uses Quick View, but on my Lion machine it just displays the first movie and only the first frame of the movie. It stops at that point. -
In my project I have to make certain calculation and then get the data plotted in the given report template. I am using automated script for this. My script is doing all the calculations and then it not selecting and drag-dropping the selected channels on the report template. Its saving the blank report template.
I am struggling to get the data for specific channels plotted by using the script. I need the selected channels to be plotted on this report template and then get it saved.
Any help will be deeply appreciated. Thanks
Solved!
Go to Solution.Hi LaxG,
Brad is absolute right. It is possible to create your whole layout via script.
If you have loaded the example report layout you can copy these lines to create a new line in your plot. This is the recommended object oriented way.
call Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Add(e2DShapeLine, "anyName")
Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Item("anyName").Shape.XChannel.Reference = "[1]/Zeit"
Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Item("anyName").Shape.YChannel.Reference = "[1]/Geschwindigkeit"
For performance reasons it's recommended to use the it like this.
dim oLine
set oLine = Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Item("anyName").Shape
oLine.XChannel.Reference = "[1]/Zeit"
oLine.YChannel.Reference = "[1]/Geschwindigkeit"
Like Brad mentioned it is much easier, that you have a stored template of your report with all setings and customisations already done.
You open this layout file and have stored the names of your calculated channels. When you are doing this with a script they always have the same name and belong to the same group.
Now you can customize the references of the line items.
Kind Regards,
Philipp K.
AE | NI Germany -
Hi all,
Is there a way to have the ipad execute a series of tasks at startup? (like an automator-script)
Thank you!Hi all,
For all you who have been looking for a solution for the problem above, here it is :
http://www.kioskproapp.com/
The Kiosk Pro app allows you to run any html-scrip locally stored on the ipad!
Which is great! Because not only does it allow for an infinite amount of possibilities next to the video-looping, it also keeps on working with one click after a reboot!
The learning curve of usage is quite simple for the problem above, since they provide extensive information on the website and have great customer service.
I am very very happy I found this app, and I really hope this post saves a lot of people the headaches I've suffered in the course of finding the solution.
Enjoy!
Alex -
How do I schedule an automator script to run at a certain time every day?
How do I schedule an automator script to run at a certain time every day?
This used to be done through iCalendar and this option is no longer available.
How do I do this?
--KenoliKenoli Oleari1 wrote:
How do I schedule an automator script to run at a certain time every day?
This used to be done through iCalendar and this option is no longer available.
How do I do this?
--Kenoli
You can use lauchd to run the script.
Here's an example of an Automator App that I have scheduled to run at 7am daily:
You would save this as com.yourname.plist and put it the the Folder: ~/Library/LaunchAgents/ (then log out and back in, or reboot)
(To run a workflow, change open to automator)
(A nice GUI launchd editor is Lingon)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.tonyt.EventReport</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>/Users/Tony/Library/Scripts/Events Report.app</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>7</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
</dict>
</plist> -
Using a SecureString password in an automated script?
Hello all,
I've been having issues getting a secure string to work with an automated script.
Basically, a piece of software we use can accept commands via powershell/command shell but requires a password for the commands to be run.
I've spent a fair amount of time researching the ConvertFrom and ConvertTo methods and tried without success. (When trying to use the ConvertFrom/To methods the software gives back incorrect password errors).
Can anyone please assist?Hi Jonathan,
you can simply use the $SecurePassword variable from Basty's example (if you need a secure string) and pass this as Password. Please note though, this will only work if the account writing the credentials to file is also the same account used to read it
from file.
If you need to encode it for another account (like local system), you can use the
Encrypt-Credential function-script (The example on how to retrieve a clear-text password in memory will also work with Basty's $cred object).
On a final note:
Encrypted or not, try to avoid writing passwords down if you can somehow avoid it. If possible, assign permissions to the account running the task, if the service you are accessing supports windows authentication and privileges.
Cheers,
Fred
There's no place like 127.0.0.1 -
Service failure automation script
Hi All,
I have configured the below mentioned code on our prod servers services to send email notifications when ever a service fails.
On Error Resume Next
strComputer = "USDFW16AS61"
Const cdoSendUsingPickup = 1
Const cdoSendUsingPort = 2
'Function block to dynamically retrieve the file size of the report file.
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objFSO = CreateObject("Scripting.FileSystemObject")
'Authentication type used for SMTP server.
'We are currently using 0, cdoAnonymous
Const cdoAnonymous = 0 'Do not authenticate
Const cdoBasic = 1 'basic (clear-text) authentication
Const cdoNTLM = 2 'NTLM
'Creates message subject, we are using variables declared earlier in the script
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "CMS Production service iwutild is stopped"
'Sets the From address
objMessage.From = """Support DL"[email protected]
'Sets the destination, or TO address
objMessage.To = [email protected]
'Sets the CC address. Only used for testing purpose at the moment. Should be commented out when in use.
'objMessage.CC = ""
'Sets the message body, the actual email message. Variables are used in the message which was declared earlier.
objMessage.TextBody = "Dear Administrators, the xyz service is now in STOPPED state." & vbCRLF & vbCRLF & "Please do not reply to this message as it was sent to you by an automated Script."& vbCRLF & vbCRLF &
"Thanks and regards"
'objMessage.TextBody = "Dear Application Administrators," & vbCRLF & ""& vbCRLF & ""& vbCRLF &
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'Name or IP of Remote SMTP Server
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "servername"
'Type of authentication, NONE, Basic (Base64 encoded), NTLM
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoAnonymous
'Your UserID on the SMTP server
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusername") = ""
'Your password on the SMTP server
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendpassword") = ""
'Server port (typically 25)
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
'Use SSL for the connection (False or True)
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False
'Connection Timeout in seconds (the maximum time CDO will try to establish a connection to the SMTP server)
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
objMessage.Configuration.Fields.Update
'==End remote SMTP server configuration section==
'Sends the message using code.
objMessage.Send
This script is able to send notification only for the respective service that I have configured it to Run upon failure.
My requirement now is that the script should be able to detect out of the 6 app services that are down & should append the email body with the name of that service & send an email.
I understand Wscript.argument(0) can be of use but not able to use it. Could you kindly help?
Thanks,
Pankaj
P.S: I am not a developer, so kindly bear with me :)
Pankaj DhootHi Pankaj,
To solve the script issue, I would like to recommend you to post in the Visual Studio Languages forum for more effective support:
http://social.msdn.microsoft.com/Forums/en-US/home?category=vslanguages
or The Official Scripting Guys Forum!
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
Thank you for your understanding. -
Need automation script to detect deadlocks in a system.
Hi ,
I need a automation script to detect deadlocks in my system. If any body have any scripts. please share with me.. that would be very helpful to me.
Note : if i ran the script that would show the list of deadlock occurred in my system that must be automatic process..
Thanks in advance
Yangamuni Prasad MHi pradas,
you can even runthe following and as uri Said Traceflag 1222 must be on (DBCC TRACEON(1222, -1).
IF
OBJECT_ID(
'dbo.usp_DeadlockNotification')
IS NOT NULL
DROP
PROC dbo.usp_DeadlockNotification
--GO
CREATE
PROC dbo.usp_DeadlockNotification
@FilterBIT
= 0,
@Minutes
INT = 30
AS
DECLARE @ErrorLog
TABLE
LogDate
DATETIME NOT
NULL,
ProcessInfo
VARCHAR(75),
LogInfo
VARCHAR(MAX)
create a SQL job and run
DECLARE @Count
INT,
@StartDate
DATETIME,
@EndDate
DATETIME
SET @Count
= 0
SET
NOCOUNT ON
-- Step I: Import Errorlog
INSERT
INTO @Errorlog
EXEC
xp_readerrorlog
---- Step II: How to search Errorlog
IF
(@Filter
<> 0)
BEGIN
SELECT @EndDate
= GETDATE()
SELECT @StartDate
= DATEADD(mi,
-@Minutes, @EndDate)
SELECT @Count
= COUNT(*)
FROM @Errorlog
WHERE LogDate
BETWEEN @StartDate AND @EndDate
AND LogInfo
LIKE '%Deadlock%'
END
ELSE
BEGIN
SELECT @Count
= COUNT(*)
FROM @Errorlog
WHERE LogInfo
LIKE '%Deadlock%'
END
---- Step III: Send Email
IF
(@Count
> 0)
BEGIN
EXEC msdb.dbo.sp_send_dbmail
@profile_name
= 'ABC',
@recipients
= '[email protected]',
@subject
= 'Deadlocks',
@body
= 'Deadlocks'
END
Create a agent job and schedule it accordingly as per you requirment and add following step in the job
EXEC dbo.usp_DeadlockNotification 1, 30
Thanks,Suhas V -
Hello All,
How i will do Automation script execution in Production
We have a bunch of scripts (Packages , DDL & DML ) everyday. What is the better aproach to do automatic script execution without any issues ?Hi,
You have two options.
1) Oracle job scheduler
2) Windows Tasks
Oracle job scheduler you can run it by your requirement. you can create it like below:-
begin
DBMS_SCHEDULER.CREATE_JOB(
JOB_NAME => 'JOB_FOR_TEST',
JOB_TYPE => 'PLSQL_BLOCK',
JOB_ACTION => 'begin YOUR_PROCEDURE_NAME; end;',
START_DATE => SYSTIMESTAMP,
END_DATE => NULL,
COMMENTS => 'JOB IS CREATED FOR TEST ONLY.',
ENABLED => TRUE,
REPEAT_INTERVAL => 'freq=daily; byhour=20; byminute=0; bysecond=0;');
end;
/Above job will run on 8pm daily.
likewise since i dont know whether you are on windows or linus or unix etc... you can scheduler windows level tasts... -
Action Playback option changes the Result of an Automated Script.
When using the Playback Option in the Actions menu, then the Results are different with different Acceleration methods.
So the Result is different with, Accelerated - Step by Step - Pauze for [1],
I Expierence the issue with Windows and Mac as well.
This happens with Illustrator CS5 (15.0.1)
# Workflow
Creating the action:
Open Illustrator, open the attached document: 4102107 Exact.pdf
Create an New Action, enable Transform window
Select the Black Square and the Red text Exact
Go to Object, Scale > 33.3% and press Copy.
Then go to Transform an from the upper corner and enter on the
x=397,13 pt y=212,25 pt
You see the Image moved to the correct clip.
Open the Document in Illustrator,
Go to Actions > Select the created action >Now go to the Panel Menu from Actions > Select Playback option.
You get a new Dialog where you can select a different acceleration mode: "Step by Step" - "Accelrated" - "Pause for [Numeric] Seconds"
So the issue is, when you select here a different accelration the result is different.
>Is this as Designed? If So, why because when i understand the function of an automated script. It should exactly get the same
result as programmed, why else would you want to use the script if the result with be different without nothing.
There is running an Escalation case about this, But hopefully anybody more experienced can comment me about this. Or inform wheter it's a bug?
Please help me in this. (thank you in advance!)To make a few things clear I have created a Video of the issue.
Have a look on:
http://adobesupport.emea.acrobat.com/p65456795/
Maybe i really blow in explaining what exactly happens, but i'll try it again.
When creating an action (as shown in the Video) You can see that the result
is totally different and when creating the action. This is error 1.
- I recieved a respons that we just shouldn't use the Transform Panel. So i requested to know why there is a panel created, if we cannot use it.
No respons.
Then when you select a Playback option in the setting of the Actions Panel,
the Result differs. As you can see when executig in the Accelerated the Movement gets placed WAY out of the file.
When selection Step by Step or Pause for [Numeric] Seconds, then the result is that the movement gets placed
at the bottom of the file. Both of the Results don't even come close in the Action which is created.
Hopefully this will calrify what i ment. -
Automated script for setting authorization limit in GL
Hi,
I am trying to create an automated script in our General Ledger application to set authorization limit. I have looked into code of form GLXSTEAL.fmb. There I found that, GL_AUTHORIZATION_LIMITS_PKG is being used for setting authorizations limit.
Below is the code I am trying to run from PL/SQL developer using apps id:
declare
l_Rowid varchar2(30);
l_Set_Of_Books_Id apps.GL_AUTHORIZATION_LIMITS.SET_OF_BOOKS_ID%TYPE;
l_Employee_Id apps.GL_HR_EMPLOYEES_CURRENT_V.EMPLOYEE_ID%TYPE;
l_Authorization_Limit apps.GL_AUTHORIZATION_LIMITS.AUTHORIZATION_LIMIT%TYPE;
l_user_id number := FND_GLOBAL.USER_ID;
l_login number :=FND_GLOBAL.login_id;
p_Attribute1 apps.GL_AUTHORIZATION_LIMITS.Attribute1%TYPE;
p_Attribute2 apps.GL_AUTHORIZATION_LIMITS.Attribute2%TYPE;
p_Attribute3 apps.GL_AUTHORIZATION_LIMITS.Attribute3%TYPE;
p_Attribute4 apps.GL_AUTHORIZATION_LIMITS.Attribute4%TYPE;
p_Attribute5 apps.GL_AUTHORIZATION_LIMITS.Attribute5%TYPE;
p_Attribute6 apps.GL_AUTHORIZATION_LIMITS.Attribute6%TYPE;
p_Attribute7 apps.GL_AUTHORIZATION_LIMITS.Attribute7%TYPE;
p_Attribute8 apps.GL_AUTHORIZATION_LIMITS.Attribute8%TYPE;
p_Attribute9 apps.GL_AUTHORIZATION_LIMITS.Attribute9%TYPE;
p_Attribute10 apps.GL_AUTHORIZATION_LIMITS.Attribute10%TYPE;
p_Attribute11 apps.GL_AUTHORIZATION_LIMITS.Attribute11%TYPE;
p_Attribute12 apps.GL_AUTHORIZATION_LIMITS.Attribute12%TYPE;
p_Attribute13 apps.GL_AUTHORIZATION_LIMITS.Attribute13%TYPE;
p_Attribute14 apps.GL_AUTHORIZATION_LIMITS.Attribute14%TYPE;
p_Attribute15 apps.GL_AUTHORIZATION_LIMITS.Attribute15%TYPE;
p_Context apps.GL_AUTHORIZATION_LIMITS.context%TYPE;
l_date date :=sysdate;
begin
GL_AUTHORIZATION_LIMITS_PKG.Insert_Row(
p_Rowid => l_Rowid,
p_Set_Of_Books_Id => 1001,
p_Employee_Id => 9236,
p_Authorization_Limit => 100,
p_Last_Update_Date => l_date,
p_Last_Updated_By => l_user_id,
p_Creation_Date => l_date,
p_Created_By => l_user_id,
p_Last_Update_Login => l_login,
p_Attribute1 => p_Attribute1,
p_Attribute2 => p_Attribute2,
p_Attribute3 => p_Attribute3,
p_Attribute4 => p_Attribute4,
p_Attribute5 => p_Attribute5,
p_Attribute6 => p_Attribute6,
p_Attribute7 => p_Attribute7,
p_Attribute8 => p_Attribute8,
p_Attribute9 => p_Attribute9,
p_Attribute10 => p_Attribute10,
p_Attribute11 => p_Attribute11,
p_Attribute12 => p_Attribute12,
p_Attribute13 => p_Attribute13,
p_Attribute14 => p_Attribute14,
p_Attribute15 => p_Attribute15,
p_Context => p_Context );
commit;
end;
I am getting the error PLS-00306: wrong number or types of arguments in call to 'INSERT_ROW'.
Please help me with this.
ThanksI have found another way to achieve this. By inserting the data directly to GL_AUTHORIZATION_LIMITS table.
INSERT INTO gl.GL_AUTHORIZATION_LIMITS
(set_of_books_id,employee_id,authorization_limit,CREATION_DATE,CREATED_BY,LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN)
VALUES (1001,p_person_id,1.00,SYSDATE,l_user_id,SYSDATE,l_user_id,l_login); -
Location of iCal Automator Scripts (Plugins?)
AHHHH. Apple you drive me crazy with this stuff!!!
I need to alter an automator script I made for iCal. ... but I can't figure out where these things are stored in my hidden, buried, locked and unalterable system. If I open a iCal set up in Automator, create something new and his save -- where is tha new file hidden! I've looked everywhere!Finally found it. It's under ~/Library/Workflows/
Just in case anybody else runs into this problem. -
Creating ABAP function module in using an automated script
I wish to create very simple ABAP function modules through an automated script. Is there any way I can do this?
[http://code.google.com/p/saplink/]
Greetings,
Blag. -
Trigger automator script when new file created
I want to create an automator script that will recognise when a new file is created (with a name that matches a particular pattern and in a certain directory) and mail that file to a predefined address. Is that possible?
yes, this is possible with a folder action. you can attach a folder action to the folder in question. it will watch this folder for new files and trigger when a new file is added. you can create an automator workflow and save it as a folder action plugin.
Maybe you are looking for
-
New color laserjet pro mfp m177 will not scan or copy
Product is new. The problem is that this unit will not scan or copy. I downloaded the latest drivers, but they would not install completely. I also ran thru some trouble shooting guides on the HP website, but still it doesn't work. It tries to mak
-
Linking Captivate to Excel?
Hi All, We have developed an IT dashboard using Captivate 5.5 where systems are all in individual boxes and either showing as a Red, Amber, Green based on how much capacity is available on them. To update these right now is a manual process each mont
-
One of the teams I support created an four-color academic book in InDesign that has 624 pages. It is broken into 44 chapters, each containing 20-50 footnotes. The book went through the editorial process and was approved. The final file was made into
-
Hi Is Forms & Reports will be available on the market in next years ? What will be the evolution of Forms & Reports with Oracle products ? Will be supported in 2010, 2011 ... ? Regads Moosy
-
Hello, I'm aware you won't do any more upgrade for this tablet so I guess yo uconsider it as a dead product. For me, it's not corresponding to my needs anymore as I'm limited in the number of available apps. However, I'm very interested to use the sc