Replace multiple files
Hey folks, is there a way to batch replace multiple files within AE CC? Or would this require a script?
I have around 100 or 150 precomps that I need to replace with png image sequences.
Thanks for your tips!
ML
Don't know but i'd really love this new feature in futur update
Similar Messages
-
How to replace multiple files in same location Indesign CS6
Hi everyone please help me with this challenge if you are avialable it will be greatly appreciated!
Ok I have a spread of about 60 pages in indesign. I created a template where I have differnt PDFs in each section. I have 3 different PDFs per page totalling about 180 different PDF docs in my in design file. Every week I have to go in to replace those PDFs with the new ones. They have to be in the exact same place and sized the same way since they are setup to print on one of our printers. In indeesign CS3 I would just do Command D and then I would select all 180 PDF documents. It would import all of them and I would just click on each area of the PDF holding down "Option" and it would automatically size the PDF to fit in the same way the previous PDF was. Basically just replacing it. I did this for all 180 relatively simple. Now that feature is gone! I can't for hte life of me figure out how to do this. I've tried everything and it's not working.
Can any one help me?Make Object style to your frames and setting the Frame Fitting Options>Fitting
Also try: tomaxxiPlace2 script, i test it with indesign cs6 and it work fine.
http://indisnip.wordpress.com/2011/01/13/script-tomaxxiplace2/#more-960 -
Find and replace with multiple files and with a watch folder
I am trying to create a watch folder that uses red_menace script to:
1. Have a folder that receives multiple xml files that run the script one by one.
2. then move the files to an output folder.
I tried modifying the set TheFIle to choose file -- the original text file to:
with multiple selections allowed
But that doesn't seem to work. I know i'm missing a step. Any help is much appreciated!
Thanks!
The way i'd like to setup things is having an input folder on the desktop (or just have the application on the desktop and I can drag the files onto it), and let it do it's thing. Once it's done have it export the xml files into an output folder.
Here's what i got so far:
on open
set TheFIle to choose file -- the original text file
set TheFolder to ("Macintosh HD:Users:user1:Desktop:out") -- the folder for the output file
set TheName to (GetUniqueName for TheFIle from TheFolder) -- the name for the output file
set TheText to read TheFIle -- get the text to edit
set Originals to {"KPCALDATE", "KPCALEVENT", "KPCALDAY", "KPCALBODY", "obituaries name", "" & return & "</cstyle></pstyle>" & return & "<pstyle name=\"obituaries text\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>", " .com", " .net", " .org", " .edu", "www .", "www. ", "Ho- nolulu", "<pstyle name=\"kicker 12\"><cstyle allcaps=\"1\">fashion news</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "<component name=\"Headline 1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline 1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 36\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>-", "-", "
Per serving:", "<pstyle name=\"Titlebar - mini, red\"><cstyle allcaps=\"1\">NATION & World </cstyle><cstyle allcaps=\"1\">Report</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "</cstyle></pstyle>"} -- the terms that can be replaced
set Replacements to {"subhed", "subhed", "subhed", "Normal", "obituaries text", ", ", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>
", ".com", ".net", ".org", ".edu", "www.", "www.", "Honolulu", "", "<component name=\"Headline1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 27\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>", " ", "
Per serving:", "","" & return & "</cstyle></pstyle>"} -- the replacement terms
repeat with AnItem from 1 to count Originals
set TheText to (replaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
end repeat
try -- write a new output file
tell application "Finder" to make new file at TheFolder with properties {name:TheName}
set OpenFile to open for access (result as alias) with write permission
write TheText to OpenFile starting at eof
close access OpenFile
on error errmess
try
log errmess
close access OpenFile
end try
end try
end open
to GetUniqueName for SomeFile from SomeFolder
check if SomeFile exists in SomeFolder, creating a new unique name if needed
parameters - SomeFile [mixed]: a source file path
SomeFolder [mixed]: a folder to check
returns [text]: a unique file name and extension
set {Counter, Divider} to {"00", "_"}
-- get the name and extension
set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
if TheExtension is missing value then set TheExtension to ""
set TheName to text 1 thru -((count TheExtension) + 2) of TheName
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 text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
set NewName to TheName & Divider & Counter & "." & TheExtension
end repeat
end tell
return NewName
end GetUniqueName
to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
displays a dialog for multiple item edit (note that a return is used between each edit item)
for each of the items in SomeItems, a line containing it's text is placed in the edit box
the number of items returned are padded or truncated to match the number of items in SomeItems
parameters - SomeItems [list]: a list of text items to edit
TheTitle [boolean/text]: use a default or the given dialog title
ThePrompt [boolean/text]: use a default or the given prompt text
returns [list]: a list of the edited items, or {} if error
set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
if TheCount is less than 1 then return {} -- error
if ThePrompt is in {true, false} then -- "with" or "without" Prompt
if ThePrompt then
set ThePrompt to "Edit the following items:" & return -- default
else
set ThePrompt to ""
end if
else -- fix up the given prompt a little
set ThePrompt to ThePrompt & return
end if
if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
set TheTitle to "Multiple Edit Dialog" -- default
else
set TheTitle to ""
end if
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
repeat with AnItem from 1 to TheCount -- pad/truncate entered items
try
set the end of TheItems to (item AnItem of TheInput)
on error
set the end of TheItems to ""
end try
end repeat
return TheItems
end EditItems
to replaceText of SomeText from OldItem to NewItem
replace all occurances of OldItem with NewItem
parameters - SomeText [text]: the text containing the item(s) to change
OldItem [text]: the item to be replaced
NewItem [text]: the item to replace with
returns [text]: the text with the item(s) replaced
set SomeText to SomeText as Unicode text -- TID's are case insensitive with Unicode text
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
return SomeText
end replaceText
Message was edited by: gamebreakersWhen you use the open or adding folder items to handlers, you need to add the parameters for the file items passed to them.
I'll go ahead and post the applet/droplet version of my original script from the previous topic for reference:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px; height: 340px;
color: #000000;
background-color: #FFEE80;
overflow: auto;"
title="this text can be pasted into the Script Editor">
-- search and replace multiple items applet/droplet/folder action
-- the terms to replace - edit as needed
property EditableItems : {¬
"one", ¬
"two", ¬
"three", ¬
"four", ¬
"five", ¬
"six", ¬
"seven", ¬
"eight", ¬
"nine", ¬
"ten", ¬
"eleven", ¬
"twelve", ¬
"thirteen", ¬
"fourteen", ¬
"fifteen", ¬
"sixteen", ¬
"seventeen", ¬
"eighteen", ¬
"nineteen", ¬
"twenty"}
-- the folder for the output file(s) - change as needed
property TheFolder : (path to desktop)
property LastEditItems : EditableItems
on run
the applet/droplet was double-clicked
open (choose file with multiple selections allowed)
end run
on open TheItems
items were dropped onto the applet/droplet
parameters - TheItems [list]: a list of the items (aliases) dropped
returns nothing
repeat with AnItem in TheItems
ReplaceMultipleItems from AnItem
end repeat
end open
on adding folder items to this_folder after receiving these_items
folder action - items were added to a folder
parameters - this_folder [alias]: the folder added to
these_items [list]: a list if items (aliases) added
returns nothing
repeat with AnItem in these_items
ReplaceMultipleItems from AnItem
end repeat
end adding folder items to
to ReplaceMultipleItems from SomeFile
replace multiple text items in SomeFile
parameters - SomeFile [alias]: the file to replace items in
returns nothing
set TheName to (GetUniqueName for SomeFile from TheFolder) -- the name for the output file
set TheText to read SomeFile -- get the text to edit
set Originals to (choose from list EditableItems default items LastEditItems with prompt "Select the terms to replace:" with multiple selections allowed) -- the specific terms to replace
set LastEditItems to Originals
set Replacements to (EditItems of Originals with Title given Prompt:"Edit the following replacement terms:") -- the replacement terms
repeat with AnItem from 1 to count Originals
set TheText to (ReplaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
end repeat
try -- write a new output file
tell application "Finder" to make new file at TheFolder with properties {name:TheName}
set OpenFile to open for access (result as alias) with write permission
write TheText to OpenFile starting at eof
close access OpenFile
on error errmess
try
log errmess
close access OpenFile
end try
end try
end ReplaceMultipleItems
to GetUniqueName for SomeFile from SomeFolder
check if SomeFile exists in SomeFolder, creating a new unique name if needed
parameters - SomeFile [mixed]: a source file path
SomeFolder [mixed]: a folder to check
returns [text]: a unique file name and extension
set {Counter, Divider} to {"00", "_"}
-- get the name and extension
set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
if TheExtension is in {missing value, ""} then
set TheExtension to ""
else
set TheExtension to "." & TheExtension
end if
set {NewName, TheExtension} to {TheName, (ChangeCase of TheExtension to "upper")}
set TheName to text 1 thru -((count TheExtension) + 1) of TheName
tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
repeat while it contains NewName
set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
set NewName to TheName & Divider & Counter & TheExtension
end repeat
end tell
return NewName
end GetUniqueName
to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
displays a dialog for multiple item edit (note that a return is used between each edit item)
for each of the items in SomeItems, a line containing it's text is placed in the edit box
the number of items returned are padded or truncated to match the number of items in SomeItems
parameters - SomeItems [list]: a list of text items to edit
TheTitle [boolean/text]: use a default or the given dialog title
ThePrompt [boolean/text]: use a default or the given prompt text
returns [list]: a list of the edited items, or {} if error
set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
if TheCount is less than 1 then return {} -- error
if ThePrompt is in {true, false} then -- "with" or "without" Prompt
if ThePrompt then
set ThePrompt to "Edit the following items:" & return -- default
else
set ThePrompt to ""
end if
else -- fix up the given prompt a little
set ThePrompt to ThePrompt & return
end if
if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
set TheTitle to "Multiple Edit Dialog" -- default
else
set TheTitle to ""
end if
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
repeat with AnItem from 1 to TheCount -- pad/truncate entered items
try
set the end of TheItems to (item AnItem of TheInput)
on error
set the end of TheItems to ""
end try
end repeat
return TheItems
end EditItems
to ReplaceText of SomeText from OldItem to NewItem
replace all occurances of OldItem with NewItem
parameters - SomeText [text]: the text containing the item(s) to change
OldItem [text]: the item to be replaced
NewItem [text]: the item to replace with
returns [text]: the text with the item(s) replaced
set SomeText to SomeText as text
if SomeText contains OldItem then
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
try
set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
on error ErrorMessage number ErrorNumber -- oops
set AppleScript's text item delimiters to TempTID
error ErrorMessage number ErrorNumber
end try
end if
return SomeText
end ReplaceText
to ChangeCase of SomeText to CaseType
changes the case or capitalization of SomeText to the specified CaseType using Python
parameters - SomeText [text]: the text to change
CaseType [text]: the type of case desired:
"upper" = all uppercase text
"lower" = all lowercase text
"title" = uppercase character at start of each word, otherwise lowercase
"capitalize" = capitalize the first character of the text, otherwise lowercase
returns [text]: the changed text
set SomeText to SomeText as text
if CaseType is not in {"upper", "lower", "title", "capitalize"} then return SomeText
return (do shell script "/usr/bin/python -c \"import sys; print unicode(sys.argv[1], 'utf8')." & CaseType & "().encode('utf8')\" " & quoted form of SomeText)
end ChangeCase
</pre>
Edit: how does the choose from list dialog handle those big strings? I'm guessing not very well - is that why you avoided using them?
Message was edited by: red_menace -
Multiple file search and replace
Does anyone know if it is possible to do search / replaces in script, text etc over multiple files? If not, is there any 3rd party software available to do it?
I have hundreds of files I have to make the same change in and just wanted to find out before I have to do the mind-numbing process of going through them all.
Any help will be greatly appreciated!Depending upon what type of files and what kind of changes you need to make, sure you can. You can do a google search for 'binary search and replace'; here's one of the first results, which searches for and replaces strings in multiple text and/or binary files:
http://gnuwin32.sourceforge.net/packages/gsar.htm -
How ATTACH multiple files from different folders in one ATTACH 'session'?
Hi,
In Mac Mail, I often have to attach 2 or 3 separate files, all from different folder locations on my hard drive.
This requires clicking attach, selecting file 1 and clicking OK, which closes the Attach dialog.
Then I have to do it again 2 times for each other file. oy.
Is there a way to Highlight multiple files in different directories (ala Command-Select...which doesn't work) before selecting OK?
OR
I've found that I can DRAG a file from the Attach dialog into the email and the dialog will remain open, only the file is HIGHLIGHTED in the email and , hence, gets replaced by the next file I drag into the email (or select by the normal method)....
Is there a way to drag that file#1 into the email and have it NOT remain highlighted, so that I can pick another file to add in addition to that one?
Thanks!ShizzleFizzle wrote:
Is there a way to Highlight multiple files in different directories (ala Command-Select...which doesn't work) before selecting OK?
Have you tried dragging files from Finder windows into the mail message window? -
Load multiple files using the same data load location
has anybody tried loading multiple files using the same load locations. I need to do this as the data in these multiple files will need to be exported from FDM as a single export file. the problem i am facing is more user related. since these files will be received at different points of time, users will need a way to tell them what has been loaded and what is yet to be loaded.
is it possible to throw a window on the web broser with OK and Cancel buttons from an event script?
any pointers to possible solutions will be helpfulwas able to resolve this. the implementation method is as follows
take a back up of previously imported data in the befcleardata event script. then in the beffileimport event append the data to the import file. there are many other intricacies but this is the broad implementation logic. it allowed my users to load multiple files without worrying about append or replace import type choices -
Hi All,
I have designed an APEX application to download multiple files. I have check box in each row of the file name and a download button.
When the users checks set of checkboxes and click on the "Download" Button, i am expecting the marked files to be downloaded. I am encountering the below issues in this implementation(i.e single file download is fine):
1. When ticks all the check boxes and click download, the files are never downloading. The target URL goes something like this :
www.example.com/abc/bcd/wwv_flow.accept
and there is a cross icon in the new page. No download happening.
2. When ticks few files and leave rest of the files un-checked, there are either junk charactes in target page (or) only the last checked box file alone downloading.
Please refer the code below and advice. Thanks very much in advance.
Code:
=====
declare
check_box_val varchar2(500):=' ';
file_name varchar2(500):=' ';
begin
for i in 1..htmldb_application.g_f01.count
loop
check_box_val:=nvl(htmldb_application.g_f02(i),' ');
if(check_box_val<>' ') then
sho_pdf(check_box_val);
end if;
end loop;
exception
when others then
null;
end;
sho_pdf.sql
========
CREATE OR REPLACE PROCEDURE FDM_UAT14.sho_pdf(p_file in varchar2)
AS
l_blob BLOB;
l_bfile BFILE;
BEGIN
DBMS_LOB.createtemporary (l_blob, TRUE, DBMS_LOB.SESSION);
l_bfile := BFILENAME ('UPDOWNFILES_DIR', p_file);
DBMS_LOB.fileopen (l_bfile);
DBMS_LOB.loadfromfile (l_blob, l_bfile, DBMS_LOB.getlength (l_bfile));
DBMS_LOB.fileclose (l_bfile);
OWA_UTIL.mime_header ('application/octet',
bclose_header => FALSE);
HTP.p ('Content-length: ' || DBMS_LOB.getlength (l_blob));
HTP.p( 'Content-Disposition: filename="' || p_file || '"' );
OWA_UTIL.http_header_close;
WPG_DOCLOAD.download_file (l_blob);
DBMS_LOB.freetemporary (l_blob);
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
/I have read that "patch number 8548651" need to be applied in order to download multiple files in Single Page. Is it true? Pls refer this page :
http://dgielis.blogspot.com/2010/01/oracle-application-express-patch-set.html
8555172 -- BLOB download links are incorrect when multiple file items referenced on a page. -
Email notification to specific user when processing multiple files at a time
Hi
I am new to SSIS and error mail notification ,can some please provide details for my urgent and prioritized task in my project.
below is the requirement
I have a package for multiple file processing using for each file enumerator .each file having same column definition but for different
users and different name .
i have some mandatory fields to form unique id on combination
1.when files processing any data missed on mandatory fields it should alert users saying following line and fields are missing mandatory
information
2.email notification should send to respective users based on file name.
example :
file1:bitunimous.xls
file 2.oxford.xls
each file having following fields
file 1:bitunimous.xls
claim no: claimant: subclaim:
1001 abc 0
1002 abc 1
1002 abe 0
1004 0
here bitunimous.xls missed claimant value for 4th line then email needs to send to [email protected] as
line no 4 missed claimant information for unique key generation like that.
file 2.oxford.xls
claim no: claimant: subclaim:
2001 det 0
2002 pre 1
pqr 0
2004 frc
here oxford.xls missed claimno value for 3rd line then email needs to send to [email protected] as
line no 3 missed claimno information for unique key generation like that.
can anybody please provide solution
Thanks .
AmbedYou need to have a package with below work flow
1. ForEachLoop container with file enumerator to loop through files
Have variable inside loop to get the filename during each iteration. Create another variable called emailaddress, set EvaluateAsExpression property to true and set expression as
REPLACE(@[User::FileName],".xls","") + (DT_STR,20,1252) "@xyx.com"
2. Add tasks for validating data. Capture details of error on a string variable @[User::Error]
3. link a sent mail task to previous task and choose expression and constraint option. Set Constraint as On Completion and Expression as LEN(@Error) > 0
Inside Sent mail task set expression for ToLine and MessageSource properties to map to variables @[User::EmailAddress] and @{User::Error] respectively to sent notifications
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to uploade multiple files in Apex
Hi All,
I went through the documnet to up;oad the files in apex which is wroking fine perfectly.
But how do we upload multile files at a time.
If we observe here we are using P2_File_name as one of the browser filed, similarly i have created three more browser buttons with names a s P3_file_name and P4_file_name
so how do chnage the proces to handle multiple files to uplaod at a ttime.
Here is the process i have followed.
IF ( :P2_FILE_NAME is not null ) THEN
INSERT INTO oehr_file_subject(id,NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE)
SELECT ID,:P2_FILE_NAME,:P2_SUBJECT,blob_content,mime_type
FROM APEX_APPLICATION_FILES
WHERE name = :P2_FILE_NAME;
DELETE from APEX_APPLICATION_FILES WHERE name = :P2_FILE_NAME;
END IF;
Abd for downloading the file i have used a proceudre
create or replace PROCEDURE download_my_file(p_file in number) AS
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(2000);
Lob_loc BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
INTO v_mime,lob_loc,v_file_name,v_length
FROM oehr_file_subject
WHERE id = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
end download_my_file;
Thanks,
Anoo..Hi,
Take it easy, you can use plugin:
http://apex-plugin.com/oracle-apex-plugins/item-plugin/multiple-file-upload_95.html
http://apex-plugin.com/oracle-apex-plugins/odtug-competition/filedrop_202.html
Regards,
Fateh -
Sub folders and Process multiple files in Photoshop Elements 10
I am looking to apply the same adjustments to numerous images in numerous sub-folders and overwrite the original images.
Using the Process Multiple Files options, I added the main folder (which contains no images) to the Source field, selected the Include All Subfolders tick-box, also selected the Same as Source tick-box (which warns you original files will be overwritten) and then completed the image adjustments I required. However, after running the process all the adjusted images were saved in the main folder and did not overwrite the originals contained in each sub-folder. Does anyone know if there is a setting I am missing to replace the images in the sub-folders or is this by design ?bossti a écrit:
hi, so is it possible to keep the same subfolder structure as output location? regards! bostjan
No...
I think you are going to run great risks in trying to use batch process like 'process multiple files' or 'export' while relying on subfolder structures.
- the organizer is much more powerful with its database and keywords management than a folder structure organization,
- Batch processes are limited in Elements
- 'Good practice' calls for keeping originals intact.
What are you wanting to do exactly ? We might be able to suggest alternative workflows. -
Acrobat Standard 9.0 automatically opens multiple files on startup
This problem was originally posted as "Acrobat Standard 9.1.2 update problem?"
In Vista Ultimate, I installed the Acrobat Standard 9.1.2 update, and afterward, my terminal began automatically opening multiple PDF files whenever Acrobat was started. At one point, I let it run for several minutes, and got up to 33 opened files before I forced the program to shut down.
Although this problem was resolved by a program removal and reinstallation (restore previous version didn't work), it came back again, after I had worked on several PDF files since the reinstall. Apparently, Acrobat feels compelled to open all of the PDF files I have worked on since the reinstallation, whenever it starts up. In addition, it opens copies of all of these files when I open a Website PDF file. So I have two copies of the same filename open at the same time (usually impossible in Windows). Since I removed v9.1.2 and reinstalled v9.0, the problem might not be connected to the 9.1.2 update I installed before it began; however, the 9.1.2 update might have made changes to the registry that the uninstall didn't correct.
HAS ANYONE ELSE EXPERIENCED AUTOMATIC MULTIPLE FILE OPENINGS IN ACROBAT STANDARD 9.0 OR 9.1.2, AND IF SO, WHAT DID YOU DO ABOUT IT? I'm desperate enough to seek technical advice from a random group of strangers.I was having this problem on a Vista Ultimate machine after upgrading to Acrobat Pro 9.2, and solved it in the following way.
1. Exit Acrobat, open the task manager and be sure the acrobat.exe task is no longer running.
2. Open the directory C:\Users\<username>\AppData\LocalLow\Adobe\Acrobat\9.0
3. Locate the file named Organizer90 and drag it to the desktop
4. Open Acrobat from the Start menu
Problem should be solved! If not, exit Acrobat and drag the original Organizer90 file back to the original directory (replacing the newly created file). I have no idea what the Organizer90 file does, so I don't know if you may be losing anything important using this method, but it did work for me in solving the "opening multiple files" problem. -
Reducing file size in batch processes (multiple files)
I am now using a canon XTi 10.5 megapixel camera. I'm loving it, taking tons and pics, and see my memory on my computer shrinking rapidly. I'm not too worried about hard drive space as I can simply buy another hard drive. Where I'm running into problems is on my iPod. I have an 80gb video iPod. It is suddenly full, Almost 1/2 with audio, 1/2 with photos. I'm realizing that I need take the 5-7 megabyte files each (photos) in iPhoto and reduce them down a bit in dimensions and/or jpeg compression.
I use photoshop elements and am familiar with the multiple files option. I've used that a bit, nice feature.
Heres my question:
I know iPhoto is sensitive to manipulation of photos/changes if the changes aren't done through its interface. How can I go about taking the original pics for a number of events (talking about perhaps 2000 pics right now) and batch process them down in size a bit without weirding out iPhoto?
Does iPhoto have an option to batch change files in such a fashion? Is it as simple as finding the originals in the finder and simpy reducing them in size and making iPhoto update its thumbnails?
and how do I make iPhoto update its thumbnails, I forget...
ThanksIf you just want displayable image files on the iPod and not the full sized files then a very good solution, IMO, is to export those photos you want on the iPod to a folder on the Desktop. Then use Resize! to batch change the pixel dimension and the jpg compression level of the files. For my iPod Nano I use 640 x 480 and have Resize! compress them to medium. That gives me files in the 100 KB size range. If you want a smaller file just increase the compressions level a bit. Resize! automatically creates a new folder for the resized images so you can try different levels on the same folder. You can get a lot of photos on your iPod at that size. I then put that folder of resized files in my Pictures folder and have iTunes use it instead of using iPhoto.
Do you Twango?
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file. -
How to prompt user to select multiple files in file dialog using scripts
Hi, is there a way to allow user to select multiple files inside the file dialog using scripts? So not just something like "*.ai" or "*.eps" but where the user can actually use their shift key to select a batch of files inside the file dialog and then the script would process each one.
Thanks!// Main Code [Execution of script begins here]
here's what I have so far. it would also be nice to not have illustrator stop at errors.. right now, it skips dialogs but on errors, it still stops.
// uncomment to suppress Illustrator warning dialogs
app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, pdfSaveOpts, folderName;
var fullPath = "";
var finalSlash;
// Select the source folder.
sourceFolder = Folder.selectDialog( 'Select the folder with Illustrator .ai files you want to convert to PDF');
f = find_files(sourceFolder);
function find_files (dir)
return find_files_sub (dir, []);
function find_files_sub (dir, array)
var f = Folder (dir).getFiles ("*.*");
for (var i = 0; i < f.length; i++)
if (f[i] instanceof Folder)
find_files_sub (f[i], array);
else
if (f[i].name.slice (-3).toLowerCase() == ".ai" || f[i].name.slice (-4).toLowerCase() == ".eps")
//convert the array-listing to a string so we can manipulate it
fullPath = String(f[i]);
//find the position of the last / to indicate where the filename starts
finalSlash = fullPath.lastIndexOf("/");
//get the foldername by "slicing" from start to where finalSlash is located
folderName = fullPath.slice(0, finalSlash).toLowerCase();
sourceDoc = app.open(f[i]); // returns the document object
// Call function getNewName to get the name and file to save the pdf
targetFile_PNG = getNewName(".png");
if(targetFile_PNG.exists) {
} else {
pngExportOpts = getPNGOptions();
sourceDoc.exportFile(targetFile_PNG, ExportType.PNG24, pngExportOpts );
targetFile_PDF = getNewName(".pdf");
pdfSaveOpts = getPDFOptions();
sourceDoc.saveAs(targetFile_PDF, pdfSaveOpts );
targetFile_SVG = getNewName(".svg");
svgSaveOpts = getSVGOptions();
sourceDoc.exportFile(targetFile_SVG, ExportType.SVG, svgSaveOpts );
sourceDoc.close();
array.push (f[i]);
getNewName: Function to get the new file name. The primary
name is the same as the source file.
function getNewName(ext)
var ext, docName, newName, saveInFile, docName, finalDot
var loop = 0;
docName = sourceDoc.name;
ext = ext; // new extension for pdf file
newName = "";
finalDot = sourceDoc.name.lastIndexOf(".");
while(loop < finalDot)
newName += docName[loop];
loop = loop + 1;
newName += ext; // full pdf name of the file
newName = newName.replace(" [Converted]","");
// Create a file object to save the pdf
saveInFile = new File( folderName + '/' + newName );
return saveInFile;
getPDFOptions: Function to set the PDF saving options of the
files using the PDFSaveOptions object.
function getPDFOptions()
// Create the PDFSaveOptions object to set the PDF options
var pdfSaveOpts = new PDFSaveOptions();
// Setting PDFSaveOptions properties. Please see the JavaScript Reference
// for a description of these properties.
// Add more properties here if you like
pdfSaveOpts.acrobatLayers = false;
pdfSaveOpts.colorBars = false;
pdfSaveOpts.colorCompression = CompressionQuality.AUTOMATICJPEGHIGH;
pdfSaveOpts.compressArt = true; //default
pdfSaveOpts.embedICCProfile = false;
pdfSaveOpts.enablePlainText = false;
pdfSaveOpts.generateThumbnails = false; // default
pdfSaveOpts.optimization = true;
pdfSaveOpts.pageInformation = false;
pdfSaveOpts.preserveEditability = true;
return pdfSaveOpts;
function getSVGOptions()
var svgSaveOpts = new ExportOptionsSVG();
//just using defaults aside from what's written below
//see http://cssdk.host.adobe.com/sdk/1.0/docs/WebHelp/references/csawlib/com/adobe/illustrator/ ExportOptionsSVG.html
svgSaveOpts.embedRasterImages = true;
svgSaveOpts.sVGTextOnPath = true;
return svgSaveOpts;
function getPNGOptions()
// Create the PDFSaveOptions object to set the PDF options
var pngExportOpts = new ExportOptionsPNG24();
// Setting PNGExportOptions properties. Please see the JavaScript Reference
// for a description of these properties.
// Add more properties here if you like
pngExportOpts.antiAliasing = true;
pngExportOpts.artBoardClipping = false;
pngExportOpts.horizontalScale = 100; // scaling to 350%
pngExportOpts.saveAsHTML = false;
pngExportOpts.transparency = true;
pngExportOpts.verticalScale = 100; // scaling to 350%
return pngExportOpts; -
Building array and writing to multiple files
Greetings,
I have a VI wherein, I am collecting data from 3 channels (using Global Virtual Channels with scaling). I am collecting 100 samples at a time with sampling frequency of 1000 Hz. I am then taking average and st. dev of 100 data points/channel and write it to a file (‘*.dat’). I would like to limit the file size to 1000 entries, and so after that limit is reached I would like to create a new file and write the subsequent set of data to the next file and so on. I am doing this in a case structure, wherein I build an array of the values until the condition of file limit is reached and then I write that array to a ‘*.dat’ file. (I’m hoping that this logic is correct, if not please suggest the correct method)
I am also taking average and st. dev of data/channel over period of 1 sec and write it to another ‘*.sum’ file. The VI has other features like writing time stamp to file, stopping the VI after preset time limit is reached or certain safety limit is reached.
When I run the VI, I get an error message:
Error 7 occurred at Open/Create/Replace File in Global Channel with Multiple file Write.vi
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Nonexistent GPIB interface.
I have indicated the location of the error in the attached picture, as well as I’m attaching the VI.
I would really appreciate if someone would tell me what is causing the error and how to fix it.
Thanks,
Dinesh
Solved!
Go to Solution.
Attachments:
Block Diag.png 121 KB
Global Channel with Multiple file Write.vi 515 KBI did try that but it does not solve the problem. I think I'm missing something while building the array in the Case Structure. I would like to write the average & st. dev values/channel in an array while the loop coount < file limit, and once the file limit is reached write that array to a *.dat file. And keep repeating this procedure till the target time is reached.
Another issue that I discovered is that TestFile_1.dat is not generted, after TestFile_0.dat TestFile_2.dat gets generated. I'm not sure why this is happening.
I would really appreciate if you would take another look and suggest some debugging tips.
Thanks.
P.S. I am attaching the updated VI
Attachments:
Global Channel with Multiple file Write.vi 515 KB -
Change multiple files name at once
Hi
I would like to know if someone knows how to change multiple files name in mac. I need to name hundreds of files name, and dont want to do it one by one ... Example: Change from: Doc 1, Doc 2, Doc3 ...to: 2010Summer1; 2010Summer2,etc...
Thanks in advance for any help,
JoaoMake an Automator workflow that changes the name. You would Replace text of "Doc" with "2010Summer". When you open Automator, choose Workflow. Drag in a Get Selected Finder Items and then drag in a Rename Finder Items. Select the "Replace Text" option. Fill in the Details, select the files in the Finder, and then run the workflow.
There are also some third-party file renamers. Check MacUpdate or VersionTracker. I don't know if there are any free ones.
Maybe you are looking for
-
Time machine full (yes, I know its been posted before but I have no answer)
I have a macbook with 80GBhd, my time machine drive is a USB 80GB drive. I have 15GB free on my local machine and TM has 6.67. So its telling me that it needs 10.4GB to complete its backup.... and is no longer backing my drive up. I want to say "Hey,
-
Sql Service and Databases won't start on two of my databases SQl 2005
getting the errors below In Event viewer I have Event ID 17120 SQL Server Could not Spawn FRuncm thread check the sql server error log and the windows event logs for information about possible related problems. Event id 17826 Could not start the Netw
-
See now I can't even see the rest of my question to finish writing it. Why is it so hard trying to log in to accts? Then if I have forgotten my password trying to reset it is almost impossible. Why so hard all the time?
-
Designer 2.1.2 - Use existing domains
We have an existing domain table (do_id, do_value). This domains are referenced in a lot of columns. The user should only see the do_values. Presenting the data like that is very easy. BUT: for update and insert, how can I achieve, that the user ente
-
I cannot read a music that I bought on Itunes Store
I had bought an album a year ago. I can still listen to it but one of the song doesn't play. When I click on it, a widnow opens asking me for my Itunes' name and password. I fill up the information but it doesn't change anything, I cannot listen to i