Is it possible using Applescript to place a PDF as a link at a crop bounds other than Art Box?

I've spent countless hours trying to have an applescript place a PDF as an Illustrator Link at the PDF's Media Box using "make new placed item". The only result possible as far as I can tell is a link at the PDF's Art Box.
I've seached around and have seen others with the same issue, but no answers as to whether it is actually possible. As with most Applescript stuff, I am either way overthinking it or it is not possible directly.
Currently I have a workaround using an Applescript script controlling Acrobat to sidestep the problem by setting the Art and Crop box to Media box, then place as a link in Illustrator, but it is not a direct route into illustrator.
I have also noticed that in the "Adobe Illustrator CS5 Scripting Reference" that the "PDF options object properties" do not honor the PDF crop bounds (except for the default value of Media Box). Is this an inherent problem with Applescript/Illustrator and PDF crop boxes? Could it be that the options for Open PDF and Place PDF are crossed?
Thanks for any input on this, It has actually been a problem I could not get past for years.
Nate

The AppleScript Dictionary says the same as the OMV and Jongs helper… CropToBox for placing & pageToOpen for opening… For me a misleading doc mistake… And forgiven for the fact that it should dammed well be there in the first place…
Properties
Property
Type
Access
Description
pDFCropToBox
PDFBoxType:
PDFBoxType.PDFARTBOX
PDFBoxType.PDFCROPBOX
PDFBoxType.PDFTRIMBOX
PDFBoxType.PDFBLEEDBOX
PDFBoxType.PDFMEDIABOX
PDFBoxType.PDFBOUNDINGBOX
r/w
What box should be used when placing a multipage document (default: PDF media box)
pageToOpen
int
r/w
What page should be used when opening a multipage document (default: 1)
parent
Object
readonly
The object's container.
typename
string
readonly
The class name of the object.
Isn't it cool that those can just be C&P into here… Thanks Jong…

Similar Messages

  • I use My Time Capsule as a external hard drive, can I transfer files other than wirelessly?

    I use My Time Capsule as a external hard drive, can I transfer files other than wirelessly?

    will TC appear on My desk top?
    It will, if you do the following:
    Open Macintosh HD and locate the Time Capsule icon under the SHARED heading on the left side of he window.
    Click on the Time Capsule icon and a folder representing the drive will appear to the right
    Double click the folder and the drive icon will appear on the desktop

  • Can I use applescript to export a PDF file from keynote?

    I use keynote to create documentation. Once complete I export the keynote to a PDF and then package the pdf into an adobe acrobat reader portfolio. I desperately need to script this process. Is it possible to export a PDF from keynote via applescript? The second 1/2 is can I tell acrobat reader to import files into a portfolio. Thanks much for any help.

    I believe this is one of the few things Applescript can accomplish with Keynote '09. You can send keyboard short-cuts to Menu Commands in an Applescript – so you can just send a Cmd-P to KN'09. As for setting the Print/PDF options not sure but the dialogue remembers previous settings so you'd only have to set once at most per batch of slideshows. Post on Applescript thread to get specific scripting advice or Applescript developers email list.
    Applescript Discussion
    Applescript List

  • When I use the command "Place in photoshop" CC from Bridge CC, it skips the Camera Raw Dialog box

    I am having an issue when I use the "Place in Photoshop" command from within Bridge CC, it is skipping the Camera Raw Dialog box and not behaving like a normal smart object. This has been my workflow for years and suddenly it's not working in CC. Anyone have any advice? Thanks!

    As far as i can tell, if you use Place>In Photoshop from Bridge with a camera raw file and don't have any other documents open, it skips the camera raw dialog, but does place (open as a smart object)
    and then you can double click on the smart object icon on the thumbnail in the l;ayers panel to open camera raw.
    If you already have a document open then Place>In Photoshop using a camera raw file opens the camera raw dialog before placing the photo.
    Also check the photoshop>Preferences>General and verify you have Place or Drag Raster Images as Smart Objects checked.
    The above behaviour seems to be the same in photoshop cc as past versions of photoshop, at least on the windows versions.

  • How to configure the zxp so that it will place the related files for the panel in specific folder other than the usual 'C:\Program Files (x86)\Common Files \Adobe\CEPServiceManager4\extensions\' folder ?

    Hi,
    I am Working on a panel for Adobe Premiere pro CC, Now we got a panel set up which will install all the related folders and files which are part of the Extension content folder in the
    C:\Program Files (x86)\Common Files \Adobe\CEPServiceManager4\extensions \Panel\CONFIG folder. But we need to change this location to C:\Users\USER\APPDATA folder or any other user specified folder during installation itself.
    Is there any way to do this from extension builder?
    Thanks and Regards,
    Anoop NR

    Thanks guys,
    Got it !! Hybrid extensions.
    I am using Adobe Extension builder 3 in Eclipse to code and create the zxp for Premiere pro panel.
    Seeing the hybrid extension part in  HTML Panels Tips: #10 Packaging / ZXP Installers | Photoshop, etc. I have added a hybrid extension panel using the bundle manifest editor in the extension builder. it creates an mxi file automatically with all the properties, I have to change the maximum host version number in the mxi file in order to make the extension work in the Premiere pro CC 2014. Using the Hybrid option in the Bundle manifest editor we can choose a set of folder paths for placing the files during installation itself and later can be used using 'csInterface.getSystemPath(SystemPath.CODE)' from javascript functions to modify them.
    Thanks for your relpies,
    Anoop NR

  • There is a hum when I hook up my IPod touch with the stereo system.  If I do not use the docking station there is no hum.  Is there a solution other than buying a new docking station.  The on I own is 5 years old and is an apple product.

    I have an Ipod touch with a genuine Apple docking station.  Lately when I connect my system to my home stereo, there is a hum that I never noticed before.  When I connect the system directly to my stereo, there is no hum.  Is there a solution, other than buying a new docking station?

    This makes sense to me. I think the issue is your misunderstanding. If you purchased an item, your Apple ID becomes tied to that permanently. So when you try to update that app, you need the password to the ID that 'OWNS' that application.
    Also, I suspect you have a different ID signed into the device, which is why you can't buy with your own. That article listed shows how to change the signed in account.
    iOS: Changing the signed-in iTunes Store account
              http://support.apple.com/kb/HT1311

  • Select by Note using Applescript

    I want to know if it's possible using Applescript to select items based on the contents of the Note field of the Attibutes Panel. It's used to select objects within Actions, so it seems like it should be possible.
    Unfortunately I'm not very good at scripting and can't seem to figure out the right syntax.
    Thanks in advance for any ideas or suggestions...
    Mike D.

    Hey, Mike:
    Yes, it's possible to select an item based on the contents of its Note.
    every page item whose note contains "testing" -- This would return a list of page items who has "testing" in the note. This includes an item with the word "retesting" so remember to be specific. These are only computers after all… they're not very smart! ;^)
    This is doable but remember you can name any and all items on a page and select them based on that parameter. Unless you have a particular reason to use the Note property I would use Name but either way can be worked out.
    Cheers,
    storm371

  • Using AppleScript to launch an application on a different machine

    Hi there,
    I'm trying to use AppleScript to enable a couple of my Macs to talk to each other.
    On one machine, I want to use this script:
    tell application "Finder" of machine "eppc://user:[email protected]"
    launch application "Rivet" of machine "eppc://user:[email protected]"
    end tell
    to have the other machine launch Rivet, a video server that I can access from the PS3/iPhone/iPad
    everything seems to work without issue (i.e. no errors), except it doesn't do anything.
    I see a line written to the console on "helium":
    9/23/10 18:48:30 com.apple.AEServer[3535] launchproxy[3535]: /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Versi ons/A/Support/AEServer: Connection from: xxx:xxx:xxx:xxx:xxx:xxx%en0 on port: 60571
    every time I run the script on the other machine, but, like I said, nothing else happens.

    After much searching and trial and error I finally discoverd Hiroto's suggestion from way back in 2001. It is the only solution I have found that actually works to launch/activate any application on a remote Mac using an applescript on a local Mac.
    I have one Mac Mini running household control applications Indigo and iRed. I wanted to use embedded AppleScripts in those applications to launch and control PandoraBoy on another MacMini that I use as a media center. I discovered that you cannot activate an application on a remote Mac unless it's already running. (Only God and Apple know why!) And, of course, if you want to launch and application--it's usually NOT running!
    But the following works:
    set remoteMachine to "eppc://RemoteMachineName:[email protected]"
    tell application "Finder" of machine remoteMachine
    open ("/Applications/PandoraBoy.app" as POSIX file as alias)
    end tell
    THANK YOU HIROTO!!!
    Once the remote app is actually launched/activated you can then send AppleScript commands to it as follows:
    set remoteMachine to "eppc://RemoteMachineName:[email protected]"
    using terms from application "PandoraBoy"
    tell application "pandoraboy" of machine remoteMachine
    playpause
    end tell
    end using terms from
    I have also learned that the application to be controlled on the remote machine must also be present on the local machine and "using terms from" must also be used in the control script for this to work.

  • Does possible always to run application "Microsoft Excel" using applescript?

    Does possible always to run application "Microsoft Excel" using applescript (as application startup script) like this "tell application "Microsoft Excel"
    set bounds of window 1 to {0, 22, 1440, 2360}
    end tell"?

    Any ideas/solutions about possibility always to run application "Microsoft Excel" with applescript?

  • TS4513 For me it is no more possible to use AppleScript in MainStage since 3.0.2 !!! Suggestions ?

    Hello,
    In the 3.0.1 version of MainStage, i used AppleScript to launch some actions.
    In 3.0.2 if i launch any AppleScript from MainStage, the program bug.
    Any suggestions ?
    Thank's !

    Yes, on MainStage 3.0.2, when I associate any applescript to a button (Actions->AppleScript->...) and I turn it, i have this bug : the mixer freezes and when I pass a patch to another, the strips are no longer updated. I have to restart MainStage to restore normal behavior ...

  • Automating Final Cut Express using AppleScript?

    Hello,
    just another question: is it possible to use AppleScript (or something similar) with Final Cut Express?
    And if so, where to find a good reference?
    I have some DV movies and a for each a csv containing the In and Out Points for the subclips, including their names and comments about the contained action, date, place, light and so on.
    At moment I'm doing everything manually, but that's time killing, so I'm looking for how to automate this.
    Thank you.

    Comma Separated Values (see http://tools.ietf.org/html/rfc4180).
    In other words: a machine readable table sheet.

  • Using Applescript to make a repeatedly keystroke

    Hi, I am wondering if there's another place where this thread would be morewellplaced, but couldnt find anything about Applescripting, so here goes:
    I dont know if this is possible, but i would like to have a key pressed repeatedly - all the time - while i am playing World of Warcraft on my mac.
    I am playing in windowed mode - this means not in full screen.
    In the game i have bound a certain action to the button "0" (zero).
    I need to have this key repeatedly pressed every second or so.
    Is this possible with applescript? And how would the script look?
    Hope someone can help me
    Kind regards

    Hi,
    Thx for the suggestion
    I tried using this script. It didnt really do anything "inside" the game, other that my movements behaving strangely. I think it was running outside the game and kind of interfering in some manner.
    I then tried to make an extra line in the script myself:
    activate application "World of Warcraft"
    I dont really know what it does, but it sounded like it maybe would press the key inside the actual game (in the right application window)... but this didnt work either.
    So i may have to give up unless someone know something more about this.

  • Using Applescript for uploading pictures on the Internet

    Hello!
    I was wondering if there was a way to use Applescript with Firefox (or another browser)...?
    We have many many villas on our website, each one with lots of pictures. We are constantly adding new villas to our site and amending old ones.
    To add pictures we go to a page in our cms for each villa, located there is a drop down menu - image 1, image 2, 3 etc etc etc
    For each one we have to manually browse for and attach the photo. As you can guess this is a time consuming process, we have asked the web designer before for this but he is so busy and we have other more important stuff for him to be working on.
    As Applescript is so nifty I was wondering if anybody had an idea on how to use it for this process - i.e. have a folder full of pictures on the desktop and Applescript can add them?
    I have no idea if this is possible, any ideas?
    Many thanks and regards.
    Simon

    Yeah I completely understand, I just wanted to see if anybody knew if it could be done.
    Obviously for security reasons I can't let anybody into our CMS, so looks like it's a bit of an impossible task.
    Although it would be awesome to simply change the script slightly for each villa and let it do it all, this would be stupidly complicated as there are many menus to navigate to get to the uploading picture area.
    It would be great if I could do all that manually then once on that page (or given the page url to Applescript) set Applescript running to upload all the images for me.
    This is what that page looks like, if this helps?!:
    http://img535.imageshack.us/img535/241/screenshot20100415at141.png
    The drop down menu contains:
    Villa Plan
    Small Location Map
    Image Gallery 1
    Image Gallery 2
    etc
    etc
    I could arrange a folder with the pictures in order (i.e. Villa Plan first, then Small location Map, then the picture for 1 etc) so no worries about the Villa Plan and location map.
    I've got a feeling I'm just going to have to do it manually (I shall forever be uploading pictures), but I thought I would give it to some of you geniuses to mull over!
    For whoever creates a script I'll give you a discounted stay in Paradise... there's an incentive!!
    Many thanks and regards,
    Simon

  • Is RDC integration with Lotus notes apps possible using CR XI and lotus 8

    Hi,
    We have reporting feature implemented in one of lotus notes application using crystal reports 6 (OCX)  and as Crystal report is going to be upgraded to CR XI version in my organisation, we need to implement the same using RDC component.
    Background (on how it has been implemented using CR 6 ) :-
    i) Lotusscript generate few CSV file and pick a .RPT file from profile doc and places it under one folder on local machin (say x).
    ii) RPT file is designed to pick data from CSV file using system DSN (data source).
    iii) Data source (system DSN) has been configured with folder (x) that contains CSV and RPT file .
    iv) Crystal report control object has been embedded in the lotus notes form and lotusscript code gets handle of control object and opens the  report (RPT)file .
    We have set up all neccesary environment and trying to implement above functionality using RDC component but when we are embedding the crstal report report viewer in a lotus notes form , it throws an error "An error has occured while processing a request on an object".
    Please let me know if it possible using RDC or can anyone suggest me some other alternatives .
    TIA

    Hello,
    You should be able to use the RDC in Lotus Notes. There are significant differences between the object model for the old OCX (crystl32.ocx) compared to the Report Designer Component (RDC) and it's components, the craxdrt.dll, crviewer.dll, etc.
    I was able to find an older document that shows how to integrate CR9 into Lotus Notes: "[Using the Report Designer Component (RDC) in Lotus Notes|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/50ce64b3-241f-2b10-b792-9685d3815a21]". You can use this as a starting point to compare with your code.
    The RDC object model hasn't changed much since CR9, but some of the runtime component references in the document may need to be correct (e.g. craxdrt.dll for v11.x vs craxdrt9.dll for v9.x).
    It is worth noting that the RDC has been retired with the release of CR2008. CR XIR2 (v11.5) is the last version of Crystal Reports that uses the RDC. The suggested migration path is to move to the Crystal Reports .NET SDK. This means you'll have no upgrade path with a v11.x application.
    Sincerely,
    Dan Kelleher

  • How I generate index markers using Applescript and tagged text!

    One of the challenges I've faced in automating the book making process using Applescript with inDesign is that there don't seem to be any AS commands for making new index markers (anyone please correct me I if I'm wrong about this).
    I've tried various js scripts which do an OK job, but they don't make the actual native markers. This means you have to wait until the book (consistiing of multiple ID files) is complete (so that all the page numbers have been established) to generate the index.
    Recently, I read a tweet from someone with a link to a technique which uses tagged text and find and replace with GREP to edit the tags, inserting the tagged text index tags in the text file and then re-placing the text file in the ID page. In itself, this works great. But I'm dealing with literally thousands of separate text frames, none of them connected in a story.
    The books typically consist of around 1200 pages with almost that many people, each of whose names I need to index with "Lastname, Firstname" references. And those particular strings don't (can't) appear anywhere on the pages. There will also be about 50 ID files all combined into one book. So it is imperative that I have ID generate the native index markers. To help keep things straight and efficient, I'm creating separate small text frames to hold the lastname, firstname strings. I created an object style for these frames which sets the attributes to "nonprinting", and I place the frames in the margin.
    Then I realized that I don't actually have to have ID export the tagged text files for each. I exported one prototype and copied its tags to properties in my script, and then I concatenate them with the respective list item values I import from the database.
    At the proper point in the page building script, I tell "textwrangleer" to make a new document, set its contents to the index string for the current record, save it to disk, overwriting the previous one, and then tell ID to "place" it in the index text frame, which generates the ID index mark.
    I actually got an AS error when I first tried this: "file doesn't exist" or some such. Then I realized that the "place" command was happening too soon, so I inserted a .5 sec delay in the script, and it worked.
    This is actually my first major script for actual work, and I'm so excited about it! I promises to cut production time down to about a thenth of what it was.
    I still have to add some logic to branch between handlers with slightly different parameters for five different page formats, but the same page building handler will work on all of them.

    A note on this:
    Daniel Swanson wrote:
    I've tried various js scripts which do an OK job, but they don't make the actual native markers. This means you have to wait until the book (consistiing of multiple ID files) is complete (so that all the page numbers have been established) to generate the index.
    These scripts typically search for words and immediately write out the page numbers they are found on -- one shot indexing.
    The solution is to add both the topic and its page reference to the current document's index:
    if (app.activeDocument.indexes.length == 0)
        app.activeDocument.indexes.add();
    app.activeDocument.indexes[0].topics.add(app.selection[0].contents).pageReferences.add(app.selection[0]);
    The first lines only make sure there is an index to add to (per default, a new document has none).
    The last line adds a selected word to the index (it must be a plain text string, hence the use of its 'contents'), and then adds a reference to the selection in the text itself.
    Adding the same word a second time will for a change (quite untypically for ID's Scripting) not result in an error but simply add another page reference to the existing one.
    When doing this in a loop: remember to work backwards, because the index marker itself gets inserted into the running text, and that will throw off your text indices.

Maybe you are looking for

  • Individual iMessage ok but group message not working

    I am suddenly having problems with iMessage.  I can send individual messages but when I try to send a group message, it just hangs and the message eventually completely disappears from my message history.  This is both for new conversations and exist

  • Process after planning activity rates in CO

    Hi:           My question may sound very basic to you but please bear with me as i am new to this process. I have defined planned activity rates for two cost centers in CO.. Now i want to do the PP process using these cost centers. These cost centers

  • Error message after updated 3GS iPhone to iOS5.0?

    I get an error message: iTunes could not connect the iPhone "iPhone" because the pairing record is missing? Anyone else run into this error when updating to 5.0?

  • How does it happen

    i read the raw data of a pgm image file and got the following output P5 # created by ilidss 512 512 255 162 160 161 165 65533 164 162 165 But 65533 is impossible because the max value of a pixel is 255. the following is the rough code: bufferredreade

  • Wifi is not enabled for Lenovo G580 (20150)

    Hi, I used Fn+F5 to disable the wifi. But when I tried to enable through this, I am not getting any option or window to turn it on. So, I thought this function key is not working. I tried so many ways to enable wifi. But my efforts were gone in vain.