Set anchor yoffset value for inline frame

Hi everyone!,
In my document having the one story and it contains the two inline frames.
then set the anchor yoffset value for inline frame to -5 mm.
my coding is given by below, what's wrong in my code.
Please tell me.
tell application "Adobe InDesign CC 2014"
    set ofset to -5
    tell active document
           tell story 1
        set anchor yoffset of anchored object settings of parent of item 1 of inline frame 1 to ofset
           end tell
      end tell
end tell

Hi
This snippet works ...
tell application "Adobe InDesign CC 2014"
    set ofset to -5
    tell active document
        tell story 1
            tell text frame 1
                set anchor yoffset of anchored object settings to ofset
            end tell
        end tell
    end tell
end tell

Similar Messages

  • HOW TO  SET A DEAFULT  VALUE  FOR A FIELD?

    hi friends
      i have doubt..how to  set a default  value for a field..say  like in  local printer field i always want  lp01 to  be displayed defaultly..when i  click  F1  in that  field i  get the parameter id ..i  know there is something  dealt with that  parameter id..how can i  set that  default value ..in the case of the default  printer value i made in  own data settings as lp01 but  how to  do it  normally  for other  field which has parameter id ??????
    thanks and regards
    prince

    Hi Prince,
    u can set the default value in abap as given below
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN SKIP 1.
    PARAMETERS : S_BUKRS TYPE BSID-BUKRS OBLIGATORY DEFAULT '1000'.
    PARAMETERS : S_BELNR TYPE BELNR_D OBLIGATORY DEFAULT '1600000070'.
    PARAMETERS : S_GJAHR TYPE GJAHR OBLIGATORY DEFAULT '2008'.
    PARAMETERS : ASON TYPE BUDAT OBLIGATORY DEFAULT SY-DATUM.
    PARAMETERS : S_KUNNR TYPE KUNNR MODIF ID GP1.
    PARAMETERS : S_LIFNR TYPE LIFNR MODIF ID GP2.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN : END OF BLOCK B1.
    or
    u can give the default value in INITIALIZATION also.
    vlue = '1000'.

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • How to set a default value for particular field in SRM PO Portal

    Dear Gurus,
    Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
    My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
    I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
    Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
    Thanks in advance...
    Regards,
    Sathish

    Dear Laurent,
    Thanks for your response,
    But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
    My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
    Kinly guide me how to get the particular node of field in the Purchase order screen.
    Thanks you in advance,
    Sorry for the inconvenience if any
    Regards,
    sathish

  • Setting default field values for multi-line text fields in lists?

    For the multiple lines of text field in a list, I'm using SharePoint Designer 2013 to set a default
    value for the field, but I need that default value to include rich text formatting (the default value includes a formatted table). Is this possible without having to delve into JavaScript? And if so, how?

    Yes, we can :)
    You can do it with powershell
    $web = get-spweb <yourweb>
    $list = $web.lists["<yourList>"]
    $field = $list.fields["<yourField>"]
    $field.DefaultValue = "place your html code here"
    $field.update()
    hope that helps

  • How to set a new value for formula field in crystal reports xi?

    <p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text =  "&#39;Subreport Formula&#39;"  or</p><p>crxSubreport.FormulaFields.Item("description").Text =  "&#39;Subreport Formula&#39;"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • How to set the Default values for Info Objects in Data Selection of InfoPac

    Hi All,
    Flat file Extracion:
    How to set the Default values for Info Objects in Data Selection Tab  for Info Package
    ex: Fiscal Year Variant  Info Object having values 'K4' 'Y2' etc  in Flat file
    Initially  default value(not constant)  for this info Object value should be 'K4'  in Info Package
    If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
    Rgds,
    CV

    Hi,
    suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
    haritha

  • Set a default value for a radio button populated with a List of value

    Hi,
    I am using jdeveloper 11.1.1.3.0. I need to set a default value for a radio button populated with a List of value(Yes/No). Here's the selectonechoice code.
    <af:selectOneRadio value="#{bindings.Code.inputValue}"
    label="#{bindings.Code.label}"
    required="#{bindings.Code.hints.mandatory}"
    shortDesc="#{bindings.Code.hints.tooltip}"
    id="sor1" autoSubmit="true"
    valuePassThru="true" layout="horizontal">
    <f:selectItems value="#{bindings.Code.items}" id="si1"/>
    </af:selectOneRadio>
    I want to have the selectonechoice set to No by default. In the previous versions, I set the default value in the base attribute VO. But it is not working in the new version.
    Thanks

    Hi,
    this should work in JDeveloper 11.1.1.3 the same as in 11.1.1.2. If it doesn't then it is better to file a bug than to work around it
    Frank

  • Can we set a default value for the container variable in BPM?

    Can we set a default value for the container variable.?
    Suppose if i have a loop step and i have given a container variable i=5 as end condition.What value will it take during its first execution?Can we set the value for container before a recieve step?

    Hi
    Define Container Variable of Type integer and Category Simple Type .Use Condtion in Loop.
    In Container Operation Step Assign value and Use Expression to
    Increase or Decrease Valus according to your operation.
    look Pattern 4 in this blog to understand Container Operation
    /people/sharathchandra.girmaji/blog/2008/09/11/bpm-with-patterns-explained-part-1

  • Allow only one set of parameter values for all worksheets

    I would like to " Allow only one set of parameter values for all worksheets ", but prompt before executing the worksheet. This function is a great time saver, but the users on occasion would like to change at the least one of the parameters. Is this possible? What setting do I use? I've tried various combinations of the " After opening a workbook: " on the options page. " Run query automatically", " Don't run query (leave sheet empty) ", and " Ask for comformation ". I would have thought that "Ask for comformation " was the trick, but no. I'm considering putting a do nothing parameter that has the setting of " Allow different parameter values for each worksheet. " so that it will keep all the others, default this one, but prompt for a possible change.
    Any thoughts...
    Thanks,
    Jamie

    Hi Jamie
    Even though you have the same parameter for all worksheets a user can still choose what to use on a worksheet. Its just that if they click to another worksheet then that parameter will be applied.
    Which version of Discoverer are you using?
    Best wishes
    Michael

  • How to set the default values for print options

    Hi all,
    We can set the default value for print options, just like Logical destination、numbers of messages、print immediately and so on, so where we should to maintain these default?

    Hi Sandy,
    This can be done by an abaper by making changes in the driver program. The Driver program feeds all the data which u have mentioned for printing.
    if the driver program is standard. copy to an z type and make modification on printer settings on the driver program code.
    this will surely solve the issue.
    Regards
    Gunaseelan

  • How do I set a NULL value for the parameter field

    Hi
    I've another question. I'm going to set single values for parameter fields.
    // e.g. set today for StartDate parameter field
    fc.setCurrentValue("", "StartDate", new Date());
    It should be possible to set a NULL value for date parameter fields.
    fc.setCurrentValue("", "StartDate", (Date)null);
    But this do not work. How do I set a NULL value correctly?
    Thank you in advance.
    Best regards,
    Thomas

    First question - is it a stored procedure parameter?
    You can't set a regular parameter field value to a null value.
    There was an issue with old version of the JRC, where it was allowing null to go through, but had unexpected behavior at times.
    Sincerely,
    Ted Ueda

  • Setting up default value for POV in Financial Reporting Studio

    hello
    We need to Set up default value for POV in Financial Reporting Studio. For example, we need period to pick up Sep as default value when we run the report.
    Is there any way we could do this???
    Regards
    Neha

    Hi Neha,
    Yes, there is a way to setup of your grid POV. Take a look at this: http://download.oracle.com/docs/cd/E12825_01/epm.111/fr_user/127.html
    Cheers,
    Mehmet
    p.s. Please mark the answers helpful or correct, if they've helped you or answered your question. Thanks!

  • Dynamic source value for uix frame

    Hi all,
    I have UIX page with two frames, left is for navigation (includes tree) and right one is for content.
    <page xmlns="http://xmlns.oracle.com/uix/controller"
          xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
          xmlns:data="http://xmlns.oracle.com/uix/ui"
          xmlns:http="http://www.w3.org/TR/REC-html40">
      <content>
        <frameBorderLayout xmlns="http://xmlns.oracle.com/uix/ui">
          <left>
            <frame source="Tree.uix" name="tree" width="30%"/>
          </left>
          <center>
            <frame name="contents" data:source="${sessionScope.startPage}"/>
          </center>
        </frameBorderLayout>
      </content>
    </page>I'm trying to use ${sessionScope.startPage} to get source value, but it doesn't work. I am sure that there's such a parameter in http session and I can't understand why this happens.
    Could anyone please say if it's possible to use dynamic source for frame?
    Did anyone meet such problems?
    Is there any other way to set the source value?
    thanx in advance
    Renat

    Hi again,
    So far I've found such a solution:
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:http="http://www.w3.org/TR/REC-html40">
    <content>
    <frameBorderLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <top>
    <frame source="Top.uix" name="top" height="10%"/>
    </top>
    <left>
    <frame source="Tree.uix" name="tree" width="30%"/>
    </left>
    <center>
    <frame name="contents" source="startPage.uix"/>
    </center>
    <bottom>
    <frame source="Bottom.uix" name="bottom" height="10%"/>
    </bottom>
    </frameBorderLayout>
    </content>
    </page>where startPage.uix is:
    <?xml version="1.0" encoding="windows-1251"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    </provider>
    <contents>
    <document>
    <metaContainer>
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <pageLayout title="">
    <contents>
    </contents>
    <pageHeader>
    <globalHeader/>
    </pageHeader>
    </pageLayout>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <event name="*">
    <method class="myPack.PageUtils.RedirectAction" method="redirect2anotherPage"/>
    </event>
    </handlers>
    </page>and redirect2anotherPage is:
    public static EventResult redirect2anotherPage (BajaContext context, Page page,
    PageEvent event) throws Throwable {
    HttpSession hs = context.getServletRequest().getSession();
    Page otherPage = new Page((String) hs.getAttribute("startPage"));
    return new EventResult(RedirectUtils.getRedirectPage(context,
    otherPage));
    }This seems to be working, but I am not sure if this is the correct solution (lonely solution).
    Is there a way to use only UIX EL syntax?
    Any ideas about this?
    Renat

  • Hex character value for InDesign frame break

    I have been able to identify that the hex value for a carriage return in InDesign is "000D". Is there a specific hex value for InDesign's frame break character?

    Through internal magic. There are more codes that are "magic" inside an InDesign document. \u0016 for example, is the code for a table, and you can search for it too. But you cannot insert a table by putting "\x16" in the Replace field. Same with anchored object -- \uFFFC -- and various other magic markers.
    I promised "a tip or two" but the only way to bring a frame break in from beyond ID itself is through a Search-and-Replace in ID after you loaded your text. Insert some unique code in your software in place of these frame breaks (something simple like "{FrameBreak}" ought to do it; unless your text may already contain this particular sequence, then you have to make up something on your own), and after placing the text into ID, search for this text and replace it with the code "^R", which is "Frame Break" according to the Find/Replace Text drop down menu.

Maybe you are looking for

  • Acrobat Pro XI: Creating a PDF from a Web Page

    When I try to create a PDF from a Web page using Acrobat XI, I get the Error Code "Nothing done" and "Authorization Failure", but it doesn't happen on all webistes. Does anyone know what could be causing this and how to fix it? I'm using the trial ve

  • MySQL very slow on Win 2000 Fast on Win XP Found a fix

    Greetings, I've recently rolled out an internal LabVIEW 8.5 application that works with a MySQL database.  Several of the PCs required an installer.  Although a few of them belonged to other LabVIEW developers in the office and required only the .exe

  • Mini stopped recognizing the home network

    I have an intel mini 1.42GHz with 1G memory, a G4 Quicksilver, 733MHz, and a 1 GHz G4 iBook. The mini and the quicksilver are on a wired network and the ibook is on an airport network, and I also sometimes use an ethernet cable connection with it as

  • Picking from warehouse for Consignment Fill Up

    Dear Friends, For the Consignment Fill Up flow , I am not able to create a transfer order for the delivery. I am getting the below error : Data for storage type search is not defined (A   ) But from the same plant, I am able to do picking through tra

  • Tab Canvas Properties

    Using Forms6i Client Server. I have created a tab canvas but am struggling to amend the visual attributes I want to. In particular, the left, bottom and right edges are black. Is it possible to change this? I created a block using the block wizard an