Using resolve with toSpecifier() output for quick image previews

Hi there,
I am building an image preview service for in design documents in which a user uploads in design file, we extract custom fields, and display a GUI for the user to enter in custom field values to generate a preview.
One of the features of this is highlighting the contents of the custom field last entered. I have the field highlighting working by checking the "contents" property of various table cell and textframes however I thought by using the elements toSpecifier() value I could pass this in the future to select the element quickly.
However I'm getting an error here.
If I use resolve("/document[@id=170]/page[0]/text-frame[4]") I keep getting back a null value.
Am I not using the toSpecifier() value correctly? Is there another function I need to use to resolve a toSpecifier() string value back into an element on the page? Are you only allowed to use the toSpecifier() output value on the current instance of an indesign script? NOTE: I am saving the toSpecifier() value in the DB and using it in future occassions.
Thanks,
Dustin

They have (sort of), but the scope of the ID is limited to Cells (Cells do not belong to the PageItems Class !) and to the Table they are sitting in.
To address a specific cell in a specific table, you could address the table and the specific cell by its index:
var myCell = mySpecificTable.cells[n];
Or by its ID:
var myCell = mySpecificTable.cells.itemByID(n);
Or by its name:
var myCell = mySpecificTable.cells.itemByName("IndexNumberOfCellInRow:IndexNumberOfRowInTable");
In the case of merged cells over different rows, the number of the index and the ID number of the cell will not match!
Uwe

Similar Messages

  • I can't use arabic with excel office for mac 2011

    why i can't use Arabic with excel office for mac 2011?

    anajjar wrote:
    why i can't use Arabic with excel office for mac 2011?
    Because even after 14 years MS has failed to add arabic support to most Office products for Mac.  Instead use Open/LibreOffice or Numbers.

  • Is it possible to use aim with a mac for free?

    Is it possible to use aim with a mac for free?

    If you mean the application AIM for Mac, it will depend on your download speed.
    If you mean "Can I use iChat with an AIM a screen name and does it cost anything ?" then the answer is Yes you can and no it does not cost and there is no download to do.
    If you mean "Can I use the AIM service with an @mac screen name and can this be done for free ? " then the answer is again yes.
    A trail account cost nothing and will work in ichat after the 60 days is up
    A Paid for but Lapsed account will also work in iChat and for this purpose can now be considered free.
    As I said and hinted at before your first question does not make it clear what you are actually asking.
    The Application AIM for Mac is stuck at version 4.7 and does not do Video or Audio Only chats.
    It has things that are useful in tweaking Buddy Lists in iChat but it is not specifically needed to contact AIM Buddies.
    9:00 PM Tuesday; June 24, 2008

  • Cant Capture Screen Recordings with QuickTime Player for making  App Previews

    cant Capture Screen Recordings with QuickTime Player for making  App Previews
    went into that page:
    https://developer.apple.com/app-store/app-previews/imovie/Creating-App-Previews- with-iMovie.pdf
    upgraded to quick time 7 pro
    got stuck here:
    " 4. In the window that appears, select your iOS device as the Camera and Microphone input source".
    the window appeared, no selection is possible

    The instructions in the Developer page you link contemplates that you are using the QTX version instead of QT7 Pro:
    vs.
    QT7 Pro does not allow selection of iOS devices as the Camera and Microphone
 input source.
    QTX is the QT version included with Mac OS X v10.6 Snow Leopard and later.  However, as explained in the Developer page you linked above, if your Mac is not already using it, you need to upgrade to the current (OS X 10.10 Yosemite) OS X Version to use iOS devices as the recording sources in QTX.
    Message was edited by: EZ Jim
    Mac OSX 10.10.2

  • RMAN backup fails using OEM with no output error

    I am trying to do a weekly automatic full backup of a database in noarchivelog mode using RMAN in Enterprise Manager. Every time I submit the backup job (even if I try to do an immediate backup) the job fails almost immediately. When I Iook at the job output for the failed attempt, it says that there is no output for the job. I believe I have all of the preferred credentials and priveleges correct. Does anyone have any ideas as to what the problem could be or maybe where I can find an error log for rman to get a better explanation of the error?
    Thanks

    please check in metalink.....
    you find useful informations here:
    RMAN backup using Oracle Secure Backup fails with ORA-19511 (sbt__rpc_connect)
    Doc ID: Note:396046.1
    Best Regards,
    Shishir Tekade.
    My Blog: http://shishirtekade.blogspot.com

  • Problem with RDIV output for order related inter company billing

    Hi ,
    Developing a order related inter company flow . IC Billing (type IVA) gets generated through RVIVAUFT , but facing the following issues with output (though configuration has been done as per note 728993)
    system only creates SAP standard billing type IVA i.e not any ZIV2 which is a copy of IVA (Find IVA is hard coded in RVIVAUFT )
    why note 728993 says V10000 'Billing Output i.e why not V40000 // Intercompany billing
    No document flow on IVA billing generated through RVIVAUFT. It does not show its link with original sales order .
    It will be very good if someone Thanks
    With regards,
    Mrinal

    Hello Mrinal,
    Please review the note 381042 Order-related intercompany billing in Releases.
        o  Report RVIVAUFT instead of report ZZIVAUFT
        o  Standard requirement 036 'Item/order related IB'
           Use this requirement in the copying requirement for billing
           documents for your process flow.
        o  Standard requirement 018 'Order-related IB' instead of
           customer-specific output requirement 990.
           Use this requirement in the output determination procedure of
           your billing documents (in the standard system, this is procedure
           V10000 'Billing outputs') for output type RDIV.
        o  Standard ouptput type RDIV instead of customer-specific output
           type ZZIV.

  • Using Broadcaster with Internap CDN for live streaming

    Has anybody successfully used Broadcaster with Internap's CDN for live streaming?
    If so how are you configuring broadcaster?

    What are your current settings in FMLE ?
    What is your input feed? from webcam? external HD camera? Encoder card?
    If your connectivity approved you can raise up the bitrate and set higher output size.
    N.

  • Problem with PO Output for Communication

    Hi,
    i have a problem with the pdf in R12.1.3. The rtf file we have is used in R11.5.10 and is working properly but after we sat up the R12 environment and we started the testing we can now see that the system don't create any pdf documents in View Document or when we sending email to supplier.
    When we check the log we just get the error message "genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null"
    Any one having an idéa on what it could be. Is there major changes between R11 and R12 when it comes to BI Publisher.
    Thanks in advance!
    Lena Kudahl

    Hi Lena,
    Upon upgrading to release 12.1.3, the views used are not proper and cause issues.
    This is fixed in Patch 10388305:R12.PO.B.
    There are a few critical issues when moving to 12.1.3 -
    Note 1358356.1 - Recommended Patches for Purchase Order and Requisition Processing
    This note outlines some of the top issues - and recommends the patches.
    The exception however does seem to point to the ICX and XDO Numeric profiles. Please ensure these are set at the site level.
    Another common cause for this type of failure could be related to special characters - although it would show a message like this usually -
    genDoc() : PoPDFExceptionoracle.apps.po.communicate.PoPDFException: PO_PDF_XML_FAILED
    oracle.apps.po.communicate.PoPDFException: PO_PDF_XML_FAILED
    If you are seeing this - there is the following note -
    Note 1346198.1 - PO Output For Communicate Failed With ORA-31061
    This note describes how certain database versions (with a specific patch) can have an event set in the init.ora file which will allow the xml parser to
    take action against special characters. Its a nice alternative to having to debug the PO Output for communication.
    This note is very good - having screen prints - of how to debug the OPP - from a purchasing perspective.
    Note 1401101.1 - R12 How To Generate The XML And OPP Debug Log For PO Output For Communication?
    Hope these help.
    Thanks,
    Mike

  • I have a Mac Pro using Lion, with a SSD for system.  Restored drive from backup.  Now logon password doesn't work.  Account password still works.  Changing password in user group preferences no longer works to change logon password.

    I have a Mac Pro using Lion, with SSD for system drive.  Drive stopped booting, but otherwise appeared healthy.  Restored from system backup.  Now drive seems to work properly, BUT my logon password no longer works.  Password OK for account; can access system preferences, and change user password there BUT logon still refuses to accept password.  No luck changing password for that account after adding new administrator account and logging on from that account.  Suggestions?  Thanks.

    If you redirect Accounts to another location (not on the Boot Drive) you need to direct them back there again after a restore.
    SystemPreferences > Accounts/User&Groups > ...
    ... Unlock the lock, then hold down Control as you click on an Account to get access to the Advanced Options pane.

  • Using the Camera RAW interface for JPEG images

    I realize JPEG's don't have the information level of RAW files, but does the convenience and speed of the RAW interface not make it worth using rather then going to the usual tools like Levels and Hue/Saturation? I discovered that you can open JPEG images in the RAW interface by choosing File > Open As...and selecting "Camera RAW" as the file format. Here you can not only use the RAW interface but also change the image to 16-bits. I also understand that upscaling an image from 8 to 16-bits doesn't add more information, but would working on it in the RAW interface at 16-bits not produce more subtle changes and give you more control over the outcome.
    Looking forward to some intelligent feedback.
    Deep Woods

    From a mathematical perspective, it would seem that using the extra information in the up-sampling interpolation calculations would be better. The question is whether or not the extra digits in the calculation would produce a difference in the image. I suspect that it would be quite image dependent. Easy enough to test, with the right kind of image, whatever that is?
    Don S.

  • Export as PDF with embedded profiles for Grayscale images

    Does InDesign CS6 export pages with Grayscale images as PDF with embedded profiles?
    Possible profiles, for instance:
    – Gamma 2.2
    – Dot gain 20%
    – Black Ink ISO Coated v2 (ECI)
    Export mode:
    – Acrobat 5 or higher
    – No color conversion
    – Embed all profiles
    Test by Acrobat Pro
    Advanced > Print production > Preflight > PDF analysis > List objects using ICC/Lab/Calibrated Color
    [The question is not about the export of Color images as Grayscales]
    Best regards --Gernot Hoffmann

    I wouldn't ever use different RGB profiles and different CMYK profiles and
    different Gray profiles in one doc – it's just necessary for tests.
    If you had a hypothetical case where your InDesign document's assigned CMYK profile and intended output was ISOcoated_v2_300_eci and you recieved grayscales for placement with different gray profiles assigned, I think you would have to make the conversion in Photoshop if you want the grayscales to be converted to your ISOcoated_v2_300_eci output intent space.
    So in this case I have a grayscale image with Dot Gain 10% assigned and you can see the 50% patch is reading as 50% in Info panel:
    If set my Working Gray space to the ISO Coated profile as above and do a Convert to Profile with the Destination set to Working Gray:
    The preview doesn't change but I get converted gray values—50% is now 44%:
    If I place the grayscale in an InDesign doc with ISOcoated_v2_300_eci assigned as the CMYK profile, the preview won't change (you have to turn on Overprint /Sep Preview), and the converted numbers will show in Separation Preview. The preview and numbers will also be unchanged in Acrobat if you export to default PDF/X-4

  • Using a TV as output for my laptop

    I have a compaq presario V5000 with a broken screen that I'd like to use my Sanyo TV with.  I have the S-Video hooked up, and it lists it in xrandr (and flickers when I type xrandr!), but nothing is showing on it.  I'm using the xf86-video-intel driver and when I open lxrandr, select "Turn On" for the TV, it closes but nothing happens and it's not selected when I reopen lxrandr.  Here's the output of some relative commands, maybe someone can point me in the right direction?
    xrandr -
    Screen 0: minimum 320 x 200, current 1280 x 960, maximum 1440 x 1440
    VGA connected 1280x960+0+0 (normal left inverted right x axis y axis) 410mm x 257mm
    1280x960 60.0*+
    1440x900 59.9 + 75.0 59.9
    1280x1024 75.0 60.0
    1152x864 75.0
    1024x768 75.0 70.1 60.0
    832x624 74.6
    800x600 72.2 75.0 60.3 56.2
    640x480 75.0 72.8 66.7 59.9
    720x400 70.1
    LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 330mm x 210mm
    1280x800 60.1*+
    1024x768 60.0
    800x600 60.3
    640x480 59.9
    TV connected (normal left inverted right x axis y axis)
    1024x768 30.0
    800x600 30.0
    848x480 30.0
    640x480 30.0
    lspci | grep VGA
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

    The graphics adaptor on my Thinkpad R60 is the same. There is only the S-video connector. I rember having a similiar issue with tv-out on an ATI graphics card. The option there was to provide a TV compatible resolution / freq. setting and connect the graphics card to the TV. ie. for NTSC you would use something like 800x600 and 60Hz.
    It's some time ago. Have you been lucky on this?

  • Using Filemaker with Adobe Illustrator for Book Project

    Hi All,
    I have a database of musical works contained inside a Filemaker Pro database - it's a mixture of images and text.
    I'd like to make a book with the content and was hoping to use a template within Adobe illustrator and pull the data in dynamically from Filemaker.
    Is Illustrator the right tool for this? I can't find many links or articles.
    Any advice at all on using Filemaker to generate book content much appreciated.
    Thanks
    Antknee

    I don't really want to post screenshots here of a proprietary solution. But here's a description of a similar FMP-based "publishing" solution:
    You have a layout for end-users' main browsing. Similar-looking layouts are used for data entry, but include administrative functions, fields, and flags which expedite content creation, but are not meant for end-users. Typical FMP stuff. But now you take it to the next step:
    You build a Report Layout specifically sized and formatted for printing and/or exporting to PDF. You use the FMP tools for object sliding; use Container Fields and/or WebViewer objects for illustrations; use the Merge Field function and/or text Calculation Fields to format text content from multiple data fields. You can overlap fields, so having a container field in the background is simple.
    You basically ignore the "publish" Layout as you create, edit, and work with data. But it's always there, and is always "already built and populated." Whenever you want to publish a print version catalog for a particular product, you just launch an FMP script which automatically:
    Prompts you for the desired set of records (product model, chapter, category, etc.)
    Performs the necessary find and sort.
    Creates a table of contents. (Based on another print-formatted Report Layout.)
    Exports the TOC as a PDF. (Typically a dozen or so pages.)
    Exports the content pages as a separate PDF. (Several hundred pages is no problem.)
    In a few minutes, you have an updated print-ready book.
    You open the Content PDF in Acroat Pro, insert the pages from the TOC PDF in the front of it, and send it to your on-demand printing outsource. The end result is a perfect-bound manual, without ever having jumped through hoops to dump data into a conventinal-wisdom page-layout app.
    So this one FMP solution:
    Is used for data entry.
    Serves as a live internal reference tool served on FMPSA.
    Serves as a data export and data analysis tool.
    Can be bound as a fully-functional standalone runtime application.
    Is web-deliverable via FMPSA's IWP.
    Is web-deliverable as a web site's "backend data" via PHP.
    Serves as the "publishing platform" for print-ready and/or web-delivered PDF-based catalogs.
    Vector drawings are created in Illustrator, Draw, CAD software, or whatever, and saved as vector PDFs in a folder acessible to the FMP database. The PDFs are named according to a record's unique identifier field (primary key).
    You launch Acrobat Pro and run a Batch operation which opens the folder full of PDFs and batch-exports them to an adjacent PNGs folder. The PNGs are exported to the correct size for the Container Field(s) on the print Layout. (Optionally, another Container Field on the browsing Layout displays PDF icons which are links to the PDFs for when a user needs a scaleable, zoomable vector version.) During data entry, each time a new record is created or edited, a scripted button imports both the PNG and the PDF with a click; or batch-imports the images for all records at once.
    One could just as easily build a layout and script the solution to create and send HTML-formatted emails of a found page or set of pages.
    Like an XML / InDesign solution, FMP effectively figures out for you how many pages are needed for the length of the TOC, and the length of the parts list that accompanies each illustration and creates and numbers them; and it does so without any need for mucking around with XML.
    So in this workflow, FileMaker Pro itself is serving as the "page layout" app. All that's sacrificed is high-end printing and exacting typography; which for many practical purposes today is becomming increasingly unnecssary.
    The underlying concept herein is "FileMaker and PDF"; not "FileMaker and Illustrator." (Use any graphics program you want that can render to common RGB raster formats and/or PDF).  And it's "let FileMaker automate the page assembly" instead of XML / InDesign. Just keep the page design within the capabilities of a FileMaker Layout.
    JET

  • Xpath query using ANE with AIR3.9 for iOS app

    we are building an app for iOS using AIR 3.9 where we have to load and parse the xml document so that we can read the images path and download the stuff on iOS device. To fix this issue we have found a solution using XCode via ANE where by using XPath Query classes such as "PerformXPathQuery", "PerformXMLXPathQuery", "xmlReadMemory" etc. The code is running well when build on simulator itself on mac machine. But when we are packaging the ANE with AIR 3.9, it gives us the error which says that:-
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "_xmlReadMemory", referenced from:
          _PerformXMLXPathQuery in libnet.example.download.a(ExampleLib.o)
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    I have tried linking binary with libraries like "libxml2.dylib", "libxml2.2.dylib" and libz.dylib + added the libXML header files to the header search path in the build properties, but got no help.
    our AIR 3.9 platform xml looks like:-
    <platform xmlns="http://ns.adobe.com/air/extension/3.9">
        <sdkVersion>4.0.0</sdkVersion>
        <linkerOptions>
            <option>-ios_version_min 4.2</option>
            <option>-framework UIKit</option>
            <option>-framework Foundation</option>
            <option>-framework CoreText</option>
        </linkerOptions>
    </platform>
    can anyone suggest where we are going wrong!
    thanks in advance

    Found the solution, i was missing the framework related to xPath library in platform.xml
    follow the instuctions from the below link:-
    http://forums.adobe.com/thread/1037904
    thanks adobe team

  • Use smartphone camera in labiew for timed image sequence - No need to stream realtime

    Hi all.
    I'm working with labview 2009, vision acquisition,  and an android smartphone (I have several models).
    What I would like to do:
    - Grab a timed sequence of images with the smartphone camera and save them into the pc. I have a "schedule" (e.g. image 1 at time 0:01:123, image 2 at time 0:01:876, image 3 at time 0:02:464 ....) and I would like to shoot an image at every predefined time and save it in the pc. The time interval between two images is always higher than 500 ms. During the acquisition the camera is moved by a pan tilt unit. I just have to store images for postprocessing, I don't need live feed.
    What I have already done:
    - Connected  the camera to labview (with IP webcam following these http://digital.ni.com/public.nsf/allkb/3D9CEA3E7B2​6FA4586257A56004E4507)
    - Created a labview VI where i have the time schedule
    - Tried to use some example VI to grab images
    What happens:
    - The camera has a poor frame rate (max 10 hz) and looks like is not able to focus fastly while moving and acquire the images in time. I must be sure that when I choose a time the image should be acquired. I don't need high frequency acquisition, but I need precise timing.
    What I don't really need:
    - I don't need the streaming video. Therefore if there would be a different system architecture where I don't stream a video but I just send to the phone a command and the phone gives back to the pc a single image that would be the best solution for me.
    I thought that this could maybe feasible with android devices but I have also windows phones if needed.
    Thanks a lot for your help.

    Dear Licia,
    thanks for your answer. I'm using labview 2009, as you can read in the first post.
    The result are described in the section "what happens", what I'm asking is in the same post just two lines below.
    Maybe it is not clear, so I'll try to explain better.
    I already tried the solution linked with ipcamera and labview, the results are not really good, I would like to have something better. I did not mention it in the previous post, but with the same vi (like snap o grab vi, as you suggested) and another usb camera (not a smartphone one) if have a higher framerate that leads to better results.
    Anyway the main issue is that the ipcamera+mjpeg streaming solution is based on a thing that I don't really need (video streaming) so I'm asking if it is feasible a completely different approach where I can just shoot and transfer images without streaming.
    This is the real core of the sentence.
    Thanks again

Maybe you are looking for