CS5 Batch Processing Photo Editing work flow
I am relatively new to CS5 and I am intested in automating the correct gross photo editing work flow process [ie., levels contrast, color , noise, sharpening etc] once I have made RAW corrections for each photo.I hope this is as simple as refering me to a tutorial
Tank
Not sure exactly your are looking for, a template or an action to apply to other images. In Bridge/tools/photoshop there are a number of options. The image processor is quite powerful. There is also the option to make a metadata template to apply settings to other images.
Do a google search for batch process edits Bridge and see what suits your fancy.
Similar Messages
-
Batch process does not work in one service, but worked in another.
Hi Fellows,
We have here a batch process with a code encrypted, that runs daily in a production environment.
Tonight this batch process did not work.
It is expected that this process runs in about 20 seconds, but tonight this process used about 3 hours and did not finished.
We checked if it was concurrency, killed some sessions and tried again, and nothing has changed.
And then someone changed the service that this process uses, it was 'bat' and changed to 'dba'. And it worked succesfully in 11 seconds.
Here is the tnsnames that the batch process uses:
bat =
(DESCRIPTION =
(LOAD_BALANCE = OFF)
(FAILOVER=ON)
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x2)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x3)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = bat)
(FAILOVER_MODE =
(BACKUP = dba)
(TYPE = NONE)
(METHOD = BASIC)
(RETRIES = 20)
(DELAY = 5)
dba =
(DESCRIPTION =
(LOAD_BALANCE = OFF)
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x2)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x3)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dba)
Do you guys know what could be the reason?
Thanks in advance.We set the service which the app should connect.
These services are set in srvctl:
ora.cms.bat.cms1.srv ONLINE ONLINE on fastora1
ora.cms.bat.cms2.srv ONLINE ONLINE on fastora2
ora.cms.bat.cms3.srv ONLINE ONLINE on fastora3
ora.cms.bat.cs ONLINE ONLINE on fastora1
ora.cms.cms1.inst ONLINE ONLINE on fastora1
ora.cms.cms2.inst ONLINE ONLINE on fastora2
ora.cms.cms3.inst ONLINE ONLINE on fastora3
ora.cms.cmsuser.cms1.srv ONLINE ONLINE on fastora1
ora.cms.cmsuser.cms3.srv ONLINE ONLINE on fastora3
ora.cms.cmsuser.cs ONLINE ONLINE on fastora1
ora.cms.db ONLINE ONLINE on fastora1
ora.cms.dba.cms1.srv ONLINE ONLINE on fastora1
ora.cms.dba.cms2.srv ONLINE ONLINE on fastora2
ora.cms.dba.cms3.srv ONLINE ONLINE on fastora3
The batch process connects to a service [ bat ], but it hangs and don't finish. But when we change the service do dba is just pass in some seconds and finish succesfully.
Connected to DB [issr@bat ]
PAYware CMS Version 8.0 - Module : E352 Release : 000000002
Program: /cms/cmsissr/CMS/bin/issuer/mepcs352
Release: 2
PARAMETERS OK !!!
NUMBER OF PROC.: 000001
Number of transactions : +000047570
Number of parallel processes: 000001
Transactions by process: 000000000000047570
Transactions Processed: 000010000 -
Bridge - Batch Processing has stopped working...help
I am using Photoshop for Windows in CS2. Have been for years. Work with batch processing and Web Gallery all the time...for years.
Batch Processing and Web Gallery stopped working (along with other Photoshop features). I upgraded to Windows 7, and photoshop/bridge/indesign, etc work once again.
Batch Processing and Web Gallery still don't work. When I select items Bridge and click "Tools", "Photoshop", "Web Photo Gallery" it clicks over to photoshop, as if the process is about to begin. But then Photoshop lies there doing nothing. No action menu pops up if I select "Batch" no "Web Photo Gallery" dialog box initiates if I select the gallery.
Any assistance, that can save me the $1000 on a CS upgrade, will be greatly apprecieated.
Thank you for your time.Look in edit/preferences/scripts and make sure there is a checkmark for both Bridge and Photoshop. Without that they can't talk.
-
How to edit work flow in webcenter ?
Can any one suggest me to edit of create work flow which is in UCM?
Hi,
I am after processing the Idoc to Work item...
Double click on the work item which in turn takes to the "Display Record"...in the screen itself..Menu bar
we have EDIT --> Foreground Processing ---> Visible
Foreground from Error ---> Visible
Background Processing ---> Visible
Set delete Indicator ---> Visible
End process ---> Disable
Continue Despite syntax error ---> Disable(Want this to show in Visible )
Please help me on this case.
Thanks in advance
Chakri -
LR Enfuse Problem - Batch Processing Doesn't work
Hi,
I'm relativley new to Lightroom - and am trying to learn about Enfusing multiple different exposures.
I've followed all the instructions to the letter, and I'm able to enfuse great looking shots if I do them 1 group at a time. However, I've taken heaps of bracketed shots, and want to 'Batch Process' them.
LR/Enfuse appears to have the functionality, and plenty of people online seem to be able to make it work. But even when I stack each bracketed shot, and select all. It still comes up with the error message below:
"No Stacks
No Stacks containing selected photos were found. If you are trying to blend the selected images then please turn off the batch mode option."
Any ideas? I'm using Lightroom 5.2
Cheers, ThomasHi,
I am not sure what operating system you are using, I don't have any problems with Win 7 x64, but if you are using Apple OS there may be issues with permissions on the folders you are using e.g. the folder for temporary files.
You may also want to look at his tutorial http://digital-photography-school.com/save-time-with-batch-exposure-blending but disregard the Auto Stacking explained as it is difficult to get it to work.
I am not sure but it looks as though the stacks in the image you posted are expanded. Make sure the individual stacks are collapsed.
Apart from that I just don't know as it works fine for me. -
Batch processing does not work with action
Here is the thing. I have implementes several action on Photoshop. SOme of the include several sub actions and different saving locations. For example, I open a file, then I hit my prefered key combo for that action, and I have:
1) convert to cmyk
2)save copy as JPG with 11 quality level
3) save to folder A
4) image size to 72 dpi
5) covert to RGB
6) save as JPG 6 quality level
7) save to folder B
8) close file and discard cahnges.
Everything runs like heaven, but the moment I want to batch several files everything stalls.
I choose file > Batch > Choose my set > choose my action
Source > I choose where my files are (usually a PDF)
then I use "Supress file open options dialogs"
Destination> Since I already have set destinations y my actions, I choose here a "dump" folder
On errors > I hit Save As... and put a name for that log.
Then photohop opens my PDF on Photoshop and does nothing! It keeps my file open.
I m gettting frustated here, because I ma about to work with 400 files to batch, and this batch system does not work.
I am using CS6
Any cluesYour action doesn't to seem to include any Open actions. Why do you have the "Supress" option enabled?
Also, since your action has the two save commands, you would just leave the Destination set to None. Setting a Destination means that is going to save the files again.
The problem you'll run into though is that the action also saves the file name as part of the action, so that you'll end up just saving over the one file each time the action is played back on your 400 files. So Photoshop will process all the files, but each time it will overwrite the first file, so you'll end up with one file in each folder. Normally, in these situations, you'd use the Destination setting and use the "Overrride Action "Save As" Commands", which would substitute the Destination folder for whenever a Save command is used. The problem here is that you can only choose a single destination folder, so all files would be saved to the same location.
Short of scripting this, it may be best to break this into two separate actions. -
L215p - better than T410s screen? Good enough for photo editing work?
I never had set up an external monitor with a laptop, so just have 3 questions regarding the L215p monitor.
1) The T410s outputs screen resolution with an aspect of 16:10. A monitor like the L215p (most new wide monitors for that matter) display an aspect of 16:9. Can I still view with a 16:10 ratio if I use that monitor? I never sacrifice distorted aspect ratios for more screen real estate as things never look correct to me. When I'm watching TV and a channel broadcasts in 4:3, I never widescreen it and "stretch" the image to fill the screen because I like to see things how they were meant to be seen, if you know what I mean. The bottom line, can I preserve the 16:10 when using this monitor (e.g. have the vertical dimension maxed out while having black letterboxed gaps on the left and right)?
2) I'm going to be using the T410s with the L215p. People have been subjectively rating the T410s screen from poor to mediocre, but never awesome. Does the L215p have better image quality (contrast, dynamic range, brightness) than the T410s screen? I know that the image quality from the L215p won't be cutting edge given the moderate price, but just wondering if it's an improvement from the T410s screen in every or most ways.
3) I'm not a pro photographer and my livelihood doesn't depend on shooting pictures, but I do photography as a hobby. I would like to post process my photos using Photoshop and Lightroom and was wondering if the L215p can get the job done (can it be calibrated accurately, is image reproduction to real life close enough, can I post process knowing that what I see is reasonably close to reality, etc).
Thank you.
~Paul
Lenovo ThinkPad T410s - 2901CTO
IBM ThinkPad T41p - 2373GGU
Solved!
Go to Solution.s2kdriver80 wrote:
Thanks.
1) Ok understood. I'll try to go with a monitor that has a native 16:10 aspect ratio then.
2) I thought so too.
3) Yes I've heard of this. Upon further consideration, I'm scrapping the idea of the Lenovo L215p. Lenovo had the L220x which has a VA panel but I don't know if that's been discontinued. That had a high res 16:10 ratio. I'm considering the Dell UltraSharp 2209WA which has an EIPS panel but that model is nearly a year and a half old. Still ok to buy? In any event, I'm sure the 2209WA would blow the L215p out of the water in terms of display performance.
e-IPS is good, have a look at the Dell Outlet, you could get someones fairly cheaply, even second hand ultrasharp LCD is okay, if they have warranty on them.
Regards,
Jin Li
May this year, be the year of 'DO'!
I am a volunteer, and not a paid staff of Lenovo or Microsoft -
CRM Error in MW_BDoc processing , Type BUPA_REL (work flow messages)
Hello,
We have Messages cominin to our workplace from workflow!! saying RM Error in MW_BDoc processing , Type BUPA_REL..and other info messages..
I can go and check the error from SMW01... But i dont want these messages to be sent to users.
Can you please suggest me how can i make the seting?
thanks and regards,
Lata.Hi Latha.
You can find a button with pencil sign. It says maintain configuration. When you click on that it will take you to next screen where you can maintain the user information to whom you want to send the mail.
E-Mail Address of Receivers : email-id
E-Mail Type : U
Make sure that your basis admin has maintained the batch job : SWWERRE which actually sends the mail. You can check in transaction SOST to see if the email was sent or not if you were expecting it to send the mail.
Regards
Apoorva -
Batch processing: Action not working - Photoshop CC
I've created an action to apply a watermark. I want to apply this to a folder of jpeg pics.
I've gone to:
File>Automate>batch - see pic below
I ok this.
The batching looks as though it's taking place since I can see it running through the steps of the action. But when finished, nothing has changed.
I've also tried changing the 'Destination' to 'Folder' and using '4 digit serial number + extension' but this doesn't work either.
Many thanks for help in advance.
PS. I've tried using File>Scripts>Image processor and this works. Why this and not Batching?Your terminology seems to be pretty jumbled.
Please focus one one issue/tool for now and post a screenshot/s with the pertinent Panels (Layers, Channels, Options Bar …) visible. -
Dear Friends,
1.Can somebody throw light on Work Flow management?
2.How is SD integrated with Work flow and what are the business processes that needs work flow in SD?
3.Is it like a Work flow consultant is required to handle this or can we handle the workflow from SD end itself?
Thanks
IsaacHi,
Few points on workflow was prepared by me and screen shots are not there. You can refer
ALE, EDI and IDOC Technologies for SAP by Arvind Nagpal
For further detail.
if the requirment is minimal then SD consultant can handle otherwise Workflow consultant is required.
Introduction
The workflow management system provides procedural automation of steps in business process. A business process can consist of several steps. Historically the tasks have been coordinated manually or by some means of communication (sticky note, email, shouting and so on). The common problem in these approaches is in efficiency; each lacks a way to trace where a task is, who executed (or executing) it, and how much time is required.
In contrast, workflow management system ensures that the right work is sent to the right person at the right time in the right sequence with the right information. The ALE/EDI interface mainly uses workflow for exception (or error) handling.
Application of Workflow in ALE/EDI
Error Notification
Error notification is the primary use of workflow. When exceptions are raised in the outbound and inbound process workflow is started and handled as shown in the below flow diagram.
Active Monitoring
Active monitoring allows you to specify threshold values for the state of the system. If the system crosses the threshold limit, a person responsible for the system problem can be notified. For example you can have some one notified when the number of failed invoice IDOCS in the system exceeds 50.
Rule Based Inbound Flow
This application of workflow in ALE/EDI does not under the category of error handling. You can set up workflow to handle processing of an inbound IDOC. Normally, an inbound IDOC starts a function module that invokes the posting program to create an application document from the IDOC.
In contrast, if you use a workflow, you can set up to do whatever is needed for your business process. SAP doesnu2019t provide standard workflows for the inbound ALE/EDI process, but you can develop your own workflows and tie them to the ALE/EDI process.
For example an incoming order change IDOC can be routed via workflow to a person for review. If the change requested are acceptable the IDOC can be posted.
The Architecture of ALE/EDI Workflow
The components used in ALE/EDI workflow fall into two categories:-
u2022 PD-ORG (organizational) object
u2022 Workflow object
You can view and maintain these components by using the T-code SWLD (Area Menu for workflow).
PD-ORG
Workflow
PD Organizational Objects
PD ORG object is used to represent the companyu2019s organizational structure in SAP. The following are the PD ORG objects.
u2022 Organizational Units (O)
An Organizational Unit can represent a department, physical location, division or subsidiary.
u2022 JOBS(C)
A job involves performing one or more business tasks. For example, sales order clerk, secretary and manager. Although it is possible to assign individual task directly to a position, it is advisable to group tasks together in a job and to assign the job to the position.
u2022 Position(S)
A position in a company represents his or her rank. If an employee is promoted, that person leaves his or her current position and is assigned to another position. For example, sales order clerk plant 1000, secretary of company code 1000 and manager of accounts.
u2022 Users (US)
A user is a person who has been granted access to the SAP system to use various functions.
All the above mentioned PD ORG objects can be created, changed and displayed by using following T-codes.
u2022 PPOCE Create mode.
u2022 PPOME Change mode.
u2022 PPOSE Display mode.
Screen shot1.
Work Flow Objects
Business objects
A business object represents a business entity that has a definite state and various properties. You can carry out various functions on the object. A business object encapsulates the entire functionality of an object. A business object is given a name in SAP.
For instance, a standard material is assigned the name BUS1001006; it has properties such as material number, description, and material type. These properties are represented using attributes of the business object. The various operations that can be carried out on an object are implemented with methods. For example, if you want to create a material, you can call that business objects create method. An object also has different states. It exposes its various states by publishing events. For example, the material object has created event that is published whenever a new material is created.
The T-code for Business Objects is SW01.
Screen shot2.
Tasks (T or TS)
A task defines a piece of work that can be executed and tracked in the system. Technically, a task points to a method of an object as shown in the below screen shot. In addition, a task defines the text the purpose of the task, the triggering event based on which the task is started, the terminating event that marks the completion of the task, and a role that contains the rules to identify the person who is responsible for executing the task. A task can be started in response to an event triggered in the system. Tasks are categorized as
u2022 Standard Task
Standard Task is provided by SAP and is client independent.
u2022 Customer Task
Customer Task is client dependent and is developed by customers.
The T-code for Tasks is PFTC.
Screen shot3.
Roles
Roles are workflow objects used to determine the person responsible for carrying out a specific task. Each task has a role assigned to it.
The T-code for Roles is PFAC.
Screen shot4.
Work item
A work item represents an instance of a task that needs to be executed. The work item can have various states that govern the operations allowed. The following table describes the various states of a work item and its effect on usability.
Status Description
Ready A work item is created and is visible to all selected agents.
Reserved A work item has been reserved by a user and disappears from all the inbox of other selected users.
In process A work item is being worked on and can be seen in the inbox of the user who started working on it.
Completed A work item is complete and cannot be seen in the inbox of any user
The SAP INBOX
The SAP inbox is an interface to manage workflow items and SAP office documents. The below screen shot shows a list of work items in a useru2019s inbox. The SAP inbox contains separate buckets for office documents and workflow items. Office documents are email documents and workflow items are work items. You can display and execute the work items from the inbox. The inbox is highly configurable.
Screen shot5.
Error Notification Process
The error notification process comprises the following steps:-
u2022 Determining the task to be started.
u2022 Routing the error to a responsible agent as a work item.
u2022 Processing of the work item by the responsible agent.
Possible Agents versus Selected Agents versus Actual Agents
A task has three types of agents based on rights to execute:
u2022 Possible agents
Possible agents represent persons who can execute a task. Not all the possible agents get a work item when a task is started.
Possible agents are configured in the system by assigning a task to
several HR objects (job, position, Org unit). A task can be set to
General task, which means that it can be executed by any one.
u2022 Selected agents
Selected agents are the users who get a work item in their inbox. They
are determined by role resolution logic. Selected agents must be a
subset of possible agents. If the selected agent is not found, the work
item is sent to all possible agents. The selected agents are configured
in the partner profile and the IDOC administrator in T-code WE46.
u2022 Actual agents
The actual agent is the person who executes the work item from the inbox. A work item can have several selected agents but only one actual agent. When a selected agent executes a work item, the actual agent for the work item is established, and the work item immediately disappears from the inbox of other selected agents. However, if an actual agent realizes that he or she cannot resolve the problem, the user can replace the work item, causing it to reappear in the selected agentu2019s inboxes.
Level of Agents in ALE/EDI process
Level 1
If a partner profile is located for the problem, the organizational object specified at the message level (inbound or outbound) in the partner profile is notified.
Level 2
If level 1 is cannot be identified because of the problem locating the record, the level 2 organizational object specified in the General View of the Partner profile is read.
Level 3
If neither level 1 nor level 2 can be identified, the system reads the EDICONFIG table for IDOC administrator and sends a notification.
Processing by the Responsible Agent
u2022 The steps necessary to fix an error for which a work item is generated are as follows.
u2022 Execute work item to display the error. Examples of errors include problems in the control record, errors in IDOC data, and incorrect configuration.
u2022 The cause of the problem can usually be determined from the error message. If applicable, additional error information is also available for certain type of errors (for example application errors).
u2022 After the cause of the problem has been determined, it must be fixed outside workflow (or in some cases, within workflow). The recovery procedure depends on the nature of the problem.
- If the error is in the IDOC data, the IDOC can be edited and then reprocessed from workflow.
- If the error requires restarting the process from the beginning, the IDOC has to be marked for deletion to stop it from further processing and to clear the work item from the inbox.
- If the error involves an IDOC that has not been created yet, the work item merely informs the person about the error.
Important T-codes
T-code Description
SWLD Area menu for work flow
SBWP or SO01 Sap inbox
SW01 Business object builder
PFTC Task/ Task Groups
PFAC Roles
SWU3 Maintain standard settings for SAP business workflow
PPOM To change ORG structure
SWUS Start workflow(Test Environment)
SWI15
SWI13 Task profile for user
Books Referred
ALE, EDI and IDOC Technologies for SAP by Arvind Nagpal -
What is the best way to use a SSD for Photoshop/photo editing?
Computer hardware newbie here: I do a significant amount of photo editing work and for a very long time I've experienced Photoshop, Bridge and Photomatix crashing constantly (usually due to insufficient RAM) or just generally taking forever (Bridge took forever to load the thumbnail/preview extractions in a folder full of images, Photoshop took forever to save images and Photomatix took ages to load/merge a set of bracketed photos). Here are the typical error messages I'd get: http://pastebin.com/J9byczse
As a professional photographer, constantly running into that sort of thing is quite aggravating, so to hopefully avoid ever having to deal with that again I invested in a new custom built computer. It's Windows 7 Professional 64 bit with 32GB of RAM and a 240GB SSD; I'm using the 240GB SSD as my boot drive/OS, all of my programs are installed there, and the page file. My photos and data are stored on several HDDs. I have yet to install any of my photo editing software (Photoshop CS6 Extended, Lightroom, Photomatix etc) to the new computer yet since I'd like some advice first.
My basic question is this: what is the best way to take advantage of the SSD (and the computer in general) when it comes to my photo editing software?
Specifically...
1. If I have a folder of photos I'm working on, should I move it to the SSD and then work on them from there in order to take advantage of the speed of the SSD? Would this make any difference in terms of speed if the photos are located on the SSD vs. an internal/external HDD?
2. Most of what I've read online seems to recommend two separate SSDs, one for installing/booting the apps and one for cache/scratch. Does it matter if I use my 240GB SSD for both?
3. This is a fairly new computer and the SSD is already almost half full (102GB used, 120GB free) *WITHOUT* any of my photo editing software installed yet. I'm concerned about how fast that remaining 120 GB may fill up. As it fills up will I lose the speed advantage of the SSD vs. a regular HDD?
4. Sort of similar to #3, but should I bother moving any of my other non-photo editing programs/caches off of the SSD to a HDD and would there be any major difference in the speed/lifespan of the SSD if I did so? It's mostly Firefox and Chrome and their caches that I'm concerned may be a problem if they remain on the SSD.
Thanks for any help!If you have an SSD you can run the cache and programs on the same drive. However, many recommend a scratch disk size of 100-200 gigs so that will not work here unless you opt for a larger SSD. Otherwise an internal spinner is recommended that does not contain the program files, or idealy any other files that may want to get acessed at same time (only one read/write head per drive).
With 32 gig of RAM you may not need the constant use of the scratch drive unless working on large images with lots of layers. So see no advantage to moving folder to SSD for temp work environment.
From what I read the new crop of SSD do not have the wear problems of the older versions. -
Acrobat 9 Professional Batch Processing Problem
I created a batch sequence to change the Subject under Description to run on selected folders. It ran perfectly in Acrobat 6. In Acrobat 9, when I select run sequence, I have to click OK for each file until it runs on all files in a folder. My output options are the same as Acrobat 6, I'm overwriting existing files and keeping originial name.
> So there is no way to set the batch process to only work on odd or even pages in Acrobat Professional 8?
I don't see any way. -
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 -
Need help on how to put condition in the work flow
hi friends,
I want to check the conditions whether the customer is available in the server or not .
If YES i want to do one process in the work flow
or
If NO i want to do one process in the work flow. Please help me out on this.
Ex:
KUNNR
YES NO
1stProcess 2nd Process.
Pls send me the screen shots or solution for this i searched a lot in this but I could not find...
Thank you,
Vikram.cHi,
you can use a CONDITION step to achieve this requirement. Try the following link, it may not exactly match your requirement but will give you a clear idea on how to proceed,
[http://www.****************/Tutorials/Workflow/ConditionStep/Condition.htm] -
FDM Scripting Query for last imported source file using Batch Processing
Hi Experts,
I'm currently in the processing of automating the FDM load process on our version of FDM 9.3.3 using batch processing and the FDM Task Manager. Most of the process works fine including an email alert which notifies users of when a data load has taken place.
As part of that email alert I am trying to attach the source file that has been loaded in batch processing. I have managed to get an attachment using the following FDM Script Object of:
"API.MaintenanceMgr.fPartLastFile(strLoc, True, False)".
But have noticed that using this only attaches the last "manually" imported file rather than the last file imported using the batch processing.
My question is: Is it possible for someone to steer me into the right direction of either a more appropriate API or if I have missed a step in my script.
Any help as always would be much appreciated.
Cheers
PipUnfortunately the batch process does not work the same way as on-line. I am assuming you are using the normal batch load and not Multiload (although the batch is simisar).
the batch file name gets recorded on the tBatchContents table, and moved to the import/batches folder under the folder for the current batch run. However, if successful the file gets deleted (and from memory does not get archived). To add the import file to the e-mail, after a successful load, i think you will need to store a copy of it prior to importing the file.
Maybe you are looking for
-
hi to all, is there a way in flash were in i have a photo gallery then when the end user choose a picture he/she can make it as a default wallpaper on his/her desktop? tnx!
-
I have duplicated entries in NOTES. One is blank and the other is the NOTE that I made. I tried deleting the "blank" one and it won't delete. How can I clean this NOTES out of the duplicates?
-
My ipad 2 openly connects to wifi if next to the router. All other iPhones and iPads in the house are working great.what do I do to fix this?
-
Catalyst + dual head = incorrect primary monitor
I have Radeon HD 3450 that has VGA-, DVI- and HDMI-ports. I have connected two LCD-monitors to VGA (19") and DVI (24"). After that I installed catalyst (9.8-1) and catalyst-utils (9.8-1). I managed to get GNOME work ok with two screen, I have two sep
-
QT in background: active hotkeys?
Hi, I've got hours and hours of .wav-files with texts that i have to type into Word.(yes, it does suck). My life would be much easier if it were possible to control the play/pause function in QT through a keyboard shortcut, without losing the focus o