Move files script
Hello all,
I am having some trouble making a scrip that watches a folder and moves the files from it to another folder once that are finished exporting from Final Cut Server. So far I have:
tell application "Finder"
set newFiles to every file of "/Volumes/exports/Exports/Sorenson In" whose modification date is greater than (get (current date) - (1 * minutes)) and name extension = "mov"
end tell
tell application "Finder"
move newFiles to "/Volumes/exports/Flash Encoding/"
end tell
I will also need to make it loop indefinitely, but my most immediate concern is it returns an error: "Can't get every file of "/Volumes/exports/Exports/Sorenson In"."
Does anyone have any insight into what I am doing wrong?
Thanks,
Paul
I think your logic is wrong.
... whose modification date is greater than (get (current date) - (1 * minutes))
If right now is, say 9:00:00 then you're asking for files whose modification date is greater than 8:59:00 - in other words, files that have been modified in the last minute.
From the sounds of it, you want your script to pause while the files are exported, in which case you want files whose modification date is less than ((get current date) - (1 * minutes)).
The other way of doing this is via a folder action in which case your script is executed whenever a file is moved (or created) in that folder. The advantage here is that you get the actual files that were dropped, so you don't need any special logic to work out which files you need to action.
Similar Messages
-
External Movie File Script Question
I have finally figured out how to load an external .swf into
my flash file. The only problem is that I want to resize the
external movie to fit in a smaller movie container. The movie now
plays in the correct place but wrong size.
Here is my code, I need to know the parameters to force a
resize:
"on (release) {
//load Movie Behavior
if(this.demo == Number(this.demo)){
loadMovieNum("demo.swf",this.demo, w);
this.demo
} else {
this.demo.loadMovie("demo.swf");
//End Behavior
ThanksAdd this:
//scales to 85%
this.demo._xscale = .85;
this.demo._yscale = .85;
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
<--check this
*Must Read*
http://www.smithmediafusion.com/blog
"Tazty" <[email protected]> wrote in message
news:et9qlm$ke2$[email protected]..
>I have finally figured out how to load an external .swf
into my flash file.
> The only problem is that I want to resize the external
movie to fit in a
> smaller movie container. The movie now plays in the
correct place but
> wrong
> size.
>
> Here is my code, I need to know the parameters to force
a resize:
>
>
> "on (release) {
>
> //load Movie Behavior
> if(this.demo == Number(this.demo)){
> loadMovieNum("demo.swf",this.demo, w);
> this.demo
> } else {
> this.demo.loadMovie("demo.swf");
>
> }
> //End Behavior
>
> }"
>
> Thanks
> -
Need help with easy script for open / close app and move files
Hi,
I'm not a scripter.. never done anything special perhaps more complicated than /shutdown -s on cmd..
I actually learned ASCII C language on university but never used it in real.
I'm trying to create a basic script that perhaps you could help me or guide me how to do it..
The commands are
1) Close a running app (end task it or force kill it, I prefer end task it)
2) delete files from x location
3) run .exe app from y location
4) close that running app
5) move files from z to y
Perhaps adding few "wait few seconds" commands in between each, so the apps will launch successfully..
My first question will be whats the easiest script language to do that?
I tried VBScript but couldn't find commands for open or close apps.. also for controlling files..
And what commands can do that? I could google them up for better understanding no need for rough guide
And lastly, does it too hard? If it takes more than hour to make it (learn and process) than it ain't worth it..
Thanks alot ahead!
Jordan.hmm 2 questions:
1) taskkill.exe causing me access deny error.. I used "taskkill.exe /IM softwarename.exe"
how do I get permission or something to fix that?
2) on the "move" command..
First, its a "copy" instead.. but I easily figured that out..
but more important is that I want to copy a folder.. with unknown list of way too long files and sub folders..
and all I see is ability to move a file..
Is this possible?
Thanks -
Move files and create unique name something wrong with my script
Can you see where I might be going wrong here?
Just trying to create a unique name if something exists.
In English.
Move file to the destinationFolder
Item exists in destinationFolder > Move file in the destination folder to the fake Trash > If it exists in fakeTrash too then give it a new name an ending of_a.psd then out it in the trash
Once thats done move start file to the destination folder.
Currently when the file exists in the destination folder and in the trash, I get the prompt then the error
error "System Events got an error: Can’t get disk item \"NN_FR10WW06290PK3LE.psd\"." number -1728 from disk item "NN_FR10WW06290PK3LE.psd"
set fileMatrix to {¬
{folderName:"BHS", prefixes:{"BH", "SM", "AL"}}, ¬
{folderName:"Bu", prefixes:{"BU"}}, ¬
{folderName:"Da", prefixes:{"ES"}}, ¬
{folderName:"Di", prefixes:{"DV"}}, ¬
{folderName:"Do", prefixes:{"DJ", "RA"}}, ¬
{folderName:"In", prefixes:{"GT", "CC"}}, ¬
{folderName:"Fr", prefixes:{"FR"}}, ¬
{folderName:"No", prefixes:{"NN"}}, ¬
{folderName:"Ma", prefixes:{"MA", "MF", "FI", "MC", "MH", "MB"}}, ¬
{folderName:"Pr", prefixes:{"PR"}}, ¬
{folderName:"To", prefixes:{"TM15", "TM11", "TM17"}}, ¬
{folderName:"Wa", prefixes:{"WA"}}, ¬
{folderName:"Se", prefixes:{"SE"}}}
tell application "Finder"
set theHotFolder to folder "Hal 9000:Users:matthew:Pictures:HotFolderDone"
set foldericon to folder "Hal 9000:Users:matthew:Pictures:Icons:Rejected Folder Done"
set fakeTrash to folder "Hal 9000:Users:matthew:FakeTrash"
---here
repeat with matrixItem in fileMatrix -- look for folder
set destinationFolder to (folders of desktop whose name starts with folderName of matrixItem)
if destinationFolder is not {} then -- found one
set destinationFolder to first item of destinationFolder -- only one destination
set theFolderName to name of destinationFolder
repeat with aPrefix in prefixes of matrixItem -- look for files
set theFiles to (files of theHotFolder whose namestarts with aPrefix) as alias list
if theFiles is not {} then repeat with startFile intheFiles -- move files
try
move startFile to destinationFolder
on error
activate
display dialog "File “" & (name ofstartFile) & "” already exists in folder “" & theFolderName & "”. Do you want to replace it?"buttons {"Don't replace", "Replace"} default button 2 with icon 1
if button returned of result is "Stop"then
if (count theLastFolder) is 0 thendelete theLastFolder
return
else if button returned of result is"Replace" then
set fileName to get name ofstartFile
if exists file fileName indestinationFolder then ¬
try
--next line moves existing file to the faketrash
move file fileName of destinationFolder to fakeTrash
move file startFile to destinationFolder
--if it already exists in fake trash give it a new name then move that file to fake trash
on error errmess numbererrnum -- oops (should probably check for a specific error number)
log "Error " & errnum& " moving file: " &errmess
set newName to mygetUniqueName(fileName,fakeTrash)
set name of fileNameto "this is a unique name"-- or whatever
set name of fileNameto newName
--Now move the renamed file to the fake trash
move file fileName to fakeTrash
--now move the startfile to destination folder
move file startFile to destinationFolder
end try
else -- "Don't replace"
if not (exists folder "Hal 9000:Users:matthew:Desktop:Rejected Folder Done") then
set theLastFolder toduplicate foldericonto desktop
else
set theLastFolder to folder"Hal 9000:Users:matthew:Desktop:Rejected Folder Done"
end if
delay 0.5
move startFile to theLastFolder with replacing
end if
end try
end repeat
end repeat
end if
end repeat
try
if (count theLastFolder) is 0 then delete theLastFolder
end try
end tell
to getUniqueName(someFile, someFolder)
check if someFile exists in someFolder, creating a new unique file name (if needed) by adding a suffix
parameters - someFile [mixed]: a source file path
someFolder [mixed]: a folder to check
returns [list]: a unique file name and extension
set {counter, suffixes, divider} to {0, "abcdefghijklmnopqrstuvwxyz", "_"}
set someFile to someFile as text -- System Events will use both Finder and POSIX text
tell application "System Events" to tell disk item someFile to set{theName, theExtension} to {name, name extension}
if theExtension is not "" then set theExtension to "." & theExtension
set theName to text 1 thru -((length of theExtension) + 1) of theName -- just the name part
set newName to theName & theExtension
tell application "System Events" to tell (get name of files of folder(someFolder as text))
repeat while it contains newName
set counter to counter + 1 -- hopefully there aren't more than 26 duplicates (numbers are easier)
set newName to theName & divider & (item counter ofsuffixes) & theExtension
end repeat
end tell
return newName
end getUniqueNameThere are numerous errors in your script, and it's a large script so there might be more, but these are the standouts for me:
At line 48 you:
set fileName to get name of startFile
which is fair enough - you then use this to see if the file already exists in the destinationFolder. However, if it does the logic about how to deal with that is flawed.
At line 56 you catch the error:
on error errmess number errnum -- oops (should probably check for a specific error number)
log "Error " & errnum & " moving file: " & errmess
set newName to my getUniqueName(fileName, fakeTrash)
set name of fileName to "this is a unique name" -- or whatever
set name of fileName to newName
--Now move the renamed file to the fake trash
move file fileName to fakeTrash
--now move the startfile to destination folder
move file startFile to destinationFolder
end try
so let's focus on that.
56: catch the error
57: log the error
58: generate a new unique filename
59: change the name of fileName to some other string
Hang on, wait a minute.... we already ascertained that at line 48 you defined fileName as a string object that indicates the name of the file. This is just a string. It's no longer associated with the original file... it's just a list of characters. Consequently you cannot set the 'name' of a string, hence your script is doomed to fail.
Instead, what I think you want to do is set the name of the startFile to the unique string. Files have filenames, and therefore you can set the name.
You have a similar problem on line 64 where you try to 'move file filename to fakeTrash'. fileName is just a string of characters. It isn't enough to identify a file - let's say the file name is 'some.psd'. You're asking AppleScript to move file some.psd to the trash. The question is which some.psd? The one on the desktop? in your home directory? maybe on the root of the volume? or maybe it should search your drive to find any/all files with that name? nope. None of the above. You can't just reference a file by name without identifying where that file is. So you probably want to 'move file fileName of destinationFolder...'
There may be other problems, but they're likely to be related - all issues with object classes (e.g. files vs. strings), or not being specific about which object you want.
As I said before, though, I might be way off - you don't say where the error is triggered to make it easy to narrow down the problem. Usually AppleScript will highlight the line that triggered an error. Knowing what that line is would help a lot. -
Need a script to move files to folders
Hi guys. I have found a lot of similar threads but not something exactly like what I need.
I have a ton of files that need to be sorted into folders of the same name. I found scripts to help me with that however, I have some variations on the files with an extension to the file name that also need to be moved into the same folders.
For instance, I have a folder named....
spiegal_case_25_video_3
and I have the following files that all need to be moved into that folder....
spiegal_case_25_video_3.mp4
spiegal_case_25_video_3.webmsd.webm
spiegal_case_25_video_3_h.flv
spiegal_case_25_video_3_m.flv
spiegal_case_25_video_3_l.flv
I have found scripts to get me part of the way there but I can't get the FLVs into the folders because of the _h _m and _l extensions on the file names. Is there a way to move these files into their appropriate folders (maybe by ignoring the last 2 characters in the file name?)
I have also found a script that will read everything up to the underscore, but that won't help since the file names have multiple underscores. So I really need a script that can do the sorting while ignoring the last 2 characters in the file name.
Can anyone help me out? I'm not very script savvy.
Thanks!I've tested the following script (under OS X 10.8.5) with 4 subfolders and 20 files, all located in a folder called "Master folder" located in a USB flash drive named "EXT_DRIVE". It seems to work flawlessly. In its present state, the script will replace any file already located in any of the subfolders.
set theMasterFolder to POSIX file "/Volumes/EXT_DRIVE/Master folder"
tell application "Finder"
activate
set theFolders to (folders of folder theMasterFolder) as alias list
repeat with thisFolder in theFolders
set thisName to name of thisFolder
move (files of folder theMasterFolder whose name begins with thisName) to thisFolder with replacing
end repeat
end tell -
Working on a script to search for and move files - need Guru help!
Hi, I'm trying to help my dad with a task and my outdated Applescript knowledge isn't helping me much.
Here's what I need to do in a nutshell:
FolderA contains a bunch of JPG files.
FolderB is the root of a hierarchy of folders containing DNG files.
Each file of FolderA has a mating file (same name but with .DNG) somewhere in the hierarchy of FolderB.
The goal is to move each JPG file from Folder A to the folder containing it's mate.
So, the basic flow is:
1. Get list of files in folderA
2. Looping through list, strip out file name (fileA) and find the DNG file somewhere inside FolderB
3. Get the path of the folder containing the matching DNG file
4. Copy/move FileA to the folder.
5. Loop back to #2
OK, so here's where I am:
tell application "Finder"
set JPEGfolder to "Macintosh HD:DadTest1:DadA"
set DNGfolder to "Macintosh HD:DadTest1:DadB"
set a_list to every file in Afolder
repeat with i from 1 to number of items in a_list
-- Everything happens within this loop
set a_file to (item i of a_list)
set fileInfo to info for a_file
set theName to displayed name of fileInfo as string
-- now theName contains the actual file name minus the extension
At this point I don't know how to search for the mating file using Applescript. If I was in UNIX I could do a "find . -name filename" and parse out the path, but I don't know how this works in Applescript.
I think I can figure out how to move the file once I have the path, but the search routine has me stumped for now.
Any thoughts?
Thanks!In my opinion your best bet is to take a 180° turn and simplify things significantly.
Your current approach involves multiple file searches - for each file in the JPEG folder, search all the DNG folders looking for a match. That's an large number of searches, and a large number of something that AppleScript isn't great at.
Instead you'd be far better off walking once through the DNG folders. For each DNG file look for a matching JPG file in the one folder that contains JPEGs. This would be exponentially faster - one walk through the filesystem vs. one walk through the filesystem for every JPEG.
This should give you an idea of what I'm talking about (untested):
global JPEGfolder
on run
set JPEGfolder to alias "Macintosh HD:DadTest1:DadA"
set DNGfolder to alias "Macintosh HD:DadTest1:DadB"
processAFolder(DNGfolder)
end run
on processAFolder(theFolder)
tell application "Finder"
repeat with eachItem in folder theFolder
if class of eachItem is file and name extension of eachItem is "dng" then
set basename to characters 1 through -5 of (get name of eachItem)
try
move file (basename & ".jpg") of folder JPEGfolder to folder theFolder
end try
else if class of eachItem is folder then
my processAFolder(eachItem)
end if
end repeat
end tell
end processAFolder
The idea here is that you start off in the top folder and iterate through each item. If the item is a file and it's name extension is DNG then try to move a corresponding file from the JPEG folder to the current folder. This is wrapped in a try block so the script doesn't fail if there is no corresponding JPG.
If the current item is a folder then the script descends into that folder by calling itself. -
Writing a shell script to move files
Hello,
I'm trying to write a shell script that will move files from one directory to another at a time specified by me. I've got a similar script attached to an Automator action, which is triggered nightly by iCal.
Of course, this one simply deletes files that are older than a day in a couple of locations. I'd like to have another that MOVES files and folders from one location to another. So far, I've come up with this:
find /Volumes/Location/01/* -type d -or -type f -mtime +7 -exec mv -f /Volumes/Location/01/* /Volumes/Location/02/ ;
Which just about works, but it actually seems to be moving all the files that are LESS than a week old. Any and all suggestions are appreciated, as I'm a total n00b here.find /Volumes/Location/01/*
-type d -or -type f -mtime +7
-exec mv -f /Volumes/Location/01/* /Volumes/Location/02/ ;
Which just about works, but it actually seems to be moving all the files
that are LESS than a week old. Any and all suggestions are appreciated,
as I'm a total n00b here.
your -exec is not selecting the files or directories found by the 'find' command.
It is moving everything in /Volumes/Location/01/*
Looking at "man find", I think you want your -exec to be
-exec /Volumes/Location/01/{} /Volumes/Location/02/ ;
As red_menace has pointed out, you have to change your -type options
so that you select directories or files.
You may also want to include -prune so that you do not decend
into subdirectories.
While the following is untested, I might write the command like this:
find /Volumes/Location/01/*
-prune -mtime +7
( -type d -or -type f )
-exec mv -f /Volumes/Location/01/{} /Volumes/Location/02/ ; -
FTP-File : move file from a folder to another
Hi experts,
Here is the deal :
I have a FTP folder (OS windows) where my files are stored. As I want XI to pick them one by one, I need a way to move them one by one in another folder of the FTP before message processing, folder that will be polled by XI
How can I do that ?
more concretly :
I have 5 files in a folder called Standard, files are named : TEST1_hhmmss.xml, TEST2_hhmmss.xml, etc.
I have another folder, lets say Standard_child that XI scans every 5 minutes. As I want my 5 files to get picked one by one every 5 minutes, I need a way on the FTP before message processing that moves TEST1_hhmmss.xml in folder Standard_child then XI picks up this file, and so on until all files are consumed.
Thanks a lots for any help, ive been struggling for days... so far I tried with a script that renames file before, but did not work on FTP...
Kind regards,
JamalHi
This site may be helpful
http://www.computing.net/answers/programming/batch-to-move-file-by-sysdate/14939.html
you can check the net for more answers
1) make a logic & ensure that ur script works fine in your sender system (where all files will be placed)
2) you can try it urself if you have access to the systems command prompt
3) use scheduler, of your sender system (you said it is windows) you can check help to see how you can schedule programs - there call your script.
4) now your script will send the files to child folder one by one as per your logic, which can be picked by XI
Regards
Vishnu -
Quicktime error -2048 when trying to play.mov files.
I have been frustrated this weekend trying to find a solution to a problem that has only recently occurred accessing some digitised VCR tapes that had been archived on an external HDD. These are files that played back fine on my Quicksilver after I had recorded them, but now give a "Movie Not Available" message in Quicktime. However when opened in VLC I get a debug message box with the following information posted below. Any clues as to what might be the problem?
I recorded the files from my VCR using an ADVC-100 DA converter over firewire into BTV Pro which created .mov files (DV-PAL). When I try to open the files in BTV Pro, I get a message box "There was an error opening the movie. No Movie found. Error code 20,-2048" Did a search for this error and -2048 appears to be a Quicktime error, so am wondering if there is a problem with my installation of Quicktime. I have got all the usual suspects in stalled, Flip4Mac, Perian, VLC. Mpeg Streamclip but can't get the file to open. The external HDD is Mac formatted but I found some info about problems with missing resource forks in older .mov files causing problems if copied to NTFS HDD's.
Any ideas as to where to look next will be appreciated.
+main debug: CPU has capabilities AltiVec FPU+
+main debug: looking for memcpy module: 2 candidates+
+main debug: using memcpy module "memcpyaltivec"+
+main debug: thread started+
+main debug: thread 26421248 (Interaction control) created at priority 0 (../../src/interface/interaction.c:382)+
+main debug: Creating an input for 'Media Library'+
+main debug: Input is a meta file: disabling unneeded options+
+main debug: `file/xspf-open:///Users/irdesigns/Library/Preferences/VLC/ml.xspf' gives access `file' demux `xspf-open' path `/Users/irdesigns/Library/Preferences/VLC/ml.xspf'+
+main debug: creating access 'file' path='/Users/irdesigns/Library/Preferences/VLC/ml.xspf'+
+main debug: looking for access module: 3 candidates+
+access_file debug: opening file `/Users/irdesigns/Library/Preferences/VLC/ml.xspf'+
+main debug: using access module "access_file"+
+main debug: TIMER module_Need() : 26.549 ms - Total 26.549 ms / 1 intvls (Avg 26.549 ms)+
+main debug: Using AStream*Stream+
+main debug: pre-buffering...+
+main debug: received first data for our buffer+
+main debug: creating demux: access='file' demux='xspf-open' path='/Users/irdesigns/Library/Preferences/VLC/ml.xspf'+
+main debug: looking for demux module: 1 candidate+
+playlist debug: using XSPF playlist reader+
+main debug: using demux module "playlist"+
+main debug: TIMER module_Need() : 19.485 ms - Total 19.485 ms / 1 intvls (Avg 19.485 ms)+
+main debug: `file/xspf-open:///Users/irdesigns/Library/Preferences/VLC/ml.xspf' successfully opened+
+main debug: looking for xml module: 2 candidates+
+main debug: using xml module "xml"+
+main debug: TIMER module_Need() : 99.281 ms - Total 99.281 ms / 1 intvls (Avg 99.281 ms)+
+playlist debug: parsed 0 tracks successfully+
+main debug: removing module "xml"+
+main debug: EOF reached+
+main debug: control type=1+
+main debug: removing module "playlist"+
+main debug: removing module "access_file"+
+main debug: TIMER input launching for 'Media Library' : 71.406 ms - Total 71.406 ms / 1 intvls (Avg 71.406 ms)+
+main debug: thread started+
+main debug: waiting for thread initialization+
+main debug: thread 25213440 (preparser) created at priority 0 (../../src/playlist/thread.c:79)+
+main debug: thread started+
+main debug: waiting for thread initialization+
+main debug: thread 26413056 (fetcher) created at priority 0 (../../src/playlist/thread.c:108)+
+main debug: thread started+
+main debug: waiting for thread initialization+
+main debug: rebuilding array of current - root Playlist+
+main debug: rebuild done - 0 items, index -1+
+main debug: thread 26417152 (playlist) created at priority 0 (../../src/playlist/thread.c:117)+
+main debug: looking for interface module: 1 candidate+
+main debug: using interface module "hotkeys"+
+main debug: TIMER module_Need() : 48.316 ms - Total 48.316 ms / 1 intvls (Avg 48.316 ms)+
+main debug: thread started+
+main debug: thread 25212416 (interface) created at priority 0 (../../src/interface/interface.c:168)+
+main debug: looking for interface module: 17 candidates+
+main debug: using interface module "signals"+
+main debug: TIMER module_Need() : 34.354 ms - Total 34.354 ms / 1 intvls (Avg 34.354 ms)+
+main debug: thread started+
+main debug: thread 26470400 (interface) created at priority 0 (../../src/interface/interface.c:168)+
+main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.+
+main debug: looking for interface module: 4 candidates+
+main debug: using interface module "macosx"+
+main debug: TIMER module_Need() : 511.368 ms - Total 511.368 ms / 1 intvls (Avg 511.368 ms)+
+main debug: thread started+
+main debug: thread 26482176 (interface) created at priority 0 (../../src/interface/interface.c:148)+
+main debug: no fetch required for Playlist (art currently (null))+
+main debug: adding item `testing.mov' ( /Volumes/IR My Book/BTV Videos ƒ/testing.mov )+
+main debug: rebuilding array of current - root Playlist+
+main debug: rebuild done - 1 items, index -1+
+main debug: starting new item+
+main debug: processing request item testing.mov node Playlist skip 0+
+main debug: resyncing on testing.mov+
+main debug: testing.mov is at 0+
+main debug: creating new input thread+
+main debug: Creating an input for 'testing.mov'+
+main debug: waiting for thread initialization+
+main debug: thread started+
+main debug: thread 26771456 (input) created at priority 22 (../../src/input/input.c:370)+
+main debug: `/Volumes/IR My Book/BTV Videos ƒ/testing.mov' gives access `' demux `' path `/Volumes/IR My Book/BTV Videos ƒ/testing.mov'+
+main debug: creating demux: access='' demux='' path='/Volumes/IR My Book/BTV Videos ƒ/testing.mov'+
+main debug: looking for access_demux module: 2 candidates+
+main debug: no fetch required for Playlist (art currently (null))+
+macosx debug: input has changed, refreshing interface+
+macosx debug: notification received in VLC with name VLCOSXGUIInit and object VLCEyeTVSupport+
+main debug: no fetch required for Playlist (art currently (null))+
+main debug: TIMER module_Need() : 1288.828 ms - Total 1288.828 ms / 1 intvls (Avg 1288.828 ms)+
+main debug: creating access '' path='/Volumes/IR My Book/BTV Videos ƒ/testing.mov'+
+main debug: looking for access module: 8 candidates+
+vcd debug: trying .cue file: /Volumes/IR My Book/BTV Videos ƒ/testing.cue+
+vcd debug: could not find .cue file+
+access_file debug: opening file `/Volumes/IR My Book/BTV Videos ƒ/testing.mov'+
+main debug: using access module "access_file"+
+main debug: TIMER module_Need() : 110.747 ms - Total 110.747 ms / 1 intvls (Avg 110.747 ms)+
+main debug: Using AStream*Stream+
+main debug: pre-buffering...+
+main debug: received first data for our buffer+
+main debug: pre-buffering done 1408981 bytes in 0s - 9031 kbytes/s+
+main debug: creating demux: access='' demux='' path='/Volumes/IR My Book/BTV Videos ƒ/testing.mov'+
+main debug: looking for demux module: 59 candidates+
+mp4 debug: found Box: mdat size 32+
+mp4 debug: skip box: "mdat"+
+mp4 debug: found Box: mdat size 18891508192+
+mp4 debug: skip box: "mdat"+
+mp4 debug: dumping root Box "root"+
+mp4 debug: | + mdat size 32+
+mp4 debug: | + mdat size 1711639008+
+mp4 debug: file type box missing (assuming ISO Media file)+
+mp4 error: MP4 plugin discarded (no moov box)+
+avformat debug: detected format: mov,mp4,m4a,3gp,3g2,mj2+
+avformat error: avopen_inputstream failed+
+lua debug: Trying Lua scripts in /Users/irdesigns/Library/Preferences/VLC/lua/playlist+
+lua debug: Trying Lua scripts in /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/anevia_streams.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/appletrailers.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/bbccouk.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/break.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/canalplus.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/cue.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/dailymotion.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/france2.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/googlevideo.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/joox.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/koreus.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/lelombrik.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/megavideo.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/metacafe.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/youtube.lua+
+lua debug: Trying Lua playlist script /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/lua/playlist/youtube_homepage.lua+
+lua debug: Trying Lua scripts in /Applications/VLC ƒ/VLC.app/Contents/MacOS/share/share/lua/playlist+
+ps error: cannot peek+
+vobsub debug: could not read vobsub IDX file+
+dummy error: unknown command `/Volumes/IR My Book/BTV Videos ƒ/testing.mov'+
+subtitle debug: subtitle demux discarded+
+main warning: no demux module matching "mp4" could be loaded+
+main debug: TIMER module_Need() : 1954.294 ms - Total 1954.294 ms / 1 intvls (Avg 1954.294 ms)+
+main error: no suitable demux module for `/:///Volumes/IR My Book/BTV Videos ƒ/testing.mov'+
+main debug: finished input+
+main debug: dying input+
+main debug: removing module "access_file"+
+main debug: thread ended+
+macosx debug: input has stopped, refreshing interface+
+macosx debug: addition to non-blocking error panel received+
+main debug: dead input+
+main debug: thread 26771456 joined (../../src/playlist/engine.c:244)+
+main debug: TIMER input launching for 'testing.mov' : 3573.150 ms - Total 3573.150 ms / 1 intvls (Avg 3573.150 ms)+
+main debug: starting new item+
+main debug: changing item without a request (current 0/1)+
+main debug: nothing to play+
+main debug: no fetch required for Playlist (art currently (null))+Well it used to work fine so I think so. When I try and run the installer you linked to I get a message saying that a later version is already installed- isn't it built into the latest QT releases? One thing I thought of- the original files I think were made on a mac so there were some resource fork files of 4K size. I deleted these as I kept trying to open them by mistake, but then after this trouble I dragged them back out the trash to the original location but it didn't fix the problem- could that have caused some sort of association problem?
-
I'm editing ppts in Keynote exporting back to PPTs and loosing "hyperlinks" to movie files
I'm editing ppts in Keynote but have to use them as exported ppts to teach college in a Windows-PC environment
Keynote 5.3
MacPro OSX 10.75
SUBJECT:
Loss of ppt function after opening in keynote then exporting as ppt
Educational ppts (Powerpoints) from Pearson play movies using PowerPoint or Powerpoint Viewer via a button located on some slides if the movies are located in the same folder as the ppt.
If I open such a ppt in keynote and immediately export it as a ppt, the ability to play the movie is lost; the click on the button just advances the slide instead.
Is there a preference in Keynote that might be set differently to prevent this behavior and allow playing of the movie from within the Powerrpoint application.
Note that the size of the file (via Get Info) is exactly the same after exporting the ppt FROM Keynote 5.3
-Dan
[email protected]Thank you Gary,
I did just that last night;
Select the graphic object ("Play" Btn").
Open the Powerpoint "tools" floating pallet wd.
Open the "Hyperlink" 'tab'
select 'link to file'
then browse (open finder wd) to find and select the movie file.
Click "Open" and a powerpoint function returns the full path to the file and associates it with the "mouseUp" msg handler within the script of the "Play" Btn, which I expect essentially sends a doubleClick to the movie file ( ie. opens it) and it will then play in a new window from within some other application like Quicktime or Media Player if that other application exists on your computer. (I'm getting a (sandbox?) dialogue window first, telling me, asking me something) that needs to be dealt with. I'm using Powerpoint for Mac and OSX 10.7.5.
(I expect that will not occur using a PC and some version of Windoz in the PC ed conference room environment or using emulated Windoz 7 within the Parallels 8 application on the MacPro, but I have not tried that since I only have the Powerpoint viewer installed in that Windoz 7 system as of the moment.
I've never really used Powerpoint or Keynote until recently because I have used my own presentation application created in Supercard which of course is much more flexible; from the ability to utilze windows of any kind or number on any slide, to all the power of unix via shell scripts and a huge set of functions native to the Supercard suite of stable developement tools.
Any suggestions how best to integrate movies into straight Keynote presentations ?
Thank you again Gary,
-Dan -
Dear all,
I need to convert a movie file (MOV format) to an audio-only file (MP3 format). I've followed the tutorial on:
http://www.mango-design.net/2009/03/mac-converting-mov-files-to-mp3/
I believed it was very simple as explained in the document but instead I have 2 problems:
1) I haven't the 'Script Editor/Make New AppleScript' function under the 'services' menu (point 3 in the document). Can anyone tell me how can I add that menu?
2) Anyway, when I run the script directly with AppleScript Editor (point 1 in the document) I receive the following error:
"Expected end of line but found number."
I tried to solve the problem (I supposed It was simple, really not) in different ways without success.
I run on 10.6.2.
Could anyone help me?
Thank you in advance,
--Carlo
AppleScript:
set saveRef to (choose file name with prompt "Save audio track as AIFF" default name "untitled.aiff")
tell application "QuickTime Player"
export movie 1 to saveRef as AIFF
----------Hi Oriolo,
You must [install QuickTime Player 7|http://support.apple.com/kb/HT3678?viewlocale=en_US] and use it to run your script, as follows:
*set saveRef to (choose file name with prompt "Save audio track as AIFF" default name "untitled.aiff")*
*tell application "QuickTime Player 7"*
*export document 1 to saveRef as AIFF*
*end tell* -
Move files from one folder to another javascript?
I am running a 3-action droplet automatically using windows task scheduler. Here are the 3 steps:
1. Batch file to move files from hot folder to processing folder
2. Run IPP (dr brown's image processor pro) using preloaded settings to make several sizes copies of the files.
3. Bat file to move the files from processing folder to archive folder.
The problem I am observing is that Step 1 works and IPP begins to run. It only processes the first few images, and then moves on to the 3rd step where the bat file is ran to move all files from processing folder to archive folder. The trouble is, only a few images were processes (about 10 or so), yet all of the images get moved to the archive without being processed. Is there a way to make sure that step 2 (IPP) doesn’t begin until all files have successfully been moved from the hot folder to the processing folder? IPP starts right away and files are still being transferred to the processing folder.
Does anyone have a script that will move files from one folder to another?I'm sure I have see a way to close down Photoshop in a Photoshop script. I never had the need to. It may be a simple statement like app.close(); I don't know javascript and only hack Photoshop script mostly by looking at others code. app.close(); is a guess on my part. Let me try it. I was wrong its photoshop.quit();
So make your MoveToArchive.jsx look something like this
try{
var BAT = new File(Folder.temp + "/MoveFilesToArchive.bat");
BAT.open("w");
BAT.writeln('Copy /Y "c:\\Process\\*.jpg" "c:\\Archive\\*.*"');
BAT.writeln('Del "c:\Process\\*.jpg"');
BAT.close();
BAT.execute(); // execute the temp bat file
}catch(e){
alert("Bat MoveFilesToArchive failed to execute.");
photoshop.quit(); -
Can a .mov file be recovered if the record was accidentally shut down from loss of power? i was recording from the AJA Pro Ki when we lost power, the file is there but it wont play and comes up with the message, "The document “SC1ATK63.mov” could not be opened. The movie is not in a format that QuickTime Player understands."
Hi,
Troubleshooting a start up script can be difficult. There are some third party programs that also keep logs of start up programs, however for Firefox this may be different.
Is Firefox a startup program? [http://www.winxptutor.com/msinfo32.htm]
Its also possible to check the Web developer tools for any scripts in a page: [https://developer.mozilla.org/en-US/docs/Tools/Debugger]
In the control panel there is also Administrative tools to view event logs, but this may be something a local technician can walk you through. -
Get 'Generic Error' when attempting to import .mov files with transparency?
I get the 'Generic Error' when attempting to import .mov files with transparency? I'm trying to use mattes with an alpha channel but I cannot import them. I have had this same issue since cs6, now I have it with cc 2014? Any clues would be most appreciated.
I have uninstalled the DVCPro Codec, but it didn't help.
I have tried converting the .mov file (which is now automatic in Yosemite) and this creates a ProRes4444 Codec, Again no luck with import.
I've seen this issue on the web, but never a solution? Anyone?Hi Terence,
I tried iPhoto Library Manager but it could not solve my problem. Opening the iPhoto library I can see that the reference to the pictures are pointing to my old location not to the new one. I considered running a script that would change all pointers since this is basically what is needed (in my case from /Volumes/RAID1/Fotos/XXX to /Volumes/Fotos/XXX). Instead I inserted a soft unix link to make to connection but that did not work. It is referring to the airport disk by the airport name rather than the mounted disk name. Very strange indeed. The problem is maybe not in iPhoto but in OSX? Anyway, maybe the only way out is to take some hours and manually run through all linked photos... cumbersome and annoying!
Regards,
Søren -
How to embad a movie file in jsp page.
I want to run a movie file in my jsp page.
please provide the code how to do this.
thanks
uttamHi,
so what source address of js file i have to give in jsp page.....in your case you can use below include command
<jsp:include page="script/test.js" /> // here test.js is your .js file nameGenerally we need to place all jsp and js files under "jdevhome\jdev\myhtml\OA_HTML". In this case you can use
<jsp:include page="test.js" /> // here test.js is your .js file nameor
<%@include file="test.js" %> // here test.js is your .js file nameregards,
Anand
Maybe you are looking for
-
Apps bought with old apple id? I cant update app as ID is no longer in use?
I have an old apple account that alot of my apps were bought on. I didnt use this id for a couple of months and now it is no longer a registerd ID, even though I did not delete it I have a new ID now but my problem is that when I try and update or bu
-
Hi there :-) I read a lot of scanned text from my teacher as a part of my study. According to manuals, I should be able to highlight text - but It's not working. Is it because the text is a scan? does it only work with text document files that are co
-
Outlook 2007 Calendar Reminders Still Making Sound on IPhone
I recently got an Iphone, and synch to my Outlook 2007 calendar. Although I set the Calendar Reminder (can't remember exactly what it's called) in the iphone 'Settings' to 'Off', my iphone still makes a sound when a reminder is generated by Outlook.
-
Can the 100% browser width function be used in non-master pages?
Can the 100% browser width function be used in non-master pages? I watched the video about pulling it to the red edges, and did that on some of my parent pages, but when I preview the page in browser, it doesn't work. I can still see my browser edges
-
Key Figures in navigation pane
To all: I am running bi7.0(nw2004s) sps11. I am building a report in the web query designer. Is it possible to have the key figures (restricted & calculated) show up in the navigation pane of a query in the wad or query designer? For instance, I ha