(Applescript) Is there any way to determine masters/versions

Hi All,
with Applescript,
Is there any way to determine a 'image version' is masters or versions(generated by adjust/editing) ?

I need to say this first - you have to really get that you never really see a master in Aperture, everything is a version. Just because it happens to be the first version or have no adjustments doesn't make it some how special. The only special thing about any version is that if it is the last/only version and you get rid of it the master goes away as well (reference counting)
You should however be able to determine if any particular version happens to have any adjustments or no adjustments, or specific adjustments.
RB

Similar Messages

  • Is there any way to determine if a link is a book mark or hyperlink in java script

    Is there any way to determine if a link is a book mark or hyperlink in java script
    Sub Problem:
    I am making an array of quads of all the hyperlinks in a document. I would like to automatically skip over all the bookmarks in the starting pages of a document and just get the links of the hyperlinks.
    Now I have to manually set the pages that contain bookmarks so they are not included in the array.
    Is there any way to determine if a link is a book mark or hyperlink in java script?
    It would help automate the conversion I need below
    John
    Main Problem:
    I have been working on converting a set of pdf files with 1000’s of hyperlinks like www.site.com\folder1\file1.pdf#page=10
    To jump to a local copy of the files with a relative type link
    ../folder1/file1.pdf and then go to the proper page.
    I have found that it can be done manually by changing the hyperlink to a javascript
    var otherDoc = app.openDoc('../folder1/file1.pdf', this);otherDoc.pageNum = 10 - 1;
    and setting each destination file with a disclose()=true;
    Based on the help so far that java script cannot access the hyperlink value in a link
    See: http://forums.adobe.com/thread/1039908?tstart=60
    I have resorted to the following plan using acrobat javascript, an external keyboard macro recorder and excel in combination to get around the problem
    Four folder level acrobat javascripts with “buttons”
    One to get all the link quads in an array, in the pdf and report the total number
    The second creates a form field in the far corner of the first page and moves there.
    The third jumps to each link found by creating a form field just to the left of the link and zooms in so it can be selected by a “mouse click” from the keyboard macro recorder 
    The forth deletes the form field
    The keyboard macro recorder runs javascript 2 and then 3 then clicks on the link just to the right of the middle of the screen and uses keys to get to the advanced editing to get to edit the hyperlink .
    The hyperlink is then copied to excel where it is converted using string functions to the needed javascript text to be copied back.
    To the acrobat file into a java script (after deleting the hyperlink)
    Rinse/lather/repeat
    I have been able to convert about 150 links an hour.
    Better then hand typing, but not like having java access to the links.
    I am looking to improve the solution

    thanks for your help.
    I may have been confusing a "acrobat bookmark" and a bookmark in a word file that is converted to a pdf and ends up being a
    link of the type:
    "Go to a page in this document"
    which I do not want in my array vs
    a link of the action type:
    "Open a web link"
    Which I do want
    John
    My code, note how I have to skip pages with "Go to a page in this document" links depending on the document, I would like to use the same code for each document and skip over the "Go to a page in this document" links :
    global.ilinkindex = 1; 
    global.aLinkquads = [ [0, 1, 1, 0, 0],
           [0, 0, 0, 0, 0] ];
    function GetLinkArray()
    global.ilinkindex = 1;
    var iTotalLinks=0;
    // for ( var p = 0; p < this.numPages - 8 ; p++)                   // end before bookmarks for each page of the file x.pdf
    //  for ( var p = 0; p < this.numPages; p++)                     // for each page of the file
    for ( var p = 23; p < this.numPages; p++)                     // start after bookmarks for each page of the file y.pdf
      var cropbox = this.getPageBox("Crop", p);
      var alinksonpage = this.getLinks(p, cropbox);            // get array of links on page
      for ( var ll = 0; ll < alinksonpage.length; ll++)
       var linkquads = alinksonpage[ll].rect;     // get link Quads
       linkquads[4] = p;          // add page number to link Quads array
        global.aLinkquads[global.ilinkindex] = linkquads; // add quads to global link Quads array
        global.ilinkindex++;
    iTotalLinks = global.aLinkquads.length - 1;
    global.ilinkindex = 1;
    app.alert("Number of Links in Document is " + iTotalLinks );

  • I bought an iphone 5 online, its with o2 but when I went to o2 to get a sim card it did not connect according to the shop assistant, is there any way to determine if its stolen and if so is there anything i can do? HELP

    i bought an iphone 5 online, its with o2 but when I went to o2 to get a sim card it did not connect according to the shop assistant, is there any way to determine if its stolen and if so is there anything i can do? HELP

    it is dinner time but 72oz steak....whew dont know about that!  2 " of snow yesterday 60 degrees today.... gotta love the texas panhandle!

  • Is there any way to determine what device text messages are sent from? Do free text messaging apps relate to the apple ID, or the iPod?

    My son had a friend give him his apple ID username and password, and downloaded a texting app. Now, some text messages were sent, and they are both denying it.  Is there any way to know if the text messages came from my son's iPod? The app and texts are deleted, so I can't look at a history to see who typed them.

    I could not find anything one the developer's upport page. Contact the developer and ask
    http://pinger.zendesk.com/categories/2067-need-help-with-textfree

  • Is there any way to restore previous version of the firmware?

    Hey, I have this 2gb (1st gen nano), I installed the version 1.2 but I'm having some problems with it, it refuses to start up with pushing a button, I gotta restart it (Hold+select) every time I want to use it after it has gone to sleep, And the past 2 days was totally frozen, it died suddenly, but today by the morning it woke up suddenly just like that, I used ipod Updater to restore it, but it installed version 1.2, i want the old version, is there any way to do that?

    Older versions of the iPod software are hard to find.
    You might look in your computer under all programs/iPod/iPod updater to see if you have it stored there.
    Alternatively, you may find one on Versiontracker, although very often downloading one just takes you to the current version.

  • Is there any way to edit masters?

    So I've been scanning a bunch of my family's old slides and i need a fast and easy way to crop them (get rid of the black around the edges).
    I know Aperture doesn't allow for editing of masters but in my situation i have to.
    Any ideas? I'd rather not have to go into photoshop and File>Open thousands of times and a batch won't work for me becuase some slides have different areas i need to crop.
    Thnx.
    iMac G5 2GHz   Mac OS X (10.4.9)  

    In my case at least, it's rare that a photo I take will be shown completely unedited. There will be some adjustment on each, some subtle, some not so.
    The posts above are right, you can probably crop one and lift and stamp that crop on to other pictures to get you started, and you probably won't save that much drive space by cropping the borders. Assuming the scans are JPEGs, you would be adding another JPEG compression cycle to the photos anyway. Do the crop in Aperture and it will do the adjustments in one swell foop, adding only one JPEG compression cycle to the photo at the very end. Which is how it should be.
    iMac G5 20", MacBook Core Duo   Mac OS X (10.4.9)  

  • TS4147 Is there any way with the latest version of iTunes to restore the ability to sync calendar and contacts WITHOUT using that cloud?

    Until I got to the latest version of iTunes, I always synced contacts and calendar directly.  Now that option is gone.  I have shut off iCloud but still don't have anyway to sync these, apparently, without going to the cloud.  I don't want to share my information with Apple.  Further, in the past any time I have attempted something like this it was a complete mess with entries duplicated.

    You can if you install OS X server (https://itunes.apple.com/us/app/os-x-server/id714547929), as discussed here: http://www.macworld.com/article/2061183/itunes-ios-syncing-gone-solve-it-with-se rver-.html.

  • I have just installed Family Tree Maker 2012. It recommends use of Firefox 3.6, but that doesn't seem to be available from the download page. Is there any way to get this version?

    I currently use Chrome as my web browser and am not able to access the Ancestry.com website using it. Every attempt to sync my records fails and the manual suggests use of Internet Explorer or Firefox 3.6 However, the current download available is not 3.6 but appears to be Version 8...? (based on the first question on the Contact Us screen, which relates to having upgraded from 3.6)

    You are welcome :)

  • The latest iTunes wiped out my apps for my 2G iPod Touch by overwriting updates which are no longer compatible with iOS 4.2.  I tried to restore to an earlier version with no success.  Is there any way to download the older versions of apps which are comp

    The latest iTunes software wiped out my apps for my 2G iPod Touch by overwriting newer releases of the apps which are not compatible with iOS 4.2.1.  I tried to restore the iPod to an earlier version without success.  Is there any way to download older versions of my apps which are compatible with my older iPod?

    Your only way is if you have the version that was compatible on your computer such as in the recycle bin/trash or in a computer file backup. In that case delete the current version that is in your iTunes App library and replace it with the older version. Then sync.
    Also see:
    Recover Older Versions of iPhone Apps After Updating — Apple News, Tips and Reviews

  • Is there any way to buy Numbers for OSX 10.8 now?

    I can't upgrade to Mavricks yet because of issues with Junipers VPN client. Trying to buy Numbers via the appstore but it says it requires 10.9. Is there any way to buy the version from last week?

    You will need to buy the retail box from a third party such as Amazon.com or eBay. Be sure to run Software Update after installing & before running any of the applications. You can also download the standalone updater from this page.

  • Is there any way to compare between last two activation of a Transformation

    Hi,
    I have activated a transformation 2 days back. Later on I found that the same transformation has been activated by someone else. I knew that from the transport organizer. I want to know what changes has been done after my activation. I have gone through each and every step i.e start routine or field routine everything. Didn't find any commenting also. Is there any way  to compare the version between last two activation of that transformation or any BW Object.
    Any version management option is available or not.
    Thanks in advance
    Snehasish

    You can get the information who had changed and at wht time from the properties of the Transformations
    Menu --> Transformation -> properties --> you can get who had changed n time...
    if you want to compare the versions .... you can follow the below steps...
    From the menu bar of transformations -->Extras --> display generated program --> utilities --> versions --> version management
    This will display the changes made... if any.
    if there are no changes it will display only one...version.

  • Is there any way to turn off the "Determining Gapless Playback"

    Every time I open Itunes the "Determining Gapless Playback routines starts. I always let this finish and after a while it appears to stop and I only have the Apple logo at the top of Itunes. However, if I close Itunes and restart it the "deteriminig Gapless Playback" routine starts all over again. Isn't there any way to turn off this annoying new feature....

    You could try a reboot:  Press and hold BOTH the power and home buttons at the SAME time for at least 10 seconds (ignore the red slider to shut down) until the Apple Logo appears, then let go of both buttons and your iPad should restart.  If that doesn't get rid of the volume control box on your screen, it's time to make an appointment with the Genius Bar at your Apple Store, and they can send your iPad off for service.

  • Is there a way to determine exactly where a breakpoint occurs?

    Hello everyone:  I am having trouble getting my head around this problem I am having, so I'm hoping someone here has run into something like this and has a tip for me.
    I have a PXI-7354 that I am using to control a rotary stage which has an 8000 lpr encoder, and a 10:1 reduction gear, so I have 80,000 lpr effectively.
    I am using the 7354 to generate a Breakpoint Pulse every 100 encoder counts, so I should be getting 800 pulses per revolution.  (I use the breakpoint pulses to trigger a second device and aPXIe-5122 data acquisition card to synchronize the production and acquisition of a data record.)
    However, and here's the problem:
    When I rotate 1 revolution, I see 799 pulses
    When I rotate 2 revolutions, I see 1598 pulses
    When I rotate 3 revolutions, I see 2397 pulses
    etc. 
    I am losing 1 pulse per revolution. I haven't figured this out yet, as I am using periodic breakpoints with a whole number of breakpoints as a period.
    THe problem is that I "count" the number of breakpoint pulses that I get in order to derive the angular position where the breakpoint occurs.  For instance, if I start at 0 degrees, and I have 0.45 degree spacing between breakpoints, after 10 pulses, I should be at 4.05 degrees.  After 100 pulses, I should be at  44.55 degrees.
    As I am missing one count per rev, however, my derived angular position is incorrect.
    I need a way to determine the actual position of each breakpoint.  The most obvious way to do this is to use the HS capture functionality of the board, and I could (further) share the breakpoint pulse with the HS Capture input on the motion card to do HS capture, but is there any way to do this internally on the 7354?
    Thanks for looking at this, any help is appreciated.
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI
    Solved!
    Go to Solution.

    Thanks for your response, Matt.
    I have already got the BP signal going to my external device via a UMI-7774, so this is not a problem.  The tricky part of this question is whether there is an easy way to "share" the BP information with the HS Capture INPUT line so that I can grab a HS position when the BPs are generated, so that I'd have a buffer of ACTUAL position, rather than relying on the BPs being in the correct location (and DERIVING the instantaneous position of the BPs by counting the BPs).  It seems that it is NOT possible to share the signal by routing the BP1 Out simultaneously to the external UMI 7774 pin AND to either the HS Capture INPUT OR to my data acquisition card.  I know that I can route my encoder signal and other things to my DAQ card, but this won't help me in this case.  Furthermore, I can only have 1 BP per axis, so it isn't possible to replicate that functionality on a second BP generator.
    I am working on setting up a third device to count the pulses generated by the 7354 when I exercise the stage through motion, so I'll have more data later today.
    I'll post here any findings.
    Thanks again,
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI

  • Is there a way to determine if an application is 32-bit or 64-bit?

    Is there a way to determine if an application is 32-bit or 64-bit? To be more specific, I want to be able to determine if a 32-bit application is being emulated under WOW64. I'm trying to use the Call Library Function and selecting IsWOW64Process from the Kernel32.dll, but I can't seem to get it to work. I think I may be setting it up wrong. I'm using a constructor node and invoke node for Process and after calling GetProcesses in the invoke node I'm sending that into a For Loop to inspect each process seperately. Inside the For Loop is where I'm trying to use the Call Library Function. From what I've read IsWOW64Process has a Handle as an input and a pointer to a boolean as an output. I may be incorrect in this as I've seen multiple varieties of this call on the internet. I've tried setting this up but I can't seem to get it to work. I'm looking for help on how to correctly use the Call Library Function or if anyone knows a better way to do this I'm open to suggestions. Thank you for any help. 
    Solved!
    Go to Solution.

    Hi klynn,
    I've got a link you might want to check out to make sure that your call function is correct.
    http://msdn.microsoft.com/en-us/library/ms684139%28v=vs.85%29.aspx
    I would also recommend that you check out DLL.VI example in example finder.
    Example Finder > Communicating with External Applications > Using External Code> Integrating DLLs > Call DLL.vi
    Hope this helps,
    Josh L.
    Applications Engineer
    National Instruments

  • Is there any way to create a HTTP_AAE Receiver without a path in NW PO 7.31

    Hi ,
    Does anyone know how to create a HTTP_AAE Receiver without a path??
    We are in a phase of migrating Interfaces from PI 7.1 to PO 7.31(Java Only).
    For one of the Interface in PI 7.1 there is a RFC Destination for vendor communication through HTTPS connectivity  :
    TargetHost: IP Address
    Post: value
    Path Prefix: Blank
    During migration  requirment is to keep the Path field BLANK of the Communication Channel,however since  PO has mandatory path field   a "/" is been provided, because of which data post fails.
    PI:  https://IP:9443
    PO:  https://IP:9443/  (Since Path Prefix is mandatory)
    As per my understanding The data is supposted to be posted directly to the IP (https://IP:9443) however it is getting posted to (https://IP:9443/) where the service is not available. For Reference attached relevant screenshots.
    Is there any way to  create a HTTP_AAE Receiver without a path. Need ardent support and suggestions
    regarding this.
    Regards
    Riju

    Hi,
    For Service auto- PO from PR, you need to activate Automatic Purchase order creation for Service requisitions in ML91 t.code.
    Note:
    For material :automatic PO creation from PR, follow the steps.
    1) Material Master purchasing view tick automatic PO check box
    2) Vendor Master purchasing view tick automatic PO check box.
    3) Maintain Source list for Vendor & Material.(ME01)
    4) Maintain Purchase Info Record.(ME11)
    5) Create a Purchase Requisition.(ME51)
    6) Use T.Code: ME59 & execute for PR for vendor, you will be able to create automatic PO.
    During creation of PR , select check box of Source Determination in the 1st screen of ME51
    Ensure that Purchase Info Record should be there.
    If you have more than one vendor then fixes only one vendor in source list.
    Regards,
    Biju K

Maybe you are looking for

  • Intrastat report in drop-ship process

    Hi, I have drop-ship scenario where plant country belongs to France ( FR) but actual shipment happens from Taiwan(TW). Butin the sale order we use plant as France(FR) and shipping point as Taiwan(TW).Since these are drop ships dispatched from non EU

  • How can I replace a damaged Image Capture in locked Lion Application folder?

    I am running a MacBook Air on 10.7.2. Image Capture is "damaged or incomplete" and cannot be opened. I have a copy of IC from my other mac running Lion, but cannot copy it into the Apps folder on my MacBook Air because IC cannot be modified or delete

  • Need to incorporate a new field in J1IEX

    Hi, My requirement is I need add a Z field in the transaction code J1IEX. I really need to know the field exit which can be incorporated in the screen. Please help.

  • Using createItem with Java AbstractAssembler

    I've just started working with flex (and flex data services) and have been experimenting with directly calling the createItem method (extending AbstractAssembler) as a way of poking data into a server-side DB. It's probable I'm just not using the fle

  • Anyone using Garritan Personal Orchestra from an external HD?

    I'm trying to transfer samples to my new external drive, and am having trouble with GPO. I tried making an alias for the GPO library folder, but with no luck. Anyone know how to do this? Thanks.