Run a Batch Process
Hi all,
I created a process chain in rspc. It is a batch process. I want to run it from bpc for excel on data manager. I created a package and i choosed my process chain. I didn't put any variable in the advanced tab. I want to use this package like a starter trigger of my batch process but it doesn't work.
Any idea?
Thanks in advance.
Hi,
When you run your process chain alone does it work as you desire and give the result.
As of i know if it works in BW environment,then based on paremeters you passed it will give result in BPC DM package also.
Thanks,
Naresh.K
Similar Messages
-
Running a batch process (via thread) in java
Friends I have gone thru 2 books of java and everywhere it says
that
1) the main thread is the one from which other child threads will
be spawned.
2)Main thread must be the last thread to finish execution.When the main thread stops,your program terminates.
Then I am wondering how it works in my case (albeit with little unpredictably !)
I have this JSP and java application.I throw this JSP and pressing a Submit button I execute a java method in Myclass.java.
If the book is true then this should not work.But it works.
Note that I am using Apache server.
please help.
Myjsp.jsp
processSubmission(true)
class Myclass implements runnable
public void processSubmission(boolean background) throws Exception
if (background) {
Thread oThread = new Thread(this);
oThread.setDaemon(false);
oThread.start();
message = "submission being processed in the background";
return;
my huge batch processing java codes.
public void run()
try
processSubmission(false);
catch(Exception e)Friends I have gone thru 2 books of java and
everywhere it says
that
1) the main thread is the one from which other child
threads will
be spawned.
2)Main thread must be the last thread to finish
execution.When the main thread stops,your program
terminates.
No.
Your program stops when all of the non-daemon threads exit or if the application is explicitly exited - via System.exit().
Even if you substitute daemon for 'child' in the above it still does not apply.
From the java docs
The Java Virtual Machine exits when the only threads running are all daemon threads.
It doesn't say anything about a 'main' thread. And specifically it is likely that all of your threads will be done before the daemon threads have stopped. So it is much more likely that any 'main' threads will stop first and then the daemon threads stop (I can't see it happening any other way.)
Even so I would not rely on execution ordering threads for any purpose. If you need execution ordering then you must explicitly provide for it in your code. -
Running a batch process from startup acrobat script
Hi All,
Need to start batch process sequence while acrobat is launched.
Can anyone pls guide how to do this in startup javascript.
thanks in advancecan you pls explain how to open batch execute from startup
-
Acrobat 9.4.4 crashes when running batch process to remove metadata
I am attempting to run a batch process to remove metadata from all documents within a folder. Only one or two documents will process before Acrobat crashes. Any suggestions?
Thank you.There may be a corrupted video or image file on your iPad.
Try to download from the iPad using Image Capture instead and save the photos to a folder. If that succeeds, you can check the files for corruption before importing them to iPhoto. -
URGENT, please help...Removing password security using Batch Processing
I have a few thousand PDFs which me and a team of colleagues have password protected but these now need the security removed. Is there anyway we can batch process the removal this security? I was thinking that if I added them to the watched folder and ran the batch process I've set up which has no security I may be asked for the password/ s (there are 5 passwords I used in total) and it could remove the password for those attached to that password and then I run the same for the other 4 passwords....any ideas at all would be really appreaciated.
Many Thanks
ClaireTwo solutions come to my mind:
1. As i remember there is the option to run a batch-processing in Acrobat (Prof.). Maybe you can set up a new batch which removes the protection.
2.
Otherwise i have a programm (with a special pdf library) which could be adapted to do that. You can contact me for some details.
Regards,
ToM -
Is there a way to trigger batch process via Applescript or Javascript?
Based on what I've found so far on the internet, the answer is no. The Applescripts I've found so far that attempt to run a batch process don't work for me in either Acrobat Pro 8 or Pro 9.
I've been using Applescript to automate a process that starts in InDesign (create PDFs), then goes to Acrobat to set open options (I've got a batch process for that but can't find a way to trigger it). If I can get that to work, I'll attempt to automate the task of using a Photoshop droplet to create JPEGs of a specific size from these PDFs.
I've settled on InDesign CS3 for creating single-page PDFs from a multiple-page document, partly because I could not find a scriptable way to do this in Acrobat. I know just enough about Applescript to be dangerous. I know much less about Javascript.
Any help would be appreciated.
Thanks,
Kevin StaufferKevin some thing like this for Photoshop should aid you
set Todays_Date to do shell script "date \"+%d-%m-%y\""
-- Create new folder to save to
tell application "Finder"
set Raster_Images to make new folder at desktop with properties ¬
{name:"Rasterized PDF's " & Todays_Date}
end tell
-- Set Photoshop settings
tell application "Adobe Photoshop CS2"
activate
set display dialogs to never
set User_Rulers to ruler units of settings
set ruler units of settings to pixel units
-- set background color to {class:CMYK color, cyan:0, magenta:0, yellow:0, black:0}
-- set foreground color to {class:CMYK color, cyan:0, magenta:0, yellow:0, black:100}
end tell
-- Get list of PDF's
set The_Question to "Do you want to include all the subfolders" & return & "within your folder selection?"
set The_Dialog to display dialog The_Question buttons {"No", "Yes"} default button 1 with icon note
if button returned of The_Dialog is "Yes" then
set Input_Folder to choose folder with prompt "Where is the top level folder of PFD's?" without invisibles
tell application "Finder"
set File_List to (files of entire contents of Input_Folder whose name extension is "pdf")
end tell
else
tell application "Finder"
set Input_Folder to choose folder with prompt "Where is the folder of PFD's?" without invisibles
set File_List to (files of Input_Folder whose name extension is "pdf")
end tell
end if
set File_Count to count of File_List
if File_Count = 0 then
display dialog "This folder contains no PDF files to rasterize!" giving up after 2
end if
-- Loop through the files in list
repeat with This_File in File_List
tell application "Finder"
set The_File to This_File as alias
end tell
-- Tiger (OSX.4) shell call to count the pages
set Page_Count to my PDF_Pages(POSIX path of The_File)
if the result is not false then
-- Loop Photoshop through the page count
repeat with i from 1 to Page_Count
tell application "Adobe Photoshop CS2"
activate
open The_File as PDF with options ¬
{class:PDF open options, bits per channel:eight, constrain proportions:true, crop page:trim box, mode:CMYK, page:i, resolution:300, suppress warnings:true, use antialias:true, use page number:true}
set Doc_Ref to the current document
tell Doc_Ref
flatten
-- Enter your name strings into two enties below
-- Case sensitive stings
-- do action "My Action" from "My Action Set"
-- New file naming options
set Doc_Name to name
set ASTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to " "
set Doc_Name to text items of Doc_Name
set AppleScript's text item delimiters to "_"
set Doc_Name to Doc_Name as string
set AppleScript's text item delimiters to "-"
set Doc_Name to text item 1 of Doc_Name
set AppleScript's text item delimiters to ASTID
if Page_Count = 1 then
set New_File_Name to (Raster_Images as string) & Doc_Name & ".tif"
else
set File_Number to ""
repeat until (length of (File_Number as text)) = (length of (Page_Count as text))
if File_Number = "" then
set File_Number to i
else
set File_Number to "0" & File_Number
end if
end repeat
set New_File_Name to (Raster_Images as string) & Doc_Name & "_" & File_Number & ".tif"
end if
end tell
save Doc_Ref in file New_File_Name as TIFF with options {byte order:Mac OS, embed color profile:false, image compression:LZW, save alpha channels:false, save layers:false}
close current document without saving
end tell
end repeat
end if
end repeat
-- Set ruler units back to user prefs
tell application "Adobe Photoshop CS2"
set ruler units of settings to User_Rulers
end tell
beep 3
-- OSX Tiger shell handler
on PDF_Pages(This_PDF)
try
do shell script "/usr/bin/mdls -name kMDItemNumberOfPages" & space & quoted form of This_PDF & " | /usr/bin/grep -o '[0-9]\\+$'"
on error Error_Message number Error_Number
if Error_Number is 1 then
display alert "Page Count Unavailable" message "The page count for " & This_PDF & " is unavailable." giving up after 3
return false
else
display alert "Error " & Error_Number message Error_Message giving up after 3
return false
end if
end try
end PDF_Pages
and something like this to perform JavaScript from within AppleScript for Acrobat
You would be better talking to the JavaScript Experts on how to use addScript() to get your doc level scripts in.
property Default_Path : (path to desktop folder as Unicode text) as alias
property JavaScript : "var re = /.*\\/|\\.pdf$/ig; var filename = this.path.replace(re,''); try { for (var i = 0; i < this.numPages; i++) this.extractPages( { nStart: i, cPath: filename+'_' + (i+1) +'.pdf' }); } catch (e) { console.println('Aborted: '+e) }" as text
set The_PDF to choose file default location Default_Path ¬
with prompt "Where is the multi-page PDF?" without invisibles
tell application "Adobe Acrobat 7.0 Professional"
activate
open The_PDF
tell active doc
do script JavaScript
close saving yes
end tell
end tell -
Batch processing and replication
Oracle 11gr2 (11.2.0.3) Linux x86_64
I wanted to know if anyone has come up with a solution for replicating batch process data. Oracle recommends in the documentation (as a best practice) to not replicate batch processing data through streams, rather to run the batch process on the source and then on the dest database. If we cannot do that, what are our options for this?
Thanks all.Anyone have any ideas/thoughts?
-
Batch process destination problem
I have used Automate/Batch a lot with PS7, and it seems pretty similar in my new CS3. But I am having this problem: The "destination" folder that the images end up in is not the one designated. The pics end up in a folder I used before as a destination. There is no question that I did not get it right, because PS remembers the last automation settings and I can go back and see where I told them to go. It is really weird.
Also, while most of the new pics' designations are changed to "dsc" from "DSC" (I guess that is the "+extension" setting), as they always have been with PS7, my last batch had some that were still designated "DSC". Just a few--They were adjusted properly, just didn't have the small-cap designation that differentiates them from the originals.
The first problem has occurred with both D70 & D300 pics. The second only with D70 so far.
Any help greatly appreciated. -JohnImages coming out of modern digital cameras often have embedded metadata describing the orientation of the photo (e.g., when you turn the camera to take a portrait-style photo), but Fireworks does not utilize those data (though many photo viewing programs do. When you use Fireworks to open an original file of a photo that gets rotated after your batch process, does it open in the correct orientation?
I'm going to guess that the photos that get rotated probably the portrait-style photos, because landscape-style is the default layout that Fireworks just assumes unless the photo has been modified.
If this is the case, then you'll need to run a batch process on all of the portrait-style photos /first/ to rotate them, then run all the photos through the resizing/scaling batch process. -
I have recently upgrade to 10.1.3.1 from 9.3x and I am trying to run a batch process - 75000 records - that worked before the upgrade, but now I'm getting
java.lang.OutOfMemoryError: Java heap space
My memory settings are Xmx400 Xms400 Xoss7m Xss7m for java 1.5
Any ideas? Configuration changes that may have been over-written/omitted in the upgrade? New settings?
Thanks,
BretNow I have found that 700m for a heap size works, but almost doubling this value doesn't seem like something I should have to do. This is a batch process that used to work with 200, then 300, then after the upgrade requires 700.
Bret -
How to Batch process a .jpg into multiple image sizes and colour modes
Hi,
I am needing to find an action or script that when run on a batch of Jpgs will open them up run a few actions and save them as 4 different files as follows
start file:
image.jpg
end result:
image_RGB_300dpi.jpg
image_RGB_72dpi.jpg
image_CMYK_300dpi.jpg
image_CMYK_72dpi.jpg
At present I have 4 separate actions set up do do this so I am running the batch process 4 times to get this result, is it possible to combine multiple actions into a single batch process?
thanks for any help on this one.> At present I have 4 separate actions set up do do this so I am running the batch process 4 times to get this result, is it possible to combine multiple actions into a single batch process?
Record an action that calls the 4 actions?
-X
for photoshop scripting solutions of all sorts
contact: [email protected] -
Save for Web with Optimize File Size for Batch Process
I have a client who needs to be able to run a batch process on jpg images ranging in size from 600KB to 2.5MB optimizing their file size as close to 200KB as possible. The feature is included in Photoshop's save for web optimize dialog but it doesn't work for batch processes. If you record an action with the optimize to file size option set it processes all the images in the batch based on the quality settings required to resize the image you used during recording, meaning if the image you recorded was 1.5MB the quality setting might be 70 percent to hit the 200KB mark but that wouldn't be the correct quality setting for a 600KB file nor a 2.5MB file those would either be too small or too large.
I've done quite a bit of searching both online and in the photoshop scripting forums but I haven't been able to find anything that would point me in the right direction.
My client's paying for this work so if there's someone who knows how to script this who'd rather be paid than just do some pointing we can arrange for that quite easily.
Thanks in advance for your assistance and suggestions.
In case it's of importance we're using Photoshop CS4.If you don't mind spending a few bucks on a shareware prog, Jpegsizer has the option to save to a filesize.
You can find it here.
http://www.tangotools.com/jpegsizer/register.htm
There is a free trial version, but you can't save files. -
Batch Processing Marker Ranges?
Is there a reason why I cannot change the sample type in the "Batch Processing Marker Ranges" operation? The window has an "Output Format" window where I can choose save the markers as different file types, so it seems like I should be able to. What I am trying to do is save a marked-up mp3 file as a bunch of 22050 hz wave files. It will let me save them as individual waves, but when I click on the "options" button, all I get is a window that says "Windows PCM: Format 32-bit data as," and everything is greyed out. What I have ended up having to do is a separate operation AFTER running the Batch Processing Marker Ranges operation by opening "File/Batch Processing," which WILL let me convert the 44.1 Khz files to 22050 Hz. But it seems so inefficient to have to run two batch operations.
Advice?
Thanks.
KenI figured it out. In case anyone is interested, Windows reserves certain file names because they are system files, like "COM1, COM2, etc." My client specified the file names for the project, which is why I tried to use "COMx." I guess even he didn't know.
Anyway, I just changed the file name and it worked as per usual.
Cheers!
Ken -
Batch Process/Actions Automation with CS3 - Save 2 Files at Once
Trying to figure this out is making my head spin. Say I have three files in a folder called house.tif, apple.tif, and dog.tif. I want to run a batch process on those to save two separate PDF files for each, one high res and one low res, that would ideally stay in the same folder and be named house_lowres.pdf and house_highres.pdf, apple_lowres.pdf and apple_highres.pdf etc.
How can I do that with Actions and Batch Processing without overwriting any files?
Thanks!
KimI was wondering if you had a chance to look more into it?
Thanks a lot,
Didier- -
Batch Processing Video Problem
Hi
I am using CS4
I have a number of small AVI files I would like to batch process. I need to use 'load video frames as layers' and then I have an action set up that lays each layer out to form a grid of small images.
The problem I have is that when I run the batch process and point it at the folder it loads the videos as a single image (first frame visible) rather than as layers.
If I include the instruction to load video as layers in the action its forces me to select a file and when I run the batch process it acts repeatedly on this file only rather than all the files in the folder.
Any ideas?
Thanks in AdvanceFigured it out myself - discovered the animation panel (doh) and used 'flatten video frames to layers' in the action
-
Batch processing with a re-save Script
i have a script that i use to re-save a master file that may or may not have many layers, channels and/or paths. when i have the master file open, i run the script and it flattens the image, deletes all the channels and paths, and then does a "save as" step saving the file as a tiff with lzw compression. this all takes place without any user input or dialogs. the script is copied at the bottom for reference. i have made an action out of this script and it works fine everytime. the problem is that when i try to batch process multiple file with this action, it seems that regardless of which options i choose in the batch processing window for saving (e.g. "none", save and close", etc.), the action is interrupted with the usual "save as" dialog window and even though lzw is specified in the script, i also have to manually select this option in the dialog. does anyone know how to accomplish what i am trying to do (batch "save as" with lzw compression to files that are saved as uncompresseed tiffs) without having to stop for any dialogs? please help!!!! thanks.
johnh h.
if(documents.length){
var saveFile = new File(activeDocument.fullName.fsName);
SaveTIFF(saveFile);
function SaveTIFF(saveFile){
tiffSaveOptions = new TiffSaveOptions();
tiffSaveOptions.embedColorProfile = true;
tiffSaveOptions.alphaChannels = true;
tiffSaveOptions.byteOrder = ByteOrder.IBM;
tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
activeDocument.saveAs(saveFile, tiffSaveOptions, false, Extension.LOWERCASE);
activeDocument.close();hey michael,
your reply made me curious to try something i hadn't tried before which was to run the "batch" processing from within photoshop and to my surprise it worked. however if i repeat the exact same thing from within bridge (although in bridge i am selecting multiple files instead of the enclosing folder) it runs into the same problem. so you have 1/2 solved my problem. did you actually get it to run properly from bridge (bridge/tools/photoshop/batch) or did you run it from within photoshop itself? please let me know... i am very curious to detmine the source of the problem. thanks. i appreciate the help.
Maybe you are looking for
-
Shut down of computer when exporting
Hey guys, I've been reading forums for about a half day now and need some help narrowing down the problem. Essentially, my computer turns off in the middle of an export. Usually reboots fine, but one time it would shut down after 5-10 seconds, withou
-
Can not run "RMDMRPEXTRACT01" report
Hello Experts, After running the report "RMDMRPEXTRACT01" --> got error " BAdI MD_SR_LIST_EXTRACT for the extraction has no active implementation" while the BAdI "MD_SR_LIST_EXTRACT " was actived from transaction SE18. Please let me konw how to
-
Does anyone know how to make images flow like text? Is there any software that will easily allow us to put images in a specific order without having to copy and paste all of the images. We are looking to create a "Trader" type publication that lists
-
SDSoC development environment for Zynq SoCs and MPSoCs now available
Xilinx has announced the public access release of the SDSoC development environment for Zynq SoCs and MPSoCs. The SDSoC development environment provides a familiar embedded C/C++ application development experience including an easy to use Eclipse IDE
-
Need help AT-dsp2200 won't configure with 4.9.01f nidaq
Recently tried to up grade to 5.1 labview from 5.0 this cause me to loose controlle of me AT-dsp 2200 card to make a long story short I have now gone to back to labview 5.0 with 4.9.0.1F and used the device manger to install the DSP cca then set th