Automating a set of commands

I want to run a small set of commands (these would be called actions in Photoshop) in an already open Acrobat 8 pdf file generated from Photoshop. I've looked at batch processing and that doesn't seem to be the way to go. In an already open file, I want to add printer marks and then crop the page to letter size. Is there a way to automate this process like I can in Photoshop?

Well, there is printer marks from the Print Production toolbar (not
automated) but the crop pages command is available within a fix-up which
could mean droplet capabilities.
If you want more than use Enfocus Pitstop - this can both crop and add
page objects at the same time ...
Jon

Similar Messages

  • ForEach not initiating Set-Mailbox Command

    Script retrieves all User Mailboxes where AuditEnabled equals false then it's supposed to set those users to "true" but for some reason it is skipping my Set-Mailbox command.  I know the variable I'm passing contains data so that's not the
    issue and I've tried different syntax but I'm missing something.
    #Mail Server Variables
    $FromAddress = "[email protected]"
    $RelayMailServer = "relay.domain.com"
    $ITSupportEmailAddress = "[email protected]"
    #Connect to Office 365
    $password = ConvertTo-SecureString "password" -AsPlainText -Force
    $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList [email protected],$password
    $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic -AllowRedirection
    $importresults = Import-PSSession $s
    $today = Get-Date -Format d
    # Define font and font size
    # ` or \ is an escape character in powershell
    $font = "<font size=`"3`" face=`"Calibri`">"
    $UsersList_AuditDisabled = @()
    $userslist_auditdisabled += Get-Mailbox -filter {RecipientTypeDetails -eq 'UserMailbox'-and AuditEnabled -eq $false} |select userprincipalname, auditenabled
    If ($UsersList_AuditDisabled -eq $null) {$UsersList_AuditDisabled = "No Users to Report"}
    else {
    $auditfile = "C:\Office365\AuditUsers.csv"
    $userslist_auditdisabled | sort userprincipalname | Export-Csv $auditfile -NoTypeInformation}
    $userslist_auditdisabled | ForEach
    Set-Mailbox $_.userprincipalname -AuditEnabled $true -ErrorAction 'SilentlyContinue'
    If ($UsersList_AuditDisabled){
    $msg = new-object Net.Mail.MailMessage
    $att = new-object Net.Mail.Attachment($auditfile)
    $smtp = new-object Net.Mail.SmtpClient($RelayMailServer)
    $msg.From = "[email protected]"
    $msg.To.Add("[email protected]")
    $msg.Subject = "Audit Users Enabled"
    $msg.Body = "Attached is the list of users who have Auditing Enabled."
    $msg.Attachments.Add($att)
    $msg.IsBodyHTML = $true
    $smtp.Send($msg)
    $att.Dispose()}
    Remove-PSSession $s
    #Clear all variables
    Clear-Variable audit* -scope global

    Hi,
    First thing - remove -ErrorAction SilentlyContinue from Set-Mailbox and run it again. Any errors?
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Setting the command prompt...

    Can anyone tell me what I would use to set the command prompt?
    On HP-UX, I would reset the PS1 variable...
    i.e. PS1="
    \$ID @ \$HOST | \$PWD
    --> "
    On Linux, I would reset it as follows:
    i.e. PS1="
    \u @ \h | \W
    --> "
    Neither of these seems to work here...
    I tried the following, and it give me the correct visual layout, but the values don't change when you change directories:
    i.e. PS1="
    `whoami` @ `uname -n` | `pwd`
    --> "
    Any help would be greatly appreciated...

    Hi,
    Changing Your Command Prompt
    The syntax you use to change your command prompt depends on whether you are using the Bourne,
    Korn or C shell.
    Bourne and Korn Shells
    For the Bourne or Korn shells, you redefine your command prompt with the PS1 command. The
    following are three examples:
    PS1=": "
    PS1="`hostname`: "
    PS1="`hostname`{`id`}}: "
    The first example sets the prompt to a colon (:), followed by a space.
    The second example creates a prompt consisting of your machine name followed by a colon and a
    space.
    The third example sets the prompt to your machine name, followed by your login name in braces
    {}, a colon, and a space.
    Type any of the examples above to change your current command prompt. The prompt will remain until
    you change it again, or logout.
    If you want to make your changes more permanent, add one of the above examples (or a prompt of your
    own creation) to your .profile file. If you do this, the prompt you specify will appear each time you
    login in or start a new shell.
    C Shell
    For the C shell, you personalize your command prompt with the set prompt command. The following
    are three examples:
    set prompt="% "
    set prompt="`hostname`\!: "
    set prompt="`hostname`{`id`}}: "
    The first example sets the prompt to the percent sign, followed by a space.
    The second example creates a prompt consisting of your machine name followed by the history
    number of the command (hostname1, hostname2, hostname3, and so on).
    The third example sets the prompt to your machine name, followed by your login name in braces, a
    colon, and a space.
    Type any of the examples above to change your current command prompt. The prompt will remain until
    you change it again, or logout.
    If you want to make your changes more permanent, add one of the above examples (or a prompt of your
    own creation) to your .cshrc file. If you do this, the prompt you specify will appear each time you login
    in or start a new shell.
    Revert back.
    Thanks.
    Senthilkumar
    SUN - DTS

  • How to set user command in module pool program

    hello expert,
    like in report: PARAMETERS: RB_SING RADIOBUTTON GROUP RAD3 DEFAULT 'X' USER-COMMAND C1.
    in module pool program, hw to set user-command in screen.
    srinivas

    PBO.
    Call subscreen <SUBSCREEN NAME> Including sy-repid(PROGRAM NAME) G_DYNNR(SCREEN NUMBER'.
    PAI
    module user_command.
    Call subscreen <subscreen name>
    Module user_command.
    case sy-ucomm.
    when 'BUT1'.
    g_dynnr = 200.
    when 'BUT2'.
    g_dynnr = 300.
    Endcase.
    end module
    REPORT demo_dynpro_tabstrip_server.
    CONTROLS mytabstrip TYPE TABSTRIP.
    DATA: ok_code TYPE sy-ucomm,
    save_ok TYPE sy-ucomm.
    DATA number TYPE sy-dynnr.
    mytabstrip-activetab = 'PUSH2'.
    number = '0120'.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE cancel INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command INPUT.
    save_ok = ok_code.
    CLEAR ok_code.
    IF save_ok = 'OK'.
    MESSAGE i888(sabapdocu) WITH 'MYTABSTRIP-ACTIVETAB ='
    mytabstrip-activetab.
    ELSE.
    mytabstrip-activetab = save_ok.
    CASE save_ok.
    WHEN 'PUSH1'.
    number = '0110'.
    WHEN 'PUSH2'.
    number = '0120'.
    WHEN 'PUSH3'.
    number = '0130'.
    ENDCASE.
    ENDIF.
    ENDMODULE.
    flow logic of the screen 100
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    CALL SUBSCREEN SUB INCLUDING SY-REPID NUMBER.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    CALL SUBSCREEN SUB.
    MODULE USER_COMMAND.
    flow logic of the screen 110
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 120
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 130
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    REGARDS
    VASU

  • RE: Is it possible to set 2 commands to 1 keyboard shortcut

    I am wondering if it is possible to set  2 commands to 1 keyboard shortcut.
    I have a script that saves copies of InDesign pages to the desktop. I would love to set the keyboard shortcut for this script to be the same as the Save shortcut (Command S), which saves the InDesign pages into our content management system. However, I can't seem to get this to work.
    Any suggestions?

    No, you cannot get a kbsc to do two things at the same time.
    But…you can set it run a script.
    Bob

  • How to pass value to select-option parameter using SET PARAMETER Command

    Hi,
        Am passing values to selection-screen fields in report RV13A004 ( used in VK11, VK12 and VK13). using below statement but material number is select-option in this report. am able to pass  MATERIAL FROM using SET PARAMETER ID, can i know how to pass values MATERIAL TO range in select-options fields using SET PARAMETER Command ??
    Passing values to parameter id
    set parameter id 'VKS' field kschl.
    set parameter id 'VKO' field vkorg.
    set parameter id 'VTW' field vtweg.
    set parameter id 'KDA' field erdat.
    set parameter id 'MAT' field matnr_from.
    Change condition price.
    call transaction 'VK12' and skip first screen.
    Thanks in advance.
    Regards,
    Balamurugan.

    Hi,
    instead of using set parameters and dden call transaction use this..........
    submit RV13A004  WITH SELECTION-TABLE rspar
    Effect
    If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
    SELNAME (length 8),
    KIND (length 1),
    SIGN (length 1),
    OPTION (length 2),
    LOW (length 45),
    HIGH (length 45).
    To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
    SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
    KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
    SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
    If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
    The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
    Notes
    In contrast to selection tables, the data types of the components LOW and HIGH in table rspar are always of type CHAR and are converted to the type of the parameter or selection criterion during transfer, if necessary.
    When entering values, you must ensure that these are entered in the internal format of the ABAP values, and not in the output format of the screen display.
    Cheers
    Will.

  • SET CHAINED command not allowed within multi-statement transaction

    Hi,
    i need to do one transaction and i am setting autocommit(false) and
    once i am don ewith my 2 inserts i am settins it to true.
    i have like 20 thousand rows and when it is working fine for some inserts but after that it is throwing
    "SET CHAINED command not allowed within multi-statement transaction".
    can anyone please help me.

    You can find some information here:
    http://publib.boulder.ibm.com/infocenter/wsphelp/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rtrb_dsaccess.html
    it's first problem for sybase DB

  • Performance of set variable command in WAD

    Hi all
        The set variable command in WAD is performing really badly. Can somebody please help me to identify how to decrease the response time.
    thanks in advance

    Hi Vikram,
    your link to SAP Help is wrong. It refers to BW 3.5 (NW04), but your URL looks like BW 7.0 (NBW04s). So you need another SAP Help link. Try this one:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/frameset.htm</a>
    Regarding to example 3 your link should look like this:
    <a href="http://sthbmdm8dv.client.com.50000http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=ZPlan_W00500&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=zplan_appid&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=10002002">http://sthbmdm8dv.client.com.50000http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=ZPlan_W00500&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=zplan_appid&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=10002002</a>
    If the variable screen starts up, you should suppress it in template properties.
    best regards
    ARNE
    Edited by: Arne Witte on Jan 18, 2010 6:40 PM

  • Set variable command

    Hi all
        The set variable command in WAD is performing really badly. Can somebody please help me to identify how to decrease the response time.
    thanks in advance

    Thanks for your response In our planning scenario there is a data provider which is filtered using a variable. When a row is selected in an analysis item table (which uses another data provider), the variable is set to use the characteristic value of the selected row. This is done using a u2018SET_VARIABLESu2019 command in WAD. Without using the SET_VARIABLES command the performance is acceptable but when SET_VARIABLES is used the performance is slow.

  • SD Automated billing set up and maintenance

    Hi all,
    Can anyone tell me what is
    SD Automated billing set up and maintenance*
    and how is it done.

    Hi
    Go to T code VOFA
    Select Billtype as "F2" Invoice
    Docuble click on Bill type F2
    There you can see posting Block
    This is used "To block automatic transfer of the billing document to accounting, mark the field."
    Regards
    Sunoj

  • Sybase:  SET CHAINED command not allowed within multi-statement transaction

    Hello,
    I'm getting the error message "SET CHAINED command not allowed within
    multi-statement transaction" for CMP Entity beans against Sybase.
    The errors appear in my jdbc.log in this order:
    010SM: This database does not support the initial proposed set of
    capabilities, retrying.) SQLState(010SM)
    JZ0EM: End of data.
    JZ0SJ: Metadata accessor information was not found on this database.
    Please install the required tables
    as mentioned in the jConnect documentation.
    010SL: Out-of-date metadata accessor information was found on this
    database. Ask your database administrat
    or to load the latest scripts.) SQLState(010SL)
    SQLState(ZZZZZ) vendor code(226)
    com.sybase.jdbc2.jdbc.SybSQLException: SET CHAINED command not allowed
    within multi-statement transaction.
    I'm using JConnect 5.5, WebLogic 6.1 sp3, Solaris 8, and Sybase 11.
    The weird thing is, the app works on a box running 6.1 sp2 and Win2k
    Prof.
    Any ideas?
    Thanks!
    Dan

    Hi Dan,
    There is a patch for this sybase problem, please contact [email protected] to
    get a temp patch.
    sree
    "Dan Blaner" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    I'm getting the error message "SET CHAINED command not allowed within
    multi-statement transaction" for CMP Entity beans against Sybase.
    The errors appear in my jdbc.log in this order:
    010SM: This database does not support the initial proposed set of
    capabilities, retrying.) SQLState(010SM)
    JZ0EM: End of data.
    JZ0SJ: Metadata accessor information was not found on this database.
    Please install the required tables
    as mentioned in the jConnect documentation.
    010SL: Out-of-date metadata accessor information was found on this
    database. Ask your database administrat
    or to load the latest scripts.) SQLState(010SL)
    SQLState(ZZZZZ) vendor code(226)
    com.sybase.jdbc2.jdbc.SybSQLException: SET CHAINED command not allowed
    within multi-statement transaction.
    I'm using JConnect 5.5, WebLogic 6.1 sp3, Solaris 8, and Sybase 11.
    The weird thing is, the app works on a box running 6.1 sp2 and Win2k
    Prof.
    Any ideas?
    Thanks!
    Dan

  • RMAN-06085: must use SET NEWNAME command to restore datafile 'MISSING00'

    Tried to restore again but got this message.
    RMAN-06085: must use SET NEWNAME command to restore datafile /oracle/Ora11g/dbs/MISSING00126

    no, im not restoring datafile to different location.
    this is what i encounter after a successfull restore and but failed recover.
    My original post is on the other thread.
    i was just desperate to start a new thread since there are nobody but only one who replied
    Hope you could go to that thread and help me... topic: (Success on RESTORE but failed on RECOVER-- need help)
    thanks in advance...

  • Terminal command equivalent to Automator's 'set metadata pdf'

    Hi,
    When I make pdf docs I sometimes want to erase my name from the Author metadata, and put something into Title and so on.
    I know that Automator has an action called set pdf metadata, which I have successfully used.  But I would like a Terminal command that I could use instead.
    Googling this question returns suggestions of downloading pdf-manipulation libraries which are too elaborate for me to use.  I'm hoping that Automator is simply utilising a terminal command already built-in.
    Is there such a command?
    Diddles

    A bit of experimenting.
    Given a file temp.pdf in the current working directory . . .
    xattr -w "com.apple.metadata:kMDItemAuthors" "diddles1234" temp.pdf
    writes the string "diddles1234" to the Authors metadata field of temp.pdf.
    xattr -w "com.apple.metadata:kMDItemTitle" "newmetatitle" temp.pdf
    writes the string "newmetatitle" to Title metadata field of temp.pdf.
    However, if you try to put spaces into the string like this:
    xattr -w "com.apple.metadata:kMDItemTitle" "new meta title" temp.pdf
    the title field will not be changed to "new meta title". In fact, if you start with "original title" as the value of kMDItemTitle, successfully change it to "newmetatitle", and then later try to change it again to "new meta title", the value of kMDItemTitle reverts to "original title". The OS appears to "forget" the intermediate change to "newmetatitle".
    As best I can figure, in the event of a failed xattr write command, the original kMDItemTitle is rebuilt from semi-redundant data within the PDF--but more experimentation would be required to prove it. (The same is true of kMDItemAuthors, by the way.) Quick take away: The first two commands above will work if you don't use spaces in the strings to be inserted into the metadata fields. Someone more proficient in UNIX may have a better solution or explanation.

  • Can I use Automator to set up a link in TextEdit as some kind of hotkey?

    I am a fan-o-textedit, but I wish I could get to some of the options in the menus a little easier. Going to to Text, and than to Link--there appears to be no hot key for this operation. Does anyone know how I can go about setting up my own hot keys for TextEdit? Can Automator help me to accomplish this? I am new to Automator.
    Thanks!

    You don't need Automator for this. First, go to System Preferences > Keyboard & Mouse > Keyboard Shortcuts. Then, add a new shortcut (by pressing the "+"), and select TextEdit as the application. Enter "Link…" as the Menu Title (without the quotes) - the ending of that command is an ellipse, not 3 periods (you can insert that character from the Special Characters dialog). Key in the Keyboard Shortcut that you want to use (command-L, or whatever), and there you go.

  • Can't connect to server with Automator, but can with Command-K

    I'm trying to set up an Automater script in OS X 10.5.1 that will force a connect to all my afp and smb servers on the local network. All the servers connect fine except one. it's url is smb://192.168.1.30/shared%20files.
    If I use Command-K and type that in, no problem, loads right up. If I use that url in an automater script it gives the error message "A volume failed to mount. The volume "shared files" could not be mounted."
    This volume is on a NAS, and another volume on the same NAS opens just fine.
    Any ideas why this would happen?
    I've also tried to url smb://192.168.1.30;name@wd-netcenter/shared%20files to no avail. That url also works with Command-K

    LOL. I'd actually thought of that, but didn't bother trying! Sure enough, that was the problem. Thanks for the suggestion.
    For those who might follow this in the future, it's just
    networkaddress/shared files
    not /"shared files"
    or /shared%20files
    I don't like the inconsistency in OS X over this. In Terminal I need the quotes to handle a space, in Finder I need the url %20, and in Automator it's just type as displayed. I guess I'll file a bug report and see if they ever fix it.

Maybe you are looking for

  • ITunes 8.1 freezes when iPod touch is plugged in, unfreezes when pluggedout

    I've just updated my iPod touch 1st gen to 2.2.1, it was working and syncing perfectly for two days. This morning, when the iPod touch was plugged into iTunes, iTunes froze when the iPod was recognized by the computer. I tried plugging the iPod touch

  • IOS 7

    Anyone noticed the problem with "AIrplane Mode" issues? Issue: When you turn the Airplane Mode on and quickly turn it off, the phone doesnt pick the network at times and stays in "Airplane Mode" itself. I have this problem on Multiple Devices running

  • Anyone else received dented iPad air out of the box?

    Anyone else received a damaged iPad air out of box?... 2 dents on back out of the box.

  • G'day I'd just like to observe that the syntax colour-coding is still quite flaky.  It seems more of

    G'day I'd just like to observe that the syntax colour-coding is still quite flaky, even after the recent updater.  It seems more often than not I have to reclick on a line I have typed to get it to colour properly.  It also seems like this occurs mos

  • What is "Unsupported PDE" ?

    I recently visited someone where we were printing to a Canon ImageRunner 1023IF all in one. I was trying to print duplex as others on the network were doing (finally figured out I had to select Page Setup before going to the print dialoge) In the pro