Applescript for running specific action from action wizard...

Hi Forum,
using this applescript I m running my "INDEGN" action from action wizard...
the first step is activated through the applescript.. (ie. INDEGN action is correctly picked)
but how to "click next button" to proceed to next steps..
tell application "System Events"
    tell application process "Acrobat"
        tell application "Adobe Acrobat Pro" to activate
        click the menu item "INDEGN" of menu 1 of menu item "Action Wizard" of the menu "File" of menu bar 1  ## here it is not cliking next button.....
        click button "Next" of window "Action: INDEGN"
click button "Close" of window "Action: INDEGN"
    end tell
end tell
many thanks for the support..

HI DAVE,
thanks for the reply,,
Is there any other way to run "my action" from action wizard. using script....
Would be  a great help if advised....
Many thanks...

Similar Messages

  • "Can't get Action from Action Reference"?

    I really can't figure out why I get java.lang.IllegalArgumentException with "Can't get Action from Action Reference: BeanName.actionName" message. I specified all properties in faces-config.xml. Bean and its action names are all checked several times, but I still get that exception. Is it a JSF bug, or my simple mistake? Is there anyone who experienced the same problem?
    I'm using two forms in one page. all components' ids are all different. Only one form generated the exception not regarding the order of the forms. (the one is login form and the other (which doesn't generate exception) is leave-comment form.)
    Here is the form code:
                   <h:form id="loginForm" formName="loginForm" >
                        Login >
                        <h:input_text id="loginUserName" valueRef="UserBean.userName">
                             <f:attribute name="style" value="width:64px;"/>
                        </h:input_text>
                        |
                        Password >
                        <h:input_secret id="loginPassword" valueRef="UserBean.password">
                             <f:attribute name="style" value="width:64px;"/>
                        </h:input_secret>
                        |
                        <h:command_button id="loginSubmit" label="login" commandName="loginSubmit" actionRef="UserBean.loginAction" />
                   </h:form>
    and here is managed-bean part:
    <managed-bean>
         <managed-bean-name>UserBean</manager-bean-name>
              <managed-bean-class>
                   net.gleamynode.notes.http.faces.UserBean
              </managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>idStr</property-name>
    <null-value/>
    </managed-property>
    <managed-property>
    <property-name>userName</property-name>
    <null-value/>
    </managed-property>
              <managed-property>
                   <property-name>password</property-name>
                   <null-value/>
              </managed-property>
         </managed-bean>
    Thanks in advance!

    here goes the source code of NotesBean:
    abstract class NotesBean {
         protected static final String SUCCESS = "success";
         protected static final String FAILURE = "failure";
         private String connectionProfile;
         protected NotesBean() {}
         public String getConnectionProfile() {
              return connectionProfile;
         public void setConnectionProfile(String newProfileName) {
              connectionProfile = newProfileName;
         public abstract Action getCreateAction();
         public abstract Action getDeleteAction();
         public abstract Action getUpdateAction();
         protected Connection getConnection() throws NotesException {
              ConnectionProfile profile = ConnectionProfileFactory.getProfile(connectionProfile);
              return DriverManager.getConnection(profile.getUrl(), profile.getProperties());
    }I think everything is ok with the beans, right?
    By the way: shouldn�t the error message be:
    "Can't get Action from Action Reference: UserBean.loginAction"I just examplified the message using somewhat generic name. Sorry for confusion :)
    As a final try, here is the whole JSP code: (ignore korean texts)
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://gleamynode.net/notes" prefix="notes" %>
    <html>
    <head>
         <title>gleamynode.net :: gathering of my mentality</title>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
         <link rel="stylesheet" HREF="css/gleamynode.css" type="text/css" />
    </head>
    <body>
    <f:use_faces>
    <notes:useNotes>
         <c:choose>
              <c:when test="${empty param['id']}">
                   <notes:getPages var="pages" />
                   <c:forEach var="p" items="${pages}" begin="0" end="0">
                        <c:set var="p" value="${p}" scope="request"/>
                   </c:forEach>
              </c:when>
              <c:otherwise>
                   <notes:getPage var="p" pageId="${param['id']}" />
              </c:otherwise>
         </c:choose>
         <div id="header">
              <h:command_hyperlink href="index.jsp" label="gleamynode.net :: gathering of my mentality"/>
         </div>
         <div id="menu">
              About | Essays | Projects | Others | Links
         </div>
         <div id="content">
              <div id="page">
                   <div id="pageTitle">
                        #${p.id}. ${p.title}
                   </div>
                   <div id="pageContent">
                        ${p.content}
                        <div id="pageTimestamp">
                             ${p.timestamp}
                        </div>
                   </div>
              </div>
              <c:choose>
                   <c:when test="${fn:length(p.comments) > 0}">
                        <div id="comments">
                             <div id="teaser">
                                  ${fn:length(p.comments)} ?? ??? ????
                             </div>
                             <c:forEach var="c" items="${p.comments}">
                                  <div id="commentHeader">
                                       #${c.id}. ${c.userName}
                                  </div>
                                  <div id="commentContent">
                                       ${c.content}
                                       <div id="commentTimestamp">
                                            ${c.timestamp}
                                       </div>
                                  </div>
                             </c:forEach>
                        </div>
                   </c:when>
              </c:choose>
              <div id="commentForm">
                   <jsp:useBean id="CommentBean" class="net.gleamynode.notes.http.faces.CommentBean" scope="request" />
                   <jsp:setProperty name="CommentBean" property="pageIdStr" value="${p.id}"/>
                   <jsp:setProperty name="CommentBean" property="content" value=""/>
                   <div id="teaser">
                   </div>
                   <h:form id="commmentForm" formName="commentForm" >
                        <input type="hidden" name="id" value="${p.id}"/>
                        <h:input_hidden id="pageId" valueRef="CommentBean.pageIdStr"/>
                        <table width="95%">
                             <tr>
                                  <td class="name" width="9%">Name:</td>
                                  <td class="value" width="25%">
                                       <h:input_text id="userName" valueRef="CommentBean.userName">
                                            <f:attribute name="style" value="width:75%;"/>
                                       </h:input_text>
                                  </td>
                                  <td class="name" width="8%">Email:</td>
                                  <td class="value" width="25%">
                                       <h:input_text id="userEmail" valueRef="CommentBean.userEmail">
                                            <f:attribute name="style" value="width:75%;"/>
                                       </h:input_text>
                                  </td>
                                  <td class="name" width="8%">URL:</td>
                                  <td class="value" width="25%">
                                       <h:input_text id="userURL" valueRef="CommentBean.userURL">
                                            <f:attribute name="style" value="width:100%;"/>
                                       </h:input_text>
                                  </td>
                             </tr>
                             <tr>
                                  <td colspan="6">
                                       <h:input_textarea id="content" valueRef="CommentBean.content">
                                            <f:attribute name="style" value="width:100%; height: 12em;"/>
                                       </h:input_textarea>
                                  </td>
                             </tr>
                             <tr>
                                  <td class="buttons" colspan="6">
                                       <h:command_button id="submit" label="leave a comment" commandName="submit" actionRef="CommentBean.createAction" />
                                  </td>
                             </tr>
                        </table>
                   </h:form>
              </div>
              <div id="loginForm">
                   <div id="teaser">
                   </div>
                   <h:form id="loginForm" formName="loginForm" >
                        Login >
                        <h:input_text id="loginUserName" valueRef="UserBean.userName">
                             <f:attribute name="style" value="width:64px;"/>
                        </h:input_text>
                        |
                        Password >
                        <h:input_secret id="loginPassword" valueRef="UserBean.password">
                             <f:attribute name="style" value="width:64px;"/>
                        </h:input_secret>
                        |
                        <h:command_button id="loginSubmit" label="login" commandName="loginSubmit" actionRef="UserBean.loginAction" />
                   </h:form>
              </div>
              <div id="copyright">
                   Copyright � 1999~ by Trustin Lee, All Rights Reserved.
              </div>
         </div>
         <div id="footer">
         </div>
    </notes:useNotes>
    </f:use_faces>
    </body>
    </html>and, here is the whole faces-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC
              "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
              "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
        <navigation-rule>
            <from-tree-id>/index.jsp</from-tree-id>
            <navigation-case>
                <from-outcome>success</from-outcome>
                <to-tree-id>/index.jsp</to-tree-id>
            </navigation-case>
            <navigation-case>
                <from-outcome>failure</from-outcome>
                <to-tree-id>/failure.jsp</to-tree-id>
            </navigation-case>
        </navigation-rule>
         <managed-bean>
              <managed-bean-name>PageBean</managed-bean-name>
              <managed-bean-class>
                   net.gleamynode.notes.http.faces.PageBean
              </managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
            <managed-property>
                <property-name>idStr</property-name>
                <null-value/>
            </managed-property>
              <managed-property>
                   <property-name>title</property-name>
                   <null-value/>
              </managed-property>
              <managed-property>
                   <property-name>content</property-name>
                   <null-value/>
              </managed-property>
         </managed-bean>
         <managed-bean>
              <managed-bean-name>CommentBean</managed-bean-name>
              <managed-bean-class>
                   net.gleamynode.notes.http.faces.CommentBean
              </managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
            <managed-property>
                <property-name>idStr</property-name>
                <null-value/>
            </managed-property>
            <managed-property>
                <property-name>pageIdStr</property-name>
                <null-value/>
            </managed-property>
              <managed-property>
                   <property-name>userName</property-name>
                   <null-value/>
              </managed-property>
              <managed-property>
                   <property-name>userEmail</property-name>
                   <null-value/>
              </managed-property>
              <managed-property>
                   <property-name>userURL</property-name>
                   <null-value/>
              </managed-property>
              <managed-property>
                   <property-name>content</property-name>
                   <null-value/>
              </managed-property>
         </managed-bean>
        <managed-bean>
             <managed-bean-name>UserBean</manager-bean-name>
              <managed-bean-class>
                   net.gleamynode.notes.http.faces.UserBean
              </managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
            <managed-property>
                <property-name>idStr</property-name>
                <null-value/>
            </managed-property>
            <managed-property>
                <property-name>userName</property-name>
                <null-value/>
            </managed-property>
              <managed-property>
                   <property-name>password</property-name>
                   <null-value/>
              </managed-property>
         </managed-bean>
    </faces-config>Thank you for your continuous help, Rene! Learned alot from you about JSF :)

  • AppleScript for renaming new folders from filenames??

    I want to put a bunch of files in their own individual folders with the foldername matching the file inside without the file extension.
    So say I select 30 files > create folder for each file > move these files into their own folder > name the folder the filename w/o extension
    I want to be able to do this with a single file or a batch. I've been messing around in Automator but haven't achieved what I want to do fully. I'd greatly appreciate anyone's help with this Thanks!!

    You can use Automator to create a Service, and place a script in a Run AppleScript action, for example:
    Service receives selected files or folders in Finder
    Run AppleScript:
    on run {input, parameters} -- create folders from file names and move
      set output to {} -- this will be a list of the moved files
      repeat with anItem in the input -- step through each item in the input
        set {theContainer, theName, theExtension} to (getTheNames from anItem)
        try
          set destination to (makeNewFolder for theName at theContainer)
          tell application "Finder"
            move anItem to destination
            set the end of the output to the result as alias -- success
          end tell
        on error errorMessage -- duplicate name, permissions, etc
          log errorMessage
          # handle errors if desired - just skip for now
        end try
      end repeat
      return the output -- pass on the results to following actions
    end run
    to getTheNames from someItem -- get a container, name, and extension from a file item
      tell application "System Events" to tell disk item (someItem as text)
        set theContainer to the path of the container
        set {theName, theExtension} to {name, name extension}
      end tell
      if theExtension is not "" then
        set theName to text 1 thru -((count theExtension) + 2) of theName -- just the name part
        set theExtension to "." & theExtension
      end if
      return {theContainer, theName, theExtension}
    end getTheNames
    to makeNewFolder for theChild at theParent -- make a new child folder at the parent location if it doesn't already exist
      set theParent to theParent as text
      if theParent begins with "/" then set theParent to theParent as POSIX file as text
      try
        return (theParent & theChild) as alias
      on error errorMessage -- no folder
        tell application "Finder" to make new folder at theParent with properties {name:theChild}
        return the result as alias
      end try
    end makeNewFolder

  • Applescript for running sudo commands in terminal

    I'm a newbie when it comes to Applescript and was wondering if someone could help with a basic request. I need to write a small script to do the following:
    1. Launch terminal
    2. Run the 'Sudo -s' command
    3. Enter the administrator password (in plain text)
    and then
    4. run some sudo commands like "sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add administrator"
    I actually WANT the administrator password to be in the script in plain text even though I understand the security risks (I will literally be the only person to ever see the script). I've trawled forums all over but can't seem to find what I am looking for and cannot get it working by patching together the various commands I have found. Thanks in advance for any help you can give!
    Sean

    I've included two examples.  The preferred way & the hacker way.
    with administrator
    It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on.  Here is an example.
        Author: rccharles
        For testing, run in the Script Editor.
          1) Click on the Event Log tab to see the output from the log statement
          2) Click on Run
        For running shell commands see:
        http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
    on run
        -- Write a message into the event log.
        log "  --- Starting on " & ((current date) as string) & " --- "
        --  debug lines
        set unixDesktopPath to POSIX path of "/System/Library/User Template/"
        log "unixDesktopPath = " & unixDesktopPath
        set quotedUnixDesktopPath to quoted form of unixDesktopPath
        log "quoted form is " & quotedUnixDesktopPath
        try
            set fromUnix to do shell script "sudo ls -l  " & quotedUnixDesktopPath with administrator privileges
            display dialog "ls -l of " & quotedUnixDesktopPath & return & fromUnix
        on error errMsg
            log "ls -l error..." & errMsg
        end try
    end run
    This version has an inline password.
    Notice the echo 'password' |
    The single quotes are no accident.
    It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on.  Here is an example.
        Author: rccharles
        For testing, run in the Script Editor.
          1) Click on the Event Log tab to see the output from the log statement
          2) Click on Run
        For running shell commands see:
        http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
    on run
        -- Write a message into the event log.
        log "  --- Starting on " & ((current date) as string) & " --- "
        --  debug lines
        set unixDesktopPath to POSIX path of "/System/Library/User Template/"
        log "unixDesktopPath = " & unixDesktopPath
        set quotedUnixDesktopPath to quoted form of unixDesktopPath
        log "quoted form is " & quotedUnixDesktopPath
        try
            set fromUnix to do shell script "echo 'password' | sudo ls -l  " & quotedUnixDesktopPath
            display dialog "ls -l of " & quotedUnixDesktopPath & return & fromUnix
        on error errMsg
            log "ls -l error..." & errMsg
        end try
    end run

  • Valid sesion for run jython script from a plan

    If I run a cr_clij script i have to do
    app.execStr('udb.login -u user -p password') once and do not produce the login information anymore.
    It is possible to do the same with the sessionID, if I run the script from a plan on the BUI? Or do I have to add the '-s sessionID' option to all clui commands?
    Thanks

    Hi TemPart:
    string cmdArg = “C:\\Scripts\\test.ps1″;
    Runspace runspace = RunspaceFactory.CreateRunspace();
    runspace.Open();
    Pipeline pipeline = runspace.CreatePipeline();
    pipeline.Commands.AddScript(cmdArg);
    Collection [PSObject] results = pipeline.Invoke(); // please Update [] bracket with less then and greater then bracket
    runspace.Close();
    Had to modify this slightly:
    string cmdArg = “Powershell.exe -file C:\\Scripts\\test.ps1″;
    Runspace runspace = RunspaceFactory.CreateRunspace();
    runspace.Open();
    Pipeline pipeline = runspace.CreatePipeline();
    pipeline.Commands.AddScript(cmdArg);
    Collection [PSObject] results = pipeline.Invoke(); // please Update [] bracket with less then and greater then bracket
    runspace.Close();
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • Applescript for "remove email copies from server"

    I have an email POP account which I use on several computers as well as my cell phone.
    I'm looking for an applescript which I could place on the desktop of my primary computer which essentially performs the action located @ accounts> advanced> remove copies from server>"remove now" so that I could delete the emails I've already reviewed from my server before having them picked up by my other computers and phone.
    Anyone seen something like this?

    Is there an applescript command that will delete a message from the server.
    I have a lot of rules that route my emails when they come in but I do not want to delete them from the server when they are moved from the inbox. This allows me to rout my messages on my desktp and still recieve them on my iphone.
    However I do want to delete any messages "from the server" that are routed to my junk mail. This will save me from having to deal with them on my iphone and since they are in my junk I can look there if I suspect a false positive.
    Is there any such ability with applescript?

  • Getting name of action from action guid

    Hi ,
    Can we get name of action excuted from the action guid generated at runtime ... is there any table or someway we can get this ?
    Thanks Vaibhav

    Hi,
    You can refer the table PPFTTRIGG in CRM.
    This will list the action profile and action definitions based on the GUID details.
    Regards,
    PP

  • Possible to delete Offline Files content for a specific user from the Client Side Cache (CSC) ?.

    Hello Everyone,
    We would like to implement a script to delete the offline files in the Client Side Cache (CSC) for a nominated user (on Windows 7 x64 enterprise).
    I am aware that;
    1. We can use a registry value to flush the entire CNC cache (for all users) next time the machine reboots.
    2. If we delete the user's local profile it appears that Windows 7 also removes their content from the local CSC.
    However, we would like to just delete the CSC content for a particular nominated user without having to delete their local user profile.
    In our environment we have many users that share workstations but only use them occasionally. We don't use roaming profile so we would like to retain all the users' local profiles but still delete the CSC content for any users that haven't
    logged on in a week.
    Any ideas or info would be appreciated !
    Thanks, Makes

    Hi,
    I don't think this is possible.
    If you want to achieve it via script, I suggest you post it in official script forum for more professional help:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Karen Hu
    TechNet Community Support

  • Using applescript to run a whois from an ip address

    I need to be able to automatically look up IP addresses to get their location and registration information. I notice the network Utilities, which performs the function well manually, has no dictionary for apple script. Can anyone tell me if and how this could be done by apple script
    Thanks

    Thanks yes I have that bit but where does the answer go lol
    Like any AppleScript command, the output of the last command is stored in the variable result. In this case the output of the shell command is the result of the do shell script command.
    This makes it trivial to assign to any variable for later use, e.g.:
    do shell script "whois 1.2.3.4" -- result of command implicitly stored in the result
    set myVariableName to the result -- store the result for later use
    or, more succinctly:
    set myVariableName to (do shell script "whois 1.2.3.4")
    (parentheses are optional, but added for clarity)
    in the latter example, the command is executed and the result assigned to myVariableName.
    The same techniques can be used for any AppleScript command that returns a value.

  • Unwanted events are also logged in the view created for a specific target from the rules created using its base target

    I have created Event or Alert view using a target "My.Target" which is derived from a base target "Windows Server".
    All the events or alerts are captured correctly from the servers discovered by "My.Target" but the same view also shows the events and alerts from other servers which has a rule created with a base target "Windows Server".
    Is there any option to filter the base target at view level other than using a custom field as it doesn't work for the alerts generated using "Monitors".
    Any help would be greatly appreciated.
    Thanks in advance.

    There is a class "My.Servers" derived from "Microsoft.Windows.Server.Computer" as below -
      <TypeDefinitions>
        <EntityTypes>
          <ClassTypes>
            <ClassType ID="My.Servers" Accessibility="Public" Abstract="false" Base="MicrosoftWindowsLibrary!Microsoft.Windows.Server.Computer" Hosted="false" Singleton="false" Extension="false">
              <Property ID="Name" Type="string" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" />          
            </ClassType>
          </ClassTypes>
        </EntityTypes>
      </TypeDefinitions>
    There is a discovery "MyServersDiscovery" to discover servers with presence of some registry key as below -
    <Monitoring>
        <Discoveries>
          <Discovery ID="MyServersDiscovery" Enabled="true" Target="MicrosoftWindowsLibrary!Microsoft.Windows.Server.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryClass TypeID="My.Servers">
                <Property TypeID="My.Servers" PropertyID="Name" />
              </DiscoveryClass>
            </DiscoveryTypes>
            <DataSource ID="Name.AttributeDiscovery" TypeID="MicrosoftWindowsLibrary!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
              <ComputerName>$Target/Property[Type="MicrosoftWindowsLibrary!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
              <RegistryAttributeDefinitions>
                <RegistryAttributeDefinition>
                  <AttributeName>Name</AttributeName>
                  <Path>SOFTWARE\MyRegKey</Path>
                  <PathType>0</PathType>
                  <AttributeType>0</AttributeType>
                </RegistryAttributeDefinition>
              </RegistryAttributeDefinitions>
              <Frequency>300</Frequency>
              <ClassId>$MPElement[Name="My.Servers"]$</ClassId>
              <InstanceSettings>
                <Settings>
                  <Setting>
                    <Name>$MPElement[Name="MicrosoftWindowsLibrary!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                    <Value>$Target/Property[Type="MicrosoftWindowsLibrary!Microsoft.Windows.Computer"]/PrincipalName$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="SystemLibrary!System.Entity"]/DisplayName$</Name>
                    <Value>$Target/Property[Type="SystemLibrary!System.Entity"]/DisplayName$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="My.Servers"]/Name$</Name>
                    <Value>$Data/Values/Name$</Value>
                  </Setting>
                </Settings>
              </InstanceSettings>
              </Expression>         
            </DataSource>
          </Discovery>
    </Monitoring>
    Created 2 views "My.Alert.View" and "My.Event.View" with Target "My.Servers" as below -
     <Presentation>
        <Views>
          <View ID="My.Alert.View" Accessibility="Public" Enabled="true" Target="My.Servers" TypeID="SystemCenter!Microsoft.SystemCenter.AlertViewType" Visible="true">
            <Category>Operations</Category>
          </View>
          <View ID="My.Event.View" Accessibility="Public" Enabled="true" Target="My.Servers" TypeID="SystemCenter!Microsoft.SystemCenter.EventViewType" Visible="true">
            <Category>Operations</Category>
          </View>
    </Views>
    </Presentation>
    The above views display events and alerts generated by rules targeted on the serves discovered with "MyServersDiscovery" correctly.
    The major issue here is - if there is a rule in same or any other management pack for which the target is "Windows Server", the alert or event generated by that rule is also shown in these views which is not expected.
    It seems it is because the target for "My.Alert.View" and "My.Event.View" is "My.Servers" which is dervied from "Microsoft.Windows.Server.Computer" so by default all the rules targeted on its base class "Microsoft.Windows.Server.Computer" are also visible
    here.
    Is there any way to avoid this?

  • Applescript to run "action" in action wizard

    Hi Forum,
    using this applescript I m running my "INDEGN" action from action wizard...
    the first step is activated through the applescript.. (ie. INDEGN action is correctly picked)
    but how to "click next button" to proceed to next steps..
    tell application "System Events"
        tell application process "Acrobat"
            tell application "Adobe Acrobat Pro" to activate
            click the menu item "INDEGN" of menu 1 of menu item "Action Wizard" of the menu "File" of menu bar 1  ## here it is not cliking next button.....
            click button "Next" of window "Action: INDEGN"
    click button "Close" of window "Action: INDEGN"
        end tell
    end tell
    many thanks for the support..

    Hello Rajinik,
    I found your question in the forum and I am exactly in the same situation...
    I hace some actions defined in Acrobat X Pro and I would like to execute them just by saving a file in a folder, but it seems something difficult to achieve.
    Did you find any help on this or another forum to resolve it?
    Searching for some info, i found a website with some info about a way to automatically OCR the pdf pages through theaction wizard, but it didn´t worked in my Mac. Search in Google "OCR This"
    Thanks and Regards
    Johanet

  • Run multiple reports from PL/SQL

    I am planning to run reports from a PL/SQL batch program. My requirement is i need to generate multiple(around 50) reports with only a difference in one numeric parameter which will go from 1 to 50. I am planning to invoke the report inside a loop which goes from 1..50. I heard that i need to use a utl_http package which i havent used till now. Does somone has a sample code for running a report from pl/sql. i need it ASAP. Thanks in advance

    hi rejesh,
    we have an pl/sql API in reports to do exactly what you want to do.
    The Reports Event Driven Publishing API
    find the documentation including examples in the reports getting
    started on technet.
    http://otn.oracle.com/products/reports/htdocs/getstart/docs/a92102_01.pdf
    Chapter 11
    regards,
    christian

  • [svn] 3039: Add targets for running FindBugs

    Revision: 3039
    Author: [email protected]
    Date: 2008-08-29 08:31:13 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Add targets for running FindBugs
    download from http://findbugs.sourceforge.net/
    targets assume findbugs in modules\asc\build\java\lib\tools\findbugs
    new targets:
    findbugs: run findbugs on asc source
    findbugs-report: create html report and launch gui viewer
    Modified Paths:
    flex/sdk/trunk/modules/asc/build/java/build.xml

    Revision: 3039
    Author: [email protected]
    Date: 2008-08-29 08:31:13 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Add targets for running FindBugs
    download from http://findbugs.sourceforge.net/
    targets assume findbugs in modules\asc\build\java\lib\tools\findbugs
    new targets:
    findbugs: run findbugs on asc source
    findbugs-report: create html report and launch gui viewer
    Modified Paths:
    flex/sdk/trunk/modules/asc/build/java/build.xml

  • Searching specific mails from pst in outlook

    Is there a script to search mails sent or received by specific users from the archive PST, then move those mails to a separate folder according to the user name.
    For instance let say i have 100000 emails and i have 4000 users. I need to separate according to the user name if username is present in From, To, CC or Subject of the mails.

    Hi,
    Generally, If we want to move specific mails(From User1) to a specific folder(User1), we can try the following steps:
    1. Open the Archive pst file in Outlook.
    2. Click the Inbox folder in Archive.
    3. Click View > From. Then all messages in Inbox folder would be viewed by coming from specific users.
    4. Right-click the user name, click Move > Other Folder…
    5. We can click New to create a new folder for these specific messages from the specific user, and move them to this new created folder.
    As for moving messages to 4000 users, maybe we can’t move them manually in Outlook. I don’t know whether we can create a script to achieve it in Outlook or not. I suggest we can ask a question in Script Center for more suggestions:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Running @Script.sql from inside C#

    I'm trying to include a script file as part of a deployment. I'm able to connect to my Oracle XE database in code and run stored procedures as well as text commands. My deployment will copy a script file into an install directory for later use. When the user activates history recording, I want to run this script file.
    I can run the script manually...@"C:\Program Files\History Setup\TestScript.sql"...without issue. Works just fine.
    Currently I recieve an invalid sql command error. At the moment I'm trying:
    Command.Connection = myconnection;
    Command.CommandText = @"@""C:\Program Files\History Setup\TestScript.sql""";
    Command.CommandType = CommandType.Text;
    try
    Connection.Open();
    Command.ExecuteNonQuerry;
    catch (Exception ex)
    error handling
    If anyone has advice for running script files from inside C#, it would be appreciated.

    The other Dennis is correct. You must cleanup the text.
    This should give you a start. I have had good results using the forward slash as a delimiter.
    r,
    dennis
    byte[] ba = GetFileContent("SomeFileName");
    string All_My_Statements = Encoding.UTF8.GetString(ba);
    ExecutScript(NetConnectionString, All_My_Statements);
            public void ExecuteScript(string _connectstring, string _final_statements)
                   string[] cmd_seq = _final_statements.Split(new char[] { '/' }, StringSplitOptions.RemoveEmptyEntries);
                for (int i = 0; i < cmd_seq.Length; i++)
                    string act_cmd = cmd_seq;
    string tmp = actcmd.Replace("\r\n", "");
    act_cmd = _tmp;
    if (act_cmd.Length > 2)
    try
    int r = ExecuteTextNonQuery(_connectstring, act_cmd);
    if (r == 1) // success
    LogThis("\tSuccess:" + act_cmd);
    else
    LogThis("\tExecuted:" + act_cmd);
    catch (OracleException) { LogThis("\tException:" + act_cmd); }
    catch (System.Exception) { LogThis("\tException:" + act_cmd); }
    public static byte[] GetFileContent(string f)
    byte[] ba = null;
    try
    System.IO.FileStream fs = new FileStream(f, FileMode.Open);
    System.IO.BinaryReader br = new BinaryReader(fs);
    ba = br.ReadBytes((int)fs.Length);
    br.Close();
    fs.Close();
    catch (System.Exception) { };
    return ba;
    public static int ExecuteTextNonQuery(string connectionString, string exec)
    int rtn_int = -1;
    using (OracleConnection oraconn = new OracleConnection(connectionString))
    string execcmd = exec;
    try
    _oraconn.Open();
    using (OracleCommand cmd = new OracleCommand(_execcmd, _oraconn))
    cmd.CommandType = CommandType.Text;
    rtn_int = cmd.ExecuteNonQuery();
    catch (OracleException _oraEx)
    throw (_oraEx); // Actually rethrow
    catch (System.Exception _sysEx)
    throw (_sysEx); // Actually rethrow
    finally
    if (_oraconn.State == ConnectionState.Broken || _oraconn.State == ConnectionState.Open)
    _oraconn.Close();
    } //using _conn
    return rtn_int;

Maybe you are looking for

  • Strange Value in DISPLAY variable

    Hello all, in order to access remote Linux machines, I am running X11 on my iMac. For some reason this does not work anymore when connecting (ssh) from a "regular" bash (application Terminal) but it still works when I am accessing from the xterm-bash

  • PC 10.0 Organization cenario and issues

    Hi all, I have the following cenario on GRC 10.0, at backend I have a created a user X on SU01 transation and at ROLE tab I did selected all the roles SAP_GRC* for this user. Them I created a new user user Y in the same way as a copy of the first one

  • Make a viewer () in Photoshop

    hi, i want to develop a viewer in photoshop. idea like this: when editting something, i want to preveiw what effect is it now. click [viewer], show the picture. i can Zoom in, Zoon out, to check detail. In viewer mode, everything is read only, all ph

  • Installing APEX without Oracle Text Option

    Hi, Is it possible to install APEX 3.1.2 or 3.2 without the Text Option? The doc says yes, but the apex help can´t be used. The last time i tried it on a customer side, i got an installation error (but i can´t remember the text of the error) After in

  • [OSB] Oracle Service Bus: select database DBadapter runtime

    Suppose you have 2 databases DB1 and DB2 and both have the SCOTT scheme with the EMP table. The default way to gain access to the databases in the Oracle Service Bus (OSB) is by defining 2 database adapters and defining a business service on each ada