Workbench automation

I am looking for a way to generate all the toplink related files for a project without using the workbench gui. I have written some stuff to generate java classes from the database metadata but I realize that the workbench does the exact same work so I was wondering if I could use the workbench jars and just make the appropriate calls to generate the java files, descripters,....and so on. I realize that there are some settings that I would need to configure...read only for example, but I would rather automate this stuff than have to click thru a gui. Thanks for your ideas.

Thanks Anuj,
Can anyone comment on whether there are any plans to allow ANT scripted build of this from JDeveloper TopLink projects in future releases of JDeveloper or TopLink?
It would be very useful, as checking in the generated deployment XML to source control is not a great solution as this is a target file rather than source.

Similar Messages

  • Data transfer workbench, getting errors do a scheduled ODBC import

    i am trying to schedule and automated import using an ODBC connection, i have setup the connection on my PC and have run the transfer workbench manually using this connection and all is working ok.
    but i have saved this import to an .xml file so that i can schedule the import, but when running this i get the following 2 errors
    "Can not connect to ODBC data source" and "Can not get SQL handler"
    the data source is an oracle 11i database, and i say this works fine when running the import manually using the workbench.
    I have noticed that the .xml file does not have the oracle database password saved in it anywhere, i don't know if this is the problem or not
    any help would be appreciated.
    thanks
    dave

    I think u will get answered frm this link
    Re: DTW and ODBC Connections from Batch File
    also check this link
    DTW and ODBC Connections - Automated process
    Edited by: Jeyakanthan A on Aug 18, 2009 12:55 PM

  • Error 440 Automation Error: modupsShell.ExecuteCustomScriptEx

    We are experiencing the following error when trying to load data files to FDM using the batch processing functionality. If no files are present in the OpenBatch folder, no error occurs. However, the attached occurs once files are present.
    The process has worked fine previously, but has been giving the following errors since last night.
    ** Begin Runtime Error Log Entry [2012-09-20 10:47:38] **
    ERROR:
    Code............ 440
    Description..... Automation error
    At Line: 36
    Procedure....... modupsShell.ExecuteCustomScriptEx
    Component....... upsShell
    Version......... 1112
    Process ID...... 2508
    Thread.......... 6852
    IDENTIFICATION:
    User............ admin
    Domain..........
    Computer Name... *******
    App Name........ *******
    PROCEDURE STEPS:
    1-Split Arguments
    2-Create Load balancer=*******
    3-Authenticate
    4-Get Next App Server
    5-Open App Server=*******
    6-Execute the script=*******_BATCHLOAD
    7-Step was not reached, a previous step failed

    Of course, apologies. Please see below.
    Looking at the script in Workbench, the error appears to be referring to the following line:
    BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
    Script:
    Sub *******_BATCHLOAD()
    'FDM CUSTOM Script:
    'Created By:      *******
    'Date Created:      18/05/2012 11:58:37
    'Purpose:     Execute a Batch Loader task.
    'Execute a STANDARD batch
    'Use Serial Processing
    'Declare Local Variables
    Dim lngProcessLevel
    Dim strDelimiter
    Dim blnAutoMapCorrect
    Dim BATCHENG
    'Initialize batch engine
    Set BATCHENG = CreateObject("upsWBatchLoaderDM.clsBatchLoader")
    BATCHENG.mInitialize API, SCRIPTENG
    'Initialize Variables
    lngProcessLevel = 12 'Up-To-Check
    strDelimiter = "~"
    blnAutoMapCorrect = 0
    'Create the file collection
    Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter))
    'Execute a Standard Serial batch
    BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
    End Sub

  • Automizing Data Download from an Infoprovider to a Spreadsheet

    Hi ,
    I have some Infoproviders with transaction data in it. I need to do the following.
    1) All fields in each InfoProvider should be exported and included in the flat file. 
    2) This Flat file needs to be stored on a server.
    3)  A process chain should incorporate this to automize the above process. 
    Regards
    Arjun

    Hi Arjun,
              Have this
    Creating InfoSpokes
    Procedure
           1.      In the main menu of the Administrator Workbench, choose Tools ® Open Hub Service ® Edit InfoSpoke Enter a technical name for your InfoSpoke. You can also select a template.
           2.      Choose  Create InfoSpoke...
           3.      Enter a technical name for your InfoSpoke.
    Tab Page: General
           4.      On the General tab page, select a data source. You can choose from an InfoCube, ODS objects, MultiProviders or InfoObjects (attributes or texts).
           5.      Select a destination. You can also enter the technical name of a destination that you are about to create.
           6.      Select an extraction mode. See InfoSpoke Extraction Mode.
           7.      Specify the number of rows per data package for the data records to be extracted. You can use this parameter to control the maximum size of a data package, and hence also how many main memories need to be made available to structure the data package.
    Tab Page: Destination
           8.      Choose the Destination tab page and enter a description.
           9.      Select a Logical Target System.
       10.      Select one of the following destination types:
    ¡        Database table: For the settings Deleting the Table Before the Extraction and Technical Key, read Extraction to a Database Table. Using the indicator Notification to Third-Party Tools you also have the option of extracting data from a third-party tool. See also Extraction to Non-SAP Systems. Enter the name of the RFC destination for your third-party tool into the RFC Destination field. You can then display the parameter table for the third-party tool using Parameters.
    ¡        File (CSV). Either choose Application Server or specify a local directory; specify a delimiter of type Character. If you choose the application server as the storage for the file, you can select a Logical File Name or Logical File Name from the dropdown box. If you choose Logical File Name, you get to the transaction for creating logical file names by double clicking on the field for the file name. See Extraction to Flat Files.
    Tab Page: InfoObjects
       11.      On the InfoObjects tab page, select the InfoObjects that need to be transferred. In doing so, the available fields are displayed in the right half of the screen, and you can transfer them into the left half of the screen by using the arrow keys.
    The pushbutton Key Fields for the Table Start enables you to place key fields at the start of the field list. When extracting in database tables, it is necessary to extract such a field list. With flat files, you need to specify the field list sequence yourself.
    Tab Page: Selection
       12.      From the Selection tab page, you can restrict the selected fields even further. As a restriction, only simple selections of single values and intervals are possible. After confirming you selection, you can also exclude single values or intervals via Selection Category. Do so by clicking only the icon  or  (included) and then switch to  or  (excluded). The default setting is Included.
    Extraction of InfoCubes with non-cumulative key figures:
    Set the filter value for 0RECORDTP (record type) to ‘1’. In this way, all markers are extracted that are in the compressed data from the InfoCube. You can extract non-cumulatives in which you compress the InfoCube in regular intervals and, afterwards, extract with 0RECORDTP = ‘1’.
    Tab Page: Transformation
       13.      From the tab page Transformation, you can transform the data to be transferred using a BAdI. See InfoSpoke with Transformations using BAdI.
    Activating and Executing InfoSpokes
       14.      Choose Activate InfoSpoke .
       15.      After successful activation, choose  Extraction in the Dialog Process. A status log is displayed.
    If you do not want to start extraction straight away, that is, you want to schedule it, you need to include the InfoSpoke into a process chain. See also Including InfoSpokes in Process Chains.
    Result
    You have extracted data from an open hub data source into a database table or a flat CSV file.
    For automizing u'r extraction
    Including InfoSpokes in Process Chains
    Use
    If you want to automatically execute and schedule an InfoSpoke, you can include this as an application process in the procedure for a process chain. The scheduling of an extraction by using an InfoSpoke is only possible by using a process chain in its start process.
    Prerequisites
    You have created an InfoSpoke and have saved it as being active. If you extract the data to a file, the file has to be on the application server.  Extraction to a local file requires a GUI connection and cannot be executed in the background as is the case for a process chain.
    Procedure
           1.      Call up the process chain maintenance. Choose  Process Chain Maintenance from the Administrator Workbench toolbar. The Process Chain Maintenance Planning View screen appears.
           2.      In the left-hand screen area of the required  display component, navigate to the process chain in which you want to insert your InfoSpoke. Double-click to select it. The system displays the process chain plan view in the right-hand side of the screen.
    If no suitable process chain is available, you need to create a new process chain. You can find additional information under Creating a Process Chain.
           3.      To insert a process for extraction by means of an InfoSpoke, choose  Process Types in the left-hand area of the screen. The system now displays the process categories available.
           4.      In the process category Loading Process and Post Processing, choose the application process type  Data Export into External Systems.
           5.      Insert the Data Export into External Systems application type with Drag&Drop into the process chain. The dialog box for inserting a process variant appears.
           6.      In the Process Variant field, enter the name of the InfoSpoke that you want to include in the process chain, or select it by means of the input help.
           7.      Proceed further as described in Creating Process Chains.
    Result
    You have included your InfoSpoke in a process chain. As soon as you activate the process chain, the extraction starts according to your specifications in the start process.
    Example
    The following graphic illustrates an example of how a process chain is used to include an InfoSpoke. The processes for deleting and building indexes are optional, because they help to improve performance.

  • Error while creating a new folder in resource view of workbench.

    hi
    I am getting this error while creating a new folder from the resources view.
    Please help me in this regard.
    !ENTRY com.adobe.repository.ui.eclipse.forms 4 0 2009-02-19 18:18:36.340
    !MESSAGE REP-001-011: Problem creating a resource folder
    !STACK 0
    com.adobe.repository.ui.eclipse.IDERepositoryException: com.adobe.repository.bindings.dsc.client.ResourceRepositoryClientException: ALC-REP-106-000: Caught DSCException: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: RepositoryService not found.
    at com.adobe.repository.ui.eclipse.impl.dsc.IDERepositoryDSCImpl.createFolder(IDERepositoryD SCImpl.java:117)
    at com.adobe.repository.ui.eclipse.core.Repository.createFolder(Repository.java:522)
    at com.adobe.repository.ui.eclipse.actions.NewFolderActionDelegate.workspaceRun(NewFolderAct ionDelegate.java:91)
    at com.adobe.repository.ui.eclipse.actions.WorkspaceActionDelegateRunner$1.run(WorkspaceActi onDelegateRunner.java:76)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
    at com.adobe.repository.ui.eclipse.actions.WorkspaceActionDelegateRunner.run(WorkspaceAction DelegateRunner.java:83)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:539)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at com.adobe.lcide.rcp.Application.run(Unknown Source)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: com.adobe.repository.bindings.dsc.client.ResourceRepositoryClientException: ALC-REP-106-000: Caught DSCException: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: RepositoryService not found.
    at com.adobe.repository.bindings.dsc.client.ResourceRepositoryClient.writeResource(ResourceR epositoryClient.java:920)
    at com.adobe.repository.ui.eclipse.impl.dsc.IDERepositoryDSCImpl.createFolder(IDERepositoryD SCImpl.java:114)
    ... 31 more
    Thanks
    Ullas

    Thanks Jasmin I did as you told and was able to create folder. But while installing the Event-Dsc and the workflow-dsc I am getting some internal error as given below.
    !ENTRY com.adobe.DSC_Admin_UI 4 4 2009-02-24 15:41:34.984
    !MESSAGE install of C:\Adobe\LiveCycle8.2\deploy\adobe-event-dsc.jar failed
    !STACK 0
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
    at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:456)
    at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl.install(ComponentRegistry Impl.java:254)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doBMT(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:109)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
    at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:100)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConn ectionInitialReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitia lReadCallback.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Caused by: java.lang.ClassNotFoundException: com.adobe.idp.event.bootstrap.EventBootstrapImpl
    at com.adobe.idp.dsc.DSContainerSearchPolicy.findClass(DSContainerSearchPolicy.java:178)
    at org.ungoverned.moduleloader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
    at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:403)
    ... 70 more
    As I am using the trial version so I have isnatlled all the products Workbench, Server and the application server in the same machine. My System has 2GB Ram.
    Any help in this will be of great help
    Regards
    Ullas

  • Unable to capture startup and shutdown event of Photoshop in automation Plugin.

    Hi,
    I am creating an automation plugin and I want to register some events. I have seen listener plugin sample to register event in startup and unregister event in shutdown. I have used same code in my plugin but I am unable to capture the startup nad shutdown event of Photoshop. On clicking the menu item of my plugin the calls come inside the AutoPluginMain but during the startup or shutdown of plugin, the calls does not come inside the AutoPluginMain.
    I am unable to detect the cause of the problem. Can someone please giude me??
    Thanks in advance.

    Hi Tom,
    Thanks for the suggestion.
    Yes, I am working on Windows. As you suggested, I compiled .rc file but the compile option for .r file was disabled. After compiling the .rc file, I again rebuild the complete project and tested my build. But still I was not able to achive the desired result.
    Any other thing that I need to do to make it work?
    Thanks

  • How to resize and change the resolution of a batch of photos using Automator

    I searched for a long time tonight looking for the answer to this (seemingly) simple question:
    How do I use Automator to scale and change the resolution of a batch of images?
    It was not so simple.
    Links to this question:
    https://discussions.apple.com/message/12341246#12341246
    https://discussions.apple.com/message/12342026#12342026
    https://discussions.apple.com/message/5785047#5785047
    https://discussions.apple.com/message/1173358#1173358
    https://discussions.apple.com/message/5641853#5641853
    https://discussions.apple.com/message/3207516#3207516
    These are just the links on this site - I found them all over the place at MacRumors, Apple Tips, Mac Help, etc.
    You can actually manage this in Automator.
    Here are the steps that worked for me:
    Create an Automator APPLICATION - not a workflow (this is due to the way that I'm batch converting images - workflows might be ok for some cases)
    Step 1 is Copy Finder Items
    My flow inserts an SD card, opens the DCIM folder that my Nikon creates, selecting the images that I click (command + click to multi-select) and once I have the photos highlighted, I drag them onto this Automator App we're creating.
    <==  You'll have this guy soon!
    As a result - I want to copy the originals to my computer as step 1.  I don't touch the originals on the SD card (and cards are cheap so I tend to leave them on the cards as well)
    Step 2 is the Scale Images action - you can search the library for this and find it quickly.  For my part, I found that scaling images to about 38.8 percent of their size on the SD card is good for uploading to a blog.  Change this value to whatever you wish.
    Step 3 is Run Shell Script - and here is where we marry the brilliance found at this link with our script.If you have a hard time reading the text in the image, it is as follows:
    #bin/bash
    for f in "$@"
    do
         /usr/bin/sips -s dpiHeight 72.0 -s dpiWidth 72.0 $f
    done
    Save this application (I named mine "Format Photos")
    Place the application inside the target folder where you want the images to end up.  I do this because when I have the SD card window open, I can also open my "Photos" window and see my App sitting there.  I select my images as I mentioned and drag them on top of this app.  The app copies the originals and the conversions into the folder.
    NOTES: When you open a converted pic in Preview, you will see Resolution = 300 dpi if you go to Tools --> Adjust Size...  This reading is explained by another brilliant discussion as sips only touches the JFIF properties inside the file's MetaData.  However, if you look at the bottom of the Adjust Size... window, you'll see the image size is probably around 500 kb (give or take depending on the original).  My goal was to get the images down from the 3.0 MB I shoot at to around 500 kb.  Therefore even though the MetaData still thinks that it is 300 DPI according to Preview, it has been changed to 72 (open it in some other applications mentioned at the links and you'll find different readings - it all depends on what the application reads from the Meta).
    This does not rename the files, so you'll get DSC_1000.jpg and DSC_1000 copy.jpg in all likelihood.  If that annoys you, add a step into the Automator Application that renames the file after the "Run Shell Script" action has run, and you can have each file renamed according to some convention that you like.
    This took a heck of a lot longer than I expected - so I decided to put in the effort to share this with the community and save others the hassle. 

    PPI is pixels per inch of the image.  It is difficult to increase resolution as you are trying to add data that is not there.
    But for printing purposes what you want is dpi or dots per inch.
    The image processor either accessed from Bridge (tools/photoshp) or PS is a good way to change a batch of images.

  • A tree-view in HTML page with nodes generated with java script in run time is not visible in the UI Automation Tree. Need Help

    I have a HTML page with an IFrame. Inside the Iframe there is a table with a tree view
    <iframe>
    <table>
    <tr>
    <td>
    <treeview id="tv1"></treeview>
    </td>
    </tr>
    </table>
    </iframe>
    In UIA, i am able to traverse till the tree view but not able to see it.
    I have used the TreeWalker.RawViewWalker Field to traverse the node from the desktop Automation.RootElement. 
    I tried to use AutomationElement.FromPoint method to check whether i am able to get that element. Fortunately i was able to get the automation element. 
    i tried to get the path to root element from the node element using the TreeWalker.RawViewWalker. I was able to get the parent path to the root element.
    But trying the reverse way like navigating from root element to tree node, was not getting the element for me. 
    Please help me with suggestions or inputs to resolve this issue. 

    Thanks Bernard,
    It works fine with JInitiator but not working with
    the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
    i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
    Thx and Regards
    dkklau

  • Error while invoking a automated activity

    Hello,
    I don't know whether this is the correct quesiton to this forum but since I am getting error in NW BPM process, I am writing it here.
    I have created a process which is getting triggered by WS call. The first step after start is automated activity where a call to SAP is made via a sync proxy.
    When I tried to execute the entire BPM process, I am getting the error in BPM Logs as
    "A technical error during invocation: Could not invoke service reference name
    eb7cf84e-f05c-41c4-940a-8f95113179f3, component name
    example.org~<DC Name>~BPMcomponent"
    Actually 2 things I did as a part of correction, the first is to set the communicaiton protocol is XI in the service reference of an outbound service interface that is used to call SAP system and change the interface pattern of its inbound interface to XI3.0 compatible. as suggested by Udo Martens in one of his blog. Also the inbound interface in the start step is of XI3.0 compatible.
    I re-deployed the project which I verified by going through NWA logs and also checked the configuration as given in blog. I have collaboration agreement done in PI where Sender is SOAP communication channel with XI protocol and it is as per the sender defined into the service reference.
    Sending a message from SAP NetWeaver BPM process to PI fails via automated activity - Technology Troubleshooting Guide -…
    Also I read one thread where it was resolved by clearing JCO caches but it seems the call was RFC call unlike in my case it is proxy call.
    "Could not invoke service reference" for automated activity (RFC call)
    Any clue what could have went wrong. I could see a cache issue here. But how to clear BPM cache.I couldn't find such option on NWA.
    Thanks in advance.
    Regards

    Hi Ameet,
    I'm facing same error,
    Could you  tell me how to apply the solution? Please.
    Thanks in advantage,
    Regards.

  • Error: Automation Error while creating a new app

    Hello Experts,
    Have installed FDM on one of our servers and trying to create a new application.
    Getting the following Error:
    Error: Automation Error. The System cannot find the file specified.
    We are using Oracle OLE DB Provider.
    Kindly Advise.
    Edited by: user7313376 on Apr 16, 2009 12:23 PM

    Check the path of the application and if its installed on server,pl check whether you have access to that path.
    If not get full access.

  • How do I create an automator task to run TimeMachine at only certain hours?

    Hi
    In another forum it was suggested I make an Automator task for setting TimeMachine to only run at certain hours of the day.
    I've not used Automator in the past.
    I'd like to set it to run TimeMachine from only 1AM to 7 AM.
    Can anyone point me to a good source to figure out how to do this?  Or just share with me how to write the task?
    Thanks

    You might look at this program.
    TimeMachineEditor - Time Software - Free

  • Error in installing Workbench 8.2. Trial..

    Trying to install the Lifecycle ES trial....Followed the recommendation to install Acrobat 9 Pro extended first... this worked...
    Installing the Workbench produces the following error. This is after putting in the serial number...and the installer having produced an installshield dialog box with command line options, and having pressed next on the release notes agreement..
    (Aug 7, 2008 10:18:52 AM), Install, com.adobe.installshieldx.installer.wizard.DesignerProductAction, err, An error occurred and product installation failed. Look at the log file J:\Program Files\Adobe\LiveCycle ES\Workbench ES\log.txt for details.
    (Aug 7, 2008 10:18:52 AM), Install, com.adobe.installshieldx.installer.wizard.DesignerProductAction, err, ProductException: (error code = 200; message="Java error"; exception = [ProductException: (error code = 1203; message="Designer installation failure.")])
    STACK_TRACE: 12
    ProductException: (error code = 200; message="Java error"; exception = [ProductException: (error code = 1203; message="Designer installation failure.")])
    at com.adobe.installshieldx.installer.wizard.DesignerProductAction.install(Unknown Source)
    at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction (PureJavaProductServiceImpl.java:2969)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getRe sultForProductAction(PureJavaProductServiceImpl.java:8048)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableCompon ents(Unknown Source)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unkn own Source)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.insta ll(PureJavaProductServiceImpl.java:7199)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Pu reJavaProductServiceImpl.java:5240)
    at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    What does this mean ? and what if anything can I do about it...

    I am facing the same problem. I have ensured that I have followed all the steps given in the installation mannual. This clearly indicates there is some thing wrong with the workbench installble (trail version). I do not know is it by design (intentionally done by Adobe it self). If it is so, its shame on Adobe.

  • Automated Tasks in Photoshop or using Adobe Bridge

    I have recently transfered to CS3 and am having problems using the automated tasks. Normally with CS2 i would select pictures in bridge and then hit the Tools-Photoshop-Image Processor to switch over a series of files from one format to another. When I try to do the same thing with CS3 nothing happens, the photoshop screen comes up empty and i do not get the image processor message. I would appreciate any advice. thanks
    R. Silveston
    ps: I am using a pc

    Try asking in the PS Elements forum.
    http://forums.adobe.com/community/photoshop_elements

  • Photoshop CC 2014   Bridge CC: automated tasks missing

    I Have downloaded the new Photoshop CC 2014 and updated to Bridge CC. I am no longer able to run automated tasks from Bridge in Photoshop because the "photoshop" submenu is no longer available under tools… unistalling en reinstalling brings no avail. I'm now back to Photoshop CS6 and Bridge CS6… I just would like to know: Am I doing something wrong or is this a bug that hopefully will soon get fixed?

    Please post queries regarding Adobe Bridge over at
    Bridge General Discussion

  • Can not find the Automation Folder.... neither its Key Command...HELP

    I would be grateful to anyone who could find a solution to the following issue:
    I have read in Logic's 7.2.3 help reference about track automation folder. The sort of arrange window that seems to lurk behind the main arrange page and the place where you can treat the automation data as proper region material. I have tried everything, .. there does not seem to be any key command of the sort, more over I can not find any other way that could give me access to such an editor like the Automation Folder.
    Thank you for reading this.
    Nik

    • 1 • If you choose 'New Track' from the Menu, or use Control-Click-&-hold, you can select from the various options.
    • 2 • No, you don't need to do anything — it's entirely voluntary… I feel guilty for even mentioning it… I just thought that since you seem to be genuinely grateful for the help you have been getting, you had probably not read the article fully. I see that you have just had a useful reply from John Alcock, so now's your chance!

Maybe you are looking for

  • Filtering IMAP folders in Mail

    In many IMAP account there are folders I don't want to synchronize (for example "All Mails" in GMail, "Public Folders" in my company, etc.). How to exclude these folder in Mail? I searched forums for solutions but they doesn't work or are unappliable

  • Log4j and Jboss are acting weird

    This question is reagards to Log4j and JBoss and I thought this is the best place to ask this question. I am using Jboss 3.2.3. My purpose was to log messages in a seperate file "developer.log" using Log4j. These messages has to be logged in this fil

  • FAQ: How do I choose the right sequence settings?

    In general, the settings of a sequence should match those of the primary footage type in the sequence. Though Premiere Pro can mix footage of various types in a sequence and compensate for differences in characteristics, performance and quality are m

  • An example of simply atrocious code

    Holy crap... I honestly cannot believe that someone coded this. It's like there was an earthquake in the block diagram and the programmer was on LSD. It seems more like he was trying to paint a picture rather than write code. There is literally subVI

  • Any Java API for dumping database?

    As far as I know, the normal way to dump a database is to execute some command on the console. Is there any Java API for dumping a database, so that the operation can be wrapped in the code? The database system that I'm using is MySQL. Please help. T